@font-face {
  font-family: "Nashra Sans";
  src: url("../fonts/noto-sans-arabic-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nashra Sans";
  src: url("../fonts/noto-sans-arabic-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nashra Editorial";
  src: url("../fonts/noto-naskh-arabic-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --forest: #0b4a3e;
  --forest-deep: #06372f;
  --forest-soft: #2c6257;
  --forest-line: #305f55;
  --clay: #bf6837;
  --clay-deep: #9a4b27;
  --clay-light: #f2d7c8;
  --sage: #afc8bc;
  --sage-light: #e8f0ec;
  --cream: #e8eee9;
  --paper: #f1f5f2;
  --paper-light: #fbfaf7;
  --white: #ffffff;
  --ink: #14221e;
  --muted: #455650;
  --line: rgba(11, 74, 62, 0.22);
  --line-strong: rgba(11, 74, 62, 0.36);
  --shadow: 0 22px 65px rgba(18, 52, 44, 0.14);
  --max-width: 1300px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper-light);
  color: var(--ink);
  font-family: "Nashra Sans", Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(18, 63, 54, 0.055) 0.55px, transparent 0.55px);
  background-size: 8px 8px;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(181, 106, 45, 0.64);
  outline-offset: 4px;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.fill-current { fill: currentColor; }
.no-stroke { stroke: none; }
.site-shell { position: relative; }

.page-width {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
}

.page-edge { padding-inline: clamp(1.5rem, 5vw, 5.5rem); }
.section-space { padding-block: clamp(6rem, 8vw, 8.5rem); }
.section-gap { padding-block: clamp(4.5rem, 6vw, 6.5rem); }

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

.skip-link {
  position: fixed;
  z-index: 300;
  top: 0.75rem;
  right: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(18px) saturate(120%);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(190px, 18vw, 235px); height: auto; }

.desktop-nav {
  display: flex;
  min-height: 78px;
  align-items: stretch;
  justify-content: center;
  gap: clamp(1.2rem, 2.6vw, 2.5rem);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #294139;
  font-size: 0.91rem;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 13px;
  width: 0;
  height: 2px;
  background: var(--clay);
  content: "";
  transform: translateX(50%);
  transition: width 200ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after { width: 30px; }

.header-tools { display: flex; align-items: center; }
.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.icon-button:hover { background: rgba(18, 63, 54, 0.075); transform: translateY(-1px); }
.icon-button svg { width: 1.65rem; height: 1.65rem; }
.menu-button, .mobile-nav { display: none; }

.hero {
  display: grid;
  grid-template-areas: "art copy";
  grid-template-columns: minmax(0, 1fr) minmax(540px, 1.02fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--paper-light);
  direction: ltr;
}

.hero-art {
  position: relative;
  grid-area: art;
  min-height: 560px;
  overflow: hidden;
  background: var(--paper);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 53%, var(--paper-light) 100%);
  content: "";
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero:hover .hero-art img { transform: scale(1.035); }

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  grid-area: copy;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 4rem;
  direction: rtl;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--clay-deep);
  font-size: 0.83rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--forest);
  font-family: "Nashra Editorial", "Nashra Sans", serif;
  font-size: clamp(3.9rem, 5.8vw, 6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-intro {
  max-width: 650px;
  margin: 1.15rem 0 1.8rem;
  color: #34453f;
  font-size: clamp(1.03rem, 1.35vw, 1.22rem);
  line-height: 1.9;
}

.search-form {
  display: flex;
  width: min(650px, 100%);
  min-height: 64px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.92);
  box-shadow: 0 14px 36px rgba(42, 48, 40, 0.09);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-form:focus-within { border-color: rgba(18, 63, 54, 0.58); box-shadow: 0 18px 46px rgba(18, 63, 54, 0.13); }
.search-form input { min-width: 0; flex: 1; padding-inline: 1.35rem; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-form input::placeholder { color: #7a817d; }
.search-form button {
  display: inline-flex;
  min-width: 108px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.search-form button:hover { background: var(--forest-deep); transform: translateX(-2px); }
.search-message { min-height: 1.3rem; margin: 0.55rem 1.2rem 0; color: var(--clay-deep); font-size: 0.8rem; }

.section-heading { max-width: 760px; margin-bottom: clamp(3.5rem, 5vw, 5rem); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > span { color: var(--clay-deep); font-size: 0.8rem; font-weight: 700; }
.section-heading h2,
.responsibility-copy h2 {
  margin: 0.3rem 0 0.8rem;
  color: var(--forest);
  font-family: "Nashra Editorial", "Nashra Sans", serif;
  font-size: clamp(2.8rem, 4.4vw, 4.3rem);
  line-height: 1.12;
}
.section-heading p { margin: 0; color: var(--muted); line-height: 1.9; }

.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.category-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0 1rem 1.55rem;
  border: 1.5px solid rgba(11, 74, 62, 0.25);
  border-radius: 28px;
  background: linear-gradient(180deg, #fffefb, #fcfbf7);
  box-shadow: 0 16px 36px rgba(18, 52, 44, 0.075);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.category-card:hover { border-color: rgba(11, 74, 62, 0.58); box-shadow: 0 24px 58px rgba(18, 52, 44, 0.14); transform: translateY(-7px); }
.category-accent { width: calc(100% - 3.2rem); height: 6px; flex: 0 0 auto; border-radius: 0 0 999px 999px; }
.category-accent.forest { background: var(--forest); }
.category-accent.clay { background: var(--clay); }
.category-eyebrow { display: grid; min-height: 3.8rem; place-items: center; color: var(--clay); font-size: 0.71rem; font-weight: 700; text-align: center; }
.category-medallion {
  position: relative;
  display: grid;
  width: min(178px, 86%);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #9db7aa;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 32%, #ffffff 0, #eff5f2 62%, #e5eee9 100%);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.24), 0 13px 26px rgba(6, 55, 47, 0.07);
}
.medallion-arc { position: absolute; z-index: 2; top: -9px; left: 21%; width: 45%; height: 26px; border-top: 4px solid var(--clay); border-radius: 50%; transform: rotate(-8deg); }
.category-symbol { position: relative; z-index: 1; width: 82%; height: 82%; overflow: visible; color: var(--forest); transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.category-card:hover .category-medallion > .category-symbol { transform: scale(1.045) rotate(-1deg); }
.category-symbol .symbol-line { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.category-symbol .symbol-fine { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.category-symbol .symbol-tiny { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.category-symbol .symbol-deep-stroke { stroke: var(--forest-deep); stroke-linecap: round; stroke-linejoin: round; }
.category-symbol .symbol-forest-stroke { stroke: var(--forest); stroke-linecap: round; stroke-linejoin: round; }
.category-symbol .symbol-clay-stroke { stroke: var(--clay); stroke-linecap: round; stroke-linejoin: round; }
.category-symbol .symbol-sage-fill { fill: var(--sage); }
.category-symbol .symbol-sage-light { fill: var(--sage-light); }
.category-symbol .symbol-clay-fill { fill: #d98558; }
.category-symbol .symbol-clay-light { fill: var(--clay-light); }
.category-symbol .symbol-paper { fill: #fffefb; }
.category-symbol .no-stroke { stroke: none; }
.category-copy { width: 100%; padding: 1.5rem 0 0; text-align: center; }
.category-card h3 { margin: 0 0 0.55rem; color: var(--ink); font-size: clamp(0.98rem, 1.25vw, 1.18rem); line-height: 1.55; }
.category-card p { min-height: 2.8rem; margin: 0; color: #52665f; font-size: 0.72rem; line-height: 1.75; }
.text-link svg, .editorial-links svg, .riddle-button svg { width: 1rem; height: 1rem; transform: rotate(180deg); transition: transform 180ms ease; }
.text-link:hover svg, .editorial-links a:hover svg { transform: rotate(180deg) translateX(4px); }

.cover-wrap { border-block: 1px solid var(--line); background: var(--paper); }
.cover-story {
  display: grid;
  grid-template-areas: "image copy";
  grid-template-columns: 1.07fr 0.93fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(44, 46, 38, 0.07);
  direction: ltr;
}
.cover-image { position: relative; grid-area: image; min-height: 480px; overflow: hidden; }
.cover-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, var(--white)); content: ""; }
.cover-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.cover-story:hover .cover-image img { transform: scale(1.025); }
.cover-copy { display: flex; grid-area: copy; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2.5rem, 4.5vw, 4.5rem); direction: rtl; }
.cover-copy h2 { margin: 0 0 1.25rem; color: var(--forest); font-family: "Nashra Editorial", "Nashra Sans", serif; font-size: clamp(2.35rem, 3.6vw, 3.85rem); line-height: 1.3; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.78rem; }
.article-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }
.cover-questions { display: flex; width: 100%; flex-wrap: wrap; margin: 1.8rem 0 1.35rem; border-block: 1px solid var(--line); }
.cover-questions a { flex: 1; min-width: 155px; padding: 0.95rem 0.7rem; color: #384740; font-size: 0.76rem; text-align: center; transition: background 180ms ease, color 180ms ease; }
.cover-questions a + a { border-inline-start: 1px solid var(--line); }
.cover-questions a:hover { background: var(--paper); color: var(--clay-deep); }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--clay-deep); font-size: 0.85rem; font-weight: 700; }

.latest-heading { margin-bottom: 3rem; }
.latest-list { max-width: 1060px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.latest-row { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 1.4rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line-strong); }
.latest-row > img { width: 148px; height: 94px; border-radius: 12px; object-fit: cover; filter: saturate(0.82); }
.article-category { color: var(--clay-deep); font-size: 0.72rem; font-weight: 700; }
.latest-row h3 { margin: 0.2rem 0 0.3rem; color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.latest-row h3 a { background-image: linear-gradient(var(--forest), var(--forest)); background-position: 100% 100%; background-repeat: no-repeat; background-size: 0 1px; transition: color 180ms ease, background-size 240ms ease; }
.latest-row:hover h3 a { color: var(--forest); background-size: 100% 1px; }
.reviewer-line { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--forest-soft); font-size: 0.69rem; }
.reviewer-line svg { width: 0.85rem; height: 0.85rem; color: var(--clay); }
.article-stats { color: var(--muted); font-size: 0.74rem; white-space: nowrap; }
.all-articles { width: fit-content; margin: 2rem auto 0; }

.most-read { position: relative; overflow: hidden; padding-block: clamp(3.8rem, 6vw, 5.5rem); background: var(--forest-deep); color: var(--white); }
.most-read::before { position: absolute; inset: 0; background-image: radial-gradient(rgba(243, 235, 221, 0.12) 0.7px, transparent 0.7px); background-size: 12px 12px; content: ""; opacity: 0.26; }
.most-read-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.section-kicker.light { color: #ddb476; }
.most-read-lead h2 { max-width: 620px; margin: 0; color: var(--white); font-family: "Nashra Editorial", "Nashra Sans", serif; font-size: clamp(2.7rem, 4.5vw, 4.5rem); line-height: 1.18; }
.most-read-lead small { display: block; margin-top: 1rem; color: rgba(255, 254, 250, 0.66); }
.popular-links { border-top: 1px solid rgba(243, 235, 221, 0.28); }
.popular-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid rgba(243, 235, 221, 0.28); transition: padding-inline 180ms ease, background 180ms ease; }
.popular-links a:hover { padding-inline: 0.65rem; background: rgba(255, 255, 255, 0.04); }
.popular-links span { font-size: 0.98rem; }
.popular-links small { color: rgba(255, 254, 250, 0.58); white-space: nowrap; }

.responsibility {
  display: grid;
  grid-template-areas: "image copy";
  grid-template-columns: 1.05fr 0.95fr;
  padding-inline: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 50px rgba(42, 44, 37, 0.07);
  direction: ltr;
}
.responsibility-image { position: relative; grid-area: image; min-height: 550px; overflow: hidden; }
.responsibility-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--paper)); content: ""; }
.responsibility-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.responsibility-copy { display: flex; grid-area: copy; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2.5rem, 4.5vw, 4.5rem); direction: rtl; }
.author-line { display: flex; align-items: center; gap: 0.85rem; margin: 0.75rem 0 1.25rem; }
.author-line img { width: 64px; height: 64px; border: 3px solid var(--white); border-radius: 50%; object-fit: cover; box-shadow: 0 8px 22px rgba(35, 40, 34, 0.14); }
.author-line div { display: flex; flex-direction: column; gap: 0.1rem; }
.author-line strong { color: var(--forest); font-size: 1.02rem; }
.author-line span { color: var(--muted); font-size: 0.77rem; }
.responsibility-text { max-width: 600px; margin: 0 0 1.45rem; color: #3d4944; line-height: 1.95; }
.evidence-grid { display: flex; width: 100%; flex-wrap: wrap; gap: 0.75rem; padding-block: 1.15rem; border-block: 1px solid var(--line-strong); }
.evidence-grid span { display: inline-flex; min-width: 145px; flex: 1; align-items: center; gap: 0.45rem; color: var(--forest); font-size: 0.74rem; white-space: nowrap; }
.evidence-grid svg { color: var(--clay-deep); }
.editorial-links { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 1.25rem; }
.editorial-links a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--clay-deep); font-size: 0.82rem; font-weight: 700; }

.medical-notice {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  margin-block: clamp(2.2rem, 4vw, 3.8rem) clamp(5rem, 7vw, 7rem);
  padding: 1.55rem 1.8rem;
  overflow: hidden;
  border: 1.5px solid rgba(18, 63, 54, 0.35);
  border-radius: 20px;
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 72%, #f1f6f3 100%);
  box-shadow: 0 14px 38px rgba(40, 46, 38, 0.07);
}
.medical-notice::after { position: absolute; inset: 0 0 0 auto; width: 5px; background: var(--clay); content: ""; }
.notice-icon { display: grid; width: 56px; height: 56px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(18, 63, 54, 0.12); border-radius: 50%; background: rgba(18, 63, 54, 0.075); color: var(--forest); font-size: 1.15rem; font-weight: 700; }
.notice-icon svg { width: 1.75rem; height: 1.75rem; }
.medical-notice > div:last-child { display: flex; min-width: 0; flex-direction: column; gap: 0.3rem; }
.medical-notice h2 { margin: 0; color: var(--forest); font-size: 1.08rem; line-height: 1.5; }
.medical-notice p { margin: 0; color: #354740; font-size: 0.96rem; line-height: 1.85; }

.weekly-riddle { padding-block: 2.6rem; background: var(--clay-deep); color: var(--white); }
.riddle-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.8rem; }
.riddle-mark { color: rgba(255, 254, 250, 0.7); font-family: "Nashra Editorial", serif; font-size: 5rem; line-height: 1; }
.riddle-inner p { margin: 0; color: #f1d8c3; font-size: 0.82rem; }
.riddle-inner h2 { margin: 0.15rem 0 0; font-size: clamp(1.2rem, 2.3vw, 1.9rem); line-height: 1.5; }
.riddle-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.6rem 1.25rem; border-radius: 999px; background: var(--white); color: var(--clay-deep); font-weight: 700; white-space: nowrap; transition: transform 180ms ease, box-shadow 180ms ease; }
.riddle-button:hover { box-shadow: 0 12px 30px rgba(64, 26, 10, 0.22); transform: translateY(-2px); }

.site-footer { padding: 4.5rem 0 1.35rem; background: var(--forest-deep); color: rgba(255, 254, 250, 0.78); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 0.8fr; gap: clamp(2.5rem, 8vw, 7rem); }
.footer-brand > img { width: 230px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { margin: 1rem 0 1.2rem; color: rgba(255, 254, 250, 0.68); }
.social-links { display: flex; gap: 0.6rem; }
.social-links a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(243, 235, 221, 0.25); border-radius: 50%; transition: border-color 180ms ease, background 180ms ease; }
.social-links a:hover { border-color: rgba(243, 235, 221, 0.55); background: rgba(255, 255, 255, 0.06); }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-nav h2 { margin: 0 0 0.5rem; color: var(--white); font-size: 0.95rem; }
.footer-nav a { color: rgba(255, 254, 250, 0.68); font-size: 0.79rem; transition: color 180ms ease, transform 180ms ease; }
.footer-nav a:hover { color: var(--white); transform: translateX(-3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.6rem; padding-top: 1.25rem; border-top: 1px solid rgba(243, 235, 221, 0.15); color: rgba(255, 254, 250, 0.54); font-size: 0.7rem; }
.footer-bottom span:last-child { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-bottom svg { width: 1rem; height: 1rem; }

.reveal { opacity: 1; transform: none; }
.has-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .header-inner { gap: 1rem; }
  .desktop-nav { gap: 1.15rem; }
  .desktop-nav a { font-size: 0.82rem; }
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr); }
  .category-grid { gap: 0.75rem; }
  .category-card { min-height: 405px; padding-inline: 0.7rem; border-radius: 23px; }
  .category-medallion { width: min(152px, 88%); }
  .category-eyebrow { font-size: 0.64rem; }
  .category-card h3 { font-size: 0.96rem; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }
  body.menu-is-open { overflow: hidden; }
  .page-width { width: min(100% - 2rem, 760px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 205px; }
  .desktop-nav, .desktop-search { display: none; }
  .header-tools { grid-column: 3; }
  .menu-button { display: inline-grid; }
  .mobile-nav { position: fixed; z-index: 95; inset: 72px 0 auto; display: block; max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; background: rgba(252, 250, 246, 0.98); opacity: 0; pointer-events: none; transition: max-height 280ms ease, opacity 200ms ease, border-color 200ms ease; }
  .mobile-nav.open { max-height: calc(100vh - 72px); border-color: var(--line); opacity: 1; pointer-events: auto; }
  html:not(.has-js) .menu-button { display: none; }
  html:not(.has-js) .mobile-nav { position: static; max-height: none; border-color: var(--line); opacity: 1; pointer-events: auto; }
  .mobile-nav .page-width { display: flex; flex-direction: column; padding-block: 1rem 1.3rem; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; border-bottom: 1px solid var(--line); color: var(--forest); }
  .mobile-nav a svg { width: 1rem; transform: rotate(180deg); }

  .hero { display: flex; min-height: 0; flex-direction: column; }
  .hero-art { min-height: min(64vw, 430px); }
  .hero-art::after { background: linear-gradient(to bottom, transparent 65%, var(--paper-light)); }
  .hero-art img { object-position: center; }
  .hero-copy { align-items: center; padding: 2rem 1.25rem 3.25rem; text-align: center; }
  .hero h1 { font-size: clamp(3.4rem, 10vw, 5.1rem); }
  .hero-intro { max-width: 620px; margin-top: 0.8rem; font-size: 1rem; }
  .search-form { max-width: 620px; }

  .section-space { padding-block: 5.8rem; }
  .section-gap { padding-block: 4.6rem; }
  .category-grid { width: calc(100% + 2rem); margin-inline: -1rem; padding: 0 1rem 1rem; display: flex; gap: 0.9rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card { width: min(78vw, 330px); min-width: min(78vw, 330px); min-height: 430px; flex: 0 0 min(78vw, 330px); padding-inline: 1rem; border-radius: 28px; transform: none; scroll-snap-align: center; }
  .category-medallion { width: 178px; }
  .category-eyebrow { font-size: 0.71rem; }
  .category-card h3 { font-size: 1.12rem; }
  .category-card:hover { transform: translateY(-4px); }

  .cover-story, .responsibility { display: flex; flex-direction: column; }
  .cover-image { min-height: min(62vw, 440px); }
  .cover-image::after, .responsibility-image::after { background: linear-gradient(to bottom, transparent 70%, var(--white)); }
  .cover-copy, .responsibility-copy { padding: 2.8rem 2rem 3.4rem; }
  .latest-row { grid-template-columns: 124px minmax(0, 1fr); }
  .latest-row > img { width: 124px; height: 88px; }
  .article-stats { grid-column: 2; }
  .most-read-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .responsibility-image { min-height: min(62vw, 430px); }
  .riddle-inner { grid-template-columns: auto minmax(0, 1fr); }
  .riddle-button { grid-column: 1 / -1; width: fit-content; margin-inline-start: auto; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-nav:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .page-width { width: calc(100% - 1.4rem); }
  .header-inner { min-height: 68px; }
  .brand img { width: 180px; }
  .icon-button { width: 42px; height: 42px; }
  .mobile-nav { inset-block-start: 68px; }
  .hero-art { min-height: 260px; }
  .hero-copy { padding-top: 1.5rem; }
  .eyebrow { font-size: 0.72rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4rem); }
  .hero-intro { margin-bottom: 1.15rem; line-height: 1.75; }
  .search-form { min-height: 58px; }
  .search-form button { min-width: 56px; width: 56px; }
  .search-form button span { display: none; }
  .search-form input { padding-inline: 0.9rem; font-size: 0.86rem; }

  .section-heading { margin-bottom: 3rem; }
  .section-heading h2, .responsibility-copy h2 { font-size: 2.75rem; }
  .category-card { min-height: 420px; }
  .cover-copy h2 { font-size: 2.35rem; }
  .cover-copy, .responsibility-copy { padding: 2.4rem 1.3rem 3rem; }
  .cover-questions { display: block; }
  .cover-questions a { display: block; width: 100%; }
  .cover-questions a + a { border-top: 1px solid var(--line); border-inline-start: 0; }

  .latest-row { grid-template-columns: 98px minmax(0, 1fr); gap: 0.85rem; }
  .latest-row > img { width: 98px; height: 78px; }
  .latest-row h3 { font-size: 0.9rem; }
  .reviewer-line { font-size: 0.62rem; }
  .article-stats { font-size: 0.67rem; }
  .most-read-lead h2 { font-size: 2.65rem; }
  .popular-links a { align-items: flex-start; flex-direction: column; gap: 0.3rem; }
  .responsibility-image { min-height: 315px; }
  .evidence-grid { display: grid; grid-template-columns: 1fr; }
  .medical-notice { grid-template-columns: 50px minmax(0, 1fr); align-items: flex-start; gap: 0.9rem; margin-block: 2.4rem 4.8rem; padding: 1.3rem 1.2rem; border-radius: 17px; }
  .notice-icon { width: 48px; height: 48px; }
  .notice-icon svg { width: 1.55rem; height: 1.55rem; }
  .medical-notice h2 { font-size: 1rem; }
  .medical-notice p { font-size: 0.9rem; line-height: 1.8; }
  .riddle-inner { grid-template-columns: 1fr; text-align: center; }
  .riddle-mark { display: none; }
  .riddle-button { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.site-header .custom-logo-link { display: inline-flex; align-items: center; }
.site-header .custom-logo { width: clamp(190px, 18vw, 235px); height: auto; }
.desktop-nav__list,
.mobile-nav__list { padding: 0; margin: 0; list-style: none; }
.desktop-nav__list { display: flex; min-height: 78px; align-items: stretch; justify-content: center; gap: clamp(1.2rem, 2.6vw, 2.5rem); }
.desktop-nav__list > li { display: flex; align-items: stretch; }
.desktop-nav__list a { position: relative; display: inline-flex; align-items: center; color: #294139; font-size: 0.91rem; white-space: nowrap; }
.desktop-nav__list a::after { position: absolute; right: 50%; bottom: 13px; width: 0; height: 2px; background: var(--clay); content: ""; transform: translateX(50%); transition: width 200ms ease; }
.desktop-nav__list a:hover::after,
.desktop-nav__list .current-menu-item > a::after,
.desktop-nav__list .current_page_item > a::after { width: 30px; }
.mobile-nav__list { display: flex; width: 100%; flex-direction: column; }
.mobile-nav__list a { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; border-bottom: 1px solid var(--line); color: var(--forest); }
.mobile-nav__list a::after { content: "←"; color: var(--clay-deep); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  right: 1rem;
  display: block;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto !important;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
}

.category-page { min-height: 70vh; }
.category-page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fbfaf7, #edf4f0); }
.category-page-hero::before { position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 74, 62, 0.09) 0.8px, transparent 0.8px); background-size: 16px 16px; content: ""; opacity: 0.22; }
.category-page-hero-inner { position: relative; display: grid; min-height: 470px; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 4rem; }
.category-page-copy { max-width: 720px; }
.breadcrumbs { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 2.2rem; color: #708079; font-size: 0.72rem; }
.breadcrumbs a:hover { color: var(--clay-deep); }
.category-page-copy h1 { margin: 0; color: var(--forest); font-family: "Nashra Editorial", "Nashra Sans", serif; font-size: clamp(4.2rem, 7vw, 7rem); line-height: 1; }
.category-page-copy > p:not(.section-kicker) { max-width: 680px; margin: 1.35rem 0 1.6rem; color: #394d45; font-size: 1.05rem; line-height: 1.95; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.topic-pills span { padding: 0.5rem 0.85rem; border: 1px solid rgba(11, 74, 62, 0.22); border-radius: 999px; background: rgba(255, 255, 255, 0.64); color: var(--forest); font-size: 0.72rem; }
.category-page-medallion { position: relative; display: grid; width: min(330px, 90%); aspect-ratio: 1; justify-self: center; place-items: center; border: 2px solid #9db7aa; border-radius: 50%; background: radial-gradient(circle at 42% 32%, #ffffff 0, #eff5f2 62%, #e5eee9 100%); box-shadow: inset 0 0 0 24px rgba(255, 255, 255, 0.28), 0 25px 60px rgba(6, 55, 47, 0.09); }
.category-page-medallion::after { position: absolute; inset: 13%; border: 1px solid rgba(11, 74, 62, 0.13); border-radius: 50%; content: ""; }
.category-page-medallion .category-symbol { z-index: 1; width: 76%; height: 76%; }
.category-page-medallion .medallion-arc { top: -5px; }
.category-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr); align-items: center; gap: 3rem; padding-block: 3.2rem; border-bottom: 1px solid var(--line); }
.category-intro > p { margin: 0; color: #334941; font-size: 1.02rem; line-height: 2; }
.category-intro > div { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.2rem; border-inline-start: 3px solid var(--clay); background: var(--white); }
.category-intro strong { color: var(--forest); font-size: 0.85rem; }
.category-intro span { color: var(--muted); font-size: 0.7rem; }
.category-articles { padding-block: clamp(5rem, 7vw, 7rem); }
.subpage-section-heading { margin-bottom: 2.5rem; }
.subpage-section-heading > span { color: var(--clay-deep); font-size: 0.76rem; font-weight: 700; }
.subpage-section-heading h2 { margin: 0.25rem 0 0; color: var(--forest); font-family: "Nashra Editorial", serif; font-size: clamp(2.6rem, 4vw, 4rem); }
.articles-page { min-height: 70vh; }
.articles-hero { padding-block: clamp(5rem, 8vw, 7.8rem) 3.8rem; border-bottom: 1px solid var(--line); text-align: center; }
.articles-hero > div { display: flex; flex-direction: column; align-items: center; }
.articles-hero h1 { margin: 0; color: var(--forest); font-family: "Nashra Editorial", "Nashra Sans", serif; font-size: clamp(4.2rem, 7vw, 7rem); line-height: 1; }
.articles-hero > div > p:not(.section-kicker) { max-width: 720px; margin: 1rem 0 2rem; color: var(--muted); line-height: 1.9; }
.article-category-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.article-category-nav a { padding: 0.55rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--forest); font-size: 0.72rem; transition: background 180ms ease, color 180ms ease; }
.article-category-nav a:hover { background: var(--forest); color: var(--white); }
.articles-index { padding-block: 4rem 6.5rem; }

.content-page { min-height: 70vh; padding-block: clamp(4.5rem, 8vw, 8rem); }
.content-page__header { max-width: 860px; margin-bottom: 3.4rem; }
.content-page__header h1 {
  margin: 0.35rem 0 0;
  color: var(--forest);
  font-family: "Nashra Editorial", "Nashra Sans", serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.15;
}
.content-page__header > p,
.archive-description { max-width: 740px; color: var(--muted); line-height: 1.9; }
.archive-description p { margin: 0; }
.compact-search { max-width: 640px; margin-top: 1.5rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
.post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.post-card:hover { border-color: rgba(18, 63, 54, 0.34); box-shadow: var(--shadow); transform: translateY(-5px); }
.post-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.84); transition: transform 500ms ease; }
.post-card:hover .post-card__image img { transform: scale(1.025); }
.post-card__content { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.post-card__content h2 { margin: 0.35rem 0 0.65rem; color: var(--forest); font-size: 1.18rem; line-height: 1.58; }
.post-card__content p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.8; }
.post-card__reviewer { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; color: var(--forest-soft); font-size: 0.7rem; }
.post-card__reviewer svg { width: 0.9rem; height: 0.9rem; color: var(--clay); }
.post-card__meta { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.71rem; }

.empty-state { max-width: 720px; padding: 2.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.empty-state h2 { margin: 0 0 0.45rem; color: var(--forest); font-family: "Nashra Editorial", "Nashra Sans", serif; font-size: 2rem; }
.empty-state p { margin: 0; color: var(--muted); }

.single-article { max-width: 960px; margin-inline: auto; }
.article-breadcrumbs { max-width: 860px; margin: 0 auto 1.5rem; overflow: hidden; white-space: nowrap; }
.article-breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.single-article__header { margin-inline: auto; text-align: center; }
.single-article__header > p { margin-inline: auto; }
.article-top-notice {
  display: flex;
  max-width: 860px;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid rgba(18, 63, 54, 0.32);
  border-radius: 14px;
  background: var(--white);
  color: #3d4944;
  font-size: 0.9rem;
  line-height: 1.85;
  text-align: start;
}
.article-top-notice svg { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; color: var(--forest); }
.single-article__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1rem; margin-top: 1.35rem; color: var(--muted); font-size: 0.8rem; }
.single-article__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.single-article__meta span + span::before { width: 4px; height: 4px; margin-inline-end: 0.3rem; border-radius: 50%; background: var(--clay); content: ""; }
.single-author { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1.45rem; text-align: start; }
.single-author img { width: 52px; height: 52px; border: 2px solid var(--white); border-radius: 50%; object-fit: cover; box-shadow: 0 7px 22px rgba(37, 38, 30, 0.12); }
.single-author div { display: flex; flex-direction: column; }
.single-author strong { color: var(--forest); font-size: 0.92rem; }
.single-author span { color: var(--muted); font-size: 0.72rem; }
.single-article__image { margin: 2.4rem 0; overflow: hidden; border-radius: 22px; }
.single-article__image img { width: 100%; height: auto; }
.article-assurance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin: 0 auto 2.8rem; border-block: 1px solid var(--line-strong); color: var(--forest); }
.article-assurance span { padding: 1rem; font-size: 0.76rem; text-align: center; }
.article-assurance span + span { border-inline-start: 1px solid var(--line); }
.single-article__body { color: #2f3c37; font-size: 1.06rem; line-height: 2.05; }
.single-article__body > * { max-width: 760px; margin-inline: auto; }
.single-article__body > .alignwide { max-width: 1040px; }
.single-article__body > .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.single-article__body a { color: var(--clay-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.single-article__body blockquote { padding: 1.1rem 1.4rem; border-inline-start: 4px solid var(--clay); border-radius: 0 14px 14px 0; background: rgba(181, 106, 45, 0.07); }
.single-article__body table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.single-article__body th,
.single-article__body td { padding: 0.75rem; border: 1px solid var(--line); text-align: start; }
.single-article__body h2,
.single-article__body h3 { color: var(--forest); font-family: "Nashra Editorial", "Nashra Sans", serif; }
.single-article__body h2 { margin-top: 3.3rem; margin-bottom: 1rem; font-size: clamp(1.85rem, 3.2vw, 2.55rem); line-height: 1.45; }
.single-article__body h3 { margin-top: 2.35rem; margin-bottom: 0.7rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.55; }
.single-article__body p,
.single-article__body li { overflow-wrap: anywhere; }
.single-article__body ul,
.single-article__body ol { padding-inline-start: 1.45rem; }
.single-article__body li::marker { color: var(--clay-deep); font-weight: 700; }
.single-article__body hr { margin-block: 3rem; border: 0; border-top: 1px solid var(--line-strong); }

/* Imported editorial components from the original medical library. */
.single-article__body .sp-box {
  position: relative;
  margin-block: 1.6rem;
  padding: 1.35rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-inline-start: 5px solid var(--forest);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 52, 44, 0.055);
}
.single-article__body .sp-box::after {
  position: absolute;
  width: 88px;
  height: 88px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: rgba(11, 74, 62, 0.08);
  content: "";
  inset: -42px auto auto -38px;
  pointer-events: none;
}
.single-article__body .sp-box > :first-child { margin-top: 0; }
.single-article__body .sp-box > :last-child { margin-bottom: 0; }
.single-article__body .sp-box-title,
.single-article__body .sp-box > p:first-child > strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--forest);
  font-size: 1rem;
}
.single-article__body .sp-box ul,
.single-article__body .sp-box ol { margin-block: 0.55rem 0; }
.single-article__body .sp-summary { border-inline-start-color: var(--forest); background: linear-gradient(135deg, #f2f7f4, #ffffff); }
.single-article__body .sp-fact { border-inline-start-color: var(--forest-soft); background: linear-gradient(135deg, #edf4f0, #ffffff); }
.single-article__body .sp-dose { border-inline-start-color: #6f9885; background: linear-gradient(135deg, #edf5f1, #ffffff); }
.single-article__body .sp-warning { border-color: rgba(191, 104, 55, 0.35); border-inline-start-color: var(--clay); background: linear-gradient(135deg, #fff6f0, #ffffff); }
.single-article__body .sp-warning::after { color: rgba(191, 104, 55, 0.11); }
.single-article__body .sp-warning > p:first-child > strong { color: var(--clay-deep); }

.single-article__body .sp-faq { margin-block: 1.6rem; }
.single-article__body .sp-faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.single-article__body .sp-faq details + details { border-top: 0; }
.single-article__body .sp-faq details:first-child { border-radius: 15px 15px 0 0; }
.single-article__body .sp-faq details:last-child { border-radius: 0 0 15px 15px; }
.single-article__body .sp-faq details:only-child { border-radius: 15px; }
.single-article__body .sp-faq summary {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.2rem;
  color: var(--forest);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.75;
  list-style: none;
}
.single-article__body .sp-faq summary::-webkit-details-marker { display: none; }
.single-article__body .sp-faq summary::after {
  position: absolute;
  top: 50%;
  left: 1.15rem;
  color: var(--clay-deep);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
}
.single-article__body .sp-faq details[open] summary::after { content: "−"; }
.single-article__body .sp-faq details p { padding: 0 1.1rem 1rem; margin: 0; color: #3d4d46; }

.single-article__body .wp-block-rank-math-toc-block {
  margin-block: 2rem 2.8rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--white);
}
.single-article__body .wp-block-rank-math-toc-block h2 { margin: 0 0 0.8rem; font-family: "Nashra Sans", Tahoma, sans-serif; font-size: 1.05rem; }
.single-article__body .wp-block-rank-math-toc-block ul { margin: 0; }
.single-article__body .wp-block-rank-math-toc-block li + li { margin-top: 0.35rem; }
.single-article__body .wp-block-rank-math-toc-block a { color: #365047; font-size: 0.84rem; text-decoration-color: rgba(154, 75, 39, 0.4); }

.single-article__body figure.wp-block-image { margin-block: 2rem; }
.single-article__body figure.wp-block-image img { width: auto; height: auto; margin-inline: auto; border-radius: 17px; }
.single-article__body figcaption { max-width: 680px; margin: 0.7rem auto 0; color: var(--muted); font-size: 0.74rem; line-height: 1.75; text-align: center; }
.single-article__body figure.wp-block-table { overflow-x: auto; border-radius: 13px; box-shadow: 0 0 0 1px var(--line); }
.single-article__body figure.wp-block-table table { margin: 0; background: var(--white); }
.single-article__body figure.wp-block-table thead { background: var(--forest); color: var(--white); }
.single-article__body figure.wp-block-table tbody tr:nth-child(even) { background: rgba(232, 240, 236, 0.48); }
.single-article__body figure.wp-block-table th,
.single-article__body figure.wp-block-table td { border-color: rgba(11, 74, 62, 0.16); vertical-align: top; }

.article-review-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 760px; margin: 3.2rem auto 0; }
.reviewer-profile,
.article-sources { padding: 1.45rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.reviewer-profile h2,
.article-sources h2 { margin: 0 0 0.8rem; color: var(--forest); font-size: 1rem; }
.reviewer-profile__identity { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-profile__identity img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.reviewer-profile__identity div { display: flex; flex-direction: column; }
.reviewer-profile__identity strong { color: var(--forest); }
.reviewer-profile__identity span { color: var(--muted); font-size: 0.72rem; }
.reviewer-profile > p,
.article-sources > p { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.75; }
.article-sources ol { padding-inline-start: 1.25rem; margin: 0; }
.article-sources li + li { margin-top: 0.45rem; }
.article-sources a { color: var(--clay-deep); font-size: 0.78rem; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 0.18em; }
.medical-disclaimer { max-width: 760px; margin: 1rem auto 0; padding: 1.35rem 1.5rem; border: 1.5px solid rgba(18, 63, 54, 0.3); border-radius: 16px; background: var(--paper); }
.medical-disclaimer strong { color: var(--forest); }
.medical-disclaimer p { margin: 0.35rem 0 0; color: #46534d; font-size: 0.82rem; line-height: 1.8; }
.related-articles { margin-top: clamp(4.5rem, 7vw, 7rem); }
.related-articles .subpage-section-heading { text-align: center; }
.related-articles .post-grid { gap: 1rem; }

.error-page { position: relative; min-height: 72vh; overflow: hidden; }
.error-page__mark { position: absolute; z-index: -1; top: 1rem; left: 0; color: rgba(18, 63, 54, 0.055); font-family: "Nashra Editorial", serif; font-size: clamp(10rem, 28vw, 24rem); line-height: 1; }
.error-home { margin-top: 1.5rem; }
.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.pagination .current { background: var(--forest); color: var(--white); }

@media (max-width: 1120px) {
  .desktop-nav__list { gap: 1.15rem; }
  .desktop-nav__list a { font-size: 0.82rem; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .desktop-nav__list { display: none; }
  .category-page-hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 2.2rem; padding-block: 4rem; text-align: center; }
  .category-page-copy { justify-self: center; }
  .breadcrumbs, .topic-pills { justify-content: center; }
  .category-page-medallion { width: 270px; grid-row: 1; }
  .category-intro { grid-template-columns: 1fr; gap: 1.3rem; }
  .article-review-panel { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-nav { inset-block-start: 118px; }
}

@media (max-width: 620px) {
	.admin-bar .mobile-nav { inset-block-start: 114px; }
  .category-page-hero-inner { padding-block: 2.8rem 3.5rem; }
  .category-page-copy h1 { font-size: 3.7rem; }
  .category-page-copy > p:not(.section-kicker) { font-size: 0.92rem; }
  .category-page-medallion { width: 210px; }
  .category-intro { padding-block: 2.4rem; }
  .category-intro > p { font-size: 0.9rem; }
  .articles-hero h1 { font-size: 3.7rem; }
  .articles-index { padding-block: 2.5rem 4.5rem; }
  .post-grid { grid-template-columns: 1fr; }
  .article-assurance { grid-template-columns: 1fr; }
  .article-assurance span + span { border-top: 1px solid var(--line); border-inline-start: 0; }
  .single-article__meta { align-items: center; flex-direction: column; }
  .single-article__meta span + span::before { display: none; }
	.single-article__body table { display: table; min-width: 620px; }
  .single-article__body { font-size: 1rem; line-height: 1.95; }
  .single-article__body h2 { margin-top: 2.75rem; font-size: 1.72rem; }
  .single-article__body h3 { font-size: 1.3rem; }
  .single-article__body .sp-box { padding: 1.15rem 1.1rem; border-radius: 15px; }
  .single-article__body .wp-block-rank-math-toc-block { padding: 1.2rem; }
}
