/* Explain: Styles for UI components, layout, and responsive modes, with updated navigation sizes. */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.9rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.nav-link {
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.6rem 0.9rem;
    transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: var(--surface-color);
    color: var(--primary-hover);
}

.secondary-nav .nav-link {
    font-size: 0.68rem;
    padding: 0.2rem 0.36rem;
    gap: 0.2rem;
    white-space: nowrap;
}

.secondary-nav .nav-link i {
    font-size: 0.68rem;
}

.secondary-nav .nav-link .secnav-caret {
    font-size: 0.58rem;
}

.color-nav-row {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.color-nav-row .nav-link {
    flex: 0 0 auto;
}

.mobile-menu-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--sea-color);
    box-shadow: var(--shadow-card);
}

.editorial-card {
    transition: transform 260ms ease;
}

.editorial-card:hover {
    transform: translateY(-6px);
}

.editorial-card img {
    transition: transform 600ms ease;
}

.editorial-card:hover img {
    transform: scale(1.05);
}

.article-card img {
    transition: transform 600ms ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.about-media img {
    box-shadow: var(--shadow-soft);
}

.pull-quote {
    margin-top: 1.75rem;
    border-inline-start: 4px solid var(--primary-color);
    padding-inline-start: 1.25rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.6;
}

.stat-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    text-align: center;
}

.explorer-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.property-strip {
    display: flex;
    width: max-content;
    direction: ltr;
    animation: property-strip-scroll 46s linear infinite;
    will-change: transform;
}

.property-strip-card {
    position: relative;
    width: 9.25rem;
    flex: 0 0 auto;
    margin-inline-end: 1rem;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.property-strip-card img {
    width: 100%;
    height: 10.25rem;
    object-fit: cover;
}

.strip-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.75rem 0.9rem 0.9rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

@keyframes property-strip-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 640px) {
    .property-strip-card {
        width: 11rem;
    }
}

@media (min-width: 1024px) {
    .property-strip-card {
        width: 12.75rem;
    }

    .property-strip-card img {
        height: 12.75rem;
    }
}

.city-tab-btn {
    border: 1px solid transparent;
    transform: scale(0.98);
}

.city-tab-btn.is-active-city {
    background: var(--white-color);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
    color: var(--primary-color);
    transform: scale(1);
}

.subcat-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    gap: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.subcat-chip:hover,
.subcat-chip:focus-visible {
    background: var(--surface-strong);
    border-color: rgba(217, 72, 15, 0.45);
    color: var(--primary-hover);
}

.subcat-chip.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.places-panel {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1rem;
}

.places-panel[hidden] {
    display: none;
}

.budget-result[hidden] {
    display: none;
}

.places-panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.places-panel-title .fa-location-dot {
    color: var(--primary-hover);
}

.places-empty {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(8px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-fade-in {
    animation: fadeInScale 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.places-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.place-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--white-color);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 0.6rem 0.85rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.place-link:hover,
.place-link:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.place-link .fa-location-dot {
    color: var(--primary-hover);
}

.place-link span {
    flex: 1;
}

.place-link-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.contact-input {
    min-height: 3.1rem;
    border-color: var(--border-color);
    background: var(--white-color);
}

.contact-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(217, 72, 15, 0.14);
    outline: none;
}

.form-status {
    border-radius: 1rem;
    font-weight: 700;
    padding: 0.9rem 1rem;
}

.form-status.success {
    background: rgba(21, 128, 61, 0.1);
    color: var(--success-color);
}

.form-status.error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}

.weather-widget {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 2.05rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--white-color);
}

.weather-widget-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.7rem;
    background: var(--white-color);
    color: var(--secondary-color);
    border-inline-end: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.weather-widget-head > i {
    color: var(--primary-hover);
}

.weather-widget-body {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    direction: ltr;
}

.weather-ticker {
    display: flex;
    flex-direction: row;
    width: max-content;
    direction: ltr;
    animation: weather-scroll-row 48s linear infinite;
    will-change: transform;
}

.weather-widget:hover .weather-ticker,
.weather-widget:focus-within .weather-ticker {
    animation-play-state: paused;
}

@keyframes weather-scroll-row {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.weather-card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    direction: rtl;
    align-items: center;
    gap: 0.4rem;
    border-inline-end: 1px dashed var(--border-color);
    padding: 0.22rem 0.8rem;
    white-space: nowrap;
}

.weather-card i {
    color: var(--primary-hover);
}

.weather-city {
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 800;
}

.weather-temp {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 900;
}

.weather-meta {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 600;
}

@media (max-width: 639px) {
    .weather-widget-head {
        padding: 0 0.75rem;
    }

    .weather-widget-head span {
        display: none;
    }
}

.weather-card-empty {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.rates-widget {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 3.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-color);
}

.rates-widget-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: var(--secondary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.rates-widget-body {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    direction: ltr;
}

.rates-ticker {
    display: flex;
    flex-direction: row;
    width: max-content;
    direction: ltr;
    animation: rates-scroll-row 60s linear infinite;
    will-change: transform;
}

.rates-widget:hover .rates-ticker,
.rates-widget:focus-within .rates-ticker {
    animation-play-state: paused;
}

@keyframes rates-scroll-row {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.rate-card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    direction: rtl;
    align-items: center;
    gap: 0.6rem;
    border-inline-end: 1px dashed var(--border-color);
    padding: 0.7rem 1.1rem;
    white-space: nowrap;
}

.rate-card i {
    color: var(--primary-hover);
}

.rate-name {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
}

.rate-value {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
}

.rate-card-empty {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .rates-widget-head {
        padding: 0 0.75rem;
    }

    .rates-widget-head span {
        display: none;
    }
}

.quick-categories {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-color);
    padding-block: 1.1rem;
}

.quick-categories-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.quick-categories-track::-webkit-scrollbar {
    display: none;
}

.quick-category {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.6rem;
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem 0.5rem 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, color 180ms ease;
}

.quick-category:hover,
.quick-category:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    box-shadow: var(--shadow-card);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.quick-category-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    transition: background 180ms ease, color 180ms ease;
}

.quick-category:hover .quick-category-icon,
.quick-category:focus-visible .quick-category-icon {
    background: var(--primary-color);
    color: var(--white-color);
}

@media (min-width: 1024px) {
    .quick-categories-track {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

.hero-bg-strip {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    width: max-content;
    direction: ltr;
    animation: hero-bg-scroll 55s linear infinite;
    will-change: transform;
}

.hero-bg-card {
    flex: 0 0 auto;
    width: 72vw;
    height: 100%;
    overflow: hidden;
}

.hero-bg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes hero-bg-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 768px) {
    .hero-bg-card {
        width: 46vw;
    }
}

@media (min-width: 1024px) {
    .hero-bg-card {
        width: 34vw;
    }
}

.hero-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    backdrop-filter: blur(6px);
    transition: background 180ms ease, border-color 180ms ease;
}

.hero-city-chip:hover,
.hero-city-chip:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}

.city-strip {
    display: flex;
    width: max-content;
    direction: ltr;
    animation: city-strip-scroll 46s linear infinite;
    will-change: transform;
}

.city-strip-card {
    position: relative;
    width: 6.75rem;
    flex: 0 0 auto;
    margin-inline-end: 0.7rem;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.city-strip-card img {
    width: 100%;
    height: 6.75rem;
    object-fit: cover;
    transition: transform 600ms ease;
}

.city-strip-card:hover img {
    transform: scale(1.05);
}

.city-strip-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.4rem 0.7rem 0.6rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

@keyframes city-strip-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 640px) {
    .city-strip-card {
        width: 7.75rem;
    }

    .city-strip-card img {
        height: 7.75rem;
    }
}

@media (min-width: 1024px) {
    .city-strip-card {
        width: 8.75rem;
    }

    .city-strip-card img {
        height: 8.75rem;
    }
}

.fact-card {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1rem 1.1rem;
}

.fact-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
}

.fact-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fact-value {
    margin: 0.2rem 0 0;
    color: var(--secondary-color);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.6;
}

.fact-culture {
    grid-column: 1 / -1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem 1.35rem;
}

.fact-culture-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.fact-culture-title .fa-landmark {
    color: var(--primary-hover);
}

.fact-culture-text {
    margin: 0.7rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.social-link {
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    font-size: 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.social-link.social-facebook {
    color: #1877F2;
}

.social-link.social-facebook:hover,
.social-link.social-facebook:focus-visible {
    background: #1877F2;
    border-color: #1877F2;
    color: var(--white-color);
}

.social-link.social-instagram {
    color: #E1306C;
}

.social-link.social-instagram:hover,
.social-link.social-instagram:focus-visible {
    background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    border-color: #DD2A7B;
    color: var(--white-color);
}

.social-link.social-tiktok {
    color: #010101;
}

.social-link.social-tiktok:hover,
.social-link.social-tiktok:focus-visible {
    background: #010101;
    border-color: #010101;
    color: var(--white-color);
}

.social-link.social-whatsapp {
    color: #25D366;
}

.social-link.social-whatsapp:hover,
.social-link.social-whatsapp:focus-visible {
    background: #25D366;
    border-color: #25D366;
    color: var(--white-color);
}

.social-link.social-link-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.78rem;
}

.social-link.social-link-lg {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
}

.article-body h2 {
    margin: 2rem 0 0.75rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
}

.article-body h3 {
    margin: 1.5rem 0 0.5rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.article-body p {
    margin: 0 0 1.1rem;
    color: var(--text-color);
    font-size: 1.08rem;
    line-height: 2;
}

.article-body ul {
    margin: 0 0 1.25rem;
    padding-inline-start: 1.25rem;
    list-style: disc;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.article-body a {
    color: var(--primary-hover);
    font-weight: 700;
    text-decoration: underline;
}

.coupon-float {
    position: fixed;
    top: 5.75rem;
    left: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: 10.5rem;
    max-width: calc(100vw - 2rem);
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: 0;
    border-radius: 0 0.9rem 0.9rem 0;
    background: var(--white-color);
    box-shadow: 0 16px 34px rgba(28, 25, 23, 0.2);
}

.coupon-float-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 1.75rem;
    border: 0;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.3rem 0.5rem;
    transition: background 180ms ease;
}

.coupon-float-toggle:hover,
.coupon-float-toggle:focus-visible {
    background: var(--primary-hover);
}

.coupon-float.is-collapsed {
    width: auto;
}

.coupon-float.is-collapsed .coupon-float-body {
    display: none;
}

.coupon-float.is-collapsed .coupon-float-toggle {
    flex-direction: column;
    gap: 0.3rem;
    min-height: 4.5rem;
    padding: 0.5rem 0.35rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.coupon-float-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 16rem;
    overflow-y: auto;
    padding: 0.35rem;
    scrollbar-width: thin;
}

.coupon-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border: 1px solid var(--border-color);
    border-radius: 0.55rem;
    background: var(--surface-color);
    padding: 0.35rem 0.45rem;
}

.coupon-item-head {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.coupon-item-badge {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 1.7rem;
    padding: 0.1rem 0.25rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.54rem;
    font-weight: 800;
    line-height: 1.2;
}

.coupon-item-icon {
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.6rem;
}

.coupon-item-title {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.3;
}

.coupon-copy-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 1.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 800;
    padding: 0.2rem 0.45rem;
    transition: background 180ms ease;
}

.coupon-copy-btn:hover,
.coupon-copy-btn:focus-visible {
    background: var(--primary-hover);
}

.coupon-code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.coupon-code {
    display: inline-flex;
    align-items: center;
    border: 2px dashed var(--primary-color);
    border-radius: 0.55rem;
    background: rgba(217, 72, 15, 0.07);
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.35rem;
}

@media (max-width: 767px) {
    .coupon-float {
        top: 5.75rem;
        width: 9.5rem;
    }
}

.faq-jump {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-jump:hover,
.faq-jump:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.faq-jump i {
    color: var(--primary-hover);
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item[open] {
    border-color: rgba(217, 72, 15, 0.4);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 1.05rem 1.25rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.5;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    transition: transform 240ms ease, background 180ms ease, color 180ms ease;
}

.faq-item[open] .faq-q-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: var(--white-color);
}

.faq-a {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.faq-a p {
    margin: 0;
}

.gallery-filter-label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-filter {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.28rem 0.75rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.45);
    color: var(--primary-hover);
}

.gallery-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.9rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 1.1rem;
    overflow: hidden;
    background: var(--surface-strong);
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.gallery-card[hidden] {
    display: none;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 600ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.06);
}

.gallery-card-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 2.75rem 0.9rem 0.9rem;
    text-align: start;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.gallery-card-title {
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.gallery-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
}

.gallery-empty {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

.gallery-empty[hidden] {
    display: none;
}

.gallery-close {
    position: absolute;
    top: 0.5rem;
    inset-inline-end: 0.5rem;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease;
}

.gallery-close:hover,
.gallery-close:focus-visible {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-lightbox-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    background: var(--secondary-color);
}

.gallery-lightbox-img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-nav {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 1.1rem;
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
}

.share-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 800;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.share-btn i {
    font-size: 1rem;
}

.share-btn:hover,
.share-btn:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.share-btn-wa {
    background: #25D366;
    border-color: #25D366;
    color: var(--white-color);
}

.share-btn-wa:hover,
.share-btn-wa:focus-visible {
    background: #1EBE5A;
    border-color: #1EBE5A;
    color: var(--white-color);
}

.share-btn-fb {
    background: #1877F2;
    border-color: #1877F2;
    color: var(--white-color);
}

.share-btn-fb:hover,
.share-btn-fb:focus-visible {
    background: #0F66D0;
    border-color: #0F66D0;
    color: var(--white-color);
}

.share-feedback {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.share-feedback:empty {
    display: none;
}

.search-panel {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 60;
    border-bottom: 1px solid var(--border-color);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding-inline: 1rem;
}

.search-field > i {
    color: var(--primary-hover);
}

.search-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}

.search-field input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.search-close {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.search-close:hover,
.search-close:focus-visible {
    background: var(--surface-strong);
    color: var(--secondary-color);
}

.search-results {
    display: grid;
    gap: 0.35rem;
    max-height: min(60vh, 26rem);
    overflow-y: auto;
    margin-top: 0.75rem;
}

.search-results:empty {
    display: none;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.6rem 0.85rem;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.search-result:hover,
.search-result:focus-visible {
    border-color: rgba(217, 72, 15, 0.45);
    background: var(--white-color);
    transform: translateY(-1px);
}

.search-result-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
}

.search-result-body {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.search-result-title {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-type {
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
}

.search-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 0.25rem;
}

.search-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.6rem 0 0.15rem;
    padding: 0 0.25rem;
}

.search-group-title:first-child {
    margin-top: 0.1rem;
}

.search-group-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-group-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.4rem;
    min-height: 1.4rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0 0.35rem;
}

.saved-tab {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: all 180ms ease;
    cursor: pointer;
    background: transparent;
}

.saved-tab:hover,
.saved-tab:focus-visible {
    color: var(--secondary-color);
}

.saved-tab.is-active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.planner-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.planner-city-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.75rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.planner-city-card:hover {
    border-color: rgba(217, 72, 15, 0.45);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.planner-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--primary-hover);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.planner-add-btn:hover,
.planner-add-btn:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.planner-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.9rem;
    min-height: 1.9rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0 0.5rem;
}

.planner-count.hidden {
    display: none;
}

.planner-day {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    overflow: hidden;
}

.planner-day-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.6rem 0.9rem;
}

.planner-day-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

.planner-day-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.planner-icon-btn {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 180ms ease, border-color 180ms ease;
}

.planner-icon-btn:hover,
.planner-icon-btn:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
}

.planner-icon-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.planner-day-items {
    display: grid;
    gap: 0.5rem;
    padding: 0.75rem;
}

.planner-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--white-color);
    padding: 0.5rem 0.7rem;
}

.planner-item-thumb {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border-radius: 0.7rem;
    object-fit: cover;
}

.planner-item-name {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--secondary-color);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.planner-item-remove {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.planner-item-remove:hover,
.planner-item-remove:focus-visible {
    background: var(--error-color);
    border-color: var(--error-color);
    color: var(--white-color);
}

.planner-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 800;
    padding: 0.6rem 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.planner-action-btn:hover,
.planner-action-btn:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.planner-action-btn[data-plan-save],
.planner-action-btn[data-plan-share] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.planner-action-btn[data-plan-save]:hover,
.planner-action-btn[data-plan-save]:focus-visible,
.planner-action-btn[data-plan-share]:hover,
.planner-action-btn[data-plan-share]:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white-color);
}

.planner-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.planner-ghost-btn:hover,
.planner-ghost-btn:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

@media (max-width: 639px) {
    .planner-icon-btn {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.phrase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.phrase-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 1.05rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phrase-tab i {
    color: var(--primary-hover);
}

.phrase-tab:hover,
.phrase-tab:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.phrase-tab.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
}

.phrase-tab.is-active i {
    color: var(--white-color);
}

.phrase-panel {
    outline: none;
}

.phrase-panel.hidden {
    display: none;
}

.phrase-panel:focus-visible {
    outline: 3px solid rgba(217, 72, 15, 0.35);
    outline-offset: 6px;
    border-radius: var(--radius-md);
}

.phrase-card {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 0.9rem 1rem;
    transition: border-color 180ms ease, transform 180ms ease;
}

.phrase-card:hover {
    border-color: rgba(217, 72, 15, 0.4);
    transform: translateY(-2px);
}

.phrase-card-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.phrase-card-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}

.phrase-he {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
}

.phrase-ro {
    color: var(--primary-hover);
    font-size: 0.92rem;
    font-weight: 700;
}

.phrase-th {
    color: var(--text-muted);
    font-family: 'Noto Sans Thai', var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.phrase-play-btn {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(217, 72, 15, 0.3);
    transition: background 180ms ease, transform 180ms ease;
}

.phrase-play-btn:hover,
.phrase-play-btn:focus-visible {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.phrase-play-btn.is-loading {
    background: var(--surface-strong);
    color: var(--primary-hover);
    box-shadow: none;
}

.phrase-play-btn.is-playing {
    background: var(--secondary-color);
}

.phrase-play-btn.is-error {
    background: var(--error-color);
}

.phrase-status {
    display: block;
    min-height: 1.1rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.phrase-status:empty {
    display: none;
    min-height: 0;
    margin-top: 0;
}

.phrase-status.is-error {
    color: var(--error-color);
}

.packing-progress {
    position: relative;
    height: 0.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-strong);
}

.packing-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(to left, var(--primary-color), var(--accent-color));
    transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.packing-group {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1rem;
}

.packing-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--white-color);
    padding: 0.5rem 0.75rem;
    transition: border-color 180ms ease, background 180ms ease;
}

.packing-item:hover {
    border-color: rgba(217, 72, 15, 0.4);
}

.packing-item:has(.packing-checkbox:checked) {
    border-color: rgba(21, 128, 61, 0.45);
    background: rgba(21, 128, 61, 0.06);
}

.packing-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.packing-box {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--white-color);
    color: transparent;
    font-size: 0.7rem;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.packing-checkbox:checked + .packing-box {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--white-color);
}

.packing-checkbox:focus-visible + .packing-box {
    outline: 3px solid rgba(217, 72, 15, 0.45);
    outline-offset: 3px;
}

.packing-label {
    flex: 1 1 auto;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 180ms ease;
}

.packing-item:has(.packing-checkbox:checked) .packing-label {
    color: var(--text-muted);
    text-decoration: line-through;
}

.route-day {
    display: flex;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1rem 1.15rem;
}

.route-day-num {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.route-day-body {
    flex: 1 1 auto;
    min-width: 0;
}

.route-day-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.route-day-city {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    transition: color 180ms ease;
}

.route-day-city:hover,
.route-day-city:focus-visible {
    color: var(--primary-hover);
}

.route-day-theme {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.route-day-places {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.route-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.route-chip i {
    color: var(--primary-hover);
}

.route-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.8rem;
}

.route-article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.route-article-link i {
    color: var(--primary-hover);
}

.route-article-link:hover,
.route-article-link:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.dest-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 4.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    cursor: pointer;
    padding: 0.6rem 0.7rem;
    text-align: start;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dest-list-item:hover,
.dest-list-item:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.dest-list-thumb {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 0.85rem;
}

.dest-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dest-list-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
}

.dest-list-name {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.dest-list-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
}

.dest-list-arrow {
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.8rem;
    transition: transform 180ms ease;
}

.dest-list-item:hover .dest-list-arrow,
.dest-list-item:focus-visible .dest-list-arrow {
    transform: translateX(-4px);
}

.dest-marker {
    cursor: pointer;
}

.dest-marker:focus-visible {
    outline: none;
}

.dest-marker-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: destMarkerPulse 2800ms ease-out infinite;
}

@keyframes destMarkerPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.55;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.dest-marker-dot {
    transition: fill 180ms ease;
}

.dest-marker:hover .dest-marker-dot,
.dest-marker:focus-visible .dest-marker-dot,
.dest-marker.is-active .dest-marker-dot {
    fill: var(--accent-color);
}

.travel-chat {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.travel-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.65rem 1.15rem;
    box-shadow: 0 14px 30px rgba(217, 72, 15, 0.35);
    transition: background 180ms ease, transform 180ms ease;
}

.travel-chat-toggle:hover,
.travel-chat-toggle:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.travel-chat-toggle i {
    font-size: 1.05rem;
}

.travel-chat-panel {
    display: flex;
    flex-direction: column;
    width: min(22rem, calc(100vw - 2rem));
    max-height: min(30rem, calc(100vh - 16rem));
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
}

.travel-chat-panel.hidden,
.travel-chat-suggestions.hidden {
    display: none;
}

.travel-chat-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.85rem 0.9rem;
}

.travel-chat-head-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
}

.travel-chat-head-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.travel-chat-head-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

.travel-chat-head-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
}

.travel-chat-close {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease;
}

.travel-chat-close:hover,
.travel-chat-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

.travel-chat-messages {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 9rem;
    overflow-y: auto;
    background: var(--surface-color);
    padding: 0.9rem;
}

.travel-chat-msg {
    max-width: 88%;
    border-radius: 1rem;
    font-size: 0.92rem;
    line-height: 1.7;
    padding: 0.6rem 0.85rem;
    white-space: pre-line;
}

.travel-chat-msg-bot {
    align-self: flex-start;
    border: 1px solid var(--border-color);
    background: var(--white-color);
    color: var(--text-color);
}

.travel-chat-msg-user {
    align-self: flex-end;
    background: var(--primary-color);
    color: var(--white-color);
}

.travel-chat-msg-typing {
    color: var(--text-muted);
    font-weight: 700;
}

.travel-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 0.9rem 0;
}

.travel-chat-chip {
    min-height: 2.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--primary-hover);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    transition: background 180ms ease, border-color 180ms ease;
}

.travel-chat-chip:hover,
.travel-chat-chip:focus-visible {
    background: var(--surface-strong);
    border-color: rgba(217, 72, 15, 0.45);
}

.travel-chat-form {
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--white-color);
    padding: 0.65rem 0.75rem;
}

.travel-chat-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 0.92rem;
    padding: 0 1rem;
}

.travel-chat-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.travel-chat-send {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease;
}

.travel-chat-send:hover,
.travel-chat-send:focus-visible {
    background: var(--primary-hover);
}

@media (max-width: 480px) {
    .travel-chat-toggle span {
        display: none;
    }

    .travel-chat-toggle {
        padding: 0.65rem;
    }
}

.place-rating {
    margin-top: 0.85rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.85rem;
}

.place-rating-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.place-rating-stars {
    display: inline-flex;
    gap: 0.15rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.place-rating-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.place-rating-comments {
    display: grid;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.place-rating-comment {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    padding: 0.5rem 0.7rem;
}

.place-rating-comment-head {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
}

.place-rating-comment-head i {
    color: var(--accent-color);
}

.place-rating-comment-text {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

.place-rating-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    margin-top: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--primary-hover);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.place-rating-toggle:hover,
.place-rating-toggle:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.place-rating-toggle.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.place-rating-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.8rem;
}

.place-rating-form[hidden] {
    display: none;
}

.place-rating-input {
    display: inline-flex;
    gap: 0.2rem;
}

.place-rating-star {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 150ms ease, transform 150ms ease;
}

.place-rating-star:hover,
.place-rating-star:focus-visible {
    transform: scale(1.1);
}

.place-rating-star.is-on {
    color: var(--accent-color);
}

.place-rating-field {
    display: block;
}

.place-rating-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
}

.place-rating-status {
    border-radius: 0.75rem;
    background: rgba(21, 128, 61, 0.1);
    color: var(--success-color);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 0.75rem;
}

.place-rating-status.hidden {
    display: none;
}

.place-rating-status.is-error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}

.place-rating-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-weight: 800;
    padding: 0.5rem 1rem;
    transition: background 180ms ease;
}

.place-rating-submit:hover,
.place-rating-submit:focus-visible {
    background: var(--primary-hover);
}

.place-rating-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fav-day-list {
    display: grid;
    gap: 0.4rem;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.fav-day-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    padding: 0.45rem 0.6rem;
}

.open-status-badge {
    display: none;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
}

.open-status-badge.is-open {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success-color);
}

.open-status-badge.is-closed {
    background: rgba(185, 28, 28, 0.12);
    color: var(--error-color);
}

.fav-day-num {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
}

.fav-day-text {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.6;
}

.fav-tab-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.5rem;
    min-height: 1.5rem;
    margin-inline-start: 0.4rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0 0.35rem;
}

.fav-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.9rem 1.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.fav-note i {
    color: var(--primary-hover);
}

.auth-benefits {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.7;
}

.auth-benefit i {
    margin-top: 0.35rem;
    color: var(--primary-hover);
}

.pack-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.85rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 1.05rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pack-pill i {
    color: var(--primary-hover);
}

.pack-pill:hover,
.pack-pill:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.pack-pill.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.26);
}

.pack-pill.is-active i {
    color: var(--white-color);
}

.pack-season-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.82;
}

.trip-summary-output {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1.1rem 1.2rem;
}

.trip-summary-heading {
    margin: 1.1rem 0 0.5rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.45;
}

.trip-summary-heading:first-child {
    margin-top: 0;
}

.trip-summary-text {
    margin: 0 0 0.75rem;
    color: var(--text-color);
    font-size: 0.98rem;
    line-height: 1.9;
}

.trip-summary-list {
    margin: 0 0 0.6rem;
    padding-inline-start: 1.25rem;
    list-style: disc;
}

.trip-summary-list li {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

#visaEntryPrintArea {
    display: block;
}

.visa-entry-print-title {
    margin: 0 0 0.35rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.visa-entry-print-sub {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.visa-entry-print-table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
}

.visa-entry-print-table th,
.visa-entry-print-table td {
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
    text-align: start;
    vertical-align: top;
}

.visa-entry-print-table th {
    width: 38%;
    background: var(--surface-color);
    color: var(--secondary-color);
    font-weight: 800;
}

@media print {
    body.visa-printing * {
        visibility: hidden;
    }

    body.visa-printing #visaEntryPrintArea,
    body.visa-printing #visaEntryPrintArea * {
        visibility: visible;
    }

    body.visa-printing #visaEntryPrintArea {
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        width: 100%;
        margin: 0;
        padding: 1.5rem;
        background: #ffffff;
    }
}

.chapter-band {
    background: var(--background-color);
    padding-block: 3.5rem 0;
}

.chapter-band-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 2px solid var(--border-color);
    padding-top: 1.75rem;
}

.chapter-band-num {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(217, 72, 15, 0.3);
}

.chapter-band-kicker {
    display: block;
    color: var(--primary-hover);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chapter-band-title {
    display: block;
    margin-top: 0.15rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.35;
}

.chapter-band-sub {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.7;
}

@media (max-width: 639px) {
    .chapter-band-inner {
        gap: 0.9rem;
    }

    .chapter-band-num {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.05rem;
    }

    .chapter-band-title {
        font-size: 1.25rem;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 60;
    height: 4px;
    background: rgba(28, 25, 23, 0.1);
    pointer-events: none;
}

.scroll-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(to left, var(--primary-color), var(--accent-color));
    transition: width 120ms linear;
}

.section-kicker-invert {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-color);
}

.proof-stat {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    padding: 1.1rem 1.25rem;
}

.proof-stat-num {
    display: block;
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
}

.proof-stat-num i {
    color: var(--accent-color);
}

.proof-stat-label {
    display: block;
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.6;
}

.proof-card {
    transition: transform 260ms ease;
}

.proof-card:hover {
    transform: translateY(-6px);
}

.proof-card img {
    transition: transform 600ms ease;
}

.proof-card:hover img {
    transform: scale(1.05);
}

/* ---- Unified inner-page headings & image tiles (homepage keeps its own layout) ---- */
.page-head {
    max-width: 46rem;
}

.page-head .page-title {
    margin: 1rem 0 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.page-head .page-subtitle {
    margin: 0.6rem 0 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .page-head .page-title {
        font-size: 1.85rem;
    }

    .page-head .page-subtitle {
        font-size: 1.05rem;
    }
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.75rem;
}

@media (min-width: 640px) {
    .tile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .tile-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
        margin-top: 2.25rem;
    }
}

.tile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease;
}

.tile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.45);
}

.tile-card .tile-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tile-card .tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.tile-card:hover .tile-media img {
    transform: scale(1.05);
}

.tile-card .tile-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem 0.95rem;
}

.tile-card .tile-title {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.tile-card .tile-text {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.7;
}

/* Family-destinations tiles — slightly smaller cards and shorter image frames */
.kids-dest-grid {
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.kids-dest-grid .tile-media {
    aspect-ratio: 16 / 10;
}

.kids-dest-grid .tile-body {
    padding: 0.6rem 0.75rem 0.7rem;
}

.kids-dest-grid .tile-title {
    font-size: 0.92rem;
}

.kids-dest-grid .tile-text {
    font-size: 0.78rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .kids-dest-grid {
        gap: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .kids-dest-grid {
        gap: 1rem;
        margin-top: 1.75rem;
    }
}

/* Field-experiences page — more compact image frames in the tile cards */
#experiencesGrid .tile-media {
    aspect-ratio: 16 / 9;
}

#experiencesGrid .tile-body {
    padding: 0.7rem 0.85rem 0.8rem;
}

/* Reduced heading scale across every inner page.
   The homepage keeps its editorial scale via :has(#scrollProgress),
   which marks index.html only. Higher specificity beats Tailwind's
   text-* utilities (including their sm:/md: variants). */
body:not(:has(#scrollProgress)) .text-6xl {
    font-size: 2.3rem;
    line-height: 1.1;
}

body:not(:has(#scrollProgress)) .text-5xl {
    font-size: 1.95rem;
    line-height: 1.15;
}

body:not(:has(#scrollProgress)) .text-4xl {
    font-size: 1.6rem;
    line-height: 1.2;
}

body:not(:has(#scrollProgress)) .text-3xl {
    font-size: 1.35rem;
    line-height: 1.3;
}

/* Israeli-restaurants pages — smaller headings and images */
body.restaurant-page:not(:has(#scrollProgress)) .text-5xl {
    font-size: 1.9rem;
    line-height: 1.15;
}

body.restaurant-page:not(:has(#scrollProgress)) .text-4xl {
    font-size: 1.6rem;
    line-height: 1.2;
}

body.restaurant-page:not(:has(#scrollProgress)) .text-3xl {
    font-size: 1.4rem;
    line-height: 1.3;
}

body.restaurant-page:not(:has(#scrollProgress)) .text-2xl {
    font-size: 1.2rem;
    line-height: 1.35;
}

body.restaurant-page:not(:has(#scrollProgress)) .text-xl {
    font-size: 1.05rem;
    line-height: 1.4;
}

body.restaurant-page:not(:has(#scrollProgress)) :is(h1, h2, h3, h4).text-lg {
    font-size: 1.02rem;
    line-height: 1.45;
}

/* ---- Homepage: more compact typography ---- */
body:has(#scrollProgress) .text-lg {
    font-size: 1rem;
    line-height: 1.6;
}

body:has(#scrollProgress) .text-xl {
    font-size: 1.1rem;
    line-height: 1.4;
}

body:has(#scrollProgress) .text-2xl {
    font-size: 1.35rem;
    line-height: 1.3;
}

body:has(#scrollProgress) .text-3xl {
    font-size: 1.6rem;
    line-height: 1.25;
}

body:has(#scrollProgress) .text-4xl {
    font-size: 1.9rem;
    line-height: 1.18;
}

body:has(#scrollProgress) .text-5xl {
    font-size: 2.4rem;
    line-height: 1.12;
}

@media (min-width: 640px) {
    body:has(#scrollProgress) .text-2xl {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    body:has(#scrollProgress) .text-3xl {
        font-size: 1.7rem;
        line-height: 1.22;
    }

    body:has(#scrollProgress) .text-4xl {
        font-size: 1.95rem;
        line-height: 1.15;
    }

    body:has(#scrollProgress) .text-5xl {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

/* ---- Homepage: more compact image frames ---- */
body:has(#scrollProgress) .aspect-video {
    aspect-ratio: 2 / 1;
}

body:has(#scrollProgress) .aspect-\[4\/3\] {
    aspect-ratio: 3 / 2;
}

body:has(#scrollProgress) .aspect-\[4\/5\] {
    aspect-ratio: 1 / 1;
}

.city-weather-tag {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 10;
    display: none;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.35rem 0.55rem;
    backdrop-filter: blur(6px);
}

.city-weather-tag.is-ready {
    display: inline-flex;
}

.city-weather-tag i {
    color: var(--accent-color);
}

.currency-widget {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.currency-widget-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.65rem 1.15rem;
    box-shadow: 0 14px 30px rgba(28, 25, 23, 0.35);
    transition: background 180ms ease, transform 180ms ease;
}

.currency-widget-toggle:hover,
.currency-widget-toggle:focus-visible {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.currency-widget-toggle i {
    font-size: 1.05rem;
}

.currency-widget-panel {
    display: flex;
    flex-direction: column;
    width: min(20rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
}

.currency-widget-panel.hidden {
    display: none;
}

.currency-widget-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.85rem 0.9rem;
}

.currency-widget-head-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
}

.currency-widget-head-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.currency-widget-head-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

.currency-widget-head-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
}

.currency-widget-close {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease;
}

.currency-widget-close:hover,
.currency-widget-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

.currency-widget-body {
    display: grid;
    gap: 0.7rem;
    background: var(--surface-color);
    padding: 0.9rem;
}

.currency-widget-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: var(--white-color);
    padding: 0.5rem 0.7rem;
}

.currency-widget-rate-text {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
}

.currency-widget-refresh {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.currency-widget-refresh:hover,
.currency-widget-refresh:focus-visible {
    background: var(--primary-color);
    color: var(--white-color);
}

.currency-widget-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.currency-widget-input {
    width: 100%;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: var(--white-color);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    padding: 0 0.9rem;
}

.currency-widget-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.currency-widget-currencies {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-widget-select {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0 0.7rem;
    text-align: center;
    text-align-last: center;
}

.currency-widget-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.currency-widget-swap {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.currency-widget-swap:hover,
.currency-widget-swap:focus-visible {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.currency-widget-result {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border: 1px dashed var(--primary-color);
    border-radius: 0.85rem;
    background: rgba(217, 72, 15, 0.07);
    padding: 0.7rem 0.9rem;
    text-align: center;
}

.currency-widget-result-value {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.currency-widget-result-note {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .currency-widget-toggle span {
        display: none;
    }

    .currency-widget-toggle {
        padding: 0.65rem;
    }
}

.currency-widget-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.currency-usd-box {
    display: inline-flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: auto;
    max-width: calc(100vw - 1.25rem);
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--white-color);
    cursor: pointer;
    padding: 0.4rem 0.85rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.16);
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.currency-usd-box:hover,
.currency-usd-box:focus-visible {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.currency-usd-label {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.currency-usd-item {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.3rem;
    white-space: nowrap;
}

.currency-usd-item + .currency-usd-item {
    border-inline-start: 1px solid var(--border-color);
    padding-inline-start: 0.55rem;
}

.currency-usd-item-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.currency-usd-value {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    .currency-usd-box {
        gap: 0.35rem;
        padding: 0.4rem 0.6rem;
    }

    .currency-usd-label {
        font-size: 0.72rem;
    }

    .currency-usd-item {
        gap: 0.2rem;
    }

    .currency-usd-item + .currency-usd-item {
        padding-inline-start: 0.35rem;
    }

    .currency-usd-item-label {
        font-size: 0.66rem;
    }

    .currency-usd-value {
        font-size: 0.85rem;
    }
}

.currency-rate-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--white-color);
    cursor: pointer;
    padding: 0.4rem 0.85rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.16);
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.currency-rate-box:hover,
.currency-rate-box:focus-visible {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.currency-rate-label {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.currency-rate-value {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.currency-clock-box {
    display: flex;
    flex: 0 0 6.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    width: 6.5rem;
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--white-color);
    padding: 0.4rem 0.75rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.16);
}

.currency-clock-label {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
}

.currency-clock-value {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    .currency-clock-label {
        display: none;
    }

    .currency-clock-box {
        padding: 0.4rem 0.55rem;
    }
}

.currency-bar {
    background: var(--background-color);
    padding-block: 0.75rem 0.25rem;
}

.currency-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

@media (max-width: 639px) {
    .currency-bar-inner {
        gap: 0.6rem;
    }
}

.ticket-filter {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 1.1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ticket-filter:hover,
.ticket-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.45);
    color: var(--primary-hover);
}

.ticket-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.ticket-when {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.ticket-when-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ticket-when-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.ticket-when-input {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--white-color);
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0 0.7rem;
}

.ticket-when-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.ticket-cart-when {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.2rem;
    color: var(--primary-hover);
    font-size: 0.74rem;
    font-weight: 800;
}

.ticket-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ticket-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.45);
    box-shadow: var(--shadow-soft);
}

.ticket-card[hidden] {
    display: none;
}

.ticket-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ticket-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.ticket-card:hover .ticket-media img {
    transform: scale(1.05);
}

.ticket-badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white-color);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    backdrop-filter: blur(6px);
}

.ticket-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.15rem;
}

.ticket-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
}

.ticket-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.7;
}

.ticket-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.85rem;
}

.ticket-price {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.ticket-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    box-shadow: 0 10px 24px rgba(217, 72, 15, 0.28);
    transition: background 180ms ease, transform 180ms ease;
}

.ticket-add-btn:hover,
.ticket-add-btn:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.ticket-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ticket-cart {
    position: sticky;
    top: 6.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.ticket-cart-head {
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.85rem 1.1rem;
}

.ticket-cart-head h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.ticket-cart-body {
    padding: 1rem 1.1rem;
}

.ticket-cart-empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
}

.ticket-cart-items {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticket-cart-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.55rem 0.65rem;
}

.ticket-cart-thumb {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    border-radius: 0.7rem;
    object-fit: cover;
}

.ticket-cart-item-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.ticket-cart-name {
    color: var(--secondary-color);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
}

.ticket-cart-price {
    color: var(--primary-hover);
    font-size: 0.82rem;
    font-weight: 800;
}

.ticket-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
}

.ticket-qty-btn {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.7rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ticket-qty-btn:hover,
.ticket-qty-btn:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.ticket-qty-num {
    min-width: 1.4rem;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 800;
}

.ticket-remove {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ticket-remove:hover,
.ticket-remove:focus-visible {
    background: var(--error-color);
    border-color: var(--error-color);
    color: var(--white-color);
}

.ticket-checkout {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
    padding: 1rem 1.1rem 1.15rem;
}

.ticket-checkout.hidden {
    display: none;
}

.ticket-cart-summary {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ticket-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.ticket-summary-row strong {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.ticket-summary-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.6;
}

.ticket-checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.6rem 1rem;
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.3);
    transition: background 180ms ease, transform 180ms ease;
}

.ticket-checkout-btn:hover,
.ticket-checkout-btn:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.ticket-checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ticket-secure-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.6;
}

.ticket-secure-note i {
    color: var(--success-color);
}

.ticket-empty-state {
    margin-top: 2rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

.ticket-empty-state.hidden {
    display: none;
}

@media (max-width: 1023px) {
    .ticket-cart {
        position: static;
    }
}

.airline-category {
    overflow: hidden;
}

.airline-category-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.35rem;
    transition: background 180ms ease;
}

.airline-category-head::-webkit-details-marker {
    display: none;
}

.airline-category-head:hover,
.airline-category-head:focus-visible {
    background: var(--surface-color);
}

.airline-category-icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 26px rgba(217, 72, 15, 0.28);
}

.airline-category-body-text {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.airline-category-title {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.airline-category-sub {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.airline-category-chevron {
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 1rem;
    transition: transform 240ms ease;
}

.airline-category[open] .airline-category-chevron {
    transform: rotate(180deg);
}

.airline-category-body {
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
    padding: 1.25rem;
}

@media (max-width: 639px) {
    .airline-category-head {
        padding: 1rem 1.05rem;
    }

    .airline-category-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* ---- Homepage category explorer (accordion) ---- */
.category-explorer {
    position: relative;
}

.category-chip-row {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-chip-row::-webkit-scrollbar {
    display: none;
}

.category-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.75rem 0.25rem;
}

.category-loading i {
    color: var(--primary-hover);
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-height: 3.1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.6rem 1.15rem;
    box-shadow: var(--shadow-card);
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-chip i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.category-chip:hover,
.category-chip:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.category-chip.is-open {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 14px 30px rgba(217, 72, 15, 0.28);
}

.category-chip.is-open i {
    color: var(--white-color);
}

.category-panels {
    margin-top: 1.5rem;
}

.category-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.category-panel[hidden] {
    display: none;
}

.category-panel-count {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.category-panel-count i {
    color: var(--primary-hover);
}

.category-panel-meta {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
}

.category-city-group + .category-city-group {
    margin-top: 1.25rem;
}

.category-city-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.6rem;
    color: var(--primary-hover);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.category-city-title i {
    font-size: 0.75rem;
}

.category-link-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .category-link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .category-link-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--surface-color);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 0.6rem 0.85rem;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-link:hover,
.category-link:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.category-link-icon {
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.9rem;
}

.category-link-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
}

.category-link-arrow {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 0.75rem;
}

@media (min-width: 1024px) {
    .category-chip-row {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

/* ---- Secondary nav: grouped dropdown menus ---- */
.secondary-nav {
    position: relative;
}

.secondary-nav.site-container {
    width: min(100% - 1rem, 1800px);
}

.secnav-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.04rem 0.02rem;
}

.secnav-item {
    position: relative;
    display: inline-flex;
}

.secnav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.secnav-caret {
    font-size: 0.68rem;
    transition: transform 200ms ease;
}

.secnav-item.is-open .secnav-caret {
    transform: rotate(180deg);
}

.secnav-item.is-open > .secnav-toggle {
    background: var(--white-color);
    color: var(--primary-hover);
    box-shadow: var(--shadow-card);
}

.secnav-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    inset-inline-start: 0;
    z-index: 60;
    display: none;
    min-width: 14rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
    padding: 0.4rem;
}

.secnav-item.is-open .secnav-menu {
    display: block;
}

.secnav-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.6rem;
    border-radius: 0.7rem;
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    transition: background 180ms ease, color 180ms ease;
    white-space: nowrap;
}

.secnav-menu a i {
    width: 1rem;
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.8rem;
    text-align: center;
}

.secnav-menu a:hover,
.secnav-menu a:focus-visible {
    background: var(--surface-color);
    color: var(--primary-hover);
}

.secnav-menu-wide {
    min-width: 16rem;
}

.secnav-menu-group + .secnav-menu-group {
    margin-top: 0.3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.35rem;
}

.secnav-menu-title {
    display: block;
    padding: 0.25rem 0.75rem 0.15rem;
    color: var(--primary-hover);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- מלונות מומלצים: תפריט לפי ערים ---- */
.secnav-menu-hotels {
    min-width: 17.5rem;
}

.secnav-menu-hotels a {
    white-space: normal;
    line-height: 1.5;
}

.secnav-menu-hotels .secnav-menu-title i {
    margin-inline-end: 0.25rem;
    font-size: 0.62rem;
}

.hotel-nav-details {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
}

.hotel-nav-details summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    list-style: none;
}

.hotel-nav-details summary::-webkit-details-marker {
    display: none;
}

.hotel-nav-caret {
    margin-inline-start: auto;
    font-size: 0.62rem;
    transition: transform 200ms ease;
}

.hotel-nav-details[open] .hotel-nav-caret {
    transform: rotate(180deg);
}

.hotel-nav-list {
    display: grid;
    gap: 0.15rem;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
    padding: 0.4rem;
}

.hotel-nav-city-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem 0.1rem;
    color: var(--primary-hover);
    font-size: 0.72rem;
    font-weight: 800;
}

.hotel-nav-city-title i {
    font-size: 0.65rem;
}

.hotel-nav-city {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    border-radius: 0.7rem;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.6rem;
    white-space: normal;
}

.hotel-nav-city i {
    color: var(--primary-hover);
    font-size: 0.75rem;
}

.hotel-nav-city:hover,
.hotel-nav-city:focus-visible {
    background: var(--white-color);
    color: var(--primary-hover);
}

/* ערים כמפתחות נפתחים בתוך תפריט המלונות: מציגים רק שמות ערים ופותחים את המלונות בלחיצה */
.secnav-menu-hotels .hotel-nav-details {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.secnav-menu-hotels .hotel-nav-details + .hotel-nav-details {
    margin-top: 0.15rem;
}

summary.hotel-nav-city {
    cursor: pointer;
    list-style: none;
}

summary.hotel-nav-city::-webkit-details-marker {
    display: none;
}

summary.hotel-nav-city > i:first-child {
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.75rem;
}

summary.hotel-nav-city .hotel-nav-caret {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 0.62rem;
    transition: transform 200ms ease;
}

details.hotel-nav-details[open] > summary.hotel-nav-city .hotel-nav-caret {
    transform: rotate(180deg);
}

/* ---- Floating accessibility widget (all pages) ---- */
.a11y-widget {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 75;
}

.a11y-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px 0 0 999px;
    background: var(--a11y-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.6rem 1rem 0.6rem 0.85rem;
    box-shadow: 0 14px 30px rgba(28, 25, 23, 0.32);
    transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.a11y-toggle-btn:hover,
.a11y-toggle-btn:focus-visible {
    background: var(--a11y-hover);
    color: var(--white-color);
}

.a11y-toggle-btn i {
    font-size: 1.15rem;
}

.a11y-panel {
    position: fixed;
    right: 0.75rem;
    top: 50%;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: min(19rem, calc(100vw - 2rem));
    max-height: calc(100vh - 5rem);
    transform: translateY(-50%);
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
}

.a11y-panel.hidden {
    display: none;
}

.a11y-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--a11y-color);
    color: var(--white-color);
    padding: 0.85rem 0.9rem;
}

.a11y-head-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--a11y-accent);
    color: var(--white-color);
}

.a11y-head-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.a11y-head-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

.a11y-head-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
}

.a11y-close {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease;
}

.a11y-close:hover,
.a11y-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

.a11y-body {
    display: grid;
    flex: 1 1 auto;
    gap: 0.6rem;
    min-height: 0;
    overflow-y: auto;
    background: var(--surface-color);
    padding: 0.9rem;
}

.a11y-group {
    display: grid;
    gap: 0.45rem;
}

.a11y-group-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.a11y-group-title i {
    color: var(--a11y-accent);
}

.a11y-textsize {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: var(--white-color);
    padding: 0.35rem;
}

.a11y-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 2.5rem;
    border: 0;
    border-radius: 0.6rem;
    background: var(--surface-strong);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    transition: background 180ms ease, color 180ms ease;
}

.a11y-btn:hover,
.a11y-btn:focus-visible {
    background: var(--primary-color);
    color: var(--white-color);
}

.a11y-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.a11y-state {
    flex: 1 1 auto;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
}

.a11y-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 0.8rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.a11y-toggle > i:first-child {
    color: var(--a11y-accent);
}

.a11y-toggle span {
    flex: 1 1 auto;
    text-align: start;
}

.a11y-toggle-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
    border-color: rgba(37, 99, 235, 0.5);
}

.a11y-toggle.is-on {
    background: var(--a11y-color);
    border-color: var(--a11y-color);
    color: var(--white-color);
}

.a11y-toggle.is-on > i:first-child,
.a11y-toggle.is-on .a11y-toggle-icon {
    color: var(--white-color);
}

.a11y-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border: 1px dashed var(--border-color);
    border-radius: 0.85rem;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.a11y-reset:hover,
.a11y-reset:focus-visible {
    border-color: var(--a11y-accent);
    color: var(--a11y-accent);
}

.a11y-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.a11y-toggle-center {
    justify-content: center;
}

.a11y-toggle-center span {
    flex: 0 0 auto;
    text-align: center;
}

.a11y-toggle:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.a11y-img-alt {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 3;
    padding: 0.35rem 0.5rem;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: start;
    pointer-events: none;
}

html.a11y-grayscale header,
html.a11y-grayscale main,
html.a11y-grayscale footer {
    filter: grayscale(1) !important;
}

html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font body :not(i) {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

html.a11y-big-cursor,
html.a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%3E%3Cpath%20d='M6%203%20L6%2042%20L16%2032%20L23%2046%20L30%2043%20L23%2029%20L36%2029%20Z'%20fill='%23000000'%20stroke='%23ffffff'%20stroke-width='2'/%3E%3C/svg%3E") 6 3, auto !important;
}

html.a11y-no-animation {
    scroll-behavior: auto !important;
}

html.a11y-no-animation *,
html.a11y-no-animation *::before,
html.a11y-no-animation *::after {
    animation: none !important;
    transition: none !important;
}

@media (max-width: 480px) {
    .a11y-toggle-btn span {
        display: none;
    }

    .a11y-toggle-btn {
        padding: 0.6rem 0.75rem;
    }
}

/* ---- Accessibility settings applied to the whole page ---- */
html.a11y-text-large {
    font-size: 112.5%;
}

html.a11y-text-larger {
    font-size: 125%;
}

html.a11y-high-contrast {
    --text-color: #000000;
    --text-muted: #262220;
    --secondary-color: #000000;
    --border-color: #000000;
    --primary-color: #A8330A;
    --primary-hover: #7C2406;
    --shadow-card: none;
    --shadow-soft: none;
}

html.a11y-highlight-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
    text-decoration-color: var(--primary-color) !important;
}

html.a11y-highlight-links a:hover,
html.a11y-highlight-links a:focus-visible {
    background-color: rgba(217, 72, 15, 0.14) !important;
}

/* ---- News & updates page ---- */
.news-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.news-filter:hover,
.news-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.45);
    color: var(--primary-hover);
}

.news-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease;
}

.news-card[hidden] {
    display: none;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.4);
}

.news-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.05);
}

.news-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.15rem;
}

.news-card-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.45;
}

.news-card-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.75;
}

.news-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.news-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
}

.news-cat-alert {
    background: color-mix(in srgb, var(--news-alert) 12%, #ffffff);
    color: var(--news-alert);
}

.news-cat-deals {
    background: color-mix(in srgb, var(--news-deals) 12%, #ffffff);
    color: var(--news-deals);
}

.news-cat-visa {
    background: color-mix(in srgb, var(--news-visa) 12%, #ffffff);
    color: var(--news-visa);
}

.news-cat-events {
    background: color-mix(in srgb, var(--news-events) 14%, #ffffff);
    color: var(--news-events);
}

.news-cat-finance {
    background: color-mix(in srgb, var(--news-finance) 12%, #ffffff);
    color: var(--news-finance);
}

.news-urgent {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: var(--error-color);
    color: var(--white-color);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
}

.news-live-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--success-color);
    animation: newsPulse 2000ms infinite;
}

@keyframes newsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(21, 128, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(21, 128, 61, 0);
    }
}

/* ---- News & updates ticker (runs like the weather forecast bar) ---- */
.news-widget {
    border-top: 0;
}

.news-widget .weather-widget-head {
    background: var(--white-color);
    color: var(--secondary-color);
}

.news-widget .weather-widget-head > i {
    color: var(--primary-hover);
}

.news-tick {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    direction: rtl;
    align-items: center;
    gap: 0.4rem;
    border-inline-end: 1px dashed var(--border-color);
    padding: 0.22rem 0.8rem;
    color: var(--secondary-color);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 180ms ease;
}

.news-tick:hover,
.news-tick:focus-visible {
    color: var(--primary-hover);
}

.news-tick > i {
    color: var(--primary-hover);
}

.news-tick.is-urgent > i {
    color: var(--error-color);
}

.news-tick-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
}

.news-tick.is-urgent .news-tick-tag {
    background: rgba(185, 28, 28, 0.12);
    color: var(--error-color);
}

.news-tick-title {
    color: inherit;
}

.news-tick-date {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 700;
}

.news-tick-empty {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---- Deals & coupons corner ---- */
.deal-discount-badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.42rem 0.7rem;
    box-shadow: 0 10px 24px rgba(217, 72, 15, 0.32);
}

.deal-featured-badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.65rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.25);
}

.deal-supplier {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
}

.deal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-hover);
    font-size: 0.8rem;
    font-weight: 800;
    transition: color 180ms ease;
}

.deal-link:hover,
.deal-link:focus-visible {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Culinary page: markets & tasting-tour map ---- */
.mm-card {
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mm-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.4);
}

.mm-card[hidden] {
    display: none;
}

.mm-card.is-active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

/* ---- Floating quick actions: WhatsApp (all pages) + emergency quick-dial (emergency page) ---- */
.floating-actions {
    position: fixed;
    left: 1rem;
    bottom: 4.75rem;
    z-index: 65;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.floating-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.6rem 1.1rem;
    box-shadow: 0 14px 30px rgba(28, 25, 23, 0.3);
    transition: background 180ms ease, transform 180ms ease;
}

.floating-action-btn i {
    font-size: 1.15rem;
}

.floating-action-btn:hover,
.floating-action-btn:focus-visible {
    transform: translateY(-2px);
}

.floating-action-wa {
    background: #25D366;
}

.floating-action-wa:hover,
.floating-action-wa:focus-visible {
    background: #1EBE5A;
}

.floating-action-call {
    background: var(--error-color);
    display: none;
}

.floating-action-call:hover,
.floating-action-call:focus-visible {
    background: #991B1B;
}

.emergency-page .floating-action-call {
    display: inline-flex;
}

@media (max-width: 480px) {
    .floating-action-btn span {
        display: none;
    }

    .floating-action-btn {
        padding: 0.65rem;
    }
}

/* ---- Israeli restaurants: city filter chips ---- */
.rest-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rest-chip i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.rest-chip-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.4rem;
    min-height: 1.4rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0 0.35rem;
}

.rest-chip:hover,
.rest-chip:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.rest-chip.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
}

.rest-chip.is-active i {
    color: var(--white-color);
}

.rest-chip.is-active .rest-chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white-color);
}

/* ---- Elephant sanctuaries & wildlife page ---- */
.elephant-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.elephant-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.elephant-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.elephant-filter i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.elephant-filter:hover,
.elephant-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.elephant-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
}

.elephant-filter.is-active i {
    color: var(--white-color);
}

.elephant-count {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.elephant-count strong {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.elephant-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .elephant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .elephant-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

.elephant-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.elephant-card[hidden] {
    display: none;
}

.elephant-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.4);
    box-shadow: var(--shadow-soft);
}

.elephant-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.elephant-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.elephant-card:hover .elephant-media img {
    transform: scale(1.05);
}

.elephant-type {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.7rem;
    backdrop-filter: blur(6px);
}

.elephant-type i {
    color: var(--accent-color);
}

.elephant-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.15rem;
}

.elephant-name {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
}

.elephant-loc {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--primary-hover);
    font-size: 0.8rem;
    font-weight: 800;
}

.elephant-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.8;
}

.elephant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.9rem;
}

.elephant-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.45rem 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.elephant-btn i {
    color: var(--primary-hover);
}

.elephant-btn:hover,
.elephant-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.elephant-btn-wa {
    background: #25D366;
    border-color: #25D366;
    color: var(--white-color);
}

.elephant-btn-wa i {
    color: var(--white-color);
}

.elephant-btn-wa:hover,
.elephant-btn-wa:focus-visible {
    background: #1EBE5A;
    border-color: #1EBE5A;
    color: var(--white-color);
}

.elephant-ethics-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .elephant-ethics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.elephant-ethics-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.elephant-ethics-card.is-do {
    border-top: 4px solid var(--success-color);
}

.elephant-ethics-card.is-dont {
    border-top: 4px solid var(--error-color);
}

.elephant-ethics-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.elephant-ethics-card.is-do .elephant-ethics-title i {
    color: var(--success-color);
}

.elephant-ethics-card.is-dont .elephant-ethics-title i {
    color: var(--error-color);
}

.elephant-ethics-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elephant-ethics-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.75;
}

.elephant-ethics-item i {
    margin-top: 0.38rem;
    font-size: 0.85rem;
}

.elephant-ethics-card.is-do .elephant-ethics-item i {
    color: var(--success-color);
}

.elephant-ethics-card.is-dont .elephant-ethics-item i {
    color: var(--error-color);
}

.elephant-checklist {
    display: grid;
    gap: 0.6rem;
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.25rem;
    list-style: none;
    border: 1px dashed var(--primary-color);
    border-radius: var(--radius-md);
    background: rgba(217, 72, 15, 0.06);
}

.elephant-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--secondary-color);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.75;
}

.elephant-checklist i {
    margin-top: 0.38rem;
    color: var(--primary-hover);
    font-size: 0.85rem;
}

/* ---- Intercity bus & van route filter ---- */
.ticket-route-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.9rem 1rem;
}

.ticket-route-field {
    display: flex;
    flex: 1 1 12rem;
    min-width: 0;
    flex-direction: column;
    gap: 0.35rem;
}

.ticket-route-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.ticket-route-select {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0 0.8rem;
}

.ticket-route-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.ticket-route-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ticket-route-reset:hover,
.ticket-route-reset:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.ticket-route-line {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--primary-hover);
    font-size: 0.85rem;
    font-weight: 800;
}

.ticket-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---- Interactive national-parks map (region + activity filters) ---- */
.parks-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.parks-filter i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.parks-filter:hover,
.parks-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.parks-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
}

.parks-filter.is-active i {
    color: var(--white-color);
}

.parks-map-board {
    display: grid;
    gap: 1rem;
}

.parks-map-zone {
    position: relative;
    min-height: 12rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--white-color), var(--sea-color));
    padding: 2.75rem 1rem 1rem;
}

.parks-map-zone-label {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.8rem;
}

.parks-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 6.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
    padding: 0;
}

.parks-pin-dot {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(217, 72, 15, 0.32);
    transition: background 180ms ease, transform 180ms ease;
}

.parks-pin:hover .parks-pin-dot,
.parks-pin:focus-visible .parks-pin-dot,
.parks-pin.is-active .parks-pin-dot {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.parks-pin-name {
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    padding: 0.1rem 0.35rem;
}

.parks-map-empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.parks-map-info {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.1rem;
}

.parks-map-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
}

.parks-map-hint i {
    margin-top: 0.3rem;
    color: var(--primary-hover);
}

.parks-info-card {
    display: grid;
    gap: 0.85rem;
}

.parks-info-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.parks-info-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parks-info-head {
    display: grid;
    gap: 0.25rem;
}

.parks-info-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
}

.parks-info-region {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-hover);
    font-size: 0.82rem;
    font-weight: 800;
}

.parks-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.parks-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
}

.parks-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.parks-info-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
}

.parks-info-body {
    display: grid;
    gap: 0.1rem;
}

.parks-info-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.parks-info-value {
    color: var(--secondary-color);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.6;
}

.parks-info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.9rem;
}

.parks-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.45rem 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.parks-info-btn i {
    color: var(--primary-hover);
}

.parks-info-btn:hover,
.parks-info-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.parks-info-btn.is-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.parks-info-btn.is-primary i {
    color: var(--white-color);
}

@media (max-width: 639px) {
    .parks-pin {
        width: 5.25rem;
    }

    .parks-pin-dot {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.9rem;
    }

    .parks-pin-name {
        font-size: 0.66rem;
    }
}

/* ---- Floating advertising carousel (left rail) ---- */
.ad-rail {
    position: fixed;
    left: 0;
    top: 13rem;
    z-index: 40;
    display: none;
    flex-direction: column;
    width: 11.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: 0;
    border-radius: 0 1rem 1rem 0;
    background: var(--white-color);
    box-shadow: 0 16px 34px rgba(28, 25, 23, 0.2);
}

@media (min-width: 1024px) and (min-height: 640px) {
    .ad-rail {
        display: flex;
    }
}

.ad-rail.is-hidden {
    display: none !important;
}

.ad-rail-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.55rem 0.6rem;
}

.ad-rail-head-icon {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
}

.ad-rail-head-title {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
}

.ad-rail-btn {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white-color);
    cursor: pointer;
    font-size: 0.68rem;
    transition: background 180ms ease;
}

.ad-rail-btn:hover,
.ad-rail-btn:focus-visible {
    background: rgba(255, 255, 255, 0.34);
}

.ad-rail-collapse-icon {
    transition: transform 200ms ease;
}

.ad-rail.is-collapsed .ad-rail-collapse-icon {
    transform: rotate(180deg);
}

.ad-rail-slides {
    position: relative;
    height: 7.5rem;
    overflow: hidden;
    background: var(--secondary-color);
}

.ad-rail-track {
    position: relative;
    width: 100%;
    height: 100%;
    direction: ltr;
}

.ad-rail-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    direction: rtl;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 600ms ease, visibility 600ms ease;
}

.ad-rail-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.ad-rail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-rail-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem 0;
}

.ad-rail-dot {
    width: 0.5rem;
    height: 0.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--border-color);
    cursor: pointer;
    padding: 0;
    transition: background 180ms ease, width 180ms ease;
}

.ad-rail-dot:hover,
.ad-rail-dot:focus-visible {
    background: var(--primary-hover);
}

.ad-rail-dot.is-active {
    width: 1.1rem;
    background: var(--primary-color);
}

.ad-rail-slide-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1.6rem 0.6rem 0.55rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.05));
}

.ad-rail-slide-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
}

.ad-rail-slide-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
    .ad-rail-track {
        animation: none;
    }
}

.ad-rail-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.5rem 0.6rem 0.65rem;
    min-height: 2.1rem;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 0.72rem;
    font-weight: 800;
    transition: background 180ms ease;
}

.ad-rail-cta:hover,
.ad-rail-cta:focus-visible {
    background: var(--primary-color);
}

.ad-rail.is-collapsed {
    width: auto;
}

.ad-rail.is-collapsed .ad-rail-slides,
.ad-rail.is-collapsed .ad-rail-dots,
.ad-rail.is-collapsed .ad-rail-cta {
    display: none;
}

/* ---- Advertising strip (homepage): horizontal moving rectangle marquee ---- */
.ad-strip {
    margin-top: 0;
}

.ad-strip.is-hidden {
    display: none !important;
}

.ad-strip-inner {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-card);
}

.ad-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--white-color);
    color: var(--secondary-color);
    padding: 0.45rem 0.9rem;
}

.ad-strip-head-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
}

.ad-strip-head-title i {
    color: var(--accent-color);
}

a.ad-strip-head-title {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 180ms ease;
}

a.ad-strip-head-title:hover,
a.ad-strip-head-title:focus-visible {
    color: var(--primary-hover);
}

.ad-strip-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ad-strip-btn {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.72rem;
    transition: background 180ms ease, color 180ms ease;
}

.ad-strip-btn:hover,
.ad-strip-btn:focus-visible {
    background: var(--primary-color);
    color: var(--white-color);
}

.ad-strip-collapse-icon {
    transition: transform 200ms ease;
}

.ad-strip.is-collapsed .ad-strip-collapse-icon {
    transform: rotate(180deg);
}

.ad-strip-viewport {
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    background: var(--white-color);
    direction: ltr;
    padding: 0.7rem 0;
}

.ad-strip-track {
    display: flex;
    width: max-content;
    direction: ltr;
    animation: ad-strip-scroll 34s linear infinite;
    will-change: transform;
}

.ad-strip-viewport:hover .ad-strip-track,
.ad-strip-viewport:focus-within .ad-strip-track {
    animation-play-state: paused;
}

@keyframes ad-strip-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ad-strip-card {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 8.75rem;
    min-width: 0;
    margin-inline-end: 0.75rem;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.ad-strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.ad-strip-card:hover img,
.ad-strip-card:focus-visible img {
    transform: scale(1.05);
}

.ad-strip-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    direction: rtl;
    padding: 1.5rem 0.75rem 0.55rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.ad-strip-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
}

.ad-strip-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}

.ad-strip.is-collapsed .ad-strip-viewport {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .ad-strip-track {
        animation: none;
    }
}

@media (max-width: 639px) {
    .ad-strip-card {
        width: 7.5rem;
    }
}

/* Restore-ad-banner button (footer) — revealed only when the homepage strip is dismissed */
.ad-rail-restore {
    display: none;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: background 180ms ease, color 180ms ease;
}

.ad-rail-restore.is-visible {
    display: inline-flex;
}

.ad-rail-restore:hover,
.ad-rail-restore:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ---- Top-attractions page: cards with difficulty, hours and navigation ---- */
.attr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .attr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .attr-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

.attr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.attr-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.4);
    box-shadow: var(--shadow-soft);
}

.attr-card[hidden] {
    display: none;
}

.attr-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.attr-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.attr-card:hover .attr-media img {
    transform: scale(1.05);
}

.attr-city-badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.7rem;
    backdrop-filter: blur(6px);
}

.attr-city-badge i {
    color: var(--accent-color);
}

.attr-diff {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.65rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.25);
}

.attr-diff-easy {
    background: rgba(21, 128, 61, 0.92);
    color: #ffffff;
}

.attr-diff-medium {
    background: rgba(245, 158, 11, 0.95);
    color: var(--secondary-color);
}

.attr-diff-hard {
    background: rgba(185, 28, 28, 0.92);
    color: #ffffff;
}

.attr-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.15rem;
}

.attr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.attr-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.6rem;
}

.attr-chip i {
    color: var(--primary-hover);
}

.attr-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.attr-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.75;
}

.attr-meta {
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.attr-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
}

.attr-meta-item i {
    margin-top: 0.28rem;
    color: var(--primary-hover);
    font-size: 0.8rem;
}

.attr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.9rem;
}

.attr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.45rem 0.9rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.attr-btn i {
    color: var(--primary-hover);
}

.attr-btn:hover,
.attr-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.attr-btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.attr-btn-primary i {
    color: var(--white-color);
}

.attr-btn-primary:hover,
.attr-btn-primary:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white-color);
}

/* Compact filter row on the deals & coupons page (the row above the image grid) */
div[data-deal-filters] {
    margin-top: 1.25rem;
    gap: 0.4rem;
}

[data-deal-filters] > span {
    font-size: 0.7rem;
}

[data-deal-filters] .news-filter {
    min-height: 2.1rem;
    gap: 0.32rem;
    font-size: 0.76rem;
    padding: 0.3rem 0.75rem;
}

/* ---- Region page: detailed destination cards (east region) ---- */
.region-city-fact {
    display: block;
}

.region-city-fact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.region-city-fact-label i {
    color: var(--primary-hover);
}

.region-city-fact-text {
    margin: 0.35rem 0 0;
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.7;
}

.region-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.region-city-chip i {
    color: var(--primary-hover);
}

.region-city-hotel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    padding: 0.45rem 0.7rem;
}

.region-city-hotel-level {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
}

.region-city-hotel-name {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.region-city-hotel-price {
    color: var(--primary-hover);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

/* ---- Guides hub (guides.html): category filter + guide cards ---- */
.guide-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-filter i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.guide-filter:hover,
.guide-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.guide-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
}

.guide-filter.is-active i {
    color: var(--white-color);
}

.guide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 0.85rem;
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-card h3 {
    font-size: 0.92rem;
    line-height: 1.4;
}

.guide-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.guide-card.hidden {
    display: none;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.45);
    box-shadow: var(--shadow-soft);
}

.guide-card-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.95rem;
    transition: background 180ms ease, color 180ms ease;
}

.guide-card:hover .guide-card-icon {
    background: var(--primary-color);
    color: var(--white-color);
}

.ticket-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    color: var(--primary-hover);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Attraction detail page: gallery + lightbox ---- */
.attraction-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .attraction-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.attraction-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.attraction-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.attraction-gallery-item:hover img,
.attraction-gallery-item:focus-visible img {
    transform: scale(1.05);
}

.attraction-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    padding: 1.25rem;
}

.attraction-lightbox[hidden] {
    display: none;
}

.attraction-lb-img {
    max-width: min(92vw, 62rem);
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.attraction-lb-close {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 180ms ease;
}

.attraction-lb-close:hover,
.attraction-lb-close:focus-visible {
    background: rgba(255, 255, 255, 0.34);
}

.attraction-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 180ms ease;
}

.attraction-lb-nav:hover,
.attraction-lb-nav:focus-visible {
    background: rgba(255, 255, 255, 0.34);
}

.attraction-lb-prev {
    inset-inline-start: 1rem;
}

.attraction-lb-next {
    inset-inline-end: 1rem;
}

/* ---- Phrasebook: live Hebrew → Thai translator ---- */
.translate-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.translate-input {
    flex: 1 1 auto;
    min-width: 0;
}

.translate-mic {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(217, 72, 15, 0.28);
    transition: background 180ms ease, transform 180ms ease;
}

.translate-mic:hover,
.translate-mic:focus-visible {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.translate-mic.is-recording {
    background: var(--error-color);
    animation: translateRecPulse 1400ms ease-in-out infinite;
}

@keyframes translateRecPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(185, 28, 28, 0);
    }
}

.translate-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.translate-rec-state {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
}

.translate-status {
    margin-top: 0.85rem;
    border-radius: 0.85rem;
    background: var(--surface-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
}

.translate-status.is-error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}

.translate-result {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 1.25rem;
}

.translate-result-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.translate-thai {
    margin: 0.35rem 0 0;
    color: var(--secondary-color);
    font-family: 'Noto Sans Thai', var(--font-body);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}

.translate-hebrew {
    margin: 0.35rem 0 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.5;
}

.translate-translit {
    margin: 0.35rem 0 0;
    color: var(--primary-hover);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.6;
}

.translate-result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.translate-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.5rem 1.15rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.translate-save-btn:hover,
.translate-save-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

.translate-save-btn.is-saved {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--white-color);
}

.translate-saved-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.translate-saved-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.translate-saved-title i {
    color: var(--primary-hover);
}

.translate-saved-count {
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
}

.translate-saved-list {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.translate-saved-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.7rem 0.85rem;
}

.translate-saved-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.translate-saved-he {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.translate-saved-ro {
    color: var(--primary-hover);
    font-size: 0.9rem;
    font-weight: 700;
}

.translate-saved-th {
    color: var(--text-muted);
    font-family: 'Noto Sans Thai', var(--font-body);
    font-size: 1rem;
    font-weight: 700;
}

.translate-saved-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
}

.translate-saved-play {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 0.95rem;
}

.translate-saved-del {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.translate-saved-del:hover,
.translate-saved-del:focus-visible {
    background: var(--error-color);
    border-color: var(--error-color);
    color: var(--white-color);
}

.translate-saved-empty {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.translate-saved-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.translate-saved-note i {
    color: var(--primary-hover);
}

.translate-result.hidden,
.translate-saved-list.hidden,
.translate-status.hidden,
.translate-rec-state.hidden {
    display: none;
}

/* ---- Moving photo strip (homepage gallery): working links + enlarged view ---- */
.property-strip-card .strip-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

.property-strip-card .strip-caption {
    z-index: 3;
    pointer-events: none;
}

.strip-expand {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white-color);
    cursor: pointer;
    font-size: 0.95rem;
    backdrop-filter: blur(6px);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.strip-expand:hover,
.strip-expand:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.06);
}

.strip-lightbox {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.86);
}

.strip-lightbox[hidden] {
    display: none;
}

.strip-lightbox-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(46rem, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
}

.strip-lightbox-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1rem;
    transition: background 180ms ease;
}

.strip-lightbox-close:hover,
.strip-lightbox-close:focus-visible {
    background: var(--primary-color);
}

.strip-lightbox-media {
    width: 100%;
    background: var(--secondary-color);
}

.strip-lightbox-img {
    display: block;
    width: 100%;
    max-height: 62vh;
    object-fit: contain;
}

.strip-lightbox-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.15rem;
}

.strip-lightbox-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
}

.strip-lightbox-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.55rem 1.25rem;
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.3);
    transition: background 180ms ease, transform 180ms ease;
}

.strip-lightbox-link:hover,
.strip-lightbox-link:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.strip-lightbox-link.hidden {
    display: none;
}

body.strip-lightbox-open {
    overflow: hidden;
}

/* ---- Moving attraction strip: clickable images with info + map buttons ---- */
.property-strip-card .strip-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.property-strip-card .strip-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-top: 2.4rem;
}

.strip-caption-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}

.strip-caption-city {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
}

.strip-caption-city i {
    color: var(--accent-color);
    font-size: 0.68rem;
}

.strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
    pointer-events: auto;
}

.strip-action {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-height: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.2rem 0.55rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 180ms ease, border-color 180ms ease;
}

.strip-action:hover,
.strip-action:focus-visible {
    background: rgba(255, 255, 255, 0.36);
    border-color: #ffffff;
}

.strip-action-info {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.strip-action-info:hover,
.strip-action-info:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* ---- Attraction explanation panel ---- */
.strip-lightbox-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem 1.25rem 1.25rem;
    text-align: start;
}

.strip-lightbox-city {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin: 0 0 0.35rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
}

.strip-lightbox-city.hidden {
    display: none;
}

.strip-lightbox-desc {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.8;
}

.strip-lightbox-desc.hidden {
    display: none;
}

.strip-lightbox-facts {
    display: grid;
    gap: 0.5rem;
    margin: 0.9rem 0 0;
}

.strip-lightbox-fact {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    background: var(--surface-color);
    padding: 0.6rem 0.75rem;
}

.strip-lightbox-fact.hidden {
    display: none;
}

.strip-lightbox-fact-icon {
    margin-top: 0.2rem;
    color: var(--primary-hover);
    font-size: 0.9rem;
}

.strip-lightbox-fact-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.strip-lightbox-fact-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.strip-lightbox-fact-value {
    color: var(--secondary-color);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.6;
}

.strip-lightbox-diff {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.15rem 0.6rem;
}

.strip-lightbox-diff.is-easy {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success-color);
}

.strip-lightbox-diff.is-medium {
    background: rgba(245, 158, 11, 0.16);
    color: #B45309;
}

.strip-lightbox-diff.is-hard {
    background: rgba(185, 28, 28, 0.12);
    color: var(--error-color);
}

.strip-lightbox-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.strip-lightbox-map {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.5rem 1.15rem;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.strip-lightbox-map:hover,
.strip-lightbox-map:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.strip-lightbox-map i {
    color: var(--primary-hover);
}

.strip-lightbox-map.hidden {
    display: none;
}

/* ---- Attractions moving strip (homepage) ---- */
.attraction-card {
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.attraction-card-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attraction-card-city {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.12rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.66rem;
    font-weight: 700;
}

.attraction-card-city i {
    color: var(--accent-color);
    font-size: 0.6rem;
}

.city-strip-card.attraction-strip-loading {
    display: grid;
    place-items: center;
    min-height: 6.5rem;
}

/* ---- Weather forecast for the coming days (city pages + when-to-travel) ---- */
.wf-state {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.wf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.7rem;
}

.wf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 0.75rem 0.6rem;
    text-align: center;
}

.wf-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.wf-day {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.3;
}

.wf-date {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.wf-icon {
    color: var(--primary-hover);
    font-size: 1.5rem;
    line-height: 1;
}

.wf-temp {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
}

.wf-temp-max {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.wf-temp-min {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.wf-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.1rem;
}

.wf-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.wf-metric i {
    color: var(--primary-hover);
    font-size: 0.68rem;
}

.wf-note {
    margin: 0.85rem 0 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.7;
}

.wf-now {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1rem 1.1rem;
}

.wf-now-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 1.5rem;
}

.wf-now-body {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.wf-now-temp {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.wf-now-label {
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 800;
}

.wf-now-meta,
.wf-now-range {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.6;
}

.wf-select-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.wf-select-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 800;
}

.wf-select {
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0 1rem;
}

.wf-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

/* ---- Homepage compatibility quiz ---- */
.quiz-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quiz-progress-bar {
    position: relative;
    flex: 1 1 auto;
    height: 0.6rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-strong);
}

.quiz-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(to left, var(--primary-color), var(--accent-color));
    transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-progress-label {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.quiz-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.quiz-step[hidden] {
    display: none;
}

.quiz-question {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.45;
}

.quiz-question-num {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 0.95rem;
    font-weight: 800;
}

.quiz-hint {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.25rem;
}

@media (max-width: 560px) {
    .quiz-options {
        grid-template-columns: minmax(0, 1fr);
    }
}

.quiz-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 3.1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    padding-block: 0.7rem;
    padding-inline: 0.95rem 2.3rem;
    text-align: start;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quiz-option > i:first-child {
    color: var(--primary-hover);
    font-size: 1.05rem;
}

.quiz-option > span {
    flex: 1 1 auto;
}

.quiz-option-check {
    position: absolute;
    inset-inline-end: 0.9rem;
    color: transparent;
    font-size: 0.95rem;
}

.quiz-option:hover,
.quiz-option:focus-visible {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.quiz-option.is-selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.quiz-option.is-selected > i:first-child,
.quiz-option.is-selected .quiz-option-check {
    color: var(--white-color);
}

.quiz-result[hidden] {
    display: none;
}

.quiz-result-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .quiz-result-card {
        grid-template-columns: 14rem minmax(0, 1fr);
        align-items: center;
    }
}

.quiz-result-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
}

.quiz-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-result-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
}

.quiz-result-title {
    margin: 0.6rem 0 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
}

.quiz-result-desc {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.8;
}

.quiz-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.quiz-result-tag {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
}

.quiz-result-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.quiz-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.55rem 1.1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.quiz-result-link i {
    color: var(--primary-hover);
}

.quiz-result-link:hover,
.quiz-result-link:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.quiz-result-link.is-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.quiz-result-link.is-primary i {
    color: var(--white-color);
}

.quiz-result-link.is-primary:hover,
.quiz-result-link.is-primary:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white-color);
}

.quiz-restart {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.1rem;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.25rem 0;
    transition: color 180ms ease;
}

.quiz-restart:hover,
.quiz-restart:focus-visible {
    color: var(--primary-hover);
}

/* ---- Header language switcher ---- */
.lang-switch {
    position: relative;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
    list-style: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.lang-switch-btn::-webkit-details-marker {
    display: none;
}

.lang-switch-btn:hover,
.lang-switch-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

.lang-switch[open] > .lang-switch-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.lang-switch-label {
    white-space: nowrap;
}

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    inset-inline-end: 0;
    z-index: 70;
    display: grid;
    min-width: 11.5rem;
    max-height: min(70vh, 24rem);
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
    padding: 0.35rem;
}

.lang-switch-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.6rem;
    border-radius: 0.7rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.45rem 0.7rem;
    transition: background 180ms ease, color 180ms ease;
}

.lang-switch-item:hover,
.lang-switch-item:focus-visible {
    background: var(--surface-color);
    color: var(--primary-hover);
}

.lang-switch-item.is-current {
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-weight: 800;
}

@media (max-width: 480px) {
    .lang-switch-label {
        display: none;
    }

    .lang-switch-btn {
        padding: 0.4rem 0.65rem;
    }
}

/* ---- Travel diaries: personal trip journal ---- */
.diary-gate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.diary-gate-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 1.2rem;
}

.diary-gate-body {
    flex: 1 1 16rem;
    min-width: 0;
}

.diary-gate-title {
    display: block;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.diary-gate-text {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.75;
}

.diary-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.diary-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.diary-card-title i {
    color: var(--primary-hover);
}

.diary-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 800;
}

.diary-input {
    width: 100%;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    background: var(--white-color);
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 0.85rem;
}

.diary-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.diary-textarea {
    min-height: 7rem;
    padding: 0.7rem 0.85rem;
    line-height: 1.75;
    resize: vertical;
}

.diary-file {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.diary-file::file-selector-button {
    margin-inline-end: 0.6rem;
    min-height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
}

.diary-preview {
    margin-top: 0.7rem;
}

.diary-preview-img {
    width: 100%;
    max-width: 14rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.diary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.diary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 1.15rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.diary-btn:hover,
.diary-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

.diary-btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.diary-btn-primary:hover,
.diary-btn-primary:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white-color);
}

.diary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.diary-status {
    margin-top: 0.9rem;
    border-radius: 0.8rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;
    padding: 0.65rem 0.85rem;
}

.diary-status.success {
    background: rgba(21, 128, 61, 0.1);
    color: var(--success-color);
}

.diary-status.error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}

.diary-timeline {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.diary-entry {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.diary-entry-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-strong);
}

.diary-entry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diary-entry-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    padding: 1rem 1.1rem 1.15rem;
}

@media (min-width: 640px) {
    .diary-entry {
        grid-template-columns: 13rem minmax(0, 1fr);
    }

    .diary-entry-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 11rem;
    }
}

.diary-entry-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.diary-entry-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
}

.diary-entry-place {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
}

.diary-entry-place i {
    color: var(--primary-hover);
}

.diary-entry-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.85;
    white-space: pre-line;
}

.diary-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.8rem;
}

.diary-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.8rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.diary-mini-btn:hover,
.diary-mini-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

.diary-mini-btn-danger:hover,
.diary-mini-btn-danger:focus-visible {
    background: var(--error-color);
    border-color: var(--error-color);
    color: var(--white-color);
}

.diary-empty {
    margin: 0;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.8;
    padding: 1.25rem;
    text-align: center;
}

.diary-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.diary-meta-num {
    display: inline-grid;
    place-items: center;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0 0.5rem;
}

.diary-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.diary-share-link {
    flex: 1 1 12rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.6rem 0.8rem;
    direction: ltr;
    text-align: left;
}

.diary-switch {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.diary-switch-text {
    color: var(--secondary-color);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.6;
}

/* ---- Public travel-journal directory ---- */
.journals-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.journals-search {
    display: flex;
    flex: 1 1 14rem;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    padding-inline: 0.9rem;
}

.journals-search i {
    color: var(--primary-hover);
}

.journals-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--secondary-color);
    font-size: 0.92rem;
    font-weight: 600;
    outline: none;
}

.journals-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .journals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .journals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.journal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.journal-card:hover,
.journal-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.45);
    box-shadow: var(--shadow-soft);
}

.journal-card.hidden {
    display: none;
}

.journal-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-strong);
}

.journal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.journal-card:hover .journal-media img {
    transform: scale(1.05);
}

.journal-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.1rem 1.15rem;
}

.journal-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.journal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.journal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.65rem;
}

.journal-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.75;
}

.journal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.8rem;
    color: var(--primary-hover);
    font-size: 0.85rem;
    font-weight: 800;
}

/* ---- Single public journal view ---- */
.journal-view-head {
    display: grid;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.journal-view-media {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
}

.journal-view-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-view-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
}

.journal-view-sub {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.journal-note {
    margin: 1.5rem 0 0;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.8;
    padding: 1.25rem;
    text-align: center;
}

/* ---- Video teaser sections (city pages + region guide pages) ---- */
.video-teaser {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--secondary-color);
    box-shadow: var(--shadow-card);
}

.video-teaser-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-teaser-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12) 60%, rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.video-teaser-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 3.5rem 1.25rem 1.15rem;
    text-align: start;
    pointer-events: none;
}

.video-teaser-caption-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.video-teaser-caption-text {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.7;
}

.video-teaser-play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.video-teaser-play-icon {
    display: grid;
    place-items: center;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
    transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.video-teaser-play-icon i {
    margin-inline-start: 0.25rem;
}

.video-teaser-play:hover .video-teaser-play-icon,
.video-teaser-play:focus-visible .video-teaser-play-icon {
    transform: scale(1.08);
    background: var(--primary-color);
    color: #ffffff;
}

.video-teaser-play-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.45rem 1.05rem;
    backdrop-filter: blur(6px);
}

/* ---- Floating video player window ---- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.88);
}

.video-modal.is-open {
    display: flex;
}

.video-modal-box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(56rem, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--secondary-color);
    box-shadow: var(--shadow-soft);
}

.video-modal-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 180ms ease;
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
    background: var(--primary-color);
}

.video-modal-media {
    width: 100%;
    background: #000000;
}

.video-modal-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 62vh;
    object-fit: contain;
    background: #000000;
}

.video-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-y: auto;
    padding: 1rem 1.25rem 1.15rem;
    background: var(--white-color);
}

.video-modal-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.video-modal-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.8;
}

.video-modal-title:empty,
.video-modal-text:empty {
    display: none;
}

body.video-modal-open {
    overflow: hidden;
}

/* ---- Site-wide compact layout for easier browsing ----
   Applied to every inner page (everything except the magazine-style homepage,
   which is marked by #scrollProgress and keeps its own editorial scale). */
body:not(:has(#scrollProgress)) .section-spacing {
    padding-block: 2.15rem;
}

body:not(:has(#scrollProgress)) .section-heading {
    max-width: 42rem;
}

body:not(:has(#scrollProgress)) .section-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
}

body:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 2rem;
}

body:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.65rem;
}

body:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1.4rem;
}

body:not(:has(#scrollProgress)) .table th,
body:not(:has(#scrollProgress)) .table td {
    padding: 0.7rem 0.85rem;
}

body:not(:has(#scrollProgress)) footer > .site-container {
    padding-block: 2.75rem;
}

body:not(:has(#scrollProgress)) footer .grid {
    gap: 1.75rem;
}

body:not(:has(#scrollProgress)) footer .gap-2 {
    gap: 0.28rem;
    font-size: 0.82rem;
}

@media (max-width: 639px) {
    body:not(:has(#scrollProgress)) .section-spacing {
        padding-block: 1.6rem;
    }
}

/* ---- Diving & water-sports pages: extra-compact layout for comfortable browsing ---- */
body.diving-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 1.75rem;
}

body.diving-page:not(:has(#scrollProgress)) main .section-heading {
    max-width: 42rem;
}

body.diving-page:not(:has(#scrollProgress)) main .text-6xl {
    font-size: 1.9rem;
    line-height: 1.2;
}

body.diving-page:not(:has(#scrollProgress)) main .text-5xl {
    font-size: 1.6rem;
    line-height: 1.25;
}

body.diving-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.4rem;
    line-height: 1.25;
}

body.diving-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body.diving-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.12rem;
    line-height: 1.35;
}

body.diving-page:not(:has(#scrollProgress)) main .text-xl {
    font-size: 1.02rem;
    line-height: 1.4;
}

body.diving-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 0.98rem;
    line-height: 1.65;
}

body.diving-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.95rem;
    line-height: 1.65;
}

body.diving-page:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.75rem;
}

body.diving-page:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.5rem;
}

body.diving-page:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1.25rem;
}

body.diving-page:not(:has(#scrollProgress)) main .mt-5 {
    margin-top: 0.85rem;
}

body.diving-page:not(:has(#scrollProgress)) main .gap-8 {
    gap: 1.25rem;
}

body.diving-page:not(:has(#scrollProgress)) main .gap-6 {
    gap: 1rem;
}

body.diving-page:not(:has(#scrollProgress)) main .gap-4 {
    gap: 0.8rem;
}

body.diving-page:not(:has(#scrollProgress)) main .explorer-card {
    padding: 1rem;
}

body.diving-page:not(:has(#scrollProgress)) main .fact-card {
    padding: 0.8rem 0.9rem;
}

body.diving-page:not(:has(#scrollProgress)) main .fact-icon {
    width: 2.15rem;
    height: 2.15rem;
}

@media (max-width: 639px) {
    body.diving-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 1.35rem;
    }
}

/* ---- Health & safety pages: compact layout with smaller images and text ---- */
body.health-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 2rem;
}

body.health-page:not(:has(#scrollProgress)) main .page-head .page-title {
    font-size: 1.4rem;
}

body.health-page:not(:has(#scrollProgress)) main .page-head .page-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.health-page:not(:has(#scrollProgress)) main .text-5xl,
body.health-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.5rem;
    line-height: 1.25;
}

body.health-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body.health-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.1rem;
    line-height: 1.35;
}

body.health-page:not(:has(#scrollProgress)) main .text-xl,
body.health-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 1rem;
    line-height: 1.65;
}

body.health-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.92rem;
    line-height: 1.65;
}

body.health-page:not(:has(#scrollProgress)) main .section-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.health-page:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.5rem;
}

body.health-page:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.25rem;
}

body.health-page:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1rem;
}

body.health-page:not(:has(#scrollProgress)) main .mt-5 {
    margin-top: 0.75rem;
}

body.health-page:not(:has(#scrollProgress)) main .gap-6 {
    gap: 1rem;
}

body.health-page:not(:has(#scrollProgress)) main .gap-4 {
    gap: 0.75rem;
}

body.health-page:not(:has(#scrollProgress)) main .explorer-card {
    padding: 1rem 1.1rem;
}

body.health-page:not(:has(#scrollProgress)) main .fact-card {
    padding: 0.75rem 0.85rem;
}

body.health-page:not(:has(#scrollProgress)) main .fact-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.9rem;
}

body.health-page:not(:has(#scrollProgress)) main .aspect-video {
    aspect-ratio: 3 / 1;
}

body.health-page:not(:has(#scrollProgress)) main .faq-jump {
    min-height: 2.4rem;
    font-size: 0.82rem;
    padding: 0.35rem 0.8rem;
}

@media (max-width: 639px) {
    body.health-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 1.5rem;
    }

    body.health-page:not(:has(#scrollProgress)) main .aspect-video {
        aspect-ratio: 2 / 1;
    }
}

/* ---- Pre-flight info pages: compact layout with smaller images and text ---- */
body.preflight-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 2rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .text-5xl,
body.preflight-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.5rem;
    line-height: 1.25;
}

body.preflight-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body.preflight-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.1rem;
    line-height: 1.35;
}

body.preflight-page:not(:has(#scrollProgress)) main .text-xl,
body.preflight-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 1rem;
    line-height: 1.65;
}

body.preflight-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.92rem;
    line-height: 1.65;
}

body.preflight-page:not(:has(#scrollProgress)) main .section-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.preflight-page:not(:has(#scrollProgress)) main .py-16 {
    padding-block: 2.75rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.5rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.25rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .gap-6 {
    gap: 1rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .gap-5 {
    gap: 0.85rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .explorer-card {
    padding: 1rem 1.1rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .fact-card {
    padding: 0.75rem 0.85rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .fact-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.9rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .hero-city-chip {
    min-height: 2.4rem;
    font-size: 0.82rem;
    padding: 0.4rem 0.8rem;
}

body.preflight-page:not(:has(#scrollProgress)) main .aspect-video {
    aspect-ratio: 3 / 1;
}

@media (max-width: 639px) {
    body.preflight-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 1.5rem;
    }

    body.preflight-page:not(:has(#scrollProgress)) main .aspect-video {
        aspect-ratio: 2 / 1;
    }
}

/* ---- Food & culinary-tour pages: compact layout for comfortable browsing ---- */
body.culinary-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 1.75rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .section-heading {
    max-width: 42rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-5xl {
    font-size: 1.6rem;
    line-height: 1.25;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.4rem;
    line-height: 1.25;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.12rem;
    line-height: 1.35;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-xl {
    font-size: 1.02rem;
    line-height: 1.4;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 0.98rem;
    line-height: 1.65;
}

body.culinary-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.95rem;
    line-height: 1.65;
}

body.culinary-page:not(:has(#scrollProgress)) main .section-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.culinary-page:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.75rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.5rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1.25rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .mt-7 {
    margin-top: 1.15rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .mt-5 {
    margin-top: 0.85rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .gap-8 {
    gap: 1.25rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .gap-6 {
    gap: 1rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .gap-4 {
    gap: 0.8rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .explorer-card {
    padding: 1rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .fact-card {
    padding: 0.8rem 0.9rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .fact-icon {
    width: 2.15rem;
    height: 2.15rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .aspect-\[16\/10\] {
    aspect-ratio: 2 / 1;
}

body.culinary-page:not(:has(#scrollProgress)) main .pt-12 {
    padding-top: 2rem;
}

body.culinary-page:not(:has(#scrollProgress)) main .pb-14 {
    padding-bottom: 2.25rem;
}

@media (min-width: 640px) {
    body.culinary-page:not(:has(#scrollProgress)) main .sm\:pt-16 {
        padding-top: 2.5rem;
    }
}

@media (max-width: 639px) {
    body.culinary-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 1.35rem;
    }
}

/* ---- Scams page: quick situation checker ---- */
.scam-tool {
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.scam-tool-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scam-tool-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 1.05rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.scam-tool-tab i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.scam-tool-tab:hover,
.scam-tool-tab:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.scam-tool-tab.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
}

.scam-tool-tab.is-active i {
    color: var(--white-color);
}

.scam-tool-panels {
    margin-top: 1.25rem;
}

.scam-tool-panel[hidden] {
    display: none;
}

.scam-tool-panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.scam-tool-panel-title i {
    color: var(--primary-hover);
}

.scam-tool-grid {
    display: grid;
    gap: 0.7rem;
}

@media (min-width: 768px) {
    .scam-tool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.scam-tool-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.85rem 0.95rem;
}

.scam-tool-block.is-action {
    border-color: var(--primary-color);
}

.scam-tool-block-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.scam-tool-block-title i {
    color: var(--primary-hover);
}

.scam-tool-block.is-action .scam-tool-block-title {
    color: var(--primary-hover);
}

.scam-tool-block-text {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.75;
}

/* ---- Food page: menu photo translator ---- */
.food-scanner {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.food-scanner-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .food-scanner-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.food-scanner-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.food-scanner-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    cursor: pointer;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color 180ms ease, background 180ms ease;
}

.food-scanner-upload:hover,
.food-scanner-upload:focus-within {
    border-color: var(--primary-color);
    background: var(--white-color);
}

.food-scanner-upload-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 1.2rem;
}

.food-scanner-upload-title {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

.food-scanner-upload-hint {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.food-scanner-preview {
    margin-top: 0.9rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
}

.food-scanner-preview.hidden {
    display: none;
}

.food-scanner-image {
    width: 100%;
    max-height: 20rem;
    object-fit: contain;
}

.food-scanner-textarea {
    min-height: 3.5rem;
    border-color: var(--border-color);
    background: var(--white-color);
    line-height: 1.7;
}

.food-scanner-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.food-scanner-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    margin-top: 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.6rem 1.25rem;
    box-shadow: 0 12px 28px rgba(217, 72, 15, 0.28);
    transition: background 180ms ease, transform 180ms ease;
}

.food-scanner-submit:hover,
.food-scanner-submit:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.food-scanner-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.food-scanner-status {
    margin-top: 0.9rem;
    border-radius: 0.8rem;
    background: rgba(28, 25, 23, 0.06);
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;
    padding: 0.65rem 0.85rem;
}

.food-scanner-status.hidden {
    display: none;
}

.food-scanner-status.success {
    background: rgba(21, 128, 61, 0.1);
    color: var(--success-color);
}

.food-scanner-status.error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}

.food-scanner-result {
    flex: 1 1 auto;
    min-height: 12rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1rem;
}

.food-scanner-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 100%;
    min-height: 10rem;
    text-align: center;
}

.food-scanner-empty.hidden {
    display: none;
}

.food-scanner-empty-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 1.2rem;
}

.food-scanner-empty-text {
    max-width: 22rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
}

.food-scanner-answer {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.food-scanner-answer-text {
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: var(--white-color);
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.85;
    padding: 0.85rem 1rem;
    white-space: pre-line;
}

.food-scanner-answer-question {
    margin: 0;
    color: var(--primary-hover);
    font-size: 0.9rem;
    font-weight: 800;
}

.food-scanner-follow {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.food-scanner-follow.hidden {
    display: none;
}

.food-scanner-follow-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.92rem;
    padding: 0 1rem;
}

.food-scanner-follow-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
    outline: none;
}

.food-scanner-follow-send {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    transition: background 180ms ease;
}

.food-scanner-follow-send:hover,
.food-scanner-follow-send:focus-visible {
    background: var(--primary-hover);
}

/* ---- Domestic-flights page: compact layout with smaller images and text ---- */
body.flights-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 1.75rem;
}

body.flights-page:not(:has(#scrollProgress)) main .section-heading {
    max-width: 42rem;
}

body.flights-page:not(:has(#scrollProgress)) main .section-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.flights-page:not(:has(#scrollProgress)) main .page-head .page-title {
    font-size: 1.4rem;
}

body.flights-page:not(:has(#scrollProgress)) main .page-head .page-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.flights-page:not(:has(#scrollProgress)) main .text-5xl {
    font-size: 1.6rem;
    line-height: 1.25;
}

body.flights-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.4rem;
    line-height: 1.25;
}

body.flights-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body.flights-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.12rem;
    line-height: 1.35;
}

body.flights-page:not(:has(#scrollProgress)) main .text-xl {
    font-size: 1.02rem;
    line-height: 1.4;
}

body.flights-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 0.98rem;
    line-height: 1.65;
}

body.flights-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.95rem;
    line-height: 1.65;
}

body.flights-page:not(:has(#scrollProgress)) main .explorer-card {
    padding: 1rem;
}

body.flights-page:not(:has(#scrollProgress)) main .fact-card {
    padding: 0.8rem 0.9rem;
}

body.flights-page:not(:has(#scrollProgress)) main .fact-icon {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.9rem;
}

/* Smaller image frames */
body.flights-page:not(:has(#scrollProgress)) main .about-media {
    max-width: 24rem;
    margin-inline: auto;
}

body.flights-page:not(:has(#scrollProgress)) main .about-media img {
    aspect-ratio: 3 / 2;
}

body.flights-page:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.75rem;
}

body.flights-page:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.5rem;
}

body.flights-page:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1.25rem;
}

body.flights-page:not(:has(#scrollProgress)) main .mt-6 {
    margin-top: 1rem;
}

body.flights-page:not(:has(#scrollProgress)) main .mt-5 {
    margin-top: 0.85rem;
}

body.flights-page:not(:has(#scrollProgress)) main .gap-8 {
    gap: 1.25rem;
}

body.flights-page:not(:has(#scrollProgress)) main .gap-6 {
    gap: 1rem;
}

body.flights-page:not(:has(#scrollProgress)) main .gap-4 {
    gap: 0.8rem;
}

@media (max-width: 639px) {
    body.flights-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 1.35rem;
    }

    body.flights-page:not(:has(#scrollProgress)) main .about-media {
        max-width: 100%;
    }
}

/* ---- Floating "trip by budget" button (homepage, sits above the travel assistant) ---- */
.budget-float {
    position: fixed;
    left: 1rem;
    bottom: 4.5rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    background: var(--success-color);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.65rem 1.15rem;
    box-shadow: 0 14px 30px rgba(21, 128, 61, 0.35);
    transition: background 180ms ease, transform 180ms ease;
}

.budget-float:hover,
.budget-float:focus-visible {
    background: #116632;
    transform: translateY(-2px);
}

.budget-float i {
    font-size: 1.05rem;
}

@media (max-width: 480px) {
    .budget-float span {
        display: none;
    }

    .budget-float {
        padding: 0.65rem;
    }
}

/* ---- Tighter spacing across every inner page (the homepage keeps its editorial scale) ---- */
body:not(:has(#scrollProgress)) .section-spacing {
    padding-block: 1.35rem !important;
}

body:not(:has(#scrollProgress)) .section-heading p {
    margin-top: 0.6rem;
}

body:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.25rem !important;
}

body:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.1rem !important;
}

body:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 0.95rem !important;
}

body:not(:has(#scrollProgress)) main .mt-7 {
    margin-top: 0.85rem !important;
}

body:not(:has(#scrollProgress)) main .mt-6 {
    margin-top: 0.75rem !important;
}

body:not(:has(#scrollProgress)) main .mt-5 {
    margin-top: 0.6rem !important;
}

body:not(:has(#scrollProgress)) main .mb-12 {
    margin-bottom: 1.25rem !important;
}

body:not(:has(#scrollProgress)) main .mb-8 {
    margin-bottom: 0.95rem !important;
}

body:not(:has(#scrollProgress)) main .gap-8 {
    gap: 1rem !important;
}

body:not(:has(#scrollProgress)) main .gap-6 {
    gap: 0.85rem !important;
}

body:not(:has(#scrollProgress)) main .gap-5 {
    gap: 0.75rem !important;
}

body:not(:has(#scrollProgress)) main .gap-4 {
    gap: 0.65rem !important;
}

body:not(:has(#scrollProgress)) main .gap-x-5,
body:not(:has(#scrollProgress)) main .gap-x-6,
body:not(:has(#scrollProgress)) main .gap-x-8 {
    column-gap: 0.9rem !important;
}

body:not(:has(#scrollProgress)) main .gap-y-8,
body:not(:has(#scrollProgress)) main .gap-y-10 {
    row-gap: 1rem !important;
}

body:not(:has(#scrollProgress)) main .py-14,
body:not(:has(#scrollProgress)) main .py-16 {
    padding-block: 1.75rem !important;
}

body:not(:has(#scrollProgress)) .table th,
body:not(:has(#scrollProgress)) .table td {
    padding: 0.55rem 0.7rem !important;
}

body:not(:has(#scrollProgress)) footer > .site-container {
    padding-block: 2.25rem !important;
}

body:not(:has(#scrollProgress)) footer .grid {
    gap: 1.5rem !important;
}

@media (max-width: 639px) {
    body:not(:has(#scrollProgress)) .section-spacing {
        padding-block: 1rem !important;
    }
}

/* ---- Gallery page: smaller opening heading and a tighter intro line ---- */
body:has(.gallery-grid) .section-spacing {
    padding-block: 0.7rem !important;
}

body:has(.gallery-grid) main h1 {
    margin-block: 0.15rem 0 !important;
    font-size: 1.28rem !important;
    line-height: 1.2 !important;
}

body:has(.gallery-grid) .page-head .page-subtitle,
body:has(.gallery-grid) .page-head > p,
body:has(.gallery-grid) .section-heading p {
    margin-block: 0.28rem 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
}

/* ---- Inner pages: smaller page headings and slightly shorter image frames ---- */
body:not(:has(#scrollProgress)) .page-head .page-title {
    margin-top: 0.55rem;
    font-size: 1.3rem;
    line-height: 1.25;
}

body:not(:has(#scrollProgress)) .page-head .page-subtitle {
    margin-top: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    body:not(:has(#scrollProgress)) .page-head .page-title {
        font-size: 1.55rem;
    }

    body:not(:has(#scrollProgress)) .page-head .page-subtitle {
        font-size: 0.95rem;
    }
}

body:not(:has(#scrollProgress)) .text-5xl {
    font-size: 1.7rem;
    line-height: 1.2;
}

body:not(:has(#scrollProgress)) .text-4xl {
    font-size: 1.45rem;
    line-height: 1.25;
}

body:not(:has(#scrollProgress)) .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body:not(:has(#scrollProgress)) .text-2xl {
    font-size: 1.12rem;
    line-height: 1.35;
}

body:not(:has(#scrollProgress)) .aspect-video {
    aspect-ratio: 2 / 1;
}

body:not(:has(#scrollProgress)) .aspect-\[4\/3\] {
    aspect-ratio: 3 / 2;
}

body:not(:has(#scrollProgress)) .aspect-\[16\/9\] {
    aspect-ratio: 2 / 1;
}

body:not(:has(#scrollProgress)) .aspect-\[16\/10\] {
    aspect-ratio: 16 / 9;
}

body:not(:has(#scrollProgress)) .aspect-\[4\/5\] {
    aspect-ratio: 1 / 1;
}

/* ---- Visa checker: highlighted result card ---- */
.visa-summary-bar {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--a11y-accent) 8%, #ffffff);
    padding: 0.85rem 1rem;
}

.visa-summary-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--a11y-accent);
    color: #ffffff;
    font-size: 0.95rem;
}

.visa-summary-text {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.7;
}

.visa-result-head {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.visa-result-head-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.visa-result-head-label i {
    color: var(--primary-hover);
}

.visa-result-country {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.visa-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 0.9rem 1rem;
}

.visa-highlight-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.85rem;
}

.visa-highlight-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.visa-highlight-value {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
}

.visa-highlight .badge {
    align-self: flex-start;
}

.visa-notes {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.9rem 1rem;
}

.visa-notes-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

.visa-notes-list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.visa-notes-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.75;
}

.visa-notes-item::before {
    content: "\2022";
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-weight: 800;
}

/* ---- Waterfalls, hot springs & natural pools page: compact layout with smaller images and text ---- */
body.waterfalls-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 1.75rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .section-heading {
    max-width: 42rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .page-head .page-title {
    font-size: 1.4rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .page-head .page-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-5xl,
body.waterfalls-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.5rem;
    line-height: 1.25;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.25rem;
    line-height: 1.3;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.12rem;
    line-height: 1.35;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-xl {
    font-size: 1.02rem;
    line-height: 1.4;
}

body.waterfalls-page:not(:has(#scrollProgress)) main h4.text-lg,
body.waterfalls-page:not(:has(#scrollProgress)) main h3.text-lg {
    font-size: 1rem;
    line-height: 1.4;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 0.98rem;
    line-height: 1.65;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.92rem;
    line-height: 1.65;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .text-sm {
    font-size: 0.85rem;
    line-height: 1.6;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .section-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .mt-12 {
    margin-top: 1.5rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .mt-10 {
    margin-top: 1.25rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .mt-8 {
    margin-top: 1rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .mt-6 {
    margin-top: 0.85rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .mt-5 {
    margin-top: 0.75rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .mt-4 {
    margin-top: 0.6rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .gap-6 {
    gap: 1rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .gap-4 {
    gap: 0.75rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .gap-3 {
    gap: 0.6rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .explorer-card {
    padding: 1rem 1.1rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .fact-card {
    padding: 0.75rem 0.85rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .fact-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.9rem;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .fact-value {
    font-size: 0.9rem;
    line-height: 1.6;
}

body.waterfalls-page:not(:has(#scrollProgress)) main .aspect-video {
    aspect-ratio: 2 / 1;
}

@media (max-width: 639px) {
    body.waterfalls-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 1.35rem;
    }

    body.waterfalls-page:not(:has(#scrollProgress)) main .aspect-video {
        aspect-ratio: 16 / 9;
    }
}

/* ---- Museums, galleries & art page ---- */
.region-band {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 2px solid var(--border-color);
    padding-top: 1.1rem;
}

.region-band-icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.15rem;
    box-shadow: 0 12px 26px rgba(217, 72, 15, 0.28);
}

.region-band-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3;
}

.region-band-sub {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.6;
}

.museum-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .museum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .museum-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

.museum-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.museum-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.4);
    box-shadow: var(--shadow-soft);
}

.museum-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.museum-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.museum-card:hover .museum-media img {
    transform: scale(1.05);
}

.museum-type {
    position: absolute;
    top: 0.7rem;
    inset-inline-start: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white-color);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.35rem 0.6rem;
    backdrop-filter: blur(6px);
}

.museum-type i {
    color: var(--accent-color);
}

.museum-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.9rem 1rem 1rem;
}

.museum-name {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.museum-city {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
}

.museum-city i {
    font-size: 0.72rem;
}

.museum-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.65;
}

.museum-meta {
    display: grid;
    gap: 0.3rem;
    margin: 0.1rem 0 0;
    padding: 0;
    list-style: none;
}

.museum-meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.55;
}

.museum-meta li i {
    margin-top: 0.2rem;
    color: var(--primary-hover);
    font-size: 0.72rem;
}

.museum-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0.1rem 0 0;
    border: 1px dashed var(--border-color);
    border-radius: 0.7rem;
    background: var(--surface-color);
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.6;
    padding: 0.5rem 0.6rem;
}

.museum-tip i {
    margin-top: 0.22rem;
    color: var(--accent-color);
    font-size: 0.78rem;
}

.museum-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.75rem;
}

.museum-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.4rem 0.75rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.museum-btn i {
    color: var(--primary-hover);
}

.museum-btn:hover,
.museum-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.museum-btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.museum-btn-primary i {
    color: var(--white-color);
}

.museum-btn-primary:hover,
.museum-btn-primary:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white-color);
}

/* ---- Birdwatching & wildlife page: extra-compact layout, smaller text and images ---- */
body.wildlife-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 1.1rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .section-heading {
    max-width: 42rem;
}

body.wildlife-page:not(:has(#scrollProgress)) main .section-heading p,
body.wildlife-page:not(:has(#scrollProgress)) main .page-subtitle,
body.wildlife-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-6xl {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-5xl {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.28rem !important;
    line-height: 1.28 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.14rem !important;
    line-height: 1.3 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 1.04rem !important;
    line-height: 1.35 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main h3.text-lg,
body.wildlife-page:not(:has(#scrollProgress)) main h2.text-lg,
body.wildlife-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-sm {
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-xs {
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
}

/* Shorter image frames so far more fits on screen */
body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/10\] {
    aspect-ratio: 2.4 / 1 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .aspect-video,
body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/9\] {
    aspect-ratio: 2.4 / 1 !important;
}

/* Denser cards and tighter rhythm */
body.wildlife-page:not(:has(#scrollProgress)) main .p-5 {
    padding: 0.8rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .p-4 {
    padding: 0.7rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .mt-8,
body.wildlife-page:not(:has(#scrollProgress)) main .mt-6,
body.wildlife-page:not(:has(#scrollProgress)) main .mt-5,
body.wildlife-page:not(:has(#scrollProgress)) main .mt-4 {
    margin-top: 0.7rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .gap-4,
body.wildlife-page:not(:has(#scrollProgress)) main .gap-3,
body.wildlife-page:not(:has(#scrollProgress)) main .gap-2 {
    gap: 0.55rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .py-14,
body.wildlife-page:not(:has(#scrollProgress)) main .py-10 {
    padding-block: 1.4rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .hero-city-chip {
    min-height: 2.4rem !important;
    font-size: 0.82rem !important;
    padding: 0.4rem 0.8rem !important;
}

@media (max-width: 639px) {
    body.wildlife-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 0.9rem !important;
    }

    body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/10\],
    body.wildlife-page:not(:has(#scrollProgress)) main .aspect-video,
    body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/9\] {
        aspect-ratio: 2 / 1 !important;
    }
}

/* ---- Museums, galleries & art page: extra-compact layout, smaller text and images ---- */
body.museums-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 1.05rem !important;
}

body.museums-page:not(:has(#scrollProgress)) main .page-head .page-title {
    margin-top: 0.4rem;
    font-size: 1.2rem;
    line-height: 1.25;
}

body.museums-page:not(:has(#scrollProgress)) main .page-head .page-subtitle {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    line-height: 1.55;
}

body.museums-page main .region-band {
    gap: 0.65rem;
    padding-top: 0.7rem;
}

body.museums-page main .region-band-icon {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 0.95rem;
}

body.museums-page main .region-band-title {
    font-size: 1.08rem;
}

body.museums-page main .region-band-sub {
    margin-top: 0.12rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

body.museums-page main .museum-grid {
    gap: 0.7rem;
    margin-top: 0.7rem;
}

@media (min-width: 1024px) {
    body.museums-page main .museum-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

body.museums-page main .museum-media {
    aspect-ratio: 2 / 1;
}

body.museums-page main .museum-type {
    top: 0.5rem;
    inset-inline-start: 0.5rem;
    font-size: 0.6rem;
    padding: 0.28rem 0.5rem;
}

body.museums-page main .museum-body {
    gap: 0.3rem;
    padding: 0.65rem 0.75rem 0.75rem;
}

body.museums-page main .museum-name {
    font-size: 0.9rem;
    line-height: 1.35;
}

body.museums-page main .museum-city {
    font-size: 0.7rem;
}

body.museums-page main .museum-text {
    font-size: 0.75rem;
    line-height: 1.55;
}

body.museums-page main .museum-meta li {
    font-size: 0.72rem;
    line-height: 1.5;
}

body.museums-page main .museum-tip {
    font-size: 0.72rem;
    line-height: 1.5;
    padding: 0.4rem 0.5rem;
}

body.museums-page main .museum-actions {
    gap: 0.3rem;
    padding-top: 0.6rem;
}

body.museums-page main .museum-btn {
    min-height: 2.1rem;
    font-size: 0.68rem;
    padding: 0.3rem 0.6rem;
}

body.museums-page main h2,
body.museums-page main h3 {
    font-size: 1.05rem;
}

body.museums-page main .explorer-card,
body.museums-page main .fact-card {
    padding: 0.7rem 0.8rem;
}

body.museums-page main .fact-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.9rem;
}

@media (max-width: 639px) {
    body.museums-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 0.85rem !important;
    }
}

/* ============================================================
   Unified visual system — consistent rhythm, heading scale,
   shared CTA buttons, readability and accessible focus
   ============================================================ */

/* --- 1. Consistent vertical rhythm for inner pages ---- */
body:not(:has(#scrollProgress)):not(:has(.gallery-grid)) .section-spacing {
    padding-block: clamp(1.75rem, 4.5vw, 3.25rem) !important;
}

/* --- 2. Balanced headings and a comfortable reading measure ---- */
.section-heading h2,
.section-heading h1,
.page-head .page-title,
h1,
h2,
h3 {
    text-wrap: balance;
}

.section-heading p {
    max-width: 62ch;
}

p,
li {
    text-wrap: pretty;
}

/* --- 3. Unified CTA button pair (primary + secondary) ---- */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

/* Compact CTA row — shorter buttons and tighter gap */
.cta-row-sm {
    gap: 0.5rem;
}

.cta-row-sm .cta-primary,
.cta-row-sm .cta-secondary,
.cta-row-sm .cta-blue {
    min-height: 2.4rem;
    padding: 0.4rem 1.05rem;
    font-size: 0.85rem;
    gap: 0.4rem;
    box-shadow: none;
}

.cta-row-sm .cta-primary i,
.cta-row-sm .cta-secondary i,
.cta-row-sm .cta-blue i {
    font-size: 0.82rem;
}

@media (min-width: 640px) {
    .cta-row-sm .cta-primary,
    .cta-row-sm .cta-secondary,
    .cta-row-sm .cta-blue {
        min-height: 2.6rem;
        padding: 0.45rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Extra-compact CTA pair — homepage "sitemap" + "all destinations" buttons */
.cta-row-xs {
    gap: 0.3rem;
}

.cta-row-xs .cta-primary,
.cta-row-xs .cta-secondary,
.cta-row-xs .cta-blue {
    min-height: 1.6rem;
    padding: 0.18rem 0.55rem;
    font-size: 0.64rem;
    gap: 0.25rem;
    border-width: 1px;
    box-shadow: none;
}

.cta-row-xs .cta-primary i,
.cta-row-xs .cta-secondary i,
.cta-row-xs .cta-blue i {
    font-size: 0.58rem;
}

@media (min-width: 640px) {
    .cta-row-xs .cta-primary,
    .cta-row-xs .cta-secondary,
    .cta-row-xs .cta-blue {
        min-height: 1.72rem;
        padding: 0.2rem 0.65rem;
        font-size: 0.68rem;
    }
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.7rem 1.7rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cta-primary {
    border: 1.5px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 14px 30px rgba(201, 111, 74, 0.3);
}

.cta-primary:hover,
.cta-primary:focus-visible {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(201, 111, 74, 0.36);
}

.cta-secondary {
    border: 1.5px solid var(--border-color);
    background: var(--white-color);
    color: var(--secondary-color);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
    border-color: var(--primary-color);
    background: var(--surface-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.cta-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.7rem 1.7rem;
    border: 1.5px solid var(--info-color);
    border-radius: 999px;
    background: var(--info-color);
    color: var(--white-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.3);
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cta-blue:hover,
.cta-blue:focus-visible {
    border-color: var(--info-hover);
    background: var(--info-hover);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(29, 78, 216, 0.36);
}

/* Keep every button inside a CTA row at exactly the same size */
.cta-row-equal > * {
    flex: 1 1 0;
    min-width: 0;
}

/* --- 4. Strong, consistent focus ring for keyboard users ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--focus-ring, rgba(201, 111, 74, 0.55));
    outline-offset: 2px;
}

/* --- 5. Mobile menu: prominent, thumb-friendly search and rows ---- */
@media (max-width: 1279px) {
    .mobile-menu-panel .search-field {
        min-height: 3.5rem;
        border: 2px solid var(--primary-color);
        background: var(--white-color);
    }

    .mobile-menu-panel .search-field input {
        font-size: 1rem;
        font-weight: 600;
    }

    .mobile-menu-panel .nav-link {
        display: flex;
        align-items: center;
        min-height: 3rem;
    }
}

/* ============================================================
   6. Compact browse mode — once the visitor scrolls into the
   content, the layout tightens up: smaller headings, shorter
   image frames and denser cards, so far more fits on screen and
   long pages need much less scrolling. Activated automatically by
   js/app.js through the html.is-compact class. The opening hero
   keeps its full editorial scale, and returning to the top
   restores the regular sizes. Covers the magazine home page and
   every inner page.
   ============================================================ */

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .section-spacing,
html.is-compact.is-compact body:has(#scrollProgress) main .section-spacing {
    padding-block: clamp(1rem, 2.2vw, 1.5rem) !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-6xl,
html.is-compact.is-compact body:has(#scrollProgress) main .text-6xl {
    font-size: 1.7rem !important;
    line-height: 1.15 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-5xl,
html.is-compact.is-compact body:has(#scrollProgress) main .text-5xl {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-4xl,
html.is-compact.is-compact body:has(#scrollProgress) main .text-4xl {
    font-size: 1.32rem !important;
    line-height: 1.24 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-3xl,
html.is-compact.is-compact body:has(#scrollProgress) main .text-3xl {
    font-size: 1.16rem !important;
    line-height: 1.3 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-2xl,
html.is-compact.is-compact body:has(#scrollProgress) main .text-2xl {
    font-size: 1.06rem !important;
    line-height: 1.34 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-xl,
html.is-compact.is-compact body:has(#scrollProgress) main .text-xl {
    font-size: 1rem !important;
    line-height: 1.45 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-lg,
html.is-compact.is-compact body:has(#scrollProgress) main .text-lg {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-base,
html.is-compact.is-compact body:has(#scrollProgress) main .text-base {
    font-size: 0.92rem !important;
    line-height: 1.72 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .text-sm,
html.is-compact.is-compact body:has(#scrollProgress) main .text-sm {
    font-size: 0.84rem !important;
    line-height: 1.66 !important;
}

/* Shorter image frames — the biggest saving while scrolling */
html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.aspect-video, .aspect-\[16\/9\], .aspect-\[16\/10\]),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.aspect-video, .aspect-\[16\/9\], .aspect-\[16\/10\]) {
    aspect-ratio: 2.25 / 1 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .aspect-\[4\/3\],
html.is-compact.is-compact body:has(#scrollProgress) main .aspect-\[4\/3\] {
    aspect-ratio: 1.9 / 1 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .aspect-\[2\/1\],
html.is-compact.is-compact body:has(#scrollProgress) main .aspect-\[2\/1\] {
    aspect-ratio: 2.3 / 1 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .aspect-\[4\/5\],
html.is-compact.is-compact body:has(#scrollProgress) main .aspect-\[4\/5\] {
    aspect-ratio: 1.05 / 1 !important;
}

/* Tighter rhythm between blocks */
html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.mt-12, .mt-10, .mt-8, .mt-7, .mt-6, .mt-5),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.mt-12, .mt-10, .mt-8, .mt-7, .mt-6, .mt-5) {
    margin-top: 0.9rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.mb-12, .mb-10, .mb-8, .mb-6),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.mb-12, .mb-10, .mb-8, .mb-6) {
    margin-bottom: 1rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.py-16, .py-14, .py-12),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.py-16, .py-14, .py-12) {
    padding-block: 1.4rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.gap-8, .gap-7, .gap-6, .gap-5, .gap-4),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.gap-8, .gap-7, .gap-6, .gap-5, .gap-4) {
    gap: 0.7rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.gap-x-5, .gap-x-6, .gap-x-8),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.gap-x-5, .gap-x-6, .gap-x-8) {
    column-gap: 0.85rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.gap-y-8, .gap-y-10),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.gap-y-8, .gap-y-10) {
    row-gap: 0.9rem !important;
}

/* Denser cards */
html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.explorer-card, .quiz-card, .planner-card, .trip-summary-output, .diary-card, .news-card-body, .tile-body, .museum-body, .attr-body, .elephant-body, .guide-card, .journal-body, .card),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.explorer-card, .quiz-card, .planner-card, .trip-summary-output, .diary-card, .news-card-body, .tile-body, .museum-body, .attr-body, .elephant-body, .guide-card, .journal-body, .card) {
    padding: 0.85rem 0.95rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.stat-card, .fact-card, .proof-stat, .fact-culture, .visa-highlight, .visa-notes),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.stat-card, .fact-card, .proof-stat, .fact-culture, .visa-highlight, .visa-notes) {
    padding: 0.8rem 0.9rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .fact-icon,
html.is-compact.is-compact body:has(#scrollProgress) main .fact-icon {
    width: 2.15rem !important;
    height: 2.15rem !important;
}

/* Smaller buttons (still a comfortable 44px touch target) */
html.is-compact.is-compact body:not(:has(#scrollProgress)) main :is(.cta-primary, .cta-secondary, .cta-blue),
html.is-compact.is-compact body:has(#scrollProgress) main :is(.cta-primary, .cta-secondary, .cta-blue) {
    min-height: 2.75rem !important;
    padding: 0.55rem 1.35rem !important;
    font-size: 0.92rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .min-h-12,
html.is-compact.is-compact body:has(#scrollProgress) main .min-h-12 {
    min-height: 2.75rem !important;
}

/* Compatibility quiz */
html.is-compact.is-compact body:not(:has(#scrollProgress)) main .quiz-question,
html.is-compact.is-compact body:has(#scrollProgress) main .quiz-question {
    font-size: 1.12rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .quiz-option,
html.is-compact.is-compact body:has(#scrollProgress) main .quiz-option {
    min-height: 2.75rem !important;
    padding-block: 0.55rem !important;
    font-size: 0.92rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .quiz-result-title,
html.is-compact.is-compact body:has(#scrollProgress) main .quiz-result-title {
    font-size: 1.4rem !important;
}

/* Moving photo strips and gallery tiles */
html.is-compact.is-compact body:not(:has(#scrollProgress)) main .property-strip-card,
html.is-compact.is-compact body:has(#scrollProgress) main .property-strip-card {
    width: 7.75rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .property-strip-card img,
html.is-compact.is-compact body:has(#scrollProgress) main .property-strip-card img {
    height: 8.25rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .city-strip-card,
html.is-compact.is-compact body:has(#scrollProgress) main .city-strip-card {
    width: 8rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .city-strip-card img,
html.is-compact.is-compact body:has(#scrollProgress) main .city-strip-card img {
    height: 8rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .gallery-card img,
html.is-compact.is-compact body:has(#scrollProgress) main .gallery-card img {
    aspect-ratio: 1.9 / 1 !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .tile-card .tile-media,
html.is-compact.is-compact body:has(#scrollProgress) main .tile-card .tile-media {
    aspect-ratio: 1.9 / 1 !important;
}

/* ---- Sailing page: live wind, wave height and water temperature per cruising area ---- */
.sail-cond-section {
    padding-block: clamp(1.75rem, 4vw, 3rem);
    background: var(--background-color);
}

.sail-cond-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.sail-cond-head-body {
    min-width: 0;
}

.sail-cond-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.7rem 0 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
}

.sail-cond-title i {
    color: var(--primary-hover);
    font-size: 1.05rem;
}

.sail-cond-sub {
    max-width: 62ch;
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.75;
}

.sail-cond-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.sail-cond-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.sail-cond-updated i {
    color: var(--primary-hover);
}

.sail-cond-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.4rem 1.05rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sail-cond-refresh i {
    color: var(--primary-hover);
}

.sail-cond-refresh:hover,
.sail-cond-refresh:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.sail-cond-state {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.sail-cond-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .sail-cond-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .sail-cond-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sail-cond-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    height: 100%;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1rem 1.05rem 1.1rem;
    transition: transform 260ms ease, box-shadow 180ms ease;
}

.sail-cond-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.sail-cond-excellent {
    border-top-color: var(--success-color);
}

.sail-cond-good {
    border-top-color: var(--primary-color);
}

.sail-cond-caution {
    border-top-color: var(--accent-color);
}

.sail-cond-avoid {
    border-top-color: var(--error-color);
}

.sail-cond-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
}

.sail-cond-card-title {
    min-width: 0;
}

.sail-cond-name {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
}

.sail-cond-area {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
}

.sail-cond-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--white-color);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.62rem;
    white-space: nowrap;
}

.sail-cond-badge-excellent {
    background: var(--success-color);
}

.sail-cond-badge-good {
    background: var(--primary-color);
}

.sail-cond-badge-caution {
    background: #B45309;
}

.sail-cond-badge-avoid {
    background: var(--error-color);
}

.sail-cond-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sail-cond-metric {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    padding: 0.45rem 0.55rem;
}

.sail-cond-metric-icon {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.8rem;
}

.sail-cond-metric-body {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
}

.sail-cond-metric-label {
    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 800;
    white-space: nowrap;
}

.sail-cond-metric-value {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
}

.sail-cond-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.sail-cond-flag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.26rem 0.58rem;
}

.sail-cond-advice {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: auto 0 0;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.7rem;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.7;
}

.sail-cond-advice i {
    margin-top: 0.26rem;
    flex: 0 0 auto;
    color: var(--primary-hover);
}

.sail-cond-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.7;
    padding: 0.7rem 0.85rem;
}

.sail-cond-note i {
    margin-top: 0.25rem;
    flex: 0 0 auto;
    color: var(--primary-hover);
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .sail-cond-section,
html.is-compact.is-compact body:has(#scrollProgress) main .sail-cond-section {
    padding-block: 1.25rem !important;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .sail-cond-card,
html.is-compact.is-compact body:has(#scrollProgress) main .sail-cond-card {
    padding: 0.8rem 0.9rem 0.9rem !important;
}

@media (max-width: 639px) {
    .sail-cond-metric {
        padding: 0.4rem 0.5rem;
    }

    .sail-cond-badge {
        font-size: 0.64rem;
        padding: 0.34rem 0.55rem;
    }
}

/* ---- Live cameras page (webcams.html) ---- */
.webcam-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.webcam-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.webcam-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.45rem 1rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.webcam-filter i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.webcam-filter:hover,
.webcam-filter:focus-visible {
    border-color: rgba(217, 72, 15, 0.5);
    color: var(--primary-hover);
}

.webcam-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(201, 111, 74, 0.28);
}

.webcam-filter.is-active i {
    color: var(--white-color);
}

.webcam-toolbar-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.webcam-live-note {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.webcam-refresh-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.4rem 1.05rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.webcam-refresh-all i {
    color: var(--primary-hover);
}

.webcam-refresh-all:hover,
.webcam-refresh-all:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.webcam-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .webcam-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .webcam-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

.webcam-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.webcam-card[hidden] {
    display: none;
}

.webcam-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 72, 15, 0.4);
    box-shadow: var(--shadow-soft);
}

.webcam-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color);
}

.webcam-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 420ms ease, transform 600ms ease;
}

.webcam-img.is-refreshing {
    opacity: 0.45;
}

.webcam-card:hover .webcam-img {
    transform: scale(1.04);
}

.webcam-live {
    position: absolute;
    top: 0.7rem;
    inset-inline-start: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.92);
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 0.34rem 0.6rem;
    backdrop-filter: blur(6px);
}

.webcam-live-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #ffffff;
    animation: webcamPulse 1600ms ease-in-out infinite;
}

@keyframes webcamPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.webcam-stamp {
    position: absolute;
    bottom: 0.7rem;
    inset-inline-start: 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.3rem 0.55rem;
    backdrop-filter: blur(6px);
}

.webcam-zoom {
    position: absolute;
    top: 0.7rem;
    inset-inline-end: 0.7rem;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    backdrop-filter: blur(6px);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.webcam-zoom:hover,
.webcam-zoom:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.06);
}

.webcam-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.95rem 1.05rem 1.05rem;
}

.webcam-name {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.webcam-loc {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.webcam-loc i {
    color: var(--primary-hover);
}

.webcam-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.webcam-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.26rem 0.6rem;
}

.webcam-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.8rem;
}

.webcam-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.webcam-btn i {
    color: var(--primary-hover);
}

.webcam-btn:hover,
.webcam-btn:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.webcam-btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.webcam-btn-primary i {
    color: var(--white-color);
}

.webcam-btn-primary:hover,
.webcam-btn-primary:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white-color);
}

.webcam-empty {
    margin-top: 1.25rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1.1rem;
    text-align: center;
}

.webcam-empty.hidden {
    display: none;
}

.webcam-lightbox {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.88);
}

.webcam-lightbox.is-open {
    display: flex;
}

.webcam-lightbox-box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(58rem, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);
}

.webcam-lightbox-media {
    position: relative;
    width: 100%;
    background: #000000;
}

.webcam-lightbox-img {
    display: block;
    width: 100%;
    max-height: 64vh;
    object-fit: contain;
    background: #000000;
}

.webcam-lightbox-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 180ms ease;
}

.webcam-lightbox-close:hover,
.webcam-lightbox-close:focus-visible {
    background: var(--primary-color);
}

.webcam-lightbox-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem 1.05rem;
}

.webcam-lightbox-title {
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
}

.webcam-lightbox-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.webcam-lightbox-badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.92);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
}

body.webcam-lightbox-open {
    overflow: hidden;
}

html.is-compact.is-compact body:not(:has(#scrollProgress)) main .webcam-card,
html.is-compact.is-compact body:has(#scrollProgress) main .webcam-card {
    border-radius: var(--radius-md) !important;
}

/* ---- Vietnam interactive map page ---- */
.vn-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.vn-map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vn-map-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.38rem 0.85rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vn-map-filter i {
    color: var(--primary-hover);
    transition: color 180ms ease;
}

.vn-map-filter:hover,
.vn-map-filter:focus-visible {
    border-color: rgba(201, 111, 74, 0.5);
    color: var(--primary-hover);
}

.vn-map-filter.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(201, 111, 74, 0.28);
}

.vn-map-filter.is-active i {
    color: var(--white-color);
}

.vn-map-count {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.vn-map-count strong {
    color: var(--primary-hover);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.vn-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .vn-map-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: start;
    }
}

.vn-map-board {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 78% 42%, color-mix(in srgb, var(--sea-color) 88%, #ffffff), transparent 62%),
        linear-gradient(180deg, var(--surface-color), var(--white-color) 55%, var(--surface-color));
    box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
    .vn-map-board {
        aspect-ratio: 5 / 6;
    }
}

.vn-map-land {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.vn-map-land svg {
    display: block;
    width: 100%;
    height: 100%;
}

.vn-map-band {
    position: absolute;
    inset-inline: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
}

.vn-map-band-north {
    top: 5%;
    height: 29%;
    background: rgba(29, 78, 216, 0.05);
}

.vn-map-band-center {
    top: 35%;
    height: 40%;
    background: rgba(201, 111, 74, 0.05);
}

.vn-map-band-south {
    top: 76%;
    height: 19%;
    background: rgba(21, 128, 61, 0.06);
}

.vn-map-pins {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.vn-pin {
    position: absolute;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 2px solid var(--white-color);
    border-radius: 999px;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 6px 16px rgba(28, 25, 23, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease;
    z-index: 1;
}

.vn-pin:hover,
.vn-pin:focus-visible {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 6;
}

.vn-pin:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.vn-pin-city {
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.62rem;
    color: var(--white-color);
    background: var(--primary-color);
}

.vn-pin-north {
    background: var(--info-color);
}

.vn-pin-center {
    background: var(--primary-color);
}

.vn-pin-south {
    background: var(--success-color);
}

.vn-pin-attr {
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.44rem;
    border-width: 1.5px;
    background: var(--secondary-color);
    color: var(--accent-color);
    opacity: 0.92;
}

.vn-map-hint {
    position: absolute;
    bottom: 0.6rem;
    inset-inline-start: 0.6rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.32rem 0.7rem;
    box-shadow: var(--shadow-card);
    pointer-events: none;
}

.vn-map-hint i {
    color: var(--primary-hover);
}

.vn-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.vn-map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.vn-map-legend-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    border: 2px solid var(--white-color);
    box-shadow: 0 2px 6px rgba(28, 25, 23, 0.25);
}

.vn-map-list {
    display: grid;
    gap: 0.55rem;
    max-height: 34rem;
    overflow-y: auto;
    padding-inline-end: 0.2rem;
}

.vn-map-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 0.55rem 0.7rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vn-map-card:hover,
.vn-map-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(201, 111, 74, 0.45);
    box-shadow: var(--shadow-soft);
}

.vn-map-thumb {
    display: block;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 0.8rem;
    background: var(--surface-strong);
}

.vn-map-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-map-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    flex: 1 1 auto;
    min-width: 0;
}

.vn-map-card-name {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.vn-map-card-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.vn-map-card-meta i {
    color: var(--primary-hover);
}

.vn-map-card-desc {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.6;
}

.vn-map-card-arrow {
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.78rem;
}

.vn-map-state,
.vn-map-empty {
    margin: 0;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.7;
    padding: 1rem;
    text-align: center;
}

.vn-map-empty.hidden {
    display: none;
}

@media (max-width: 639px) {
    .vn-pin-city {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.55rem;
    }

    .vn-pin-attr {
        width: 0.85rem;
        height: 0.85rem;
        font-size: 0.4rem;
    }

    .vn-map-list {
        max-height: none;
    }
}

/* ---- Vietnam gallery page ---- */
.vn-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .vn-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }
}

@media (min-width: 1024px) {
    .vn-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.7rem;
    }
}

.vn-gallery-card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 1.1rem;
    overflow: hidden;
    background: var(--surface-strong);
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.vn-gallery-card[hidden] {
    display: none;
}

.vn-gallery-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 600ms ease;
}

.vn-gallery-card:hover img,
.vn-gallery-card:focus-visible img {
    transform: scale(1.06);
}

.vn-gallery-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 2.4rem 0.8rem 0.75rem;
    text-align: start;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.vn-gallery-title {
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}

.vn-gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 700;
}

.vn-gallery-tag i {
    color: var(--accent-color);
}

.vn-gallery-empty {
    margin-top: 1.5rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1.1rem;
    text-align: center;
}

.vn-gallery-empty.hidden {
    display: none;
}

.vn-gallery-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    max-width: min(92vw, 62rem);
}

.vn-gallery-caption {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

body.vn-gallery-lb-open {
    overflow: hidden;
}

/* ---- Vietnam food page: restaurant cards filtered by destination ---- */
.vn-food-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .vn-food-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vn-food-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vn-food-card[hidden] {
    display: none;
}

/* ---- Vietnam food page: dishes by region, street food & sweet treats ---- */
.vn-region-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease;
}

.vn-region-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.vn-region-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.vn-region-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.vn-region-card:hover .vn-region-media img {
    transform: scale(1.05);
}

.vn-region-badge {
    position: absolute;
    bottom: 0.7rem;
    inset-inline-start: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.8rem;
    backdrop-filter: blur(6px);
}

.vn-region-badge i {
    color: var(--accent-color);
}

.vn-region-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.95rem 1.05rem 1.1rem;
}

.vn-region-areas {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
}

.vn-region-intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.75;
}

.vn-dish-list {
    display: grid;
    gap: 0.45rem;
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
}

.vn-dish {
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    background: var(--surface-color);
    padding: 0.6rem 0.7rem;
}

.vn-dish-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.vn-dish-name {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.4;
}

.vn-dish-price {
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.3;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

.vn-dish-desc {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.65;
}

.vn-price-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.7;
    padding: 0.75rem 0.9rem;
}

.vn-price-note i {
    margin-top: 0.25rem;
    flex: 0 0 auto;
    color: var(--primary-hover);
}

.vn-food-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 260ms ease, border-color 180ms ease;
}

.vn-food-tile:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.vn-food-tile-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.vn-food-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.vn-food-tile:hover .vn-food-tile-media img {
    transform: scale(1.05);
}

.vn-food-tile-price {
    position: absolute;
    top: 0.7rem;
    inset-inline-end: 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white-color);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.35rem 0.62rem;
    backdrop-filter: blur(6px);
}

.vn-food-tile-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 1rem 1rem;
}

.vn-food-tile-name {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
}

.vn-food-tile-name i {
    margin-top: 0.22rem;
    flex: 0 0 auto;
    color: var(--primary-hover);
    font-size: 0.85rem;
}

.vn-food-tile-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.7;
}

.vn-food-subhead {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.vn-food-subhead i {
    color: var(--primary-hover);
}

.vn-food-tips {
    display: grid;
    gap: 0.55rem;
    margin: 0.9rem 0 0;
    padding: 1rem 1.15rem;
    list-style: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
}

.vn-food-tips li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.75;
}

.vn-food-tips li i {
    margin-top: 0.34rem;
    flex: 0 0 auto;
    color: var(--success-color);
    font-size: 0.82rem;
}

/* ============================================================
   Site-wide compact mode — applied to EVERY page that has a
   <main> (the magazine home, the Vietnam/Philippines categories
   and all inner pages). Smaller headings and body copy, shorter
   image frames, denser cards and tighter spacing, so browsing
   the whole site is faster and more comfortable.
   ============================================================ */

/* --- 1. Smaller heading and text scale, everywhere --- */
body main .text-6xl {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
}

body main .text-5xl {
    font-size: 1.5rem !important;
    line-height: 1.22 !important;
}

body main .text-4xl {
    font-size: 1.34rem !important;
    line-height: 1.25 !important;
}

body main .text-3xl {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
}

body main .text-2xl {
    font-size: 1.08rem !important;
    line-height: 1.34 !important;
}

body main .text-xl {
    font-size: 1rem !important;
    line-height: 1.42 !important;
}

body main .text-lg {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

body main .text-base {
    font-size: 0.9rem !important;
    line-height: 1.68 !important;
}

body main .text-sm {
    font-size: 0.83rem !important;
    line-height: 1.6 !important;
}

/* Page heads (inner pages) — a touch smaller still */
body main .page-head .page-title {
    margin-top: 0.5rem !important;
    font-size: 1.22rem !important;
    line-height: 1.25 !important;
}

body main .page-head .page-subtitle {
    margin-top: 0.4rem !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
}

/* --- 2. Shorter image / media frames --- */
body main :is(.aspect-video, .aspect-\[16\/9\]) {
    aspect-ratio: 2.3 / 1 !important;
}

body main .aspect-\[16\/10\] {
    aspect-ratio: 2.1 / 1 !important;
}

body main .aspect-\[4\/3\] {
    aspect-ratio: 1.95 / 1 !important;
}

body main .aspect-\[2\/1\] {
    aspect-ratio: 2.3 / 1 !important;
}

body main .aspect-\[4\/5\] {
    aspect-ratio: 1.1 / 1 !important;
}

/* --- 3. Tighter vertical rhythm across every section --- */
body main .section-spacing {
    padding-block: clamp(1rem, 2.4vw, 1.6rem) !important;
}

body main .section-heading p {
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
}

body main :is(.mt-12, .mt-10, .mt-8, .mt-7, .mt-6, .mt-5) {
    margin-top: 0.85rem !important;
}

body main :is(.mb-12, .mb-10, .mb-8, .mb-6) {
    margin-bottom: 0.95rem !important;
}

body main :is(.py-16, .py-14, .py-12) {
    padding-block: 1.4rem !important;
}

body main :is(.gap-8, .gap-7, .gap-6, .gap-5, .gap-4) {
    gap: 0.7rem !important;
}

body main :is(.gap-x-8, .gap-x-6, .gap-x-5) {
    column-gap: 0.85rem !important;
}

body main :is(.gap-y-10, .gap-y-8) {
    row-gap: 0.9rem !important;
}

/* --- 4. Denser cards and panels --- */
body main :is(.explorer-card, .quiz-card, .planner-card, .trip-summary-output, .diary-card, .news-card-body, .tile-body, .attr-body, .museum-body, .elephant-body, .guide-card, .journal-body, .ticket-body, .vn-region-body, .vn-food-tile-body, .card) {
    padding: 0.8rem 0.9rem !important;
}

body main :is(.stat-card, .fact-card, .proof-stat, .fact-culture, .visa-highlight, .visa-notes) {
    padding: 0.8rem 0.9rem !important;
}

body main .fact-icon {
    width: 2.15rem !important;
    height: 2.15rem !important;
}

/* --- 5. Body copy inside long articles --- */
body main .article-body p {
    font-size: 0.96rem !important;
    line-height: 1.85 !important;
}

body main .article-body li {
    font-size: 0.92rem !important;
    line-height: 1.8 !important;
}

body main .article-body h2 {
    font-size: 1.28rem !important;
}

body main .article-body h3 {
    font-size: 1.08rem !important;
}

/* --- 6. CTA buttons stay a comfortable touch target --- */
body main :is(.cta-primary, .cta-secondary, .cta-blue) {
    min-height: 2.75rem !important;
    padding: 0.5rem 1.3rem !important;
    font-size: 0.9rem !important;
}

@media (max-width: 639px) {
    body main .text-6xl {
        font-size: 1.5rem !important;
    }

    body main .text-5xl {
        font-size: 1.35rem !important;
    }

    body main .section-spacing {
        padding-block: 1rem !important;
    }
}

/* ---- Birdwatching & wildlife page: smaller images and tighter, easier-to-scan copy ---- */
body.wildlife-page:not(:has(#scrollProgress)) main .section-spacing {
    padding-block: 0.85rem !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .section-heading {
    max-width: 38rem;
}

body.wildlife-page:not(:has(#scrollProgress)) main .section-heading p,
body.wildlife-page:not(:has(#scrollProgress)) main .page-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.65 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-6xl {
    font-size: 1.32rem !important;
    line-height: 1.2 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-5xl {
    font-size: 1.22rem !important;
    line-height: 1.25 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-4xl {
    font-size: 1.14rem !important;
    line-height: 1.28 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-3xl {
    font-size: 1.06rem !important;
    line-height: 1.3 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-2xl {
    font-size: 0.98rem !important;
    line-height: 1.34 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-xl {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main h2.text-lg,
body.wildlife-page:not(:has(#scrollProgress)) main h3.text-lg,
body.wildlife-page:not(:has(#scrollProgress)) main .text-lg {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-base {
    font-size: 0.84rem !important;
    line-height: 1.6 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-sm {
    font-size: 0.76rem !important;
    line-height: 1.55 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .text-xs {
    font-size: 0.68rem !important;
    line-height: 1.5 !important;
}

/* Shorter image frames so photos take noticeably less room */
body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/10\] {
    aspect-ratio: 2.8 / 1 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .aspect-video,
body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/9\] {
    aspect-ratio: 2.8 / 1 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[4\/3\] {
    aspect-ratio: 2.2 / 1 !important;
}

body.wildlife-page:not(:has(#scrollProgress)) main .py-14,
body.wildlife-page:not(:has(#scrollProgress)) main .py-10 {
    padding-block: 1.1rem !important;
}

@media (max-width: 639px) {
    body.wildlife-page:not(:has(#scrollProgress)) main .section-spacing {
        padding-block: 0.75rem !important;
    }

    body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/10\],
    body.wildlife-page:not(:has(#scrollProgress)) main .aspect-video,
    body.wildlife-page:not(:has(#scrollProgress)) main .aspect-\[16\/9\] {
        aspect-ratio: 2.2 / 1 !important;
    }
}