/* =============================================================================
   ClinaPharm — Modernization theme layer (2026)
   Loaded AFTER style.css / services.css / custom.css to refine the NewBiz
   template without rewriting it. Professional / editorial, no gimmicks.
   ============================================================================= */

:root {
    /* Brand palette (faithful to existing identity) */
    --c-blue:        #006595;
    --c-blue-dark:   #044267;
    --c-blue-deep:   #06314a;
    --c-red:         #9e0824;
    --c-red-dark:    #7d0620;

    /* Neutrals */
    --c-ink:         #16242e;   /* primary text / headings */
    --c-body:        #3d4d59;   /* body text */
    --c-muted:       #6a7884;   /* secondary text */
    --c-line:        #e4eaef;   /* borders / hairlines */
    --c-bg:          #ffffff;
    --c-bg-alt:      #f4f7fa;   /* section tint */

    /* Radii (only three, consistent) */
    --r-sm: 4px;
    --r-md: 10px;
    --r-lg: 18px;

    /* Shadows (only two) */
    --shadow-sm: 0 1px 2px rgba(16, 36, 46, .06), 0 2px 8px rgba(16, 36, 46, .05);
    --shadow-md: 0 6px 24px rgba(16, 36, 46, .10);

    /* Typography — echoes the rounded geometric ClinaPharm logo wordmark */
    --font-head: "Nunito", system-ui, sans-serif;
    --font-body: "Nunito Sans", system-ui, sans-serif;

    /* Layout */
    --header-h: 84px;
}

/* --- Base typography ------------------------------------------------------ */
body {
    font-family: var(--font-body);
    color: var(--c-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--c-ink);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a {
    color: var(--c-blue);
    transition: color .2s ease;
}
a:hover, a:focus, a:active {
    color: var(--c-blue-dark);
}

p { margin: 0 0 1.2rem 0; }

/* Visible keyboard focus everywhere (a11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(0, 101, 149, .35);
    outline-offset: 2px;
}

/* --- Buttons (one coherent system) --------------------------------------- */
.btn,
.btn-get-started,
.btn-services,
#hero .hero-info .btn-get-started,
#hero .hero-info .btn-services,
.php-email-form button[type=submit],
#contact .php-email-form button[type=submit] {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    border-radius: var(--r-sm) !important;
    padding: 12px 28px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
    border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }

/* Primary (blue) */
.btn-primary,
#hero .hero-info .btn-get-started,
.php-email-form button[type=submit],
#contact .php-email-form button[type=submit] {
    background: var(--c-blue) !important;
    border-color: var(--c-blue) !important;
    color: #fff !important;
}
.btn-primary:hover,
#hero .hero-info .btn-get-started:hover,
.php-email-form button[type=submit]:hover,
#contact .php-email-form button[type=submit]:hover {
    background: var(--c-blue-dark) !important;
    border-color: var(--c-blue-dark) !important;
    color: #fff !important;
}

/* Secondary / ghost on hero */
#hero .hero-info .btn-services {
    background: transparent;
    border-color: rgba(255, 255, 255, .85);
    color: #fff;
}
#hero .hero-info .btn-services:hover {
    background: #fff;
    border-color: #fff;
    color: var(--c-blue-dark);
}

/* --- Header & navigation -------------------------------------------------- */
#header {
    height: var(--header-h);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(140%) blur(6px);
    box-shadow: 0 1px 0 var(--c-line);
    transition: height .3s ease, box-shadow .3s ease;
}
#header.header-scrolled {
    height: 66px;
    box-shadow: var(--shadow-sm);
}
#header .logo img {
    width: auto !important;
    max-height: 64px;
    transition: max-height .3s ease;
}
#header.header-scrolled .logo img { max-height: 50px; }

.navbar a,
.navbar a:focus {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--c-ink);
    padding: 10px 14px;
    letter-spacing: 0;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: var(--c-blue);
}
/* Subtle active underline instead of a flat color swap */
.navbar > ul > li > a {
    position: relative;
}
.navbar > ul > li > a.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--c-red);
    border-radius: 2px;
}
.navbar .dropdown ul {
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    border-radius: var(--r-md);
    padding: 8px 0;
}
.navbar .dropdown ul a {
    font-size: 14px;
    color: var(--c-body);
    padding: 9px 18px;
}
.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: var(--c-blue);
    background: var(--c-bg-alt);
}

/* --- Sections & headers --------------------------------------------------- */
section { padding-top: 70px; padding-bottom: 70px; }

.section-header { margin-bottom: 10px; }
.section-header h3 {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--c-ink);
    text-align: center;
}
.section-header h3.text-white,
.section-bg .section-header h3 { color: #fff !important; }
.section-header p {
    color: var(--c-muted);
    font-size: 16px;
    width: min(720px, 92%);
    padding-bottom: 40px;
}
/* small red accent rule under section titles */
.section-header h3::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--c-red);
    border-radius: 3px;
}

.section-bg { background: var(--c-blue-deep); }

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs {
    margin-top: var(--header-h);
    background: var(--c-bg-alt);
    border-bottom: 1px solid var(--c-line);
    padding: 18px 0;
}
/* --c-muted on the --c-bg-alt strip is 4.21:1, under the 4.5:1 AA floor for
   14px text. The trailing crumb is the current page name, so it has to be
   readable, not decorative: --c-body gives 8.1:1 on the same tint. */
.breadcrumbs ol { font-size: 14px; color: var(--c-body); }
.breadcrumbs ol a { color: var(--c-blue); }
.breadcrumbs ol li + li::before {
    content: "/";
    padding-right: 10px;
    color: var(--c-line);
}

/* --- Forms ---------------------------------------------------------------- */
.form-control,
.php-email-form input,
.php-email-form textarea,
#contact .php-email-form input,
#contact .php-email-form textarea {
    border: 1px solid var(--c-line) !important;
    border-radius: var(--r-sm) !important;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--c-ink);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus,
.php-email-form input:focus,
.php-email-form textarea:focus,
.php-email-form select:focus {
    border-color: var(--c-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 101, 149, .12) !important;
}
.form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--c-ink);
    margin-bottom: 6px;
}
.form-label .req { color: var(--c-red); }
.form-hint { font-size: 12.5px; color: var(--c-muted); margin-top: 5px; }

/* --- Back to top ---------------------------------------------------------- */
.back-to-top {
    background: var(--c-blue);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-sm);
}
.back-to-top:hover { background: var(--c-blue-dark); }

/* --- Footer --------------------------------------------------------------- */
#footer {
    background: var(--c-blue-deep);
    color: rgba(255, 255, 255, .72);
}
#footer .footer-top { padding: 56px 0 30px; }
#footer .footer-links h4 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
#footer .footer-links ul a {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 2;
    transition: color .2s ease, padding-left .2s ease;
}
#footer .footer-links ul a:hover {
    color: #fff;
    padding-left: 4px;
}
#footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
}

/* --- Post cards (home "Recent posts" on the dark band) -------------------- */
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-date {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--c-muted);
}
.post-card-title {
    font-size: 18px;
    margin: 8px 0 10px;
    color: var(--c-ink);
    line-height: 1.3;
}
.post-card-excerpt { color: var(--c-body); font-size: 14.5px; margin-bottom: 14px; }
.post-card-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--c-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.post-card-link i { transition: transform .2s ease; }
.post-card-link:hover i { transform: translateX(3px); }
/* White CTA on the dark posts band */
#testimonials .btn-primary {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--c-blue-deep) !important;
}
#testimonials .btn-primary:hover {
    background: rgba(255, 255, 255, .88) !important;
    border-color: rgba(255, 255, 255, .88) !important;
    color: var(--c-blue-deep) !important;
}

/* --- Portfolio (Regional Reach) cards ------------------------------------- */
#portfolio #portfolio-flters li {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
}
#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
    color: var(--c-blue);
}
/* Regional Reach — clean clickable region cards */
.reach-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.reach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.reach-card-map {
    background: transparent;
    padding: 22px 22px 10px;
}
.reach-card-map img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}
.reach-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid var(--c-line);
}
.reach-card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--c-ink);
    transition: color .2s ease;
}
.reach-card-foot i { color: var(--c-blue); transition: transform .2s ease; }
.reach-card:hover .reach-card-title { color: var(--c-blue); }
.reach-card:hover .reach-card-foot i { transform: translateX(4px); }

/* --- Career CTA band (intentional brand band, white text) ----------------- */
#opportunities { background: var(--c-blue-deep); }
#opportunities .section-header h3,
#opportunities .section-header p { color: #fff !important; }
#opportunities .btn-primary {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--c-blue-deep) !important;
}
#opportunities .btn-primary:hover {
    background: rgba(255, 255, 255, .88) !important;
    border-color: rgba(255, 255, 255, .88) !important;
    color: var(--c-blue-deep) !important;
}

/* --- Contact info chips --------------------------------------------------- */
#contact .info i { color: var(--c-blue); }

/* =============================================================================
   Internal pages
   ============================================================================= */

/* --- Page header (image banner + title) ---------------------------------- */
.header {
    height: 46vh;
    min-height: 320px;
    position: relative;
}
.header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,49,74,.55) 0%, rgba(6,49,74,.72) 100%);
}
.page-heading { z-index: 2; top: 58%; width: 100%; padding: 0 16px; }
.page-heading-primary {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(30px, 5vw, 50px);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.page-heading-secondary {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, .9);
    max-width: 640px;
    margin: 14px auto 0;
}

/* --- Inner page spacing --------------------------------------------------- */
.inner-page { padding-top: 48px; padding-bottom: 64px; }

/* --- Reusable info card (therapeutic areas, locations, etc.) -------------- */
.info-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 22px 20px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.info-card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    color: var(--c-blue);
    text-decoration: none;
    margin-bottom: 12px;
}
.info-card .badge.rounded-pill,
.info-card .meta-badge {
    background: var(--c-bg-alt) !important;
    color: var(--c-ink) !important;
    border: 1px solid var(--c-line);
    font-weight: 600;
    font-size: 12px;
    padding: 6px 10px;
    margin: 2px;
}
.info-card .card-place {
    margin-top: 12px;
    color: var(--c-red);
    font-size: 14px;
    font-weight: 600;
}

/* --- Services page: alternating editorial rows ---------------------------- */
.services-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--c-line);
}
.services-jump a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-blue);
}
.services-jump a:hover { color: var(--c-blue-dark); }

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 44px 0;
    scroll-margin-top: 100px;
}
.service-row + .service-row { border-top: 1px solid var(--c-line); }
.service-row--reverse .service-media { order: 2; }
.service-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    display: block;
}
.service-title {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--c-ink);
    margin-bottom: 16px;
    padding-bottom: 14px;
    position: relative;
}
.service-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--c-red);
    border-radius: 3px;
}
.service-content { color: var(--c-body); }
.service-content p { margin-bottom: 1rem; }
.service-content ul { padding-left: 1.1rem; }
.service-content li { margin-bottom: 6px; }

@media (max-width: 767px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 0;
    }
    .service-row--reverse .service-media { order: 0; }
}

/* --- Locations page ------------------------------------------------------- */
.location-card {
    height: 100%;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.location-card-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: var(--c-blue);
    margin: 0;
    padding: 12px 16px;
}
.location-card-address {
    margin: 0;
    padding: 16px;
    color: var(--c-body);
    font-size: 14.5px;
    line-height: 1.55;
}
.locations-map { max-width: 860px; margin: 0 auto; }
.locations-map #regions_div { width: 100%; }

/* --- Opportunities: country chips ---------------------------------------- */
.country-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-bg-alt);
    color: var(--c-blue-dark);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 600;
}
.country-chip i { color: var(--c-red); }

/* --- 404 page ------------------------------------------------------------- */
.error-page { padding: 90px 0 100px; text-align: center; }
.error-page img { max-width: 280px; width: 60%; margin: 0 auto 28px; }
.error-page h1 {
    font-size: clamp(28px, 5vw, 40px);
    color: var(--c-ink);
    margin-bottom: 10px;
}
.error-page p { color: var(--c-muted); margin-bottom: 26px; }

/* --- Article (post details) ----------------------------------------------- */
.post-article { max-width: 800px; margin: 0 auto; }
.post-lead {
    font-size: 19px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--c-ink);
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--c-line);
}
.post-body { color: var(--c-body); font-size: 16.5px; line-height: 1.8; }
.post-body p { margin-bottom: 1.2rem; }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 1.8rem; margin-bottom: .8rem; color: var(--c-ink); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 1rem 0; }
.post-body ul, .post-body ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--c-blue); text-decoration: underline; }
.post-share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
}
.post-share-label { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }
.post-back { margin-top: 28px; }
.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--c-blue);
}
.post-back-link i { transition: transform .2s ease; }
.post-back-link:hover i { transform: translateX(-4px); }

/* --- Pagination ----------------------------------------------------------- */
.pagination { gap: 6px; }
.pagination .page-link {
    color: var(--c-blue);
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    padding: 8px 14px;
    font-weight: 600;
}
.pagination .page-link:hover { color: var(--c-blue-dark); background: var(--c-bg-alt); }
.pagination .page-item.active .page-link {
    background: var(--c-blue);
    border-color: var(--c-blue);
    color: #fff;
}
.pagination .page-item.disabled .page-link { color: var(--c-muted); }

/* --- Regional reach detail ------------------------------------------------ */
.inner-page img { border-radius: var(--r-md); }

/* --- Reliability: content is never hidden by scroll-reveal -----------------
   The template uses AOS (data-aos) which sets opacity:0 until a scroll trigger
   fires. On some browsers/scroll speeds that trigger is missed, leaving whole
   sections invisible (reads as "white/blank" text) or mid-transform (overlap).
   For a content-critical corporate site we guarantee visibility and keep only
   the CSS hover micro-interactions + the carousel. */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- Legal pages ---------------------------------------------------------- */
.legal-meta {
    font-size: 13.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 14px;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.4rem;
    font-size: 15px;
}
.legal-table th,
.legal-table td {
    border: 1px solid var(--c-line);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.legal-table thead th {
    background: var(--c-bg-alt);
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--c-ink);
}
.legal-table code {
    font-size: 13.5px;
    color: var(--c-blue-dark);
    background: var(--c-bg-alt);
    padding: 2px 6px;
    border-radius: var(--r-sm);
}

/* --- Cookie consent ------------------------------------------------------- */
.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: var(--c-bg);
    border-top: 3px solid var(--c-blue);
    box-shadow: 0 -6px 24px rgba(16, 36, 46, .12);
}
.consent-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.consent-banner-text { font-size: 14.5px; line-height: 1.65; color: var(--c-body); }
.consent-banner-text p { margin: 0; }
.consent-banner-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--c-ink);
    margin-bottom: 4px !important;
}
.consent-banner-text a { color: var(--c-blue); text-decoration: underline; }
.consent-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Same shape, weight and motion as the site-wide button system above, so the
   banner reads as part of the site rather than a bolted-on widget. */
.consent-btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    line-height: 1.2;
    padding: 12px 28px;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.consent-btn:hover { transform: translateY(-1px); }
.consent-btn-primary {
    background: var(--c-blue);
    border-color: var(--c-blue);
    color: #fff;
}
.consent-btn-primary:hover {
    background: var(--c-blue-dark);
    border-color: var(--c-blue-dark);
    color: #fff;
}
.consent-btn-ghost {
    background: transparent;
    border-color: var(--c-line);
    color: var(--c-body);
}
.consent-btn-ghost:hover {
    border-color: var(--c-blue);
    color: var(--c-blue);
}
.consent-btn:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* Stand-in shown wherever an external embed has not been loaded. */
.consent-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
    background: var(--c-bg-alt);
    border: 1px dashed var(--c-line);
    border-radius: var(--r-md);
}
.consent-placeholder-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    /* --c-muted on --c-bg-alt is only 4.21:1, under the 4.5:1 AA floor for
       normal text. This copy explains why the map is absent, so it has to be
       readable: --c-body gives 8.1:1 on the same tint. */
    color: var(--c-body);
    max-width: 42ch;
}

/* --- Footer legal bar ----------------------------------------------------- */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 12px;
    font-size: 14px;
}
.footer-legal a { color: inherit; opacity: .85; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }
.footer-legal button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    opacity: .85;
    cursor: pointer;
}
.footer-legal button:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 768px) {
    .consent-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
    .consent-banner-actions { justify-content: stretch; }
    .consent-btn { flex: 1; padding: 11px 16px; }
    .legal-table { font-size: 14px; }
    .legal-table th, .legal-table td { padding: 8px 10px; }
}
