/*
Theme Name: Cozy Crockpot Kitchen
Theme URI: https://example.com/
Author: Cozy Crockpot Kitchen
Description: A warm, fast, recipe-focused theme for slow cooker, soup and freezer meal blogs. Includes a recipe card, Recipe schema and Pinterest save buttons.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: crockpot-cravings
*/

:root {
  --cream: #FFFFFF;
  --cream-2: #F5F5F2;
  --orange: #C62828;
  --orange-dark: #9E1F1F;
  --brown: #1C1C1A;
  --brown-soft: #6A6A66;
  --green: #C62828;
  --line: #E6E6E1;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0,0,0,.05);
  --font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--brown); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--read { width: min(760px, 100% - 40px); }
.section { padding: 48px 0; }
.section--narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.section__title { margin-bottom: 1em; }
.empty { color: var(--brown-soft); background: var(--cream-2); padding: 24px; border-radius: var(--radius); }

.screen-reader-text, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--brown); color: #fff;
  padding: 10px 16px; border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; border: 2px solid var(--orange);
  padding: 11px 22px; border-radius: 999px; font: 600 15px/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--orange-dark); }
.btn--ghost:hover { background: var(--orange); color: #fff; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); font: 700 1.5rem/1 var(--font-head); }
.site-brand:hover { color: var(--orange); }
.site-brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 20px; }
.site-brand img { max-height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--brown); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 2px solid var(--brown); border-radius: 8px; padding: 8px 12px; font: 600 14px var(--font-body); color: var(--brown); cursor: pointer; }

/* Search form */
.search-form { display: flex; gap: 6px; }
.search-form input[type="search"] {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px;
  font: 15px var(--font-body); color: var(--brown); min-width: 0; width: 180px;
}
.search-form input[type="search"]:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.search-form button, .search-form input[type="submit"] {
  background: var(--brown); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font: 600 14px var(--font-body); cursor: pointer;
}

/* Hero */
.hero { background: var(--cream-2); padding: 56px 0; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.hero__lead { font-size: 1.15rem; color: var(--brown-soft); max-width: 520px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__card {
  position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: var(--cream-2); text-decoration: none;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-label {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 248, 238, .94);
  color: var(--brown); padding: 10px 14px; border-radius: 10px; font: 600 15px/1.3 var(--font-body);
}
.hero__card--empty { display: grid; place-items: center; font-size: 96px; color: var(--orange); }

/* Chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 8px 0 0; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  text-decoration: none; color: var(--brown); font-weight: 600; font-size: 14px; transition: all .15s;
}
.chip:hover { background: var(--brown); border-color: var(--brown); color: #fff; }

/* Grid + cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: none; box-shadow: 0 8px 20px rgba(0,0,0,.09); }
.card__img { display: block; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.card__title { font-size: 1.25rem; margin: 0; }
.card__title a { color: var(--brown); text-decoration: none; }
.card__title a:hover { color: var(--orange); }
.card__excerpt { color: var(--brown-soft); font-size: 15px; margin: 0; }
.card__time { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--brown-soft); }

/* Archive */
.archive-head { margin-bottom: 32px; }
.archive-desc { color: var(--brown-soft); max-width: 640px; }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--brown); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Single */
.single__head { text-align: center; padding: 48px 0 24px; max-width: 820px; }
.single__head .card__cat { margin-bottom: 10px; align-self: auto; display: inline-block; }
.single__meta { color: var(--brown-soft); font-size: 14px; }
.single__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.single__image { margin-bottom: 36px; max-width: 980px; }
.single__image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 12px; margin: 1.5em auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.5em 0; padding: 12px 22px; border-left: 4px solid var(--orange); background: var(--cream-2); border-radius: 0 10px 10px 0; }
.entry-title { margin-bottom: .4em; }
.tags { margin-top: 32px; font-size: 14px; }
.tags a { background: var(--cream-2); padding: 4px 12px; border-radius: 999px; text-decoration: none; margin-right: 6px; display: inline-block; margin-bottom: 6px; }

/* Recipe card */
.recipe-card { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 28px; margin: 40px 0; box-shadow: var(--shadow); }
.recipe-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.recipe-card__title { margin: 0; font-size: 1.7rem; }
.recipe-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.recipe-card__actions .btn { padding: 8px 16px; font-size: 14px; }
.recipe-card__meta { list-style: none; margin: 0 0 24px; padding: 14px 0; display: flex; gap: 12px 32px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recipe-card__meta li { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; }
.recipe-card__meta span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--green); font-weight: 700; }
.recipe-card h3 { font-size: 1.25rem; margin-top: 1.4em; }
.recipe-card__group { font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin: 1.2em 0 .4em; font-weight: 700; }
.recipe-card__ing { list-style: none; padding: 0; margin: 0; }
.recipe-card__ing li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.recipe-card__ing label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.recipe-card__ing input { margin-top: 7px; accent-color: var(--orange); }
.recipe-card__steps { padding-left: 1.4em; }
.recipe-card__steps li { margin-bottom: .9em; padding-left: 4px; }
.recipe-card__steps li::marker { color: var(--orange); font-weight: 700; }
.recipe-card__notes { background: var(--cream-2); border-radius: 12px; padding: 14px 18px; margin-top: 20px; font-size: 15px; }

/* Comments */
.comments-area { margin-top: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font: 16px var(--font-body); background: #fff;
}
.comment-respond input[type="submit"] { background: var(--orange); color: #fff; border: 0; border-radius: 999px; padding: 11px 24px; font: 600 15px var(--font-body); cursor: pointer; }

/* Footer */
.site-footer { background: var(--brown); color: #E8E8E3; margin-top: 56px; padding-top: 48px; }
.site-footer a { color: #E8E8E3; }
.site-footer a:hover { color: #fff; }
.site-footer h2, .site-footer h3, .site-footer .site-brand { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 18px 0; font-size: 14px; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 12px; }
  .search-form input[type="search"] { width: 100%; flex: 1; }
  .grid { grid-template-columns: 1fr; }
  .recipe-card { padding: 20px; }
}

/* Print: only the recipe */
@media print {
  body * { visibility: hidden; }
  .recipe-card, .recipe-card * { visibility: visible; }
  .recipe-card { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; margin: 0; padding: 0; }
  .no-print { display: none !important; }
}

/* About photo */
.about-photo { float: right; width: 280px; max-width: 45%; margin: 0 0 16px 28px; }
.about-photo img { width: 100%; border-radius: var(--radius); margin: 0; }
@media (max-width: 600px) { .about-photo { float: none; width: 100%; max-width: 100%; margin: 0 0 20px; } }
.entry-content::after { content: ""; display: table; clear: both; }

/* Footer: compact */
.site-footer { margin-top: 40px; padding-top: 32px; font-size: 14px; line-height: 1.6; }
.site-footer__grid { gap: 32px; padding-bottom: 24px; }
.site-footer h2, .site-footer h3, .site-footer .widget-title, .site-footer .widgettitle {
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 12px; color: #fff;
}
.site-footer .site-brand { font-size: 1.15rem; margin-bottom: 8px; }
.site-footer .site-brand__mark { width: 30px; height: 30px; font-size: 16px; }
.site-footer p { margin: 0 0 8px; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .widget { margin-bottom: 20px; }
.site-footer .widget_archive, .site-footer .widget_categories { display: none; }
.site-footer__bottom { font-size: 13px; padding: 14px 0; }

/* Forms */
.cc-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.cc-form input[type="text"], .cc-form input[type="email"], .cc-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font: 16px var(--font-body); background: #fff; color: var(--brown);
}
.cc-form input:focus, .cc-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.form-note { padding: 10px 14px; border-radius: 8px; font-size: 14px; margin: 10px 0 0; }
.form-note--ok { background: #E7F1E9; color: #1F4A2A; }
.form-note--err { background: #FBE9E7; color: #8A2A1B; }
.cc-subscribe { margin-top: 16px; max-width: 360px; }
.cc-subscribe label { display: block; margin-bottom: 8px; }
.cc-subscribe__row { display: flex; gap: 6px; }
.cc-subscribe__row input { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: 9px 12px; font: 14px var(--font-body); }
.cc-subscribe__row button { background: #fff; color: var(--brown); border: 0; border-radius: 8px; padding: 9px 14px; font: 600 14px var(--font-body); cursor: pointer; }
.cc-subscribe__row button:hover { background: var(--cream-2); }
.site-footer .form-note { margin-top: 8px; }

.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 14px; }

/* Social icon */
.social-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--brown); line-height: 0; transition: color .15s, transform .15s; }
.social-icon:hover { color: #E60023; transform: scale(1.1); }
.site-footer .social-icon { color: #E8E8E3; }
.site-footer .social-icon:hover { color: #fff; }
.about-photo .social-icon { margin-top: 10px; }
.about-photo { text-align: center; }

.social-icon, .site-footer .social-icon { color: inherit; }
.social-icon:hover, .site-footer .social-icon:hover { color: inherit; transform: scale(1.1); }

/* ===== Atlas-style header (our colors) ===== */
.site-header { position: static; border-bottom: 0; background: #fff; }
.site-header .container { min-height: 0; }
.topbar { background: var(--brown); color: #E8E8E3; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar__time { display: flex; align-items: center; gap: 10px; }
.topbar__clock { background: var(--green); color: #fff; font-weight: 700; padding: 3px 12px; border-radius: 6px; font-variant-numeric: tabular-nums; min-width: 86px; text-align: center; }
.topbar__clock:empty { visibility: hidden; }
.topbar__social { display: flex; align-items: center; gap: 12px; }
.header-main { background: #fff; border-bottom: 1px solid var(--line); }
.header-main__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.site-brand { text-decoration: none; }
.site-brand__text { display: flex; flex-direction: column; gap: 4px; }
.site-brand__name { font: 700 1.9rem/1 var(--font-head); color: var(--brown); }
.site-brand__tag { font: 600 11px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--brown-soft); }
.site-brand__mark { width: 46px; height: 46px; font-size: 24px; }
.site-brand:hover .site-brand__name { color: var(--green); }
.site-footer .site-brand__name { color: #fff; font-size: 1.15rem; }
.site-footer .site-brand__tag { display: none; }
.header-sub { display: flex; align-items: center; gap: 16px; }
.header-sub__text { margin: 0; font: 700 1.05rem/1.2 var(--font-body); color: var(--brown); max-width: 220px; text-align: right; }
.cc-subscribe--header { margin: 0; max-width: none; }
.cc-subscribe--header .cc-subscribe__row { gap: 10px; }
.cc-subscribe--header input { border: 1px solid var(--line); background: #fff; color: var(--brown); border-radius: 10px; padding: 13px 16px; min-width: 240px; font: 16px var(--font-body); }
.cc-subscribe--header input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.cc-subscribe--header button { background: var(--green); color: #fff; border-radius: 10px; padding: 13px 22px; font: 700 15px var(--font-body); white-space: nowrap; }
.cc-subscribe--header button:hover { background: var(--orange-dark); }
.navbar { background: var(--brown); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav { gap: 0; }
.site-nav ul { gap: 0; flex-wrap: wrap; }
.site-nav a { display: block; color: #fff; font: 700 1.05rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; padding: 22px 26px; }
.site-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-cat > a { background: var(--green); color: #fff; }
.navbar__search { color: #fff; padding: 12px; line-height: 0; border-radius: 8px; }
.navbar__search:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 14px 0; font: 700 15px var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; align-items: center; gap: 10px; }
.nav-toggle__bars { display: inline-grid; gap: 4px; }
.nav-toggle__bars span { display: block; width: 20px; height: 2px; background: #fff; }
@media (max-width: 960px) {
  .header-sub__text { display: none; }
  .cc-subscribe--header input { min-width: 180px; }
}
@media (max-width: 760px) {
  .header-main__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 0; }
  .header-sub { display: block; }
  .cc-subscribe--header .cc-subscribe__row { display: flex; }
  .cc-subscribe--header input { min-width: 0; flex: 1; }
  .topbar__social span { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar__inner { flex-wrap: wrap; }
  .site-nav { display: none; position: static; flex-basis: 100%; padding: 0 0 10px; background: transparent; border: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 6px; }
  .navbar__search { margin-left: auto; }
}

/* White + red */
.topbar { background: var(--orange-dark); color: #fff; }
.topbar__clock { background: #fff; color: var(--orange-dark); }
.navbar { background: var(--orange); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-cat > a { background: var(--orange-dark); }
.cc-subscribe--header button { background: var(--orange); }
.cc-subscribe--header button:hover { background: var(--orange-dark); }
.site-brand:hover .site-brand__name { color: var(--orange); }
.chip:hover { background: var(--orange); border-color: var(--orange); }
.hero { background: #FDF3F2; }
.form-note--ok { background: #E7F1E9; color: #1F4A2A; }

/* Footer in red too */
.site-footer { background: var(--orange-dark); color: #fff; }
.site-footer a, .site-footer p, .site-footer li { color: #fff; }
.site-footer__bottom { border-top-color: rgba(255,255,255,.25); }
.site-footer .site-brand__mark { background: #fff; color: var(--orange-dark); }
.site-footer .cc-subscribe__row button { background: #fff; color: var(--orange-dark); }
.site-footer .cc-subscribe__row button:hover { background: #FDF3F2; }

/* Simple sans-serif everywhere */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; }
.site-nav a { font-weight: 700; letter-spacing: .03em; font-size: 15px; }
.site-brand__name { font-weight: 800; letter-spacing: -.02em; }

/* Top bar, menu bar and footer in black */
.topbar, .navbar, .site-footer { background: #111111; }
.topbar__clock { background: #fff; color: #111; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-cat > a { background: var(--orange); }
.site-footer .site-brand__mark { color: #111; }
.site-footer .cc-subscribe__row button { color: #111; }
.site-footer .cc-subscribe__row button:hover { background: #eee; }
.site-footer__bottom { border-top-color: rgba(255,255,255,.18); }

/* Mobile menu: floats over the page, centered */
@media (max-width: 760px) {
  .navbar { position: relative; z-index: 100; }
  .navbar__inner { flex-wrap: nowrap; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-basis: auto;
    background: #111; padding: 8px 20px 18px; text-align: center;
    box-shadow: 0 14px 24px rgba(0,0,0,.35); border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-nav ul { align-items: stretch; }
  .site-nav a { text-align: center; padding: 16px 6px; border-radius: 8px; }
}

/* Mobile: centered hamburger + full-screen black menu */
@media (max-width: 760px) {
  .navbar__inner { justify-content: center; }
  .navbar__search { display: none; }
  .nav-toggle {
    display: inline-flex; font-size: 0; padding: 14px 22px; margin: 12px 0;
    border: 2px solid #fff; border-radius: 4px; background: transparent; position: relative; z-index: 400;
  }
  .nav-toggle__bars { gap: 5px; }
  .nav-toggle__bars span { width: 26px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-toggle { position: fixed; top: 0; left: 50%; transform: translateX(-50%); background: #000; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 300;
    background: #000; padding: 110px 24px 40px; overflow-y: auto; text-align: left; box-shadow: none; border: 0;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-nav a { padding: 24px 4px; text-align: left; font-size: 1.15rem; letter-spacing: .08em; border-radius: 0; background: transparent !important; }
  .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-cat > a { color: #E53935; }
}

.menu-mobile-only { display: none; }
@media (max-width: 760px) { .menu-mobile-only { display: block; } }

/* Menu centered in the bar (desktop + mobile) */
.navbar__inner { justify-content: center; }
.site-nav ul { justify-content: center; }
.nav-toggle { margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  .navbar__inner { display: flex !important; justify-content: center !important; }
  .nav-toggle { margin: 12px auto !important; }
}

@media (max-width: 760px) {
  .nav-toggle { width: 56px !important; height: 52px !important; padding: 0 !important; gap: 0 !important; justify-content: center; align-items: center; box-sizing: border-box; }
  .nav-toggle__bars { gap: 6px; }
  .nav-toggle__bars span { width: 24px; height: 2px; }
}

.comment-respond .logged-in-as { display: none; }

/* Logo mark: custom crockpot icon, no circle */
.site-brand__mark { background: none !important; color: var(--orange); width: auto !important; height: auto !important; border-radius: 0; display: inline-flex; line-height: 0; }
.site-footer .site-brand__mark { color: #fff !important; background: none !important; }

.logo-detail-s { stroke: var(--orange-dark); }
.logo-detail-f { fill: var(--orange-dark); }
.site-footer .logo-detail-s { stroke: #111; }
.site-footer .logo-detail-f { fill: #111; }

/* Footer logo as before: white circle */
.site-footer .site-brand__mark { background: #fff !important; color: #111 !important; width: 30px !important; height: 30px !important; border-radius: 50%; display: inline-grid; place-items: center; font-size: 16px; line-height: 1; }

/* Header logo: solid red */
.site-header .site-brand__mark { color: #C62828 !important; background: none !important; }
.site-header .logo-detail-s { stroke: #C62828; }
.site-header .logo-detail-f { fill: #C62828; }

/* Footer logo = same pot as header */
.site-footer .site-brand__mark { background: none !important; color: #E53935 !important; width: auto !important; height: auto !important; border-radius: 0; display: inline-flex; font-size: inherit; }
.site-footer .logo-detail-s { stroke: #E53935; }
.site-footer .logo-detail-f { fill: #E53935; }

/* Wordmark */
.site-header .site-brand__wordmark { font: 800 2.3rem/1 var(--font-head); letter-spacing: -.035em; color: #1c1c1a; position: relative; padding-bottom: 8px; }
.site-header .site-brand__wordmark .wm-b { color: var(--orange); }
.site-header .site-brand__wordmark::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 4px; background: var(--orange); }
.site-brand:hover .site-brand__wordmark .wm-b { color: var(--orange-dark); }
@media (max-width: 760px) { .site-header .site-brand__wordmark { font-size: 2rem; display: block; text-align: center; } .site-header .site-brand__wordmark::after { left: 50%; transform: translateX(-50%); } .header-main .site-brand { display: block; text-align: center; } }

/* ===== Big red logo band (like lovinmorocco) ===== */
.site-header .header-main { background: var(--orange); border-bottom: 0; }
.site-header .header-main__inner { padding: 34px 0; }
.site-header .site-brand__wordmark {
  display: block; text-align: center; font: 900 clamp(3rem, 6.5vw, 4.8rem)/.95 'Fraunces', Georgia, serif;
  letter-spacing: -.01em; color: #fff; text-transform: lowercase; padding: 0;
}
.site-header .site-brand__wordmark::after { content: none; }
.site-header .site-brand__wordmark .wm-a, .site-header .site-brand__wordmark .wm-b { display: block; color: #fff; }
.site-header .site-brand__wordmark .wm-a::before, .site-header .site-brand__wordmark .wm-a::after {
  content: "\2726"; font: 400 .32em/1 var(--font-body); display: inline-block; vertical-align: middle; margin: 0 .55em; position: relative; top: -.15em;
}
.site-brand:hover .site-brand__wordmark .wm-b { color: #fff; opacity: .9; }
.header-sub__text { color: #fff; }
.cc-subscribe--header input { border: 0; }
.cc-subscribe--header button { background: #111; color: #fff; }
.cc-subscribe--header button:hover { background: #000; }
@media (max-width: 760px) {
  .site-header .site-brand__wordmark { font-size: 3.2rem; }
  .site-header .header-main__inner { padding: 24px 0; }
}

/* Smaller logo + white active category */
.site-header .site-brand__wordmark { font-size: clamp(2.4rem, 5vw, 3.7rem); }
.site-header .header-main__inner { padding: 26px 0; }
@media (max-width: 760px) { .site-header .site-brand__wordmark { font-size: 2.7rem; } .site-header .header-main__inner { padding: 20px 0; } }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-cat > a { background: #fff; color: #111; }
.site-nav a:hover { background: rgba(255,255,255,.18); color: #fff; }
.site-nav .current-menu-item > a:hover { background: #fff; color: #111; }
@media (max-width: 760px) {
  .site-nav a { background: transparent !important; }
  .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-cat > a { color: #fff; }
}

.site-header .site-brand__wordmark { font-size: clamp(2rem, 4vw, 3rem); }
.site-header .header-main__inner { padding: 20px 0; }
@media (max-width: 760px) { .site-header .site-brand__wordmark { font-size: 2.3rem; } .site-header .header-main__inner { padding: 16px 0; } }

/* Mobile menu: lock the page behind it, fixed hamburger */
@media (max-width: 760px) {
  body.menu-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
  body.menu-open .nav-toggle { position: fixed !important; top: 12px !important; left: 50% !important; margin: 0 !important; transform: translateX(-50%); z-index: 1000; }
  .site-nav.is-open { position: fixed !important; inset: 0; z-index: 900; overflow-y: auto; overscroll-behavior: contain; padding-top: 100px; }
  .navbar { z-index: auto; }
}

/* Table of contents */
.cc-toc { margin: 1.6em 0; padding: 18px 22px; background: var(--cream-2); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; }
.cc-toc summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.cc-toc ol { margin: .8em 0 0; padding-left: 1.3em; }
.cc-toc li { margin-bottom: .35em; }
.cc-toc a { text-decoration: none; }
.cc-toc a:hover { text-decoration: underline; }
html { scroll-behavior: smooth; }
.entry-content h2[id] { scroll-margin-top: 90px; }
