/*
Theme Name: Kitchen Detail
Theme URI: https://lacuisineus.com
Author: Nancy Pollard
Author URI: https://lacuisineus.com
Description: A modern culinary blog theme for Kitchen Detail featuring Playfair Display and Lato fonts
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kitchen-detail
Tags: blog, food, recipes, custom-colors, featured-images, custom-menu
*/

/* CSS Variables */
:root {
  --color-primary: #337ab7;
  --color-primary-dark: #2868a0;
  --color-yellow: #fce8a7;
  --color-dark: #2d2d2d;
  --color-white: #ffffff;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Lato', sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-dark);
  color: var(--color-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.3;
  font-weight: 600;
}

/* Navigation */
.site-navigation {
  background-color: var(--color-dark);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo {
  display: none;
  color: white;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  opacity: 1;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
}

.nav-toggle__box {
  display: grid;
  gap: 0.25rem;
}

.nav-toggle__line {
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu .menu-item {
  margin: 0;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.nav-menu a:hover {
  color: white;
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Logo */
.site-logo {
  background-color: var(--color-dark);
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-logo a {
  color: white;
  font-size: 1.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: opacity 0.3s;
}

.site-logo a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  /*overflow: hidden; */
  display: flex;
  justify-content: center;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  height: 100%;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), transparent);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}

.hero-text {
  max-width: 48rem;
}

.hero-title {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.hero-excerpt {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  font-family: var(--font-sans);
}

.hero-button:hover {
  background-color: var(--color-primary-dark);
  opacity: 1;
}

/* Welcome Section */
.welcome-section {
  background-color: var(--color-yellow);
  padding: 3rem 1rem 1.75rem;
}

.welcome-container {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.welcome-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
}

.welcome-text {
  color: rgba(45, 45, 45, 0.8);
  line-height: 1.75;
  max-width: 48rem;
  margin: 0 auto;
}

/* Featured Posts */
.featured-posts {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(180deg, #fce8a7 0%, #f7e1a5 100%);
  padding: 4.5rem 1rem;
}

.home-about-section {
  background-color: #fce8a7;
  padding: 4rem 1rem;
  font-family: 'Lato', sans-serif;
}

.home-about-container {
  max-width: 1152px;
  margin: 0 auto;
}

.home-about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.home-about-media {
  display: flex;
  justify-content: center;
}

.home-about-portrait {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.home-about-copy {
  color: rgba(45, 45, 45, 0.8);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.featured-container {
  max-width: 1152px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.section-header--featured {
  margin-bottom: 2rem;
}

.featured-posts__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-posts__intro {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: rgba(45, 45, 45, 0.78);
  line-height: 1.75;
}

.posts-grid--featured {
  gap: 1rem;
}

.post-card {
  background: white;
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 1.4rem;
  box-shadow: 0 18px 40px rgba(45, 45, 45, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(45, 45, 45, 0.12);
  border-color: rgba(51, 122, 183, 0.18);
}

.post-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.post-card:hover .post-image {
  transform: scale(1.05);
}

.post-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.post-content {
  padding: 1.35rem 1.35rem 1.5rem;
  text-align: left;
}

.post-card__header {
  margin-bottom: 0.9rem;
}

.post-card__slot-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(51, 122, 183, 0.1);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card__slot-description {
  margin: 0.75rem 0 0;
  color: rgba(45, 45, 45, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
}

.post-title {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
  line-height: 1.3;
}

.post-subtitle {
  color: rgba(45, 45, 45, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.76rem;
  color: rgba(45, 45, 45, 0.6);
  letter-spacing: 0.02em;
}

.post-card--primary .post-image-wrapper {
  aspect-ratio: 16 / 10;
}

.post-card--primary .post-content {
  padding: 1.6rem 1.6rem 1.75rem;
}

.post-card--primary .post-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.post-card--primary .post-subtitle {
  font-size: 1rem;
}

.post-card--you-need-this .post-card__slot-label {
  background: rgba(178, 82, 47, 0.12);
  color: #9a4b2a;
}

.post-card--latest-recipe .post-card__slot-label {
  background: rgba(79, 122, 62, 0.14);
  color: #446a35;
}

.post-card--most-popular .post-card__slot-label {
  background: rgba(90, 64, 143, 0.12);
  color: #59408b;
}

.post-card--nancy-recommends .post-card__slot-label {
  background: rgba(38, 33, 27, 0.08);
  color: #43382e;
}

/* Page Headers */
.page-header {
  background-color: var(--color-yellow);
  padding: 3rem 1rem;
  text-align: center;
}

.page-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: rgba(51, 122, 183, 0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.page-title {
  font-size: 3rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.page-subtitle {
  font-size: 1.25rem;
  color: rgba(45, 45, 45, 0.8);
  max-width: 42rem;
  margin: 0 auto;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.section-divider {
  width: 6rem;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto;
}

/* Article Cards */
.article-card {
  cursor: pointer;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}

.article-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.article-image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  border-radius: 9999px;
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
  line-height: 1.3;
}

.article-excerpt {
  color: rgba(45, 45, 45, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(45, 45, 45, 0.6);
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(45, 45, 45, 0.2);
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: background-color 0.3s;
}

.form-button:hover {
  background-color: var(--color-primary-dark);
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border: 2px solid rgba(45, 45, 45, 0.2);
}

.btn-outline:hover {
  background-color: var(--color-yellow);
  border-color: var(--color-yellow);
  opacity: 1;
}

/* Pagination */
.kd-pagination {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-top: 3rem;
}

.kd-pagination__status {
  color: rgba(45, 45, 45, 0.58);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.kd-pagination__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kd-pagination__item {
  margin: 0;
}

.kd-pagination__links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(45, 45, 45, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 241, 234, 0.96));
  color: var(--color-dark);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

.kd-pagination__links a.page-numbers:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(25, 76, 118, 0.22);
  box-shadow: 0 12px 24px rgba(25, 76, 118, 0.08);
}

.kd-pagination__links .current {
  background: linear-gradient(135deg, var(--color-primary), #194c76);
  border-color: transparent;
  color: white;
  box-shadow: 0 14px 28px rgba(25, 76, 118, 0.18);
}

.kd-pagination__item--prev .page-numbers,
.kd-pagination__item--next .page-numbers {
  padding-inline: 1.15rem;
  font-weight: 600;
}

.kd-pagination__item--dots .page-numbers,
.kd-pagination__links .dots {
  min-width: 2.25rem;
  padding-inline: 0.35rem;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(45, 45, 45, 0.45);
}

.kd-pagination__arrow {
  font-size: 0.95rem;
}

.pagination {
  margin-top: 3rem;
}

/* Sidebar */
.sidebar {
  background: white;
  border-radius: 0.5rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  padding: 1.5rem;
}

.sidebar.sticky {
  position: sticky;
  top: 6rem;
}

.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  transition: background 0.3s;
  font-size: 0.875rem;
  color: rgba(45, 45, 45, 0.7);
}

.sidebar a:hover {
  background-color: var(--color-yellow);
  opacity: 1;
}

.sidebar a.active {
  background-color: var(--color-primary);
  color: white;
}

/* Single Post Styles */
.single-post-hero {
  position: relative;
  height: 32rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.single-post-hero__media {
  position: relative;
  width: 100%;
  max-width: 96rem;
  height: 100%;
}

.single-post-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12));
}

.single-post-shell {
  --article-accent: var(--color-primary);
  max-width: 78rem;
  margin: -8rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  font-family: var(--font-sans);
}

.single-post-shell--recipe-notes {
  --article-accent: #337ab7;
}

.single-post-shell--travel-dispatch {
  --article-accent: #356f5f;
}

.single-post-shell--editorial-essay {
  --article-accent: #8b5c2f;
}

.single-post-shell--kitchen-notebook {
  --article-accent: #6d4f91;
}

.single-post-shell--feature-story {
  --article-accent: #9e5b49;
}

.single-post-header {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  padding: 3rem;
  margin-bottom: 2rem;
  border-top: 6px solid var(--article-accent);
}

.single-post-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.single-post-pattern-badge,
.single-post-topic-link,
.single-post-related-card__category,
.single-post-tag-list__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.single-post-pattern-badge {
  background: color-mix(in srgb, var(--article-accent) 16%, white);
  color: var(--article-accent);
}

.single-post-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-post-topic-link,
.single-post-tag-list__tag {
  background: rgba(45, 45, 45, 0.06);
  color: var(--color-dark);
}

.single-post-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin-bottom: 1rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
  line-height: 1.08;
  max-width: 14ch;
}

.single-post-dek {
  max-width: 44rem;
  margin: 0 0 1.75rem;
  color: rgba(45, 45, 45, 0.75);
  font-size: 1.15rem;
  line-height: 1.8;
}

.single-post-masthead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 45, 45, 0.1);
}

.single-post-author-compact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.single-post-author-compact__avatar img,
.single-post-author-card__avatar img {
  border-radius: 50%;
  display: block;
}

.single-post-author-compact__label,
.single-post-author-card__eyebrow,
.single-post-toc__eyebrow,
.single-post-info-item__label {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(45, 45, 45, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.single-post-author-compact__name {
  color: var(--color-dark);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(45, 45, 45, 0.6);
}

.single-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.single-post-meta span:not(:last-child)::after {
  content: '';
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: rgba(45, 45, 45, 0.2);
  margin-left: 0.75rem;
}

.single-post-hero-caption {
  margin-top: 1.2rem;
  color: rgba(45, 45, 45, 0.58);
  font-size: 0.85rem;
  line-height: 1.6;
}

.single-post-body {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.single-post-body--has-toc {
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
}

.single-post-body--no-toc {
  grid-template-columns: minmax(0, 1fr);
}

.single-post-toc {
  position: sticky;
  top: 7rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.single-post-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-post-toc__item + .single-post-toc__item {
  margin-top: 0.55rem;
}

.single-post-toc__item--h3 {
  padding-left: 0.85rem;
}

.single-post-toc__item a {
  color: rgba(45, 45, 45, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.single-post-toc__item a:hover {
  color: var(--article-accent);
  opacity: 1;
}

.single-post-prose-wrap {
  min-width: 0;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
}

.single-post-body--no-toc .single-post-prose-wrap {
  max-width: 58rem;
  margin: 0 auto;
}

.single-post-content {
  max-width: 44rem;
  margin: 0 auto;
  line-height: 1.92;
  color: rgba(45, 45, 45, 0.84);
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.single-post-content > *:first-child {
  margin-top: 0;
}

.single-post-content > *:last-child {
  margin-bottom: 0;
}

.single-post-content > p:first-of-type::first-letter {
  float: left;
  margin: 0.2rem 0.65rem 0 0;
  color: var(--article-accent);
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.8;
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol,
.single-post-content table,
.single-post-content pre {
  margin-bottom: 1.6rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  clear: both;
}

.single-post-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(45, 45, 45, 0.1);
}

.single-post-content h3 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.single-post-content h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--color-dark);
}

.single-post-content img:not(.alignleft):not(.alignright) {
  margin: 2rem 0;
  border-radius: 0.75rem;
}

.single-post-content img.alignleft {
  margin: 0.35rem 1.5rem 1rem 0;
  border-radius: 0.75rem;
}

.single-post-content img.alignright {
  margin: 0.35rem 0 1rem 1.5rem;
  border-radius: 0.75rem;
}

.single-post-content figure,
.single-post-content .wp-block-image,
.single-post-content .wp-block-gallery,
.single-post-content .wp-block-media-text,
.single-post-content .wp-block-embed,
.single-post-content .wp-caption,
.single-post-content .wp-block-cover,
.single-post-content .wp-block-separator {
  margin: 2rem 0;
}

.single-post-content .alignwide,
.single-post-content .wp-block-image.alignwide,
.single-post-content .wp-block-cover.alignwide,
.single-post-content .wp-block-gallery.alignwide {
  width: calc(100% + 8rem);
  max-width: none;
  margin-left: -4rem;
  margin-right: -4rem;
}

.single-post-content figure img,
.single-post-content .wp-block-image img,
.single-post-content .wp-caption img {
  margin: 0;
}

.single-post-content figcaption,
.single-post-content .wp-caption-text,
.single-post-content .blocks-gallery-caption {
  margin-top: 0.75rem;
  color: rgba(45, 45, 45, 0.62);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.single-post-content iframe,
.single-post-content embed,
.single-post-content object,
.single-post-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.single-post-content iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.single-post-content .wp-block-embed__wrapper,
.single-post-content .wp-block-video,
.single-post-content .fluid-width-video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}

.single-post-content blockquote,
.single-post-content .wp-block-pullquote blockquote {
  margin: 2.25rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--article-accent);
  background: color-mix(in srgb, var(--article-accent) 8%, white);
  color: rgba(45, 45, 45, 0.88);
  font-size: 1.15rem;
  line-height: 1.85;
}

.single-post-content .wp-block-pullquote {
  padding: 0;
  border: none;
}

.single-post-content hr,
.single-post-content .wp-block-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 45, 45, 0.18), transparent);
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 2rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
}

.single-post-author-card,
.single-post-panel,
.newsletter-box,
.single-post-recipe-intro,
.single-post-related {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.single-post-recipe-anchor {
  display: block;
  position: relative;
  top: -7rem;
  visibility: hidden;
}

.single-post-recipe-intro {
  background:
    radial-gradient(circle at top left, rgba(196, 120, 62, 0.2), transparent 42%),
    linear-gradient(135deg, #fffaf3, #fff 68%);
  border: 1px solid rgba(178, 82, 47, 0.14);
  display: grid;
  gap: 1.5rem;
}

.single-post-recipe-intro__eyebrow {
  margin: 0 0 0.65rem;
  color: #9a4b2a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.single-post-recipe-intro__title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.single-post-recipe-intro__lede,
.single-post-recipe-intro__summary {
  max-width: 44rem;
  color: rgba(45, 45, 45, 0.78);
  line-height: 1.75;
}

.single-post-recipe-intro__lede {
  margin: 0.9rem 0 0;
  font-weight: 700;
}

.single-post-recipe-intro__summary {
  margin: 0.7rem 0 0;
}

.single-post-recipe-intro__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.single-post-recipe-intro__stat {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(45, 45, 45, 0.08);
}

.single-post-recipe-intro__stat-label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(45, 45, 45, 0.54);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-post-recipe-intro__stat-value {
  display: block;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 700;
}

.single-post-recipe-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.single-post-recipe-intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--article-accent);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.single-post-recipe-intro__button--ghost {
  background: rgba(45, 45, 45, 0.06);
  color: var(--color-dark);
}

.single-post-content .kd-recipe-card {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.single-post-content .kd-recipe-card__title {
  font-family: var(--font-serif);
}

.single-post-author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  border-top: 4px solid var(--article-accent);
}

.single-post-author-card__avatar {
  flex: 0 0 auto;
}

.single-post-author-card__name {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.single-post-author-card__role {
  margin-bottom: 0.85rem;
  color: var(--article-accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.single-post-author-card__bio {
  max-width: 42rem;
  margin-bottom: 1.25rem;
  color: rgba(45, 45, 45, 0.76);
  line-height: 1.8;
}

.single-post-author-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.single-post-author-card__button,
.single-post-story-nav__card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--article-accent);
  color: white;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.single-post-author-card__button--ghost {
  background: rgba(45, 45, 45, 0.06);
  color: var(--color-dark);
}

.single-post-panel--meta {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.9), rgba(255, 255, 255, 1));
  box-shadow: none;
}

.single-post-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.single-post-info-item {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 45, 45, 0.08);
}

.single-post-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.single-post-panel-title {
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.single-post-panel--continuation {
  background: linear-gradient(180deg, rgba(252, 232, 167, 0.24), rgba(255, 255, 255, 1));
}

.single-post-continuation__text {
  color: rgba(45, 45, 45, 0.72);
  line-height: 1.75;
}

.single-post-story-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.single-post-story-nav__card {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  min-width: 0;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  text-align: left;
}

.single-post-story-nav__label {
  margin-bottom: 0.45rem;
  opacity: 0.74;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-post-story-nav__card strong {
  overflow-wrap: anywhere;
}

.single-post-newsletter-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.newsletter-box {
  background-color: var(--color-yellow);
  text-align: center;
}

.newsletter-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
}

.newsletter-text {
  color: rgba(45, 45, 45, 0.8);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.newsletter-signup {
  width: 100%;
}

.single-post-related__header {
  margin-bottom: 1.25rem;
}

.single-post-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.single-post-related-card {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.single-post-related-card__link {
  display: block;
}

.single-post-related-card__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-width: 0;
}

.single-post-related-card__image {
  width: 220px;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.single-post-related-card__content {
  padding: 1.5rem;
  min-width: 0;
}

.single-post-related-card__category {
  margin-bottom: 0.7rem;
  background: color-mix(in srgb, var(--article-accent) 12%, white);
  color: var(--article-accent);
}

.single-post-related-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
  overflow-wrap: anywhere;
}

.single-post-related-card__excerpt {
  color: rgba(45, 45, 45, 0.72);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.single-post-related-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.75rem;
  color: rgba(45, 45, 45, 0.56);
}

@media (max-width: 1024px) {
  .single-post-body {
    grid-template-columns: 1fr;
  }

  .single-post-toc {
    position: static;
    max-width: 44rem;
    margin: 0 auto 1.5rem;
  }

  .single-post-content .alignwide,
  .single-post-content .wp-block-image.alignwide,
  .single-post-content .wp-block-cover.alignwide,
  .single-post-content .wp-block-gallery.alignwide {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

@media (max-width: 768px) {
  .single-post-hero {
    height: 24rem;
  }

  .single-post-shell {
    padding: 0 0.75rem;
    margin-top: -5.5rem;
  }

  .single-post-toc {
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem;
  }

  .single-post-header,
  .single-post-author-card,
  .single-post-panel,
  .newsletter-box,
  .single-post-recipe-intro,
  .single-post-related,
  .single-post-prose-wrap {
    padding: 1.5rem;
  }

  .single-post-title {
    font-size: 2.3rem;
    max-width: none;
  }

  .single-post-dek {
    font-size: 1.02rem;
  }

  .single-post-masthead-meta {
    align-items: stretch;
  }

  .single-post-meta {
    justify-content: flex-start;
    gap: 0.65rem 1rem;
    font-size: 0.8125rem;
  }

  .single-post-meta span:not(:last-child)::after {
    display: none;
  }

  .single-post-content {
    font-size: 1.125rem;
    line-height: 1.95;
  }

  .single-post-content > p:first-of-type::first-letter {
    font-size: 3.3rem;
    margin-right: 0.5rem;
  }

  .single-post-content p,
  .single-post-content ul,
  .single-post-content ol {
    margin-bottom: 1.25rem;
  }

  .single-post-content figure,
  .single-post-content .wp-block-image,
  .single-post-content .wp-block-gallery,
  .single-post-content .wp-block-media-text,
  .single-post-content .wp-block-embed,
  .single-post-content .wp-caption,
  .single-post-content iframe,
  .single-post-content embed,
  .single-post-content object,
  .single-post-content video {
    margin: 2.4rem 0;
  }

  .single-post-content figure,
  .single-post-content .wp-block-image,
  .single-post-content .wp-caption,
  .single-post-content .wp-block-gallery,
  .single-post-content .alignleft,
  .single-post-content .alignright {
    width: 100%;
    max-width: 100%;
    float: none;
    display: block;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .single-post-content figure img,
  .single-post-content .wp-block-image img,
  .single-post-content .wp-caption img,
  .single-post-content .wp-block-gallery img,
  .single-post-content .alignleft img,
  .single-post-content .alignright img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .single-post-content img.alignleft,
  .single-post-content img.alignright {
    margin: 18px 0;
  }

  .single-post-content figcaption,
  .single-post-content .wp-caption-text,
  .single-post-content .blocks-gallery-caption {
    padding-left: 0;
    padding-right: 0;
  }

  .single-post-content .alignwide,
  .single-post-content .wp-block-image.alignwide,
  .single-post-content .wp-block-cover.alignwide,
  .single-post-content .wp-block-gallery.alignwide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .single-post-author-card {
    grid-template-columns: 1fr;
  }

  .single-post-recipe-intro__actions {
    flex-direction: column;
  }

  .single-post-recipe-intro__button {
    width: 100%;
  }

  .single-post-info-grid,
  .single-post-story-nav {
    grid-template-columns: 1fr;
  }

  .single-post-related-card__inner {
    grid-template-columns: 1fr;
  }

  .single-post-related-card__image {
    width: 100%;
    height: 220px;
  }
}

.newsletter-form {
  max-width: 32rem;
  margin: 0 auto;
}

.newsletter-form__row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.newsletter-form__input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(45, 45, 45, 0.16);
  border-radius: 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(51, 122, 183, 0.16);
}

.newsletter-form__button {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--color-primary), #194c76);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  box-shadow: 0 12px 24px rgba(25, 76, 118, 0.18);
}

.newsletter-form__button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.newsletter-form__privacy {
  font-size: 0.75rem;
  margin-top: 0.75rem;
  text-align: center;
  color: rgba(45, 45, 45, 0.5);
}

.newsletter-notice {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: min(26rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 1rem 1rem 1rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.newsletter-notice.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.newsletter-notice.is-hidden {
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  pointer-events: none;
}

.newsletter-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.newsletter-notice__message {
  flex: 1 1 auto;
  min-width: 0;
}

.newsletter-notice__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.72;
  cursor: pointer;
}

.newsletter-notice__close:hover {
  opacity: 1;
}

.newsletter-notice--success {
  background: rgba(245, 255, 245, 0.96);
  border: 1px solid rgba(97, 173, 106, 0.35);
  color: #214f28;
}

.newsletter-notice--success .newsletter-notice__icon {
  background: rgba(97, 173, 106, 0.18);
}

.newsletter-notice--error {
  background: rgba(255, 246, 246, 0.98);
  border: 1px solid rgba(177, 66, 66, 0.28);
  color: #7b1f1f;
}

.newsletter-notice--error .newsletter-notice__icon {
  background: rgba(177, 66, 66, 0.12);
}

/* Browse / Archive / Search */
.browse-page-header {
  background-color: var(--color-yellow);
  padding: 3rem 1rem;
}

.browse-header-content {
  max-width: 90rem;
  margin: 0 auto;
}

.browse-page-header h1 {
  font-size: 3rem;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  line-height: 1.2;
}

.browse-header-subtitle {
  text-align: center;
  color: rgba(45, 45, 45, 0.8);
  max-width: 42rem;
  margin: 0 auto;
  font-family: var(--font-sans);
  line-height: 1.75;
}

.browse-search-form-wrap {
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

.browse-main-content {
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
  background: white;
}

.browse-mobile-toolbar {
  display: none;
}

.browse-featured-pills {
  display: none;
}

.browse-featured-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 45, 45, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 232, 0.9));
  color: var(--color-dark);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
  transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.browse-featured-pill:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(25, 76, 118, 0.2);
  box-shadow: 0 12px 24px rgba(25, 76, 118, 0.08);
}

.browse-featured-pill.is-active {
  background: linear-gradient(135deg, var(--color-primary), #194c76);
  border-color: transparent;
  color: white;
  box-shadow: 0 14px 28px rgba(25, 76, 118, 0.18);
}

.browse-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 21rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.browse-results {
  min-width: 0;
}

.browse-sidebar {
  position: sticky;
  top: 6.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.browse-sidebar__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.browse-sidebar__header h2 {
  font-size: 1.65rem;
  color: var(--color-dark);
}

.browse-sidebar__eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(45, 45, 45, 0.55);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.browse-sidebar__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.browse-sidebar__close,
.browse-filters-backdrop {
  display: none;
}

.browse-sidebar-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.96));
  border-radius: 1.1rem;
  border: 1px solid rgba(45, 45, 45, 0.09);
  padding: 1.25rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.browse-sidebar-box h3 {
  font-size: 1.18rem;
  margin-bottom: 0.15rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
}

.browse-sidebar-box__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.browse-sidebar-box__label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(45, 45, 45, 0.56);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.browse-sidebar-box__meta {
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(25, 76, 118, 0.08);
  color: rgba(25, 76, 118, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.browse-active-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  background: rgba(45, 45, 45, 0.04);
  color: var(--color-dark);
  font-family: var(--font-sans);
}

.browse-active-filter--all {
  justify-content: flex-start;
}

.browse-active-filter__text {
  font-weight: 600;
}

.browse-active-filter__clear {
  color: var(--color-primary);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.browse-filter-groups {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.browse-filter-group {
  border-radius: 1rem;
  border: 1px solid rgba(45, 45, 45, 0.08);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.browse-filter-group[open] {
  background: rgba(255, 255, 255, 0.95);
}

.browse-filter-group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
}

.browse-filter-group__summary::-webkit-details-marker {
  display: none;
}

.browse-filter-group__count {
  flex: 0 0 auto;
  min-width: 2rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(45, 45, 45, 0.06);
  color: rgba(45, 45, 45, 0.72);
  font-size: 0.76rem;
  text-align: center;
}

.browse-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.browse-sidebar-list--grouped,
.browse-sidebar-list--archives {
  padding: 0 0.5rem 0.6rem;
}

.browse-sidebar-list li + li {
  margin-top: 0.35rem;
}

.browse-sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
  font-size: 0.9rem;
  color: rgba(45, 45, 45, 0.78);
  font-family: var(--font-sans);
  text-decoration: none;
}

.browse-sidebar-list a:hover {
  opacity: 1;
  background-color: rgba(252, 232, 167, 0.55);
  transform: translateX(2px);
}

.browse-sidebar-list__text {
  min-width: 0;
}

.browse-sidebar-list__count {
  flex: 0 0 auto;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(45, 45, 45, 0.06);
  color: rgba(45, 45, 45, 0.68);
  font-size: 0.75rem;
  line-height: 1;
}

.browse-sidebar-list .current-cat > a,
.browse-sidebar-list a.active {
  background: linear-gradient(135deg, var(--color-primary), #194c76);
  color: white;
  box-shadow: 0 12px 24px rgba(25, 76, 118, 0.18);
}

.browse-sidebar-list .current-cat > a .browse-sidebar-list__count,
.browse-sidebar-list a.active .browse-sidebar-list__count {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.browse-sidebar-select-wrap {
  display: none;
  margin-bottom: 1rem;
}

.browse-sidebar-select-wrap:last-of-type {
  margin-bottom: 0;
}

.browse-sidebar-select-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--color-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.browse-sidebar-select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(45, 45, 45, 0.14);
  border-radius: 0.75rem;
  background: white;
  color: var(--color-dark);
  font-size: 1rem;
  font-family: var(--font-sans);
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-primary) 50%), linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) calc(50% - 0.1rem), calc(100% - 0.85rem) calc(50% - 0.1rem);
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
}

.browse-sidebar-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(51, 122, 183, 0.14);
}

.browse-results__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.browse-count {
  margin-bottom: 0;
}

.browse-count p {
  color: rgba(45, 45, 45, 0.6);
  font-size: 0.875rem;
  font-family: var(--font-sans);
}

.browse-results__active-filter {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(252, 232, 167, 0.42);
  color: rgba(45, 45, 45, 0.78);
  font-size: 0.84rem;
  font-family: var(--font-sans);
}

.browse-results__active-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(45, 45, 45, 0.52);
  font-size: 0.72rem;
}

.browse-results__active-filter a {
  color: var(--color-primary);
  font-weight: 600;
}

.browse-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.browse-post-card {
  background: white;
  border-radius: 0.5rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.browse-post-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.browse-post-card__link {
  display: block;
  height: 100%;
  flex: 1 1 auto;
}

.browse-post-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.browse-post-card:hover .browse-post-image img {
  transform: scale(1.05);
}

.browse-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.browse-post-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  border-radius: 9999px;
}

.browse-post-content {
  padding: 1.5rem;
}

.browse-post-author {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1rem;
  color: rgba(45, 45, 45, 0.66);
  font-size: 0.82rem;
  font-family: var(--font-sans);
}

.browse-post-author__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.browse-post-author__name {
  color: var(--color-dark);
  font-weight: 600;
}

.browse-post-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.browse-post-excerpt {
  color: rgba(45, 45, 45, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.browse-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(45, 45, 45, 0.6);
  font-family: var(--font-sans);
}

.browse-post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.browse-post-meta-item svg {
  width: 0.75rem;
  height: 0.75rem;
}

.browse-post-meta-item--rating {
  color: #9a6a00;
  font-weight: 600;
}

.browse-post-meta-item--rating svg {
  width: 0.9rem;
  height: 0.9rem;
}

.browse-empty-state {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(252, 232, 167, 0.26), rgba(255, 255, 255, 1));
  text-align: center;
}

.browse-empty-state h2 {
  color: var(--color-dark);
  margin-bottom: 0.9rem;
}

.browse-empty-state p {
  max-width: 34rem;
  margin: 0 auto;
  color: rgba(45, 45, 45, 0.74);
  line-height: 1.75;
}

.browse-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.browse-empty-state__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.browse-empty-state__button--ghost {
  background: rgba(45, 45, 45, 0.06);
  color: var(--color-dark);
}

.browse-empty-state__search {
  max-width: 36rem;
  margin: 1.5rem auto 0;
}

.browse-pagination {
  margin-top: 0.5rem;
}

.recipes-pagination {
  margin-top: 0.75rem;
}

.praise-pagination {
  margin: 0 0 3rem;
}

.author-archive-shell .browse-pagination {
  margin-top: 2.5rem;
}

.author-archive-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(252, 232, 167, 0.56), transparent 38%),
    linear-gradient(135deg, #f4efe6, #e4ecf2 55%, #f8f8f6);
  padding: 5rem 1rem 4rem;
}

.author-archive-hero::after {
  content: '';
  position: absolute;
  inset: auto -5rem -6rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(25, 76, 118, 0.08);
}

.author-archive-hero__inner,
.author-archive-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.author-archive-hero__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.author-archive-hero__avatar {
  width: 10.5rem;
  height: 10.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  background: white;
}

.author-archive-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-archive-hero__eyebrow,
.author-archive-card__eyebrow,
.author-archive-posts__eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(45, 45, 45, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.author-archive-hero h1 {
  margin-bottom: 0.65rem;
  color: var(--color-dark);
}

.author-archive-hero__role {
  margin-bottom: 1rem;
  color: var(--article-accent);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.author-archive-hero__bio {
  max-width: 44rem;
  margin-bottom: 1.35rem;
  color: rgba(45, 45, 45, 0.8);
  font-size: 1.02rem;
  line-height: 1.85;
}

.author-archive-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  color: rgba(45, 45, 45, 0.62);
  font-size: 0.88rem;
  font-family: var(--font-sans);
}

.author-archive-hero__actions,
.author-archive-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.author-archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.author-archive-button--ghost {
  background: rgba(45, 45, 45, 0.06);
  color: var(--color-dark);
}

.author-archive-shell {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(17rem, 1fr);
  gap: 2rem;
  padding: 3rem 1rem 4rem;
}

.author-archive-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.author-archive-card + .author-archive-card {
  margin-top: 1.5rem;
}

.author-archive-card__title {
  margin-bottom: 0.85rem;
  color: var(--color-dark);
}

.author-archive-card__text {
  color: rgba(45, 45, 45, 0.76);
  line-height: 1.8;
}

.author-archive-posts__header {
  margin-bottom: 1.35rem;
}

.author-archive-posts__title {
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.author-archive-posts__count {
  color: rgba(45, 45, 45, 0.62);
  font-size: 0.9rem;
  font-family: var(--font-sans);
}

.site-search-form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.site-search-form__input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(45, 45, 45, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.site-search-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(51, 122, 183, 0.14);
}

.site-search-form__button {
  flex: 0 0 auto;
  min-width: 8rem;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--color-primary), #194c76);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(25, 76, 118, 0.18);
}

@media (max-width: 768px) {
  .newsletter-notice {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    padding: 0.95rem;
  }

  .browse-page-header h1 {
    font-size: 2.5rem;
  }

  .browse-main-content {
    padding: 1.5rem 0.75rem 3rem;
  }

  .browse-featured-pills {
    display: none;
  }

  .browse-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(248, 244, 235, 0.95), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(45, 45, 45, 0.08);
  }

  .browse-filters-toggle {
    flex: 0 0 auto;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), #194c76);
    color: white;
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    cursor: pointer;
  }

  .author-archive-hero {
    padding: 4rem 0.75rem 3rem;
  }

  .author-archive-hero__inner,
  .author-archive-shell {
    grid-template-columns: 1fr;
  }

  .author-archive-hero__inner {
    gap: 1.5rem;
  }

  .author-archive-hero__avatar {
    width: 8rem;
    height: 8rem;
  }

  .author-archive-shell {
    padding: 2rem 0.75rem 3rem;
  }

  .author-archive-card {
    padding: 1.35rem;
  }

  .browse-layout {
    grid-template-columns: 1fr;
  }

  .browse-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    width: min(25rem, calc(100vw - 1.5rem));
    padding: 1rem;
    background: #f6f2eb;
    transform: translateX(108%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  body.browse-filters-open {
    overflow: hidden;
  }

  body.browse-filters-open .browse-sidebar {
    transform: translateX(0);
  }

  .browse-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 120;
    border: none;
    background: rgba(16, 21, 26, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  body.browse-filters-open .browse-filters-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .browse-sidebar__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(45, 45, 45, 0.08);
    color: var(--color-dark);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
  }

  .browse-results__top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1.15rem;
  }

  .browse-results__active-filter {
    justify-content: flex-start;
  }

  .browse-posts-grid {
    grid-template-columns: 1fr;
  }

  .browse-empty-state {
    padding: 2rem 1.25rem;
  }

  .site-search-form {
    flex-direction: column;
  }

  .site-search-form__button {
    width: 100%;
  }

  .kd-pagination {
    gap: 0.75rem;
  }

  .kd-pagination__status {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .kd-pagination__links {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    width: 100%;
    gap: 0.65rem;
  }

  .kd-pagination__item {
    display: none;
  }

  .kd-pagination__item--prev,
  .kd-pagination__item--next,
  .kd-pagination__item--current {
    display: block;
  }

  .kd-pagination__item--prev {
    grid-column: 1;
  }

  .kd-pagination__item--current {
    grid-column: 2;
  }

  .kd-pagination__item--next {
    grid-column: 3;
  }

  .kd-pagination__item--next .page-numbers {
    justify-self: end;
  }

  .kd-pagination__links .page-numbers {
    width: 100%;
    min-width: 0;
    min-height: 3.1rem;
    padding: 0.85rem 0.9rem;
    font-size: 0.86rem;
  }

  .kd-pagination__item--current .page-numbers {
    width: auto;
    min-width: 3.25rem;
    padding-inline: 1rem;
  }

  .kd-pagination__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Comments Section */
.comments-section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 3rem;
  margin-bottom: 2rem;
}

.comments-title {
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}

/* Related Posts */
.related-posts {
  margin-bottom: 2rem;
}

.related-posts-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
}

.related-post-card {
  cursor: pointer;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid rgba(45, 45, 45, 0.1);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  margin-bottom: 1.5rem;
}

.related-post-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.related-post-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  font-family: var(--font-serif);
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: white;
  font-family: var(--font-sans);
  padding: 3rem 1rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav a:hover {
  color: white;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Partner Logos */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  overflow-x: auto;
  margin-top: 2.5rem;
}

.partner-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.partner-logo {
  max-width: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logo--vero {
  height: 4rem;
}

.partner-logo--thermoworks {
  height: 2.5rem;
}

.partner-logo--debuyer {
  height: 1.5rem;
}

.partner-logo--wiremonkey {
  height: 4rem;
}

.partner-logo:hover {
  filter: grayscale(0%);
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 1rem;
}

.text-center {
  text-align: center;
}

.bg-white {
  background-color: white;
}

.bg-yellow {
  background-color: var(--color-yellow);
}

.bg-dark {
  background-color: var(--color-dark);
}

/* Responsive */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .welcome-title {
    font-size: 2.5rem;
  }

  .page-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts-grid--featured {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .post-card--primary {
    grid-row: span 3;
  }

  .post-card--primary .post-card__link {
    display: grid;
    grid-template-rows: minmax(19rem, 1.2fr) auto;
  }

  .nav-menu {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts-grid--featured {
    gap: 1.2rem;
  }

  .home-about-layout {
    grid-template-columns: auto minmax(0, 36rem);
    gap: 4rem;
    justify-content: center;
  }

  .home-about-media {
    justify-content: center;
  }

  .home-about-copy {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-logo {
    display: none;
  }

  .nav-logo {
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 8rem);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-container {
    justify-content: space-between;
  }

  .related-post-card {
    grid-template-columns: 1fr;
  }

  .related-post-image {
    width: 100%;
    height: 200px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    height: auto;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.98), rgba(39, 39, 39, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem) scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-menu li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav-menu a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
  }

  body.nav-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.nav-open .nav-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  body.nav-open .nav-menu li:nth-child(1) {
    transition-delay: 0.04s;
  }

  body.nav-open .nav-menu li:nth-child(2) {
    transition-delay: 0.08s;
  }

  body.nav-open .nav-menu li:nth-child(3) {
    transition-delay: 0.12s;
  }

  body.nav-open .nav-menu li:nth-child(4) {
    transition-delay: 0.16s;
  }

  body.nav-open .nav-menu li:nth-child(5) {
    transition-delay: 0.2s;
  }

  .newsletter-form__row {
    flex-direction: column;
  }

  .newsletter-form__button {
    width: 100%;
  }

  .partner-logos {
    flex-direction: column;
    overflow-x: visible;
    gap: 1.5rem;
  }

  .partner-logos__item {
    width: 100%;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* WordPress Core Styles */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: rgba(45, 45, 45, 0.6);
  margin-top: 0.5rem;
  text-align: center;
}

.sticky {
  outline: 2px solid rgba(51, 122, 183, 0.18);
  outline-offset: 0.25rem;
}

.bypostauthor {
  font-weight: inherit;
}

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
