/* =========================================================================
   École des Bouts de Choux — theme boutsdechoux v1.0
   Abstract27, 2026
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
    --color-jaune: #FFC845;
    --color-jaune-soft: #FFE6A8;
    --color-bleu: #5B9BD5;
    --color-bleu-soft: #D8E8F6;
    --color-rose: #F4A6CD;
    --color-rose-soft: #FBE0EE;
    --color-vert: #7BC555;
    --color-vert-soft: #DBEFCB;
    --color-creme: #FFF8E7;
    --color-creme-deep: #FBEFD3;

    --color-ink: #2C2A2E;
    --color-ink-soft: #555158;
    --color-muted: #8C8790;
    --color-line: #EAE3D3;
    --color-bg: #FFFCF6;

    --font-display: "Fredoka", system-ui, sans-serif;
    --font-body: "Nunito Sans", system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 6px rgba(44, 42, 46, 0.06);
    --shadow-md: 0 6px 18px rgba(44, 42, 46, 0.08);
    --shadow-lg: 0 12px 32px rgba(44, 42, 46, 0.12);

    --container: 1180px;
    --container-narrow: 760px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-ink);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-bleu); text-decoration: none; transition: color .2s ease; }
a:hover { color: #3F7AB3; text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    color: var(--color-ink);
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--color-ink); }
small { font-size: 0.85rem; color: var(--color-muted); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--color-jaune-soft);
    color: #8C6A12;
    margin-bottom: 14px;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
@media (max-width: 720px) { section { padding: 48px 0; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
    background: var(--color-jaune);
    color: #4A3500;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #FFD566; color: #4A3500; box-shadow: var(--shadow-md); }
.btn-secondary {
    background: transparent;
    color: var(--color-ink);
    border-color: var(--color-ink);
}
.btn-secondary:hover { background: var(--color-ink); color: white; }
.btn-bleu { background: var(--color-bleu); color: white; }
.btn-bleu:hover { background: #4A85BD; color: white; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 246, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--color-line);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-ink);
}
.site-logo:hover { text-decoration: none; color: var(--color-ink); }
.site-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-jaune) 0%, var(--color-rose) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: var(--shadow-sm);
}
.site-logo-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.1;
}
.site-logo-name small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--color-muted);
    margin-top: 2px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav .site-nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav .site-nav-list a {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--color-ink);
    font-size: 0.98rem;
}
.site-nav .site-nav-list a:hover {
    color: var(--color-bleu);
    text-decoration: none;
}
.site-nav .site-nav-list .is-current a { color: var(--color-bleu); }

/* Footer reuses navigation partial — neutralize header flex/styles */
.footer-col .site-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}
.footer-col .site-nav-list li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-col .site-nav-list a { font-size: 0.95rem; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
    margin: 5px 0;
    border-radius: 2px;
}

@media (max-width: 880px) {
    .site-nav .site-nav-list { display: none; }
    .menu-toggle { display: block; }
    .site-nav.is-open .site-nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 16px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--color-line);
        box-shadow: var(--shadow-md);
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 88px 0 64px;
    background: linear-gradient(180deg, var(--color-creme) 0%, var(--color-bg) 100%);
    overflow: hidden;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    z-index: 0;
}
.hero::before {
    width: 320px; height: 320px;
    background: var(--color-rose-soft);
    top: -80px; right: -60px;
}
.hero::after {
    width: 260px; height: 260px;
    background: var(--color-bleu-soft);
    bottom: -100px; left: -40px;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero-title { margin-bottom: 18px; }
.hero-subtitle {
    font-size: 1.18rem;
    color: var(--color-ink-soft);
    margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-jaune) 0%, var(--color-rose) 50%, var(--color-bleu) 100%);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.hero-visual::after {
    content: "🎨";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(6rem, 14vw, 10rem);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

@media (max-width: 880px) {
    .hero { padding: 56px 0 40px; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { max-width: 360px; margin: 0 auto; }
}

/* ---------- Section heading ---------- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--color-ink-soft); max-width: 580px; margin: 0 auto; }

/* ---------- Atouts ---------- */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.atout {
    background: white;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.atout:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.atout-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
}
.atout:nth-child(1) .atout-icon { background: var(--color-jaune-soft); }
.atout:nth-child(2) .atout-icon { background: var(--color-bleu-soft); }
.atout:nth-child(3) .atout-icon { background: var(--color-rose-soft); }
.atout h3 { margin-bottom: 8px; font-size: 1.2rem; }
.atout p { margin: 0; color: var(--color-ink-soft); font-size: 0.97rem; }

@media (max-width: 880px) { .atouts-grid { grid-template-columns: 1fr; } }

/* ---------- Programmes ---------- */
.programmes { background: var(--color-creme); }
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.programme-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 6px solid var(--color-jaune);
    transition: transform .2s ease, box-shadow .2s ease;
}
.programme-card:nth-child(2) { border-top-color: var(--color-bleu); }
.programme-card:nth-child(3) { border-top-color: var(--color-rose); }
.programme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.programme-age {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-bleu);
    line-height: 1;
    margin-bottom: 6px;
}
.programme-card:nth-child(1) .programme-age { color: var(--color-jaune); }
.programme-card:nth-child(3) .programme-age { color: var(--color-rose); }
.programme-card h3 { margin-bottom: 12px; }
.programme-card p { color: var(--color-ink-soft); font-size: 0.97rem; margin-bottom: 16px; }
.programme-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.94rem;
    color: var(--color-ink-soft);
}
.programme-card ul li {
    padding: 6px 0 6px 26px;
    position: relative;
}
.programme-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-vert);
    font-weight: 700;
}

@media (max-width: 880px) { .programmes-grid { grid-template-columns: 1fr; } }

/* ---------- Témoignages ---------- */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.temoignage {
    background: var(--color-bleu-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}
.temoignage:nth-child(2) { background: var(--color-rose-soft); }
.temoignage-quote {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--color-ink);
    margin-bottom: 20px;
    font-style: italic;
}
.temoignage-quote::before { content: "« "; color: var(--color-bleu); font-weight: 700; }
.temoignage-quote::after { content: " »"; color: var(--color-bleu); font-weight: 700; }
.temoignage:nth-child(2) .temoignage-quote::before,
.temoignage:nth-child(2) .temoignage-quote::after { color: var(--color-rose); }
.temoignage-author {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-ink);
}
.temoignage-author small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-ink-soft);
    margin-top: 2px;
}

@media (max-width: 720px) { .temoignages-grid { grid-template-columns: 1fr; } }

/* ---------- Actus feed ---------- */
.actus { background: var(--color-bg); }
.actus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.actu-card {
    background: white;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}
.actu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.actu-card a { color: inherit; }
.actu-card a:hover { text-decoration: none; }
.actu-image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-jaune-soft) 0%, var(--color-rose-soft) 100%);
    overflow: hidden;
}
.actu-image img { width: 100%; height: 100%; object-fit: cover; }
.actu-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.actu-meta {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin-bottom: 10px;
    font-family: var(--font-display);
}
.actu-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.actu-card h3 a:hover { color: var(--color-bleu); }
.actu-excerpt { color: var(--color-ink-soft); font-size: 0.95rem; flex: 1; }
.actus-footer { text-align: center; margin-top: 36px; }

@media (max-width: 880px) { .actus-grid { grid-template-columns: 1fr; } }

/* ---------- CTA block ---------- */
.cta-block {
    background: linear-gradient(135deg, var(--color-jaune) 0%, var(--color-rose) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-block h2 { color: white; margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-block .btn-primary { background: white; color: var(--color-ink); }
.cta-block .btn-primary:hover { background: var(--color-creme); }

@media (max-width: 720px) { .cta-block { padding: 40px 24px; } }

/* ---------- Page ---------- */
.page-hero {
    background: var(--color-creme);
    padding: 72px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--color-line);
}
.page-hero .eyebrow { background: white; }
.page-hero h1 { margin: 0 auto 14px; max-width: 720px; }
.page-hero p { color: var(--color-ink-soft); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.page-content { padding: 64px 0 80px; }
.prose {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}
.prose h2 { margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose blockquote {
    margin: 1.5em 0;
    padding: 18px 24px;
    background: var(--color-bleu-soft);
    border-left: 4px solid var(--color-bleu);
    border-radius: var(--radius-sm);
    font-style: italic;
    color: var(--color-ink);
}
.prose img { border-radius: var(--radius-md); margin: 1.5em auto; }
.prose hr { border: 0; border-top: 1px solid var(--color-line); margin: 2.4em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { background: var(--color-creme-deep); padding: 2px 7px; border-radius: 4px; font-size: 0.92em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { text-align: center; font-size: 0.88rem; color: var(--color-muted); margin-top: 8px; }

/* ---------- Post ---------- */
.post-hero {
    text-align: center;
    padding: 56px 0 36px;
    background: var(--color-creme);
}
.post-meta {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 16px;
}
.post-tags { display: inline-flex; gap: 8px; }
.post-tag {
    display: inline-block;
    padding: 4px 12px;
    background: white;
    border-radius: 999px;
    font-size: 0.78rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-ink);
    border: 1px solid var(--color-line);
}
.post-tag:hover { background: var(--color-jaune-soft); text-decoration: none; color: var(--color-ink); }
.post-title { margin: 14px auto 16px; max-width: 760px; }
.post-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--color-ink-soft);
    font-size: 0.95rem;
}
.post-feature { max-width: 900px; margin: 32px auto -40px; padding: 0 24px; }
.post-feature img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.post-body { padding: 80px 0 64px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-ink);
    color: rgba(255,255,255,0.85);
    padding: 64px 0 32px;
    margin-top: 80px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-jaune); text-decoration: none; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-brand h3 { color: white; margin-bottom: 12px; font-size: 1.3rem; }
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin: 0; }
.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.footer-bottom .footer-attrib { font-family: var(--font-display); }

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Tag / archive ---------- */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 880px) { .archive-grid { grid-template-columns: 1fr; } }

.pagination {
    margin: 56px 0 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-display);
}
.pagination a {
    padding: 10px 22px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--color-line);
    color: var(--color-ink);
}
.pagination a:hover { background: var(--color-jaune-soft); text-decoration: none; }

/* ---------- Error ---------- */
.error-page { text-align: center; padding: 120px 24px; }
.error-page .error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-jaune) 0%, var(--color-rose) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}

/* ---------- Koenig cards ---------- */
.kg-card { margin: 1.5em 0; }
.kg-image-card img { border-radius: var(--radius-md); margin: 1.5em auto; }
.kg-callout-card { padding: 18px 22px; border-radius: var(--radius-md); margin: 1.5em 0; display: flex; gap: 12px; align-items: flex-start; }
.kg-callout-card-grey { background: var(--color-creme-deep); }
.kg-callout-card-blue { background: var(--color-bleu-soft); }
.kg-callout-card-yellow { background: var(--color-jaune-soft); }
.kg-callout-card-green { background: var(--color-vert-soft); }
.kg-callout-card-pink { background: var(--color-rose-soft); }
.kg-callout-emoji { font-size: 1.5em; }
.kg-callout-text { flex: 1; }

/* Width modifiers */
.kg-width-wide {
    position: relative;
    width: calc(100% + 160px);
    margin-left: -80px;
    margin-right: -80px;
    max-width: none;
}
.kg-width-full {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
}
.kg-width-full img { border-radius: 0; }
@media (max-width: 920px) {
    .kg-width-wide { width: 100%; margin-left: 0; margin-right: 0; }
}

/* Gallery */
.kg-gallery-container {
    display: flex;
    flex-direction: column;
    margin: 1.5em 0;
    max-width: 100%;
}
.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.kg-gallery-row:last-child { margin-bottom: 0; }
.kg-gallery-image img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Bookmark */
.kg-bookmark-card {
    width: 100%;
    background: white;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.kg-bookmark-container {
    display: flex;
    color: inherit;
    text-decoration: none;
    min-height: 148px;
}
.kg-bookmark-container:hover { text-decoration: none; }
.kg-bookmark-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    flex-basis: 0;
    flex-grow: 999;
    order: 1;
}
.kg-bookmark-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-ink);
    margin-bottom: 4px;
}
.kg-bookmark-description {
    color: var(--color-ink-soft);
    font-size: 0.92rem;
    margin-top: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    margin-top: 14px;
    color: var(--color-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 8px;
}
.kg-bookmark-icon { width: 20px; height: 20px; margin-right: 6px; }
.kg-bookmark-author::after { content: " · "; }
.kg-bookmark-publisher {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.kg-bookmark-thumbnail {
    position: relative;
    flex-grow: 1;
    flex-basis: 24rem;
    min-height: 120px;
    order: 2;
}
.kg-bookmark-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}
@media (max-width: 720px) {
    .kg-bookmark-container { flex-direction: column; }
    .kg-bookmark-thumbnail { order: 1; flex-basis: auto; min-height: 160px; }
    .kg-bookmark-content { order: 2; }
}

/* Toggle card */
.kg-toggle-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    margin: 1.5em 0;
}
.kg-toggle-heading-text { font-family: var(--font-display); font-weight: 600; }

/* Button card */
.kg-button-card { text-align: center; margin: 1.8em 0; }
.kg-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--color-jaune);
    color: #4A3500;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
}
.kg-btn:hover { background: #FFD566; text-decoration: none; }
