/* ==========================================================
   01. DESIGN TOKENS
   ========================================================== */
:root {
    /* Brand and status */
    --ttv-primary: #007aff;
    --ttv-primary-hover: #268eff;
    --ttv-link-hover: #0062cc;
    --ttv-green: #008932;
    --ttv-red: #dc3545;
    --ttv-yellow: #ffc107;
    --ttv-primary-emphasis: #003166;
    --ttv-success-emphasis: #155024;
    --ttv-warning-emphasis: #664d03;
    --ttv-danger-subtle: #f8d7da;

    /* Text, surfaces and borders */
    --ttv-text: #212529;
    --ttv-text-secondary: rgba(33, 37, 41, .75);
    --ttv-secondary-color: #6c757d;
    --ttv-surface: #fff;
    --ttv-surface-muted: #f8f9fa;
    --ttv-bg: #eef5ff;
    --ttv-dark-bg: #242424;
    --ttv-border: #dee2e6;

    /* Typography, page gutters and control motion */
    --ttv-font-heading: "Helvetica Neue", Arial, sans-serif;
    --ttv-page-gutter: .75rem;
    --ttv-control-transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s;

    /* Shape, focus and elevation */
    --ttv-radius: .375rem;
    --ttv-pill-radius: 50rem;
    --ttv-focus-color: rgba(0, 122, 255, .25);
    --ttv-focus: 0 0 0 .25rem var(--ttv-focus-color);
    --ttv-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);

    /* Carousel indicators and controls */
    --ttv-swiper-indicator-gray: #b7b7b7;
    --ttv-swiper-indicator-active: #212529;
    --ttv-swiper-button-bg: #ccc;
    --swiper-theme-color: var(--ttv-swiper-indicator-active);
    --swiper-pagination-color: var(--ttv-swiper-indicator-active);
    --swiper-pagination-bullet-inactive-color: var(--ttv-swiper-indicator-gray);
}

/* ==========================================================
   02. RESET AND BASE
   ========================================================== */
/* Base typography and form normalization used by every TTV module. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    color: var(--ttv-text);
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, Verdana, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; line-height: 1.2; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }
p { margin: 0 0 1rem; }
ol, ul { margin: 0 0 1rem; padding-left: 2rem; }
:is(ol, ul) :is(ol, ul) { margin-bottom: 0; }
blockquote, figure { margin: 0 0 1rem; }
hr { margin: 1rem 0; border: 0; border-top: 1px solid currentColor; opacity: .25; }
small { font-size: .875em; }
sub, sup { position: relative; font-size: .75em; line-height: 0; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { margin: 0; font: inherit; }
button, select { text-transform: none; }
button:not(:disabled), [type="button"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; }
textarea { resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { float: left; width: 100%; padding: 0; margin-bottom: .5rem; line-height: inherit; }
legend + * { clear: left; }
label { display: inline-block; }
a { color: var(--ttv-primary); text-decoration: underline; }
a:hover { color: #0062cc; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--ttv-surface);
}

.site-muted-page {
    background-color: var(--ttv-bg);
}

/* ==========================================================
   03. TYPOGRAPHY
   ========================================================== */
ul.check,
ul.uncheck {
    list-style: none;
    margin-top: 1em;
    padding-left: 0;
}

ul.check li,
ul.uncheck li {
    position: relative;
    padding-left: 1.8em;
    padding-bottom: 0.8em;
    line-height: 1.25;
}

ul.check li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 1.05em;
    height: 1.05em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23868686'%3E%3Cpath d='M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0'/%3E%3Cpath d='M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

ul.uncheck li::before {
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #868686;
    content: "";
    width: 1.05em;
    height: 1.05em;
    background-color: currentColor;
    -webkit-mask: var(--icon-x-shape) center / contain no-repeat;
    mask: var(--icon-x-shape) center / contain no-repeat;
}

a:link {
    text-decoration: none;
}
h1, h2, h3, h4 {
    font-family: var(--ttv-font-heading);
    letter-spacing: -.8px;
    font-weight: 700;
    text-rendering: optimizelegibility;
    -webkit-box-direction: normal;
    -webkit-font-smoothing: antialiased;
}
:is(h1, h2, h3, h4) :is(span, em) {
    color: rgb(124, 124, 128);
}

:is(h1, h2, h3, h4) em {
    display: block;
    font-style: normal;
}

h1 {
    font-size: 36px;
    line-height: 1.14;
}
h2 {
    font-size: 32px;
    line-height: 1.17;
}
h3 {
    font-size: 28px;
    line-height: 1.2;
}
h4 {
    font-size: 24px;
    line-height: 1.25;
}
@media (max-width: 576px) {
    h5 {
        font-size: 1em;
    }
    h6 { 
        font-size: 1em;
    }
}
a:focus:not(:where(.site-menu-link, .site-menu-panel-link, .tour-menu-heading, .tour-menu-tour, .tour-menu-side-link, .hover-effect, .footer-link, .footer-social-card, .content-post-category-badge, .story-card-meta a, .content-post-mobile-nav a)) {
    text-decoration: underline;
}

/* ==========================================================
   04. SITE LAYOUT
   ========================================================== */
/* Shared content width; modules own the layout inside this boundary. */
.site-container,
.site-header-row,
.site-mobile-search-inner {
    width: 100%;
    max-width: var(--ttv-container-max, none);
    padding-inline: var(--ttv-page-gutter);
    margin-inline: auto;
}
@media (min-width: 576px) { :root { --ttv-container-max: 540px; } }
@media (min-width: 768px) { :root { --ttv-container-max: 720px; } }
@media (min-width: 992px) { :root { --ttv-container-max: 960px; } }
@media (min-width: 1200px) { :root { --ttv-container-max: 1140px; } }
@media (min-width: 1400px) { :root { --ttv-container-max: 1320px; } }

.content-shell { padding-block: 1.5rem; }
.content-shell--category { margin-top: 1rem; padding-top: 0; }
.content-heading { margin-top: .5rem; }
.content-page-title { margin-block: 1.5rem; font-size: min(2rem, calc(1.325rem + .9vw)); font-weight: 700; text-align: center; }
@media (min-width: 992px) { .content-shell:not(.content-shell--category) { padding-block: 3rem; } }

/* ==========================================================
   05. SHARED CONTENT AND LINKS
   ========================================================== */
.hover-effect,
.hover-effect-white {
    position: relative;
}
.hover-effect:hover::after,
.hover-effect-white:hover::after {
    width: 100%;
}
.hover-effect::after,
.hover-effect-white::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}
.hover-effect::after {
    background-color: var(--ttv-primary);
}
.hover-effect-white::after {
    background-color: var(--ttv-text);
}
.plan-section-heading {
    font-size: 1.5em;
    font-weight: 700;
}
.plan-section-heading > i {
    display: none;
}

.plan-section-heading,
.plan-section-heading-center {
    gap: 0;
}

.plan-section-heading i,
:is(.content-body, .content-post-intro, .content-post-trip-block, .plan-section, .trip-calendar-container) i.v-gray {
    color: var(--ttv-secondary-color) !important;
}

/* ==========================================================
   06. HEADER AND NAVIGATION
   ========================================================== */
.site-header--fixed {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1030;
}

.site-nav {
    position: relative;
    display: flex;
    align-items: center;
    padding: .25rem 0;
    border-bottom: 1px solid var(--ttv-border);
    background: #fff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    color: #000;
}

.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
}

.site-logo {
    display: block;
    margin-right: auto;
    line-height: 0;
}
.site-logo img { width: auto; height: 36px; }

.site-menu {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
}

.site-menu-list,
.site-menu-panel,
.tour-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu-list { display: flex; margin-left: auto; }
.site-menu-item { position: relative; letter-spacing: 0; }
.site-menu-search-item { display: flex; align-items: center; }
.site-menu-link {
    position: relative;
    display: flex;
    align-items: center;
    margin-inline: .5rem;
    padding: 1rem;
    color: rgba(0, 0, 0, .65);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
}

.site-menu-link:is(.active, .nav-active, :hover, :focus),
.site-search-trigger:is(:hover, :focus) { color: var(--ttv-primary); }

.site-dropdown-trigger::after {
    content: '';
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    border: .3em solid transparent;
    border-top-color: currentColor;
    border-bottom: 0;
}

.site-dropdown-trigger[aria-expanded="true"]::after,
.site-dropdown-trigger[aria-expanded="true"] > .icon-caret-down { transform: rotate(180deg); }

.site-menu-caret { display: none; }
.site-menu-panel {
    position: absolute;
    inset: 100% auto auto 0;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    margin-bottom: 1rem;
    padding-block: .35rem;
    border-radius: .375rem;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}
.site-menu-panel.show { display: block; }
.site-menu-panel-link {
    display: block;
    width: 100%;
    padding: .5rem 1.8rem;
    color: #000;
    font-size: .95em;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}
.site-menu-panel-link:is(.active, .nav-active, :hover, :focus) { color: var(--ttv-primary); }

/* Header search and menu controls. */
.site-search-trigger,
.site-mobile-menu-trigger {
    display: inline-grid;
    place-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
}

.site-search-trigger i,
.site-mobile-menu-trigger i {
    color: currentColor;
    font-size: 1.2rem;
    line-height: 1;
}

.site-mobile-menu-trigger,
.site-mobile-search-trigger,
.site-mobile-search-panel,
.hero-search-trigger { display: none; }

.site-search-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 32px 32px;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 3px 4px 3px 12px;
    border-radius: 2rem;
}
.hero-search-form { display: none; }
.site-desktop-search-form:not(.hero-search-form) { border: 1px solid #6c757d; background: #e9ecef; }
.site-mobile-search-form { border: 1px solid var(--ttv-border); background: var(--ttv-bg); }
.site-mobile-search-form:focus-within,
.site-desktop-search-form:not(.hero-search-form):focus-within { border-color: var(--ttv-primary); }
.site-search-form > .icon-magnifying-glass { color: var(--ttv-secondary-color); font-size: 1.1rem; }
.site-search-input {
    width: 100%;
    min-width: 0;
    outline: 0;
    border: 0;
    border-radius: 2rem;
    background: transparent;
    color: var(--ttv-text);
    font-size: .98rem;
}
.site-search-input::placeholder { color: var(--ttv-secondary-color); }

.site-search-submit,
.site-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
}
.site-search-submit {
    border: 1px solid #212529;
    background: #212529;
    color: #fff;
    font: inherit;
}
.site-search-submit:hover { background: #424649; border-color: #373b3e; }
.site-search-close { border: 0; background: transparent; color: var(--ttv-secondary-color); }
.site-search-close:is(:hover, :focus) { background: var(--ttv-surface-muted); color: var(--ttv-text); }

/* Photo Tours dropdown. */
.tour-menu-panel {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 0;
    color: #333;
}
.tour-menu-grid { display: flex; flex-wrap: wrap; }
.tour-menu-main,
.tour-menu-side { flex: 0 0 auto; }
.tour-menu-main { width: 83.333333%; min-width: 0; padding: 1.5rem; }
.tour-menu-side {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    width: 16.666667%;
    padding: 1.5rem 1rem;
    border-left: 1px solid var(--ttv-border);
}

.tour-menu-heading,
.tour-menu-side-link { align-items: baseline; gap: .35rem; }
.tour-menu-heading {
    display: inline-flex;
    margin-bottom: 1.15rem;
    color: #222;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.tour-menu-side-link {
    display: flex;
    padding: .5rem .25rem;
    color: #333;
    line-height: 1.35;
}
:is(.tour-menu-heading, .tour-menu-side-link) i {
    align-self: flex-end;
    margin-bottom: .18em;
    font-size: .72em;
    line-height: 1;
}

.tour-menu-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem 1rem;
}
.tour-menu-tour {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 64px;
    padding: .25rem;
    color: #333;
}
.tour-menu-tour img {
    width: 84px;
    height: 56px;
    aspect-ratio: 3 / 2;
    flex: 0 0 84px;
    object-fit: cover;
}
.tour-menu-copy {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.scheduled-tour-menu-title {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    color: #000;
    line-height: 1.35;
}
.scheduled-tour-status-dot {
    position: relative;
    top: -.05em;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    flex: 0 0 .55rem;
}
.scheduled-tour-status-dot-available { background-color: rgb(52, 199, 89); }
.scheduled-tour-status-dot-sold-out { background-color: rgb(255, 66, 69); }
.tour-menu-days {
    display: inline-block;
    flex-shrink: 0;
    padding: .15rem .35rem;
    border: 1px solid var(--ttv-green);
    border-radius: .35rem;
    color: var(--ttv-success-emphasis);
    font-size: .7rem;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}
:is(.tour-menu-heading, .tour-menu-tour, .tour-menu-side-link):is(.nav-active, :hover, :focus-visible),
.tour-menu-tour:is(:hover, :focus-visible) .scheduled-tour-menu-title { color: var(--ttv-primary); }
.tour-menu-tour:is(:hover, :focus-visible) { text-decoration: none; }

/* Transparent header on pages with a hero. */
body.has-home-hero { padding-top: 0 !important; }
.has-home-hero > .site-header { position: absolute; inset: 0 0 auto; z-index: 1040; }
.has-home-hero .site-nav {
    padding-block: 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
}
.has-home-hero .site-logo img { filter: brightness(0) invert(1); }

@media (min-width: 992px) {
    .site-header-row { position: relative; }
    .site-menu-panel { margin-left: -.5rem; }
    .site-tours-menu-item { position: static; }
    .tour-menu-panel { inset: 100% 0 auto; margin: 0; width: 100%; }

    .scheduled-tour-menu-title {
        display: grid;
        grid-template-columns: .55rem minmax(0, 1fr);
        row-gap: .35rem;
    }
    .scheduled-tour-status-dot { grid-area: 1 / 1; }
    .scheduled-tour-menu-title > span:last-child { grid-area: 1 / 2; }
    .tour-menu-days { grid-area: 2 / 2; justify-self: start; }

    .site-menu.is-searching {
        flex: 0 1 auto;
        min-width: 0;
        position: relative;
    }
    .site-menu.is-searching .site-menu-list { visibility: hidden; pointer-events: none; }
    .site-desktop-search-form {
        position: absolute;
        inset: 0;
        height: var(--ttv-desktop-search-height, 40px);
        max-height: var(--ttv-desktop-search-height, 40px);
    }

    .has-home-hero .site-header-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 1rem;
    }
    .has-home-hero .site-logo { grid-area: 1 / 1; justify-self: start; margin: 0; }
    .has-home-hero .site-menu {
        display: block;
        grid-area: 1 / 2;
        justify-self: center;
        position: static;
    }
    .hero-menu {
        padding: .3rem;
        border: 1px solid rgba(255, 255, 255, .6);
        border-radius: 2rem;
        background: rgba(255, 255, 255, .6);
    }
    .site-menu.is-searching .hero-menu { visibility: hidden; }
    .hero-menu .site-menu-list { align-items: center; gap: 0; margin: 0; }
    .hero-menu .site-menu-link {
        margin-inline: 0;
        padding: .55rem .85rem;
        border-radius: 2rem;
        color: #111;
        white-space: nowrap;
    }
    .hero-menu .site-menu-link:is(:hover, :focus-visible) { background: rgba(0, 0, 0, .06); }
    .hero-menu .site-menu-link:is(.active, .nav-active) { background: #fff; }

    .site-nav .hero-search-trigger {
        display: inline-flex;
        grid-area: 1 / 3;
        justify-self: end;
        align-items: center;
        gap: .6rem;
        width: auto;
        min-width: 0;
        height: 46px;
        padding: .35rem .4rem .35rem 1rem;
        border-radius: 2rem;
        background: rgba(255, 255, 255, .6);
        color: #111;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        transition: background-color .2s ease;
    }
    .hero-search-trigger:is(:hover, :focus-visible) { background: #fff; color: #111; }
    .hero-search-trigger[aria-expanded="true"] { visibility: hidden; }
    .hero-search-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #e9ecef;
        color: #111;
    }
    .hero-search-form {
        display: grid;
        position: relative;
        inset: auto;
        grid-area: 1 / 2 / auto / 4;
        align-self: center;
        z-index: 2;
        height: 52px;
        max-height: none;
        background: rgba(255, 255, 255, .6);
        animation: ttv-home-search-open .3s ease-out both;
    }
}

@media (max-width: 991.98px) {
    .site-header-row {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        height: 48px;
        min-height: 48px;
    }
    .site-mobile-search-trigger,
    .site-mobile-menu-trigger {
        display: inline-grid;
        grid-row: 1;
        align-self: center;
        margin: 0;
    }
    .site-mobile-search-trigger { grid-column: 1; justify-self: start; }
    .site-mobile-menu-trigger { grid-column: 3; justify-self: end; }
    .site-logo { grid-area: 1 / 2; align-self: center; justify-self: center; margin: 0; }

    .site-menu {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        z-index: 1040;
        grid-column: 1 / -1;
        width: 100%;
        padding-inline: .75rem;
        border-top: 1px solid var(--ttv-border);
        background: #fff;
        box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
    }
    .site-menu.show {
        display: block;
        max-height: calc(100vh - 48px);
        max-height: calc(100dvh - 48px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .site-menu-list { flex-direction: column; width: 100%; margin: 0; }
    .site-menu-item + .site-menu-item { border-top: 1px solid var(--ttv-border); }
    .site-menu-link { min-height: 44px; padding: .5rem 0; }
    .site-menu-caret { display: inline-block; margin-left: auto; font-size: 1.25rem; line-height: 1; }
    .site-dropdown-trigger::after { content: none; display: none; }
    .site-menu-search-item,
    .site-desktop-search-trigger { display: none; }
    .site-mobile-search-panel {
        display: block;
        width: 100%;
        padding: 10px 0 12px;
        border-top: 1px solid var(--ttv-border);
        background: #fff;
    }
    .site-mobile-search-form { min-height: 44px; }
    .has-home-hero :is(.site-mobile-search-trigger, .site-mobile-menu-trigger) { color: #fff; }
    .has-home-hero .site-menu .site-menu-link { color: var(--ttv-text); }

    .site-menu-panel { margin-bottom: .5rem; }
    .site-menu-panel-link { padding-block: .3rem; }
    .tour-menu-panel {
        position: static;
        width: 100%;
        max-height: none;
        padding-left: .5rem;
        overflow: visible;
        box-shadow: none;
    }
    .tour-menu-main,
    .tour-menu-side { width: 100%; padding: 0; }
    .tour-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .75rem; }
    .tour-menu-tour { min-height: 0; padding: .2rem 0; font-weight: 400; }
    .tour-menu-tour img { display: none; }
    .tour-menu-copy { display: block; }
    .scheduled-tour-status-dot { display: inline-block; }
    .tour-menu-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
        margin-top: .75rem;
        border: 0;
    }
    .tour-menu-heading,
    .tour-menu-side-link {
        align-items: center;
        justify-content: flex-start;
        gap: .2rem;
        font-size: .75rem;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: normal;
        text-transform: uppercase;
    }
    .tour-menu-side-link { padding: .3rem 0; }
    .tour-menu-heading { margin-bottom: .5rem; }
    :is(.tour-menu-heading, .tour-menu-side-link) i {
        align-self: center;
        flex-shrink: 0;
        margin-bottom: 0;
        font-size: 1em;
    }
}

@media (max-width: 767.98px) {
    .site-menu-panel:not(.tour-menu-panel) {
        position: fixed;
        inset: auto 0;
        width: 100%;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 1050;
    }
}
@media (max-width: 575.98px) {
    .tour-menu-list { grid-template-columns: minmax(0, 1fr); }
}

@keyframes ttv-home-search-open {
    from { clip-path: inset(0 0 0 75% round 2rem); opacity: .5; }
    to { clip-path: inset(0 0 0 0 round 2rem); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-search-form { animation: none; }
}

/* ==========================================================
   07. DIALOGS AND DISCLOSURES
   ========================================================== */
.disclosure:not(.show) { display: none; }
.site-dialog {
    position: fixed;
    inset: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.site-dialog.show { display: block; }
.site-dialog-window {
    position: relative;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
    pointer-events: none;
}
.site-dialog-window--centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}
.site-dialog-window--wide { max-width: 800px; }
.site-dialog-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .5rem;
    background: #fff;
    background-clip: padding-box;
    pointer-events: auto;
    outline: 0;
}
.site-dialog-header, .site-dialog-footer {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: 1rem;
}
.site-dialog-header {
    justify-content: space-between;
    border-bottom: 1px solid var(--ttv-border);
    border-radius: .5rem .5rem 0 0;
}
.site-dialog-title {
    margin: 0;
    line-height: 1.5;
}
.site-dialog-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}
.site-dialog-footer {
    justify-content: flex-end;
    gap: .5rem;
    border-top: 1px solid var(--ttv-border);
    border-radius: 0 0 .5rem .5rem;
}
.site-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: #000;
    opacity: .5;
}
.site-dialog-open { overflow: hidden; }
.site-dialog--fade:not(.show) { opacity: 0; }
.site-dialog--fade { transition: opacity .15s linear; }
.site-dialog-close {
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: .25rem;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3L3 13' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.6'/%3E%3C/svg%3E") center / 1rem 1rem no-repeat;
    opacity: .5;
    cursor: pointer;
}
.site-dialog-close:hover { opacity: .75; }
@media (max-width: 575.98px) { .site-dialog-window { margin: .5rem; } }

.site-dialog-close:focus {
    box-shadow: 0 0 0 .25rem var(--ttv-focus-color);
}


/* ==========================================================
   08. GALLERIES AND CAROUSELS
   ========================================================== */
.swiper-pagination-bullets {
    --swiper-pagination-bullet-horizontal-gap: 0px;
    --swiper-pagination-bullet-vertical-gap: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ttv-swiper-indicator-gray);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--ttv-primary);
}

.zoom-in {
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    transform-origin: center;
    transition: transform 0.3s ease;
    width: 100%;
}

.zoom-in img {
    border: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.zoom-in:hover img {
    transform: scale(1.05);
}

.swiper.mySwiper,
.site-carousel {
    overflow: hidden !important;
    --swiper-navigation-size: 36px;
    --swiper-navigation-sides-offset: 0;
}

.swiper.mySwiper .swiper-wrapper {
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
}

.swiper.mySwiper .swiper-slide {
    height: auto !important;
}

/* Shared layout for the control row under card, print and testimonial sliders. */
.swiper.mySwiper {
    --carousel-controls-width: 80%;
}
@media (min-width: 768px) {
    .swiper.mySwiper { --carousel-controls-width: 60%; }
}
.swiper.mySwiper :is(.prints-swiper-controls, .testimonial-swiper-controls, .wppost-swiper-controls, .content-card-swiper-controls) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: var(--carousel-controls-width);
    margin: var(--carousel-controls-top, 5px) auto 20px;
}

.swiper.mySwiper .swiper-buttons,
.swiper.mySwiper .swiper-button-nav-container {
    display: flex !important;
    width: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

.swiper.mySwiper .swiper-pagination,
.site-carousel .swiper-pagination {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    min-height: 10px;
    position: static;
    margin: 0;
}

.site-carousel .swiper-pagination {
    justify-content: center;
    margin-top: 8px;
}

.review-carousel .carousel-button,
.swiper.mySwiper :is(.swiper-button-prev, .swiper-button-next, .carousel-button),
.site-carousel :is(.swiper-button-prev, .swiper-button-next, .carousel-button) {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: var(--ttv-swiper-button-bg);
    color: #fff;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    transform: none;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10;
}
.review-carousel .carousel-button:is(:hover, :focus-visible, :active),
.swiper.mySwiper :is(.swiper-button-prev, .swiper-button-next, .carousel-button):is(:hover, :focus-visible, :active),
.site-carousel :is(.swiper-button-prev, .swiper-button-next, .carousel-button):is(:hover, :focus-visible, :active) {
    background: var(--ttv-swiper-indicator-active);
    color: #fff;
}

.review-carousel .carousel-button svg,
.swiper.mySwiper :is(.swiper-button-prev, .swiper-button-next, .carousel-button) svg,
.site-carousel :is(.swiper-button-prev, .swiper-button-next, .carousel-button) svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    pointer-events: none;
}
.review-carousel .carousel-button::after,
.swiper.mySwiper :is(.swiper-button-prev, .swiper-button-next, .carousel-button)::after,
.site-carousel :is(.swiper-button-prev, .swiper-button-next, .carousel-button)::after {
    content: "";
    display: none;
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
}

.review-carousel .carousel-button.swiper-button-disabled,
.swiper.mySwiper :is(.swiper-button-prev, .swiper-button-next, .carousel-button).swiper-button-disabled,
.site-carousel :is(.swiper-button-prev, .swiper-button-next, .carousel-button).swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .swiper.mySwiper .carousel-mobile-controls {
        display: none !important;
    }

}

/* ==========================================================
   09. FOOTER AND NEWSLETTER
   ========================================================== */
.footer-brand p {
    line-height: 1.6;
}

.footer-brand .footer-link {
    color: var(--ttv-text-secondary);
}

.footer-brand .footer-link:is(:hover, :focus-visible) {
    color: var(--ttv-primary);
}

.footer-brand .icon,
.vpt-link .icon {
    display: inline-block;
    line-height: 1;
    margin-left: -3px;
    font-size: 0.8rem;
}

.footer-brand .icon {
    vertical-align: text-bottom;
    position: relative;
    top: -.4px;
}

.vpt-link .icon {
    vertical-align: -0.1em;
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 576px) {
        .footer-brand .icon {
            top: -2px;
        }
    }
}

.footer-newsletter {
    padding: .5rem;
    color: #fff;
    background: #737377;
}

.footer-newsletter-inner,
.footer-container {
    max-width: var(--ttv-container-max, none);
    width: 100%;
    margin-inline: auto;
    padding-inline: .75rem;
}

.footer-newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: .5rem;
    padding: .5rem;
    border-radius: 2rem;
}

.footer-newsletter-copy {
    flex-grow: 1;
    text-align: center;
}

.footer-newsletter-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.footer-newsletter-description {
    margin: 0;
    font-size: .875rem;
    line-height: 1.5;
}

.footer-newsletter-form {
    flex: 0 1 auto;
    min-width: 0;
}

.footer-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.footer-newsletter-input {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: .25rem;
    padding: .25rem;
    border-radius: 2rem;
    background: #fff;
}

.footer-newsletter-email {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    padding: .375rem .75rem;
    border: 0;
    border-radius: 2rem;
    background: #fff;
    color: var(--ttv-text);
    font: inherit;
    line-height: 1.5;
}

.footer-newsletter-email:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 122, 255, .25);
}

.footer-newsletter-submit {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: rgb(124, 124, 128);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.footer-newsletter-submit:hover {
    background: rgb(84, 84, 86);
}

.footer-newsletter-submit:focus-visible,
.cookie-alert-dismiss:focus-visible {
    outline: 2px solid var(--ttv-primary);
    outline-offset: 2px;
}

.footer-section {
    padding-block: 3rem 1rem;
    color: var(--ttv-text-secondary);
}

.footer-section-bordered {
    border-top: 1px solid var(--ttv-border);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -.75rem;
    row-gap: 1.5rem;
}

.footer-column {
    flex: 0 0 auto;
    width: 50%;
    padding-inline: .75rem;
    margin-bottom: .5rem;
}

.footer-column:last-child {
    width: 100%;
}

.footer-brand,
.social-links {
    margin-bottom: 1rem;
}

.footer-heading {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-item {
    margin: 0 0 .5rem;
    font-size: .875rem;
    line-height: 1.5;
}

.footer-item-last {
    margin-bottom: 0;
}

.footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: auto;
    min-width: 0;
    padding: .25rem .5rem;
    border: 1px solid var(--ttv-text);
    border-radius: 2rem;
    color: var(--ttv-text);
    font-size: .875rem;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

.footer-social-card:hover {
    background: var(--ttv-text);
    color: #fff;
}

.footer-social-card-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 0;
    font-size: .85rem;
    font-weight: 500;
    white-space: normal;
}

.footer-social-card-heading > span {
    min-width: 0;
}

.footer-social-card-heading > i:first-child {
    font-size: 1rem;
}

.footer-social-card-arrow {
    flex: 0 0 auto;
    font-size: .9rem;
}

.footer-copyright-wrap {
    padding-top: .375rem;
    margin-bottom: 1rem;
}

.footer-copyright-center {
    text-align: center;
}

.footer-copyright {
    display: inline-block;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--ttv-border);
    font-size: .875rem;
    line-height: 1.5;
}

@media (min-width: 576px) {
    .footer-newsletter-inner {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding-left: 1.5rem;
    }

    .footer-newsletter-copy {
        text-align: left;
    }

    .footer-newsletter-form {
        flex: 0 1 30rem;
    }

    .footer-brand > p {
        margin-bottom: .25rem;
    }

    .footer-brand > p:last-child {
        margin-bottom: 0;
    }

    .footer-social-list {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
    }

    .footer-social-card {
        justify-content: flex-start;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: var(--ttv-text-secondary);
        text-align: left;
        transition: color .2s ease;
    }

    .footer-social-card:is(:hover, :focus-visible) {
        color: var(--ttv-primary);
        background: none;
        text-decoration: underline;
    }

    .footer-social-card:focus-visible {
        outline: 2px solid var(--ttv-primary);
        outline-offset: 3px;
    }

    .footer-social-card-heading {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .footer-social-card-arrow {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-column:last-child {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .footer-column,
    .footer-column:last-child {
        width: 33.333333%;
    }

    .footer-heading {
        font-size: 1.25rem;
    }
}

/* Cookie notice */
.cookie-alert {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1050;
    max-width: 360px;
    margin: 0;
    padding: 12px;
    border: 1px solid #fefefe;
    border-radius: .375rem;
    background: #fefefe;
    box-shadow: var(--ttv-shadow-sm);
    color: #636464;
    opacity: 0;
    transition: opacity .15s linear;
}

.cookie-alert.show {
    opacity: 1;
}

.cookie-alert.is-hidden {
    display: none;
}

.cookie-alert.is-dismissing {
    opacity: 0;
}

.cookie-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
}

.cookie-alert-message {
    flex: 1;
    margin: 0;
    font-size: .7875rem;
    line-height: 1.5;
}

.cookie-alert-dismiss {
    flex-shrink: 0;
    padding: .25rem .75rem;
    border: 1px solid #212529;
    border-radius: 2rem;
    background: #212529;
    color: #fff;
    font: inherit;
    font-size: .85rem;
    line-height: 1.5;
    cursor: pointer;
}

.cookie-alert-dismiss:hover {
    background: #424649;
    border-color: #373b3e;
}
