:root {
    --mlav-bg: #e7e6cf;
    --mlav-surface: #fbf6ea;
    --mlav-surface-2: #f2ecd8;
    --mlav-ink: #1d1915;
    --mlav-muted: #665f52;
    --mlav-green: #174532;
    --mlav-green-2: #0e3023;
    --mlav-gold: #d8c68f;
    --mlav-border: rgba(29, 25, 21, .14);
    --mlav-shadow: 0 22px 55px rgba(28, 30, 15, .12);
    --mlav-serif: Georgia, 'Times New Roman', serif;
    --mlav-sans: Inter, Arial, Helvetica, sans-serif;
}

body.mlav-site {
    background: var(--mlav-bg) !important;
    color: var(--mlav-ink) !important;
    font-family: var(--mlav-sans);
}

body.mlav-dark {
    --mlav-bg: #111914;
    --mlav-surface: #1a241d;
    --mlav-surface-2: #263323;
    --mlav-ink: #f4ecd8;
    --mlav-muted: #c9bea6;
    --mlav-green: #d4c07d;
    --mlav-green-2: #f4ecd8;
    --mlav-gold: #d4c07d;
    --mlav-border: rgba(244, 236, 216, .16);
    --mlav-shadow: 0 22px 55px rgba(0, 0, 0, .35);
}

body.mlav-site a {
    color: inherit;
}

body.mlav-site .wp-site-blocks > header,
body.mlav-site .wp-site-blocks > footer {
    display: none !important;
}

body.mlav-special-page .entry-content,
body.mlav-single-post .entry-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

body.mlav-special-page .is-layout-constrained > .mlav-home,
body.mlav-special-page .is-layout-constrained > .mlav-page,
body.mlav-single-post .is-layout-constrained > .mlav-single-article {
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mlav-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(251, 246, 234, .94);
    border-bottom: 1px solid var(--mlav-border);
    backdrop-filter: blur(14px);
}

body.admin-bar .mlav-site-header {
    top: 32px;
}

body.mlav-dark .mlav-site-header {
    background: rgba(26, 36, 29, .94);
}

.mlav-site-header__inner {
    width: min(1180px, calc(100vw - 48px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mlav-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
}

.mlav-brand__mark,
.mlav-footer-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    flex: 0 0 auto;
    background: var(--mlav-surface);
    box-shadow: 0 10px 28px rgba(23, 69, 50, .18);
}

.mlav-brand__mark img,
.mlav-footer-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlav-brand__text strong {
    display: block;
    font-family: var(--mlav-serif);
    font-size: clamp(25px, 2.2vw, 36px);
    line-height: .95;
    letter-spacing: -.03em;
    color: var(--mlav-ink);
}

.mlav-brand__text small {
    display: block;
    margin-top: 5px;
    color: var(--mlav-muted);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 13px;
}

.mlav-primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    font-weight: 800;
}

.mlav-primary-nav a {
    text-decoration: none !important;
    color: var(--mlav-ink);
}

.mlav-primary-nav a:hover,
.mlav-primary-nav a:focus {
    color: var(--mlav-green);
}

.mlav-header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.mlav-dark-toggle,
.mlav-menu-toggle {
    appearance: none;
    border: 1px solid var(--mlav-border);
    background: var(--mlav-surface);
    color: var(--mlav-ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.mlav-dark-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 19px;
    line-height: 1;
}

.mlav-menu-toggle {
    display: none;
    width: 46px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.mlav-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
}

.mlav-menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.mlav-home,
.mlav-page {
    width: min(1120px, calc(100vw - 52px));
    margin: clamp(34px, 5vw, 76px) auto clamp(72px, 8vw, 120px);
}

.mlav-section {
    margin-top: clamp(42px, 6vw, 78px);
}

.mlav-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    min-height: 420px;
    border: 1px solid var(--mlav-border);
    background: linear-gradient(125deg, var(--mlav-surface), var(--mlav-surface-2));
    box-shadow: var(--mlav-shadow);
}

.mlav-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.mlav-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4vw, 54px);
}

.mlav-eyebrow {
    margin: 0 0 12px;
    color: #7a1711;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
}

body.mlav-dark .mlav-eyebrow {
    color: var(--mlav-gold);
}

.mlav-hero h1,
.mlav-section h2,
.mlav-page-hero h1,
.mlav-about-hero h1,
.mlav-single-hero h1 {
    margin: 0;
    font-family: var(--mlav-serif);
    line-height: .94;
    letter-spacing: -.055em;
    color: var(--mlav-ink);
}

.mlav-hero h1 {
    font-size: clamp(48px, 6.6vw, 86px);
    max-width: 620px;
}

.mlav-hero p:not(.mlav-eyebrow) {
    color: var(--mlav-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 420px;
}

.mlav-actions,
.mlav-youtube-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.mlav-button,
.mlav-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--mlav-green);
    color: #fff7e7 !important;
    border: 1px solid var(--mlav-green);
    text-decoration: none !important;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.15;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.mlav-button:hover,
.mlav-read-more:hover {
    background: var(--mlav-ink);
    border-color: var(--mlav-ink);
    color: var(--mlav-surface) !important;
}

.mlav-button--ghost {
    background: transparent;
    color: var(--mlav-green) !important;
}

.mlav-button--ghost:hover {
    background: var(--mlav-green);
    border-color: var(--mlav-green);
    color: #fff7e7 !important;
}

.mlav-section__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 20px;
}

.mlav-section__header h2 {
    font-size: clamp(34px, 4.3vw, 58px);
    line-height: 1;
    max-width: 860px;
}

.mlav-section__header > a {
    color: var(--mlav-green);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.mlav-video-feature {
    display: grid;
    grid-template-columns: minmax(280px, .38fr) minmax(0, 1fr);
    background: var(--mlav-surface);
    border: 1px solid var(--mlav-border);
    box-shadow: var(--mlav-shadow);
}

.mlav-video-feature__text {
    padding: clamp(22px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mlav-video-feature h3 {
    margin: 0;
    font-family: var(--mlav-serif);
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1;
    letter-spacing: -.04em;
}

.mlav-video-feature__text p:not(.mlav-eyebrow) {
    color: var(--mlav-muted);
    font-size: 16px;
}

.mlav-video-feature__frame {
    min-height: 285px;
    background: #111;
}

.mlav-video-feature iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 285px;
    border: 0;
}

.mlav-youtube-placeholder {
    height: 100%;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 24px;
    text-align: center;
}

.mlav-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mlav-post-card,
.mlav-book-card,
.mlav-page-hero,
.mlav-about-grid article,
.mlav-about-wide,
.mlav-timeline-grid article,
.mlav-contact-strip,
.mlav-contact-info,
.mlav-form-card,
.mlav-archive-tools,
.mlav-single-hero,
.mlav-single-body,
.mlav-author-box,
.mlav-article-nav a {
    background: var(--mlav-surface);
    border: 1px solid var(--mlav-border);
    box-shadow: 0 16px 36px rgba(28, 30, 15, .08);
}

body.mlav-dark .mlav-post-card,
body.mlav-dark .mlav-book-card,
body.mlav-dark .mlav-page-hero,
body.mlav-dark .mlav-about-grid article,
body.mlav-dark .mlav-about-wide,
body.mlav-dark .mlav-timeline-grid article,
body.mlav-dark .mlav-contact-strip,
body.mlav-dark .mlav-contact-info,
body.mlav-dark .mlav-form-card,
body.mlav-dark .mlav-archive-tools,
body.mlav-dark .mlav-single-hero,
body.mlav-dark .mlav-single-body,
body.mlav-dark .mlav-author-box,
body.mlav-dark .mlav-article-nav a {
    box-shadow: none;
}

.mlav-post-card {
    min-height: 360px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mlav-post-card time {
    color: #7a1711;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

body.mlav-dark .mlav-post-card time {
    color: var(--mlav-gold);
}

.mlav-post-card h3 {
    margin: 0 0 14px;
    font-family: var(--mlav-serif);
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.mlav-post-card h3 a {
    text-decoration: none !important;
}

.mlav-post-card p {
    margin: 0;
    color: var(--mlav-muted);
    font-size: 15px;
    line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mlav-post-card .mlav-read-more {
    margin-top: auto;
    align-self: flex-start;
}

.mlav-books-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mlav-book-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mlav-book-card__cover {
    min-height: 310px;
    background: linear-gradient(180deg, var(--mlav-surface-2), var(--mlav-surface));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    border-bottom: 1px solid var(--mlav-border);
}

.mlav-book-card__cover img {
    max-width: 190px;
    max-height: 255px;
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .16);
}

.mlav-book-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.mlav-book-card h3 {
    margin: 0;
    min-height: 76px;
    font-family: var(--mlav-serif);
    font-size: clamp(22px, 2.1vw, 29px);
    line-height: 1.03;
    letter-spacing: -.03em;
}

.mlav-book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mlav-book-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    background: rgba(122, 23, 17, .06);
    border: 1px solid var(--mlav-border);
    color: #7a1711;
    font-size: 12px;
    font-weight: 900;
}

body.mlav-dark .mlav-book-meta span {
    color: var(--mlav-gold);
    background: rgba(212, 192, 125, .08);
}

.mlav-book-card p {
    margin: 0;
    color: var(--mlav-muted);
    font-size: 15px;
    line-height: 1.62;
}

.mlav-books-grid--compact .mlav-book-card__body > p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mlav-book-links {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
    align-items: stretch;
}

.mlav-book-links a {
    min-height: 40px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 69, 50, .08);
    border: 1px solid var(--mlav-border);
    color: var(--mlav-green) !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 11.5px;
    font-weight: 900;
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: anywhere;
}

.mlav-book-links a:hover {
    background: var(--mlav-green);
    border-color: var(--mlav-green);
    color: #fff7e7 !important;
}

.mlav-page-hero {
    padding: clamp(34px, 5vw, 70px);
    margin-bottom: clamp(34px, 5vw, 70px);
    background: linear-gradient(125deg, var(--mlav-surface), var(--mlav-surface-2));
}

.mlav-page-hero h1 {
    font-size: clamp(54px, 8vw, 104px);
}

.mlav-page-hero p:not(.mlav-eyebrow) {
    max-width: 790px;
    color: var(--mlav-muted);
    font-size: 19px;
    line-height: 1.65;
}

.mlav-about-hero {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    margin-bottom: clamp(34px, 5vw, 70px);
}

.mlav-about-hero__photo {
    background: var(--mlav-surface);
    border: 1px solid var(--mlav-border);
    padding: 14px;
    box-shadow: var(--mlav-shadow);
}

.mlav-about-hero__photo img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.mlav-about-hero h1 {
    font-size: clamp(50px, 7vw, 92px);
}

.mlav-about-hero__content p:not(.mlav-eyebrow) {
    color: var(--mlav-muted);
    font-size: 18px;
    line-height: 1.7;
}

.mlav-about-grid,
.mlav-timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.mlav-about-grid article,
.mlav-about-wide,
.mlav-timeline-grid article {
    padding: clamp(26px, 4vw, 42px);
}

.mlav-about-grid h2,
.mlav-about-wide h2,
.mlav-about-timeline h2,
.mlav-contact-strip h2,
.mlav-contact-info h2,
.mlav-author-box h2 {
    margin: 0 0 16px;
    font-family: var(--mlav-serif);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.mlav-about-grid p,
.mlav-about-grid li,
.mlav-about-wide p,
.mlav-about-wide span,
.mlav-timeline-grid p,
.mlav-contact-strip p,
.mlav-contact-info p,
.mlav-author-box p {
    color: var(--mlav-muted);
    line-height: 1.68;
}

.mlav-about-wide,
.mlav-about-timeline {
    margin-top: 24px;
}

.mlav-about-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.mlav-about-list span {
    border-left: 3px solid var(--mlav-green);
    padding-left: 14px;
}

.mlav-contact-strip {
    margin-top: clamp(54px, 8vw, 92px);
    padding: clamp(32px, 5vw, 56px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    background: linear-gradient(125deg, var(--mlav-surface), var(--mlav-surface-2));
}

.mlav-contact-strip h2 {
    max-width: 650px;
}

.mlav-contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
}

.mlav-contact-info,
.mlav-form-card {
    padding: clamp(28px, 4vw, 46px);
}

.mlav-archive-tools {
    padding: 26px;
    margin-bottom: 36px;
    display: grid;
    gap: 26px;
}

.mlav-archive-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mlav-archive-filter a,
.mlav-pagination a,
.mlav-pagination span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--mlav-border);
    background: var(--mlav-surface);
    color: var(--mlav-green) !important;
    text-decoration: none !important;
    font-weight: 900;
}

.mlav-archive-filter a.is-active,
.mlav-pagination span,
.mlav-archive-filter a:hover,
.mlav-pagination a:hover {
    background: var(--mlav-green);
    color: #fff7e7 !important;
    border-color: var(--mlav-green);
}

.mlav-pagination {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.mlav-single-post main > .wp-block-group:has(.wp-block-post-title),
body.mlav-single-post .wp-block-post-title,
body.mlav-single-post .wp-block-post-featured-image,
body.mlav-single-post .wp-block-post-date,
body.mlav-single-post .wp-block-post-author,
body.mlav-single-post .wp-block-post-terms,
body.mlav-single-post .wp-block-separator {
    display: none !important;
}

.mlav-single-article {
    width: min(980px, calc(100vw - 52px));
    margin: clamp(34px, 5vw, 76px) auto clamp(80px, 9vw, 130px);
}

.mlav-single-hero {
    padding: clamp(32px, 5vw, 62px);
    background: linear-gradient(125deg, var(--mlav-surface), var(--mlav-surface-2));
}

.mlav-back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--mlav-green) !important;
    font-weight: 900;
    text-decoration: none !important;
}

.mlav-single-hero h1 {
    font-size: clamp(44px, 7vw, 86px);
    max-width: 880px;
}

.mlav-single-featured {
    margin-top: 28px;
}

.mlav-single-featured img,
.mlav-single-body figure img {
    max-width: 100%;
    height: auto;
}

.mlav-single-body {
    padding: clamp(32px, 5vw, 62px);
    margin-top: 24px;
    display: block !important;
}

.mlav-single-body p,
.mlav-single-body li {
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.86;
    color: var(--mlav-ink);
}

.mlav-single-body .has-large-font-size {
    font-size: clamp(28px, 3vw, 40px) !important;
    line-height: 1.2 !important;
    margin-top: 1.4em;
}

.mlav-single-body a {
    color: var(--mlav-green) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.mlav-single-body figure {
    margin: 0 0 28px;
}

.mlav-single-after {
    margin-top: 24px;
    display: grid;
    gap: 24px;
}

.mlav-author-box {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 26px;
    padding: 28px;
    align-items: center;
}

.mlav-author-box img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
}

.mlav-article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mlav-article-nav a {
    padding: 24px;
    text-decoration: none !important;
    color: var(--mlav-ink);
}

.mlav-article-nav span {
    display: block;
    margin-bottom: 8px;
    color: var(--mlav-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
}

.mlav-article-nav strong {
    font-family: var(--mlav-serif);
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.05;
}

.mlav-site-footer {
    background: #123b2a;
    color: #fff3dc;
    margin-top: clamp(70px, 8vw, 120px);
}

body.mlav-dark .mlav-site-footer {
    background: #0b120f;
}

.mlav-site-footer__inner,
.mlav-site-footer__bottom {
    width: min(1180px, calc(100vw - 52px));
    margin: 0 auto;
}

.mlav-site-footer__inner {
    display: grid;
    grid-template-columns: 1.25fr .7fr .8fr 1fr;
    gap: clamp(28px, 5vw, 70px);
    padding: clamp(44px, 7vw, 82px) 0 42px;
}

.mlav-site-footer h2,
.mlav-site-footer h3,
.mlav-site-footer p {
    margin: 0;
}

.mlav-site-footer h2 {
    margin-top: 18px;
    font-family: var(--mlav-serif);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
}

.mlav-site-footer h3 {
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
}

.mlav-site-footer p {
    color: rgba(255, 243, 220, .84);
    font-size: 17px;
    line-height: 1.7;
}

.mlav-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.mlav-footer-col a {
    color: #fff3dc !important;
    text-decoration: none !important;
    font-size: 18px;
}

.mlav-footer-col a:hover {
    color: var(--mlav-gold) !important;
}

.mlav-footer-cta .mlav-button--light {
    width: auto;
    min-width: 124px;
    min-height: 38px;
    margin-top: 8px;
    padding: 0 16px;
    font-size: 14px;
    background: #fff3dc;
    border-color: #fff3dc;
    color: #123b2a !important;
}

.mlav-footer-cta .mlav-button--light:hover {
    background: var(--mlav-gold);
    border-color: var(--mlav-gold);
    color: #123b2a !important;
}

.mlav-site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 22px 0 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 243, 220, .86);
    font-weight: 700;
}

.mlav-empty {
    grid-column: 1 / -1;
    padding: 26px;
    border: 1px solid var(--mlav-border);
    background: var(--mlav-surface);
}

@media (max-width: 1020px) {
    .mlav-site-header__inner {
        width: min(100% - 32px, 920px);
    }

    .mlav-primary-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 1px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--mlav-surface);
        border: 1px solid var(--mlav-border);
        box-shadow: var(--mlav-shadow);
    }

    body.mlav-menu-open .mlav-primary-nav {
        display: flex;
    }

    .mlav-primary-nav a {
        padding: 16px 18px;
        border-bottom: 1px solid var(--mlav-border);
    }

    .mlav-primary-nav a:last-child {
        border-bottom: 0;
    }

    .mlav-header-actions {
        display: flex;
        margin-left: auto;
    }

    .mlav-menu-toggle {
        display: inline-flex;
    }

    .mlav-hero,
    .mlav-video-feature,
    .mlav-about-hero,
    .mlav-contact-layout {
        grid-template-columns: 1fr;
    }

    .mlav-video-feature__frame,
    .mlav-video-feature iframe,
    .mlav-youtube-placeholder {
        min-height: 320px;
    }

    .mlav-post-grid,
    .mlav-books-grid,
    .mlav-site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mlav-about-hero__photo img {
        height: 360px;
    }
}

@media (min-width: 1021px) {
    .mlav-header-actions .mlav-dark-toggle {
        display: inline-flex;
    }

    .mlav-header-actions {
        display: flex;
        order: 3;
    }

    .mlav-menu-toggle {
        display: none;
    }

    .mlav-primary-nav {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    body.admin-bar .mlav-site-header {
        top: 46px;
    }

    .mlav-site-header__inner {
        min-height: 70px;
    }

    .mlav-brand__mark {
        width: 44px;
        height: 44px;
    }

    .mlav-brand__text strong {
        font-size: 23px;
    }

    .mlav-brand__text small {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .mlav-dark-toggle {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .mlav-home,
    .mlav-page,
    .mlav-single-article {
        width: min(100% - 28px, 620px);
        margin-top: 28px;
    }

    .mlav-hero__image img {
        min-height: 240px;
    }

    .mlav-hero {
        min-height: 0;
    }

    .mlav-hero__content,
    .mlav-video-feature__text,
    .mlav-page-hero,
    .mlav-single-hero,
    .mlav-single-body,
    .mlav-contact-strip {
        padding: 24px;
    }

    .mlav-hero h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .mlav-section__header,
    .mlav-contact-strip,
    .mlav-author-box,
    .mlav-article-nav {
        grid-template-columns: 1fr;
    }

    .mlav-section__header h2,
    .mlav-page-hero h1,
    .mlav-single-hero h1 {
        font-size: clamp(36px, 12vw, 56px);
    }

    .mlav-video-feature__frame,
    .mlav-video-feature iframe,
    .mlav-youtube-placeholder {
        min-height: 220px;
    }

    .mlav-post-grid,
    .mlav-books-grid,
    .mlav-about-grid,
    .mlav-timeline-grid,
    .mlav-about-list,
    .mlav-site-footer__inner {
        grid-template-columns: 1fr;
    }

    .mlav-post-card {
        min-height: 0;
    }

    .mlav-book-card__cover {
        min-height: 250px;
    }

    .mlav-book-card h3 {
        min-height: 0;
    }

    .mlav-book-links {
        grid-template-columns: 1fr;
    }

    .mlav-about-hero__photo img {
        height: 320px;
    }

    .mlav-author-box img {
        width: 100px;
        height: 100px;
    }

    .mlav-site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .mlav-brand__text small {
        display: none;
    }

    .mlav-dark-toggle {
        width: 36px;
        padding: 0;
        overflow: hidden;
        text-indent: -999px;
        position: relative;
    }

    .mlav-dark-toggle::after {
        content: '☾';
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-indent: 0;
    }

    body.mlav-dark .mlav-dark-toggle::after {
        content: '☀';
    }
}


body.home .wp-block-post-title,
body.home main > .wp-block-group:has(.wp-block-post-title),
body.front-page .wp-block-post-title,
body.page-id-0 .wp-block-post-title {
    display: none !important;
}

body.mlav-single-post .wp-block-group:has(> .wp-block-post-author),
body.mlav-single-post .wp-block-group:has(> .wp-block-post-terms),
body.mlav-single-post .wp-block-group:has(> .taxonomy-category),
body.mlav-single-post .wp-block-group:has(> .taxonomy-post_tag),
body.mlav-single-post .wp-block-columns:has(> .wp-block-column > .wp-block-group > .wp-block-post-author),
body.mlav-single-post .wp-block-columns:has(> .wp-block-column > .wp-block-group > .wp-block-post-terms),
body.mlav-single-post .wp-block-columns:has(> .wp-block-column > .wp-block-group > .taxonomy-category),
body.mlav-single-post .wp-block-columns:has(> .wp-block-column > .wp-block-group > .taxonomy-post_tag) {
    display: none !important;
}

body.mlav-site .mlav-section__header > .mlav-eyebrow {
    grid-column: 1 / -1;
}

body.mlav-site .mlav-dark-toggle:hover,
body.mlav-site .mlav-dark-toggle:focus {
    background: var(--mlav-green);
    border-color: var(--mlav-green);
    color: #fff7e7;
}

body.mlav-site .mlav-book-card {
    min-width: 0;
}

body.mlav-site .mlav-book-card__body,
body.mlav-site .mlav-book-links,
body.mlav-site .mlav-book-links a {
    min-width: 0;
}

@media (max-width: 760px) {
    .mlav-dark-toggle {
        width: 38px;
        height: 38px;
        min-height: 38px;
        font-size: 17px;
    }

    .mlav-section__header h2 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .mlav-video-feature h3 {
        font-size: clamp(28px, 9vw, 42px);
    }
}

body.mlav-special-page .wp-block-post-title,
body.mlav-special-page .entry-title,
body.mlav-special-page main > .wp-block-group:has(.wp-block-post-title),
body.mlav-special-page main > header:has(.wp-block-post-title) {
    display: none !important;
}

.mlav-archive-filter a span {
    margin-left: 5px;
    opacity: .8;
    font-size: .92em;
}

.mlav-book-card__cover a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.mlav-book-card__cover a:hover img,
.mlav-book-card__cover a:focus img {
    transform: translateY(-3px);
}

.mlav-book-card__cover img {
    transition: transform .18s ease;
}

.mlav-books-note {
    margin-top: 28px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--mlav-border);
    background: linear-gradient(125deg, var(--mlav-surface), var(--mlav-surface-2));
    color: var(--mlav-ink);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.65;
    box-shadow: var(--mlav-shadow);
}

body.mlav-dark .mlav-books-note {
    background: var(--mlav-surface);
}

.mlav-video-embed {
    width: 100%;
    height: 100%;
    background: #111;
}

.mlav-video-feature--one .mlav-video-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 285px;
}

.mlav-video-feature--three {
    align-items: start;
}

.mlav-video-feature--three .mlav-video-feature__text {
    align-self: stretch;
    justify-content: flex-start;
}

.mlav-video-feature--three .mlav-video-feature__text h3 {
    font-size: clamp(25px, 2.7vw, 38px);
    line-height: .98;
    overflow-wrap: anywhere;
}

.mlav-video-feature--three .mlav-video-feature__frame {
    min-height: 0;
    background: transparent;
}

.mlav-video-feature--three .mlav-video-list {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 1px;
    background: var(--mlav-border);
    min-height: 0;
}

.mlav-video-feature--three .mlav-video-embed {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.mlav-video-feature--three .mlav-video-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
}

@media (min-width: 900px) {
    .mlav-video-feature--three {
        grid-template-columns: minmax(250px, .32fr) minmax(0, 1fr);
    }

    .mlav-video-feature--three .mlav-video-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .mlav-video-feature--three {
        grid-template-columns: 1fr;
    }

    .mlav-video-feature--three .mlav-video-list {
        grid-template-columns: 1fr;
    }
}

/* Mode 3 vidéos : plein cadre, sans colonne texte à gauche */
.mlav-video-feature--three {
    display: block;
}

.mlav-video-feature__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(16px, 2vw, 24px);
    background: var(--mlav-surface);
    border-bottom: 1px solid var(--mlav-border);
}

.mlav-video-feature__topbar span {
    color: var(--mlav-muted);
    font-size: clamp(14px, 1.2vw, 16px);
    max-width: 620px;
}

.mlav-video-feature--three .mlav-video-feature__frame,
.mlav-video-feature--three .mlav-video-list {
    width: 100%;
    min-height: 0;
}

.mlav-video-feature--three .mlav-video-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--mlav-border);
}

.mlav-video-feature--three .mlav-video-embed {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    background: #111;
}

.mlav-video-feature--three .mlav-video-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
}

@media (max-width: 899px) {
    .mlav-video-feature__topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mlav-video-feature--three .mlav-video-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .mlav-video-feature__topbar .mlav-youtube-actions {
        width: 100%;
    }

    .mlav-video-feature__topbar .mlav-youtube-actions a {
        width: 100%;
        text-align: center;
    }
}
