:root {
  --navy: #0c1731;
  --navy-2: #10233a;
  --blue: #174d94;
  --green: #41785d;
  --green-soft: #eaf2ed;
  --gold: #c9ad79;
  --beige: #ebe4d7;
  --ink: #101d35;
  --muted: #647087;
  --line: rgba(16, 29, 53, 0.12);
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(12, 23, 49, 0.11);
  --shadow-soft: 0 12px 35px rgba(12, 23, 49, 0.08);
  --radius: 8px;
  --rail-width: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 80% 0%, rgba(64, 120, 93, 0.1), transparent 32rem),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #f7f9fb 100%);
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
}

h1,
.article-header h1,
.blog-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 22px;
  z-index: 50;
  width: min(1120px, calc(100% - 48px));
  min-height: 70px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo--full {
  width: 190px;
  height: 42px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(12, 23, 49, 0.82);
  border-right-color: transparent;
  border-radius: 50%;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.brand--header {
  margin-right: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.top-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  margin: auto;
  background: var(--green);
  transition: width 0.2s ease;
}

.top-nav a:hover::after,
.top-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(12, 23, 49, 0.18);
}

.btn--ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

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

.btn--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
}

.mobile-panel {
  position: fixed;
  top: 102px;
  right: 24px;
  z-index: 55;
  width: min(300px, calc(100% - 48px));
  display: none;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mobile-panel.is-open {
  display: grid;
}

.mobile-panel a {
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 700;
}

.mobile-panel a.is-active,
.mobile-panel a:hover {
  background: var(--green-soft);
}

.side-rail {
  position: fixed;
  top: 18px;
  bottom: 28px;
  left: 22px;
  z-index: 45;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.brand--rail {
  flex-direction: column;
  gap: 5px;
}

.rail-logo-crop {
  width: 58px;
  height: 46px;
  overflow: hidden;
  display: block;
  border-radius: 6px;
  background: var(--white);
}

.rail-logo-crop img {
  width: 210px;
  height: 46px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.brand--rail .brand-mark {
  width: 46px;
  height: 46px;
  font-size: 18px;
}

.brand--rail small {
  font-size: 10px;
  color: var(--navy);
  text-align: center;
}

.rail-nav {
  width: 100%;
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.rail-nav a {
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.rail-nav a.is-active,
.rail-nav a:hover {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 13px 28px rgba(12, 23, 49, 0.22);
}

.rail-bottom {
  width: 100%;
  display: grid;
  place-items: center;
  gap: 16px;
  margin-top: auto;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-row a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

.social-row--rail a {
  width: auto;
  height: auto;
  border: 0;
  color: var(--navy);
}

.theme-toggle {
  width: 50px;
  height: 20px;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: #e9eef4;
  cursor: pointer;
}

.theme-toggle span {
  width: 16px;
  height: 16px;
  display: block;
  margin-left: auto;
  border-radius: 50%;
  background: var(--navy);
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto 0;
  padding-left: 0;
}

.home-hero,
.blog-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.84) 47%, rgba(248, 250, 252, 0.2) 100%),
    url("../img/blog-hero-doctor.png") center right / contain no-repeat;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.86) 44%, rgba(248, 250, 252, 0.25) 100%),
    linear-gradient(180deg, #eff6fb, #ffffff);
}

.hero-copy,
.blog-hero-copy {
  position: relative;
  z-index: 3;
  width: min(520px, 100%);
  padding: 72px 0 118px 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1,
.blog-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 620px;
}

.hero-copy p,
.blog-hero p {
  max-width: 480px;
  margin-top: 22px;
  color: #41506a;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-doctor {
  position: absolute;
  right: 140px;
  bottom: 0;
  z-index: 2;
  width: min(390px, 42vw);
  filter: drop-shadow(0 20px 35px rgba(12, 23, 49, 0.16));
}

.quote-card {
  position: absolute;
  right: 0;
  top: 170px;
  z-index: 4;
  width: 210px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.quote-card .icon {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.quote-card p {
  margin: 24px 0;
  color: #35445d;
}

.quote-card strong,
.quote-card span {
  display: block;
  font-size: 13px;
}

.quote-card span {
  margin-top: 5px;
  color: var(--muted);
}

.hero-stats {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 46px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 29, 53, 0.1);
}

.hero-stats div {
  display: grid;
  gap: 3px;
}

.hero-stats strong {
  color: var(--navy);
  font-size: 18px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
}

.about-band {
  display: grid;
  grid-template-columns: 170px 1fr 240px;
  gap: 30px;
  align-items: center;
  margin: 54px 22px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.about-band img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.about-band h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.about-points {
  display: grid;
  gap: 12px;
}

.about-points span {
  display: block;
  padding: 13px 15px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--green-soft);
  font-weight: 800;
}

.section {
  padding: 54px 22px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.section-heading p {
  margin-top: 10px;
}

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

.section-heading--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-heading--split a,
.service-card a,
.blog-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.service-grid,
.preview-grid,
.topic-grid,
.food-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.blog-card,
.topic-card,
.side-card,
.food-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 220px;
  padding: 28px 24px;
}

.service-card > .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  color: #5b83e6;
}

.service-card h3,
.blog-card h3,
.blog-card h2,
.food-card h3 {
  font-size: 18px;
}

.service-card p {
  margin: 14px 0 24px;
  font-size: 14px;
}

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

.blog-card {
  position: relative;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card--small img {
  height: 150px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(65, 120, 93, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.blog-card .badge {
  position: absolute;
  left: 18px;
  top: 135px;
}

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

.card-body time {
  color: var(--muted);
  font-size: 12px;
}

.card-body h2,
.card-body h3 {
  margin-top: 10px;
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
}

.card-body p {
  min-height: 76px;
  font-size: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
}

.podcast-band {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
  margin: 58px 0 0;
  padding: 56px 70px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(12, 23, 49, 0.98), rgba(16, 35, 58, 0.94)),
    radial-gradient(circle at 80% 10%, rgba(201, 173, 121, 0.18), transparent 35rem);
  box-shadow: var(--shadow);
}

.podcast-band h2,
.podcast-band p,
.podcast-band .eyebrow {
  color: var(--white);
}

.podcast-band img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
}

.episode-list {
  display: grid;
  margin-top: 26px;
}

.episode-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 700;
}

.topic-grid {
  grid-template-columns: repeat(6, 1fr);
}

.topic-card {
  min-height: 108px;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.topic-card .icon {
  width: 34px;
  height: 34px;
  color: #5b83e6;
}

.testimonial-card {
  width: min(540px, 100%);
  margin: 0 auto;
  padding: 28px 34px;
}

.stars {
  margin-bottom: 12px;
  color: #d59638;
  letter-spacing: 3px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
  margin-top: 14px;
}

.testimonial-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 36px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

summary::after {
  content: "+";
  font-size: 24px;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 18px 18px;
  font-size: 14px;
}

.bottom-cta {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 34px 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.bottom-cta h2,
.bottom-cta p {
  color: var(--white);
}

.bottom-cta > .icon {
  width: 54px;
  height: 54px;
  color: var(--gold);
}

.blog-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
  border-radius: 0;
}

.blog-hero img {
  align-self: stretch;
  width: 48%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 18px 40px rgba(12, 23, 49, 0.14));
}

.blog-hero-copy {
  padding-bottom: 60px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(430px, 100%);
  margin-top: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.search-form input {
  width: 100%;
  height: 42px;
  border: 0;
  outline: 0;
  color: var(--navy);
  background: transparent;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 22px 44px;
}

.category-pills a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.category-pills a.is-active {
  color: var(--white);
  background: var(--navy);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 22px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 36px 0 30px;
}

.pagination a,
.pagination span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}

.pagination a.is-active {
  color: var(--white);
  background: var(--navy);
}

.newsletter {
  display: grid;
  grid-template-columns: auto 1fr minmax(300px, 420px);
  gap: 26px;
  align-items: center;
  margin: 0 22px 26px;
  padding: 32px 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 242, 237, 0.94), rgba(235, 228, 215, 0.76));
}

.newsletter > .icon {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
}

.newsletter form {
  display: flex;
  gap: 8px;
}

.newsletter input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  outline: 0;
}

.detail-shell {
  width: min(1120px, calc(100% - 48px));
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 42px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-cover {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.article-cover img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.article-cover .badge {
  position: absolute;
  left: 24px;
  bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin: 26px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta > span,
.share-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.share-list {
  margin-left: auto;
}

.share-list a,
.share-list button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.share-list button.is-copied {
  background: var(--green-soft);
}

.article-header h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 48px);
}

.article-header p {
  margin-top: 18px;
  font-size: 17px;
}

.toc-box {
  margin: 28px 0 38px;
  padding: 22px 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 242, 237, 0.72), rgba(245, 247, 250, 0.94));
}

.toc-box h2 {
  margin-bottom: 16px;
  font-size: 17px;
}

.toc-box ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-box li {
  display: flex;
  gap: 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.toc-box span,
.article-content h2 span {
  color: var(--green);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 800;
}

.article-content h2 {
  display: flex;
  gap: 22px;
  align-items: baseline;
  margin: 34px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
}

.article-content p {
  margin-bottom: 14px;
}

.check-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #506077;
}

.check-list .icon {
  width: 17px;
  height: 17px;
  padding: 2px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  stroke-width: 3;
}

.food-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

.food-card {
  overflow: hidden;
}

.food-card img {
  width: 100%;
  height: 102px;
  object-fit: cover;
}

.food-card div {
  padding: 14px 14px 18px;
}

.food-card h3 {
  margin-bottom: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}

.food-card p {
  font-size: 12px;
  line-height: 1.55;
}

.note-box {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 28px 0;
  padding: 24px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 242, 237, 0.86), rgba(245, 247, 250, 0.92));
}

.note-box > .icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.8);
}

.note-box h2 {
  margin-bottom: 4px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.post-nav a {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.post-nav a:last-child {
  text-align: right;
}

.post-nav span {
  color: var(--muted);
  font-size: 13px;
}

.post-nav strong {
  color: var(--navy);
}

.article-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 22px;
}

.side-card {
  padding: 24px;
}

.side-card h2 {
  margin-bottom: 20px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
}

.author-card img {
  width: 154px;
  height: 154px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card h3 {
  font-size: 18px;
}

.author-card span {
  display: block;
  margin: 8px 0 18px;
  color: var(--muted);
}

.author-card p {
  margin-bottom: 20px;
  font-size: 14px;
}

.category-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  padding: 13px 10px;
  border-radius: 8px;
  color: var(--navy);
}

.category-list .is-active a {
  background: var(--green-soft);
}

.category-list span {
  min-width: 30px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}

.popular-list {
  display: grid;
  gap: 16px;
}

.popular-list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.popular-list img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.popular-list strong,
.popular-list small {
  display: block;
}

.popular-list strong {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
}

.popular-list small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.cta-card {
  padding: 34px 28px;
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(145deg, var(--navy), #102c34);
  box-shadow: var(--shadow);
}

.cta-card .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  color: var(--beige);
}

.cta-card h2,
.cta-card p {
  color: var(--white);
}

.cta-card h2 {
  font-size: 23px;
}

.cta-card p {
  margin: 16px 0 24px;
}

.site-footer {
  margin-top: 54px;
  padding: 46px max(42px, calc((100% - 1120px) / 2)) 24px;
  color: var(--white);
  background: linear-gradient(135deg, #0c1731, #102b39);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 52px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand--footer .brand-mark {
  color: var(--white);
  border-color: var(--white);
  border-right-color: transparent;
}

.brand-logo--footer {
  width: 210px;
  height: 54px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--white);
}

.brand--footer strong,
.brand--footer small,
.site-footer h3,
.site-footer a,
.site-footer p {
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 15px;
}

.site-footer a {
  display: block;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand--footer {
  display: inline-flex;
  margin: 0;
}

.site-footer .social-row a {
  display: grid;
  margin: 0;
}

.footer-brand .social-row {
  margin-top: 30px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a {
  display: inline;
  margin: 0 10px;
}

@media (min-width: 1320px) {
  .site-header,
  .page-shell {
    transform: translateX(32px);
  }
}

@media (max-width: 1180px) {
  .top-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .side-rail {
    display: none;
  }

  .site-header,
  .page-shell {
    width: min(100% - 32px, 1050px);
  }

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

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    min-height: 62px;
  }

  .brand--header span:not(.brand-mark) {
    display: none;
  }

  .brand-logo--full {
    width: 160px;
    height: 38px;
  }

  .hero-copy,
  .blog-hero-copy {
    padding: 54px 22px 52px;
  }

  .home-hero,
  .blog-hero {
    min-height: auto;
    display: grid;
    background: linear-gradient(180deg, #f2f7fa, #ffffff);
  }

  .hero-doctor,
  .quote-card,
  .hero-stats {
    position: static;
  }

  .hero-doctor {
    width: min(420px, 80vw);
    margin: 0 auto;
  }

  .quote-card {
    width: auto;
    margin: 18px 22px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 18px 22px 28px;
  }

  .blog-hero img {
    width: 100%;
    max-height: 360px;
  }

  .service-grid,
  .preview-grid,
  .blog-grid,
  .food-grid,
  .about-band,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-band {
    align-items: start;
  }

  .about-points {
    grid-column: span 2;
  }

  .podcast-band {
    grid-template-columns: 1fr;
    padding: 34px;
  }

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

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

  .bottom-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-shell {
    width: calc(100% - 24px);
  }

  .site-header {
    margin-top: 12px;
    padding: 10px;
  }

  .header-actions .btn {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .brand-logo--full {
    width: 148px;
    height: 36px;
  }

  .hero-copy h1,
  .blog-hero h1 {
    font-size: 38px;
  }

  .section {
    padding-inline: 0;
  }

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

  .service-grid,
  .preview-grid,
  .blog-grid,
  .food-grid,
  .faq-grid,
  .article-sidebar,
  .post-nav,
  .toc-box ol,
  .about-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-band {
    margin-inline: 0;
  }

  .about-points {
    grid-column: auto;
  }

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

  .article-cover img {
    height: 230px;
  }

  .article-meta {
    gap: 14px;
  }

  .share-list {
    width: 100%;
    margin-left: 0;
  }

  .article-content h2 {
    font-size: 25px;
  }

  .newsletter,
  .bottom-cta,
  .podcast-band {
    margin-inline: 0;
    padding: 26px 22px;
  }

  .newsletter form,
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

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