:root {
  --ink: #18352a;
  --ink-soft: #52665d;
  --forest: #164f38;
  --leaf: #2f7d53;
  --leaf-bright: #4e9b6b;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --sand: #e9e2d2;
  --sun: #f2bb4c;
  --coral: #df7656;
  --white: #ffffff;
  --danger: #b74c43;
  --shadow-sm: 0 10px 30px rgba(35, 62, 48, 0.08);
  --shadow-lg: 0 24px 70px rgba(24, 53, 42, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(242, 187, 76, 0.8);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.top-note {
  color: #eaf4ed;
  background: #0f3f2d;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.top-note .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-note span:last-child {
  color: #b9d8c4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(31, 75, 55, 0.09);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 14px 4px;
  overflow: hidden;
  color: var(--white);
  background: transparent;
  box-shadow: 0 10px 20px rgba(22, 79, 56, 0.2);
  font-size: 1.25rem;
}

.brand-mark img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: none; }

.food-thumb { position: relative; display: inline-block; width: 46px; height: 46px; flex: 0 0 auto; overflow: hidden; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; background: #edf2e9; box-shadow: 0 4px 12px rgba(22,79,56,.13); }
.food-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.food-thumb-primary { z-index: 1; }
.food-thumb-primary.is-missing { display: none; }
.empty-logo { display: inline-grid !important; width: 68px; height: 68px; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; }
.empty-logo img { width: 165%; height: 165%; max-width: none; object-fit: cover; object-position: 50% 25%; }

.brand-copy {
  line-height: 1.05;
}

.brand-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 12px 13px;
  border-radius: 999px;
  color: #395347;
  font-size: 0.91rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--forest);
  background: #e9f1e8;
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  height: 2px;
  border-radius: 10px;
  background: var(--leaf);
  content: "";
}

.guide-hero { overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 18%, rgba(244,191,83,.34), transparent 23rem), linear-gradient(135deg, #0f3929, #1e704d); }
.guide-hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; min-height: 430px; padding-block: 78px; }
.guide-hero h1 { max-width: 760px; margin: 12px 0 18px; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; }
.guide-hero p { max-width: 720px; color: #dcebe3; font-size: 1.08rem; line-height: 1.7; }
.guide-compass { display: grid; width: min(100%, 270px); aspect-ratio: 1; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 24px rgba(255,255,255,.035); font-size: 6rem; backdrop-filter: blur(12px); }
.guide-search-section { margin-top: -46px; position: relative; z-index: 2; }
.guide-search-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px; border: 1px solid var(--sand); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.guide-search-form input { min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid #d8e3dc; border-radius: 14px; font: inherit; font-size: 1rem; }
.guide-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 34px; }
.guide-suggestions button { padding: 9px 13px; border: 1px solid #d8e3dc; border-radius: 999px; color: var(--forest); background: #fff; cursor: pointer; font-weight: 700; }
.guide-summary { margin: 0 0 18px; color: var(--ink-soft); }
.guide-safety-note { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid #d99a2b; border-radius: 12px; background: #fff8e7; line-height: 1.6; }
.guide-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-bottom: 42px; }
.guide-result-card { overflow: hidden; border: 1px solid var(--sand); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.guide-result-media { position: relative; display: grid; height: 190px; place-items: center; overflow: hidden; background: #eef4ed; font-size: 4rem; }
.guide-result-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-result-body { padding: 20px; }
.guide-result-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.guide-result-heading h3 { margin: 0; font-size: 1.25rem; }
.guide-result-heading span { flex: none; padding: 5px 8px; border-radius: 999px; color: var(--forest); background: var(--mint); font-size: .72rem; font-weight: 800; }
.guide-result-body p { min-height: 52px; color: var(--ink-soft); line-height: 1.5; }
.guide-nutrient-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.guide-nutrient-chips span { padding: 5px 8px; border-radius: 8px; background: #f4f0e7; font-size: .74rem; font-weight: 700; }
.guide-result-actions { display: flex; gap: 9px; }
.guide-result-actions a { flex: 1; text-align: center; }
.guide-empty { grid-column: 1/-1; padding: 36px; border: 1px dashed #bacbbf; border-radius: 18px; background: #f8fbf8; text-align: center; }
.guide-trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.guide-trust-grid article { padding: 22px; border: 1px solid var(--sand); border-radius: 18px; background: #fff; }
.guide-trust-grid h3 { margin-top: 0; }
.site-ad-rail { position: fixed; top: 112px; z-index: 35; width: 160px; min-height: 600px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.65); }
.site-ad-rail-left { left: 10px; } .site-ad-rail-right { right: 10px; }
.site-ad-label { display: block; padding: 4px; color: #78857d; font-size: .63rem; text-align: center; text-transform: uppercase; }
@media (max-width: 1480px) { .site-ad-rail { display: none; } }

@media (max-width: 1120px) {
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border: 1px solid var(--sand); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-lg); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: .9rem; }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 13px;
  color: var(--forest);
  background: var(--paper);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: #173f30;
  background-image:
    linear-gradient(90deg, rgba(15, 50, 36, 0.95) 0%, rgba(15, 50, 36, 0.78) 47%, rgba(15, 50, 36, 0.28) 100%),
    url("../topraktan-garden-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 730px;
  padding: 86px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d3e9d8;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1,
.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 500;
}

.hero h1 em {
  color: #f5ca70;
  font-weight: inherit;
}

.hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.button-primary {
  color: #143526;
  background: #f4c564;
  box-shadow: 0 12px 28px rgba(9, 36, 25, 0.25);
}

.button-primary:hover {
  background: #ffd47d;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.button-green {
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 12px 26px rgba(22, 79, 56, 0.2);
}

.button-light {
  border-color: var(--sand);
  color: var(--forest);
  background: var(--paper);
}

.button-danger {
  color: var(--danger);
  background: #fbebe7;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 28px;
  z-index: 2;
  width: min(390px, calc(100% - 40px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: var(--white);
  background: rgba(11, 39, 27, 0.76);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 1.65rem;
}
.brand-tree-thumb { overflow: hidden; border-radius: 50%; background: #fff; }
.brand-tree-thumb img { width: 270%; height: 270%; max-width: none; transform: translate(-30%, -20%); }

.hero-card small {
  display: block;
  color: #b9d7c2;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 2px;
  font-size: 1.02rem;
}

.hero-card a {
  color: #f5ca70;
  font-weight: 800;
}

.stats-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  color: #e9f3ec;
  background: var(--forest);
}

.stats-grid {
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.stat {
  padding: 16px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: #bcd6c5;
  font-size: 0.82rem;
}

.section {
  padding: 96px 0;
}

.section-paper {
  background: var(--paper);
}

.section-forest {
  color: var(--white);
  background: var(--forest);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-title {
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  font-weight: 500;
}

.section-copy {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.section-forest .section-copy {
  color: #c4d7ca;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-forest .text-link {
  color: #f1c66b;
}

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

.food-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 74, 54, 0.11);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.food-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.food-card-link {
  display: block;
  height: 100%;
}

.food-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #e8eadf;
}

.food-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.food-card:hover .food-card-media img {
  transform: scale(1.055);
}

.food-card-media img.is-missing {
  display: none;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #17442f;
  background: rgba(241, 250, 237, 0.9);
  box-shadow: 0 4px 14px rgba(15, 52, 35, 0.13);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 800;
}

.card-badge.off-season {
  color: #695f4d;
  background: rgba(250, 247, 237, 0.88);
}

.food-card-body {
  padding: 20px;
}

.food-card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.food-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.calorie-pill {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--forest);
  background: #edf3e9;
  font-size: 0.73rem;
  font-weight: 800;
}

.food-card-description {
  min-height: 44px;
  margin: 9px 0 16px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.84rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nutrient-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0 0 16px;
}

.nutrient-row div {
  padding: 9px 6px;
  border-radius: 11px;
  text-align: center;
  background: #f4f1e8;
}

.nutrient-row strong,
.nutrient-row span {
  display: block;
}

.nutrient-row strong {
  font-size: 0.78rem;
}

.nutrient-row span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.card-action {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  color: var(--forest);
  background: #e5efe6;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.card-action:hover {
  color: var(--white);
  background: var(--forest);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.075);
}

.feature-number {
  color: #f1c66b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1;
}

.feature-card h3 {
  margin: 24px 0 8px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: #bfd0c4;
  font-size: 0.9rem;
}

.season-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  background: #1a593f;
  box-shadow: var(--shadow-lg);
}

.season-band-copy {
  padding: clamp(32px, 6vw, 64px);
}

.season-band-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.season-band-copy p {
  margin: 18px 0 0;
  color: #c5daca;
}

.season-band-list {
  min-height: 420px;
  display: grid;
  align-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 34px;
  background: #f2ba50;
}

.season-chip {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
}

.season-chip .food-thumb { width: 48px; height: 48px; }

.season-chip strong,
.season-chip small {
  display: block;
}

.season-chip small {
  color: var(--ink-soft);
}

.page-hero {
  position: relative;
  padding: 80px 0 66px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.page-hero::after {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -130px;
  top: -230px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  content: "";
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 500;
}

.page-hero p {
  max-width: 700px;
  margin: 20px 0 0;
  color: #c6d9cd;
  font-size: 1.06rem;
}

.catalog-section {
  padding: 52px 0 96px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.catalog-section.will-reveal,
.catalog-section .food-grid,
.catalog-section .food-grid.will-reveal,
.catalog-section .food-card.will-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.filter-panel {
  position: sticky;
  top: 94px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid rgba(32, 74, 55, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.search-box {
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 19px;
  height: 19px;
  color: #73867d;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-box input,
.filter-panel select,
.form-field input,
.form-field select,
.month-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9ddd3;
  border-radius: 13px;
  color: var(--ink);
  background: var(--white);
}

.search-box input {
  padding: 10px 52px 10px 44px;
}

.search-box input::-webkit-search-cancel-button {
  appearance: none;
}

.catalog-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #52665d;
  background: #edf2e9;
  transform: translateY(-50%);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.catalog-search-clear[hidden] {
  display: none;
}

.catalog-search-clear:hover {
  color: var(--white);
  background: var(--forest);
  transform: translateY(-50%) scale(1.04);
}

.catalog-search-clear svg {
  position: static;
  width: 17px;
  height: 17px;
  color: currentColor;
  transform: none;
  pointer-events: none;
}

.alphabet-filter {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(32, 74, 55, 0.11);
}

.alphabet-filter-heading {
  min-width: 142px;
  line-height: 1.25;
}

.alphabet-filter-heading strong,
.alphabet-filter-heading span {
  display: block;
}

.alphabet-filter-heading strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.alphabet-filter-heading span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.alphabet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  padding: 2px 3px 7px;
  overflow-x: visible;
  overscroll-behavior-inline: contain;
  scrollbar-color: #a9bbae transparent;
  scrollbar-width: thin;
}

.alphabet-button {
  min-width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid #d5ddd4;
  border-radius: 999px;
  color: #395347;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.alphabet-button:hover {
  border-color: #8fac99;
  color: var(--forest);
  background: #edf4ed;
  transform: translateY(-1px);
}

.alphabet-button.is-active {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 6px 15px rgba(22, 79, 56, 0.2);
}

.alphabet-button.is-empty:not(.is-active) {
  border-style: dashed;
  color: #849189;
  background: #fafbf8;
}

.filter-panel select,
.form-field input,
.form-field select,
.month-select {
  padding: 10px 13px;
}

.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.result-summary strong {
  color: var(--ink);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 24px;
  border: 1px dashed #c7cec3;
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
}

.empty-state span {
  display: block;
  margin-bottom: 10px;
  font-size: 3rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  background: rgba(7, 28, 19, 0.68);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: min(880px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(5, 24, 15, 0.34);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.24s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky;
  top: 16px;
  z-index: 3;
  float: right;
  width: 42px;
  height: 42px;
  margin: 16px 16px -58px 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 8px 20px rgba(24, 53, 42, 0.14);
}

.modal-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: #e8eee7;
}

.modal-image {
  position: relative;
  min-height: 300px;
  background: #e6e8dd;
}

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

.modal-image img.is-missing {
  display: none;
}

.modal-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.modal-intro small {
  color: var(--leaf);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-intro h2 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.modal-intro p {
  margin: 0;
  color: var(--ink-soft);
}

.modal-content {
  padding: 32px 38px 42px;
}

.modal-content h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.nutrition-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.nutrition-table div {
  padding: 14px;
  border-radius: 14px;
  background: #f2efe6;
}

.nutrition-table span,
.nutrition-table strong {
  display: block;
}

.nutrition-table span {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.nutrition-table strong {
  margin-top: 4px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding: 15px 15px 15px 38px;
  border: 1px solid #e3e3d8;
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.benefit-list li::before {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--leaf);
  content: "✓";
  font-weight: 900;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid rgba(35, 75, 56, 0.11);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.panel-head {
  padding: 24px 26px 18px;
  border-bottom: 1px solid #e8e4d9;
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.panel-head h2 {
  font-size: 2rem;
}

.panel-head h3 {
  font-size: 1.5rem;
}

.panel-head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.panel-body {
  padding: 24px 26px 28px;
}

.calculator-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  gap: 12px;
  align-items: end;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: #496055;
  font-size: 0.78rem;
  font-weight: 800;
}

.quick-adds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
}

.quick-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #dce1d7;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}
.quick-add .food-thumb { width: 26px; height: 26px; border-width: 1px; }

.quick-add:hover {
  border-color: var(--leaf);
  background: #edf4ec;
}

.meal-list {
  margin-top: 22px;
  border-top: 1px solid #e4e2d8;
}

.meal-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 13px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #ece8de;
}

.meal-row-thumb {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2efe5;
  font-size: 1.35rem;
}
.meal-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

.meal-row strong,
.meal-row small {
  display: block;
}

.meal-row small {
  color: var(--ink-soft);
}

.meal-row-calories {
  min-width: 76px;
  text-align: right;
  font-weight: 800;
}

.remove-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: var(--danger);
  background: #fbebe8;
}

.meal-empty {
  padding: 40px 14px;
  color: var(--ink-soft);
  text-align: center;
}

.totals-card {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border-radius: 24px;
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow-lg);
}

.totals-card-head {
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
}

.totals-card-head small {
  color: #bad2c2;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.total-calories {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.3rem;
  line-height: 1;
}

.total-calories span {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.88rem;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.macro-grid div {
  padding: 18px 22px;
  background: #164f38;
}

.macro-grid small,
.macro-grid strong {
  display: block;
}

.macro-grid small {
  color: #bcd1c2;
  font-size: 0.72rem;
}

.macro-grid strong {
  margin-top: 4px;
  font-size: 1.08rem;
}

.totals-actions {
  padding: 20px 22px 24px;
}

.totals-actions .button {
  width: 100%;
}

.need-calculator {
  margin-top: 28px;
}

.need-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.need-result {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.need-result.is-visible {
  display: grid;
}

.need-result div {
  padding: 18px;
  border-radius: 16px;
  background: #edf3ea;
}

.need-result small,
.need-result strong {
  display: block;
}

.need-result small {
  color: var(--ink-soft);
}

.need-result strong {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.calendar-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.month-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--sand);
  border-radius: 13px;
  color: var(--forest);
  background: var(--paper);
}

.month-nav button:hover {
  background: #eaf1e8;
}

.month-select {
  min-width: 190px;
  font-weight: 800;
}

.calendar-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.calendar-summary strong {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--forest);
  background: #e4eee4;
}

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

.calendar-column {
  overflow: hidden;
  border: 1px solid rgba(33, 76, 56, 0.11);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.calendar-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #e9e5dc;
}

.calendar-column-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.calendar-column-head span {
  min-width: 32px;
  padding: 5px 9px;
  border-radius: 999px;
  text-align: center;
  color: var(--forest);
  background: #e5eee3;
  font-size: 0.8rem;
  font-weight: 800;
}

.calendar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.calendar-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 16px;
  background: #f4f1e9;
}

.calendar-item > .food-thumb { width: 52px; height: 52px; }

.calendar-item strong,
.calendar-item small {
  display: block;
}

.calendar-item small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.calendar-note,
.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--sun);
  border-radius: 0 14px 14px 0;
  color: #5e584c;
  background: #fff5dd;
  font-size: 0.86rem;
}

.source-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #dedbcf;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.source-note a {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-page {
  padding: 34px 0 96px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.breadcrumbs a:hover {
  color: var(--leaf);
}

.breadcrumbs span[aria-hidden="true"] {
  color: #98a49d;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: hidden;
  border: 1px solid rgba(30, 74, 54, 0.11);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.detail-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #e7eadf;
}

.detail-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-visual img.is-missing {
  display: none;
}

.detail-visual-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.detail-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.detail-kicker {
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin: 8px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.detail-description {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.highlight-list span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--forest);
  background: #e7f0e6;
  font-size: 0.74rem;
  font-weight: 800;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.detail-stat {
  padding: 18px;
  border: 1px solid rgba(29, 72, 53, 0.1);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.detail-stat small,
.detail-stat strong {
  display: block;
}

.detail-stat small {
  color: var(--ink-soft);
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-stat strong {
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.detail-main,
.detail-sidebar {
  display: grid;
  gap: 24px;
}

.detail-section,
.detail-info-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(31, 73, 54, 0.1);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.detail-section h2,
.related-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.detail-section > p {
  color: var(--ink-soft);
}

.benefits-detailed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-detailed {
  position: relative;
  min-height: 104px;
  padding: 18px 18px 18px 50px;
  border-radius: 17px;
  color: var(--ink-soft);
  background: #f2f2e8;
  font-size: 0.86rem;
}

.benefit-detailed::before {
  position: absolute;
  left: 17px;
  top: 17px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #e3e2d8;
  border-radius: 17px;
}

.detail-nutrition-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.detail-nutrition-table th,
.detail-nutrition-table td {
  padding: 14px 17px;
  border-bottom: 1px solid #e7e5dc;
  text-align: left;
}

.detail-nutrition-table th {
  color: #f1f6f2;
  background: var(--forest);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-nutrition-table td {
  font-size: 0.86rem;
}

.detail-nutrition-table td:nth-child(n + 2) {
  font-weight: 750;
}

.detail-nutrition-table tr:last-child td {
  border-bottom: 0;
}

.detail-nutrition-table tbody tr:nth-child(even) {
  background: #f7f5ed;
}

.detail-nutrition-table .nutrient-group-row th {
  padding: 11px 17px;
  color: var(--forest);
  background: #eaf2e9;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.detail-info-card {
  padding: 26px;
}

.detail-info-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #e6eee4;
  font-size: 1.45rem;
}

.detail-info-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.detail-info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.portion-card {
  color: var(--white);
  background: var(--forest);
}

.portion-card .detail-info-icon {
  background: rgba(255, 255, 255, 0.1);
}

.portion-card p,
.portion-card small {
  color: #c1d5c7;
}

.portion-calories {
  display: block;
  margin: 12px 0 5px;
  color: #f3c767;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.related-section {
  margin-top: 70px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(31, 73, 54, 0.1);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.related-card > .food-thumb {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f1efe6;
}

.related-card strong,
.related-card small {
  display: block;
}

.related-card small {
  color: var(--ink-soft);
}

.site-footer {
  color: #c5d6cb;
  background: #0e3425;
}
.footer-full-logo { display: block; width: 190px; max-width: 100%; margin: -26px 0 -18px; filter: brightness(1.18); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 60px;
  padding: 66px 0 48px;
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: #9fc0ab;
}

.footer-description {
  max-width: 430px;
  margin: 18px 0 0;
  color: #a9c2b2;
  font-size: 0.88rem;
}

.footer-column h3 {
  margin: 0 0 15px;
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #b8cdbf;
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: #f1c66b;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #8fb09a;
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 360px;
  padding: 13px 16px;
  border-radius: 14px;
  color: var(--white);
  background: #153f2f;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: 0.82rem;
  }

  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .need-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .need-form .button {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .top-note span:last-child {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--sand);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .guide-hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 64px 94px; }
  .guide-compass { display: none; }
  .guide-results-grid, .guide-trust-grid { grid-template-columns: 1fr; }
  .guide-search-form { grid-template-columns: 1fr; }

  .hero {
    min-height: 600px;
    background-image:
      linear-gradient(90deg, rgba(15, 50, 36, 0.94), rgba(15, 50, 36, 0.61)),
      url("../topraktan-garden-hero.webp");
  }

  .hero-inner {
    padding: 72px 0 140px;
  }

  .hero-card {
    right: 20px;
    left: 20px;
    width: auto;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .season-band {
    grid-template-columns: 1fr;
  }

  .season-band-list {
    min-height: 0;
  }

  .filter-panel {
    top: 88px;
    grid-template-columns: 1fr 1fr;
  }

  .filter-panel .search-box {
    grid-column: 1 / -1;
  }

  .alphabet-filter {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .alphabet-filter-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
  }

  .alphabet-filter-heading span {
    margin-top: 0;
  }

  .alphabet-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .modal-hero {
    grid-template-columns: 1fr;
  }

  .modal-image {
    min-height: 240px;
  }

  .modal-intro {
    padding: 30px;
  }

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

  .benefit-list {
    grid-template-columns: 1fr;
  }

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

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-visual {
    min-height: 400px;
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

  .totals-card {
    position: static;
  }

  .calendar-columns {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .top-note .container {
    min-height: 38px;
    font-size: 0.69rem;
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand-copy strong {
    font-size: 1.04rem;
  }

  .brand-copy small {
    font-size: 0.59rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .hero-card {
    grid-template-columns: auto 1fr;
  }

  .hero-card a {
    display: none;
  }

  .stats-grid {
    min-height: 0;
  }

  .stat {
    padding: 20px 16px;
  }

  .stat strong {
    font-size: 1.7rem;
  }

  .section {
    padding: 62px 0;
  }

  .food-grid {
    grid-template-columns: 1fr;
  }

  .food-card-media {
    height: 240px;
  }

  .detail-page {
    padding-top: 20px;
  }

  .detail-visual {
    min-height: 300px;
  }

  .detail-hero-copy {
    padding: 28px 22px 32px;
  }

  .detail-hero h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .detail-actions .button {
    width: 100%;
  }

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

  .benefits-detailed {
    grid-template-columns: 1fr;
  }

  .season-band-list {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .page-hero {
    padding: 60px 0 52px;
  }

  .filter-panel {
    position: static;
    grid-template-columns: 1fr;
  }

  .filter-panel .search-box {
    grid-column: auto;
  }

  .modal {
    padding: 10px;
  }

  .modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .modal-content {
    padding: 26px 22px 32px;
  }

  .calculator-form {
    grid-template-columns: 1fr;
  }

  .calculator-form .button {
    width: 100%;
  }

  .panel-head,
  .panel-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .meal-row {
    grid-template-columns: auto 1fr auto;
  }

  .meal-row-calories {
    grid-column: 2;
    text-align: left;
  }

  .remove-button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .need-form {
    grid-template-columns: 1fr;
  }

  .need-form .button {
    grid-column: auto;
    width: 100%;
  }

  .need-result {
    grid-template-columns: 1fr;
  }

  .calendar-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .month-nav {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
  }

  .month-select {
    min-width: 0;
  }

  .calendar-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .top-note,
  .site-header,
  .site-footer,
  .button,
  .filter-panel,
  .quick-adds,
  .remove-button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .panel,
  .totals-card {
    color: #000;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   Topraktan Bilgiler 4.0 — premium botanical editorial system
   -------------------------------------------------------------------------- */

:root {
  --ink: #18382b;
  --ink-deep: #0c2d21;
  --ink-soft: #5b6b62;
  --forest: #103c2b;
  --forest-deep: #09291e;
  --leaf: #397554;
  --leaf-bright: #77a56e;
  --moss: #879b55;
  --mint: #e4efe7;
  --cream: #f3f0e7;
  --paper: #fbfaf5;
  --sand: #ded8c8;
  --sun: #d5ad54;
  --earth: #9a684b;
  --white: #ffffff;
  --shadow-sm: 0 12px 34px rgba(15, 53, 39, 0.08);
  --shadow-lg: 0 34px 90px rgba(8, 38, 27, 0.17);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
}

body.topraktan-premium {
  color: var(--ink-deep);
  background:
    radial-gradient(circle at 4% 16%, rgba(104, 139, 91, 0.09), transparent 24rem),
    radial-gradient(circle at 96% 72%, rgba(154, 104, 75, 0.07), transparent 28rem),
    var(--cream);
  font-family: "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: -0.005em;
}

body.topraktan-premium h1,
body.topraktan-premium h2,
body.topraktan-premium h3,
body.topraktan-premium .brand-copy strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.topraktan-premium .container { width: min(calc(100% - 52px), var(--container)); }
.topraktan-premium .section { padding-block: clamp(78px, 9vw, 128px); }
.topraktan-premium .section-paper { background: rgba(251, 250, 245, 0.86); }
.topraktan-premium .eyebrow { color: #507557; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }

.topraktan-premium .top-note {
  position: relative;
  z-index: 91;
  color: #dce8df;
  background: var(--forest-deep);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topraktan-premium .top-note .container { min-height: 31px; }
.topraktan-premium .top-note span:last-child { color: #9eb7a7; }

.topraktan-premium .site-header {
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(11, 48, 34, 0.09);
  background: rgba(249, 248, 242, 0.94);
  box-shadow: 0 8px 30px rgba(10, 42, 30, 0.035);
  backdrop-filter: blur(20px) saturate(130%);
}
.topraktan-premium .nav-shell { min-height: 96px; gap: 18px; }
.topraktan-premium .brand { gap: 14px; }
.topraktan-premium .brand-mark {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border: 2px solid rgba(52, 98, 58, 0.38);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 47, 33, 0.18), inset 0 0 0 4px rgba(239, 245, 235, 0.92);
}
.topraktan-premium .brand-mark img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: saturate(1.12) contrast(1.08); transform: none; }
.topraktan-premium .brand-copy strong { font-size: 1.25rem; letter-spacing: -0.025em; }
.topraktan-premium .brand-copy small { margin-top: 5px; color: #6d7c73; font-size: 0.61rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.topraktan-premium .main-nav { margin-left: auto; gap: 1px; }
.topraktan-premium .main-nav a { padding: 10px 8px; border-radius: 0; color: #40574b; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.01em; white-space: nowrap; }
.topraktan-premium .main-nav a:hover,
.topraktan-premium .main-nav a[aria-current="page"] { color: var(--forest); background: transparent; }
.topraktan-premium .main-nav a[aria-current="page"]::after { right: 8px; bottom: 3px; left: 8px; height: 2px; border-radius: 2px; background: var(--moss); }
.topraktan-premium .main-nav a:first-child { display: block; }
.site-search-trigger {
  order: 3;
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #d2d8cf;
  border-radius: 999px;
  color: var(--forest);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.site-search-trigger:hover { border-color: var(--forest); color: #fff; background: var(--forest); }
.site-search-trigger svg { width: 17px; height: 17px; }

.premium-hero {
  position: relative;
  min-height: min(780px, calc(100vh - 113px));
  overflow: hidden;
  color: #fff;
  background: #102d22 url("../topraktan-garden-hero.webp") center / cover no-repeat;
}
.premium-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 25, 18, 0.9) 0%, rgba(5, 28, 20, 0.73) 37%, rgba(5, 29, 20, 0.26) 68%, rgba(5, 29, 20, 0.08) 100%);
}
.premium-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}
.premium-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(780px, calc(100vh - 113px));
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: end;
  padding-block: clamp(90px, 12vh, 150px) clamp(84px, 11vh, 130px);
}
.premium-hero-copy { max-width: 760px; }
.hero-overline { display: inline-flex; align-items: center; gap: 12px; color: #dfeadc; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase; }
.hero-overline i { width: 34px; height: 1px; background: #d4b260; }
.premium-hero h1 { max-width: 740px; margin: 20px 0 24px; font-size: clamp(3.5rem, 6.3vw, 6.9rem); line-height: 0.91; text-wrap: balance; }
.premium-hero h1 em { display: block; color: #d7bc6b; font-weight: 500; }
.premium-hero-copy > p { max-width: 690px; margin: 0 0 32px; color: #d9e5dd; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.75; }
.home-discovery {
  position: relative;
  display: grid;
  max-width: 700px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: rgba(250, 250, 244, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}
.home-discovery > svg { width: 21px; color: #41604f; }
.home-discovery > input { min-width: 0; height: 48px; border: 0; outline: 0; color: var(--ink-deep); background: transparent; font-size: 0.98rem; }
.home-discovery > button { height: 48px; padding: 0 24px; border: 0; border-radius: 10px; color: #fff; background: var(--forest); font-size: 0.8rem; font-weight: 800; }
.home-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 25;
  display: none;
  max-height: 410px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #d9ded7;
  border-radius: 18px;
  color: var(--ink-deep);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.home-search-results.is-visible { display: grid; }
.hero-query-links { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 16px; color: #c5d6ca; font-size: 0.74rem; }
.hero-query-links span { color: #95ac9d; }
.hero-query-links a { border-bottom: 1px solid rgba(255,255,255,.4); }
.hero-garden-card {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(8, 39, 28, 0.74);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}
.hero-garden-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.hero-garden-card-head span { font-family: Georgia, serif; font-size: 1.18rem; }
.hero-garden-card-head small { max-width: 120px; color: #a9c0b1; font-size: 0.65rem; line-height: 1.45; text-align: right; }
.hero-month { margin: 54px 0 4px; }
.hero-month strong { display: block; color: #d8bd6f; font: 500 clamp(2.5rem, 4vw, 4.25rem)/1 Georgia, serif; letter-spacing: -0.06em; }
.hero-month span { color: #b8cbbf; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-season-total { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.hero-season-total strong { font: 500 2.2rem Georgia, serif; }
.hero-season-total span { color: #c6d7cc; font-size: 0.76rem; }
.hero-garden-rule { height: 1px; margin: 24px 0 18px; background: rgba(255,255,255,.19); }
.hero-garden-card p { margin: 0 0 20px; color: #a9bdb0; font-size: 0.72rem; line-height: 1.65; }
.hero-garden-card > a { color: #fff; font-size: 0.77rem; font-weight: 800; }

.trust-ribbon { border-bottom: 1px solid #d8d4c7; background: #ece8db; }
.trust-ribbon-grid { display: grid; grid-template-columns: repeat(4, auto) 1fr; gap: clamp(24px, 4vw, 62px); align-items: center; min-height: 104px; }
.trust-ribbon-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.trust-ribbon-grid strong { font: 600 1.35rem Georgia, serif; }
.trust-ribbon-grid span { max-width: 90px; color: #67756d; font-size: 0.65rem; line-height: 1.3; text-transform: uppercase; }
.trust-ribbon-grid p { max-width: 320px; margin-left: auto; padding-left: 30px; border-left: 1px solid #c7c3b8; color: #526158; font-size: 0.75rem; line-height: 1.55; }

.editorial-heading { display: grid; grid-template-columns: 1.1fr 0.7fr; gap: 50px; align-items: end; margin-bottom: 46px; }
.editorial-heading h2 { max-width: 760px; margin: 12px 0 0; font-size: clamp(2.5rem, 4.7vw, 5rem); line-height: 0.98; text-wrap: balance; }
.editorial-heading > p { max-width: 520px; margin: 0 0 5px auto; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.8; }
.editorial-heading-compact { align-items: center; }
.editorial-heading-compact h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.editorial-heading-light h2 { color: #fff; }
.editorial-heading-light > p { color: #b9cdc0; }

.category-portrait-grid { display: grid; min-height: 670px; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.category-portrait { position: relative; min-height: 320px; overflow: hidden; border-radius: 3px; color: #fff; background: var(--forest); }
.category-portrait-large { grid-row: 1 / 3; }
.category-portrait:last-child { grid-column: 2 / 4; }
.category-portrait > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s cubic-bezier(.2,.65,.2,1); }
.category-portrait:hover > img { transform: scale(1.035); }
.category-portrait-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4, 30, 21, 0.88) 100%); }
.category-portrait > div { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px; }
.category-portrait small { color: #d5e0d7; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; }
.category-portrait small b { color: #e0c273; }
.category-portrait h3 { margin: 6px 0; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1; }
.category-portrait p { margin: 0; color: #d8e2db; font-size: 0.78rem; }
.category-portrait em { display: inline-block; margin-top: 16px; color: #fff; font-size: 0.72rem; font-style: normal; font-weight: 800; }

.garden-journal-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; }
.daily-food { display: grid; min-height: 510px; grid-template-columns: 1.08fr 0.92fr; overflow: hidden; border: 1px solid #dcd8cb; border-radius: 4px; background: #fff; box-shadow: var(--shadow-sm); }
.daily-food-media { position: relative; min-height: 420px; overflow: hidden; background: #dfe7dc; }
.daily-food-media > img { width: 100%; height: 100%; object-fit: cover; }
.daily-food-media > img.is-missing { display: none; }
.daily-food-media > span { position: absolute; top: 22px; left: 22px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(9, 45, 31, .83); font-size: 0.65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.daily-food-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 60px); }
.daily-food-copy > small { color: #6b7c72; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.daily-food-copy h3 { margin: 12px 0 18px; font-size: clamp(2.5rem, 4vw, 4.6rem); line-height: .92; }
.daily-food-copy > p { margin: 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.75; }
.daily-food-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0; }
.daily-food-values span { padding-top: 12px; border-top: 1px solid #deddd4; color: #718078; font-size: .66rem; }
.daily-food-values strong { display: block; color: var(--forest); font: 600 1.2rem Georgia, serif; }
.season-journal { padding: 34px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; color: #fff; background: var(--forest); }
.season-journal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.season-journal-head small { color: #a9c0b1; font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; }
.season-journal-head h3 { max-width: 330px; margin: 7px 0 0; font-size: 1.75rem; line-height: 1.05; }
.season-count-medallion { display: grid; width: 68px; height: 68px; flex: none; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #bdd0c3; font-size: .59rem; line-height: 1.2; text-align: center; }
.season-count-medallion b { display: block; color: #ddc378; font: 600 1.25rem Georgia, serif; }
.season-journal .season-band-list { margin-top: 18px; gap: 0; }
.season-journal .season-chip { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; background: transparent; }
.season-journal .season-chip:last-child { border-bottom: 0; }
.season-journal .season-chip small { color: #9eb5a6; }

.nutrient-lens-section { background: #e6e1d3; }
.nutrient-lens-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.nutrient-lens-intro h2 { margin: 13px 0 22px; font-size: clamp(2.7rem, 4.8vw, 5rem); line-height: .98; }
.nutrient-lens-intro > p { max-width: 540px; color: #5b6a61; font-size: .9rem; line-height: 1.8; }
.nutrient-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.nutrient-tabs button { padding: 10px 14px; border: 1px solid #c5c3b9; border-radius: 999px; color: #4f6056; background: transparent; font-size: .7rem; font-weight: 800; }
.nutrient-tabs button.is-active { border-color: var(--forest); color: #fff; background: var(--forest); }
.button-outline-dark { border: 1px solid #aeb6ad; color: var(--forest); background: transparent; }
.button-outline-dark:hover { color: #fff; background: var(--forest); }
.nutrient-lens-board { padding: clamp(28px, 5vw, 52px); border-radius: 4px; color: #fff; background: var(--forest-deep); box-shadow: var(--shadow-lg); }
.nutrient-lens-board-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.nutrient-lens-board-head small { color: #9bb1a3; font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.nutrient-lens-board-head h3 { max-width: 390px; margin: 0; font-size: 1.6rem; text-align: right; }
.nutrient-spotlight { display: grid; }
.nutrient-leader { display: grid; grid-template-columns: 32px auto 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.nutrient-leader:last-child { border-bottom: 0; }
.nutrient-rank { color: #718d7c; font: 600 .72rem Georgia, serif; }
.nutrient-leader .food-thumb { width: 46px; height: 46px; }
.nutrient-leader small { display: block; color: #8fa899; font-size: .62rem; }
.nutrient-leader strong { display: block; color: #fff; font-size: .88rem; }
.nutrient-leader em { color: #bcd0c3; font-size: .67rem; font-style: normal; text-align: right; }
.nutrient-leader em b { color: #e0c678; font: 600 1.25rem Georgia, serif; }
.nutrient-lens-board > p { margin: 24px 0 0; color: #839d8d; font-size: .65rem; line-height: 1.6; }

.knowledge-tools-section { color: #fff; background: var(--forest-deep); }
.knowledge-tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.knowledge-tool-card { display: grid; min-height: 245px; grid-template-columns: auto 1fr; gap: 25px; align-items: start; padding: 36px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); transition: background .25s ease; }
.knowledge-tool-card:hover { background: rgba(255,255,255,.045); }
.knowledge-tool-card > img { width: 74px; height: 74px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; object-fit: cover; }
.knowledge-tool-card small { color: #d8bd6f; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.knowledge-tool-card h3 { margin: 7px 0 10px; font-size: 2rem; }
.knowledge-tool-card p { max-width: 430px; margin: 0; color: #a9c0b1; font-size: .78rem; line-height: 1.7; }
.knowledge-tool-card em { display: inline-block; margin-top: 20px; color: #fff; font-size: .7rem; font-style: normal; font-weight: 800; }

.topraktan-premium .food-grid { gap: 22px; }
.topraktan-premium .food-card { overflow: hidden; border: 1px solid #d9d6ca; border-radius: 4px; background: #fff; box-shadow: 0 14px 45px rgba(22,54,40,.06); }
.topraktan-premium .food-card:hover { box-shadow: 0 25px 64px rgba(14,49,35,.13); transform: translateY(-4px); }
.topraktan-premium .food-card-media { aspect-ratio: 1.25 / 1; height: auto; }
.topraktan-premium .food-card-body { padding: 24px 24px 18px; }
.topraktan-premium .food-card-title-row { align-items: start; }
.topraktan-premium .food-card-title-row small { display: block; margin-bottom: 4px; color: #78867e; font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.topraktan-premium .food-card h3 { font-size: 1.7rem; }
.topraktan-premium .calorie-pill { margin-top: 4px; border: 1px solid #d5d8ce; color: var(--forest); background: transparent; }
.topraktan-premium .food-card-description { min-height: 4.8em; color: #66746c; font-size: .74rem; line-height: 1.6; }
.topraktan-premium .nutrient-row { border-top: 1px solid #ece9e0; background: transparent; }
.topraktan-premium .nutrient-row div { padding: 15px 5px 0; border-right: 0; }
.topraktan-premium .card-action { display: none; }
.food-card-actions { display: flex; align-items: center; justify-content: space-between; padding: 15px 24px 17px; border-top: 1px solid #ece9e0; color: #315f48; font-size: .68rem; font-weight: 800; }
.food-card-actions a:last-child { color: #7a6857; }

.article-card-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 20px; }
.article-card { display: flex; min-height: 490px; flex-direction: column; overflow: hidden; border: 1px solid #dcd8cc; border-radius: 4px; background: #fff; }
.article-image { height: 235px; overflow: hidden; background: #dfe5dc; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-card > div:last-child { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.article-card small { color: #7f8b83; font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.article-card h3 { margin: 11px 0 14px; font-size: 1.9rem; line-height: 1.05; }
.article-card p { margin: 0; color: #65736b; font-size: .76rem; line-height: 1.7; }
.article-card em { margin-top: auto; padding-top: 25px; color: var(--forest); font-size: .69rem; font-style: normal; font-weight: 800; }
.article-card-featured .article-image { height: 280px; }
.article-card-featured h3 { font-size: clamp(2rem,3vw,3rem); }
.center-action { display: flex; justify-content: center; margin-top: 38px; }

.source-manifesto-section { background: #ded8c9; }
.source-manifesto { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px,9vw,140px); padding-block: clamp(70px,9vw,120px); }
.source-manifesto h2 { margin: 12px 0 0; font-size: clamp(2.7rem,4.5vw,4.8rem); line-height: .98; }
.source-manifesto p { margin: 0 0 20px; color: #526158; font-size: .86rem; line-height: 1.85; }

.topraktan-premium .page-hero,
.topraktan-premium .guide-hero {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  color: #fff;
  background: #123d2c url("../topraktan-garden-hero.webp") center 54% / cover no-repeat;
}
.topraktan-premium .page-hero::before,
.topraktan-premium .guide-hero::before { content: ""; position: absolute; inset: 0; background: rgba(6,33,24,.72); }
.topraktan-premium .page-hero::after { right: auto; bottom: 0; left: 50%; width: 1px; height: 55px; background: rgba(255,255,255,.52); transform: translateX(-50%); }
.topraktan-premium .page-hero .container { position: relative; z-index: 1; display: flex; min-height: 410px; flex-direction: column; justify-content: center; padding-block: 70px 85px; }
.topraktan-premium .page-hero .eyebrow { color: #d5bf79; }
.topraktan-premium .page-hero h1 { max-width: 900px; margin: 13px 0 20px; color: #fff; font-size: clamp(3.1rem,6vw,6.4rem); line-height: .92; }
.topraktan-premium .page-hero p { max-width: 760px; color: #d5e1d9; font-size: .96rem; line-height: 1.75; }
.topraktan-premium .guide-hero-inner { position: relative; z-index: 1; }
.topraktan-premium .guide-compass { border-radius: 50%; background: rgba(8,39,28,.72); box-shadow: inset 0 0 0 24px rgba(255,255,255,.035); font-size: inherit; }
.topraktan-premium .guide-compass strong { display: grid; width: 96px; height: 96px; overflow: hidden; place-items: center; border-radius: 50%; background: #fff; }
.topraktan-premium .guide-compass strong img { width: 250%; max-width: none; transform: translate(-30%,-12%); }
.topraktan-premium .guide-compass span { color: #d9c77e; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.topraktan-premium .catalog-section { padding-block: 70px 110px; }
.topraktan-premium .filter-panel { position: sticky; top: 92px; z-index: 20; border: 1px solid #d7d7ce; border-radius: 4px; background: rgba(251,250,245,.95); box-shadow: 0 16px 38px rgba(15,51,37,.08); backdrop-filter: blur(14px); }
.topraktan-premium .alphabet-button { border-radius: 2px; }
.topraktan-premium .result-summary { margin: 32px 0 22px; }
.topraktan-premium .panel,
.topraktan-premium .totals-card,
.topraktan-premium .calendar-column,
.topraktan-premium .guide-search-form { border-radius: 4px; }
.topraktan-premium .detail-hero { border-radius: 4px; }
.topraktan-premium .detail-visual { border-radius: 2px; }
.topraktan-premium .detail-hero h1 { font-size: clamp(3.7rem,7vw,7rem); }
.topraktan-premium .detail-stat,
.topraktan-premium .detail-section,
.topraktan-premium .detail-info-card { border-radius: 4px; }

.site-search-dialog {
  width: min(760px, calc(100% - 30px));
  max-height: min(780px, calc(100vh - 40px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--ink-deep);
  background: #f8f7f1;
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.site-search-dialog::backdrop { background: rgba(4,25,18,.72); backdrop-filter: blur(6px); }
.site-search-shell { max-height: min(780px, calc(100vh - 40px)); overflow: auto; padding: clamp(24px,5vw,46px); }
.site-search-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.site-search-heading h2 { margin: 8px 0 6px; font-size: clamp(2.2rem,5vw,3.4rem); line-height: 1; }
.site-search-heading p { margin: 0; color: var(--ink-soft); font-size: .8rem; }
.site-search-heading button { width: 40px; height: 40px; flex: none; border: 1px solid #d2d5cd; border-radius: 50%; color: var(--forest); background: transparent; font-size: 1.5rem; }
.site-search-form { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 30px 0 18px; padding: 7px 16px; border: 1px solid #cfd4cc; border-radius: 4px; background: #fff; }
.site-search-form svg { width: 20px; color: #637369; }
.site-search-form input { height: 52px; border: 0; outline: 0; color: var(--ink-deep); background: transparent; font-size: .95rem; }
.site-search-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; color: #7a877f; font-size: .65rem; }
.site-search-meta strong { color: #40544a; text-transform: uppercase; letter-spacing: .1em; }
.site-search-results { display: grid; }
.site-search-result { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 5px; border-bottom: 1px solid #dedfd8; }
.site-search-result:last-child { border-bottom: 0; }
.site-search-result .food-thumb { width: 48px; height: 48px; }
.site-search-result small,
.site-search-result strong,
.site-search-result em { display: block; }
.site-search-result small { color: #7d8b83; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.site-search-result strong { margin: 2px 0; font: 600 1.05rem Georgia, serif; }
.site-search-result em { color: #6b796f; font-size: .65rem; font-style: normal; }
.site-search-result > b { color: #6e8174; }
.search-empty { display: grid; gap: 4px; padding: 28px 4px; color: #6d7b72; font-size: .78rem; }

.comparison-workspace-section { padding-top: 55px; }
.comparison-control-panel { padding: clamp(24px,4vw,42px); border: 1px solid #d4d4ca; border-radius: 4px; background: #fff; box-shadow: var(--shadow-sm); }
.comparison-control-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.comparison-control-heading h2 { margin: 6px 0 0; font-size: 2rem; }
.comparison-top-actions { display: flex; gap: 8px; }
.comparison-top-actions button { padding: 9px 13px; border: 1px solid #ced2ca; border-radius: 999px; color: #506258; background: transparent; font-size: .67rem; font-weight: 800; }
.comparison-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.comparison-select-grid label > span { display: flex; justify-content: space-between; margin-bottom: 7px; color: #43574c; font-size: .68rem; font-weight: 800; }
.comparison-select-grid label small { color: #8c9891; font-weight: 600; }
.comparison-select-grid select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid #cdd3cb; border-radius: 3px; color: var(--ink-deep); background: #fbfbf8; }
.comparison-summary { margin: 18px 0 0; color: #718078; font-size: .7rem; }
.comparison-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 70px; }
.comparison-food-card { overflow: hidden; border: 1px solid #d7d6cc; border-radius: 4px; background: #fff; }
.comparison-food-image { position: relative; aspect-ratio: 1.4/1; overflow: hidden; background: #dfe6dc; }
.comparison-food-image > img { width: 100%; height: 100%; object-fit: cover; }
.comparison-food-image > img.is-missing { display: none; }
.comparison-food-card > div:last-child { padding: 24px; }
.comparison-food-card small { color: #718078; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-food-card h2 { margin: 7px 0 11px; font-size: 2.1rem; }
.comparison-food-card p { min-height: 4.8em; margin: 0; color: #69766e; font-size: .72rem; line-height: 1.6; }
.comparison-card-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 15px; border-top: 1px solid #e4e4dc; color: var(--forest); font-size: .66rem; font-weight: 800; }
.comparison-data-section,
.comparison-insight-section { margin-top: 68px; }
.comparison-section-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.comparison-section-heading h2 { margin: 7px 0 0; font-size: clamp(2.4rem,4vw,4rem); }
.comparison-section-heading > p { max-width: 520px; margin: 0 0 5px auto; color: #68766e; font-size: .8rem; line-height: 1.7; }
.comparison-table-wrap { overflow-x: auto; border: 1px solid #d7d7cd; border-radius: 4px; background: #fff; }
.comparison-table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; }
.comparison-table-wrap th,
.comparison-table-wrap td { padding: 17px 20px; border-right: 1px solid #e2e2da; border-bottom: 1px solid #e2e2da; text-align: left; }
.comparison-table-wrap thead th { color: #fff; background: var(--forest); font: 600 .86rem Georgia, serif; }
.comparison-table-wrap tbody th { color: #46584e; background: #f4f3ed; font-size: .72rem; }
.comparison-table-wrap td { color: #5e6d64; font-size: .73rem; }
.comparison-table-wrap td.is-highest { color: #174c34; background: #e9f1e7; }
.comparison-table-note { color: #718078; font-size: .68rem; }
.comparison-empty { display: grid; gap: 5px; padding: 48px; border: 1px solid #d6d7ce; text-align: center; }
.comparison-insights { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ccd0c8; border-left: 1px solid #ccd0c8; }
.comparison-insights article { min-height: 170px; padding: 25px; border-right: 1px solid #ccd0c8; border-bottom: 1px solid #ccd0c8; background: #efede5; }
.comparison-insights small { color: #75837b; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.comparison-insights strong { display: block; margin: 13px 0 8px; font: 600 1.65rem Georgia, serif; }
.comparison-insights p { margin: 0; color: #647168; font-size: .7rem; line-height: 1.55; }
.comparison-insights p b { color: var(--forest); }
.comparison-notice { display: grid; grid-template-columns: .6fr 1fr auto; gap: 30px; align-items: center; margin-top: 65px; padding: 30px; border-left: 3px solid var(--moss); background: #e6e2d6; }
.comparison-notice strong { font: 600 1.45rem Georgia, serif; }
.comparison-notice p { margin: 0; color: #5f6e65; font-size: .76rem; line-height: 1.7; }
.comparison-notice a { color: var(--forest); font-size: .7rem; font-weight: 800; }

.knowledge-index-section { padding-block: 70px; color: #fff; background: var(--forest); }
.knowledge-index-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.knowledge-index-grid .eyebrow { color: #d5bd72; }
.knowledge-index-grid h2 { max-width: 720px; margin: 12px 0 0; font-size: clamp(2.4rem,4.5vw,4.5rem); line-height: 1; }
.knowledge-index-grid > p { margin: 0; color: #b9ccc0; font-size: .86rem; line-height: 1.85; }
.reading-layout { display: grid; grid-template-columns: 270px minmax(0, 820px); gap: clamp(55px,8vw,110px); align-items: start; justify-content: center; }
.reading-toc { position: sticky; top: 120px; }
.reading-toc > small { color: #7d8a82; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.reading-toc nav { display: grid; margin-top: 14px; border-top: 1px solid #d9d9d0; }
.reading-toc nav a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 15px 0; border-bottom: 1px solid #d9d9d0; color: #506158; font-size: .72rem; font-weight: 800; }
.reading-toc nav span { color: #9a775e; font-family: Georgia, serif; }
.reading-toc-note { margin-top: 28px; padding: 22px; border: 1px solid #d5d5ca; background: #eeece4; }
.reading-toc-note strong { font: 600 1.1rem Georgia, serif; }
.reading-toc-note p { color: #69776e; font-size: .7rem; line-height: 1.6; }
.reading-toc-note a { color: var(--forest); font-size: .68rem; font-weight: 800; }
.reading-content { display: grid; gap: 110px; }
.article-chapter { scroll-margin-top: 120px; }
.article-chapter header { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding-bottom: 30px; border-bottom: 1px solid #d6d6cc; }
.article-number { color: #9a775e; font: 600 1rem Georgia, serif; }
.article-chapter header small { color: #7b8880; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-chapter h2 { margin: 10px 0 18px; font-size: clamp(2.5rem,5vw,4.5rem); line-height: .98; }
.article-lead { margin: 0; color: #54645b; font: 400 1.12rem/1.7 Georgia, serif; }
.article-prose { padding: 32px 0 0 72px; }
.article-prose > p,
.article-prose > ul,
.article-prose > ol { color: #4f5f56; font-size: .89rem; line-height: 1.9; }
.article-prose h3 { margin: 38px 0 14px; font-size: 1.7rem; }
.article-prose li { margin-bottom: 10px; padding-left: 6px; }
.article-callout { margin-top: 34px; padding: 28px; border-left: 3px solid #6e8d65; background: #e8eee5; }
.article-callout-earth { border-color: #9a775e; background: #eee7df; }
.article-callout strong { font: 600 1.25rem Georgia, serif; }
.article-callout p { color: #5d6c63; font-size: .78rem; line-height: 1.7; }
.article-callout a { color: var(--forest); font-size: .7rem; font-weight: 800; }
.article-principle-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 25px 0; background: #d4d5cc; }
.article-principle-grid > div { padding: 24px; background: #f3f1e9; }
.article-principle-grid strong { font: 600 1.1rem Georgia, serif; }
.article-principle-grid p { margin: 8px 0 0; color: #68756d; font-size: .72rem; line-height: 1.6; }
.article-source-panel { display: grid; margin-top: 32px; border-top: 1px solid #d3d4ca; }
.article-source-panel > div { display: flex; justify-content: space-between; gap: 25px; padding: 17px 0; border-bottom: 1px solid #d3d4ca; font-size: .72rem; }
.article-source-panel a { color: var(--forest); font-weight: 800; }
.reading-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 55px; border: 1px solid #d1d2c8; background: #e7e3d7; }
.reading-cta h2 { margin: 9px 0 10px; font-size: clamp(2.2rem,4vw,4rem); }
.reading-cta p { color: #637168; }
.reading-cta > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }

.topraktan-premium .site-footer { color: #b8cbbf; background: #071f17; }
.topraktan-premium .footer-grid { grid-template-columns: 1.35fr .55fr .65fr .75fr; gap: 54px; padding-block: 75px 55px; }
.topraktan-premium .footer-full-logo { width: 210px; margin: -28px 0 -16px; filter: brightness(1.22); }
.topraktan-premium .footer-description { max-width: 390px; color: #90a99a; font-size: .72rem; line-height: 1.8; }
.topraktan-premium .footer-column h3 { color: #d8c27b; font-family: inherit; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.topraktan-premium .footer-column a { color: #a7bcaf; font-size: .72rem; }
.topraktan-premium .footer-bottom { border-top-color: rgba(255,255,255,.1); color: #6f8979; }

.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.will-reveal.is-revealed { opacity: 1; transform: none; }

@media (max-width: 1240px) {
  .topraktan-premium .nav-shell { min-height: 84px; }
  .topraktan-premium .menu-toggle { order: 4; display: grid; }
  .topraktan-premium .main-nav { position: absolute; top: calc(100% + 1px); right: 26px; left: 26px; order: 5; display: none; max-height: calc(100vh - 140px); overflow: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid #d5d7cf; border-radius: 4px; background: #fbfaf5; box-shadow: var(--shadow-lg); }
  .topraktan-premium .main-nav.is-open { display: flex; }
  .topraktan-premium .main-nav a,
  .topraktan-premium .main-nav a:first-child { display: block; padding: 12px 14px; font-size: .78rem; }
  .topraktan-premium .main-nav a[aria-current="page"]::after { display: none; }
  .site-search-trigger { margin-left: auto; }
  .trust-ribbon-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-ribbon-grid p { display: none; }
}

@media (max-width: 960px) {
  .premium-hero-grid { grid-template-columns: 1fr; align-items: end; gap: 48px; }
  .premium-hero { min-height: 800px; }
  .premium-hero-grid { min-height: 800px; }
  .premium-hero-shade { background: rgba(4,25,18,.68); }
  .hero-garden-card { max-width: 520px; }
  .category-portrait-grid { min-height: 0; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,340px); }
  .category-portrait-large { grid-row: auto; }
  .category-portrait:last-child { grid-column: auto; }
  .garden-journal-grid,
  .nutrient-lens-grid { grid-template-columns: 1fr; }
  .daily-food { min-height: 0; }
  .knowledge-tools-grid { grid-template-columns: 1fr; }
  .article-card-grid { grid-template-columns: 1fr 1fr; }
  .article-card-featured { grid-column: 1 / 3; }
  .source-manifesto { grid-template-columns: 1fr; }
  .comparison-cards { grid-template-columns: repeat(2,1fr); }
  .comparison-select-grid { grid-template-columns: 1fr; }
  .comparison-insights { grid-template-columns: repeat(2,1fr); }
  .comparison-notice { grid-template-columns: 1fr; }
  .reading-layout { grid-template-columns: 1fr; }
  .reading-toc { position: static; }
  .reading-toc nav { grid-template-columns: repeat(2,1fr); gap: 0 22px; }
  .knowledge-index-grid { grid-template-columns: 1fr; }
  .topraktan-premium .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .topraktan-premium .footer-library { grid-column: 2 / 4; }
}

@media (max-width: 700px) {
  .topraktan-premium .container { width: min(calc(100% - 30px), var(--container)); }
  .topraktan-premium .top-note span:last-child { display: none; }
  .topraktan-premium .brand-copy small { display: none; }
  .topraktan-premium .brand-mark { width: 58px; height: 58px; flex-basis: 58px; }
  .site-search-trigger span { display: none; }
  .site-search-trigger { width: 40px; padding: 0; }
  .premium-hero,
  .premium-hero-grid { min-height: 760px; }
  .premium-hero-grid { padding-block: 80px 60px; }
  .premium-hero h1 { font-size: clamp(3.2rem,17vw,5rem); }
  .premium-hero-copy > p { font-size: .9rem; }
  .home-discovery { grid-template-columns: auto 1fr; }
  .home-discovery > button { grid-column: 1 / 3; width: 100%; }
  .home-search-results { top: calc(100% + 8px); }
  .hero-garden-card { padding: 23px; }
  .hero-month { margin-top: 32px; }
  .trust-ribbon-grid { grid-template-columns: repeat(2,1fr); gap: 0; padding-block: 14px; }
  .trust-ribbon-grid > div { padding: 13px 10px; }
  .editorial-heading { grid-template-columns: 1fr; gap: 20px; }
  .editorial-heading > p { margin-left: 0; }
  .category-portrait-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .category-portrait { min-height: 360px; }
  .daily-food { grid-template-columns: 1fr; }
  .daily-food-media { min-height: 330px; }
  .daily-food-values { grid-template-columns: 1fr; }
  .season-journal { padding: 24px; }
  .nutrient-lens-board { padding: 26px 20px; }
  .nutrient-lens-board-head { display: block; }
  .nutrient-lens-board-head h3 { margin-top: 7px; text-align: left; }
  .nutrient-leader { grid-template-columns: 26px auto 1fr; }
  .nutrient-leader em { grid-column: 3; text-align: left; }
  .knowledge-tool-card { grid-template-columns: 1fr; }
  .article-card-grid { grid-template-columns: 1fr; }
  .article-card-featured { grid-column: auto; }
  .topraktan-premium .page-hero,
  .topraktan-premium .page-hero .container { min-height: 370px; }
  .topraktan-premium .page-hero h1 { font-size: clamp(3rem,15vw,4.8rem); }
  .topraktan-premium .filter-panel { position: static; }
  .site-search-meta { display: block; }
  .site-search-meta span { display: block; margin-top: 4px; }
  .comparison-control-heading { display: block; }
  .comparison-top-actions { margin-top: 18px; }
  .comparison-cards { grid-template-columns: 1fr; }
  .comparison-section-heading { grid-template-columns: 1fr; gap: 15px; }
  .comparison-section-heading > p { margin-left: 0; }
  .comparison-insights { grid-template-columns: 1fr; }
  .reading-toc nav { grid-template-columns: 1fr; }
  .article-chapter header { grid-template-columns: 1fr; }
  .article-prose { padding-left: 0; }
  .article-principle-grid { grid-template-columns: 1fr; }
  .article-source-panel > div { flex-direction: column; gap: 4px; }
  .reading-cta { display: block; padding: 32px 24px; }
  .reading-cta > div:last-child { margin-top: 24px; }
  .topraktan-premium .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .topraktan-premium .footer-brand,
  .topraktan-premium .footer-library { grid-column: 1 / 3; }
}

.calculator-tool-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 28px;
  border: 1px solid #d6d6cc;
  background: #f4f1e8;
}
.calculator-tool-nav a {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-right: 1px solid #d6d6cc;
  color: #385446;
  font-size: .76rem;
  font-weight: 800;
}
.calculator-tool-nav a:last-child { border-right: 0; }
.calculator-tool-nav a:hover { color: #fff; background: var(--forest); }
.calculator-tool-nav span { color: #9a775e; font: 600 .78rem Georgia, serif; }
.calculator-tool-nav a:hover span { color: #d9c27c; }
.calculator-layout,
.bmi-calculator,
.need-calculator { scroll-margin-top: 118px; }

.bmi-calculator { margin-top: 34px; overflow: hidden; }
.bmi-panel-head {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding-block: 30px;
}
.bmi-panel-head .eyebrow { display: block; margin-bottom: 8px; }
.bmi-panel-head h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1; }
.bmi-panel-head > p { max-width: 620px; margin: 0 0 4px auto; font-size: .8rem; line-height: 1.75; }
.bmi-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  padding-block: 36px;
}
.bmi-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; align-content: start; }
.bmi-form .button { grid-column: 1 / -1; min-height: 50px; margin-top: 2px; }
.bmi-form > p { grid-column: 1 / -1; margin: 3px 0 0; color: #75827a; font-size: .68rem; line-height: 1.55; }
.bmi-result-card {
  --bmi-position: 0%;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 30px;
  align-items: center;
  padding: clamp(25px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(135deg, #0a3023, #174f39);
}
.bmi-result-summary span { color: #aac2b2; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bmi-result-summary strong { display: block; margin: 7px 0 4px; color: #d9c16f; font: 500 clamp(3.8rem, 7vw, 6rem)/.9 Georgia, serif; letter-spacing: -.06em; }
.bmi-result-summary p { margin: 10px 0 0; color: #d8e5dc; font: 500 1.15rem/1.3 Georgia, serif; }
.bmi-scale { position: relative; padding-top: 19px; }
.bmi-scale-bar { display: grid; height: 10px; grid-template-columns: 18fr 25fr 20fr 37fr; overflow: hidden; border-radius: 999px; }
.bmi-scale-bar span:nth-child(1) { background: #73a7c2; }
.bmi-scale-bar span:nth-child(2) { background: #71a85d; }
.bmi-scale-bar span:nth-child(3) { background: #d5aa4f; }
.bmi-scale-bar span:nth-child(4) { background: #b9654f; }
.bmi-marker {
  position: absolute;
  top: 9px;
  left: var(--bmi-position);
  width: 3px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.22);
  opacity: 0;
  transform: translateX(-50%);
  transition: left .35s ease, opacity .2s ease;
}
.bmi-result-card.is-calculated .bmi-marker { opacity: 1; }
.bmi-scale-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; color: #d1dfd5; font-size: .59rem; }
.bmi-scale-labels span { display: grid; gap: 2px; }
.bmi-scale-labels small { color: #8eaa99; font-size: .56rem; }
.bmi-reference-range { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.bmi-reference-range span { max-width: 420px; color: #a8c0b0; font-size: .67rem; line-height: 1.5; }
.bmi-reference-range strong { flex: none; color: #fff; font: 600 1.25rem Georgia, serif; }
.bmi-disclaimer { padding: 20px 26px; border-top: 1px solid #dddcd3; color: #66746c; background: #eceae2; font-size: .68rem; line-height: 1.7; }
.bmi-disclaimer a { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .bmi-panel-head,
  .bmi-layout { grid-template-columns: 1fr; }
  .bmi-panel-head { gap: 16px; }
  .bmi-panel-head > p { margin-left: 0; }
}

@media (max-width: 650px) {
  .calculator-tool-nav { grid-template-columns: 1fr; }
  .calculator-tool-nav a { min-height: 54px; border-right: 0; border-bottom: 1px solid #d6d6cc; }
  .calculator-tool-nav a:last-child { border-bottom: 0; }
  .bmi-panel-head { padding: 24px 20px; }
  .bmi-layout { padding: 24px 20px; }
  .bmi-form { grid-template-columns: 1fr; }
  .bmi-form .button,
  .bmi-form > p { grid-column: auto; }
  .bmi-result-card { grid-template-columns: 1fr; padding: 25px 20px; }
  .bmi-reference-range { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bmi-scale-labels { font-size: .52rem; }
  .bmi-scale-labels small { display: none; }
}

/* Uzun besin adları için bütün ziyaretçi yüzeylerinde daha dengeli tipografi. */
.food-card h3,
.modal-intro h2,
.detail-hero h1,
.daily-food-copy h3,
.season-chip strong,
.nutrient-leader strong,
.guide-result-heading h3,
.comparison-food-card h2,
.comparison-insights strong,
.related-card strong,
.meal-row strong,
.calendar-item strong,
.site-search-result strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

.food-card h3,
.topraktan-premium .food-card h3 { font-size: 1.3rem; line-height: 1.12; }
.modal-intro h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; }
.detail-hero h1,
.topraktan-premium .detail-hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1; }
.daily-food-copy h3 { font-size: clamp(2.15rem, 3.4vw, 3.55rem); line-height: .98; }
.comparison-food-card h2 { font-size: 1.55rem; line-height: 1.08; }
.comparison-insights strong { font-size: 1.25rem; line-height: 1.1; }
.guide-result-heading h3 { font-size: 1.05rem; line-height: 1.15; }
.season-chip strong,
.related-card strong,
.nutrient-leader strong,
.meal-row strong,
.calendar-item strong { font-size: .8rem; line-height: 1.2; }
.detail-section h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); overflow-wrap: anywhere; text-wrap: balance; }
.site-search-result strong { font-size: .92rem; line-height: 1.18; }

@media (max-width: 650px) {
  .food-card h3,
  .topraktan-premium .food-card h3 { font-size: 1.18rem; }
  .detail-hero h1,
  .topraktan-premium .detail-hero h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .modal-intro h2 { font-size: clamp(1.9rem, 10vw, 3rem); }
}

@media print {
  .site-search-dialog,
  .comparison-control-panel,
  .comparison-top-actions { display: none !important; }
  .comparison-cards { grid-template-columns: repeat(3,1fr); }
  .comparison-table-wrap { overflow: visible; }
  .comparison-table-wrap table { min-width: 0; }
}

/* Kurumsal sayfalar ve açık rıza tercih merkezi */
.topraktan-premium .footer-grid {
  grid-template-columns: minmax(245px, 1.35fr) repeat(4, minmax(120px, .65fr));
  gap: clamp(28px, 3.7vw, 54px);
}

.footer-legal a[aria-current="page"] { color: #fff; }

.institutional-page {
  color: #18382c;
  background: #f6f4ec;
}

.institutional-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 30, 21, .95), rgba(8, 45, 31, .73)),
    url("../topraktan-garden-hero.webp") center 54% / cover no-repeat;
}

.institutional-hero::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -55%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(222, 196, 112, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(222, 196, 112, .04), 0 0 0 140px rgba(222, 196, 112, .025);
  content: "";
}

.institutional-hero-grid {
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, .55fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: center;
  padding-block: clamp(85px, 10vw, 145px);
}

.institutional-hero .eyebrow,
.contact-hero .eyebrow { color: #dec470; }
.institutional-hero h1,
.contact-hero h1,
.policy-hero h1 {
  max-width: 850px;
  margin: 15px 0 22px;
  font: 500 clamp(3.4rem, 7.8vw, 7rem)/.91 Georgia, serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.institutional-hero p,
.contact-hero p,
.policy-hero > .container > p {
  max-width: 700px;
  margin: 0;
  color: #d2e0d7;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  line-height: 1.85;
}

.institutional-emblem {
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(246, 244, 236, .92);
  box-shadow: 0 34px 90px rgba(0,0,0,.3), inset 0 0 0 18px rgba(16,75,50,.06);
}
.institutional-emblem img { width: 72%; height: 72%; object-fit: contain; }

.institutional-section { padding-block: clamp(80px, 9vw, 135px); }
.institutional-story {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: clamp(50px, 10vw, 145px);
  align-items: start;
}
.institutional-heading { position: sticky; top: 125px; }
.institutional-heading h2,
.institutional-values h2,
.institutional-offerings h2,
.contact-panel-heading h2,
.contact-info-panel h2,
.policy-content h2 {
  margin: 12px 0 0;
  color: #123d2c;
  font: 500 clamp(2.35rem, 4.7vw, 4.7rem)/.98 Georgia, serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.institutional-prose > p {
  margin: 0 0 24px;
  color: #52645b;
  font: 400 clamp(1rem, 1.35vw, 1.13rem)/1.9 Georgia, serif;
}
.institutional-prose > p:first-child::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  color: #6d8b42;
  font: 500 4.3rem/.72 Georgia, serif;
}

.institutional-values { color: #f3f5f1; background: #0b3023; }
.institutional-values .section-heading { align-items: end; }
.institutional-values h2 { color: #fff; }
.value-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.14); }
.value-card-grid article { min-height: 285px; padding: clamp(28px, 3vw, 43px); background: #0d3828; }
.value-card-grid span,
.offering-list span,
.contact-info-list span,
.policy-number { display: block; color: #d8bd68; font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.value-card-grid h3 { margin: 65px 0 13px; color: #fff; font: 500 1.65rem/1.1 Georgia, serif; }
.value-card-grid p { margin: 0; color: #a9c0b2; font-size: .78rem; line-height: 1.8; }

.institutional-offerings { background: #ece9de; }
.institutional-offerings .container { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 9vw, 125px); }
.offering-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #d3d2c8; }
.offering-list > div { min-height: 210px; padding: 30px; background: #f6f4ec; }
.offering-list strong { display: block; margin: 28px 0 8px; color: #153f2f; font: 500 1.28rem Georgia, serif; }
.offering-list p { margin: 0; color: #66766d; font-size: .74rem; line-height: 1.7; }
.institutional-cta { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding: 52px 0; }
.institutional-cta h2 { max-width: 820px; margin: 0; color: #153f2f; font: 500 clamp(2.25rem, 4.3vw, 4.2rem)/.98 Georgia, serif; letter-spacing: -.04em; }

.policy-hero,
.contact-hero { position: relative; overflow: hidden; }
.policy-hero { padding-block: clamp(85px, 10vw, 140px); background: linear-gradient(135deg, #e5e8dc, #f6f4ec 66%); }
.policy-hero::after { position: absolute; right: -110px; bottom: -170px; width: 480px; height: 480px; border: 1px solid rgba(21,63,47,.18); border-radius: 50%; content: ""; }
.policy-hero h1 { max-width: 940px; color: #123d2c; }
.policy-hero > .container > p { color: #55665d; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: #64736b; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.policy-layout-section { padding-block: clamp(70px, 8vw, 115px); }
.policy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(45px, 8vw, 115px); align-items: start; }
.policy-toc { position: sticky; top: 120px; padding: 25px; border-top: 3px solid #678742; background: #eeece3; }
.policy-toc strong { display: block; margin-bottom: 13px; color: #173d2e; font: 600 1rem Georgia, serif; }
.policy-toc a { display: block; padding: 9px 0; border-bottom: 1px solid #d6d6cd; color: #65736b; font-size: .72rem; }
.policy-toc a:hover { color: #164f38; }
.policy-content { min-width: 0; }
.policy-content > section { scroll-margin-top: 120px; padding: 0 0 58px; margin: 0 0 58px; border-bottom: 1px solid #d6d6cc; }
.policy-content h2 { margin: 9px 0 23px; font-size: clamp(2rem, 3.7vw, 3.6rem); }
.policy-content h3 { margin: 28px 0 12px; color: #214a39; font: 600 1.15rem Georgia, serif; }
.policy-content p,
.policy-list li { color: #56675e; font-size: .83rem; line-height: 1.85; }
.policy-list { padding-left: 19px; }
.policy-list li { margin-bottom: 10px; }
.policy-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 25px; background: #d5d5cc; }
.policy-card-grid > div { padding: 25px; background: #eeece3; }
.policy-card-grid strong { display: block; margin-bottom: 8px; color: #173d2e; font-family: Georgia, serif; }
.policy-card-grid p { margin: 0; font-size: .74rem; }
.policy-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #d2d3c9; }
.policy-table { width: 100%; min-width: 700px; border-collapse: collapse; background: #f9f8f3; }
.policy-table th,
.policy-table td { padding: 16px; border-bottom: 1px solid #ddddd4; vertical-align: top; color: #56675e; font-size: .7rem; line-height: 1.6; text-align: left; }
.policy-table th { color: #153f2f; background: #e7e6dc; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.policy-note { margin-top: 24px; padding: 22px; border-left: 3px solid #8ca052; background: #eceee4; }
.policy-note p { margin: 0; }
.policy-action { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 28px; background: #0e3828; }
.policy-action p { flex: 1 1 360px; margin: 0; color: #c0d1c6; }

.contact-hero { padding-block: clamp(80px, 9vw, 125px); color: #fff; background: radial-gradient(circle at 82% 30%, rgba(206,184,100,.22), transparent 25%), linear-gradient(135deg, #0b3023, #164f38); }
.contact-hero h1 { max-width: 1050px; }
.contact-section { padding-block: clamp(75px, 8vw, 120px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 1px; align-items: stretch; background: #d0d2c7; box-shadow: 0 28px 80px rgba(24,56,44,.09); }
.contact-form-panel { padding: clamp(28px, 5vw, 68px); background: #fbfaf6; }
.contact-panel-heading p { max-width: 650px; margin: 18px 0 38px; color: #66766e; font-size: .8rem; line-height: 1.75; }
.contact-panel-heading h2,
.contact-info-panel h2 { font-size: clamp(2.1rem, 3.8vw, 3.7rem); }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-form label { display: grid; gap: 8px; color: #24483a; font-size: .7rem; font-weight: 800; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cdd0c5;
  border-radius: 0;
  outline: 0;
  color: #173a2c;
  background: #fff;
  font: inherit;
  font-size: .82rem;
}
.contact-form input,
.contact-form select { min-height: 52px; padding: 0 15px; }
.contact-form textarea { min-height: 190px; padding: 15px; resize: vertical; line-height: 1.7; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: #4f7c52; box-shadow: 0 0 0 3px rgba(79,124,82,.13); }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field-wide > span { display: flex; justify-content: space-between; gap: 12px; }
.contact-field-wide small { color: #839087; font-weight: 500; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-privacy { margin: 22px 0; color: #65756c; font-size: .7rem; line-height: 1.7; }
.contact-privacy a { color: #164f38; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.contact-submit-row { display: flex; gap: 18px; align-items: center; }
.contact-submit-row span { color: #77847d; font-size: .67rem; }
.contact-status { min-height: 0; margin-top: 20px; padding: 0; color: #596a61; font-size: .75rem; line-height: 1.6; }
.contact-status.is-success,
.contact-status.is-error { min-height: 50px; padding: 15px 18px; border-left: 3px solid #5b8958; background: #e6eee4; }
.contact-status.is-error { border-color: #a4513f; color: #743527; background: #f5e9e5; }
.contact-status a { color: inherit; font-weight: 800; text-decoration: underline; }
.contact-info-panel { padding: clamp(30px, 4vw, 55px); color: #d6e2da; background: #0d3527; }
.contact-info-panel h2 { color: #fff; }
.contact-email { display: inline-block; max-width: 100%; margin: 22px 0 38px; color: #dfc574; font-size: clamp(.82rem, 1.2vw, 1rem); font-weight: 800; overflow-wrap: anywhere; }
.contact-info-list { display: grid; gap: 1px; background: rgba(255,255,255,.12); }
.contact-info-list > div { padding: 23px 0; background: #0d3527; }
.contact-info-list strong { display: block; margin: 7px 0; color: #fff; font-family: Georgia, serif; }
.contact-info-list p,
.contact-notice p { margin: 0; color: #9eb5a7; font-size: .7rem; line-height: 1.7; }
.contact-notice { margin-top: 35px; padding: 22px; border: 1px solid rgba(222,197,116,.25); }
.contact-notice strong { display: block; margin-bottom: 7px; color: #e1cb83; font-size: .75rem; }
.contact-faq { padding-block: clamp(70px, 8vw, 105px); background: #e9e7dd; }
.contact-faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 38px; background: #d0d1c8; }
.contact-faq-grid > div { padding: 30px; background: #f6f4ec; }
.contact-faq-grid strong { color: #173f30; font: 600 1.15rem Georgia, serif; }
.contact-faq-grid p { margin: 10px 0 0; color: #65756c; font-size: .73rem; line-height: 1.7; }
.contact-faq-grid a { color: #164f38; font-weight: 800; }

.cookie-consent {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin: 0 auto;
  padding: 27px 30px;
  border: 1px solid rgba(218,197,126,.36);
  color: #d8e4dc;
  background: rgba(7,31,23,.98);
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
}
.cookie-consent[hidden],
[data-consent-ad][hidden] { display: none !important; }
.cookie-consent-copy span,
.cookie-preferences header span { color: #d9c170; font-size: .61rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cookie-consent-copy h2 { margin: 5px 0 7px; color: #fff; font: 500 1.55rem/1.1 Georgia, serif; }
.cookie-consent-copy p { max-width: 720px; margin: 0; color: #a9bdb1; font-size: .7rem; line-height: 1.65; }
.cookie-consent-copy a { color: #e2cc84; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.cookie-button,
.cookie-link-button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.26); color: #f1f5f2; background: transparent; font-size: .68rem; font-weight: 800; cursor: pointer; }
.cookie-button:hover,
.cookie-button:focus-visible { border-color: #d9c170; }
.cookie-button-primary { border-color: #d9c170; color: #102f24; background: #d9c170; }
.cookie-link-button { min-height: auto; padding: 9px 7px; border: 0; color: #cbd9d0; text-decoration: underline; text-underline-offset: 3px; }
.cookie-preferences {
  width: min(calc(100% - 32px), 700px);
  max-height: min(90vh, 760px);
  padding: 0;
  border: 0;
  color: #173a2c;
  background: #f8f7f2;
  box-shadow: 0 32px 100px rgba(0,0,0,.4);
}
.cookie-preferences::backdrop { background: rgba(3,20,14,.72); backdrop-filter: blur(4px); }
.cookie-preferences-shell > header { display: flex; gap: 30px; align-items: flex-start; justify-content: space-between; padding: 30px; color: #d9e4dd; background: #0d3527; }
.cookie-preferences header h2 { margin: 6px 0; color: #fff; font: 500 2rem/1 Georgia, serif; }
.cookie-preferences header p { margin: 0; color: #a9bdb1; font-size: .7rem; line-height: 1.55; }
.cookie-preferences [data-cookie-close] { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent; font-size: 1.5rem; cursor: pointer; }
.cookie-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 25px; align-items: center; padding: 23px 30px; border-bottom: 1px solid #dbdcd3; }
.cookie-option strong { display: block; margin-bottom: 5px; color: #173d2e; font-family: Georgia, serif; }
.cookie-option p { margin: 0; color: #68776f; font-size: .68rem; line-height: 1.55; }
.cookie-option input { width: 42px; height: 22px; accent-color: #517c4b; cursor: pointer; }
.cookie-preferences-shell > footer { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 22px 30px; }
.cookie-preferences-shell > footer a { color: #164f38; font-size: .7rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cookie-preferences .cookie-button { border-color: #164f38; color: #fff; background: #164f38; }

@media (max-width: 1100px) {
  .topraktan-premium .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .topraktan-premium .footer-brand { grid-row: span 2; }
  .topraktan-premium .footer-library,
  .topraktan-premium .footer-legal { grid-column: auto; }
}

@media (max-width: 850px) {
  .institutional-hero-grid,
  .institutional-story,
  .institutional-offerings .container,
  .policy-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .institutional-emblem { width: 240px; justify-self: start; }
  .institutional-heading,
  .policy-toc { position: static; }
  .policy-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .policy-toc strong { grid-column: 1 / -1; }
  .value-card-grid,
  .contact-faq-grid { grid-template-columns: 1fr; }
  .value-card-grid article { min-height: 220px; }
  .value-card-grid h3 { margin-top: 36px; }
  .cookie-consent { grid-template-columns: 1fr; gap: 20px; }
  .cookie-consent-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .topraktan-premium .footer-grid { grid-template-columns: 1fr 1fr; }
  .topraktan-premium .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .topraktan-premium .footer-library,
  .topraktan-premium .footer-legal { grid-column: auto; }
  .institutional-hero-grid { min-height: 0; padding-block: 75px; }
  .institutional-hero h1,
  .contact-hero h1,
  .policy-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .institutional-emblem { width: 190px; }
  .offering-list,
  .policy-card-grid,
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-field-wide { grid-column: auto; }
  .institutional-cta,
  .contact-submit-row { align-items: flex-start; flex-direction: column; }
  .policy-toc { grid-template-columns: 1fr; }
  .cookie-consent { right: 10px; bottom: 10px; left: 10px; max-height: calc(100vh - 20px); overflow-y: auto; padding: 22px 20px; }
  .cookie-consent-actions { align-items: stretch; flex-direction: column; }
  .cookie-consent-actions button { width: 100%; }
  .cookie-preferences-shell > header,
  .cookie-option,
  .cookie-preferences-shell > footer { padding-right: 20px; padding-left: 20px; }
  .cookie-preferences-shell > footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 480px) {
  .topraktan-premium .footer-grid { grid-template-columns: 1fr; }
  .topraktan-premium .footer-brand,
  .topraktan-premium .footer-library,
  .topraktan-premium .footer-legal { grid-column: auto; }
}

@media print {
  .cookie-consent,
  .cookie-preferences,
  .site-ad-rail { display: none !important; }
}
