/* RibhLab Kitchen — responsive recipes and separated personal-care navigation */
.recipe-page{--r-ink:#18304b;--r-muted:#687a8d;--r-line:#e3e6f1;--r-violet:#6748dd;--r-orange:#e18a55;color:var(--r-ink)}
.recipe-kicker{letter-spacing:.17em;font:700 12px/1.4 'Space Grotesk',sans-serif;color:var(--r-violet);text-transform:uppercase}
.recipe-library-hero{background:linear-gradient(115deg,#f4efff,#fff8eb 65%,#f7fafb);padding:76px 0 65px;border-bottom:1px solid var(--r-line)}
.recipe-library-hero h1{font-size:clamp(30px,4vw,55px);line-height:1.23;letter-spacing:-.02em;max-width:800px;margin:15px 0 19px;color:#1b2850}
.recipe-library-hero p{font-size:17px;line-height:1.85;max-width:775px;color:#526581}
.recipe-hero-stats{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.recipe-hero-stats a{display:flex;align-items:center;gap:12px;background:#fff;color:var(--r-ink);padding:15px 21px;text-decoration:none;border:1px solid #e9e3ff;border-radius:15px;box-shadow:0 10px 24px #4230780d}
.recipe-hero-stats a:hover{border-color:#a28df0}.recipe-hero-stats strong{color:#6748dd;font-size:29px;font-family:'Space Grotesk',sans-serif}.recipe-hero-stats span{max-width:155px;line-height:1.45;font-weight:700}
.recipe-subnav{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:27px;padding-bottom:10px}
.recipe-subnav a{padding:10px 16px;color:#4e4776;background:#fff;border:1px solid #e4e3f2;border-radius:30px;text-decoration:none;font-weight:650;font-size:14px}
.recipe-subnav a:hover{border-color:#a896f2;color:var(--r-violet)}
.recipe-library{padding-top:23px;padding-bottom:60px}.recipe-search{max-width:520px}
.recipe-search label{display:block;font-size:14px;font-weight:750;margin-bottom:9px}
.recipe-search input{display:block;width:100%;padding:14px 18px;border:1px solid #ccd4e7;border-radius:13px;font-size:16px;background:#fff;color:#1d304c}
.recipe-search input:focus{outline:3px solid #6b51e82b;border-color:var(--r-violet)}
.recipe-filter-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:19px 0}
.recipe-filter-buttons button{padding:10px 15px;background:#fff;border:1px solid #e0e2f1;border-radius:12px;color:#57617c;font-weight:750;cursor:pointer}
.recipe-filter-buttons button.active,.recipe-filter-buttons button:hover{background:#6848db;border-color:#6848db;color:#fff}
[data-recipe-result-count]{color:#65738c;font-size:13px;margin:12px 0 17px}
.recipe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.recipe-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e2e5f1;border-radius:19px;background:#fff;text-decoration:none;box-shadow:0 9px 24px rgba(48,43,97,.06);color:#1a2d4a;transition:transform .18s,border-color .18s,box-shadow .18s}
.recipe-card:hover,.recipe-card:focus-visible{transform:translateY(-4px);border-color:#9982f0;box-shadow:0 18px 31px #483a971c}
.recipe-card img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain;object-position:center;background:#fff9ef}
.recipe-card-content{display:flex;flex:1;flex-direction:column;padding:18px}
.recipe-tag{align-self:flex-start;border-radius:30px;background:#f1edff;color:#6549c9;font-size:12px;padding:5px 10px;font-weight:750}
.recipe-card h3{font-size:18px;line-height:1.45;margin:13px 0 15px;font-weight:800;color:#213456}
.recipe-meta{display:flex;gap:14px;flex-wrap:wrap;color:#718098;font-size:12px;margin-top:auto;margin-bottom:15px}
.recipe-card strong{font-size:13px;color:#6848d8}
.recipe-editorial-note{font-size:13px;color:#79859a;border-top:1px solid #e5e8f0;margin-top:35px;padding-top:16px;line-height:1.85}
.recipe-detail-hero{padding-top:42px;padding-bottom:40px}.recipe-breadcrumb{font-size:13px;color:#6d758b;margin-bottom:30px}
.recipe-breadcrumb a{color:#6248cd;text-decoration:none}.recipe-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:45px}
.recipe-detail-layout h1{font-size:clamp(32px,4vw,54px);line-height:1.25;color:#1e2e50;margin:15px 0 19px}
.recipe-detail-layout p{color:#617088;line-height:1.88;font-size:16px;max-width:670px}
.recipe-detail-layout>img{display:block;width:100%;height:auto;border-radius:22px;border:1px solid #e5e5f0;box-shadow:0 18px 34px #362f751a}
.recipe-facts{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}
.recipe-facts span{background:#f3f0fb;border:1px solid #e2dbfa;border-radius:11px;padding:9px 12px;color:#5c477f;font-size:13px;font-weight:750}
.recipe-back{display:inline-block;font-weight:750;color:#6847d9;text-underline-offset:5px;text-decoration:none}.recipe-back:hover{text-decoration:underline}
.recipe-detail-content{padding-bottom:65px}.recipe-cols{display:grid;grid-template-columns:minmax(245px,.8fr) minmax(0,1.4fr);align-items:start;gap:24px}
.recipe-panel{border:1px solid #e2e5f0;border-radius:20px;background:#fff;box-shadow:0 8px 20px #4d49860c;padding:26px}
.recipe-panel h2{font-size:25px;line-height:1.45;margin:0 0 14px}.recipe-panel>p{color:#738095;font-size:13px}
.recipe-ingredient-list{padding-inline-start:22px;line-height:1.85}.recipe-ingredient-list li{padding:8px 1px;border-bottom:1px solid #edf0f5}.recipe-ingredient-list li:last-child{border:0}
.recipe-step-list{list-style:none;margin:0;padding:0}.recipe-step{display:grid;grid-template-columns:36px minmax(0,1fr);gap:15px;padding:16px 0;border-bottom:1px solid #edf0f5}.recipe-step:last-child{border:0}
.recipe-step-index{display:grid;place-items:center;background:#f1ecff;border-radius:50%;width:36px;height:36px;color:#6948dd;font-weight:900}
.recipe-step h3{font-size:17px;margin:0 0 6px}.recipe-step p{font-size:15px;color:#4e6178;line-height:1.86;margin:0}
.recipe-alert{background:#fbf9f5;border:1px solid #ece7db;border-radius:20px;padding:25px;margin:26px 0;color:#48556c}
.recipe-alert h2{font-size:20px;margin:0 0 14px;color:#223451}.recipe-alert p{line-height:1.85;margin:9px 0}
.recipe-reference{font-size:13px}.recipe-reference a{color:#684acb;text-decoration:underline;text-underline-offset:4px}
[data-recipe-empty]{padding:22px;background:#fff;border:1px dashed #d5d8ec;border-radius:13px;color:#69758b}
@media(max-width:1150px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:830px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-detail-layout{gap:22px}.recipe-cols{grid-template-columns:1fr}}
@media(max-width:620px){.recipe-grid{grid-template-columns:1fr 1fr;gap:12px}.recipe-card-content{padding:12px}.recipe-card h3{font-size:15px}.recipe-meta{gap:7px}.recipe-card strong{font-size:12px}.recipe-library-hero{padding:42px 0}.recipe-detail-layout{grid-template-columns:1fr}.recipe-detail-hero{padding-top:25px}.recipe-panel{padding:18px}.recipe-hero-stats a{padding:11px}.recipe-subnav{gap:7px}.recipe-subnav a{font-size:12px;padding:8px 10px}}
@media(max-width:390px){.recipe-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.recipe-card{transition:none}.recipe-card:hover{transform:none}}

.recipe-card[hidden]{display:none!important}


/* Editorial homepage now shows independent care and cooking destinations. */
.category-grid:has(.topic-recipes){grid-template-columns:repeat(3,minmax(0,1fr))}
.topic-care .topic-symbol{color:#488d81;background:#e6f5ef}
.topic-recipes .topic-symbol{color:#c37a43;background:#fff0e3}
.topic-care,.topic-recipes{border-color:#e1e3ee}
@media(max-width:900px){.category-grid:has(.topic-recipes){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.category-grid:has(.topic-recipes){grid-template-columns:1fr}}


/* Food photographs with readable proportions and clear attribution. */
.recipe-card img[data-recipe-photo]{display:block;width:100%;aspect-ratio:8/5;object-fit:contain;object-position:center;background:#fff9ef}
.recipe-photo-figure{min-width:0}
.recipe-photo-figure img{width:100%;height:auto;max-height:620px;aspect-ratio:auto;object-fit:contain;object-position:center;display:block;border-radius:22px;border:1px solid #e5e5f0;box-shadow:0 18px 34px #362f751a;background:#fff9ef}
.recipe-photo-credit{font-size:12px!important;line-height:1.7!important;color:#708095!important;margin:10px 2px 0!important}
.recipe-photo-credit a{color:#6748dd;text-decoration:underline;text-underline-offset:3px}


.recipe-hub-explainer{max-width:900px;margin:0 0 30px;padding:24px 26px;border-radius:17px;background:#fff;border:1px solid #e4e6f0;box-shadow:0 10px 25px rgba(49,57,102,.045)}
.recipe-hub-explainer h2{font-size:clamp(21px,2vw,29px);line-height:1.38;color:#273a5a;margin:0 0 12px}
.recipe-hub-explainer p{font-size:15px;line-height:1.87;color:#51627c;margin:10px 0}
.recipe-related{margin:26px 0;padding:23px;border:1px solid #e4e6f0;border-radius:17px;background:#fff}
.recipe-related h2{font-size:clamp(20px,2vw,27px);color:#20344f;margin:0 0 13px}
.recipe-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.recipe-related-grid a{padding:13px 15px;border:1px solid #e7e9f2;border-radius:12px;background:#faf9ff;color:#5540bd;text-decoration:none;font-weight:700;line-height:1.5}
.recipe-related-grid a:hover{background:#f0ecff;border-color:#9c8af0}
@media(max-width:580px){.recipe-related-grid{grid-template-columns:1fr}.recipe-hub-explainer{padding:18px}}

/* Full-dish imagery, never crop the food or zoom ingredients outside the frame. */
.recipe-card:focus-visible img,.recipe-card:hover img{object-fit:contain}
.recipe-photo-figure{width:100%;max-width:100%;overflow:visible}
.recipe-video-suggestion{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:21px 0 26px;padding:18px 20px;border:1px solid #e6e1f4;border-radius:16px;background:#fbf9ff}
.recipe-video-suggestion h2{font-size:19px;margin:0;color:#273957}
.recipe-video-suggestion p{font-size:13px;line-height:1.7;margin:0;color:#62718a}
.recipe-video-link{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:11px;background:#6544d6;color:#fff!important;text-decoration:none;font-weight:750}
.recipe-video-link:hover,.recipe-video-link:focus-visible{background:#492bb4;text-decoration:underline}
