@media (max-width: 767px) {
    body.td-page header.td-header.td-header-wp:not(.is-stuck) {
        padding-block: 5px;
    }

    body.td-page header.td-header-wp.is-stuck {
        padding-block: 6px;
    }

    body.td-page header.td-header-wp .td-header-inner {
        min-height: 68px;
        padding-block: 4px;
    }

    body.td-page header.td-header-wp .td-brand img {
        width: min(var(--ttl-logo-mobile), 96px);
    }

    body.td-page header.td-header-wp.is-stuck .td-header-inner {
        min-height: 60px;
    }

    body.td-page header.td-header-wp.is-stuck .td-brand img {
        width: min(var(--ttl-logo-mobile), 80px);
    }

    body.td-page header.td-header-wp .td-wp-nav {
        max-height: calc(100svh - 94px - var(--td-sticky-top, 0px));
    }
}

/* Align header controls with the shared page content, including sticky headers. */
body.td-page:not(.home):not(.page-template-tourista-design-preview-php):not(.page-template-turista-vibrant-preview-php) header.td-header-wp .td-header-inner {
    padding-inline: 0;
}
/* Match the planner to the same container used by the interior page templates. */
body.td-page main.tp .tp-cover-inner,
body.td-page main.tp .tp-shell {
    max-width: 1360px;
}
