/* =========================================================================
   Tasty Think site build styles (editorial redesign)
   Uses only the locked palette variables defined in style.css.
   Breakpoints: 640px, 768px, 900px, 1024px. Tested at 375 / 768 / 1280.
   ========================================================================= */

/* ---------- Shared layout ---------- */

.tt-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.tt-main {
  flex: 1;
}

.tt-section {
  padding: 40px 20px;
}

.tt-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tt-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.tt-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  margin: 0;
}

.tt-section-more {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.tt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--tt-paprika);
  color: #FFFFFF !important;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.tt-btn:hover {
  background-color: var(--tt-paprika-dark);
}

/* Outlined editorial button (hero) */
.tt-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--tt-paprika);
  color: var(--tt-paprika) !important;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.tt-btn-outline:hover {
  background-color: var(--tt-paprika);
  color: #FFFFFF !important;
}

/* Kicker labels */
.tt-kicker {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tt-mustard);
}

/* Plugin stylesheets (recipe card, forms) restyle bare button elements,
   so pin every themed button to the palette explicitly. */
.tt-footer-newsletter button,
.tt-search-submit,
.tt-contact-form button {
  background-color: var(--tt-paprika) !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tt-footer-newsletter button:hover,
.tt-search-submit:hover,
.tt-contact-form button:hover {
  background-color: var(--tt-paprika-dark) !important;
}

.tt-empty {
  color: var(--tt-muted);
  text-align: center;
  padding: 32px 0;
}

.tt-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  clip: auto;
  background: var(--tt-paper);
  color: var(--tt-ink);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--tt-line);
}

/* ---------- Header ---------- */

.tt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--tt-paper);
  border-bottom: 1px solid var(--tt-line);
  transition: box-shadow 0.2s ease;
}

.tt-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(31, 27, 22, 0.08);
}

.tt-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.tt-branding {
  flex-shrink: 0;
}

.tt-branding .custom-logo {
  max-height: 48px;
  width: auto;
}

.tt-logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--tt-ink) !important;
  text-decoration: none !important;
  letter-spacing: -0.01em;
}

.tt-logo-text span {
  color: var(--tt-paprika);
}

.tt-nav {
  margin-left: auto;
}

.tt-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tt-nav-list li {
  position: relative;
}

/* Underlined text tabs: the paprika underline animates in on hover. */
.tt-nav-list a {
  position: relative;
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--tt-ink) !important;
  text-decoration: none !important;
  padding: 26px 2px;
  transition: color 0.15s ease;
}

.tt-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background-color: var(--tt-paprika);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.tt-nav-list a:hover,
.tt-nav-list .current-menu-item > a,
.tt-nav-list .current_page_item > a {
  color: var(--tt-paprika) !important;
}

.tt-nav-list a:hover::after,
.tt-nav-list a:focus-visible::after,
.tt-nav-list .current-menu-item > a::after,
.tt-nav-list .current_page_item > a::after {
  transform: scaleX(1);
}

.tt-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--tt-paper);
  border: 1px solid var(--tt-line);
  border-radius: 4px;
  padding: 8px;
  margin: 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(31, 27, 22, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.tt-nav-list li:hover > .sub-menu,
.tt-nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tt-nav-list .sub-menu a {
  padding: 10px 12px;
}

.tt-nav-list .sub-menu a::after {
  display: none;
}

.tt-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* The base stylesheet paints every button with white text via !important,
   so these transparent icon buttons must override with !important too. */
.tt-search-toggle,
.tt-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent !important;
  border: none;
  border-radius: 4px;
  color: var(--tt-ink) !important;
  cursor: pointer;
}

.tt-search-toggle:hover,
.tt-menu-toggle:hover {
  color: var(--tt-paprika) !important;
}

.tt-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.tt-menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tt-menu-toggle[aria-expanded="true"] .tt-menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tt-menu-toggle[aria-expanded="true"] .tt-menu-bar:nth-child(2) {
  opacity: 0;
}

.tt-menu-toggle[aria-expanded="true"] .tt-menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tt-search-bar {
  border-top: 1px solid var(--tt-line);
  background: var(--tt-paper);
}

.tt-search-bar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
}

.tt-search-form {
  display: flex;
  gap: 8px;
}

.tt-search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--tt-line);
  border-radius: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  background: var(--tt-cream);
  color: var(--tt-ink);
}

.tt-search-field:focus {
  outline: none;
  border-color: var(--tt-paprika);
  box-shadow: 0 0 0 3px rgba(214, 85, 44, 0.15);
}

.tt-search-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding: 0;
}

/* ---------- Hero: asymmetric split ---------- */

.tt-hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 540px;
  background-color: var(--tt-ink);
}

.tt-hero-media {
  position: relative;
  overflow: hidden;
}

.tt-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tt-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(48px, 6vw, 96px);
  background-color: var(--tt-ink);
}

.tt-hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--tt-cream);
  margin: 0;
}

.tt-hero-headline a {
  color: var(--tt-cream) !important;
  text-decoration: none !important;
}

.tt-hero-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--tt-paprika);
}

.tt-hero-lede {
  color: rgba(250, 243, 231, 0.66);
  font-size: 16px;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0;
}

/* ---------- Category nav: editorial tab strip ---------- */

.tt-cat-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 26px 20px;
  border-bottom: 1px solid var(--tt-line);
}

.tt-cat-tabs a {
  position: relative;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tt-muted) !important;
  text-decoration: none !important;
  padding: 6px 22px;
  transition: color 0.15s ease;
}

.tt-cat-tabs a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  background-color: var(--tt-paprika);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.tt-cat-tabs a:hover,
.tt-cat-tabs a.is-active {
  color: var(--tt-paprika) !important;
}

.tt-cat-tabs a:hover::after,
.tt-cat-tabs a.is-active::after {
  transform: scaleX(1);
}

.tt-tab-divider {
  width: 1px;
  height: 14px;
  background-color: var(--tt-line);
}

/* ---------- Spotlight band (plum, used only here) ---------- */

.tt-spotlight {
  background-color: var(--tt-plum);
  color: var(--tt-cream);
  padding: 64px 24px;
}

.tt-spotlight-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}

.tt-spotlight-media {
  flex-shrink: 0;
  width: 400px;
  max-width: 100%;
  display: block;
  line-height: 0;
}

.tt-spotlight-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.tt-spotlight-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.tt-spotlight-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15;
  color: var(--tt-cream);
  margin: 0;
}

.tt-spotlight-title a {
  color: var(--tt-cream) !important;
  text-decoration: none !important;
}

.tt-spotlight-title a:hover {
  color: var(--tt-mustard) !important;
}

.tt-spotlight-desc {
  color: rgba(250, 243, 231, 0.72);
  font-size: 16px;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0;
}

.tt-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tt-mustard) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--tt-mustard);
  padding-bottom: 3px;
  transition: gap 0.2s ease;
}

.tt-spotlight-link:hover {
  gap: 12px;
}

/* ---------- Latest recipes: alternating rows ---------- */

.tt-latest-rows {
  padding: 56px 0 0;
}

.tt-rows-head {
  max-width: 1100px;
  margin: 0 auto 36px;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.tt-rows-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0;
}

.tt-rows-heading em {
  font-style: italic;
  font-weight: 500;
  color: var(--tt-paprika);
}

.tt-rows-more {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tt-paprika) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--tt-paprika);
  padding-bottom: 3px;
  white-space: nowrap;
}

.tt-row {
  background-color: var(--tt-cream);
  padding: 44px 24px;
}

.tt-row.is-alt {
  background-color: var(--tt-paper);
}

.tt-row-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.tt-row.is-alt .tt-row-inner {
  flex-direction: row-reverse;
}

.tt-row-media {
  flex: 0 0 40%;
  display: block;
  line-height: 0;
}

.tt-row-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.tt-row-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--tt-line);
  color: var(--tt-muted);
  border-radius: 6px;
}

.tt-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.tt-tag {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tt-mustard) !important;
  text-decoration: none !important;
}

.tt-tag:hover {
  color: var(--tt-paprika) !important;
}

.tt-tag.is-fresh {
  color: var(--tt-sage) !important;
}

.tt-row-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 0;
}

.tt-row-title a {
  color: var(--tt-ink) !important;
  text-decoration: none !important;
}

.tt-row-title a:hover {
  color: var(--tt-paprika) !important;
}

.tt-row-excerpt {
  color: var(--tt-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0;
}

.tt-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--tt-muted);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
}

.tt-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tt-meta-item svg {
  flex-shrink: 0;
}

/* ---------- Newsletter band (mustard, angled top) ---------- */

.tt-newsletter-band {
  background-color: var(--tt-mustard);
  color: var(--tt-ink);
  padding: 100px 20px 64px;
  text-align: center;
  clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
}

.tt-newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
}

.tt-newsletter-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--tt-ink);
  margin: 0 0 8px;
}

.tt-newsletter-sub {
  color: rgba(31, 27, 22, 0.72);
  font-size: 16px;
  margin: 0 auto 24px;
  max-width: 480px;
}

.tt-newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.tt-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  background: var(--tt-paper);
  color: var(--tt-ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
}

/* Inverted on purpose: ink button with mustard text on the mustard band. */
.tt-newsletter-form button {
  background-color: var(--tt-ink) !important;
  color: var(--tt-mustard) !important;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tt-newsletter-form button:hover {
  background-color: var(--tt-ink) !important;
  opacity: 0.85;
}

.tt-newsletter-thanks {
  margin-top: 16px;
  font-weight: 600;
  color: var(--tt-ink);
}

/* ---------- Footer ---------- */

.tt-footer {
  background-color: var(--tt-ink);
  color: var(--tt-cream);
  margin-top: auto;
  border-top: 2px solid var(--tt-paprika);
}

.tt-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}

.tt-footer p {
  color: rgba(250, 243, 231, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.tt-logo-footer {
  color: var(--tt-cream) !important;
  display: inline-block;
  margin-bottom: 10px;
}

.tt-footer-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--tt-cream);
  margin: 0 0 14px;
}

.tt-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tt-footer-menu .sub-menu {
  display: none;
}

.tt-footer-menu li {
  margin-bottom: 8px;
}

.tt-footer-menu a {
  color: var(--tt-cream) !important;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.tt-footer-menu a:hover {
  color: var(--tt-mustard) !important;
  text-decoration: none;
}

.tt-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.tt-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(250, 243, 231, 0.25);
  color: var(--tt-cream) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tt-social-icons a:hover {
  background-color: var(--tt-mustard);
  border-color: var(--tt-mustard);
  color: var(--tt-ink) !important;
}

.tt-footer-newsletter {
  display: flex;
  gap: 8px;
}

.tt-footer-newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(250, 243, 231, 0.25);
  border-radius: 4px;
  background: transparent;
  color: var(--tt-cream);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
}

.tt-footer-newsletter input[type="email"]::placeholder {
  color: rgba(250, 243, 231, 0.5);
}

.tt-footer-newsletter button {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 4px;
}

.tt-footer-bottom {
  border-top: 1px solid rgba(250, 243, 231, 0.14);
  padding: 16px 20px;
  text-align: center;
}

.tt-footer-bottom p {
  margin: 0;
  color: rgba(250, 243, 231, 0.55);
  font-size: 13px;
}

/* ---------- Recipe cards / grid (archives, related rows) ---------- */

.tt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tt-recipe-card {
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tt-recipe-card:hover {
  box-shadow: 0 12px 28px rgba(31, 27, 22, 0.1);
  transform: translateY(-2px);
}

.tt-card-media {
  display: block;
  line-height: 0;
}

.tt-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tt-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--tt-cream);
  color: var(--tt-muted);
  border-radius: 12px 12px 0 0;
}

.tt-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tt-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}

.tt-card-title a {
  color: var(--tt-ink) !important;
  text-decoration: none !important;
}

.tt-card-title a:hover {
  color: var(--tt-paprika) !important;
}

/* ---------- Single recipe ---------- */

.tt-single-header {
  padding: 44px 20px 8px;
  text-align: center;
}

.tt-single-inner {
  max-width: 760px;
  margin: 0 auto;
}

.tt-single-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.12;
  margin: 14px 0 14px;
}

.tt-single-header .tt-recipe-meta {
  justify-content: center;
  font-size: 15px;
  margin-bottom: 20px;
}

.tt-jump-btn {
  margin-bottom: 8px;
}

.tt-single-hero {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.tt-single-hero img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 12px;
}

/* Readable article body. Column stays at 760px so content images render
   at 735px or wider for Pinterest. */
.tt-prose {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--tt-ink);
}

.tt-prose > * + * {
  margin-top: 1.1em;
}

.tt-prose h2 {
  font-size: 30px;
  margin-top: 1.6em;
}

.tt-prose h3 {
  font-size: 24px;
  margin-top: 1.4em;
}

.tt-prose img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.tt-prose ul,
.tt-prose ol {
  padding-left: 1.3em;
}

.tt-prose li {
  margin-bottom: 0.4em;
}

.tt-prose blockquote {
  border-left: 3px solid var(--tt-mustard);
  padding: 8px 0 8px 20px;
  margin-left: 0;
  color: var(--tt-muted);
  font-style: italic;
}

.tt-prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#tt-recipe,
.wprm-recipe-container,
.wp-block-wpzoom-recipe-card-block-recipe-card {
  scroll-margin-top: 96px;
}

.tt-single-footer {
  padding: 24px 20px 8px;
}

.tt-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tt-tag-row a {
  font-size: 13px;
  color: var(--tt-muted) !important;
  border: 1px solid var(--tt-line);
  border-radius: 999px;
  padding: 5px 14px;
  text-decoration: none !important;
}

.tt-tag-row a:hover {
  color: var(--tt-paprika) !important;
  border-color: var(--tt-paprika);
}

.tt-related {
  padding-top: 24px;
}

.tt-related .tt-section-title {
  text-align: center;
  margin-bottom: 28px;
}

/* ---------- Archives ---------- */

.tt-archive-header {
  text-align: center;
  max-width: 720px;
  margin: 8px auto 28px;
}

.tt-archive-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 38px;
  margin: 0 0 10px;
}

.tt-archive-desc {
  color: var(--tt-muted);
  font-size: 16px;
}

.tt-sort-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
}

.tt-sort-label {
  color: var(--tt-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.tt-sort-link {
  color: var(--tt-muted) !important;
  text-decoration: none !important;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.tt-sort-link:hover {
  color: var(--tt-paprika) !important;
}

.tt-sort-link.is-active {
  color: var(--tt-paprika) !important;
  border-color: var(--tt-paprika);
  font-weight: 600;
}

.tt-pagination {
  margin-top: 36px;
  text-align: center;
}

.tt-pagination .nav-links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.tt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--tt-line);
  border-radius: 8px;
  background: var(--tt-paper);
  color: var(--tt-ink) !important;
  text-decoration: none !important;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.tt-pagination .page-numbers.current {
  background: var(--tt-paprika);
  border-color: var(--tt-paprika);
  color: #FFFFFF !important;
}

.tt-pagination .page-numbers:hover:not(.current) {
  border-color: var(--tt-paprika);
  color: var(--tt-paprika) !important;
}

/* ---------- About ---------- */

.tt-about-inner {
  max-width: 860px;
}

.tt-about-intro {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 8px;
}

.tt-about-photo {
  flex-shrink: 0;
  width: 260px;
}

.tt-about-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.tt-about-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

.tt-about-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  margin: 0;
}

.tt-about-body {
  padding: 0;
  margin-top: 24px;
}

.tt-about-cta {
  margin-top: 32px;
}

/* ---------- Contact ---------- */

.tt-contact-inner {
  max-width: 720px;
}

.tt-contact-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  margin: 0 0 12px;
  text-align: center;
}

.tt-contact-intro {
  margin-top: 0;
  padding: 0;
  text-align: center;
  color: var(--tt-muted);
}

.tt-contact-form {
  margin-top: 32px;
  background: var(--tt-paper);
  border: 1px solid var(--tt-line);
  border-radius: 12px;
  padding: 32px;
}

.tt-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tt-form-field {
  margin: 0 0 20px;
}

.tt-form-field label {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.tt-form-field input,
.tt-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--tt-line);
  border-radius: 8px;
  background: var(--tt-cream);
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  color: var(--tt-ink);
  box-sizing: border-box;
}

.tt-form-field input:focus,
.tt-form-field textarea:focus {
  outline: none;
  border-color: var(--tt-paprika);
  box-shadow: 0 0 0 3px rgba(214, 85, 44, 0.15);
  background: var(--tt-paper);
}

.tt-form-submit {
  margin: 4px 0 0;
}

.tt-form-success {
  margin-top: 24px;
  background: var(--tt-paper);
  border: 1px solid var(--tt-sage);
  border-left: 4px solid var(--tt-sage);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--tt-sage);
  font-weight: 600;
}

/* ---------- Responsive: tablet (<= 1024px) ---------- */

@media (max-width: 1024px) {
  .tt-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .tt-hero-split {
    grid-template-columns: 50% 50%;
    min-height: 480px;
  }

  .tt-spotlight-inner {
    gap: 36px;
  }

  .tt-spotlight-media {
    width: 320px;
  }

  .tt-row-inner {
    gap: 32px;
  }

  .tt-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ---------- Responsive: mobile nav (<= 900px) ---------- */

@media (max-width: 900px) {
  .tt-menu-toggle {
    display: inline-flex;
  }

  /* The nav is hidden here, so its auto margin no longer pushes the
     action buttons to the right edge. Do it on the actions instead. */
  .tt-header-actions {
    margin-left: auto;
  }

  .tt-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tt-paper);
    border-bottom: 1px solid var(--tt-line);
    box-shadow: 0 14px 30px rgba(31, 27, 22, 0.12);
    margin-left: 0;
  }

  .tt-nav.is-open {
    display: block;
  }

  .tt-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
  }

  .tt-nav-list a {
    padding: 12px 10px;
    font-size: 16px;
  }

  .tt-nav-list a::after {
    display: none;
  }

  .tt-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--tt-line);
    border-radius: 0;
    margin: 0 0 4px 14px;
    padding: 0;
  }
}

/* ---------- Responsive: mobile (<= 768px) ---------- */

@media (max-width: 768px) {
  .tt-section {
    padding: 32px 16px;
  }

  /* Hero stacks: image on top, panel below. */
  .tt-hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tt-hero-media {
    position: static;
  }

  .tt-hero-media img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .tt-hero-panel {
    padding: 36px 24px 44px;
    gap: 16px;
  }

  .tt-cat-tabs {
    padding: 18px 12px;
  }

  .tt-cat-tabs a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .tt-cat-tabs a::after {
    left: 12px;
    right: 12px;
  }

  .tt-spotlight {
    padding: 48px 20px;
  }

  .tt-spotlight-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .tt-spotlight-media {
    width: 100%;
  }

  .tt-latest-rows {
    padding-top: 40px;
  }

  .tt-rows-head {
    margin-bottom: 24px;
  }

  /* Rows stack: image always on top. */
  .tt-row {
    padding: 32px 20px;
  }

  .tt-row-inner,
  .tt-row.is-alt .tt-row-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .tt-row-media {
    flex: none;
  }

  .tt-single-title {
    font-size: 30px;
  }

  .tt-archive-title,
  .tt-about-title,
  .tt-contact-title {
    font-size: 30px;
  }

  .tt-about-intro {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .tt-about-photo {
    width: 200px;
  }

  .tt-contact-form {
    padding: 22px 18px;
  }

  .tt-form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tt-sort-bar {
    justify-content: center;
  }

  .tt-newsletter-band {
    padding: 76px 20px 52px;
    clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%);
  }
}

/* ---------- Responsive: small phones (<= 640px) ---------- */

@media (max-width: 640px) {
  .tt-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tt-newsletter-form {
    flex-direction: column;
  }

  .tt-newsletter-form button {
    width: 100%;
  }

  .tt-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
  }

  .tt-prose {
    font-size: 16px;
  }
}
