/*
Theme Name: RecipesTo Kitchen Editorial
Theme URI: https://recipesto.com
Author: Chef Elena Rossi — RecipesTo Kitchen
Description: Culinary & Recipe Magazine WordPress Theme for RecipesTo.com — Equipped with Interactive Recipe Cards, Schema.org/Recipe JSON-LD, Jump/Print Actions, HB Agency Ad Integration & 4-Page Visual Step-by-Step Guides.
Version: 2.1.0
Text Domain: recipesto
*/

:root {
  --brand-primary: #b54527;
  --brand-primary-dark: #8f331a;
  --brand-accent: #c47a45;
  --brand-accent-light: #fbece7;
  --bg: #fdfaf5;
  --surface: #ffffff;
  --surface-alt: #f5efe6;
  --surface-sage: #eef3ef;
  --ink: #1e1916;
  --ink-soft: #4a4039;
  --ink-muted: #7a6e65;
  --terracotta: #b54527;
  --terracotta-dark: #8f331a;
  --terracotta-light: #fbece7;
  --sage: #3d5a45;
  --sage-dark: #2c4332;
  --sage-light: #e6efe8;
  --copper: #c47a45;
  --pin-red: #e60023;
  --border: #e6ddd0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(30, 25, 22, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.78;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
}
a { color: inherit; text-decoration: none; transition: all 0.18s ease; }
a:hover { color: var(--terracotta); }
img { max-width: 100%; height: auto; display: block; }

/* TOPBAR */
.topbar {
  background: var(--sage-dark);
  color: #edf2ee;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 20px;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-links a {
  color: #d6e3d9;
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar-links a:hover { color: #fff; }
.pin-top-btn {
  background: var(--pin-red);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 11px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pin-top-btn:hover { opacity: 0.92; }

/* HEADER */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-emblem {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--terracotta);
  box-shadow: 0 4px 12px rgba(181, 69, 39, 0.15);
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.05;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  width: 260px;
}
.search-form input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: var(--ink);
}
.search-form button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--terracotta);
  font-weight: 700;
}
.nav-bar {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
}
.nav-link {
  padding: 13px 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* LAYOUT & HERO */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  margin-bottom: 44px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #1e1916;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(24,18,14,0.95) 15%, rgba(24,18,14,0.45) 70%, transparent 100%);
  padding: 36px 32px;
  color: #fff;
  width: 100%;
}
.cat-pill {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 10px;
}
.hero-overlay p {
  color: #efe7dd;
  font-size: 15px;
  max-width: 640px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}
.side-card img {
  width: 120px;
  height: 115px;
  object-fit: cover;
  border-radius: 8px;
}
.side-card h3 { font-size: 20px; margin: 4px 0 6px; }
.meta-line { font-size: 12px; color: var(--ink-muted); }

/* RECIPE GRID */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 10px;
  margin: 36px 0 24px;
}
.sec-head h2 { font-size: 30px; letter-spacing: 0.02em; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 26px;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.art-card-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: var(--surface-alt);
}
.art-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.art-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--terracotta);
  margin-bottom: 6px;
}
.art-card-title { font-size: 22px; margin-bottom: 8px; line-height: 1.25; }
.art-card-excerpt { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }

/* SINGLE ARTICLE LAYOUT */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 42px;
  align-items: start;
}
@media (max-width: 1040px) {
  .article-layout { grid-template-columns: 1fr; }
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.article-title { font-size: clamp(30px, 4vw, 46px); margin: 8px 0 14px; }

/* QUICK ACTION BAR: JUMP TO RECIPE & PRINT RECIPE */
.recipe-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.recipe-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-jump-recipe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--terracotta);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(181, 69, 39, 0.25);
}
.btn-jump-recipe:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}
.btn-print-recipe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--sage-dark) !important;
  border: 1.5px solid var(--sage);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.btn-print-recipe:hover {
  background: var(--sage-light);
}
.recipe-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.recipe-rating-pill .stars {
  color: #e59819;
  letter-spacing: 1px;
}

.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terracotta);
}
.part-badge {
  background: var(--sage-dark);
  color: #fdfaf5;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* CHEF OVERVIEW SPEC STRIP */
.chef-overview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  background: var(--surface-sage);
  border: 1px solid #cfe0d3;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 22px;
}
.chef-overview-item {
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid #dce8df;
}
.chef-overview-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
}
.chef-overview-item b {
  font-size: 14px;
  color: var(--ink);
}

.jump-banner {
  background: linear-gradient(135deg, #fdf6ef, #f9e6d8);
  border: 1px solid #e6bfb0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.jump-btn {
  background: var(--terracotta);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
}

/* FIGURES & PIN RECIPE BUTTONS */
.rtk-figure {
  position: relative;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.rtk-lead-img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}
.rtk-figure figcaption {
  padding: 11px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-pin-img, .fig-pin-btn {
  background: var(--pin-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
}
.btn-pin-img:hover, .fig-pin-btn:hover { opacity: 0.9; }

.rtk-sec-h2 { font-size: 30px; margin: 28px 0 14px; color: var(--ink); }
.rtk-sub-h3 { font-size: 24px; margin: 22px 0 10px; color: var(--terracotta-dark); }
.article-content p { margin-bottom: 18px; font-size: 17px; color: #26201c; }
.rtk-callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--sage);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.rtk-callout h3 { font-size: 21px; margin-bottom: 10px; color: var(--sage-dark); }
.rtk-callout ul { padding-left: 20px; }
.rtk-callout li { margin-bottom: 8px; font-size: 15.5px; }

/* STRUCTURED RECIPE CARD (Pinch of Yum / Half Baked Harvest / Allrecipes standard) */
.recipe-card {
  margin: 38px 0 30px;
  background: #fffdf9;
  border: 2px solid var(--terracotta);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(181, 69, 39, 0.08);
}
.recipe-card-header {
  background: linear-gradient(135deg, #2b211c 0%, #3d2c24 100%);
  color: #fff;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
}
@media (max-width: 640px) {
  .recipe-card-header { grid-template-columns: 1fr; text-align: center; }
}
.recipe-card-thumb {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--copper);
}
.recipe-card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f3b391;
  margin-bottom: 4px;
}
.recipe-card-title {
  color: #fff !important;
  font-size: 28px;
  margin: 0 0 8px;
}
.recipe-card-summary {
  color: #e6dbd2 !important;
  font-size: 14.5px !important;
  margin: 0 0 12px !important;
  line-height: 1.5;
}
.recipe-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.recipe-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.recipe-card-btn.print {
  background: #fff;
  color: var(--ink) !important;
}
.recipe-card-btn.pin {
  background: var(--pin-red);
  color: #fff !important;
}
.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 760px) {
  .recipe-meta-grid { grid-template-columns: repeat(3, 1fr); }
}
.recipe-meta-cell {
  padding: 12px 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.recipe-meta-cell:last-child { border-right: none; }
.recipe-meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}
.recipe-meta-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.recipe-card-body {
  padding: 26px 28px;
}
.recipe-sect-title {
  font-size: 24px;
  color: var(--ink);
  border-bottom: 2px solid var(--surface-alt);
  padding-bottom: 8px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px 20px;
}
.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 6px;
  background: #faf6f0;
  border: 1px solid #eee5d8;
}
.ingredient-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  width: 100%;
}
.ingredient-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--terracotta);
  cursor: pointer;
  flex-shrink: 0;
}
.ingredient-item input[type="checkbox"]:checked + span {
  text-decoration: line-through;
  color: var(--ink-muted);
}
.instruction-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: step-counter;
}
.instruction-step {
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.65;
}
.instruction-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chef-notes-box {
  background: var(--surface-sage);
  border: 1px solid #c5dac9;
  border-left: 5px solid var(--sage);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 22px;
}
.chef-notes-box h4 {
  font-size: 20px;
  color: var(--sage-dark);
  margin-bottom: 8px;
}
.chef-notes-box p {
  font-size: 15px !important;
  color: #2c3a30 !important;
  margin-bottom: 8px !important;
}
.nutrition-bar {
  background: #231d19;
  color: #f6efe7;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.nutrition-bar strong {
  color: #f3b391;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nutrition-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.nutrition-items span b {
  color: #fff;
}

/* PAGINATION BOX */
.pagination-box {
  margin: 34px 0 26px;
  padding: 26px;
  background: linear-gradient(145deg, #261e1a, #382a23);
  color: #fff;
  border-radius: 14px;
  text-align: center;
}
.pagination-box p { color: #e2d6cb; font-size: 14.5px; margin-bottom: 14px; }
.btn-next-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: #fff !important;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(181, 69, 39, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.page-pill {
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  color: #ece3da !important;
}
.page-pill.active { background: var(--terracotta); color: #fff !important; }

/* AUTHOR & SIDEBAR */
.author-box {
  margin-top: 30px;
  padding: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
}
.author-box-img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--terracotta);
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 22px;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.founder-card {
  text-align: center;
}
.founder-card img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--terracotta);
}
.btn-pin-follow, .pin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--pin-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
}
.btn-pin-follow { width: 100%; margin-top: 14px; }
.pin-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* FOOTER */
.site-footer {
  background: #1c1714;
  color: #ded4c9;
  padding: 56px 24px 140px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 13.5px; }
.footer-col a { color: #c4b8ab; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #96897c;
}

@media print {
  .topbar, .site-header, .article-sidebar, .pagination-box, .recipe-quick-actions, .jump-banner, .site-footer, #rtk-sticky-bar {
    display: none !important;
  }
  .article-layout { display: block !important; }
  .article-main { border: none !important; box-shadow: none !important; padding: 0 !important; }
  .recipe-card { border: 1px solid #000 !important; box-shadow: none !important; }
}

/* === v3.2 Modern Brand Emblem, Strict SVG & Editorial Pagination UX === */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pin-red, #e60023);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.pin-btn:hover { transform: translateY(-1px); opacity: 0.94; }
.pin-btn svg { width: 15px !important; height: 15px !important; fill: currentColor; flex-shrink: 0; display: inline-block; vertical-align: middle; }

.brand-emblem {
  width: 54px !important;
  height: 54px !important;
  border-radius: 11px !important;
  object-fit: contain !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-logo:hover .brand-emblem {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
}

/* --- Archive / Homepage / Category Pagination UX --- */
.archive-pagination-wrap {
  margin: 46px 0 18px;
  padding: 24px 28px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e5dfd5);
  border-radius: 16px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,0.06));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.archive-pagination-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.archive-page-badge {
  background: var(--brand-accent-light, #f5ebd6);
  color: var(--brand-primary, #141210);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: 999px;
}
.archive-total-count {
  font-size: 12.5px;
  color: var(--ink-muted, #777);
  font-weight: 600;
}
.navigation.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--border, #e5dfd5);
  background: var(--bg, #faf9f6);
  color: var(--ink, #141210);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  line-height: 1;
}
.navigation.pagination a.page-numbers:hover {
  border-color: var(--brand-accent, #b8860b);
  background: var(--brand-accent-light, #f5ebd6);
  color: var(--brand-primary, #141210);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.navigation.pagination .page-numbers.current {
  background: var(--brand-primary, #141210);
  color: #ffffff !important;
  border-color: var(--brand-primary, #141210);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.navigation.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  min-width: 28px;
  padding: 0 4px;
  color: var(--ink-muted, #777);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.navigation.pagination a.prev.page-numbers,
.navigation.pagination a.next.page-numbers {
  padding: 0 20px;
  gap: 8px;
  background: var(--brand-primary, #141210);
  color: #ffffff !important;
  border-color: var(--brand-primary, #141210);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.navigation.pagination a.prev.page-numbers:hover,
.navigation.pagination a.next.page-numbers:hover {
  background: var(--brand-accent, #b8860b);
  border-color: var(--brand-accent, #b8860b);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.navigation.pagination .pag-arrow {
  font-size: 15px;
  line-height: 1;
}

/* --- Enhanced Multi-Page Single Article Pagination UX --- */
.pagination-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}
.pagination-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}
.pagination-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-accent, #c9971c), #f3d27a);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.next-page-teaser {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  text-align: left;
  color: #ffffff !important;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.next-page-teaser:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}
.next-page-teaser-img {
  width: 68px;
  height: 68px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.next-page-teaser-kicker {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f3d27a;
  margin-bottom: 3px;
}
.next-page-teaser-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.32;
}
.next-page-teaser-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
}
.page-pill.done {
  background: rgba(255, 255, 255, 0.16);
  color: #e2f5ea;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-pin-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(230, 0, 35, 0.9);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-pin-secondary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
@media (max-width: 640px) {
  .archive-pagination-wrap { padding: 18px 14px; }
  .navigation.pagination .page-numbers { min-width: 38px; height: 38px; font-size: 13px; padding: 0 10px; }
  .navigation.pagination a.prev.page-numbers,
  .navigation.pagination a.next.page-numbers { padding: 0 14px; }
  .next-page-teaser { padding: 10px 12px; gap: 12px; }
  .next-page-teaser-img { width: 58px; height: 58px; }
}

/* --- Top Chapter / Multi-Page Switcher Bar on Pages 2..N --- */
.top-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  background: var(--surface-alt, #f6f1eb);
  border: 1px solid var(--border, #e5dfd5);
  border-left: 4px solid var(--brand-accent, #b8860b);
  border-radius: 10px;
}
.top-page-bar-left,
.top-page-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-page-status {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink, #141210);
}
.top-page-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e5dfd5);
  color: var(--ink-soft, #444);
  text-decoration: none;
}
.top-page-dot.done {
  background: var(--brand-accent-light, #f5ebd6);
  color: var(--brand-primary, #141210);
  border-color: var(--brand-accent, #b8860b);
}
.top-page-dot.active {
  background: var(--brand-primary, #141210);
  color: #ffffff !important;
  border-color: var(--brand-primary, #141210);
  pointer-events: none;
}
.top-page-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e5dfd5);
  color: var(--ink, #141210) !important;
  text-decoration: none;
}
.top-page-nav-btn.primary {
  background: var(--brand-primary, #141210);
  border-color: var(--brand-primary, #141210);
  color: #ffffff !important;
}
.top-page-nav-btn:hover {
  border-color: var(--brand-accent, #b8860b);
  transform: translateY(-1px);
}

