/* ===== VARIABLES ===== */
:root {
  --red: #C0392B;
  --red-dark: #96281B;
  --orange: #E67E22;
  --green: #27AE60;
  --text: #2C2C2C;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #FFFAF7;
  --bg-card: #FFFFFF;
  --border: #E8E0D8;
  --border-light: #F0E8E0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --max-w: 1200px;
  --col-w: 720px;
  --cat-breakfast: #F39C12;
  --cat-dinner: #C0392B;
  --cat-desserts: #8E44AD;
  --cat-healthy: #27AE60;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); line-height: 1.3; color: var(--text); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }
.text-red { color: var(--red); }
.text-light { color: var(--text-light); }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--col-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--red); border-radius: 2px; }
.section-title p { color: var(--text-light); margin-top: 8px; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-size: .95rem; font-weight: 600; transition: all .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,57,43,.35); }
.btn-outline { border: 2px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #f8f8f8; color: var(--red-dark); }

/* ===== BADGE / TAG ===== */
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge-breakfast { background: #FEF3CD; color: #856404; }
.badge-dinner { background: #FDDEDE; color: #842029; }
.badge-desserts { background: #EDE0F8; color: #5A189A; }
.badge-healthy { background: #D1F0E0; color: #155724; }

/* ===== SITE HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { width: 38px; height: 38px; }
.site-logo .logo-text { font-family: var(--font-serif); font-size: 1.4rem; color: var(--red); font-weight: bold; }
.site-logo .logo-sub { font-size: .7rem; color: var(--text-light); display: block; line-height: 1; letter-spacing: .05em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; color: var(--text); transition: all .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--red); background: #FEF2EF; }
.nav-search { display: flex; align-items: center; gap: 10px; }
.search-box { display: flex; align-items: center; background: #F5F0EC; border-radius: 50px; padding: 6px 16px; gap: 8px; }
.search-box input { background: none; border: none; outline: none; font-size: .9rem; color: var(--text); width: 180px; }
.search-box svg { color: var(--text-light); flex-shrink: 0; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 12px 0; font-size: .85rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #FFF3EE 0%, #FDE8E0 50%, #FCE0D4 100%); padding: 70px 0; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; border-radius: 50%; background: rgba(192,57,43,.05); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--red); margin-bottom: 20px; }
.hero h1 { margin-bottom: 18px; }
.hero p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 28px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-image-badge { position: absolute; bottom: -16px; left: 24px; background: #fff; border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.hero-image-badge .hib-icon { width: 44px; height: 44px; background: #FEF2EF; border-radius: 10px; display: grid; place-items: center; font-size: 1.4rem; }
.hero-image-badge .hib-text strong { display: block; font-size: .95rem; }
.hero-image-badge .hib-text span { font-size: .8rem; color: var(--text-light); }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; }
.hero-stat strong { display: block; font-size: 1.6rem; font-family: var(--font-serif); color: var(--red); }
.hero-stat span { font-size: .82rem; color: var(--text-light); }

/* ===== CATEGORY GRID ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.cat-card-overlay h3 { color: #fff; font-size: 1.1rem; margin-bottom: 2px; }
.cat-card-overlay span { color: rgba(255,255,255,.8); font-size: .8rem; }
.cat-card-icon { position: absolute; top: 14px; left: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
.cat-card-icon.breakfast { background: var(--cat-breakfast); }
.cat-card-icon.dinner { background: var(--cat-dinner); }
.cat-card-icon.desserts { background: var(--cat-desserts); }
.cat-card-icon.healthy { background: var(--cat-healthy); }

/* ===== RECIPE CARD ===== */
.recipe-card-thumb { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; border: 1px solid var(--border-light); }
.recipe-card-thumb:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.rct-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.rct-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.recipe-card-thumb:hover .rct-image img { transform: scale(1.05); }
.rct-badge { position: absolute; top: 12px; left: 12px; }
.rct-save { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; background: #fff; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--text-light); font-size: 1rem; transition: all .2s; }
.rct-save:hover { color: var(--red); transform: scale(1.1); }
.rct-body { padding: 18px; }
.rct-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.rct-body h3 a { color: var(--text); }
.rct-body h3 a:hover { color: var(--red); }
.rct-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--text-light); border-top: 1px solid var(--border-light); padding-top: 12px; margin-top: 12px; }
.rct-meta span { display: flex; align-items: center; gap: 4px; }
.rct-stars { display: flex; gap: 2px; margin-bottom: 6px; }
.rct-stars .star-filled { color: #F39C12; font-size: .85rem; }

/* ===== FEATURED RECIPE ===== */
.featured-recipe { background: linear-gradient(135deg, #1a1a1a, #2c2c2c); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.fr-image { position: relative; }
.fr-image img { width: 100%; height: 100%; object-fit: cover; }
.fr-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.fr-content .badge { margin-bottom: 16px; }
.fr-content h2 { color: #fff; font-size: 1.8rem; margin-bottom: 14px; }
.fr-content p { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.fr-meta { display: flex; gap: 20px; margin-bottom: 28px; }
.fr-meta-item { text-align: center; }
.fr-meta-item strong { display: block; color: #fff; font-size: 1.1rem; }
.fr-meta-item span { font-size: .75rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--red); padding: 60px 0; }
.newsletter-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-inner h2 { color: #fff; margin-bottom: 10px; }
.newsletter-inner p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 0; background: #fff; border-radius: 50px; overflow: hidden; padding: 4px; }
.newsletter-form input { flex: 1; border: none; outline: none; padding: 10px 20px; font-size: .95rem; background: none; }
.newsletter-form button { background: var(--red-dark); color: #fff; border-radius: 50px; padding: 10px 24px; font-weight: 600; font-size: .9rem; transition: background .2s; }
.newsletter-form button:hover { background: #7B241C; }
#newsletterMsg { color: rgba(255,255,255,.9); font-size: .9rem; margin-top: 12px; display: none; }

/* ===== SITE FOOTER ===== */
.site-footer { background: #1C1C1C; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo-text { color: #fff; font-family: var(--font-serif); font-size: 1.3rem; }
.footer-brand p { margin-top: 12px; font-size: .88rem; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: .9rem; transition: all .2s; }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-family: var(--font-sans); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom-links a:hover { color: #fff; }

/* ===== RECIPE ARTICLE ===== */
.recipe-hero { position: relative; height: 480px; overflow: hidden; }
.recipe-hero img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%); }
.recipe-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; }
.recipe-hero-content .badge { margin-bottom: 12px; }
.recipe-hero-content h1 { color: #fff; max-width: 700px; }
.recipe-hero-meta { display: flex; align-items: center; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
.recipe-hero-meta span { color: rgba(255,255,255,.85); font-size: .88rem; display: flex; align-items: center; gap: 5px; }
.recipe-hero-meta .author-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }

.article-layout { display: grid; grid-template-columns: var(--col-w) 1fr; gap: 48px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; align-items: start; }
.article-main { padding: 40px 0; }
.article-sidebar { padding: 40px 0; position: sticky; top: 84px; }

.jump-bar { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 28px; flex-wrap: wrap; }
.jump-bar span { font-size: .85rem; color: var(--text-light); }

.article-content p { font-size: 1.05rem; color: #444; line-height: 1.85; margin-bottom: 1.2rem; }
.article-content h2 { margin: 2rem 0 1rem; border-bottom: 2px solid var(--border-light); padding-bottom: 8px; }
.article-content h3 { margin: 1.5rem 0 .8rem; color: var(--red); }

.article-image { margin: 32px 0; border-radius: var(--radius); overflow: hidden; }
.article-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-image figcaption { text-align: center; font-size: .82rem; color: var(--text-lighter); padding: 10px; font-style: italic; }

/* ===== RECIPE SCHEMA CARD ===== */
.recipe-schema-card { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 40px 0; box-shadow: var(--shadow); }
.rsc-header { background: var(--red); padding: 24px 28px; color: #fff; }
.rsc-header h2 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.rsc-header p { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0; }
.rsc-meta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); border-bottom: 1px solid var(--border); }
.rsc-meta-item { padding: 18px; text-align: center; border-right: 1px solid var(--border); }
.rsc-meta-item:last-child { border-right: none; }
.rsc-meta-item .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); display: block; margin-bottom: 4px; }
.rsc-meta-item .value { font-size: 1rem; font-weight: 700; color: var(--text); font-family: var(--font-serif); }
.rsc-stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 2px; }
.rsc-stars .star { font-size: 1.2rem; color: #ddd; cursor: pointer; transition: color .1s; }
.rsc-stars .star.filled, .rsc-stars .star.hovered { color: #F39C12; }
.rsc-stars .star.selected { color: #F39C12; }
.rating-count { font-size: .78rem; color: var(--text-light); text-align: center; padding: 0 28px 8px; }
.rsc-body { padding: 28px; }
.rsc-section { margin-bottom: 28px; }
.rsc-section-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border-light); }
.rsc-section-title .icon { font-size: 1.1rem; }
.ingredient-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-light); cursor: pointer; transition: opacity .15s; user-select: none; }
.ingredient-item:last-child { border-bottom: none; }
.ingredient-item .check { width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 4px; flex-shrink: 0; display: grid; place-items: center; transition: all .15s; margin-top: 2px; }
.ingredient-item.checked .check { background: var(--green); border-color: var(--green); color: #fff; }
.ingredient-item.checked .check::after { content: '✓'; font-size: .75rem; }
.ingredient-item.checked span { text-decoration: line-through; opacity: .55; }
.ingredient-item span { font-size: .95rem; }
.step-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-light); cursor: pointer; }
.step-item:last-child { border-bottom: none; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-size: .85rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; transition: background .15s; }
.step-item.done .step-num { background: var(--green); }
.step-item.done > div { opacity: .55; }
.step-item > div strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.step-item > div p { font-size: .92rem; color: var(--text-light); margin: 0; }
.servings-adjuster { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.servings-adjuster button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 1rem; transition: all .15s; }
.servings-adjuster button:hover { border-color: var(--red); color: var(--red); }
.servings-adjuster input { width: 48px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px; font-size: .95rem; }
.rsc-footer { background: #F8F4F1; padding: 16px 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.rsc-footer .btn { font-size: .82rem; padding: 8px 16px; }
.nutrition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nutrition-item { background: #F8F4F1; border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.nutrition-item .n-value { font-size: 1.1rem; font-weight: 700; color: var(--red); font-family: var(--font-serif); }
.nutrition-item .n-label { font-size: .72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; }

/* ===== SIDEBAR ===== */
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border-light); }
.sidebar-recent-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.sidebar-recent-item img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.sidebar-recent-item h4 { font-size: .88rem; line-height: 1.4; }
.sidebar-recent-item h4 a { color: var(--text); }
.sidebar-recent-item h4 a:hover { color: var(--red); }
.sidebar-recent-item span { font-size: .75rem; color: var(--text-lighter); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: #F5F0EC; border-radius: 50px; padding: 5px 12px; font-size: .8rem; color: var(--text-light); transition: all .15s; }
.tag-cloud a:hover { background: var(--red); color: #fff; }

/* ===== STATIC PAGES ===== */
.page-hero { background: linear-gradient(135deg, #FFF3EE, #FDE8E0); padding: 60px 0; text-align: center; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-light); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.page-content { max-width: 800px; margin: 0 auto; padding: 48px 20px; }
.page-content h2 { margin: 2rem 0 .8rem; color: var(--red); font-size: 1.3rem; }
.page-content h3 { margin: 1.5rem 0 .6rem; font-size: 1.1rem; }
.page-content p, .page-content li { font-size: 1rem; color: #444; line-height: 1.8; }
.page-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.page-content ul li { margin-bottom: .4rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 48px 0; }
.about-image img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.team-card { text-align: center; }
.team-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.team-card h4 { font-size: .95rem; margin-bottom: 4px; }
.team-card p { font-size: .82rem; color: var(--text-light); margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-item .ci-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: #FEF2EF; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: .9rem; margin-bottom: 3px; }
.contact-info-item p { font-size: .88rem; color: var(--text-light); margin: 0; }
.contact-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .95rem; transition: border-color .15s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
#contactMsg { display: none; color: var(--green); font-size: .9rem; margin-top: 8px; }

/* ===== NEW RECIPE CARD COMPONENTS (Rounds 2 & 3) ===== */

/* Hero image inside rsc-header — negative margins to break out of parent's 24px/28px padding */
.rsc-hero-img { display: block; width: calc(100% + 56px); max-width: none; height: 260px; object-fit: cover; margin: -24px -28px 0; }
.rsc-header-body { padding: 16px 28px 14px; }
.rsc-title { color: #fff; font-size: 1.4rem; margin-bottom: 6px; font-family: var(--font-serif); }
.rsc-desc { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0 0 10px; }

/* Star rating (new) */
.rsc-rating { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.rsc-rating .star { color: #F39C12; font-size: 1rem; }
.rsc-rating-text { font-size: .78rem; color: rgba(255,255,255,.8); margin-left: 4px; }

/* Meta row labels/values (new) */
.rsc-meta-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); display: block; margin-bottom: 4px; }
.rsc-meta-value { font-size: 1rem; font-weight: 700; color: var(--text); font-family: var(--font-serif); display: block; }

/* Servings control (new) */
.servings-control { display: flex; align-items: center; gap: 8px; justify-content: center; }
.srv-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: all .15s; background: none; color: var(--text); }
.srv-btn:hover { border-color: var(--red); color: var(--red); }
#srvCount { font-weight: 700; font-size: 1rem; min-width: 20px; text-align: center; }

/* Ingredients & steps sections (new) */
.rsc-ingredients, .rsc-steps { margin-bottom: 28px; }
.rsc-ingredients h3, .rsc-steps h3 { font-size: 1.05rem; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--border-light); margin-bottom: 14px; }

/* Ingredient list (new — <ul class="ingredient-list"> <li><label><input/><span></span></label></li>) */
.ingredient-list { list-style: none; padding: 0; }
.ingredient-list li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.ingredient-list li:last-child { border-bottom: none; }
.ingredient-list li label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; line-height: 1.5; }
.ingredient-list li input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--red); cursor: pointer; }
.ingredient-list li input[type="checkbox"]:checked + span { text-decoration: line-through; opacity: .5; }
.ingredient-section { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); padding: 12px 0 2px; border-bottom: none !important; }

/* Step list (new — <ol class="step-list"> <li><div class="step-header">...</div><p></p></li>) */
.step-list { list-style: none; padding: 0; }
.step-list li { padding: 14px 0; border-bottom: 1px solid var(--border-light); cursor: pointer; transition: opacity .15s; }
.step-list li:last-child { border-bottom: none; }
.step-list li.done { opacity: .55; }
.step-list li.done .step-num { background: var(--green); }
.step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.step-header strong { font-size: .9rem; }
.step-list li p { font-size: .92rem; color: var(--text-light); margin: 0 0 0 44px; line-height: 1.7; }

/* Nutrition section (new wrapper) */
.rsc-nutrition { padding: 20px 28px; background: #F8F4F1; border-top: 1px solid var(--border-light); }
.rsc-nutrition h3 { font-size: 1rem; margin-bottom: 14px; }
.n-val { font-size: 1.1rem; font-weight: 700; color: var(--red); font-family: var(--font-serif); display: block; }
.n-label { font-size: .72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; display: block; margin-top: 2px; }

/* Recipe hero (new — background-image + overlay with text) */
.recipe-hero { background-size: cover; background-position: center; }
.recipe-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.12) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.recipe-hero-cat { display: inline-block; background: var(--red); color: #fff; border-radius: 50px; padding: 4px 14px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; width: fit-content; }
.recipe-hero-title { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 8px; line-height: 1.2; }
.recipe-hero-sub { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0; max-width: 600px; }

/* Sidebar cards (new recipe pages) */
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border-light); font-family: var(--font-serif); }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { margin-bottom: 10px; font-size: .9rem; }
.sidebar-list li a { color: var(--text); transition: color .15s; }
.sidebar-list li a:hover { color: var(--red); }
.sidebar-tip { background: linear-gradient(135deg, #FFF3EE, #FDE8E0) !important; border-color: #F5C6B0 !important; }

/* Article notes box */
.article-notes { background: #F8F4F1; border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; border-left: 4px solid var(--red); }
.article-notes h3 { font-size: 1rem; margin-bottom: 12px; color: var(--red); font-family: var(--font-sans); }
.article-notes ul { list-style: none; padding: 0; }
.article-notes ul li { font-size: .92rem; color: #444; padding: 7px 0; border-bottom: 1px solid var(--border-light); line-height: 1.65; }
.article-notes ul li:last-child { border-bottom: none; }

/* FAQ section */
.article-faq { margin: 32px 0; }
.article-faq h2 { margin-bottom: 20px; }
.faq-item { border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 10px; }
.faq-item h3 { font-size: .97rem; color: var(--text); margin-bottom: 8px; font-family: var(--font-sans); font-weight: 600; }
.faq-item p { font-size: .9rem; color: var(--text-light); margin: 0; line-height: 1.75; }

/* Mobile nav toggle (new pages use .nav-toggle / #navToggle) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 1.4rem; color: var(--text); }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
}

/* ===== BACK TO TOP ===== */
#backTop { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .2s; z-index: 50; font-size: 1.2rem; }
#backTop.visible { opacity: 1; pointer-events: all; }
#backTop:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ===== PRINT ===== */
@media print {
  /* Hide everything except the recipe card */
  .site-header, .site-footer, .article-sidebar, .jump-bar, .newsletter-section,
  #backTop, .rsc-footer, .breadcrumb, .recipe-hero, .article-content,
  .article-notes, .faq-section, .hero, .cat-grid, .featured-recipe,
  .section, nav, .main-nav { display: none !important; }

  /* Show only the recipe card */
  .article-layout { display: block !important; }
  .article-main { display: block !important; }
  .recipe-schema-card { box-shadow: none !important; border: 1px solid #ccc; }
  body { background: #fff !important; }
  .container { padding: 0 !important; max-width: 100% !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 28px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
}
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rsc-meta-row { grid-template-columns: repeat(2, 1fr); }
  .featured-recipe { grid-template-columns: 1fr; }
  .fr-image { height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 16px; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  /* Hide search box on mobile — hamburger menu handles navigation */
  .search-box { display: none; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form button { border-radius: var(--radius-sm); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .recipe-hero { height: 280px; }
  .recipe-hero-content { padding: 20px; }
  .recipe-hero-content h1 { font-size: 1.4rem; }
  .recipe-hero-meta { gap: 10px; font-size: .8rem; }
  .recipe-hero-meta .author-avatar { width: 26px; height: 26px; }
  .hero { padding: 32px 0; }
  .section { padding: 36px 0; }
  .article-layout { padding: 0 16px; }
  .rsc-body { padding: 18px 16px; }
  .rsc-header { padding: 18px 16px; }
  .rsc-footer { padding: 14px 16px; }
  .rsc-hero-img { width: calc(100% + 32px); margin: -18px -16px 0; }
  .jump-bar { padding: 12px 14px; gap: 8px; }
  .fr-content { padding: 28px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .section-title { margin-bottom: 24px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .rsc-meta-row { grid-template-columns: repeat(2, 1fr); }
  .nutrition-grid { grid-template-columns: repeat(3, 1fr); }
  .fr-meta { gap: 10px; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .recipe-hero { height: 240px; }
  .recipe-hero-content h1 { font-size: 1.2rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 18px; }
  .rct-body { padding: 14px; }
  .rct-body h3 { font-size: .97rem; }
  .article-content p { font-size: 1rem; }
  .fr-content { padding: 22px 18px; }
  .fr-content h2 { font-size: 1.3rem; }
  .contact-form-wrap { padding: 22px 16px; }
  .page-content { padding: 32px 16px; }
  .site-logo .logo-sub { display: none; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
}
