/*
 * ═══════════════════════════════════════════════════════════════════════════════
 * Lavisa Destinations Theme — ENHANCED ARCHIVE PAGE-SPECIFIC SECTIONS (E13)
 * ═══════════════════════════════════════════════════════════════════════════════
 *
 * @file        assets/css/ldt-enhanced-sections-archive-pages.css
 * @package     Lavisa_Destinations_Theme
 * @since       2.9.14  (E13 — Visual Enhancement Roadmap v2)
 * @depends     ldt-tokens-enhanced.css           (E1)
 *              ldt-enhanced-base.css             (E2)
 *              ldt-enhanced-animations.css       (E3)
 *              ldt-enhanced-sections-archive.css (E12 — base archive surfaces)
 *
 *   Polishes the page-specific archive sections — the special surfaces that
 *   appear on region / country / city / continent pages BEYOND the generic
 *   destination grid + filter sidebar from E12:
 *
 *     section-archive-header.php   Top section with title + crumbs + search
 *     section-cities-grid.php      City cards with overlay captions (image-led)
 *     section-country-grid.php     Country cards with flag + name + city count
 *     section-country-overview.php Split layout (prose body + sidebar facts)
 *     section-city-overview.php    Split layout for city pages
 *     section-region-stats.php     Stats row with icons + values + labels
 *
 *   PURE CSS LAYER — no PHP partial is touched. Same approach as E4-E12.
 *
 * ═══════════════════════════════════════════════════════════════════════════════
 */


/* ═══════════════════════════════════════════════════════════════════════════════
 * 1. ARCHIVE HEADER (.ldt-archive-header)
 *
 * Top section above the grid/filter row on archive pages. Contains breadcrumbs,
 * title, optional subtitle + count, and inline search form.
 * ═══════════════════════════════════════════════════════════════════════════════ */

/* Breadcrumb crumbs — glass-light pill */
body .ldt-archive-header__crumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px 14px;
    background: rgba(0, 53, 128, 0.05);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 53, 128, 0.10);
    border-radius: var(--ldt-radius-pill, 9999px);
    font-size: 13px;
    list-style: none;
    margin-bottom: 14px;
}

body .ldt-archive-header__crumb {
    display: inline-flex;
    align-items: center;
}

body .ldt-archive-header__crumb a {
    color: var(--ldt-primary-light, #0057b8);
    text-decoration: none;
    font-weight: 600;
    transition: color 200ms var(--ldt-ease-portal, ease);
}

body .ldt-archive-header__crumb a:hover {
    color: var(--ldt-accent, #ff8c00);
}

body .ldt-archive-header__crumb-sep {
    color: var(--ldt-gray-400, #94a3b8);
    margin: 0 4px;
}

body .ldt-archive-header__crumb:last-child a,
body .ldt-archive-header__crumb[aria-current="page"] {
    color: var(--ldt-accent, #ff8c00);
    font-weight: 700;
    pointer-events: none;
}

/* Title — gradient text fill (matches all other section titles) */
body .ldt-archive-header__title {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 6px;
}

body .ldt-archive-header__subtitle {
    color: var(--ldt-gray-600, #64748b);
    line-height: 1.6;
    margin: 0 0 8px;
}

body .ldt-archive-header__count {
    color: var(--ldt-gray-500, #94a3b8);
    font-size: 13px;
    margin: 0;
}

body .ldt-archive-header__count strong {
    color: var(--ldt-accent-dark, #e07a00);
    font-weight: 800;
}

/* Inline search form — glass-light input with accent submit */
body .ldt-archive-header__search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 4px;
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(12px) saturate(180%);
            backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0, 53, 128, 0.10);
    border-radius: var(--ldt-radius-input, 0.75rem);
    box-shadow: 0 4px 14px rgba(0, 53, 128, 0.06);
    max-width: 560px;
    transition:
        border-color 200ms var(--ldt-ease-portal, ease),
        box-shadow 200ms var(--ldt-ease-portal, ease);
}

body .ldt-archive-header__search:focus-within {
    border-color: var(--ldt-accent, #ff8c00);
    box-shadow:
        0 0 0 3px rgba(255, 140, 0, 0.18),
        0 6px 18px rgba(0, 53, 128, 0.10);
}

body .ldt-archive-header__search-icon {
    display: inline-flex;
    align-items: center;
    color: var(--ldt-primary-light, #0057b8);
    padding-left: 8px;
}

body .ldt-archive-header__search:focus-within .ldt-archive-header__search-icon {
    color: var(--ldt-accent, #ff8c00);
}

body .ldt-archive-header__search input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 4px;
    color: var(--ldt-dark, #1e293b);
    font-size: 14px;
    outline: none;
    min-width: 0;
}

body .ldt-archive-header__search input[type="search"]::placeholder {
    color: var(--ldt-gray-500, #94a3b8);
}

body .ldt-archive-header__search-submit {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: calc(var(--ldt-radius-input, 0.75rem) - 4px);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition:
        transform 200ms var(--ldt-ease-portal, ease),
        box-shadow 200ms var(--ldt-ease-portal, ease),
        filter 200ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-archive-header__search-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(255, 140, 0, 0.40);
        filter: brightness(1.06);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 2. CITIES GRID (.ldt-cg-card)
 *
 * Image-led cards used to showcase cities within a country/region. Each card
 * has full-bleed image with a gradient overlay + name caption at the bottom.
 * ═══════════════════════════════════════════════════════════════════════════════ */

/* Section header — flex row */
body .ldt-cg__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

body .ldt-cg__header-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body .ldt-cg__title {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    letter-spacing: -0.01em;
    margin: 0;
}

/* Count badge inline next to title */
body .ldt-cg__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    background: rgba(255, 140, 0, 0.16);
    color: var(--ldt-accent-dark, #e07a00);
    border-radius: var(--ldt-radius-pill, 9999px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body .ldt-cg__subtitle {
    color: var(--ldt-gray-600, #64748b);
    margin: 0;
}

/* "View all" link — accent text with arrow nudge */
body .ldt-cg__viewall {
    color: var(--ldt-primary, #003580);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition:
        color 200ms var(--ldt-ease-portal, ease),
        gap 200ms var(--ldt-ease-portal, ease);
}

body .ldt-cg__viewall:hover {
    color: var(--ldt-accent, #ff8c00);
    gap: 10px;
}

/* City card — image-led with overlay caption */
body .ldt-cg-card {
    position: relative;
    display: block;
    border-radius: var(--ldt-radius-card, 1.25rem);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--ldt-gray-200, #e2e8f0);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.10);
    text-decoration: none;
    transition:
        transform 350ms var(--ldt-ease-portal, ease),
        box-shadow 350ms var(--ldt-ease-portal, ease);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cg-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 44px -8px rgba(0, 53, 128, 0.25);
    }
}

body .ldt-cg-card__media {
    position: absolute;
    inset: 0;
}

body .ldt-cg-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ldt-ease-portal, ease);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cg-card:hover .ldt-cg-card__img {
        transform: scale(1.10);
    }
}

body .ldt-cg-card__img--placeholder {
    background: linear-gradient(
        135deg,
        rgba(0, 53, 128, 0.30) 0%,
        rgba(255, 140, 0, 0.30) 100%
    );
}

/* Overlay — gradient dark at bottom */
body .ldt-cg-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.30) 60%,
        rgba(0, 30, 80, 0.85) 100%
    );
    transition: background 350ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cg-card:hover .ldt-cg-card__overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 25%,
            rgba(0, 0, 0, 0.30) 55%,
            rgba(0, 53, 128, 0.92) 100%
        );
    }
}

/* Content overlay — name + meta at bottom */
body .ldt-cg-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px;
    color: #ffffff;
    z-index: 1;
}

body .ldt-cg-card__name {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
    font-size: 18px;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.50),
        0 4px 14px rgba(0, 20, 60, 0.40);
    transition: transform 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cg-card:hover .ldt-cg-card__name {
        transform: translateY(-2px);
    }
}

body .ldt-cg-card__meta {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.40);
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 3. COUNTRY GRID (.ldt-country-card)
 *
 * Country cards: image background with floating flag emoji + name + city count
 * at the bottom. Used on continent / region pages.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-country-grid__title {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    letter-spacing: -0.01em;
    margin: 0;
}

body .ldt-country-grid__count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    margin-left: 8px;
    background: rgba(255, 140, 0, 0.16);
    color: var(--ldt-accent-dark, #e07a00);
    border-radius: var(--ldt-radius-pill, 9999px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

[dir="rtl"] body .ldt-country-grid__count-badge,
.ldt-rtl body .ldt-country-grid__count-badge {
    margin-left: 0;
    margin-right: 8px;
}

/* Country card */
body .ldt-country-card {
    position: relative;
    display: block;
    border-radius: var(--ldt-radius-card, 1.25rem);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 53, 128, 0.06);
    border: 1px solid rgba(0, 53, 128, 0.04);
    text-decoration: none;
    color: inherit;
    transition:
        transform 350ms var(--ldt-ease-portal, ease),
        box-shadow 350ms var(--ldt-ease-portal, ease),
        border-color 350ms var(--ldt-ease-portal, ease);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-country-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255, 140, 0, 0.22);
        box-shadow:
            0 18px 38px -8px rgba(0, 53, 128, 0.20),
            0 0 0 1px rgba(255, 140, 0, 0.08);
    }
}

/* Media wrap */
body .ldt-country-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

body .ldt-country-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ldt-ease-portal, ease);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-country-card:hover .ldt-country-card__img {
        transform: scale(1.08);
    }
}

body .ldt-country-card__img--placeholder {
    background: linear-gradient(
        135deg,
        rgba(0, 53, 128, 0.20) 0%,
        rgba(255, 140, 0, 0.20) 100%
    );
}

/* Floating flag — glass-light pill on top of image, top-right */
body .ldt-country-card__flag {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: var(--ldt-radius-pill, 9999px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
    font-size: 22px;
    line-height: 1;
    z-index: 1;
    transition:
        transform 300ms var(--ldt-ease-portal, ease);
}

[dir="rtl"] body .ldt-country-card__flag,
.ldt-rtl body .ldt-country-card__flag {
    right: auto;
    left: 12px;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-country-card:hover .ldt-country-card__flag {
        transform: scale(1.08) rotate(-3deg);
    }
}

/* Body */
body .ldt-country-card__body {
    padding: 16px 18px;
}

body .ldt-country-card__name {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
    transition: color 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-country-card:hover .ldt-country-card__name {
        color: var(--ldt-primary, #003580);
    }
}

body .ldt-country-card__cities {
    color: var(--ldt-accent-dark, #e07a00);
    font-size: 13px;
    font-weight: 700;
}

body .ldt-country-card__cities--empty {
    color: var(--ldt-gray-500, #94a3b8);
    font-weight: 500;
    font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 4. COUNTRY OVERVIEW (.ldt-country-overview)
 *
 * Split-column layout: prose body on left (description, history, etc.)
 * and Quick Facts sidebar on right (capital, currency, language, etc.).
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-country-overview__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    body .ldt-country-overview__grid {
        grid-template-columns: 1fr;
    }
}

/* Body section — prose treatment */
body .ldt-country-overview__eyebrow {
    color: var(--ldt-accent, #ff8c00);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
}

body .ldt-country-overview__prose {
    color: var(--ldt-gray-700, #334155);
    line-height: 1.75;
    font-size: 16px;
}

body .ldt-country-overview__prose p:first-child::first-letter {
    font-size: 3.5em;
    font-weight: 800;
    float: left;
    line-height: 0.9;
    margin: 4px 10px 0 0;
    color: var(--ldt-primary, #003580);
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[dir="rtl"] body .ldt-country-overview__prose p:first-child::first-letter,
.ldt-rtl body .ldt-country-overview__prose p:first-child::first-letter {
    float: right;
    margin: 4px 0 0 10px;
}

/* Facts sidebar — glass-light card with brand-tinted shadow */
body .ldt-country-overview__facts,
body .ldt-city-overview__facts {
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 53, 128, 0.08);
    border-radius: var(--ldt-radius-card, 1.25rem);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.06);
    padding: 22px;
    position: sticky;
    top: 24px;
}

body .ldt-country-overview__facts-title,
body .ldt-city-overview__facts-title {
    color: var(--ldt-dark, #1e293b);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 53, 128, 0.08);
}

body .ldt-country-overview__facts-list,
body .ldt-city-overview__facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body .ldt-country-overview__fact,
body .ldt-city-overview__fact {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 53, 128, 0.08);
}

body .ldt-country-overview__fact:last-child,
body .ldt-city-overview__fact:last-child {
    border-bottom: none;
}

body .ldt-country-overview__fact-icon,
body .ldt-city-overview__fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ldt-radius-input, 0.75rem);
    background: rgba(255, 140, 0, 0.10);
    color: var(--ldt-accent, #ff8c00);
    flex-shrink: 0;
}

body .ldt-country-overview__fact-label,
body .ldt-city-overview__fact-label {
    color: var(--ldt-gray-600, #64748b);
    font-size: 13px;
    font-weight: 600;
}

body .ldt-country-overview__fact-value,
body .ldt-city-overview__fact-value {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    font-size: 14px;
    text-align: right;
}

[dir="rtl"] body .ldt-country-overview__fact-value,
[dir="rtl"] body .ldt-city-overview__fact-value,
.ldt-rtl body .ldt-country-overview__fact-value,
.ldt-rtl body .ldt-city-overview__fact-value {
    text-align: left;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 5. CITY OVERVIEW (.ldt-city-overview)
 *
 * Same split layout pattern as country-overview. Most rules are shared above.
 * Anything city-specific lives here.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-city-overview__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    body .ldt-city-overview__grid {
        grid-template-columns: 1fr;
    }
}

body .ldt-city-overview__eyebrow {
    color: var(--ldt-accent, #ff8c00);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
}

body .ldt-city-overview__prose {
    color: var(--ldt-gray-700, #334155);
    line-height: 1.75;
    font-size: 16px;
}

body .ldt-city-overview__prose p:first-child::first-letter {
    font-size: 3.5em;
    font-weight: 800;
    float: left;
    line-height: 0.9;
    margin: 4px 10px 0 0;
    color: var(--ldt-primary, #003580);
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[dir="rtl"] body .ldt-city-overview__prose p:first-child::first-letter,
.ldt-rtl body .ldt-city-overview__prose p:first-child::first-letter {
    float: right;
    margin: 4px 0 0 10px;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 6. REGION STATS (.ldt-region-stats)
 *
 * Stats row with icon + value + label tiles. Used on region/continent pages.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-region-stats__eyebrow {
    color: var(--ldt-accent, #ff8c00);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    margin: 0 0 16px;
}

body .ldt-region-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

body .ldt-region-stats__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 53, 128, 0.08);
    border-radius: var(--ldt-radius-input, 0.75rem);
    box-shadow: 0 4px 14px rgba(0, 53, 128, 0.04);
    transition:
        transform 300ms var(--ldt-ease-portal, ease),
        box-shadow 300ms var(--ldt-ease-portal, ease),
        border-color 300ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-region-stats__item:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 140, 0, 0.30);
        box-shadow: 0 12px 28px rgba(255, 140, 0, 0.15);
    }
}

body .ldt-region-stats__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ldt-radius-input, 0.75rem);
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: var(--ldt-shadow-accent-soft,
                0 4px 12px rgba(255, 140, 0, 0.25));
}

body .ldt-region-stats__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body .ldt-region-stats__value {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

body .ldt-region-stats__label {
    color: var(--ldt-gray-600, #64748b);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 7. RESPONSIVE
 * ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Archive header: search form stacks gracefully — form keeps its layout
       but reduces input padding */
    body .ldt-archive-header__search input[type="search"] {
        padding: 8px 4px;
        font-size: 13px;
    }

    body .ldt-archive-header__search-submit {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* City cards: tighter aspect ratio for mobile (4:5 → 1:1) */
    body .ldt-cg-card {
        aspect-ratio: 1 / 1;
    }

    body .ldt-cg-card__name {
        font-size: 16px;
    }

    /* Country cards: smaller flag pill */
    body .ldt-country-card__flag {
        font-size: 18px;
        padding: 4px 8px;
    }

    /* Overview drop-cap smaller on mobile */
    body .ldt-country-overview__prose p:first-child::first-letter,
    body .ldt-city-overview__prose p:first-child::first-letter {
        font-size: 2.75em;
    }

    /* Facts sidebar: stop being sticky on mobile (would push down too much) */
    body .ldt-country-overview__facts,
    body .ldt-city-overview__facts {
        position: static;
    }

    /* Region stats: smaller icons */
    body .ldt-region-stats__icon {
        width: 38px;
        height: 38px;
    }

    body .ldt-region-stats__value {
        font-size: 1.25rem;
    }
}


/* ─── END OF ldt-enhanced-sections-archive-pages.css ─────────────────────── */
