/*
 * 321Voyages blog: child theme of Understrap (Bootstrap 5).
 * Part 1 is copied from the main site (app/assets/styles/app.css of the redesign, tokens --voy-*:
 * palette, buttons, header, header search, sections, chips, footer, page head, breadcrumb) so the blog
 * looks like the main site; keep it in sync when the main site's tokens change. Part 2 holds the blog
 * components (cards, article, magazine home, archives), adapted from the 321skivacances blog theme.
 * Pink (--voy-promo) is for promotions only (bons plans, codes promo), as on the main site.
 */

/* ---------- Part 1: main site (app/assets/styles/app.css) ---------- */
:root {
    /* Palette */
    --voy-navy: #064a8e;            /* headings, nav, strong type, normal prices, structure (8.83:1 on white) */
    --voy-primary: #0878df;         /* brand blue: icons, borders, arrows, active states, large CTA text (white on it 4.41: large/bold only) */
    --voy-primary-dark: #0868c4;    /* links and small-text buttons (white on it 5.54, on white 5.54) */
    --voy-primary-hover: #0655a0;   /* hover of blue actions (white on it 7.46) */
    --voy-primary-active: #054a8c;
    --voy-cyan: #13bceb;            /* secondary accent, decorative: tab underline, kicker dashes, trust icons */
    --voy-cyan-light: #7ddefa;      /* highlighted part of the hero title (on the blue overlay) */
    --voy-surface: #eaf8fd;         /* pale sky: icon circles, pale surfaces, selected chips */
    --voy-section: #f8fbfd;         /* section background, alternating with white */
    --voy-warm: #fff7ec;            /* warm tint, very sparingly (the Leclerc ventes flash card) */
    --voy-field: #f1f7fc;           /* secondary fields (header search) */
    --voy-line: #dde9f3;
    --voy-line-soft: #e6eff6;
    --voy-muted: #566a84;           /* secondary copy, blue grey */
    --voy-text: #0f2a47;
    --voy-promo: #f51d72;           /* brand pink, promotions only: dots, icons, borders, large promotional prices (3.96:1: large/bold or non-text) */
    --voy-promo-dark: #c40e57;      /* pink text and every promo badge with small white text (white on it 5.92) */
    --voy-promo-soft: #fee8f1;
    --voy-sun: #ffb020;             /* rating stars only */
    --voy-sun-icon: #f5a000;         /* sun icons of "Séjours" (decorative; 2.1 on white, never text) */

    /* Shapes and depth */
    --radius-chip: 9px;
    --radius-control: 10px;
    --card-radius: 14px;
    --radius-panel: 20px;
    --shadow-soft: 0 1px 2px rgba(6, 74, 142, .05), 0 2px 8px rgba(6, 74, 142, .05);
    --shadow-hover: 0 2px 4px rgba(6, 74, 142, .06), 0 10px 24px rgba(6, 74, 142, .11);
    --shadow-menu: 0 4px 10px rgba(6, 74, 142, .08), 0 14px 30px rgba(6, 74, 142, .12);
    --focus-ring: 0 0 0 3px rgba(8, 120, 223, .35);
    --header-h: 68px;
    --site-max: 1200px;

    --bs-primary: var(--voy-primary);
    --bs-primary-rgb: 8, 120, 223;
    --bs-link-color: var(--voy-primary-dark);
    --bs-link-color-rgb: 8, 104, 196;
    --bs-link-hover-color: var(--voy-primary-hover);
    --bs-link-hover-color-rgb: 6, 85, 160;
    --bs-body-bg: var(--voy-section);
    --bs-body-color: var(--voy-text);
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-border-radius: var(--radius-control);
    --bs-border-color: var(--voy-line);
}

body { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.bi { vertical-align: -.125em; flex-shrink: 0; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; padding: .5rem 1rem; background: #fff; border-radius: var(--radius-control); }
h1, h2, h3, .h4, .h5 { letter-spacing: -.01em; }

/* One content grid for header, hero, strip and sections: 1200 px max, 16 px side padding. */
.container { --bs-gutter-x: 2rem; }
@media (min-width: 1200px) { .container { max-width: var(--site-max); } }

/* Keyboard focus: always visible (white on the hero photo and the navy footer). */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--voy-primary); outline-offset: 2px; box-shadow: none; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.hero .hero-search a:focus-visible, .hero .hero-search button:focus-visible { outline-color: var(--voy-primary); }

/* Buttons: blue is the action colour; small white text sits on the darker variant (AA 5.54:1). */
.btn-primary {
    --bs-btn-color: #fff; --bs-btn-bg: var(--voy-primary-dark); --bs-btn-border-color: var(--voy-primary-dark);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--voy-primary-hover); --bs-btn-hover-border-color: var(--voy-primary-hover);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--voy-primary-active); --bs-btn-active-border-color: var(--voy-primary-active);
    --bs-btn-disabled-bg: var(--voy-primary-dark); --bs-btn-disabled-border-color: var(--voy-primary-dark);
    --bs-btn-focus-shadow-rgb: 8, 120, 223;
    font-weight: 700;
}

/* Secondary action: blue outline on white, pale surface on hover. */
.btn-outline-primary {
    --bs-btn-color: var(--voy-primary-dark); --bs-btn-bg: #fff; --bs-btn-border-color: #b3d7f5;
    --bs-btn-hover-color: var(--voy-primary-hover); --bs-btn-hover-bg: var(--voy-surface); --bs-btn-hover-border-color: var(--voy-primary);
    --bs-btn-active-color: var(--voy-primary-hover); --bs-btn-active-bg: var(--voy-surface); --bs-btn-active-border-color: var(--voy-primary);
    --bs-btn-focus-shadow-rgb: 8, 120, 223;
    font-weight: 600;
}

/* Header: white, 68 px, hairline separation. */
/* No backdrop-filter here: it would become the containing block of the fixed offcanvas menu. */
.site-header { background: #fff; border-bottom: 1px solid var(--voy-line-soft); }
.site-header .navbar { --bs-navbar-padding-y: 1px; min-height: var(--header-h); gap: .75rem; }
.site-header .container { gap: 1rem; flex-wrap: nowrap; }
/* The logo is 2.56:1 (taller than ski's): 168 px wide is 66 px high, the full header height. */
.site-header .navbar-brand { padding: 0; margin: 0 .25rem 0 0; flex-shrink: 0; line-height: 0; }
.site-header .navbar-brand img { width: 168px; height: auto; display: block; }
.site-header .navbar-toggler { border: 0; font-size: 1.6rem; color: var(--voy-navy); padding: .35rem .5rem; border-radius: var(--radius-control); }
.site-header .navbar-toggler:focus { box-shadow: var(--focus-ring); }
.site-header .navbar-nav { gap: .25rem; }
.site-header .nav-link { color: var(--voy-navy); font-weight: 600; font-size: .95rem; border-radius: var(--radius-control); padding: .5rem .75rem !important; display: flex; align-items: center; white-space: nowrap; }
.site-header .nav-link > .bi:first-child { color: var(--voy-navy); font-size: 1.05rem; margin-right: .45rem !important; }
.site-header .nav-link.dropdown-toggle::after { border-top-width: .3em; border-left-width: .28em; border-right-width: .28em; margin-left: .4em; opacity: .7; }
.site-header .nav-item-account .nav-link > .bi:first-child { font-size: 1.35rem; margin-right: 0 !important; }
.site-header .nav-link:hover, .site-header .nav-link.show { background: var(--voy-field); color: var(--voy-navy); text-decoration: none; }
.site-header .nav-link.active { color: var(--voy-primary-dark); box-shadow: inset 0 -2px 0 var(--voy-cyan); }
.site-header .nav-link-deals, .site-header .nav-link-deals:hover, .site-header .nav-link-deals.active { color: var(--voy-promo-dark); }
.site-header .nav-link-deals > .bi:first-child { color: var(--voy-promo); }
.site-header .nav-link-deals:hover { background: var(--voy-promo-soft); }
.site-header .dropdown-menu { border: 1px solid var(--voy-line-soft); border-radius: var(--card-radius); box-shadow: var(--shadow-menu); padding: .5rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .4rem .75rem; font-size: .93rem; color: var(--voy-text); }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--voy-surface); color: var(--voy-navy); }
.site-header .dropdown-header { font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--voy-muted); }
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (min-width: 992px) {
    /* Desktop nav reads as words; only the bons plans tag and the account icon keep their icon. */
    .site-header .nav-item:not(.nav-item-account) .nav-link:not(.nav-link-deals) > .bi:first-child { display: none; }
    .dropdown-menu-wide { min-width: 30rem; }
    .site-header .offcanvas { flex-grow: 0; margin-left: auto; }
    .header-actions { order: 3; margin-left: 0; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .navbar-brand img { width: 150px; }
    .site-header .navbar-nav { gap: 0; }
    .site-header .nav-link { padding: .5rem .55rem !important; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas { max-width: 22rem; }
    .site-header .offcanvas-body .nav-link { padding: .7rem .75rem !important; font-size: 1.05rem; }
    .site-header .dropdown-menu { box-shadow: none; border: 0; background: var(--voy-surface); margin: .25rem 0 .5rem; }
}
@media (max-width: 575.98px) {
    .site-header .navbar-brand img { width: 136px; }
    .site-header .container { gap: .5rem; }
}

/* Header search (travel agencies, legacy popup search): secondary to the hero search. */
.header-search { flex: 1 1 auto; min-width: 0; max-width: 22rem; margin-left: 1rem; }
@media (max-width: 991.98px) { .header-search { margin-left: .5rem; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .header-search { max-width: 15rem; margin-left: .25rem; } }
.header-search-mobile { max-width: none; margin-left: 0; }
.header-search-field { position: relative; }
.header-search-field .header-search-icon { position: absolute; left: .9rem; font-size: 1rem; top: 50%; transform: translateY(-50%); color: var(--voy-muted); pointer-events: none; }
.header-search-field .form-control { border-radius: var(--radius-control); background: var(--voy-field); border: 1px solid var(--voy-line); padding: .5rem .9rem .5rem 2.5rem; min-height: 2.6rem; font-size: .95rem; color: var(--voy-text); transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.header-search-field .form-control::placeholder { color: #62748c; }
.header-search-field .form-control:focus { background: #fff; border-color: var(--voy-primary); box-shadow: var(--focus-ring); }

.feature-icon { flex-shrink: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--voy-surface); color: var(--voy-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }

/* Sections */
.section { padding-top: 3.5rem; }
.section-band { margin-top: 3.5rem; padding-top: 3rem; padding-bottom: 3rem; background: #fff; border-block: 1px solid var(--voy-line-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
/* Kickers in blue (editorial labels); magenta only for the promotion sections. */
.section-kicker { display: flex; align-items: center; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--voy-primary-dark); margin-bottom: .4rem; }
/* One heading pattern on every section: fuchsia dash + uppercase blue kicker, navy H2, optional lead. */
.section-kicker-dash::before { content: ""; display: inline-block; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--voy-promo); margin-right: .7rem; }
.section-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--voy-navy); margin: 0; }
.section-lead { color: var(--voy-muted); margin: .35rem 0 0; max-width: 46rem; }
.section-actions { display: flex; align-items: center; gap: 1rem; }
.section-link { white-space: nowrap; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }

/* Chips */
.chips-title { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-muted); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--radius-chip); padding: .45rem .9rem; color: var(--voy-navy); font-weight: 500; font-size: .93rem; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--voy-primary); background: var(--voy-surface); color: var(--voy-primary-hover); text-decoration: none; }
.chip .bi { color: var(--voy-primary); }
.chip-more { background: var(--voy-primary-dark); border-color: var(--voy-primary-dark); color: #fff; font-weight: 600; }
.chip-more .bi { color: #fff; }
.chip-more:hover { background: var(--voy-primary-hover); border-color: var(--voy-primary-hover); color: #fff; }

/* Footer */
.site-footer { margin-top: 4rem; color: rgba(255, 255, 255, .8); }
.footer-wave { color: var(--voy-navy); line-height: 0; }
.footer-wave svg { display: block; }
.footer-main { background: var(--voy-navy); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--voy-cyan-light); }
/* Transparent logo with navy lettering: shown on a white plate on the navy footer. */
.footer-logo { display: inline-block; line-height: 0; background: #fff; border-radius: 12px; padding: .55rem .8rem; }
.footer-logo img { width: 150px; height: auto; }
.footer-title { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; margin-bottom: .75rem; }
.site-footer li { padding: .2rem 0; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 1.05rem; transition: background-color .15s ease; }
.social-link:hover { background: var(--voy-primary-dark); color: #fff !important; }
.footer-bottom { background: rgba(3, 36, 74, .35); color: rgba(255, 255, 255, .72); }

/* Page head band: breadcrumb, kicker, H1, lead (white band under the header, hairline below). */
.page-head { background: #fff; border-bottom: 1px solid var(--voy-line-soft); padding: 1rem 0 1.75rem; }
.page-head-compact { padding-bottom: 1.25rem; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.page-head-text { min-width: 0; flex: 1 1 auto; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; color: var(--voy-navy); margin: 0; overflow-wrap: anywhere; }
.page-lead { color: var(--voy-muted); margin: .6rem 0 0; max-width: 52rem; font-size: 1.02rem; }
.page-lead p:last-child { margin-bottom: 0; }
.page-head .section-kicker { margin-bottom: .5rem; }
@media (max-width: 767.98px) {
    .page-head { padding: .75rem 0 1.25rem; }
    .page-head-row { flex-direction: column; align-items: stretch; }
    .page-lead { font-size: .96rem; }
}

/* Breadcrumb */
.page-breadcrumb { margin-bottom: .9rem; }
.page-breadcrumb .breadcrumb { --bs-breadcrumb-divider-color: #9aabbf; --bs-breadcrumb-item-active-color: var(--voy-muted); --bs-breadcrumb-item-padding-x: .45rem; margin: 0; font-size: .85rem; flex-wrap: wrap; row-gap: .15rem; }
.page-breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; min-width: 0; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "›"; font-size: 1rem; line-height: 1; }
.page-breadcrumb a { color: var(--voy-primary-dark); font-weight: 500; }
.page-breadcrumb .breadcrumb-item.active { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-breadcrumb .bi-house { font-size: .95rem; vertical-align: -.1em; }
@media (max-width: 575.98px) {
    /* Phones: one scrolling line instead of three wrapped lines. */
    .page-breadcrumb .breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: .1rem; }
    .page-breadcrumb .breadcrumb::-webkit-scrollbar { display: none; }
    .page-breadcrumb .breadcrumb-item.active { overflow: visible; }
}


/* ---------- Part 2: blog components ---------- */

main { display: block; }
.section-sm { padding-top: 2.25rem; }
.page-head { padding: 1.1rem 0 1.6rem; }
.page-lead > :last-child { margin-bottom: 0; }
.page-lead p { margin-bottom: .5rem; }
.page-count { font-size: .88rem; font-weight: 600; color: var(--voy-muted); }
.section-head-center { justify-content: center; text-align: center; }
.section-head-center .section-lead { max-width: 46rem; margin-inline: auto; }

/* Deals button: the promo colour, only for the bons plans link (main-site rule). */
.btn-deals {
    --bs-btn-color: var(--voy-promo-dark); --bs-btn-bg: #fff; --bs-btn-border-color: #f7bfd5;
    --bs-btn-hover-color: var(--voy-promo-dark); --bs-btn-hover-bg: var(--voy-promo-soft); --bs-btn-hover-border-color: var(--voy-promo);
    --bs-btn-active-color: var(--voy-promo-dark); --bs-btn-active-bg: var(--voy-promo-soft); --bs-btn-active-border-color: var(--voy-promo);
    font-weight: 700;
}
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-control); }
.btn:hover { text-decoration: none; }
.btn-lg { font-size: 1.02rem; padding: .7rem 1.3rem; }

/* Cards (blog index, archives, related, home): one card per article. */
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.post-card:hover { box-shadow: var(--shadow-hover); border-color: #cfe2f0; transform: translateY(-2px); }
.post-card:has(.post-card-title a:focus-visible) { outline: 3px solid var(--voy-primary-dark); outline-offset: 2px; }
.post-card-media { display: block; aspect-ratio: 3 / 2; background: var(--voy-surface); overflow: hidden; }
.post-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.5rem; color: var(--voy-primary-dark); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.15rem 1.1rem; }
.post-card-category { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-primary-dark); margin: 0 0 .35rem; }
.post-card-title { font-size: 1.1rem; font-weight: 800; line-height: 1.3; margin: 0 0 .5rem; }
.post-card-title a { color: var(--voy-navy); }
.post-card-title a:hover { text-decoration: none; color: var(--voy-primary-hover); }
.post-card-title a:focus-visible { outline: 0; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card-excerpt { font-size: .9rem; color: var(--voy-muted); line-height: 1.5; margin: 0 0 .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; margin: auto 0 0; padding-top: .75rem; border-top: 1px solid var(--voy-line-soft); font-size: .8rem; color: var(--voy-muted); }
.post-card-meta .bi { color: var(--voy-primary-dark); }

/* Pagination (Understrap markup). */
.pagination { gap: .35rem; justify-content: center; margin: 2.25rem 0 0; flex-wrap: wrap; }
.pagination .page-link { border-radius: var(--radius-control) !important; border: 1px solid var(--voy-line); color: var(--voy-navy); font-weight: 600; min-width: 2.6rem; text-align: center; }
.pagination .page-item.active .page-link { background: var(--voy-primary-dark); border-color: var(--voy-primary-dark); color: #fff; }

/* Article and page: cover header */
.cover-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(380px, 32vw, 460px); color: #fff; background: var(--voy-navy); overflow: hidden; }
.cover-hero-media { position: absolute; inset: 0; z-index: -2; }
.cover-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cover-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(20deg, rgba(3, 36, 74, .94) 0%, rgba(6, 74, 142, .78) 32%, rgba(6, 74, 142, .38) 62%, rgba(6, 74, 142, .12) 100%),
    linear-gradient(180deg, rgba(3, 36, 74, .42) 0%, rgba(3, 36, 74, 0) 26%); }
.cover-hero-plain { background: radial-gradient(120% 140% at 100% 0%, #13bceb 0%, rgba(63, 143, 216, 0) 55%), linear-gradient(135deg, var(--voy-navy) 0%, var(--voy-navy-2) 55%, #0878df 100%); }
.cover-hero-plain::before { background: linear-gradient(20deg, rgba(3, 36, 74, .55) 0%, rgba(3, 36, 74, 0) 60%); }
.cover-hero-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; align-self: stretch; padding-top: 1.1rem; padding-bottom: 2.4rem; }
.cover-hero-text { max-width: 52rem; }
.cover-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .82); margin: 0; text-shadow: 0 1px 6px rgba(3, 36, 74, .5); }
.cover-hero .breadcrumb-item a { color: #fff; font-weight: 600; }
.cover-hero .breadcrumb-item.active { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 26rem; }
.cover-hero a:focus-visible { outline-color: #fff; }
.cover-hero .article-category { color: #fff; background: var(--voy-primary-dark); box-shadow: 0 2px 10px rgba(3, 36, 74, .25); }
.cover-hero .article-category:hover { background: var(--voy-primary-hover); }
.cover-hero .article-title { color: #fff; text-shadow: 0 2px 18px rgba(3, 36, 74, .45); }
.cover-hero .article-meta { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(3, 36, 74, .5); }
.cover-hero .article-meta .bi { color: var(--voy-cyan-light); }
@media (max-width: 575.98px) {
    .cover-hero { min-height: 280px; }
    .cover-hero::before { background: linear-gradient(0deg, rgba(3, 36, 74, .95) 0%, rgba(6, 74, 142, .72) 45%, rgba(6, 74, 142, .3) 75%, rgba(3, 36, 74, .45) 100%); }
    .cover-hero-plain::before { background: none; }
    .cover-hero-inner { gap: 1.25rem; padding-bottom: 1.6rem; }
    .cover-hero .breadcrumb { font-size: .8rem; }
    .cover-hero .breadcrumb-item.active { display: none; }
}
.article-category { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-primary-hover); background: var(--voy-surface); border-radius: 7px; padding: .3rem .65rem; margin-bottom: .85rem; }
.article-category:hover { text-decoration: none; background: #d5f1fb; }
.article-title { font-size: clamp(1.7rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--voy-navy); margin: 0 0 .9rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; font-size: .92rem; color: var(--voy-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .bi { color: var(--voy-primary-dark); }

/* Article and page: content column + sticky sidebar */
.article-layout { padding-top: 2.75rem; padding-bottom: 1rem; }
@media (max-width: 991.98px) { .article-layout { padding-top: 1.5rem; } }
.article-content { max-width: 50rem; }
.entry-content h2[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.article-aside { gap: 1.25rem; }
.article-aside-track { flex: 1 0 auto; }
.article-aside-inner { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1.15rem 1.25rem 1.2rem; }
.side-card-title { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--voy-navy); margin: 0 0 .75rem; }
.side-card-title .bi { color: var(--voy-primary-dark); font-size: 1rem; }
.article-toc-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.article-toc-list a { display: block; padding: .38rem .6rem .38rem .8rem; border-left: 2px solid var(--voy-line); color: var(--voy-text); font-size: .9rem; line-height: 1.35; transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
.article-toc-list a:hover { color: var(--voy-primary-hover); border-left-color: var(--voy-primary-dark); background: var(--voy-section); text-decoration: none; }
.article-toc-list a.is-active { color: var(--voy-primary-dark); border-left-color: var(--voy-primary-dark); font-weight: 700; background: var(--voy-surface); }
.article-toc-side .article-toc-list { max-height: calc(100vh - var(--header-h) - 24rem); overflow-y: auto; overscroll-behavior: contain; }
.article-toc-mobile { background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); margin-bottom: 1.75rem; }
.article-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; cursor: pointer; list-style: none; font-weight: 800; color: var(--voy-navy); }
.article-toc-mobile summary::-webkit-details-marker { display: none; }
.article-toc-mobile summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid var(--voy-primary-dark); border-bottom: 2px solid var(--voy-primary-dark); transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; flex-shrink: 0; }
.article-toc-mobile[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.article-toc-summary { display: inline-flex; align-items: center; gap: .5rem; }
.article-toc-summary .bi { color: var(--voy-primary-dark); }
.article-toc-count { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--voy-muted); }
.article-toc-mobile nav { padding: 0 1.1rem 1rem; }
.blog-cta.blog-cta-side { display: block; margin: 0; padding: 1.35rem 1.35rem 1.4rem; background-image: linear-gradient(160deg, var(--voy-surface) 0%, #fff 70%); border-radius: var(--card-radius); }
.blog-cta-side .blog-cta-icon { display: none; }
.blog-cta-side .blog-cta-title { font-size: 1.15rem; margin-bottom: .3rem; }
.blog-cta-side .blog-cta-lead { font-size: .9rem; margin-bottom: 1rem; }
.blog-cta-side .blog-cta-actions { flex-direction: column; gap: .5rem; }
.blog-cta-side .blog-cta-actions .btn { width: 100%; }
.side-posts-list { margin: 0; display: grid; gap: .85rem; }
.side-post { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; align-items: center; }
.side-post-media { display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--voy-surface); }
.side-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-post-media .post-card-placeholder { font-size: 1.5rem; }
.side-post-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; font-weight: 700; line-height: 1.3; color: var(--voy-navy); }
.side-post-title::after { content: ""; position: absolute; inset: 0; }
.side-post-title:hover { color: var(--voy-primary-hover); text-decoration: none; }
.side-post:hover .side-post-media img { transform: scale(1.04); }
.side-post-media img { transition: transform .25s ease; }
.side-post-date { margin: .2rem 0 0; font-size: .78rem; color: var(--voy-muted); }
@media (max-height: 640px) { .article-aside-inner { position: static; } }

.entry-content { font-size: 1.07rem; line-height: 1.75; color: #1d3150; overflow-wrap: break-word; }
.entry-content > * { margin-bottom: 1.15rem; }
.entry-content h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; color: var(--voy-navy); line-height: 1.25; margin: 2.75rem 0 1rem; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 1.22rem; font-weight: 700; color: var(--voy-navy); margin: 2rem 0 .75rem; }
.entry-content h4, .entry-content h5 { font-weight: 700; color: var(--voy-navy); margin: 1.5rem 0 .6rem; }
.entry-content a { color: var(--voy-primary-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--voy-primary-hover); text-decoration-thickness: 2px; }
.entry-content strong { color: var(--voy-text); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content li::marker { color: var(--voy-primary-dark); }
.entry-content blockquote { border-left: 4px solid var(--voy-primary-dark); background: #fff; border-radius: 0 var(--card-radius) var(--card-radius) 0; padding: 1rem 1.25rem; color: var(--voy-navy); font-style: italic; }
.entry-content figure, .entry-content .wp-block-image { margin: 1.75rem 0; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--card-radius); }
.entry-content .wp-block-image img { box-shadow: var(--shadow-soft); }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: .85rem; color: var(--voy-muted); text-align: center; margin-top: .5rem; }
.entry-content .wp-block-image.size-large img, .entry-content .wp-block-image.size-full img { width: 100%; }
.entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content .alignleft { float: left; margin: .35rem 1.5rem 1rem 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .35rem 0 1rem 1.5rem; max-width: 50%; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.entry-content th, .entry-content td { border: 1px solid var(--voy-line); padding: .5rem .75rem; }
.entry-content p:empty { display: none; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 575.98px) {
    .entry-content { font-size: 1.02rem; line-height: 1.7; }
    .entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 1rem 0; }
}

.article-tags { margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--voy-line); }
.chips { margin: 0; }
.chip { font-size: .88rem; padding: .38rem .8rem; }

/* Call to action to the main site */
.blog-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.5rem; margin: 2.5rem 0 0; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid #c6e6f6; border-radius: var(--radius-panel); box-shadow: var(--shadow-soft); background-image: linear-gradient(120deg, var(--voy-surface) 0%, #fff 55%); }
.blog-cta-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--voy-primary-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.blog-cta-title { font-size: 1.25rem; font-weight: 800; color: var(--voy-navy); margin: 0 0 .2rem; }
.blog-cta-lead { margin: 0; color: var(--voy-muted); font-size: .95rem; }
.blog-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 991.98px) {
    .blog-cta { grid-template-columns: auto 1fr; }
    .blog-cta-actions { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .blog-cta { grid-template-columns: 1fr; padding: 1.25rem; }
    .blog-cta-icon { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
    .blog-cta-actions .btn { flex: 1 1 100%; }
}

.related-posts { padding-bottom: .5rem; }
.article-comments { margin-top: 2.5rem; }

/* Home (magazine layout) */
.hero-eyebrow { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--voy-cyan-light); margin: 0 0 .6rem; }
.hero-eyebrow .bi { font-size: 1rem; }
.home-hero { position: relative; isolation: isolate; color: #fff; background: var(--voy-navy); overflow: hidden; }
.home-hero-bg { position: absolute; inset: 0; z-index: -2; }
.home-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 36, 74, .72) 0%, rgba(6, 74, 142, .86) 45%, var(--voy-navy) 100%); }
.home-hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; }
.home-hero-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.home-hero-title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; margin: 0; text-shadow: 0 2px 16px rgba(3, 36, 74, .35); }
.home-hero-lead { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.55; color: rgba(255, 255, 255, .9); margin: 0; max-width: 38rem; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; }
.feature-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 440px; border-radius: var(--radius-panel); overflow: hidden; background: linear-gradient(135deg, var(--voy-navy-2), #0878df); box-shadow: 0 18px 40px rgba(3, 30, 62, .35); }
.feature-card-media { position: absolute; inset: 0; z-index: -2; }
.feature-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(3, 36, 74, .95) 0%, rgba(6, 74, 142, .7) 38%, rgba(6, 74, 142, .1) 75%); }
.feature-card:hover .feature-card-media img { transform: scale(1.03); }
.feature-card-body { padding: 2rem 2.1rem; max-width: 40rem; }
.feature-card-kicker { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; }
.feature-card-kicker .article-category { margin: 0; color: #fff; background: var(--voy-primary-dark); }
.feature-card-flag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-sun); }
.feature-card-title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .7rem; text-shadow: 0 2px 14px rgba(3, 36, 74, .4); }
.feature-card-title a { color: #fff; }
.feature-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature-card-title a:hover { text-decoration: none; }
.feature-card:has(a:focus-visible) { outline: 3px solid #fff; outline-offset: 3px; }
.feature-card-title a:focus-visible { outline: none; }
.feature-card-excerpt { color: rgba(255, 255, 255, .9); line-height: 1.55; margin: 0 0 1.25rem; }
.feature-card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.feature-card-meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.feature-card-meta .bi { color: var(--voy-cyan-light); }
.feature-card:hover .btn-primary { background: var(--voy-primary-hover); border-color: var(--voy-primary-hover); }
.home-hero-side { display: flex; flex-direction: column; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-panel); padding: 1.1rem 1.1rem 1rem; }
.home-hero-side-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--voy-cyan-light); margin: .15rem .25rem .8rem; }
.mini-cards { margin: 0; display: grid; gap: .75rem; }
.mini-card { position: relative; display: grid; grid-template-columns: 6.5rem 1fr; gap: .85rem; align-items: center; background: #fff; border-radius: var(--card-radius); padding: .6rem; color: var(--voy-text); transition: box-shadow .18s ease, transform .18s ease; }
.mini-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(3, 30, 62, .3); }
.mini-card:has(a:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.mini-card-media { display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--voy-surface); }
.mini-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-card-media .post-card-placeholder { font-size: 1.5rem; }
.mini-card-body { min-width: 0; }
.mini-card .post-card-category { font-size: .68rem; margin-bottom: .2rem; }
.mini-card-title { font-size: .92rem; font-weight: 800; line-height: 1.28; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-card-title a { color: var(--voy-navy); }
.mini-card-title a::after { content: ""; position: absolute; inset: 0; }
.mini-card-title a:hover { text-decoration: none; color: var(--voy-primary-hover); }
.mini-card-title a:focus-visible { outline: none; }
.mini-card-meta { margin: .25rem 0 0; font-size: .76rem; color: var(--voy-muted); }
.home-hero-all { margin: auto .25rem 0; padding-top: .9rem; display: inline-flex; align-items: center; font-weight: 700; color: #fff; }
.home-hero-all:hover { color: var(--voy-cyan-light); }
.home-hero a:focus-visible { outline-color: #fff; }
@media (max-width: 991.98px) {
    .home-hero-head, .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-head { gap: .75rem; }
    .feature-card { min-height: 400px; }
}
@media (max-width: 575.98px) {
    .home-hero-inner { padding-top: 1.75rem; padding-bottom: 2rem; }
    .home-hero-head { margin-bottom: 1.4rem; }
    .feature-card { min-height: 380px; border-radius: var(--card-radius); }
    .feature-card-body { padding: 1.35rem 1.25rem; }
    .feature-card-excerpt { font-size: .95rem; }
    .home-hero-side { padding: .9rem .75rem .85rem; }
    .mini-card { grid-template-columns: 5.5rem 1fr; }
}

/* Editorial: the blog that inspires (old Hestia features) */
.home-editorial { margin-top: 3.5rem; padding: 3.5rem 0; background: #fff; border-block: 1px solid var(--voy-line-soft); }
.home-editorial-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3.5rem; align-items: center; }
.home-editorial-media { position: relative; margin: 0; }
.home-editorial-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-panel); box-shadow: var(--shadow-hover); }
.home-editorial-badge { position: absolute; right: -1rem; bottom: 1.75rem; background: #fff; color: var(--voy-muted); border-radius: var(--card-radius); box-shadow: var(--shadow-menu); padding: .9rem 1.1rem; font-size: .88rem; line-height: 1.5; }
.home-editorial-badge strong { color: var(--voy-primary-dark); font-size: 1.2rem; font-weight: 900; margin-right: .2rem; }
.home-editorial-lead { color: var(--voy-muted); font-size: 1.02rem; line-height: 1.65; margin: .6rem 0 1.5rem; }
.home-features { display: grid; gap: 1.25rem; margin: 0; }
.home-features li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.home-feature-title { font-size: 1.05rem; font-weight: 800; color: var(--voy-navy); margin: .15rem 0 .3rem; }
.home-features p { color: var(--voy-muted); font-size: .93rem; line-height: 1.6; margin: 0; }
.home-intro { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; margin-top: 3rem; padding: 1.75rem 2rem; background: var(--voy-surface); border: 1px solid #cdeaf7; border-radius: var(--radius-panel); }
.home-intro-icon { width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--voy-primary-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.home-intro-content { max-width: 60rem; font-size: 1.02rem; }
.home-intro-content h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; color: var(--voy-navy); margin: .2rem 0 .6rem; }
.home-intro-content .col-md-12 { padding: 0; }
.home-intro-content .col-md-12 > :last-child, .home-intro-content > *:last-child { margin-bottom: 0; }
.home-intro-content a { font-weight: 700; }
@media (max-width: 991.98px) {
    .home-editorial-grid { grid-template-columns: 1fr; }
    .home-editorial-media img { aspect-ratio: 16 / 9; }
    .home-editorial-badge { right: 1rem; bottom: 1rem; }
}
@media (max-width: 575.98px) {
    .home-editorial { margin-top: 2.5rem; padding: 2.5rem 0; }
    .home-intro { grid-template-columns: 1fr; padding: 1.35rem 1.25rem; gap: .75rem; margin-top: 2rem; }
    .home-intro-icon { width: 2.6rem; height: 2.6rem; font-size: 1.15rem; }
    .home-editorial-badge { font-size: .8rem; padding: .65rem .8rem; }
}

/* Themes: categories and tags */
.themes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.themes-tags { grid-column: 1 / -1; }
.themes-tags .chip .bi { font-size: .9rem; }
.theme-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 16rem; border-radius: var(--card-radius); overflow: hidden; background: linear-gradient(135deg, var(--voy-navy), #0878df); color: #fff; box-shadow: var(--shadow-soft); }
.theme-card:hover { text-decoration: none; color: #fff; box-shadow: var(--shadow-hover); }
.theme-card-media { position: absolute; inset: 0; z-index: -2; }
.theme-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.theme-card:hover .theme-card-media img { transform: scale(1.05); }
.theme-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 36, 74, .88) 0%, rgba(3, 36, 74, .2) 70%); }
.theme-card-body { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: 1.1rem 1.2rem; }
.theme-card-icon { grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--voy-primary-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.theme-card-name { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.theme-card-count { font-size: .85rem; color: rgba(255, 255, 255, .85); }
.themes-tags { background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1.15rem 1.25rem; }
.themes-tags .chips { gap: .4rem; }
.themes-tags .chip { font-size: .8rem; padding: .28rem .6rem; }
@media (max-width: 575.98px) { .themes-grid { grid-template-columns: 1fr; } .theme-card { min-height: 11rem; } }
.home-cta { padding-bottom: .5rem; }

/* Search form, empty state, 404 */
.search-form-field { position: relative; display: flex; gap: .5rem; max-width: 34rem; }
.search-form-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--voy-muted); pointer-events: none; }
.search-form .form-control { padding-left: 2.5rem; min-height: 2.9rem; border-color: #d3e4f1; background: #fff; }
.search-form .form-control:focus { border-color: var(--voy-primary-dark); box-shadow: var(--focus-ring); }
.empty-state { background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: 2rem; }
.error-hero { text-align: center; padding: 3.5rem 0 1rem; background: linear-gradient(180deg, #fff 0%, var(--voy-section) 100%); }
.error-code { font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--voy-surface); -webkit-text-stroke: 2px var(--voy-primary-dark); margin: 0 0 .5rem; }
.error-hero .page-lead { margin-inline: auto; max-width: 36rem; }
.error-search .search-form-field { margin-inline: auto; }
.error-hero .chips { justify-content: center; }

/* Comments (closed on every post; kept readable if reopened). */
.comment-respond, .comments-area { background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: 1.5rem; }

/* Admin bar offset for the sticky header. */
body.admin-bar .site-header.sticky-top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header.sticky-top { top: 46px; } }
.section-head > div:first-child { flex: 1 1 28rem; min-width: 0; }
.section-head-center > div:first-child { flex-basis: auto; }
.site-header .header-search-mobile { margin-left: 0; }

/* ---------- Part 2 additions of the 321Voyages blog ---------- */
:root {
    --voy-navy-2: #0a5aa6;          /* second navy of the gradients (cover without photo, cards) */
}
body { font-family: var(--bs-body-font-family); background: var(--voy-section); color: var(--voy-text); }
/* Kicker dash: cyan (editorial decoration, --voy-cyan's role); pink only on the promotion section. */
.section-kicker-dash::before { background: var(--voy-cyan); }
.section-kicker-promo { color: var(--voy-promo-dark); }
.section-kicker-promo.section-kicker-dash::before { background: var(--voy-promo); }
.site-footer a:focus-visible, .home-hero a:focus-visible, .cover-hero a:focus-visible { outline-color: #fff; }
.header-actions .navbar-toggler { margin-left: 0; }

/* Home category sections: one lead card (large photo) + three cards; alternate sections on white. */
.home-section-alt { margin-top: 3.5rem; padding-top: 3rem; padding-bottom: 3rem; background: #fff; border-block: 1px solid var(--voy-line-soft); }
.home-section-alt + .home-section { padding-top: 3rem; }
.home-section-alt + .home-editorial { margin-top: 0; border-top: 0; }
.section-grid { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.section-grid .post-card-lead { grid-row: span var(--rows, 3); }
.post-card-lead .post-card-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 16rem; }
.post-card-lead .post-card-title { font-size: 1.35rem; }
.post-card-lead .post-card-excerpt { -webkit-line-clamp: 4; }
.section-grid .post-card-row { flex-direction: row; }
.section-grid .post-card-row .post-card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.section-grid .post-card-row .post-card-excerpt { display: none; }
.section-grid .post-card-row .post-card-title { font-size: 1rem; }
@media (max-width: 991.98px) {
    .section-grid { grid-template-columns: 1fr; }
    .section-grid .post-card-lead { grid-row: auto; }
    .post-card-lead .post-card-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 575.98px) {
    .section-grid .post-card-row .post-card-media { flex-basis: 34%; }
    .section-grid .post-card-row .post-card-body { padding: .75rem .85rem .8rem; }
    .section-grid .post-card-row .post-card-meta { font-size: .74rem; }
}
/* Promotion strip of the "Bons plans" section (the one pink accent of the home). */
.promo-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid #f7bfd5; border-left: 4px solid var(--voy-promo); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); }
.promo-strip-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--voy-promo-soft); color: var(--voy-promo-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.promo-strip-text { margin: 0; color: var(--voy-muted); }
.promo-strip-text strong { color: var(--voy-navy); }
.promo-strip-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 767.98px) { .promo-strip { grid-template-columns: auto 1fr; } .promo-strip-actions { grid-column: 1 / -1; } }
/* Pages of a post split with <!--nextpage-->. */
.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.5rem 0 0; font-weight: 600; color: var(--voy-muted); }
.page-links a, .page-links > span:not(:first-child) { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .6rem; border: 1px solid var(--voy-line); border-radius: var(--radius-control); background: #fff; }
.themes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .themes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .themes-grid { grid-template-columns: 1fr 1fr; gap: .75rem; } .theme-card { min-height: 9rem; } .theme-card-body { padding: .8rem; grid-template-columns: 1fr; } .theme-card-icon { display: none; } .theme-card-name { font-size: 1rem; } }
.theme-card { min-height: 12rem; }
