:root {
    --cv3-accent: #ff6233;
    --cv3-bg: #fbfaf9;
    --cv3-surface: #ffffff;
    --cv3-surface-soft: #f7f4f1;
    --cv3-text: #262c2c;
    --cv3-text-muted: #69727c;
    --cv3-border: #ece4dd;
    --cv3-hero-overlay: linear-gradient(180deg, rgba(20, 26, 32, 0.14), rgba(20, 26, 32, 0.75));
    --cv3-radius-card: 16px; /* Retour à des cartes plus douces */
    --cv3-radius-btn: 12px;  /* Retour à tes boutons originaux */
    --cv3-shadow: 0 8px 24px rgba(25, 30, 38, 0.05); /* Ombre douce mais présente */
    --cv3-shadow-soft: 0 4px 12px rgba(25, 30, 38, 0.03);
    --cv3-shell: min(1000px, calc(100% - 2.5rem));
    --cv3-shell-wide: min(1120px, calc(100% - 2.5rem));
    --cv3-gap-section: 1rem;
    --cv3-gap-card: 0.95rem;
    --cv3-card-pad: 1.2rem;
    --cv3-card-pad-mobile: 0.95rem;
    --cv3-font-editorial: var(--pd-font-display, var(--v3-font-display, Lora, Georgia, serif));
    --cv3-font-ui: var(--pd-font-ui, var(--v3-font-ui, Montserrat, Arial, sans-serif));
}

html[data-theme="dark"],
html.theme-dark {
    --cv3-bg: #0f141a;
    --cv3-surface: #141b22;
    --cv3-surface-soft: #1a232d;
    --cv3-text: #f2f5f7;
    --cv3-text-muted: #9aa7b4;
    --cv3-border: #263240;
    --cv3-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    --cv3-shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.15);
    --cv3-hero-overlay: linear-gradient(180deg, rgba(6, 10, 14, 0.24), rgba(6, 10, 14, 0.85));
}

html {
    scroll-behavior: smooth;
}

body.page-chronique-video-v3 {
    margin: 0;
    background: var(--cv3-bg);
    color: var(--cv3-text);
    font-family: var(--cv3-font-ui);
    line-height: 1.6;
}

body.page-chronique-video-v3 * {
    box-sizing: border-box;
}

body.page-chronique-video-v3 img {
    display: block;
    max-width: 100%;
}

body.page-chronique-video-v3 a {
    color: inherit;
}

.cv3-shell {
    width: var(--cv3-shell);
    margin: 0 auto;
}

.cv3-shell--wide {
    width: var(--cv3-shell-wide);
}

.cv3-page {
    padding-bottom: 1rem;
}

/* ==========================================================================
 * HERO
 * ========================================================================= */

.cv3-hero {
    position: relative;
    /* On redonne un peu de hauteur pour absorber le contenu qui remonte */
    min-height: clamp(380px, 42vw, 540px);
    background:
    var(--cv3-hero-overlay),
    var(--cv3-hero-image, linear-gradient(135deg, rgba(255, 98, 51, 0.18), rgba(255, 255, 255, 0) 58%)),
    var(--cv3-bg);
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.cv3-hero__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
    radial-gradient(circle at top right, rgba(255, 98, 51, 0.15), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1), transparent 34%);
}

.cv3-breadcrumbs {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    padding-top: calc(var(--site-header-height, 92px) + 0.6rem);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cv3-breadcrumbs a {
    text-decoration: none;
    transition: color 0.2s;
}

.cv3-breadcrumbs a:hover {
    color: #ffffff;
}

.cv3-breadcrumbs__sep {
    opacity: 0.45;
}

.cv3-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    justify-content: space-between;
    gap: 1.8rem;
    align-items: end;
    /* Padding bottom très important : c'est l'espace vide pour éviter le chevauchement ! */
    padding: 0.45rem 0 2.5rem;
}

.cv3-hero__content {
    min-width: 0;
    max-width: 920px;
    color: #ffffff;
}

.cv3-hero__aside {
    width: 100%;
    min-width: 0;
    align-self: end;
}

.cv3-hero__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}

.cv3-eyebrow,
.cv3-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cv3-eyebrow {
    color: rgba(255, 255, 255, 0.85);
}

.cv3-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px; /* Retour à la pilule ronde */
    background: var(--cv3-badge-bg, var(--cv3-accent));
    color: var(--cv3-badge-color, #ffffff);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cv3-hero__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--cv3-font-editorial);
    font-size: clamp(1.85rem, 2.4vw, 2.9rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.cv3-hero__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 1rem;
    background: var(--cv3-accent);
}

.cv3-hero__subtitle {
    max-width: 44rem;
    margin: 1rem 0 0;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.cv3-hero__desc {
    max-width: 42rem;
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

.cv3-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 1.2rem 0 0;
    list-style: none;
}

.cv3-meta li {
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px; /* Retour à la pilule ronde */
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 500;
}

.cv3-hero__actions,
.cv3-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* ==========================================================================
 * BUTTONS
 * ========================================================================= */

.cv3-btn,
.cv3-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1.1rem;
    border: 1px solid transparent;
    border-radius: var(--cv3-radius-btn); /* 12px original */
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cv3-btn:hover,
.cv3-share__btn:hover {
    transform: translateY(-1px);
}

.cv3-btn--solid {
    background: var(--cv3-accent);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(255, 98, 51, 0.2);
}

.cv3-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cv3-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cv3-links .cv3-btn--ghost {
    color: var(--cv3-text);
    border-color: var(--cv3-border);
}

.cv3-links .cv3-btn--ghost:hover {
    background: var(--cv3-surface-soft);
}

/* ==========================================================================
 * CARDS / ASIDE
 * ========================================================================= */

.cv3-card,
.cv3-video-card,
.cv3-download,
.cv3-figure,
.cv3-callout,
.cv3-quote,
.cv3-ad {
    background: var(--cv3-surface);
    border: 1px solid var(--cv3-border);
    border-radius: var(--cv3-radius-card); /* 16px doux */
    box-shadow: var(--cv3-shadow);
}

.cv3-card {
    padding: var(--cv3-card-pad);
}

.cv3-card--soft,
.cv3-download,
.cv3-callout,
.cv3-quote {
    background: var(--cv3-surface-soft);
    border: 1px solid transparent;
    box-shadow: none;
}

.cv3-card--glass {
    width: 100%;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.cv3-author {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    min-width: 0;
}

.cv3-author--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

.cv3-author__avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    object-fit: cover;
}

.cv3-author__text {
    min-width: 0;
}

.cv3-author__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
}

.cv3-author__name,
.cv3-author__link {
    font-weight: 700;
    text-decoration: none;
    font-family: var(--cv3-font-editorial);
}

.cv3-author__link {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--cv3-accent);
    font-family: var(--cv3-font-ui);
    font-size: 0.85rem;
}

.cv3-share {
    margin-top: 1rem;
}

.cv3-share__label {
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
}

.cv3-share__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.cv3-share__btn {
    background: transparent;
    color: inherit;
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.82rem;
}

.cv3-copy-feedback {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
 * SIDEBAR (FIX POUR LE STICKY)
 * ========================================================================= */

.cv3-side {
    min-width: 0;
    /* On utilise display block au lieu de grid pour garantir que ça s'étire bien jusqu'en bas */
    display: block;
}

.cv3-side__flow {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem; /* Remplace le gap parent */
}

.cv3-side__rail {
    position: sticky;
    top: calc(var(--site-header-height, 80px) + 1.25rem);
    display: grid;
    gap: 1.25rem;
    padding-bottom: 2rem; /* Permet un beau scroll sans que ça tape le fond de page */
}

.cv3-side-widget {
    display: grid;
    gap: 0.65rem;
}

.cv3-side-widget__eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cv3-accent);
}

.cv3-side-widget__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.cv3-side-widget__title {
    margin: 0;
    color: var(--cv3-text);
    font-family: var(--cv3-font-editorial);
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 700;
}

.cv3-side-widget__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--cv3-accent);
    box-shadow: 0 0 0 4px rgba(255, 98, 51, 0.12);
}

.cv3-side-widget--ad {
    gap: 0.5rem;
}

.cv3-side-ad {
    display: block;
}

.cv3-side-ad__frame {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    border: 1px solid var(--cv3-border);
    border-radius: 12px;
    background: var(--cv3-surface-soft);
}

.cv3-side-widget--random {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.cv3-side-random {
    display: grid;
    gap: 0.65rem;
}

.cv3-side-random__list {
    display: grid;
    gap: 0.65rem;
}

.cv3-side-random__card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid var(--cv3-border);
    border-radius: 12px;
    background: var(--cv3-surface);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cv3-side-random__card:hover {
    border-color: rgba(255, 98, 51, 0.3);
    box-shadow: var(--cv3-shadow-soft);
}

.cv3-side-random__thumb {
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cv3-surface-soft);
}

.cv3-side-random__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv3-side-random__body {
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.cv3-side-random__meta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cv3-accent);
}

.cv3-side-random__title {
    color: var(--cv3-text);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
}

.cv3-side-random--loading {
    padding-top: 0.1rem;
}

/* ==========================================================================
 * MAIN LAYOUT
 * ========================================================================= */

.cv3-main {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    /* Très important pour que la colonne Sidebar prenne toute la hauteur : */
    align-items: stretch;
    margin-top: -1.55rem;
}

.cv3-content {
    display: grid;
    gap: var(--cv3-gap-section);
    min-width: 0;
}

.cv3-section {
    display: grid;
    gap: 0.75rem;
}

.cv3-section--lead .cv3-card {
    padding: 1.1rem 1.25rem;
    border: none;
    border-left: 4px solid var(--cv3-accent);
    border-radius: 0 16px 16px 0; /* Arondi doux rétabli */
}

.cv3-section-head {
    display: grid;
    gap: 0.2rem;
}

.cv3-section-head--tight {
    margin-bottom: 0.6rem;
}

.cv3-section-kicker {
    color: var(--cv3-accent);
}

.cv3-section-title,
.cv3-heading {
    margin: 0;
    color: var(--cv3-text);
    line-height: 1.15;
    font-weight: 700;
    font-family: var(--cv3-font-editorial);
}

.cv3-section-title {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.cv3-heading--h2 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.cv3-heading--h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
}

.cv3-heading--h4 {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-family: var(--cv3-font-ui);
}

/* ==========================================================================
 * VIDEO / RICHTEXT / QUOTE / CALLOUT
 * ========================================================================= */

.cv3-video-card {
    padding: var(--cv3-card-pad);
}

.cv3-video-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px; /* Rétabli */
    background: #000;
    margin-top:10px;
}

.cv3-video-embed video,
.cv3-video-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.cv3-richtext {
    color: var(--cv3-text);
    font-size: 0.98rem;
    line-height: 1.65;
}

.cv3-richtext--lead {
    font-size: 1.05rem;
    line-height: 1.6;
    font-family: var(--cv3-font-editorial);
}

/* On remet un peu plus de respiration dans les textes par rapport au dernier correctif */
.cv3-richtext p,
.cv3-richtext ul,
.cv3-richtext ol,
.cv3-richtext blockquote {
    margin: 0 0 1rem;
}

.cv3-richtext p:last-child,
.cv3-richtext ul:last-child,
.cv3-richtext ol:last-child,
.cv3-richtext blockquote:last-child {
    margin-bottom: 0;
}

.cv3-richtext a {
    color: var(--cv3-accent);
    text-underline-offset: 0.15em;
    text-decoration-thickness: 1px;
}

.cv3-richtext h2,
.cv3-richtext h3,
.cv3-richtext h4 {
    margin: 1.5rem 0 0.75rem;
    font-family: var(--cv3-font-editorial);
    line-height: 1.2;
}

.cv3-richtext h2 {
    font-size: 1.35rem;
}

.cv3-richtext h3 {
    font-size: 1.2rem;
}

.cv3-richtext h4 {
    font-size: 1.05rem;
    font-family: var(--cv3-font-ui);
}

.cv3-callout {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--cv3-border);
    border-left: 3px solid var(--cv3-accent);
    border-radius: 0 12px 12px 0;
}

.cv3-quote {
    margin: 0;
    padding: 1.5rem 1.25rem;
    border-left: none;
    text-align: center;
}

.cv3-quote__body {
    margin: 0;
    font-family: var(--cv3-font-editorial);
    font-size: 1.15rem;
    line-height: 1.5;
    font-style: italic;
}

.cv3-quote__cite {
    margin-top: 0.75rem;
    color: var(--cv3-text-muted);
    font-size: 0.85rem;
    font-family: var(--cv3-font-ui);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cv3-quote--left {
    text-align: left;
}

/* ==========================================================================
 * FIGURES / GALLERY / DOWNLOAD / CREDITS
 * ========================================================================= */

.cv3-figure {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.cv3-figure__button,
.cv3-gallery__item,
.cv3-download__preview {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.cv3-figure__img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.cv3-figure__caption {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.75rem 0;
    color: var(--cv3-text-muted);
    font-size: 0.85rem;
}

.cv3-figure__caption a,
.cv3-credits a {
    color: var(--cv3-accent);
}

.cv3-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.cv3-gallery__item {
    overflow: hidden;
    border-radius: 12px;
    background: var(--cv3-surface-soft);
}

.cv3-gallery__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cv3-gallery__item:hover img,
.cv3-figure__button:hover .cv3-figure__img,
.cv3-download__preview:hover img {
    transform: scale(1.03);
}

.cv3-credits {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding-left: 1rem;
    font-size: 0.88rem;
    color: var(--cv3-text-muted);
}

.cv3-download {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px solid var(--cv3-border);
}

.cv3-download__preview {
    overflow: hidden;
    border: 1px solid var(--cv3-border);
    border-radius: 8px;
    background: var(--cv3-surface);
}

.cv3-download__preview img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cv3-download__body {
    display: grid;
    gap: 0.6rem;
}

/* ==========================================================================
 * AD / TAGS / MISC
 * ========================================================================= */

.cv3-ad {
    padding: 0;
}

.cv3-ad__frame {
    display: block;
    width: 100%;
    min-height: 260px;
    border: 1px solid var(--cv3-border);
    border-radius: 12px;
    background: var(--cv3-surface-soft);
}

.cv3-separator {
    height: 1px;
    margin: 0;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--cv3-border), transparent);
}

.cv3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
}

.cv3-tags li {
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--cv3-border);
    border-radius: 999px; /* Retour aux pilules pour les tags */
    background: var(--cv3-surface-soft);
    font-size: 0.78rem;
    color: var(--cv3-text-muted);
}

.cv3-muted {
    margin: 0;
    color: var(--cv3-text-muted);
    font-size: 0.92rem;
}

/* ==========================================================================
 * LIGHTBOX
 * ========================================================================= */

.cv3-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(10, 14, 18, 0.95);
    backdrop-filter: blur(4px);
}

.cv3-lightbox:not([hidden]) {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
}

.cv3-lightbox__figure {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    margin: 0;
}

.cv3-lightbox__img {
    max-width: min(1200px, calc(100vw - 10rem));
    max-height: calc(100vh - 8rem);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cv3-lightbox__caption {
    max-width: min(960px, calc(100vw - 8rem));
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 0.85rem;
}

.cv3-lightbox__close,
.cv3-lightbox__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s;
}

.cv3-lightbox__close:hover,
.cv3-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cv3-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.cv3-lightbox__nav {
    font-size: 1.4rem;
}

/* ==========================================================================
 * RESPONSIVE
 * ========================================================================= */

@media (max-width: 1120px) {
    .cv3-hero__inner {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 1.25rem;
        padding-bottom: 2rem;
    }

    .cv3-main {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .cv3-hero__title {
        font-size: clamp(1.75rem, 2.2vw, 2.6rem);
    }
}

@media (max-width: 1024px) {
    .cv3-hero {
        min-height: auto;
    }

    .cv3-hero__inner,
    .cv3-main,
    .cv3-download {
        grid-template-columns: 1fr;
    }

    .cv3-hero__inner {
        gap: 0.8rem;
        padding: 0.35rem 0 1.5rem;
        align-items: start;
    }

    .cv3-hero__aside {
        max-width: 420px;
        align-self: start;
    }

    .cv3-main {
        margin-top: -0.75rem;
        gap: 1.5rem;
    }

    .cv3-side__rail {
        position: static;
    }
}

@media (max-width: 840px) {
    .cv3-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    :root {
        --cv3-shell: min(100%, calc(100% - 1.5rem));
        --cv3-shell-wide: min(100%, calc(100% - 1.5rem));
    }

    .cv3-breadcrumbs {
        padding-top: calc(var(--site-header-height, 94px) + 0.8rem);
    }

    .cv3-hero__title {
        max-width: 100%;
        font-size: clamp(1.6rem, 5.5vw, 2rem);
        line-height: 1.05;
    }

    .cv3-hero__title::after {
        width: 48px;
        margin-top: 0.75rem;
    }

    .cv3-card,
    .cv3-video-card,
    .cv3-download,
    .cv3-callout,
    .cv3-quote {
        padding: var(--cv3-card-pad-mobile);
    }

    .cv3-quote__body {
        font-size: 1.05rem;
    }

    .cv3-section--lead .cv3-card {
        padding: var(--cv3-card-pad-mobile);
    }

    .cv3-share__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cv3-gallery {
        grid-template-columns: 1fr;
    }

    .cv3-lightbox:not([hidden]) {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .cv3-lightbox__nav {
        position: absolute;
        bottom: 1.25rem;
    }

    .cv3-lightbox__nav--prev {
        left: 1.25rem;
    }

    .cv3-lightbox__nav--next {
        right: 1.25rem;
    }

    .cv3-lightbox__img {
        max-width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 9rem);
    }
}

@media (max-width: 560px) {
    .cv3-btn,
    .cv3-share__btn {
        width: 100%;
    }

    .cv3-hero__actions,
    .cv3-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cv3-meta li,
    .cv3-tags li {
        font-size: 0.75rem;
    }
}
