/*
Theme Name: JCA Editorial
Theme URI: https://www.jechercheunassureur.com/blog/
Author: JeChercheUnAssureur.com
Description: Theme editorial sur mesure, rapide et accessible pour le blog JeChercheUnAssureur.com.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jca-editorial
*/

:root {
    --navy: #0d203e;
    --blue: #0b568e;
    --blue-dark: #083f69;
    --orange: #ef6c2f;
    --ink: #14243c;
    --muted: #5b687d;
    --line: #dce3eb;
    --soft: #f4f7fa;
    --white: #fff;
    --content: 1160px;
    --reading: 760px;
    --header: 92px;
    --radius: 8px;
    --shadow: 0 10px 30px rgba(13, 32, 62, .08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

figure { margin: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

button,
input,
textarea,
select { font: inherit; }

button,
.button { cursor: pointer; }

h1,
h2,
h3,
h4 {
    margin: 0 0 .65em;
    color: var(--navy);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 1.2em; }

.container {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

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

.screen-reader-text:focus {
    position: fixed;
    z-index: 99999;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button:hover { background: var(--blue-dark); color: var(--white); }
.button--light { background: var(--white); color: var(--blue); }
.button--light:hover { background: #eef5fa; color: var(--blue-dark); }
.button--outline { border-color: #aab9c8; background: transparent; color: var(--navy); }
.button--outline:hover { border-color: var(--blue); background: #edf5fa; color: var(--blue-dark); }

.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.icon--small { width: 17px; height: 17px; }

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    height: var(--header);
    border-bottom: 1px solid rgba(13, 32, 62, .1);
    background: rgba(255, 255, 255, .98);
}

.header-inner {
    display: flex;
    width: min(calc(100% - 40px), 1320px);
    height: 100%;
    align-items: center;
    gap: 24px;
}

.site-logo { display: block; flex: 0 1 250px; min-width: 180px; }
.site-logo img { width: 250px; max-height: 70px; object-fit: contain; object-position: left center; }

.main-nav { margin-left: auto; }
.main-nav ul { margin: 0; padding: 0; list-style: none; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__list > li { position: relative; }

.main-nav__link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 6px;
    color: #40506a;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease;
}

.main-nav__link:hover,
.main-nav__link[aria-current="page"],
.main-nav .current-menu-item > .main-nav__link,
.main-nav .current-menu-ancestor > .main-nav__link { background: #edf4f8; color: var(--blue); }

.main-nav .menu-item-has-children > .main-nav__link::after {
    content: "";
    width: 7px;
    height: 7px;
    margin: -4px 2px 0 3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.main-nav .sub-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    left: 0;
    width: max-content;
    min-width: 250px;
    max-width: 320px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.main-nav__list > li:last-child > .sub-menu { right: 0; left: auto; }
.main-nav .sub-menu .sub-menu { top: -8px; left: calc(100% + 9px); }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu .main-nav__link { min-height: 42px; padding: 10px 12px; white-space: normal; }
.submenu-toggle { display: none; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
}

/* Home hero */
.home-hero {
    position: relative;
    min-height: min(610px, calc(100vh - var(--header)));
    display: flex;
    align-items: center;
    background-color: #155b7f;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 45, 70, .68);
}

.home-hero__inner { position: relative; z-index: 1; padding-block: 58px 42px; }
.home-hero__content { max-width: 790px; }
.home-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #fff0df; font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.home-hero__eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: #f58a4f; }
.home-hero h1 { max-width: 760px; color: var(--white); text-shadow: 0 2px 18px rgba(3, 28, 47, .22); }
.home-hero__lead { max-width: 680px; margin-bottom: 30px; color: #f4f9fc; font-size: clamp(1.06rem, 1.8vw, 1.3rem); text-shadow: 0 1px 10px rgba(3, 28, 47, .24); }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero .button { min-height: 48px; border-radius: 8px; }
.home-hero .button--light { border-color: #f58a4f; background: #f58a4f; color: #102642; box-shadow: 0 8px 22px rgba(5, 31, 51, .18); }
.home-hero .button--light:hover { border-color: #ff9f6a; background: #ff9f6a; color: #102642; }
.home-hero .button--outline { border-color: rgba(255, 255, 255, .62); background: rgba(255, 255, 255, .1); color: var(--white); }
.home-hero .button--outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .18); color: var(--white); }

.hero-comparators {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 48px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(5, 39, 63, .3);
    box-shadow: 0 12px 34px rgba(3, 28, 47, .14);
    overflow: hidden;
}

.hero-comparator {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    padding: 16px 13px;
    border-right: 1px solid rgba(255, 255, 255, .22);
    color: var(--white);
    text-decoration: none;
    transition: background-color .18s ease;
}

.hero-comparator:last-child { border-right: 0; }
.hero-comparator:hover { background: rgba(255, 255, 255, .13); color: var(--white); }
.hero-comparator__icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(142, 221, 239, .68); border-radius: 8px; background: rgba(93, 196, 221, .16); color: #a9edfb; }
.hero-comparator:nth-child(2) .hero-comparator__icon,
.hero-comparator:nth-child(5) .hero-comparator__icon { border-color: rgba(255, 171, 112, .72); background: rgba(245, 138, 79, .16); color: #ffc49e; }
.hero-comparator__copy { min-width: 0; }
.hero-comparator__kicker { display: block; color: #c9e9f4; font-size: .62rem; font-weight: 750; line-height: 1.1; text-transform: uppercase; }
.hero-comparator__title { display: block; margin-top: 4px; font-size: .78rem; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }

/* Shared sections */
.section { padding-block: 74px; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: #e9eef5; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading__copy { max-width: 700px; }
.section-heading p { margin: 0; color: var(--muted); }
.section--dark .section-heading p { color: #c2ccda; }
.section-label { margin-bottom: 10px; color: var(--orange); font-size: .76rem; font-weight: 800; text-transform: uppercase; }

/* Directory */
.directory-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: 70px; }
.directory-band__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.directory-fact { min-height: 128px; padding: 22px; background: var(--white); }
.directory-fact strong { display: block; margin-bottom: 5px; color: var(--blue); font-size: 1.2rem; }
.directory-fact span { color: var(--muted); font-size: .9rem; }

/* Posts */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe8ef; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .post-card__media img { transform: scale(1.025); }
.post-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #7990a5; }
.post-card__body { padding: 22px; }
.post-card__meta, .entry-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; color: var(--muted); font-size: .8rem; }
.post-card__category { color: var(--orange); font-weight: 750; text-decoration: none; }
.post-card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card__excerpt { color: var(--muted); font-size: .94rem; }
.post-card__read { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 750; text-decoration: none; }

.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.featured-post__media { min-height: 360px; background: #dfe8ef; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 54px); }
.featured-post__body h3 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.featured-post__body h3 a { color: var(--navy); text-decoration: none; }

.empty-state { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); text-align: center; }

/* Archive and search */
.page-hero { padding-block: 58px 50px; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero__description { max-width: 720px; color: var(--muted); }
.archive-content { padding-block: 62px 80px; }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--navy); text-decoration: none; }
.pagination .current, .pagination a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }

.search-form { display: flex; max-width: 640px; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 48px; padding: 10px 14px; border: 1px solid #aebdca; border-radius: 6px; background: var(--white); color: var(--ink); }
.search-submit { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--blue); color: var(--white); font-weight: 750; }

/* Single and page */
.article-shell { padding-block: 48px 84px; }
.breadcrumbs { margin-bottom: 30px; color: var(--muted); font-size: .83rem; }
.breadcrumbs a { color: var(--muted); }
.entry-header { width: min(100%, 900px); margin: 0 auto 38px; text-align: center; }
.entry-header h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
.entry-header .entry-meta { justify-content: center; }
.entry-category { color: var(--orange); font-size: .79rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.entry-featured { width: min(100%, 1040px); margin: 0 auto 46px; border-radius: var(--radius); overflow: hidden; }
.entry-featured img { width: 100%; max-height: 620px; object-fit: cover; }
.entry-content { width: min(100%, var(--reading)); margin-inline: auto; font-size: 1.075rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 2.1em; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .55em; }
.entry-content blockquote { margin: 2em 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--orange); color: #34465f; font-size: 1.18rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.entry-content th, .entry-content td { padding: 11px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--soft); }
.entry-content img { border-radius: 5px; }
.entry-content .alignwide { width: min(100vw - 40px, 1040px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content iframe { max-width: 100%; }
.entry-footer { width: min(100%, var(--reading)); margin: 42px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .8rem; text-decoration: none; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 56px; width: min(100%, 1160px); margin-inline: auto; }
.single-main { min-width: 0; }
.single-main > .entry-featured { width: 100%; margin: 0 0 42px; }
.single-main .entry-content, .single-main .entry-footer { width: 100%; margin-right: 0; margin-left: 0; }
.single-main .entry-content .alignwide, .single-main .entry-content .alignfull { width: 100%; margin-left: 0; transform: none; }
.post-navigation { width: 100%; margin: 58px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.post-navigation a { display: block; color: var(--navy); font-weight: 700; text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.nav-subtitle { display: block; margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 500; text-transform: uppercase; }

.single-sidebar { min-width: 0; }
.single-sidebar h2 { margin-bottom: 18px; font-size: 1.3rem; }
.single-sidebar__eyebrow { margin-bottom: 7px; color: var(--orange); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.single-sidebar__comparators { padding: 24px; border-radius: var(--radius); background: var(--navy); color: #dbe5f0; }
.single-sidebar__comparators h2 { color: var(--white); }
.sidebar-cta-list { display: grid; gap: 7px; }
.sidebar-cta { display: grid; grid-template-columns: 28px minmax(0, 1fr) 17px; min-height: 46px; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #344965; border-radius: 6px; background: #152a47; color: var(--white); font-size: .83rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.sidebar-cta:hover { border-color: #79b8dc; background: #1b3659; color: var(--white); }
.sidebar-cta__icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 5px; background: rgba(255, 255, 255, .08); color: #a8dbf5; }
.sidebar-cta__arrow { color: #8dbed9; }
.single-sidebar__latest { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.sidebar-post-list { border-top: 1px solid var(--line); }
.sidebar-post { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 13px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.sidebar-post__thumb { display: grid; width: 88px; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; border-radius: 5px; background: #e4ebf1; color: #7d90a3; }
.sidebar-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post__copy { min-width: 0; }
.sidebar-post h3 { margin: 0 0 6px; font-size: .92rem; line-height: 1.3; }
.sidebar-post h3 a { color: var(--navy); text-decoration: none; }
.sidebar-post h3 a:hover { color: var(--blue); text-decoration: underline; }
.sidebar-post time { display: block; color: var(--muted); font-size: .73rem; }

/* Footer */
.site-footer { padding-block: 58px 28px; background: #0b172c; color: #c4cfdd; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 60px; }
.footer-brand img { width: 240px; filter: brightness(0) invert(1); opacity: .94; }
.footer-brand p { max-width: 340px; margin-top: 20px; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { color: #dbe4ee; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid #263650; color: #93a3b8; font-size: .82rem; }

@media (max-width: 1320px) {
    :root { --header: 76px; }
    .site-logo { flex-basis: 225px; }
    .site-logo img { width: 225px; max-height: 58px; }
    .menu-toggle { display: inline-flex; margin-left: auto; }
    .main-nav { position: fixed; inset: var(--header) 0 0; display: none; margin: 0; overflow-y: auto; background: var(--white); }
    .main-nav.is-open { display: block; }
    .main-nav__list { width: min(calc(100% - 32px), 680px); margin: 18px auto; align-items: stretch; flex-direction: column; gap: 4px; }
    .main-nav__list > li { display: grid; grid-template-columns: minmax(0, 1fr) 46px; }
    .main-nav__link { min-height: 54px; padding: 10px 12px; white-space: normal; }
    .main-nav .menu-item-has-children > .main-nav__link::after { display: none; }
    .main-nav .sub-menu { position: static; display: none; width: auto; min-width: 0; max-width: none; grid-column: 1 / -1; padding: 4px 0 4px 18px; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .main-nav .submenu-open > .sub-menu { display: block; }
    .main-nav .sub-menu .sub-menu { position: static; }
    .submenu-toggle { display: grid; width: 42px; height: 42px; align-self: center; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--navy); }
    .submenu-toggle::before { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .16s ease; }
    .submenu-toggle[aria-expanded="true"]::before { margin-top: 4px; transform: rotate(225deg); }
}

@media (max-width: 980px) {
    .hero-comparators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-comparator { border-bottom: 1px solid rgba(255, 255, 255, .22); }
    .hero-comparator:nth-child(3n) { border-right: 0; }
    .hero-comparator:nth-child(n + 4) { border-bottom: 0; }
    .directory-band { grid-template-columns: 1fr; gap: 38px; }
    .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-post { grid-template-columns: 1fr; }
    .featured-post__media { min-height: 300px; }
    .single-layout { grid-template-columns: 1fr; gap: 54px; }
    .single-sidebar { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 30px; }
    .single-sidebar__latest { margin-top: 0; padding-top: 0; border-top: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 861px) and (max-width: 980px) {
    .single-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
    .single-sidebar { display: block; }
    .single-sidebar__latest { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
    :root { --header: 68px; }
    .container { width: min(calc(100% - 28px), var(--content)); }
    .site-logo { flex-basis: 210px; min-width: 0; }
    .site-logo img { width: min(210px, 65vw); max-height: 50px; }
    .home-hero { min-height: 520px; }
    .home-hero__inner { padding-block: 48px 34px; }
    .home-hero__actions { align-items: stretch; flex-direction: column; }
    .home-hero__actions .button { width: 100%; }
    .section { padding-block: 54px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 26px; }
    .hero-comparators { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(168px, 66vw); margin-right: -14px; margin-left: -14px; padding-inline: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .hero-comparator, .hero-comparator:nth-child(3n), .hero-comparator:nth-child(n + 4) { min-height: 78px; border-right: 1px solid rgba(255, 255, 255, .22); border-bottom: 0; scroll-snap-align: start; }
    .hero-comparator:last-child { border-right: 0; }
    .directory-band__facts { grid-template-columns: 1fr; }
    .directory-fact { min-height: auto; }
    .posts-grid { grid-template-columns: 1fr; }
    .featured-post__media { min-height: 220px; }
    .featured-post__body { padding: 24px; }
    .page-hero { padding-block: 42px 38px; }
    .article-shell { padding-block: 32px 62px; }
    .entry-header { text-align: left; }
    .entry-header .entry-meta { justify-content: flex-start; }
    .entry-content { font-size: 1rem; }
    .entry-content .alignwide, .entry-content .alignfull { width: 100%; margin-left: 0; transform: none; }
    .post-navigation .nav-links { grid-template-columns: 1fr; }
    .post-navigation .nav-next { text-align: left; }
    .single-sidebar { grid-template-columns: 1fr; }
    .single-sidebar__latest { padding-top: 28px; border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-brand { grid-column: auto; }
    .search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
    .site-header, .site-footer, .single-sidebar, .post-navigation { display: none !important; }
    .article-shell { padding: 0; }
    .entry-content { width: 100%; font-size: 11pt; }
    a { color: inherit; }
}
