/*
 * OOVacances blog: child theme of Understrap (Bootstrap 5), adapted from the 321voyages blog theme
 * (understrap-oovacances). Part 1: tokens and the header, buttons and footer rules copied verbatim from the
 * redesigned main site (app/assets/styles/app.css): keep them in sync when the main site changes. Part 2:
 * the blog components (cards, article, magazine home, archives) re-tokenised for oovacances. Blue is the
 * action colour; pink is the owners' accent (kickers' dash, "Publier une annonce"); the sun is decoration only.
 */

/* ---------- Part 1: main site (app/assets/styles/app.css) ---------- */
:root {
    /* Palette of the main site (app/assets/styles/app.css, docs/migration/REDESIGN.md §2) */
    --oov-navy: #001d65;            /* headings, nav, strong type, footer (16.0:1 on white) */
    --oov-navy-2: #00308f;          /* second stop of the navy gradients */
    --oov-text: #14213d;            /* body copy */
    --oov-muted: #55627a;           /* secondary copy (5.9:1 on white) */
    --oov-blue: #0057c2;            /* brand blue: links, primary buttons (white on it 6.7:1) */
    --oov-blue-hover: #00479f;
    --oov-blue-active: #003c87;
    --oov-blue-light: #8fc1ff;      /* accent on the navy surfaces */
    --oov-pink: #fe136a;            /* brand pink: kickers' dash, icons, large accents (non-text or large only) */
    --oov-pink-dark: #d1004f;       /* pink buttons ("Publier une annonce") and pink small text (white on it 5.5:1) */
    --oov-pink-hover: #b00043;
    --oov-pink-soft: #ffe7f0;
    --oov-sun: #ffc900;             /* decoration only (sun of the logo), never text */
    --oov-surface: #edf4fd;         /* pale blue: icon circles, chips, hover */
    --oov-section: #f6f8fb;         /* alternate section background */
    --oov-warm: #fff8e6;
    --oov-field: #f1f5fa;
    --oov-line: #dbe3ee;
    --oov-line-soft: #e8edf4;

    /* Shapes and depth */
    --radius-chip: 999px;
    --radius-control: 10px;
    --card-radius: 16px;
    --radius-panel: 20px;
    --shadow-soft: 0 1px 2px rgba(0, 29, 101, .05), 0 2px 10px rgba(0, 29, 101, .06);
    --shadow-hover: 0 2px 4px rgba(0, 29, 101, .06), 0 12px 28px rgba(0, 29, 101, .12);
    --shadow-menu: 0 4px 10px rgba(0, 29, 101, .08), 0 14px 30px rgba(0, 29, 101, .12);
    --focus-ring: 0 0 0 3px rgba(0, 87, 194, .35);
    --header-h: 72px;
    --site-max: 1200px;

    --bs-primary: var(--oov-blue);
    --bs-primary-rgb: 0, 87, 194;
    --bs-link-color: var(--oov-blue);
    --bs-link-color-rgb: 0, 87, 194;
    --bs-link-hover-color: var(--oov-blue-hover);
    --bs-link-hover-color-rgb: 0, 71, 159;
    --bs-body-bg: #fff;
    --bs-body-color: var(--oov-text);
    /* Same local font stack as the main site: no web font, no external request. */
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-border-radius: var(--radius-control);
    --bs-border-color: var(--oov-line);
    --bs-emphasis-color: var(--oov-navy);
}

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(--oov-blue); 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(--oov-blue); }

.feature-icon { flex-shrink: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--oov-surface); color: var(--oov-blue); 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(--oov-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(--oov-pink-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(--oov-pink); margin-right: .7rem; }
.section-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--oov-navy); margin: 0; }
.section-lead { color: var(--oov-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(--oov-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(--oov-line); border-radius: var(--radius-chip); padding: .45rem .9rem; color: var(--oov-navy); font-weight: 500; font-size: .93rem; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--oov-blue); background: var(--oov-surface); color: var(--oov-blue-hover); text-decoration: none; }
.chip .bi { color: var(--oov-blue); }
.chip-more { background: var(--oov-blue); border-color: var(--oov-blue); color: #fff; font-weight: 600; }
.chip-more .bi { color: #fff; }
.chip-more:hover { background: var(--oov-blue-hover); border-color: var(--oov-blue-hover); color: #fff; }

/* Page head band: breadcrumb, kicker, H1, lead (white band under the header, hairline below). */
.page-head { background: #fff; border-bottom: 1px solid var(--oov-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(--oov-navy); margin: 0; overflow-wrap: anywhere; }
.page-lead { color: var(--oov-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(--oov-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(--oov-blue); 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; }
}



/* Buttons: blue is the action colour; pink is the owners' call to action (publish). */
.btn { font-weight: 600; border-radius: var(--radius-control); }
.btn-primary {
    --bs-btn-color: #fff; --bs-btn-bg: var(--oov-blue); --bs-btn-border-color: var(--oov-blue);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--oov-blue-hover); --bs-btn-hover-border-color: var(--oov-blue-hover);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--oov-blue-active); --bs-btn-active-border-color: var(--oov-blue-active);
    --bs-btn-disabled-bg: var(--oov-blue); --bs-btn-disabled-border-color: var(--oov-blue);
    --bs-btn-focus-shadow-rgb: 0, 87, 194;
    font-weight: 700;
}
.btn-outline-primary {
    --bs-btn-color: var(--oov-blue); --bs-btn-bg: #fff; --bs-btn-border-color: #b5cff0;
    --bs-btn-hover-color: var(--oov-blue-hover); --bs-btn-hover-bg: var(--oov-surface); --bs-btn-hover-border-color: var(--oov-blue);
    --bs-btn-active-color: var(--oov-blue-hover); --bs-btn-active-bg: var(--oov-surface); --bs-btn-active-border-color: var(--oov-blue);
    --bs-btn-focus-shadow-rgb: 0, 87, 194;
}
.btn-owner-cta {
    --bs-btn-color: #fff; --bs-btn-bg: var(--oov-pink-dark); --bs-btn-border-color: var(--oov-pink-dark);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--oov-pink-hover); --bs-btn-hover-border-color: var(--oov-pink-hover);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--oov-pink-hover); --bs-btn-active-border-color: var(--oov-pink-hover);
    --bs-btn-focus-shadow-rgb: 209, 0, 79;
    font-weight: 700;
}

/* Header: white, logo left, words on desktop, offcanvas below lg. */
.site-header { background: #fff; border-bottom: 1px solid var(--oov-line-soft); }
.site-header .navbar { --bs-navbar-padding-y: 2px; min-height: var(--header-h); }
.site-header .container { gap: 1rem; flex-wrap: nowrap; }
.site-header .navbar-brand { padding: 0; margin: 0; flex-shrink: 0; line-height: 0; }
.site-header .navbar-brand img { width: 178px; height: auto; display: block; }
.site-header .navbar-toggler { border: 0; font-size: 1.6rem; color: var(--oov-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(--oov-navy); font-weight: 600; font-size: .97rem; border-radius: var(--radius-control); padding: .55rem .8rem !important; display: flex; align-items: center; white-space: nowrap; }
.site-header .nav-link > .bi:first-child { 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-link:hover, .site-header .nav-link.show { background: var(--oov-surface); color: var(--oov-navy); text-decoration: none; }
.site-header .nav-link.active { color: var(--oov-blue); box-shadow: inset 0 -2px 0 var(--oov-pink); }
.site-header .dropdown-menu { border: 1px solid var(--oov-line-soft); border-radius: var(--card-radius); box-shadow: var(--shadow-menu); padding: .6rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .42rem .75rem; font-size: .94rem; color: var(--oov-text); display: flex; align-items: center; }
.site-header .dropdown-item .bi { color: var(--oov-blue); }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--oov-surface); color: var(--oov-navy); }
.site-header .dropdown-header { font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--oov-muted); }
.dropdown-columns { display: grid; grid-template-columns: 1fr 1fr; }
.btn-owner { display: inline-flex; align-items: center; border: 1px solid var(--oov-line); background: #fff; color: var(--oov-navy); padding: .35rem .9rem .35rem .7rem; line-height: 1.1; text-align: left; }
.btn-owner .bi { font-size: 1.6rem; color: var(--oov-blue); }
.btn-owner-label { display: block; font-weight: 700; font-size: .92rem; }
.btn-owner-sub { display: block; font-weight: 500; font-size: .76rem; color: var(--oov-muted); }
.btn-owner:hover { background: var(--oov-surface); border-color: #b5cff0; color: var(--oov-navy); text-decoration: none; }
.favorites-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; color: var(--oov-navy); font-size: 1.25rem; flex-shrink: 0; }
.favorites-link:hover { background: var(--oov-surface); color: var(--oov-pink-dark); }
.favorites-count { position: absolute; top: .1rem; right: 0; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 999px; background: var(--oov-pink-dark); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1.15rem; text-align: center; }
.favorites-count-inline { position: static; margin-left: .4rem; }
.favorites-count[hidden] { display: none; }
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (min-width: 992px) {
    .header-actions { display: none; }
    .site-header .offcanvas { flex-grow: 0; margin-left: auto; }
    .dropdown-menu-wide { min-width: 30rem; }
    .nav-item-owner { margin-left: .5rem; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas { max-width: 22rem; }
    .site-header .offcanvas-body .nav-link { padding: .75rem .75rem !important; font-size: 1.05rem; }
    .site-header .dropdown-menu { box-shadow: none; border: 0; background: var(--oov-section); margin: .25rem 0 .5rem; }
    .nav-item-owner { margin-top: 1rem; }
    .nav-item-owner .btn-owner { width: 100%; padding: .7rem .9rem; }
}
@media (max-width: 575.98px) {
    .site-header .navbar-brand img { width: 150px; }
}

/* Footer: navy, link columns, legal row. */
.site-footer { background: var(--oov-navy); color: rgba(255, 255, 255, .86); margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--oov-blue-light); }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: .5rem .75rem; line-height: 0; }
.footer-title { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; margin-bottom: .75rem; }
.site-footer li { padding: .2rem 0; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.social-link:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-legal .list-inline-item:not(:last-child) { margin-right: 1rem; }

/* ---------- 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(--oov-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(--oov-pink-dark); --bs-btn-bg: #fff; --bs-btn-border-color: #f7bfd5;
    --bs-btn-hover-color: var(--oov-pink-dark); --bs-btn-hover-bg: var(--oov-pink-soft); --bs-btn-hover-border-color: var(--oov-pink);
    --bs-btn-active-color: var(--oov-pink-dark); --bs-btn-active-bg: var(--oov-pink-soft); --bs-btn-active-border-color: var(--oov-pink);
    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(--oov-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(--oov-blue); outline-offset: 2px; }
.post-card-media { display: block; aspect-ratio: 3 / 2; background: var(--oov-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(--oov-blue); }
.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(--oov-blue); 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(--oov-navy); }
.post-card-title a:hover { text-decoration: none; color: var(--oov-blue-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(--oov-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(--oov-line-soft); font-size: .8rem; color: var(--oov-muted); }
.post-card-meta .bi { color: var(--oov-blue); }

/* 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(--oov-line); color: var(--oov-navy); font-weight: 600; min-width: 2.6rem; text-align: center; }
.pagination .page-item.active .page-link { background: var(--oov-blue); border-color: var(--oov-blue); 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(--oov-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(0, 14, 50, .94) 0%, rgba(0, 29, 101, .78) 32%, rgba(0, 29, 101, .38) 62%, rgba(0, 29, 101, .12) 100%),
    linear-gradient(180deg, rgba(0, 14, 50, .42) 0%, rgba(0, 14, 50, 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(--oov-navy) 0%, var(--oov-navy-2) 55%, #0878df 100%); }
.cover-hero-plain::before { background: linear-gradient(20deg, rgba(0, 14, 50, .55) 0%, rgba(0, 14, 50, 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(0, 14, 50, .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(--oov-blue); box-shadow: 0 2px 10px rgba(0, 14, 50, .25); }
.cover-hero .article-category:hover { background: var(--oov-blue-hover); }
.cover-hero .article-title { color: #fff; text-shadow: 0 2px 18px rgba(0, 14, 50, .45); }
.cover-hero .article-meta { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 14, 50, .5); }
.cover-hero .article-meta .bi { color: var(--oov-blue-light); }
@media (max-width: 575.98px) {
    .cover-hero { min-height: 280px; }
    .cover-hero::before { background: linear-gradient(0deg, rgba(0, 14, 50, .95) 0%, rgba(0, 29, 101, .72) 45%, rgba(0, 29, 101, .3) 75%, rgba(0, 14, 50, .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(--oov-blue-hover); background: var(--oov-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(--oov-navy); margin: 0 0 .9rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; font-size: .92rem; color: var(--oov-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .bi { color: var(--oov-blue); }

/* 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(--oov-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(--oov-navy); margin: 0 0 .75rem; }
.side-card-title .bi { color: var(--oov-blue); 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(--oov-line); color: var(--oov-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(--oov-blue-hover); border-left-color: var(--oov-blue); background: var(--oov-section); text-decoration: none; }
.article-toc-list a.is-active { color: var(--oov-blue); border-left-color: var(--oov-blue); font-weight: 700; background: var(--oov-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(--oov-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(--oov-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(--oov-blue); border-bottom: 2px solid var(--oov-blue); 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(--oov-blue); }
.article-toc-count { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--oov-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(--oov-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(--oov-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(--oov-navy); }
.side-post-title::after { content: ""; position: absolute; inset: 0; }
.side-post-title:hover { color: var(--oov-blue-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(--oov-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(--oov-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(--oov-navy); margin: 2rem 0 .75rem; }
.entry-content h4, .entry-content h5 { font-weight: 700; color: var(--oov-navy); margin: 1.5rem 0 .6rem; }
.entry-content a { color: var(--oov-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--oov-blue-hover); text-decoration-thickness: 2px; }
.entry-content strong { color: var(--oov-text); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content li::marker { color: var(--oov-blue); }
.entry-content blockquote { border-left: 4px solid var(--oov-blue); background: #fff; border-radius: 0 var(--card-radius) var(--card-radius) 0; padding: 1rem 1.25rem; color: var(--oov-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(--oov-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(--oov-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(--oov-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(--oov-surface) 0%, #fff 55%); }
.blog-cta-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--oov-blue); 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(--oov-navy); margin: 0 0 .2rem; }
.blog-cta-lead { margin: 0; color: var(--oov-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(--oov-blue-light); margin: 0 0 .6rem; }
.hero-eyebrow .bi { font-size: 1rem; }
.home-hero { position: relative; isolation: isolate; color: #fff; background: var(--oov-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(0, 14, 50, .72) 0%, rgba(0, 29, 101, .86) 45%, var(--oov-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(0, 14, 50, .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(--oov-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(0, 14, 50, .95) 0%, rgba(0, 29, 101, .7) 38%, rgba(0, 29, 101, .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(--oov-blue); }
.feature-card-flag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.feature-card-flag::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--oov-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(0, 14, 50, .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(--oov-blue-light); }
.feature-card:hover .btn-primary { background: var(--oov-blue-hover); border-color: var(--oov-blue-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(--oov-blue-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(--oov-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(--oov-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(--oov-navy); }
.mini-card-title a::after { content: ""; position: absolute; inset: 0; }
.mini-card-title a:hover { text-decoration: none; color: var(--oov-blue-hover); }
.mini-card-title a:focus-visible { outline: none; }
.mini-card-meta { margin: .25rem 0 0; font-size: .76rem; color: var(--oov-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(--oov-blue-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(--oov-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(--oov-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(--oov-blue); font-size: 1.2rem; font-weight: 900; margin-right: .2rem; }
.home-editorial-lead { color: var(--oov-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(--oov-navy); margin: .15rem 0 .3rem; }
.home-features p { color: var(--oov-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(--oov-surface); border: 1px solid #cdeaf7; border-radius: var(--radius-panel); }
.home-intro-icon { width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--oov-blue); 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(--oov-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(--oov-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(0, 14, 50, .88) 0%, rgba(0, 14, 50, .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(--oov-blue); 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(--oov-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(--oov-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(--oov-blue); box-shadow: var(--focus-ring); }
.empty-state { background: #fff; border: 1px solid var(--oov-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(--oov-section) 100%); }
.error-code { font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--oov-surface); -webkit-text-stroke: 2px var(--oov-blue); 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(--oov-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 {
    --oov-navy-2: #0a5aa6;          /* second navy of the gradients (cover without photo, cards) */
}
body { font-family: var(--bs-body-font-family); background: var(--oov-section); color: var(--oov-text); }
/* Kicker dash: cyan (editorial decoration, --oov-pink's role); pink only on the promotion section. */
.section-kicker-dash::before { background: var(--oov-pink); }
.section-kicker-promo { color: var(--oov-pink-dark); }
.section-kicker-promo.section-kicker-dash::before { background: var(--oov-pink); }
.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(--oov-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(--oov-pink); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); }
.promo-strip-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--oov-pink-soft); color: var(--oov-pink-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.promo-strip-text { margin: 0; color: var(--oov-muted); }
.promo-strip-text strong { color: var(--oov-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(--oov-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(--oov-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; }

/* ---------- oovacances additions ---------- */
/* The main site's footer has no top margin (its last section is a band); blog pages end on content. */
.site-footer { margin-top: 4rem; }
/* Owners' call to action in the article sidebar: full-width buttons. */
.blog-cta-side .blog-cta-actions .btn { width: 100%; }
