/* ==========================================================================
   Cozy Fork Kitchen — Exact Sally's Baking Addiction (sallysbakingaddiction.com) Design System
   Built for GeneratePress + GP Premium (100% Self-Hosted Local Fonts)
   ========================================================================== */

@font-face {
  font-family: 'SofiaProLocal';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'SofiaProLocal';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core Neutral & Brand Tokens */
  --white: #FFFFFF;
  --black: #000000;
  --ink: #261C18;
  --grey-dark: #5D4D45;
  --grey: #FDFBF8;
  --grey-light: #FAFAFA;

  /* 9 Signature Pastel / Muted Color Families (Exact Sally's Baking Hexes) */
  --pink-dark: #522A1B;
  --pink: #6E3B28;
  --pink-light: #F5EBE4;
  --pink-lightest: #FDFBF8;

  --teal-dark: #3B5A4E;
  --teal: #52796A;
  --teal-light: #E9F1EE;
  --teal-lightest: #F2F7F5;

  --gold-dark: #7A5833;
  --gold: #C49A6C;
  --gold-light: #EADBC9;
  --gold-lightest: #F8F2EB;

  --red-dark: #522A1B;
  --red: #6E3B28;
  --red-light: #F5EBE4;
  --red-lightest: #FDFBF8;

  --blue-dark: #335A71;
  --blue: #8AB3CA;
  --blue-light: #EBF2EE;
  --blue-lightest: #F0F5F8;

  --yellow-dark: #8B5718;
  --yellow: #E2A55B;
  --yellow-light: #F4DDC1;
  --yellow-lightest: #FBF2E8;

  --orange-dark: #9A5737;
  --orange: #CE9277;
  --orange-light: #EDD6CC;
  --orange-lightest: #F8F0EC;

  --green-dark: #44683B;
  --green: #88B67D;
  --green-light: #E1EDDF;
  --green-lightest: #F4F8F3;

  --purple-dark: #57465D;
  --purple: #A38EAA;
  --purple-light: #DDD5DF;
  --purple-lightest: #F2EFF3;

  /* Typography Stacks */
  --font-display: 'SofiaProLocal', sofia-pro, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  /* Layout & Spacing */
  --layout-content: 800px;
  --layout-wide: 1200px;
  --layout-sidebar: 336px;
  --gap-xs: 5px;
  --gap-sm: 10px;
  --gap: 20px;
  --gap-lg: 30px;
  --gap-xl: 40px;

  /* Signature SVG Data URIs */
  --bg-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 3'%3E%3Ccircle fill='%236e3b28' cx='1.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%2352796a' cx='7.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%23c49a6c' cx='13.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%23c3665c' cx='19.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%238ab3ca' cx='25.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%23e2a55b' cx='31.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%23ce9277' cx='37.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%2388b67d' cx='43.5' cy='1.5' r='1.5'/%3E%3Ccircle fill='%23a38eaa' cx='49.5' cy='1.5' r='1.5'/%3E%3C/svg%3E");
  --bg-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 9'%3E%3Crect fill='%236e3b28' width='2' height='1'/%3E%3Crect fill='%2352796a' y='3' width='2' height='1'/%3E%3Crect fill='%23c49a6c' y='6' width='2' height='1'/%3E%3C/svg%3E");
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cfk-svg-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: all 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 16px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: none;
}

p, li, blockquote, dd, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

input[name="website_hp"] {
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

#recipe-card,
#comments-section,
#tasty-recipe-card,
#respond,
#comments,
#savetherecipe,
#cookbook {
  scroll-margin-top: calc(var(--header-h, 156px) + 16px);
}

h1 { font-size: 2.7rem; line-height: 1.1; font-weight: 600; }
h2 { font-size: 2.2rem; line-height: 1.18; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

.wrap {
  max-width: var(--layout-wide);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.sm-caps {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
}

.sm-sans {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.2;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ==========================================================================
   1. FIXED HEADER, TOP BANNER & SCALLOPED EDGE
   ========================================================================== */
.site-container {
  padding-top: var(--header-h, 192px);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar.banner-collapsed .site-header {
    top: 0;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.08);
  z-index: 99999;
}

/* Top Blush Pink Announcement Banner */
.top-banner {
  background: var(--pink-light);
  height: 84px;
  overflow: hidden;
  transition: height 0.35s ease, opacity 0.3s ease;
}

body.banner-collapsed .top-banner {
  height: 0;
  opacity: 0;
}

.top-banner .wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.top-banner .banner-thumb {
  width: 52px;
  height: 64px;
  object-fit: cover;
  border: 3px solid var(--white);
  border-radius: 3px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
  transform: rotate(-4deg);
  flex-shrink: 0;
}

.top-banner .banner-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.banner-button,
.pill-btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ink);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.banner-button:hover,
.pill-btn-ink:hover {
  background: var(--pink);
  color: var(--ink) !important;
}

.banner-button svg,
.pill-btn-ink svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Scalloped Edge Under Top Banner */
.site-branding {
  position: relative;
  padding: 32px 0 18px;
  background: var(--white);
}

.site-branding::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  content: "";
  background: radial-gradient(circle at 50% 0%, #F5EBE4 26%, #FFFFFF 28%, #FFFFFF 45%);
  background-color: #F5EBE4;
  background-size: 24px 44px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.site-branding .flexbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo with 3 Colorful Sprinkles */
.site-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #261C18 !important;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.site-logo-link:hover {
  transform: scale(0.96);
}

.site-logo-svg {
  height: 42px;
  width: auto;
  display: block;
}

/* Desktop 6-Icon Colored Navigation */
.desktop-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}

.desktop-menu .menu-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.1;
  gap: 5px;
}

.menu-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}

.desktop-menu .menu-item a:hover .menu-icon-wrap {
  transform: translateY(-2px);
}

.menu-icon-wrap svg {
  width: 21px;
  height: 21px;
}

.menu-item-title {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--grey-dark);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.menu-color-pink svg { color: var(--pink); fill: var(--pink); }
.menu-color-pink .menu-item-title { border-bottom-color: var(--pink); }
.menu-item a:hover .menu-color-pink .menu-item-title,
.menu-color-pink:hover .menu-item-title { color: var(--pink-dark); }

.menu-color-teal svg { color: var(--teal); fill: var(--teal); }
.menu-color-teal .menu-item-title { border-bottom-color: var(--teal); }
.menu-item a:hover .menu-color-teal .menu-item-title { color: var(--teal-dark); }

.menu-color-gold svg { color: var(--gold); fill: var(--gold); }
.menu-color-gold .menu-item-title { border-bottom-color: var(--gold); }
.menu-item a:hover .menu-color-gold .menu-item-title { color: var(--gold-dark); }

.menu-color-red svg { color: var(--red); fill: var(--red); }
.menu-color-red .menu-item-title { border-bottom-color: var(--red); }
.menu-item a:hover .menu-color-red .menu-item-title { color: var(--red-dark); }

.menu-color-purple svg { color: var(--purple); fill: var(--purple); }
.menu-color-purple .menu-item-title { border-bottom-color: var(--purple); }
.menu-item a:hover .menu-color-purple .menu-item-title { color: var(--purple-dark); }

.menu-color-blue svg { color: var(--blue); fill: var(--blue); }
.menu-color-blue .menu-item-title { border-bottom-color: var(--blue); }
.menu-item a:hover .menu-color-blue .menu-item-title { color: var(--blue-dark); }

.menu-color-orange svg { color: var(--orange); fill: var(--orange); }
.menu-color-orange .menu-item-title { border-bottom-color: var(--orange); }
.menu-item a:hover .menu-color-orange .menu-item-title { color: var(--orange-dark); }

.menu-color-green svg { color: var(--green); fill: var(--green); }
.menu-color-green .menu-item-title { border-bottom-color: var(--green); }
.menu-item a:hover .menu-color-green .menu-item-title { color: var(--green-dark); }

.menu-color-yellow svg { color: var(--yellow); fill: var(--yellow); }
.menu-color-yellow .menu-item-title { border-bottom-color: var(--yellow); }
.menu-item a:hover .menu-color-yellow .menu-item-title { color: var(--yellow-dark); }

/* Right Circular Toggles (Search, Saved, Drawer) */
.menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.circle-icon-btn {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.circle-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.circle-icon-btn:hover,
.circle-icon-btn.active {
  background: var(--ink);
  color: var(--white);
}

.saved-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
}

.saved-count-badge.has-items {
  display: flex;
}

/* Tablet & Mobile Quick-Category Strip (< 920px) */
.mobile-cat-strip {
  display: none;
  background: var(--grey);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-cat-strip::-webkit-scrollbar {
  display: none;
}

.mobile-cat-inner,
.mobile-cat-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  min-width: max-content;
}

.mobile-cat-inner a,
.mobile-cat-strip-inner a,
.mcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.mobile-cat-inner a svg,
.mobile-cat-strip-inner a svg,
.mcat-pill svg {
  width: 15px !important;
  height: 15px !important;
  fill: var(--pink);
  flex-shrink: 0;
  display: block;
}

.mcat-orange svg,
.mobile-cat-inner a:nth-child(1) svg { fill: var(--orange); }
.mcat-green svg,
.mobile-cat-inner a:nth-child(2) svg { fill: var(--green); }
.mcat-gold svg,
.mobile-cat-inner a:nth-child(3) svg { fill: var(--gold); }
.mcat-pink svg,
.mobile-cat-inner a:nth-child(4) svg { fill: var(--pink); }
.mcat-blue svg,
.mobile-cat-inner a:nth-child(5) svg { fill: var(--blue); }

.mobile-cat-inner a:hover,
.mobile-cat-inner a:active,
.mcat-pill:hover,
.mcat-pill:active {
  background: var(--ink);
  color: var(--white) !important;
}

.mcat-pill:hover svg,
.mcat-pill:active svg {
  fill: var(--white) !important;
}

/* Expandable Header Search Bar */
.header-search {
  height: 0;
  overflow: hidden;
  background: var(--grey);
  transition: height 0.3s ease;
}

.header-search.active {
  height: 130px;
  box-shadow: 0 13px 14px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.header-search .wrap {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-form {
  width: 100%;
  max-width: 780px;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 50px;
  padding: 4px 4px 4px 26px;
}

.header-search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  outline: none;
}

.header-search-form button[type="submit"] {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-search-form button[type="submit"]:hover {
  background: var(--pink);
  color: var(--ink);
}

.header-search-form button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Slide-Out Right Navigation & Category Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 9999999;
  padding: 36px 34px 100px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.32s ease;
}

.drawer-nav.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.drawer-primary {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.drawer-primary li {
  margin-bottom: 14px;
}

.drawer-primary a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.drawer-primary a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.drawer-secondary {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.drawer-accordion-item {
  margin-bottom: 10px;
}

.drawer-accordion-btn {
  width: 100%;
  background: var(--grey);
  border: none;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 3px;
}

.drawer-accordion-panel {
  display: none;
  background: var(--pink-lightest);
  padding: 12px 18px;
  list-style: none;
  margin: 0;
}

.drawer-accordion-item.open .drawer-accordion-panel {
  display: block;
}

.drawer-accordion-panel li {
  margin: 8px 0;
}

.drawer-accordion-panel a {
  font-size: 0.95rem;
  color: var(--ink);
  font-family: var(--font-display);
}

.drawer-accordion-panel a:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.drawer-tertiary {
  list-style: none;
  padding: 18px 0;
  margin: 0 0 22px;
  border-top: 2px solid var(--grey);
  border-bottom: 2px solid var(--grey);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.drawer-tertiary a {
  color: var(--ink);
}

.drawer-tertiary a:hover {
  color: var(--pink-dark);
}

/* Pinterest-Only Follow Pill */
.social-follow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-follow-row a.soc-pin-only,
.social-follow-row a.soc-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 25px;
  background: var(--red-light);
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-follow-row a.soc-pin-only svg,
.social-follow-row a.soc-pin svg {
  width: 16px;
  height: 16px;
  fill: var(--red-dark);
  transition: fill 0.2s ease;
}

.social-follow-row a.soc-pin-only:hover,
.social-follow-row a.soc-pin:hover {
  background: var(--ink);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.social-follow-row a.soc-pin-only:hover svg,
.social-follow-row a.soc-pin:hover svg {
  fill: var(--white);
}

/* ==========================================================================
   2. SECTION BUTTONS, RIBBONS, TABS & POST CARDS (.post-abbr)
   ========================================================================== */
.section-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.block-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 15px 26px;
  border-radius: 25px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink) !important;
  background: var(--pink);
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease, color 0.25s ease;
}

.block-button svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.block-button:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
}

.block-button:hover svg {
  transform: translateX(3px);
}

.btn-color-pink { background: var(--pink); }
.btn-color-blue { background: var(--blue); }
.btn-color-orange { background: var(--orange); }
.btn-color-yellow { background: var(--yellow); }
.btn-color-green { background: var(--green); }
.btn-color-teal { background: var(--teal); color: var(--white) !important; }
.btn-color-red { background: var(--red); color: var(--white) !important; }
.btn-color-gold { background: var(--gold); }

/* Post Grids */
.medium-post-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.small-post-group {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.large-post-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

/* Post Card (.post-abbr) */
.post-abbr {
  background: var(--grey);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-abbr.card-white {
  background: var(--white);
}

.post-abbr:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.post-abbr-img {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--grey-light);
}

.post-abbr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-abbr:hover .post-abbr-img img {
  transform: scale(1.03);
}

.abbr-content {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.term-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--ink) !important;
}

.term-link svg {
  width: 16px;
  height: 16px;
}

.term-link .term-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--pink);
}

.term-color-pink svg { fill: var(--pink); }
.term-color-pink .term-title { border-bottom-color: var(--pink); }
.term-color-red svg { fill: var(--red); }
.term-color-red .term-title { border-bottom-color: var(--red); }
.term-color-purple svg { fill: var(--purple); }
.term-color-purple .term-title { border-bottom-color: var(--purple); }
.term-color-gold svg { fill: var(--gold); }
.term-color-gold .term-title { border-bottom-color: var(--gold); }
.term-color-yellow svg { fill: var(--yellow); }
.term-color-yellow .term-title { border-bottom-color: var(--yellow); }
.term-color-orange svg { fill: var(--orange); }
.term-color-orange .term-title { border-bottom-color: var(--orange); }
.term-color-green svg { fill: var(--green); }
.term-color-green .term-title { border-bottom-color: var(--green); }
.term-color-teal svg { fill: var(--teal); }
.term-color-teal .term-title { border-bottom-color: var(--teal); }
.term-color-blue svg { fill: var(--blue); }
.term-color-blue .term-title { border-bottom-color: var(--blue); }

.small-post-group .term-link {
  display: none;
}

.post-abbr .article-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.16;
  margin: 0 0 12px;
}

.small-post-group .post-abbr .article-title {
  font-size: 1.15rem;
}

.post-abbr .article-title a {
  color: var(--ink);
}

.post-abbr .article-title a:hover {
  color: var(--teal);
}

.post-meta.post-comments {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--grey-dark);
  font-size: 0.78rem;
}

.post-meta.post-comments svg {
  width: 14px;
  height: 14px;
  fill: var(--pink);
  flex-shrink: 0;
}

/* ==========================================================================
   3. HOMEPAGE SECTIONS (ALL 18 SALLY'S BAKING BLOCKS)
   ========================================================================== */

/* Section 1: Tagline Strip with Rainbow Dots */
.home-tagline-strip {
  background: var(--grey);
  padding: 34px 0 14px;
}

.home-tagline-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.home-tagline-inner::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 3px;
  background-image: var(--bg-dots);
  background-repeat: repeat-x;
  background-size: 54px 3px;
  z-index: 1;
}

.home-tagline-inner h1 {
  position: relative;
  z-index: 2;
  background: var(--grey);
  padding-right: 22px;
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Section 2 & 18: Ribbon Section (.ribbon-section) */
.ribbon-section {
  position: relative;
  padding: 42px 0 46px;
  overflow: hidden;
}

.ribbon-section.bg-grey { background: var(--grey); padding-top: 24px; }
.ribbon-section.bg-pink-lightest { background: var(--pink-lightest); padding-top: 56px; }

.ribbon-box-wrap {
  position: relative;
}

.corner-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-light);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 8px 20px;
  border-left: 4px solid var(--pink);
  margin-bottom: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.06);
}

.corner-ribbon-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--pink-dark);
}

/* Section 3 & 8: Split Feature Banner (#callout-content-simple) */
.split-callout-section {
  margin: 44px auto;
}

.split-callout-box {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 2px;
}

.split-callout-box.bg-blue-light { background: var(--blue-light); }
.split-callout-box.bg-red-light { background: var(--red-light); }

.split-callout-img {
  width: 50%;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.split-callout-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split-callout-content {
  width: 50%;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.callout-overprint {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  width: fit-content;
  margin-bottom: 16px;
}

.split-callout-content h2 {
  font-size: 2.15rem;
  margin: 0 0 16px;
}

.split-callout-content p {
  font-size: 1.15rem;
  margin: 0 0 22px;
}

/* Folder-Tab Card Sections (is-style-bg-card) */
.tabbed-card-section {
  padding: 40px 0;
}

.folder-tab-header {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  border-radius: 4px 4px 0 0;
}

.folder-tab-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

.folder-tab-header svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.folder-card-body {
  background: var(--white);
  padding: 24px;
  border: 2px solid var(--pink-light);
}

.tab-pink .folder-tab-header { background: var(--pink-light); }
.tab-pink .folder-tab-header svg { fill: var(--pink-dark); }
.tab-pink .folder-card-body { border-color: var(--pink-light); }

.tab-orange .folder-tab-header { background: var(--orange-light); }
.tab-orange .folder-tab-header svg { fill: var(--orange-dark); }
.tab-orange .folder-card-body { border-color: var(--orange-light); }

.tab-yellow .folder-tab-header { background: var(--yellow-light); }
.tab-yellow .folder-tab-header svg { fill: var(--yellow-dark); }
.tab-yellow .folder-card-body { border-color: var(--yellow-light); }

.tab-red .folder-tab-header { background: var(--red-light); }
.tab-red .folder-tab-header svg { fill: var(--red-dark); }
.tab-red .folder-card-body { border-color: var(--red-light); }

.folder-card-desc {
  margin: 0 0 20px;
  font-size: 1.12rem;
  color: var(--grey-dark);
}

/* Solid Tinted Curated Sections (is-style-bg-solid & clean white) */
.curated-section {
  padding: 48px 0;
}

.curated-section.bg-ice-blue { background: rgba(226, 236, 242, 0.38); }
.curated-section.bg-pink-soft { background: var(--pink-lightest); }

.section-heading-row {
  margin-bottom: 24px;
}

.section-heading-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.section-heading-inline svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.section-heading-inline h2 {
  font-size: 1.8rem;
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--pink-light);
}

.heading-blue svg { fill: var(--blue); }
.heading-blue h2 { border-bottom-color: var(--blue-light); }
.heading-orange svg { fill: var(--orange); }
.heading-orange h2 { border-bottom-color: var(--orange-light); }
.heading-pink svg { fill: var(--pink); }
.heading-pink h2 { border-bottom-color: var(--pink-light); }

.section-subdesc {
  margin: 6px 0 0;
  font-size: 1.15rem;
  color: var(--grey-dark);
}

/* Section 5: Visual Polaroid Category Browser (#callout-images) */
.polaroid-cats-section {
  background: var(--grey);
  padding: 36px 0;
}

.polaroid-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.polaroid-cat-card {
  background: var(--white);
  padding: 10px 10px 18px;
  display: block;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.polaroid-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.09);
}

.polaroid-cat-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 14px;
}

.polaroid-cat-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.15;
  border-bottom: 2px solid var(--pink-light);
  width: fit-content;
  max-width: 100%;
  padding-bottom: 2px;
}

/* Split Newsletter Signup Forms (ConvertKit Replica) */
.newsletter-split-section {
  margin: 44px auto;
}

.newsletter-split-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 2px;
}

.newsletter-split-card.bg-gold-lightest { background: var(--gold-lightest); }
.newsletter-split-card.bg-yellow-light { background: var(--yellow-light); }
.newsletter-split-card.bg-red-lightest { background: var(--red-lightest); }
.newsletter-split-card.bg-grey { background: var(--grey); }

.newsletter-form-side {
  width: 46%;
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.newsletter-photo-side {
  width: 54%;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.newsletter-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.newsletter-form-side h2 {
  font-size: 1.95rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.newsletter-form-side p {
  font-size: 1.05rem;
  line-height: 1.48;
  margin: 0 0 18px;
}

.cfk-nl-form .nl-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.cfk-nl-form input[type="text"],
.cfk-nl-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}

.cfk-nl-form .nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--grey-dark);
  margin-bottom: 14px;
}

.cfk-nl-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-left: 4px solid var(--teal);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* Section 15: Overlapping Circular Author Bio (#callout-author-bio) */
.callout-author-bio {
  margin: 76px auto 84px;
}

.author-bio-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.author-bio-avatar {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  z-index: 3;
  margin-right: -70px;
}

.author-bio-avatar img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--grey);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.author-bio-card {
  flex: 1;
  background: var(--grey);
  padding: 44px 48px 44px 104px;
  border-radius: 2px;
}

.author-bio-card h2 {
  font-size: 2.1rem;
  margin: 12px 0 14px;
}

.author-bio-card p {
  font-size: 1.12rem;
  margin: 0 0 20px;
}

.author-bio-card .social-follow-row {
  margin-top: 18px;
}

/* Section 16: Global Press Bar with Circular Badge Over Rainbow Dots */
.callout-press {
  padding: 36px 0 28px;
  text-align: center;
}

.press-seal-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.press-seal-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background-image: var(--bg-dots);
  background-repeat: repeat-x;
  background-size: 54px 3px;
  z-index: 1;
}

.press-seal-badge {
  position: relative;
  z-index: 2;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.press-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.press-logo-item {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2c2c2c;
  opacity: 0.82;
  text-align: center;
  user-select: none;
}

.press-logo-item.sans {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   4. SINGLE RECIPE POST, SIDEBAR, RECIPE CARD & COMMENTS
   ========================================================================== */
.single-layout-grid {
  max-width: var(--layout-wide);
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 800px) 336px;
  justify-content: space-between;
  gap: 32px;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1px;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.breadcrumbs .sep {
  margin: 0 7px;
}

/* Single Post Entry Header */
.single-entry-header {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.single-entry-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-image: var(--bg-dots);
  background-repeat: repeat-x;
  background-size: 54px 3px;
}

.single-entry-header h1 {
  font-size: 2.65rem;
  margin: 12px 0 18px;
}

/* 3 Pastel Jump Buttons */
.jump-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 25px;
  border: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink) !important;
  cursor: pointer;
  box-shadow: 0 5px 5px rgba(0,0,0,0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.jump-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.jump-btn.pin-jump {
  width: calc(50% - 5px);
  background: var(--pink-light);
}

.jump-btn.comment-jump {
  width: calc(50% - 5px);
  background: var(--blue-light);
}

.jump-btn.recipe-jump {
  width: 100%;
  background: var(--gold-light);
}

.jump-btn:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
}

.entry-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.entry-header-meta img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.entry-header-meta a {
  color: var(--ink);
  text-decoration: underline;
  font-weight: 600;
}

/* Post Body Content */
.post-disclosure {
  background: var(--grey);
  padding: 15px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-dark);
  margin-bottom: 26px;
  border-radius: 2px;
}

.post-disclosure a {
  color: var(--ink);
  text-decoration: underline;
  font-weight: 600;
}

.entry-content p,
.entry-content li {
  font-size: 1.2rem;
  line-height: 1.65;
}

.entry-content p {
  margin: 0 0 24px;
}

.entry-content p a,
.entry-content li a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
}

.entry-content h2 {
  margin-top: 38px;
  margin-bottom: 16px;
}

.entry-content figure,
.post-hero-figure {
  margin: 0 0 28px;
}

.post-hero-figure img {
  width: 100%;
  border-radius: 2px;
}

/* Reader Review Quote Box */
.sba-reader-quote {
  border: 2px solid var(--pink-light);
  border-radius: 10px;
  padding: 22px 26px;
  background: var(--white);
  margin: 28px 0;
  font-size: 1.08rem;
}

.sba-reader-quote .quote-stars {
  color: var(--pink);
  letter-spacing: 2px;
  font-size: 1.1rem;
}

/* Pink-Tabbed TIP! & FAQs Callout Box */
.sba-tip-box {
  background: var(--white);
  border: 2px solid var(--pink-light);
  border-radius: 10px;
  padding: 0 28px 26px;
  position: relative;
  margin: 34px 0;
}

.sba-tip-badge {
  display: inline-block;
  position: relative;
  top: auto;
  left: auto;
  margin: -1px 0 20px -29px;
  max-width: calc(100% + 50px);
  background: var(--pink-light);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 11px 22px;
  border-radius: 9px 0 10px 0;
  line-height: 1.2;
}

.sba-faq-item + .sba-faq-item {
  border-top: 2px solid var(--pink-light);
  margin-top: 18px;
  padding-top: 18px;
}

.sba-faq-item h4 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.sba-faq-item p {
  margin: 0;
  font-size: 1.05rem;
}

/* Striped #savetherecipe Email Card */
.savetherecipe-outer {
  padding: 18px;
  background: repeating-linear-gradient(
    45deg,
    #FDFBF8,
    #FDFBF8 3px,
    #FFFFFF 3px,
    #FFFFFF 7px
  );
  margin: 34px 0;
}

.savetherecipe-inner {
  background: var(--white);
  padding: 24px 28px;
}

.savetherecipe-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.savetherecipe-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savetherecipe-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.savetherecipe-head h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.savetherecipe-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.savetherecipe-row input {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 0.95rem;
}

/* ==========================================================================
   5. TASTY RECIPES CARD (.tasty-recipes)
   ========================================================================== */
.tasty-recipes {
  background: var(--grey);
  padding: 28px;
  margin: 32px 0;
  border-radius: 3px;
  color: var(--ink);
}

.tasty-recipes-header-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tasty-recipes-image {
  width: 155px;
  height: 155px;
  flex-shrink: 0;
}

.tasty-recipes-image img {
  width: 155px;
  height: 155px;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: 2px;
}

.tasty-recipes-header-content {
  flex: 1;
}

.tasty-recipes-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.tasty-recipes-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.pink-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--pink);
}

.pink-stars .cfk-star-rate-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  transition: transform 0.15s ease;
}

.pink-stars .cfk-star-rate-btn:hover {
  transform: scale(1.15);
}

.pink-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--pink);
  display: block;
}

.tasty-recipes-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.tasty-recipes-details span strong {
  font-weight: 700;
}

.tasty-recipes-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tr-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grey);
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 11px 16px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink) !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tr-action-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.tr-action-btn:hover,
.tr-action-btn.saved {
  background: var(--ink);
  color: var(--white) !important;
}

.tasty-recipes hr {
  border: 0;
  height: 1px;
  background: #DFDDDD;
  margin: 24px 0;
}

.tasty-recipes-description p {
  font-size: 1.05rem;
  margin: 0;
}

/* Ingredients + 1x/2x/3x Scale Buttons */
.tr-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.tr-section-bar h3 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0;
}

.tr-scale-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tr-scale-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 4px;
}

.tr-scale-btn {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
}

.tr-scale-btn.active,
.tr-scale-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.tr-ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tr-ingredients-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.45;
  cursor: pointer;
}

.tr-ingredients-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--white);
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.tr-ingredients-list input[type="checkbox"]:checked {
  background: var(--ink);
}

.tr-ingredients-list input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tr-ingredients-list li.checked span {
  text-decoration: line-through;
  opacity: 0.6;
}

/* Cook Mode Toggle */
.cook-mode-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  cursor: pointer;
}

.cook-switch {
  width: 42px;
  height: 23px;
  background: #CCC;
  border-radius: 20px;
  position: relative;
  transition: background 0.2s ease;
}

.cook-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cook-mode-wrap.active .cook-switch {
  background: var(--teal);
}

.cook-mode-wrap.active .cook-switch::after {
  transform: translateX(19px);
}

/* Numbered Circle Lists (Instructions & Notes) */
.tr-numbered-list {
  list-style: none;
  counter-reset: sba-step;
  padding: 0;
  margin: 0;
}

.tr-numbered-list li {
  counter-increment: sba-step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.tr-numbered-list li::before {
  content: counter(sba-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr-nutrition-bar {
  background: var(--white);
  padding: 14px 18px;
  border-radius: 3px;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Below-Post Pinterest-Only Share Row */
.post-share-grid {
  display: flex;
  justify-content: center;
  margin: 36px 0;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  min-width: 260px;
  max-width: 420px;
  width: 100%;
  border-radius: 25px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink) !important;
  box-shadow: 0 5px 5px rgba(0,0,0,0.08);
}

.share-pill.pin { background: var(--pink-light); }
.share-pill:hover { background: var(--ink); color: var(--white) !important; }
.share-pill svg { width: 16px; height: 16px; fill: currentColor; }

/* Related Posts Tabbed Box */
.post-related-group {
  margin: 42px 0;
}

.related-tab-title {
  background: var(--grey);
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin: 0;
}

.related-posts-box {
  border: 2px solid var(--grey);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-posts-box .post-abbr .article-title {
  font-size: 1.05rem;
}

/* Scalloped Postage-Stamp Comment Form (#respond) */
#respond.comment-respond {
  --r: 10px;
  padding: 40px;
  margin: 44px 0 54px;
  background: var(--grey);
  -webkit-mask:
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 2*var(--r)) calc(100% - 2*var(--r)),
    radial-gradient(farthest-side, #000 97%, #0000) 0 0 / calc(2*var(--r)) calc(2*var(--r)) round;
  mask:
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 2*var(--r)) calc(100% - 2*var(--r)),
    radial-gradient(farthest-side, #000 97%, #0000) 0 0 / calc(2*var(--r)) calc(2*var(--r)) round;
}

.comment-section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  width: fit-content;
  padding-bottom: 5px;
  margin-bottom: 14px;
}

.star-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
}

.star-picker-btns {
  display: inline-flex;
  gap: 4px;
}

.star-pick-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #D2CECC;
}

.star-pick-btn.active {
  color: var(--pink);
}

.star-pick-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.sba-comment-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.sba-comment-form textarea,
.sba-comment-form input[type="text"],
.sba-comment-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 14px;
}

.sba-comment-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Reader Comments List & Blush Lauren Hayes Author Replies */
.comment-list-sba {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.sba-comment-card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 5px;
  padding: 20px 22px 32px;
  margin-bottom: 24px;
  position: relative;
}

.sba-comment-card.is-author-reply {
  background: var(--pink-lightest);
  border-color: var(--pink-light);
  margin-left: 36px;
  margin-top: -10px;
}

.sba-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--grey);
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.sba-comment-card.is-author-reply .sba-comment-head {
  border-bottom-color: var(--pink-light);
}

.sba-comment-date {
  font-size: 0.8rem;
  color: var(--grey-dark);
}

.sba-comment-body p {
  font-size: 1rem;
  line-height: 1.52;
  margin: 0 0 10px;
}

.sba-reply-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--grey);
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 5px 0 5px 0;
}

.sba-comment-card.is-author-reply .sba-reply-badge {
  background: var(--pink-light);
}

/* Right Sidebar (`336px`) */
.sidebar-primary {
  width: 336px;
}

.sidebar-author-widget {
  margin-bottom: 30px;
  text-align: center;
}

.sidebar-author-avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto -58px;
  position: relative;
  z-index: 3;
}

.sidebar-author-avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--grey);
}

.sidebar-author-body {
  background: var(--grey);
  padding: 74px 26px 32px;
  border-radius: 2px;
}

.sidebar-author-body .callout-overprint {
  margin: 0 auto 10px;
}

.sidebar-author-body h3 {
  font-size: 1.75rem;
  margin: 0 0 10px;
}

.sidebar-author-body p {
  font-size: 0.98rem;
  line-height: 1.42;
  margin: 0 0 16px;
}

.sidebar-author-body .social-follow-row {
  justify-content: center;
  margin-top: 16px;
}

.sidebar-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sidebar-popular-grid .abbr-content {
  padding: 10px 10px 12px;
}

.sidebar-popular-grid .article-title {
  font-size: 0.98rem !important;
  margin-bottom: 6px;
}

/* ==========================================================================
   6. CATEGORY ARCHIVES, RECIPE INDEX, ABOUT & LEGAL PAGES
   ========================================================================== */

/* Category Archive Hero */
.archive-card-header {
  padding: 52px 0;
  margin-bottom: 38px;
}

.archive-card-header.cat-bg-pink { background: var(--pink-lightest); }
.archive-card-header.cat-bg-red { background: var(--red-lightest); }
.archive-card-header.cat-bg-purple { background: var(--purple-lightest); }
.archive-card-header.cat-bg-gold { background: var(--gold-lightest); }
.archive-card-header.cat-bg-yellow { background: var(--yellow-lightest); }
.archive-card-header.cat-bg-orange { background: var(--orange-lightest); }
.archive-card-header.cat-bg-green { background: var(--green-lightest); }
.archive-card-header.cat-bg-teal { background: var(--teal-lightest); }
.archive-card-header.cat-bg-blue { background: var(--blue-lightest); }

.archive-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.archive-hero-text {
  width: 60%;
}

.archive-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 16px;
}

.archive-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pink-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.archive-icon-circle svg {
  width: 28px;
  height: 28px;
  fill: var(--ink);
}

.archive-title-group h1 {
  margin: 0;
  border-bottom: 3px solid var(--pink-light);
  padding-bottom: 4px;
}

.archive-hero-polaroid {
  width: 34%;
  max-width: 340px;
}

.archive-hero-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  transform: rotate(4deg);
}

.archive-subbar {
  margin: 10px 0 30px;
}

.archive-subbar::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 12px;
  background-image: var(--bg-dots);
  background-repeat: repeat-x;
  background-size: 54px 3px;
}

/* Circular 44x44px Pagination */
.sba-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 44px auto;
}

.sba-pagination a,
.sba-pagination span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grey);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sba-pagination span.current {
  background: var(--pink);
  color: var(--ink);
}

.sba-pagination a:hover {
  background: var(--grey-dark);
  color: var(--white);
}

/* Recipe Index (`/recipe-index/`) Filter Sidebar + 4-Col Grid */
.filter-page-header {
  padding: 36px 0 22px;
}

.filter-page-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 20px;
  background-image: var(--bg-dots);
  background-repeat: repeat-x;
  background-size: 54px 3px;
}

.index-wrap {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 50px;
}

.filter-sidebar {
  width: 230px;
  flex-shrink: 0;
}

.filter-acc-group {
  border-top: 2px solid var(--pink-light);
}

.filter-acc-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 13px 4px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-acc-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.filter-acc-group.open .filter-acc-btn svg {
  transform: rotate(180deg);
}

.filter-acc-panel {
  display: none;
  background: var(--pink-light);
  padding: 16px 16px;
  margin-bottom: 10px;
  border-radius: 2px;
}

.filter-acc-group.open .filter-acc-panel {
  display: block;
}

.filter-check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  margin-bottom: 9px;
  cursor: pointer;
}

.filter-check-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-check-label input[type="checkbox"]:checked {
  background: var(--ink);
}

.filter-reset-btn {
  width: 100%;
  margin-top: 14px;
  padding: 14px 20px;
  border-radius: 25px;
  border: none;
  background: var(--pink-light);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 5px rgba(0,0,0,0.08);
}

.filter-reset-btn:hover {
  background: var(--pink);
}

.filter-results-area {
  flex: 1;
}

.filter-count-bar {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--grey-dark);
  margin-bottom: 18px;
}

/* About Page (`/about/`) Polaroid Hero */
.about-polaroid-hero {
  background: var(--pink-lightest);
  padding: 58px 0;
  margin-bottom: 44px;
}

.about-hero-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-hero-photo {
  width: 46%;
}

.about-hero-photo img {
  width: 100%;
  border: 10px solid var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: rotate(-4deg);
}

.about-hero-copy {
  width: 54%;
}

.about-hero-copy .callout-overprint {
  border-bottom-color: var(--pink);
}

/* Standard Legal & Info Page Header with 9px 3-Stripe Divider */
.standard-page-header {
  padding: 38px 0 10px;
}

.standard-page-header .wrap::after {
  content: "";
  display: block;
  width: 100%;
  height: 9px;
  margin-top: 22px;
  background-image: var(--bg-lines);
  background-repeat: repeat-x;
  background-size: 2px 9px;
}

.standard-page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.standard-page-body h2 {
  font-size: 1.85rem;
  margin-top: 34px;
}

.standard-page-body p,
.standard-page-body li {
  font-size: 1.12rem;
  line-height: 1.65;
}

.legal-info-card {
  background: var(--grey);
  border-left: 4px solid var(--pink);
  padding: 22px 26px;
  margin: 22px 0;
  border-radius: 2px;
}

/* ==========================================================================
   7. SITE FOOTER & BACK TO TOP CIRCLE
   ========================================================================== */
.site-footer {
  background: var(--white);
  padding: 42px 0 46px;
  border-top: 1px solid var(--grey);
}

.site-footer .wrap {
  position: relative;
}

.btt-circle {
  position: absolute;
  right: 20px;
  top: -71px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white) !important;
  border: 4px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  z-index: 10;
}

.btt-circle:hover {
  background: var(--pink);
  color: var(--ink) !important;
}

.btt-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-menu a:hover {
  color: var(--pink-dark);
}

.site-credits {
  font-size: 0.82rem;
  color: var(--grey-dark);
}

/* Saved Recipes Modal */
.saved-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.saved-modal-backdrop.active {
  display: flex;
}

.saved-modal-card {
  background: var(--white);
  width: 100%;
  max-width: 560px;
  border-radius: 8px;
  padding: 28px;
  max-height: 80vh;
  overflow-y: auto;
  border-top: 6px solid var(--pink);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (LAPTOP, IPAD LANDSCAPE, IPAD PORTRAIT & MOBILE)
   ========================================================================== */

/* 8A. Small Laptops & iPad Pro Landscape (920px – 1199px) */
@media (max-width: 1199px) {
  .site-logo-svg {
    height: 34px;
  }
  .desktop-menu {
    gap: 18px;
  }
  .desktop-menu .menu-item a {
    font-size: 0.9rem;
  }
  .single-layout-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }
  .sidebar-primary {
    width: 300px;
  }
  .small-post-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .medium-post-group {
    gap: 22px;
  }
  .split-callout-content,
  .newsletter-form-side {
    padding: 32px 30px;
  }
  .author-bio-avatar {
    width: 220px;
    height: 220px;
    margin-right: -54px;
  }
  .author-bio-avatar img {
    width: 220px;
    height: 220px;
  }
  .author-bio-card {
    padding: 36px 34px 36px 82px;
  }
}

/* 8B. iPad Portrait & Tablets (max-width: 919px) */
@media (max-width: 919px) {
  .desktop-menu {
    display: none;
  }
  .mobile-cat-strip {
    display: block;
  }
  .site-branding {
    padding: 26px 0 12px;
  }
  .top-banner {
    height: 74px;
  }
  .top-banner .wrap {
    height: 74px;
    gap: 12px;
  }
  .top-banner .banner-heading {
    font-size: 1.2rem;
  }
  .banner-button {
    padding: 11px 18px;
    font-size: 0.74rem;
  }

  .single-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .site-main {
    min-width: 0;
  }
  .sidebar-primary {
    width: 100%;
    display: block;
  }
  .sidebar-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .medium-post-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .large-post-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .small-post-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .polaroid-cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .split-callout-box,
  .newsletter-split-card,
  .about-hero-flex,
  .archive-hero-flex {
    flex-direction: column;
  }
  .split-callout-img,
  .split-callout-content,
  .newsletter-form-side,
  .newsletter-photo-side,
  .about-hero-photo,
  .about-hero-copy,
  .archive-hero-text,
  .archive-hero-polaroid {
    width: 100%;
  }
  .split-callout-img,
  .newsletter-photo-side {
    height: 290px;
    min-height: 290px;
    max-height: 290px;
    flex: 0 0 290px;
    overflow: hidden;
  }
  .newsletter-photo-side {
    order: -1;
  }
  .about-hero-photo {
    max-width: 380px;
    margin: 0 auto;
  }
  .archive-hero-polaroid {
    max-width: 280px;
    margin: 0 auto;
  }

  .press-logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .index-wrap {
    flex-direction: column;
    gap: 22px;
  }
  .filter-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }
  .filter-reset-btn {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
}

/* 8C. Large Phones & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  body {
    font-size: 1.08rem;
  }
  h1, .single-entry-header h1 {
    font-size: clamp(1.72rem, 5.8vw, 2.15rem);
  }
  h2, .split-callout-content h2, .newsletter-form-side h2, .author-bio-card h2 {
    font-size: clamp(1.42rem, 5vw, 1.75rem);
  }
  h3 {
    font-size: 1.28rem;
  }

  /* Prevent iOS Safari zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
  }

  .author-bio-inner {
    flex-direction: column;
  }
  .author-bio-avatar {
    width: 165px;
    height: 165px;
    margin: 0 auto -62px;
  }
  .author-bio-avatar img {
    width: 165px;
    height: 165px;
  }
  .author-bio-card {
    padding: 80px 22px 30px;
    text-align: center;
  }
  .author-bio-card .callout-overprint,
  .author-bio-card .pill-btn-ink {
    margin-left: auto;
    margin-right: auto;
  }
  .author-bio-card .social-follow-row {
    justify-content: center;
  }

  .related-posts-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 12px;
  }
  .savetherecipe-row,
  .sba-comment-grid-2 {
    grid-template-columns: 1fr;
  }
  .sba-comment-grid-2 {
    gap: 0;
  }

  /* Sally's Signature Pastel Pill Footer Menu on Mobile */
  .site-footer {
    padding: 36px 0 40px;
  }
  .btt-circle {
    right: 15px;
    top: -64px;
    width: 50px;
    height: 50px;
  }
  .footer-bar-flex {
    flex-direction: column;
    text-align: center;
  }
  .footer-menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .footer-menu li a {
    display: block;
    padding: 13px 10px;
    border-radius: 25px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);
    font-size: 0.76rem;
  }
  .footer-menu li:nth-child(1) a { background: var(--pink-light); }
  .footer-menu li:nth-child(2) a { background: var(--teal-light); }
  .footer-menu li:nth-child(3) a { background: var(--gold-light); }
  .footer-menu li:nth-child(4) a { background: var(--blue-light); }
  .footer-menu li:nth-child(5) a { background: var(--yellow-light); }
  .footer-menu li:nth-child(6) a { background: var(--orange-light); }
  .footer-menu li:nth-child(7) a { background: var(--green-light); }
  .footer-menu li:nth-child(8) a { background: var(--purple-light); }
  .footer-menu li:nth-child(9) { grid-column: 1 / -1; }
  .footer-menu li:nth-child(9) a { background: var(--red-light); }
  .footer-menu li a:hover { background: var(--ink); color: var(--white); }
}

/* 8D. Standard Smartphones (max-width: 640px) */
@media (max-width: 640px) {
  .site-container {
    padding-top: var(--header-h, 166px);
  }
  .wrap {
    padding: 0 15px;
  }

  /* Compact Fixed Header on Mobile */
  .top-banner {
    height: auto;
    min-height: 52px;
    padding: 8px 0;
  }
  body.banner-collapsed .top-banner {
    height: 0;
    min-height: 0;
    padding: 0;
  }
  .top-banner .wrap {
    height: auto;
    justify-content: space-between;
    gap: 10px;
  }
  .top-banner .banner-thumb {
    display: none;
  }
  .top-banner .banner-heading {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
  }
  .banner-button {
    padding: 9px 13px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }
  .site-branding {
    padding: 21px 0 10px;
  }
  .site-branding .flexbox {
    gap: 10px;
  }
  .site-logo-svg {
    height: 27px;
  }
  .menu-right {
    gap: 7px;
  }
  .circle-icon-btn {
    width: 38px;
    height: 38px;
  }
  .circle-icon-btn svg {
    width: 15px;
    height: 15px;
  }
  .header-search.active {
    height: 86px;
  }
  .header-search .wrap {
    height: 86px;
  }
  .header-search-form {
    padding: 3px 3px 3px 16px;
  }
  .header-search-form button[type="submit"] {
    width: 42px;
    height: 42px;
  }
  .drawer-nav {
    max-width: 100%;
    right: 0;
    padding: 26px 20px 80px;
  }

  /* Mobile Post Grids: Hero 1+2 Magazine Layout & Crisp 2-Column Grids */
  .large-post-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .large-post-group > .post-abbr:first-child {
    grid-column: 1 / -1;
  }
  .large-post-group > .post-abbr:first-child .post-abbr-img {
    aspect-ratio: 4 / 3;
  }
  .large-post-group > .post-abbr:first-child .article-title {
    font-size: 1.28rem;
  }

  .medium-post-group,
  .small-post-group,
  .sidebar-popular-grid,
  .polaroid-cats-grid,
  .press-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .abbr-content {
    padding: 11px 11px 13px;
  }
  .post-abbr .article-title,
  .small-post-group .post-abbr .article-title {
    font-size: 1.02rem;
    line-height: 1.22;
    margin-bottom: 8px;
  }
  .term-link {
    margin-bottom: 7px;
    gap: 5px;
  }
  .term-link .term-title {
    font-size: 0.68rem;
  }
  .term-link svg {
    width: 14px;
    height: 14px;
  }
  .polaroid-cat-card {
    padding: 8px 8px 14px;
  }
  .polaroid-cat-title {
    font-size: 0.92rem;
  }

  /* Mobile Sections & Callouts */
  .home-tagline-strip {
    padding: 20px 0 8px;
  }
  .home-tagline-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-tagline-inner::after {
    position: static;
    display: block;
    width: 100%;
    margin-top: 10px;
  }
  .home-tagline-inner h1 {
    font-size: 1.24rem;
    padding-right: 0;
  }
  .ribbon-section {
    padding: 28px 0 34px;
  }
  .tabbed-card-section,
  .curated-section {
    padding: 30px 0;
  }
  .folder-tab-header {
    padding: 10px 16px;
    font-size: 1.12rem;
  }
  .folder-tab-header h2 {
    font-size: 1.12rem;
  }
  .folder-card-body {
    padding: 15px 13px;
  }
  .section-btn-row {
    justify-content: center;
  }
  .pill-btn-ink,
  .block-button {
    white-space: normal;
    text-align: center;
    line-height: 1.28;
    max-width: 100%;
  }
  .block-button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .cfk-nl-form .pill-btn-ink {
    width: 100%;
  }
  .split-callout-section,
  .newsletter-split-section {
    margin: 28px auto;
  }
  .split-callout-img,
  .newsletter-photo-side {
    height: 215px;
    min-height: 215px;
    max-height: 215px;
    flex: 0 0 215px;
    overflow: hidden;
  }
  .split-callout-content,
  .newsletter-form-side {
    padding: 24px 18px;
  }
  .callout-author-bio {
    margin: 46px auto 52px;
  }
  .press-logo-item {
    font-size: 1rem;
  }
  .press-logo-item.sans {
    font-size: 0.84rem;
    letter-spacing: 0.08em;
  }

  /* Single Post, Recipe Card & Comments on Mobile */
  .single-layout-grid {
    padding: 20px 15px 32px;
  }
  .entry-header-meta {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
  }
  .entry-header-meta img {
    width: 46px;
    height: 46px;
    grid-row: 1 / 3;
  }
  .entry-header-meta > span:nth-of-type(2) {
    display: none;
  }
  .entry-content p,
  .entry-content li,
  .standard-page-body p,
  .standard-page-body li {
    font-size: 1.06rem;
    line-height: 1.62;
  }
  .jump-btn {
    padding: 12px 12px;
    font-size: 0.74rem;
  }
  .sba-tip-box {
    padding: 0 18px 20px;
  }
  .sba-tip-badge {
    margin: -1px 0 16px -19px;
    max-width: calc(100% + 30px);
    font-size: 0.96rem;
    padding: 9px 16px;
  }
  .savetherecipe-outer {
    padding: 10px;
  }
  .savetherecipe-inner {
    padding: 18px 16px;
  }
  .savetherecipe-head h3 {
    font-size: 1.25rem;
  }
  .tasty-recipes {
    padding: 20px 16px;
  }
  .tasty-recipes-header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tasty-recipes-rating,
  .tasty-recipes-details {
    justify-content: center;
  }
  .tasty-recipes-title {
    font-size: 1.55rem;
  }
  .tasty-recipes-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tr-section-bar h3 {
    font-size: 1.4rem;
  }
  .tr-numbered-list li {
    padding-left: 36px;
    font-size: 1rem;
  }
  .tr-numbered-list li::before {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  #respond.comment-respond {
    padding: 26px 18px;
  }
  .sba-comment-card {
    padding: 16px 16px 32px;
  }
  .sba-comment-card.is-author-reply {
    margin-left: 14px;
  }
  .sba-comment-head {
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Category Archive, About & Filter Index on Mobile */
  .archive-card-header,
  .about-polaroid-hero {
    padding: 34px 0;
    margin-bottom: 26px;
  }
  .about-hero-photo {
    max-width: 290px;
    padding: 4px 8px;
  }
  .about-hero-photo img {
    transform: rotate(-2deg);
    border-width: 8px;
  }
  .archive-hero-polaroid {
    max-width: 240px;
    padding: 4px 8px;
  }
  .archive-hero-polaroid img {
    transform: rotate(2deg);
    border-width: 8px;
  }
  .archive-icon-circle {
    width: 46px;
    height: 46px;
  }
  .archive-icon-circle svg {
    width: 22px;
    height: 22px;
  }
  .filter-sidebar {
    grid-template-columns: 1fr;
  }
  .standard-page-body {
    padding: 24px 15px 46px;
  }
  #cookbook {
    padding: 22px 18px !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 28px 0 !important;
  }
  .standard-page-body > div[style*="padding:34px"],
  .standard-page-body > div[style*="padding:32px"] {
    padding: 22px 18px !important;
  }
  .legal-info-card {
    padding: 18px 18px;
  }
}

/* 8E. Extra-Small Phones (max-width: 380px — iPhone SE / Compact Android) */
@media (max-width: 380px) {
  .site-logo-svg {
    height: 22px;
  }
  .circle-icon-btn {
    width: 34px;
    height: 34px;
  }
  .top-banner .banner-heading {
    font-size: 0.82rem;
  }
  .banner-button {
    padding: 8px 10px;
    font-size: 0.64rem;
  }
  .jump-btn.pin-jump,
  .jump-btn.comment-jump {
    width: 100%;
  }
  .post-abbr .article-title,
  .small-post-group .post-abbr .article-title {
    font-size: 0.94rem;
  }
  .share-pill {
    min-width: 0;
    padding: 14px 18px;
  }
}

/* ==========================================================================
   9. CLEAN PRINT VIEW FOR RECIPES (@media print)
   ========================================================================== */
@media print {
  .site-header,
  .sidebar-primary,
  .jump-button-group,
  .post-disclosure,
  .savetherecipe-outer,
  .post-share-grid,
  .post-related-group,
  .callout-author-bio,
  #respond,
  .comment-list-sba,
  .callout-press,
  .newsletter-split-section,
  .ribbon-section,
  .site-footer,
  .tasty-recipes-buttons,
  .tr-scale-group,
  .cook-mode-wrap {
    display: none !important;
  }
  .site-container {
    padding-top: 0 !important;
  }
  .single-layout-grid {
    display: block !important;
  }
  .tasty-recipes {
    background: #FFFFFF !important;
    border: 1px solid #000000 !important;
  }
}

/* ==========================================================================
   Cozy Fork Kitchen — Warm Cinnamon Espresso, Soft Oat Blush & Warm Vanilla Micro-Dot Pattern
   ========================================================================== */
.home-tagline-strip,
.ribbon-section.bg-grey,
.newsletter-split-card,
.post-author-bio-box {
  background-color: #F5EBE4;
  background-image: radial-gradient(rgba(110, 59, 40, 0.14) 0.85px, transparent 0.85px);
  background-size: 18px 18px;
}
.top-banner {
  background-image: radial-gradient(rgba(110, 59, 40, 0.12) 0.85px, transparent 0.85px);
  background-size: 16px 16px;
}


/* ==========================================================================
   10. COZY FORK KITCHEN PALETTE CONTRAST & 360px / 390px MOBILE POLISH
   ========================================================================== */
.btn-color-pink,
.saved-count-badge,
.sba-pagination span.current {
  background: var(--pink);
  color: var(--white) !important;
}

.banner-button:hover,
.pill-btn-ink:hover {
  background: var(--pink);
  color: var(--white) !important;
}

.tasty-recipes-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.tr-action-btn {
  padding: 11px 12px;
  font-size: 0.88rem;
  min-width: 0;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .footer-menu li:nth-child(9) { grid-column: auto; }
  .footer-menu li:nth-child(7) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .tasty-recipes-buttons {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .wrap {
    padding: 0 12px;
  }
  .single-layout-grid {
    padding: 18px 12px 28px;
  }
  .site-branding .flexbox {
    gap: 6px;
  }
  .site-logo-svg {
    height: 22px;
    max-width: 175px;
  }
  .menu-right {
    gap: 5px;
  }
  .circle-icon-btn {
    width: 34px;
    height: 34px;
  }
  .tasty-recipes {
    padding: 16px 12px;
  }
  .tasty-recipes-details {
    gap: 8px 12px;
    font-size: 0.84rem;
  }
  .tr-section-bar {
    gap: 8px;
  }
  .tr-scale-btn {
    min-width: 38px;
    min-height: 34px;
    padding: 4px 8px;
    font-size: 0.84rem;
  }
  .cook-mode-wrap {
    font-size: 0.82rem;
    flex-wrap: wrap;
  }
  .jump-btn.pin-jump,
  .jump-btn.comment-jump,
  .jump-btn.recipe-jump {
    width: 100%;
  }
}

/* ==========================================================================
   COZY FORK KITCHEN LISTICLE / ROUNDUP CARDS (#6E3B28 Cinnamon Espresso & #F5EBE4 Oat Blush)
   ========================================================================== */
.cfk-why-box {
  background: #FDFBF8;
  border: 1px solid #EADBC9;
  border-left: 5px solid #6E3B28;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 24px 0;
}

.cfk-why-box h2 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: #261C18;
  margin: 0 0 10px !important;
}

.cfk-why-box ul {
  margin: 0 !important;
  padding-left: 20px !important;
}

.cfk-why-box li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.62;
}

.cfk-cluster-box {
  background: #F5EBE4;
  border: 1px solid #E3D4CA;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0;
}

.cfk-cluster-box h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #522A1B;
  margin: 0 0 8px !important;
}

.cfk-cluster-box ul {
  margin: 0 !important;
  padding-left: 18px !important;
}

.cfk-cluster-box li {
  margin-bottom: 6px;
  font-size: 1rem;
}

.cfk-cluster-box a {
  color: #261C18 !important;
  text-decoration: underline;
}

.cfk-cluster-box a:hover {
  color: #6E3B28 !important;
}

.cfk-listicle-heading {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #261C18;
  margin: 32px 0 18px !important;
  padding-bottom: 10px;
  border-bottom: 3px solid #6E3B28;
}

.cfk-listicle-roundup {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 18px 0 34px;
}

.cfk-listicle-item {
  background: #FFFFFF;
  border: 1px solid #EFE4DD;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(38, 28, 24, 0.05);
}

.cfk-listicle-roundup > .cfk-listicle-item:nth-child(n+4) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.cfk-listicle-item__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.cfk-listicle-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #6E3B28;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.cfk-listicle-item__title {
  margin: 0 !important;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
}

.cfk-listicle-item__title a {
  color: #261C18 !important;
  text-decoration: none !important;
}

.cfk-listicle-item__title a:hover {
  color: #6E3B28 !important;
}

.cfk-listicle-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #FDFBF8;
}

.cfk-listicle-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
}

.cfk-listicle-pin {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(110, 59, 40, 0.94);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 13px;
  border-radius: 99px;
  text-decoration: none !important;
}

.cfk-listicle-pin:hover {
  background: #522A1B;
}

.cfk-listicle-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: #261C18;
  margin: 0 0 14px !important;
}

.cfk-listicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  background: #FDFBF8;
  border: 1px solid #EFE4DD;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #261C18;
  margin-bottom: 14px;
}

.cfk-listicle-specs strong {
  color: #522A1B;
}

.cfk-listicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed #E8DCD4;
}

.cfk-listicle-credit {
  margin: 0 !important;
  font-size: 0.92rem;
  color: #5D4D45;
}

.cfk-listicle-credit strong {
  color: #261C18;
}

.cfk-listicle-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6E3B28;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 11px 22px;
  border-radius: 99px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cfk-listicle-cta:hover {
  background: #261C18;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.cfk-listicle-faqs {
  margin: 32px 0;
}

.cfk-listicle-faqs h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #261C18;
  margin: 0 0 14px !important;
}

.cfk-faq-item {
  background: #FDFBF8;
  border: 1px solid #EFE4DD;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.cfk-faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: #261C18;
  font-size: 1.02rem;
  list-style: none;
}

.cfk-faq-item summary:hover {
  color: #6E3B28;
}

.cfk-faq-item__body {
  padding: 0 18px 15px;
  color: #261C18;
  font-size: 0.98rem;
  line-height: 1.65;
}

.cfk-faq-item__body p {
  margin: 0 !important;
}

.site-footer,
.callout-press {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

@media (max-width: 600px) {
  .cfk-listicle-item {
    padding: 16px 14px;
  }
  .cfk-listicle-num {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .cfk-listicle-item__title {
    font-size: 1.18rem;
  }
  .cfk-listicle-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .cfk-listicle-cta {
    width: 100%;
    text-align: center;
  }
}

/* Cozy Fork Kitchen Footer Brand Logo & Contrast Polish */
::selection {
  background: var(--pink);
  color: var(--white);
}

.filter-reset-btn:hover,
.header-search-form button[type="submit"]:hover {
  background: var(--pink);
  color: var(--white);
}

.footer-brand-row {
  margin-bottom: 18px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink) !important;
  transition: transform 0.25s ease;
}

.footer-logo-link:hover {
  transform: scale(0.97);
}

.site-footer-logo-svg {
  height: 34px;
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .footer-brand-row {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }
  .site-footer-logo-svg {
    height: 30px;
  }
}

@media (max-width: 400px) {
  .site-footer-logo-svg {
    height: 25px;
    max-width: 215px;
  }
}
