/*
Theme Name: Billard Passion
Description: Billard carambole : technique, matériel et passion
Version: 1.0
Text Domain: billard-passion
*/

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Font ── */
@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('./assets/fonts/libre-baskerville.woff2') format('woff2');
}

/* ── Variables ── */
:root {
    --color-felt: #1B5E20;
    --color-felt-dark: #0D3B13;
    --color-felt-light: #2E7D32;
    --color-cream: #FAF8F3;
    --color-white: #FFFFFF;
    --color-wood: #3E2723;
    --color-wood-medium: #5D4037;
    --color-wood-light: #795548;
    --color-gold: #C8A951;
    --color-border: #E0D8CF;
    --content-width: 820px;
    --wide-width: 1100px;
    --shadow-sm: 0 2px 8px rgba(62,39,35,.06);
    --shadow-md: 0 6px 20px rgba(62,39,35,.1);
    --shadow-lg: 0 12px 32px rgba(62,39,35,.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 50px;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-wood-medium);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-felt);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color .2s;
}
a:hover { color: var(--color-felt-light); }

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--color-wood);
    line-height: 1.3;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; font-weight: 700; }

h2 {
    font-size: 1.6rem;
    margin: 2.8rem 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--color-felt);
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
}

h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; font-weight: 700; }
h4 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; font-weight: 700; }

p { margin-bottom: 1.2rem; }
ul, ol { margin: 0 0 1.2rem 1.5rem; }
li { margin-bottom: .4rem; }

strong { color: var(--color-wood); }

blockquote {
    border-left: 4px solid var(--color-gold);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-white);
    font-style: italic;
    color: var(--color-wood-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .92rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
th, td {
    padding: .65rem .9rem;
    border: 1px solid var(--color-border);
    text-align: left;
}
th {
    background: var(--color-felt);
    color: var(--color-white);
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
tr:nth-child(even) { background: rgba(62,39,35,.02); }
tr:hover { background: rgba(27,94,32,.04); }

hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2.5rem 0;
}

/* ── Layout ── */
.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrap {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wide-wrap {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ── */
.site-header {
    background: var(--color-wood);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding .3s, box-shadow .3s;
    padding: .25rem 0;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(62,39,35,.3);
    padding: 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.site-header.is-scrolled .site-header__inner {
    min-height: 52px;
}

.site-logo {
    color: var(--color-white);
    text-decoration: none;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: .6rem;
    transition: color .2s;
}
.site-logo:hover { color: var(--color-cream); }

.site-logo__icon {
    width: 30px;
    height: 30px;
    display: flex;
    flex-shrink: 0;
    transition: width .3s, height .3s;
}

.site-header.is-scrolled .site-logo__icon {
    width: 24px;
    height: 24px;
}


/* Navigation (structure PAP) */
.site-nav {
    align-self: stretch;
    display: flex;
    align-items: center;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.site-nav li {
    display: flex;
    align-items: center;
    margin: 0;
}

.site-nav > ul > li > a {
    color: var(--color-cream);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.site-nav > ul > li > a:hover {
    color: var(--color-white);
}

.site-nav > ul > li.is-active > a {
    color: var(--color-white);
    box-shadow: inset 0 -2px 0 var(--color-gold);
}

/* Header actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Menu burger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-cream);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mega-menu */
.has-mega {
    position: relative;
    display: flex;
    align-items: center;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding-top: 0.75rem;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.has-mega:hover > a {
    color: var(--color-white);
}

.has-mega.is-active > a {
    color: var(--color-white);
    box-shadow: inset 0 -2px 0 var(--color-gold);
}

.mega-menu__grid {
    position: relative;
    overflow: visible;
    background: var(--color-white);
    border-radius: 10px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 40px rgba(62,39,35,.18);
    display: flex;
    flex-direction: column;
    min-width: 220px;
}

.mega-menu__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: var(--color-wood);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    border-left: 3px solid transparent;
}

.mega-menu__item:hover {
    background: var(--color-cream);
    color: var(--color-wood);
    border-left-color: var(--color-felt);
}

.mega-menu__grid::before {
    content: '';
    display: block;
    width: 14px;
    height: 8px;
    background: var(--color-white);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mega-toggle { display: none; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.btn--primary {
    background: var(--color-felt);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(27,94,32,.2);
}
.btn--primary:hover {
    background: var(--color-felt-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27,94,32,.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-felt);
    border: 2px solid var(--color-felt);
}
.btn--outline:hover {
    background: var(--color-felt);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--light {
    background: var(--color-white);
    color: var(--color-felt);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.btn--light:hover {
    color: var(--color-felt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.btn .icon { width: 16px; height: 16px; }

/* ── Hero (homepage) ── */
.hero {
    background: var(--color-felt-dark);
    color: var(--color-white);
    padding: 5rem 0 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,59,19,.88) 0%, rgba(13,59,19,.6) 50%, rgba(13,59,19,.4) 100%);
    z-index: 1;
}

.hero .content-wrap { position: relative; z-index: 2; }

.hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: .5rem;
}

.hero__subtitle {
    color: var(--color-gold);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: .9;
}

.hero p {
    font-size: 1.1rem;
    opacity: .85;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}

.hero-links a {
    background: rgba(255,255,255,.12);
    color: var(--color-white);
    text-decoration: none;
    padding: .55rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.2);
    transition: background .2s, transform .2s, border-color .2s;
}
.hero-links a:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-2px);
    color: var(--color-white);
}

/* ── Page header ── */
.page-header {
    background: var(--color-felt-dark);
    color: var(--color-white);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.page-header--has-image { padding: 8rem 0 5rem; min-height: 320px; }

.page-header__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header--has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,59,19,.85) 0%, rgba(13,59,19,.55) 50%, rgba(13,59,19,.3) 100%);
    z-index: 1;
}

.page-header:not(.page-header--has-image)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(27,94,32,.25) 0%, transparent 60%);
    pointer-events: none;
}

.page-header .content-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin: 0;
    font-size: 2.2rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.page-header__subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: .75rem auto 0;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}


/* ── Page content ── */
.page-content {
    padding: 2.5rem 0 4rem;
}

.page-content img {
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.page-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ── Cards ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.card:hover .card__img {
    transform: scale(1.04);
}

.card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__icon {
    width: 36px;
    height: 36px;
    color: var(--color-felt);
    margin-bottom: .75rem;
    opacity: .7;
}

.card h3 {
    margin: 0 0 .6rem;
    font-size: 1.1rem;
}
.card h3 a {
    color: var(--color-wood);
    text-decoration: none;
}
.card h3 a:hover { color: var(--color-felt); }

.card p {
    font-size: .9rem;
    color: var(--color-wood-light);
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-felt);
    text-decoration: none;
}
.card__link:hover { color: var(--color-felt-light); }
.card__link .icon { width: 14px; height: 14px; }

.card__img-link { display: block; overflow: hidden; }
.card--has-img .card__img { height: 180px; display: block; }

.cards-grid--hub { grid-template-columns: repeat(3, 1fr); }

.hub-cards + .page-content {
    background: var(--color-cream);
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
}

.hub-cards { padding: 2.5rem 0 2rem; }
.hub-cards .wide-wrap { max-width: 1100px; }

/* ── Sections homepage ── */
/* ── Home intro ── */
.home-intro {
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}
.home-intro__title {
    font-size: 1.5rem;
    color: var(--color-felt);
    border: none;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.home-intro__title::after { display: none; }
.home-intro__text {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-wood-medium);
}
.home-intro__text p + p { margin-top: 1rem; }

/* ── Home sections ── */
.home-section {
    padding: 4rem 0;
}

.home-section h2 {
    text-align: center;
    border: none;
    margin-bottom: .5rem;
}
.home-section h2::after { display: none; }

.home-section__subtitle {
    text-align: center;
    color: var(--color-wood-light);
    font-size: .95rem;
    margin-bottom: 2rem;
}

.home-section__intro {
    max-width: var(--content-width);
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--color-wood-light);
    font-size: .95rem;
    line-height: 1.7;
}

.home-section--alt {
    background: var(--color-white);
}

.home-section--felt {
    background: var(--color-felt-dark);
    color: var(--color-white);
}
.home-section--felt h2 { color: var(--color-white); }
.home-section--felt p { color: rgba(255,255,255,.8); }
.home-section--felt a { color: var(--color-gold); }

/* ── Gold separator ── */
.gold-sep {
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto 2rem;
    border: none;
}

/* ── Related pages (bottom of page.php) ── */
.related-pages {
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    margin-top: 2rem;
}

.related-pages h2 {
    border: none;
    font-size: 1.3rem;
    margin: 0 0 1.5rem;
    text-align: center;
}
.related-pages h2::after { display: none; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-wood);
    font-weight: 600;
    font-size: .9rem;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.related-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-felt);
}
.related-link .icon { width: 16px; height: 16px; color: var(--color-gold); flex-shrink: 0; }

/* ── Breadcrumb bar ── */
.breadcrumb-bar {
    background: var(--color-felt-dark);
    padding: .55rem 0;
    font-size: .8rem;
}
.breadcrumb-bar a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
}
.breadcrumb-bar a:hover { color: var(--color-white); }
.breadcrumb-bar .sep { margin: 0 .35rem; color: rgba(255,255,255,.3); }
.breadcrumb-bar span:last-child { color: rgba(255,255,255,.85); font-weight: 600; }

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    opacity: 0;
    transform: translateY(25px);
}

.animate.is-visible {
    animation: fadeInUp .6s cubic-bezier(.22,1,.36,1) forwards;
}

.animate.is-visible.stagger-1 { animation-delay: 0s; }
.animate.is-visible.stagger-2 { animation-delay: .1s; }
.animate.is-visible.stagger-3 { animation-delay: .2s; }
.animate.is-visible.stagger-4 { animation-delay: .3s; }
.animate.is-visible.stagger-5 { animation-delay: .4s; }
.animate.is-visible.stagger-6 { animation-delay: .5s; }

/* ── Footer ── */
.site-footer {
    background: var(--color-wood);
    color: rgba(255,255,255,.6);
    padding: 3rem 0 2rem;
    margin-top: auto;
    font-size: .85rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-title {
    color: var(--color-white);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.site-footer a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
}
.site-footer a:hover { color: var(--color-white); }

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li { margin-bottom: .35rem; }

.site-footer__copy {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    body { font-size: 16px; }

    .menu-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        align-self: auto;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-wood);
        padding: 1rem;
        box-shadow: 0 8px 20px rgba(62,39,35,.3);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        height: auto;
    }

    .site-nav li {
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .site-nav li:last-child {
        border-bottom: none;
    }

    .site-nav > ul > li > a {
        display: block;
        padding: 0.75rem 0;
    }

    /* Mega-menu mobile toggle */
    .mega-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        border-left: 1px solid rgba(255,255,255,.15);
        color: var(--color-cream);
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        margin-left: auto;
        cursor: pointer;
        transition: transform 0.3s, background 0.2s;
    }
    .mega-toggle svg { width: 16px; height: 10px; }
    .mega-toggle:active { background: rgba(255,255,255,.1); }
    .mega-toggle[aria-expanded="true"] { transform: rotate(180deg); }

    .site-nav li { display: block; }
    .site-nav li.is-active > a { box-shadow: none; color: var(--color-gold); }

    .site-nav li.has-mega {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .site-nav li.has-mega > a {
        padding: 0.75rem 0;
        align-self: center;
    }
    .site-nav li.has-mega .mega-menu {
        grid-column: 1 / -1;
    }
    .site-nav li.has-mega.is-active > a { color: var(--color-gold); box-shadow: none; }

    .mega-menu {
        position: static;
        padding-top: 0;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: opacity 0.25s, visibility 0.25s, max-height 0.3s;
        pointer-events: none;
    }
    .mega-menu::before,
    .mega-menu::after,
    .mega-menu__grid::before { display: none; }

    .mega-menu.is-open {
        visibility: visible;
        opacity: 1;
        max-height: 500px;
        pointer-events: auto;
    }

    /* Disable hover on mobile */
    .has-mega:hover .mega-menu,
    .has-mega:focus-within .mega-menu {
        visibility: hidden;
        opacity: 0;
        max-height: 0;
        pointer-events: none;
        transform: none;
    }
    .has-mega:hover .mega-menu.is-open,
    .has-mega:focus-within .mega-menu.is-open {
        visibility: visible;
        opacity: 1;
        max-height: 500px;
        pointer-events: auto;
        transform: none;
    }

    .mega-menu__grid {
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(62,39,35,.12);
        background: var(--color-white);
        padding: 0.5rem 0;
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0.25rem 0 0.5rem;
    }
    .mega-menu__item {
        flex-direction: row;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: var(--color-wood);
        text-align: left;
        gap: 0.6rem;
        border-radius: 0;
        background: transparent;
        border-left: 3px solid transparent;
    }
    .mega-menu__item:hover,
    .mega-menu__item:active {
        background: var(--color-cream);
        border-left-color: var(--color-felt);
    }
    .mega-menu__item span {
        font-weight: 500;
        line-height: 1.3;
    }

    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 2.2rem; }

    .page-header { padding: 2rem 0 1.5rem; }
    .page-header--has-image { padding: 5rem 0 3rem; min-height: 220px; }
    .page-header h1 { font-size: 1.7rem; }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.35rem; }

    .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cards-grid--hub { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr; }

    .site-footer__inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-links { flex-direction: column; align-items: center; }
    .hero-links a { width: 100%; text-align: center; max-width: 280px; }

    .card__img { height: 150px; }
    .cards-grid--hub { grid-template-columns: 1fr; }
}

/* ── Articles grid ── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card__body {
    padding: 1.5rem;
}
.article-card__body h2 {
    font-size: 1.15rem;
    border: none;
    margin: .5rem 0 .75rem;
    text-align: left;
}
.article-card__body h2::after { display: none; }
.article-card__body h2 a {
    color: var(--color-wood);
    text-decoration: none;
}
.article-card__body h2 a:hover {
    color: var(--color-felt);
}
.article-card__body p {
    font-size: .9rem;
    color: var(--color-wood-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card__date {
    font-size: .8rem;
    color: var(--color-wood-light);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.article-meta {
    display: block;
    color: var(--color-gold);
    font-size: .85rem;
    margin-top: .5rem;
    opacity: .9;
}

.pagination {
    text-align: center;
    padding: 1rem 0 2rem;
}
.pagination .page-numbers {
    display: inline-block;
    padding: .5rem .85rem;
    margin: 0 .2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-wood-medium);
    font-size: .9rem;
}
.pagination .page-numbers.current {
    background: var(--color-felt);
    color: var(--color-white);
}
.pagination .page-numbers:hover:not(.current) {
    background: var(--color-border);
}

/* ── Video embeds ── */
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
    background: #000;
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    background: var(--color-felt-dark);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    text-align: center;
    padding: 1rem;
}

/* ── Print ── */
@media print {
    .site-header, .site-footer, .site-nav, .related-pages, .hero-links { display: none; }
    body { font-size: 11pt; background: white; color: black; }
    a { color: black; }
    h1, h2, h3, h4 { color: black; }
    h2 { border-color: black; }
    h2::after { display: none; }
    .page-header { background: none; color: black; padding: 1rem 0; }
    .page-header h1 { color: black; }
    .card { box-shadow: none; border: 1px solid #ccc; }
}
