/**
 * MIRAS Culinair - Publieke receptenpagina's (/culinair)
 * MIRAS huisstijl: #EA5B0C (oranje), zwart, turquoise accent; Avenir/Calibri
 */

:root {
    --miras-oranje: #EA5B0C;
    --miras-oranje-donker: #c84900;
    --miras-zwart: #1d1d1b;
    --miras-turquoise: #00ADB5;
    --miras-turquoise-licht: #bfe7e9;
    --c-creme: #f8f7f2;
    --c-lijn: #dcdcd6;
    --c-tekst-zacht: #66665f;
    --c-paneel: #f0efe8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body.culinair {
    margin: 0;
    background: var(--c-creme);
    color: var(--miras-zwart);
    font-family: 'Avenir Next', 'Avenir', 'Calibri', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
.culinair a { color: inherit; text-decoration: none; }
.culinair button, .culinair input { font: inherit; }
.culinair button { cursor: pointer; }
.culinair a:focus-visible, .culinair button:focus-visible, .culinair input:focus-visible {
    outline: 3px solid var(--miras-turquoise);
    outline-offset: 4px;
}
.culinair h1, .culinair h2, .culinair h3, .culinair p { margin-top: 0; }
.culinair h1, .culinair h2, .culinair h3 { line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; }
.culinair h1, .culinair h3 { overflow-wrap: break-word; hyphens: auto; }
.culinair h1 em, .culinair h2 em { font-style: normal; color: var(--miras-oranje); }
.culinair h2 { font-size: 48px; margin-bottom: 0; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.c-header {
    background: var(--miras-zwart);
    color: #fff;
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.c-brand { display: flex; align-items: center; gap: 16px; }
.c-brand img { width: 64px; height: 64px; display: block; }
.c-brand span { font-size: 22px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.c-brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--miras-oranje); }
.c-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.c-header nav a:hover { color: var(--miras-oranje); }
.c-nav-cta { border: 1px solid var(--miras-oranje); border-radius: 4px; padding: 9px 16px; color: #fff; white-space: nowrap; }
.c-nav-cta span { margin-left: 10px; color: var(--miras-oranje); }
.c-nav-reserveer { background: var(--miras-oranje); border: 1px solid var(--miras-oranje); border-radius: 4px; padding: 9px 16px; color: #fff; white-space: nowrap; }
.culinair .c-header nav a.c-nav-reserveer:hover { background: var(--miras-oranje-donker); color: #fff; }

/* ---------- Gemeenschappelijk ---------- */
.c-eyebrow { font-size: 11px; letter-spacing: 2px; font-weight: 700; line-height: 1.6; text-transform: uppercase; }
.c-line { display: inline-block; width: 30px; height: 2px; background: var(--miras-oranje); vertical-align: middle; margin-right: 12px; }
.c-intro { font-size: 17px; max-width: 480px; line-height: 1.75; }
.c-button {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
    padding: 15px 23px; border-radius: 4px; font-size: 14px; font-weight: 700; border: none;
}
.c-button-orange { background: var(--miras-oranje); color: #fff !important; }
.c-button-orange:hover { background: var(--miras-oranje-donker); }
.c-button-dark { background: var(--miras-zwart); color: #fff !important; }
.c-button-dark:hover { background: #000; }
.c-text-link { font-weight: 700; font-size: 13px; border-bottom: 2px solid var(--miras-oranje); padding-bottom: 4px; }

/* ---------- Hero ---------- */
.c-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; padding: 42px 5% 55px; gap: 6%; }
.c-hero-copy { padding-top: 50px; }
.c-hero h1 { font-size: clamp(56px, 6.7vw, 100px); margin: 27px 0 24px; letter-spacing: -2.5px; }
.c-hero .c-button { margin-top: 15px; }
.c-hero-foot { margin-top: 45px; font-size: 12px; color: var(--c-tekst-zacht); }
.c-hero-visual { position: relative; min-height: 560px; overflow: hidden; border-radius: 120px 4px 4px 4px; background: var(--miras-zwart); }
.c-hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-feature { position: absolute; bottom: 22px; left: 22px; right: 22px; background: var(--c-creme); padding: 24px 27px; border-radius: 3px; border-left: 4px solid var(--miras-oranje); }
.c-feature .c-eyebrow { font-size: 9px; }
.c-feature h2 { font-size: 34px; margin: 10px 0 14px; }
.c-feature > span:last-child { font-size: 13px; display: block; }
.c-feature b { float: right; background: var(--miras-oranje); color: #fff; border-radius: 50%; height: 36px; width: 36px; text-align: center; line-height: 36px; font-size: 20px; margin-top: -12px; }

.c-ticker {
    background: var(--miras-turquoise-licht);
    display: flex; justify-content: space-around; align-items: center; gap: 20px;
    padding: 18px 5%; font-size: 15px; font-weight: 600;
}
.c-ticker i { font-size: 25px; font-style: normal; color: var(--miras-oranje); }

/* ---------- Overzicht ---------- */
.c-collection { padding: 85px 5%; }
.c-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.c-section-heading > p { font-size: 14px; margin-bottom: 4px; }
.c-section-heading .c-eyebrow { margin-bottom: 15px; }
.c-filterbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-lijn); padding-bottom: 22px; gap: 20px; }
.c-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.c-filters button { background: transparent; border: 1px solid var(--c-lijn); border-radius: 30px; padding: 9px 19px; font-size: 13px; color: var(--miras-zwart); }
.c-filters button:hover { border-color: var(--miras-oranje); }
.c-filters button.active { background: var(--miras-oranje); color: #fff; border-color: var(--miras-oranje); }
.c-search { border: 1px solid var(--c-lijn); border-radius: 30px; display: flex; align-items: center; padding: 0 14px; gap: 8px; background: #fff; }
.c-search span { font-size: 25px; line-height: 1; }
.c-search input { background: transparent; border: 0; width: 260px; font-size: 13px; color: var(--miras-zwart); padding: 10px 0; outline-offset: 0 !important; }
.c-count { font-size: 11px; color: var(--c-tekst-zacht); margin: 15px 0 25px; letter-spacing: 1px; text-transform: uppercase; }
.c-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.c-card-image { height: 300px; position: relative; overflow: hidden; border-radius: 5px; background: var(--miras-zwart); }
.c-card-image img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; transition: transform .35s; display: block; }
.c-card a:hover img { transform: scale(1.035); }
.c-tag { position: absolute; left: 16px; top: 16px; background: var(--c-creme); padding: 5px 11px; border-radius: 20px; font-size: 9px; letter-spacing: 1px; font-weight: 700; }
.c-round-arrow { position: absolute; right: 16px; bottom: 16px; background: var(--miras-oranje); color: #fff; width: 38px; height: 38px; border-radius: 50%; text-align: center; line-height: 38px; font-size: 20px; }
.c-card-meta { font-size: 10px; letter-spacing: 1px; margin: 20px 0 13px; display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.c-card h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: -.6px; }
.c-card a:hover h3 { color: var(--miras-oranje); }
.c-card p { font-size: 13px; color: var(--c-tekst-zacht); margin-bottom: 16px; }
.c-no-results { padding: 30px 0; }

/* Placeholder voor recepten zonder foto */
.c-placeholder { width: 100%; height: 100%; display: grid; place-content: center; background: var(--miras-zwart); }
.c-placeholder span { color: #fff; font-weight: 900; font-size: 52px; letter-spacing: -2px; transform: rotate(-6deg); }
.c-placeholder em { font-style: normal; color: var(--miras-oranje); }

.c-editorial { margin: 0 5% 85px; padding: 40px 0 10px; border-top: 1px solid var(--c-lijn); display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; gap: 40px; }
.c-editorial h2 { font-size: 40px; }
.c-editorial > div { font-size: 15px; }

.c-learn { background: var(--miras-turquoise-licht); padding: 65px 9%; display: grid; grid-template-columns: 1fr 1fr; gap: 12%; align-items: center; }
.c-learn h2 { font-size: 58px; }
.c-learn p { max-width: 440px; }
.c-learn .c-eyebrow { margin-bottom: 18px; }
.c-learn .c-button { margin-top: 10px; }

.c-footer { background: var(--miras-zwart); color: #fff; padding: 35px 5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
.c-footer strong { font-size: 20px; color: var(--miras-oranje); }
.c-footer a:hover { color: var(--miras-oranje); }

/* ---------- Receptpagina ---------- */
.c-breadcrumbs { display: flex; flex-wrap: wrap; gap: 13px; font-size: 11px; margin: 24px 5%; color: var(--c-tekst-zacht); }
.c-breadcrumbs a:hover { color: var(--miras-oranje); }
.c-recipe-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 6%; padding: 20px 5% 55px; }
.c-recipe-intro { padding-top: 25px; }
.c-recipe-hero h1 { font-size: clamp(40px, 4.5vw, 64px); margin: 25px 0; }
.c-recipe-hero figure { margin: 0; min-width: 0; height: 500px; border-radius: 5px 100px 5px 5px; overflow: hidden; background: var(--miras-zwart); }
.c-recipe-hero figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-chef { display: flex; align-items: center; gap: 14px; margin: 25px 0; }
.c-chef-monogram { background: var(--miras-oranje); color: #fff; border-radius: 50%; height: 46px; width: 46px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.c-chef small { display: block; font-size: 9px; letter-spacing: 1.2px; }
.c-chef strong { font-size: 14px; }
.c-recipe-facts { display: flex; flex-wrap: wrap; gap: 25px; padding: 20px 0; border-top: 1px solid var(--c-lijn); border-bottom: 1px solid var(--c-lijn); font-size: 12px; }
.c-recipe-facts strong { font-size: 20px; margin-right: 3px; color: var(--miras-oranje); }
.c-actions { display: flex; gap: 25px; align-items: center; margin-top: 25px; }
.c-print { background: none; border: 0; border-bottom: 2px solid var(--miras-zwart); font-size: 13px; color: var(--miras-zwart); padding: 6px 0; }
.c-recipe-nav { margin: 0 5%; padding: 18px 0; border-block: 1px solid var(--c-lijn); display: flex; gap: 35px; font-size: 13px; font-weight: 600; }
.c-recipe-nav a:hover { color: var(--miras-oranje); }
.c-recipe-layout { display: grid; grid-template-columns: 360px 1fr; gap: 8%; padding: 60px 9% 80px; }
.c-recipe-layout h2 { font-size: 36px; margin-bottom: 25px; }
.c-recipe-layout aside { background: var(--c-paneel); padding: 28px; border-radius: 5px; align-self: start; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; }
.c-recipe-layout aside h2 { font-size: 29px; }

/* Portie-aanpasser */
.c-servings { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid #cfcfc6; }
.c-servings small { flex-basis: 100%; font-weight: 400; font-size: 11px; color: var(--c-tekst-zacht); }
.c-stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--miras-zwart); border-radius: 30px; overflow: hidden; background: #fff; }
.c-stepper button { background: transparent; border: 0; width: 36px; font-size: 18px; font-weight: 700; color: var(--miras-zwart); }
.c-stepper button:hover { background: var(--miras-oranje); color: #fff; }
.c-stepper input { width: 52px; border: 0; text-align: center; font-weight: 800; font-size: 16px; padding: 6px 0; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.c-stepper input::-webkit-outer-spin-button, .c-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.c-servings-reset { background: none; border: 0; padding: 0; font-size: 11px; font-weight: 600; color: var(--miras-oranje); text-decoration: underline; }
body.is-scaled .c-qty[data-qty] { color: var(--miras-oranje); }

.c-ingredient-group { margin-top: 25px; }
.c-ingredient-group h3 { font-size: 17px; letter-spacing: -.3px; margin-bottom: 10px; }
.c-ingredient-group label { display: flex; gap: 10px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid #ddddd5; align-items: baseline; cursor: pointer; }
.c-ingredient-group input { accent-color: var(--miras-oranje); }
.c-ingredient-group input:checked + span { text-decoration: line-through; color: #8a8a82; }
.c-qty { font-weight: 700; }

.c-method-part { margin: 35px 0; border-bottom: 1px solid var(--c-lijn); padding-bottom: 27px; break-inside: avoid; }
.c-step-title { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.c-step-title > span { color: var(--miras-oranje); font-size: 30px; font-weight: 800; }
.c-step-title h3 { font-size: 25px; margin: 0; letter-spacing: -.5px; }
.c-needs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; }
.c-needs::before { content: 'Nodig'; flex-basis: 100%; font-size: 10px; letter-spacing: 1.5px; font-weight: 700; text-transform: uppercase; color: var(--c-tekst-zacht); }
.c-needs li { background: var(--c-paneel); border-radius: 20px; padding: 3px 12px; font-size: 13px; line-height: 1.6; }
.c-qty-stap { font-weight: 700; }
.c-method ol { padding-left: 22px; font-size: 15px; line-height: 1.8; }
.c-method li { padding-left: 7px; margin-bottom: 10px; }
.c-method li::marker { color: var(--miras-oranje); font-size: 12px; font-weight: 700; }
.c-technique { border-left: 4px solid var(--miras-oranje); padding: 18px 22px; background: #fff; margin-bottom: 40px; overflow-wrap: anywhere; }
.c-technique > span { font-size: 10px; letter-spacing: 1.5px; font-weight: 700; color: var(--miras-oranje); display: block; margin-bottom: 8px; }
.c-technique p { font-size: 14px; margin: 0 0 8px; }
.c-technique a { color: var(--miras-oranje); font-weight: 700; }
.c-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-bottom: 40px; }
.c-gallery img { width: 100%; max-width: 100%; height: auto; border-radius: 5px; display: block; }

.c-notfound { padding: 90px 5% 110px; }
.c-notfound h1 { font-size: clamp(44px, 5vw, 72px); margin: 20px 0 35px; }

/* ---------- Responsive ---------- */
@media (min-width: 1500px) {
    body.culinair { max-width: 1600px; margin: auto; }
    /* Achtergrondkleur van header, footer en opleidingsbanner over de volle schermbreedte; inhoud blijft binnen 1600px */
    .c-header, .c-footer { border-image: conic-gradient(var(--miras-zwart) 0 0) fill 0 // 0 100vmax; }
    .c-learn { border-image: conic-gradient(var(--miras-turquoise-licht) 0 0) fill 0 // 0 100vmax; }
}
@media (max-width: 1000px) {
    .c-hero { gap: 4%; min-height: 560px; }
    .c-hero-visual { min-height: 500px; }
    .c-hero h1 { font-size: 72px; }
    .c-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-card-image { height: 260px; }
    .c-recipe-layout { padding-inline: 5%; grid-template-columns: 300px 1fr; gap: 5%; }
    .c-recipe-hero figure { height: 440px; }
    .c-editorial { grid-template-columns: 1fr 1fr; }
    .c-editorial > .c-eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
    .c-header nav { gap: 20px; }
    .c-search input { width: 180px; }
}
@media (max-width: 900px) {
    .c-nav-lang { display: none; }
    .c-brand small { display: none; }
    .c-header nav { gap: 12px; }
    .c-hero { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
    .c-hero-copy { padding-top: 10px; }
    .c-hero-visual { min-height: 480px; }
    .c-ticker span:last-child, .c-ticker i:last-of-type { display: none; }
    .c-recipe-hero { grid-template-columns: 1fr; gap: 30px; }
    .c-recipe-hero figure { height: 420px; }
    .c-recipe-layout { grid-template-columns: 280px minmax(0, 1fr); }
    .c-filterbar { flex-direction: column; align-items: stretch; }
    .c-search input { width: 100%; }
}
@media (max-width: 700px) {
    .c-brand img { width: 48px; height: 48px; }
    .c-brand span { font-size: 17px; }
    .c-header { padding-block: 10px; }
    .c-header { flex-wrap: wrap; }
    .c-header nav { width: 100%; gap: 8px; }
    .c-nav-cta, .c-nav-reserveer { flex: 1; text-align: center; font-size: 12px; padding: 8px 10px; }
    .c-recipe-hero, .c-hero { grid-template-columns: minmax(0, 1fr); }
    .c-hero { padding-top: 15px; gap: 32px; }
    .c-hero-copy { padding-top: 20px; }
    .c-hero h1 { font-size: 64px; margin: 20px 0; }
    .c-intro { font-size: 15px; }
    .c-hero-foot { margin-top: 24px; }
    .c-hero-visual { min-height: 0; border-radius: 0; background: transparent; overflow: visible; }
    .c-hero-visual > img { position: static; display: block; height: 320px; border-radius: 80px 4px 4px 4px; }
    .c-feature { display: block; position: relative; left: auto; right: auto; bottom: auto; margin: -50px 14px 0; padding: 18px 20px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
    .c-feature h2 { font-size: 26px; }
    .c-ticker { font-size: 12px; padding: 15px 5%; justify-content: center; }
    .c-ticker span:last-child, .c-ticker i:last-of-type { display: none; }
    .c-collection { padding-block: 50px; }
    .c-section-heading { display: block; }
    .c-section-heading h2 { font-size: 38px; margin-bottom: 18px; }
    .c-filterbar { flex-direction: column; }
    .c-filters { gap: 6px; }
    .c-filters button { padding: 8px 12px; font-size: 12px; }
    .c-search input { width: 100%; }
    .c-cards { grid-template-columns: minmax(0, 1fr); gap: 35px; }
    .c-card-image { height: 280px; }
    .culinair h2 { font-size: 38px; }
    .c-editorial { grid-template-columns: 1fr; gap: 22px; margin-bottom: 45px; }
    .c-learn { grid-template-columns: 1fr; gap: 25px; padding: 40px 6%; }
    .c-learn h2 { font-size: 46px; }
    .c-footer { flex-wrap: wrap; }
    .c-footer span { order: 3; width: 100%; }
    .c-recipe-hero { gap: 30px; }
    .c-recipe-hero h1 { font-size: clamp(30px, 9vw, 40px); }
    .c-recipe-hero figure { height: 340px; }
    .c-recipe-layout { grid-template-columns: 1fr; gap: 45px; padding-top: 35px; }
    .c-recipe-layout aside { position: static; max-height: none; padding: 22px; }
    .c-recipe-intro { padding-top: 0; }
    .c-recipe-facts { gap: 20px; font-size: 11px; }
    .c-recipe-nav { justify-content: space-between; gap: 10px; }
    .c-breadcrumbs { font-size: 10px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Print ---------- */
.c-print-brand { display: none; }
@page { margin: 14mm 14mm 16mm; }
@media print {
    body.culinair { background: #fff; color: #000; font-size: 10pt; line-height: 1.4; max-width: none; }
    .c-header, .c-footer, .c-learn, .c-breadcrumbs, .c-recipe-nav, .c-recipe-hero figure, .c-actions, .c-chef-monogram,
    .c-method > .c-text-link, .c-stepper button, .c-servings-reset, .c-servings small, .c-gallery,
    .culinair .c-eyebrow { display: none !important; }
    .c-print-brand { display: flex; justify-content: space-between; border-bottom: 2px solid var(--miras-oranje); padding-bottom: 4px; margin-bottom: 10px; font-size: 8pt; font-weight: 700; }
    .c-print-brand span:first-child { color: var(--miras-oranje); }
    .c-recipe-hero { display: block; padding: 0; }
    .c-recipe-intro { padding: 0; }
    .c-recipe-hero h1 { font-size: 22pt; margin: 0 0 6px; }
    .c-intro { font-size: 10pt; max-width: none; margin-bottom: 6px; line-height: 1.4; }
    .c-chef { margin: 4px 0; }
    .c-recipe-facts { padding: 6px 0; gap: 18px; }
    .c-recipe-facts strong { font-size: 12pt; }
    .c-recipe-layout { display: block; padding: 10px 0 0; }
    .c-recipe-layout h2 { font-size: 15pt; margin-bottom: 6px; }
    .c-recipe-layout aside { background: #fff; padding: 0; columns: 2; column-gap: 28px; position: static; max-height: none; overflow: visible; }
    .c-recipe-layout aside > h2, .c-servings { column-span: all; }
    .c-servings { padding-bottom: 6px; font-size: 10pt; }
    .c-stepper { border: 0; }
    .c-stepper input { width: auto; max-width: 3em; font-size: 10pt; padding: 0; }
    .c-ingredient-group { break-inside: avoid; margin-top: 10px; }
    .c-ingredient-group h3 { font-size: 11pt; margin-bottom: 2px; }
    .c-ingredient-group label { font-size: 9.5pt; padding: 1px 0; border-bottom: 0; }
    .c-ingredient-group input { appearance: none; border: 1px solid #777; width: 9px; height: 9px; margin: 0; }
    body.is-scaled .c-qty[data-qty] { color: #000; }
    .c-needs { display: none; }
    .c-method { margin-top: 16px; }
    .c-method-part { margin: 10px 0; padding-bottom: 6px; border-bottom: 0; }
    .c-step-title { margin-bottom: 4px; gap: 10px; }
    .c-step-title > span { font-size: 14pt; }
    .c-step-title h3 { font-size: 12pt; }
    .c-method ol { font-size: 9.5pt; line-height: 1.4; margin: 0; }
    .c-method li { margin-bottom: 2px; }
    .c-technique { padding: 6px 12px; margin: 10px 0 0; break-inside: avoid; }
    .c-technique p { font-size: 9.5pt; }
    h2, h3 { break-after: avoid; }
}
