/*
Theme Name: Nutribase
Theme URI: https://nutribase.gr/
Author: Nutribase
Description: Responsive Nutribase dietitian website theme with editable homepage sections.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nutribase
*/

:root {
  --nb-paper: #f7f7f0;
  --nb-soft: #edf2e9;
  --nb-light: #e9efe5;
  --nb-green: #1f6549;
  --nb-deep: #173d35;
  --nb-text: #21483b;
  --nb-muted: #648076;
  --nb-line: #cad8ca;
  --nb-accent: #55916c;
  --nb-wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nb-paper);
  color: var(--nb-deep);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea { font-family: "Aptos", "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #45916b; outline-offset: 4px; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--nb-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.13;
}
h1 em, h2 em, h3 em { color: var(--nb-accent); font-weight: 400; }
.nb-wrap { width: min(var(--nb-wrap), calc(100% - 48px)); margin-inline: auto; }
.nb-eyebrow {
  margin-bottom: 16px;
  color: #4d8d69;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.5;
  text-transform: uppercase;
}
.nb-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--nb-green);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.nb-button:hover { transform: translateY(-2px); background: #174f39; color: #fff; }
.nb-button--outline { border-color: #7fa68b; background: transparent; color: #285b43; }
.nb-button--outline:hover { background: #dbe8dc; color: #21483b; }
.nb-arrow { font-size: 17px; line-height: 1; }
.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  clip: auto !important;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: #fff;
  clip-path: none;
}

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(30, 73, 59, .1);
  background: rgba(247, 247, 240, .97);
}
.site-header__inner {
  display: flex;
  width: min(1360px, calc(100% - 48px));
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: auto;
}
.site-brand { display: inline-flex; max-width: 215px; align-items: center; text-decoration: none; }
.site-brand img { display: block; width: 190px; max-height: 72px; object-fit: contain; object-position: left center; }
.site-brand__text { color: var(--nb-deep); font-family: Georgia, serif; font-size: 26px; }
.site-navigation { margin-left: auto; }
.site-navigation__list, .footer-navigation__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-navigation__list a, .footer-navigation__list a {
  color: #31584d;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: color .2s ease;
}
.site-navigation__list a:hover, .footer-navigation__list a:hover { color: #198152; }
.site-navigation__list li { position: relative; }
.site-navigation__list > li > a { display: inline-flex; min-height: 44px; align-items: center; }
.site-navigation__list ul {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--nb-line);
  border-radius: 12px;
  background: var(--nb-paper);
  box-shadow: 0 12px 28px rgba(23,61,53,.12);
}
.site-navigation__list ul ul { top: 0; right: 100%; }
.site-navigation__list ul a { display: block; padding: 12px 40px 12px 12px; line-height: 1.5; }
.site-navigation__list ul a:hover { border-radius: 6px; background: var(--nb-light); }
.site-navigation.is-enhanced .is-submenu-open > ul { display: block; }
.site-navigation ul[hidden] { display: none !important; }
.site-submenu-toggle {
  display: inline-flex;
  width: 30px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--nb-deep);
  cursor: pointer;
}
.site-submenu-toggle:hover { background: var(--nb-light); }
.site-navigation__list ul .site-submenu-toggle { position: absolute; top: 8px; right: 4px; }
.is-submenu-open > .site-submenu-toggle span { transform: rotate(180deg); }
@media (min-width: 801px) {
  .site-navigation:not(.is-enhanced) li:hover > ul,
  .site-navigation:not(.is-enhanced) li:focus-within > ul { display: block; }
}
.site-header__booking { flex-shrink: 0; min-height: 48px; padding-inline: 21px; }
.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 73, 59, .2);
  border-radius: 50%;
  background: transparent;
  color: var(--nb-deep);
  cursor: pointer;
  font-size: 20px;
}

/* Home sections */
.home-hero {
  display: grid;
  min-height: 640px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-block: 60px 78px;
}


.home-hero__copy { position: relative; z-index: 2; max-width: 660px; }
.home-hero__eyebrow { display: flex; align-items: center; gap: 13px; }
.home-hero__eyebrow::before { width: 32px; height: 1px; background: #58a67b; content: ""; }
.home-hero h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(52px, 7vw, 96px); letter-spacing: -.055em; line-height: .99; }
.home-hero__intro { max-width: 570px; margin-bottom: 0; color: #567067; font-size: 17px; line-height: 1.85; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 27px; }
.home-hero__secondary { min-height: 54px; padding: 15px 20px; color: #285b48; font-size: 13px; font-weight: 650; text-decoration: none; }
.home-hero__secondary:hover { color: #198152; }
.home-hero__facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 30px 0 0; padding-top: 17px; border-top: 1px solid rgba(30, 73, 59, .13); color: var(--nb-muted); font-size: 12px; }
.home-hero__visual { position: relative; width: 100%; max-width: 570px; margin-left: auto; padding: 0 8px 24px 20px; }
.home-hero__visual::before { position: absolute; inset: 8% 0 7% 11%; z-index: 0; border-radius: 48% 48% 18px 18px; background: #dce9db; content: ""; }
.home-hero__portrait { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: .91; border-radius: 48% 48% 18px 18px; object-fit: cover; }
.home-hero__name {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: min(280px, 70%);
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(251, 251, 245, .97);
  box-shadow: 0 16px 40px rgba(29,62,45,.12);
}
.home-hero__name strong { display: block; font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.15; }
.home-hero__name span { display: block; margin-top: 5px; color: var(--nb-muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-hero__seal {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: -2%;
  display: grid;
  width: 88px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #e2eddd;
  color: #337454;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(6deg);
}
.home-ribbon { border-block: 1px solid #d9e3d7; background: var(--nb-soft); }
.home-ribbon__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0; padding: 20px 0; list-style: none; }
.home-ribbon__list li { color: #527567; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.home-ribbon__list li + li::before { margin-right: clamp(12px, 2.5vw, 38px); color: #81a88d; content: "·"; }
.home-approach { position: relative; overflow: hidden; padding-block: 110px; background: var(--nb-deep); color: #f3f5ec; }
.home-approach::after, .home-approach::before { position: absolute; top: -90px; right: -90px; width: 440px; aspect-ratio: 1; border: 1px solid rgba(182,211,185,.15); border-radius: 50%; content: ""; }
.home-approach::after { top: -35px; right: 10px; width: 350px; }
.home-approach__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.home-approach .nb-eyebrow { color: #9ac7a8; }
.home-approach h2 { max-width: 520px; margin-bottom: 28px; color: #f3f5ec; font-size: clamp(40px, 5vw, 64px); }
.home-approach h2 em { color: #b4d6b7; }
.home-approach__link { color: #d4e7d1; font-size: 14px; font-weight: 650; text-decoration: none; }
.home-approach__copy { max-width: 660px; align-self: end; }
.home-approach__lead { margin-bottom: 18px; color: #d1dfd7; font-size: 21px; line-height: 1.75; }
.home-approach__body { color: #a9c2b6; font-size: 15px; line-height: 1.85; }
.home-approach__claim { display: flex; align-items: center; gap: 13px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #c7d9ce; font-size: 13px; }
.home-approach__claim::before { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #2a5a49; color: #b9d9bd; content: "✓"; }
.home-services { padding-block: 100px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.home-section-heading h2 { max-width: 850px; margin-bottom: 0; font-size: clamp(40px, 5vw, 58px); }
.home-section-heading__desc { max-width: 370px; margin-bottom: 6px; color: var(--nb-muted); font-size: 14px; }
.home-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nb-line); }
.home-service { display: grid; grid-template-columns: 38px 1fr; gap: 20px; padding: 28px 20px; border-bottom: 1px solid var(--nb-line); }
.home-service:nth-child(odd) { padding-left: 0; }
.home-service__number { padding-top: 4px; color: #83a291; font-family: monospace; font-size: 11px; }
.home-service__title { margin: 0 0 10px; font-size: 28px; }
.home-service__description { max-width: 520px; margin-bottom: 0; color: var(--nb-muted); font-size: 14px; line-height: 1.75; }
.home-services__cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 30px; padding: 25px 30px; border-radius: 18px; background: var(--nb-light); }
.home-services__cta p { margin: 3px 0 0; color: var(--nb-muted); font-size: 14px; }
.home-services__cta strong { color: #254f3e; font-size: 14px; }
.home-about { padding-block: 90px; background: var(--nb-light); }
.home-about__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.home-about__photo-wrap { position: relative; padding: 0 22px 22px 0; }
.home-about__photo-wrap::before { position: absolute; inset: 20px 0 0 20px; border: 1px solid #adc5b1; content: ""; }
.home-about__photo { position: relative; display: block; width: 100%; max-height: 540px; aspect-ratio: .93; object-fit: cover; }
.home-about__role { margin: 13px 0 22px; color: #4e7c65; font-size: 14px; font-weight: 700; }
.home-about__bio { max-width: 660px; color: #526f61; font-size: 15px; line-height: 1.8; }
.home-about__facts { margin-top: 28px; border-top: 1px solid #c3d2c2; }
.home-about__fact { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid #c3d2c2; }
.home-about__fact-label { color: #70907d; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.home-about__fact strong { display: block; margin-bottom: 4px; color: #285642; font-size: 13px; }
.home-about__fact p { margin: 0; color: #60796c; font-size: 13px; line-height: 1.7; }
.home-steps { padding-block: 95px; }
.home-steps__intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 40px; padding-bottom: 25px; border-bottom: 1px solid var(--nb-line); }
.home-steps__intro h2 { margin: 0; font-size: clamp(38px, 4.6vw, 54px); }
.home-steps__intro > p { max-width: 520px; margin: 0; color: var(--nb-muted); font-size: 14px; }
.home-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-step { padding: 28px 26px 12px; border-right: 1px solid var(--nb-line); }
.home-step:first-child { padding-left: 0; }
.home-step:last-child { padding-right: 0; border-right: 0; }
.home-step__number { color: #83a291; font-family: monospace; font-size: 11px; }
.home-step h3 { margin: 15px 0 9px; font-size: 29px; }
.home-step p { max-width: 330px; margin-bottom: 0; color: var(--nb-muted); font-size: 14px; line-height: 1.75; }
.home-insights { padding-block: 90px; background: var(--nb-soft); }
.home-insights__intro { margin-bottom: 44px; }
.home-insights__intro h2 { max-width: 920px; margin-bottom: 0; font-size: clamp(40px, 5.2vw, 58px); }
.home-insights__grid { display: grid; grid-template-columns: 1fr; align-items: start; gap: 46px; }
.home-column-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--nb-line); }
.home-column-heading .nb-eyebrow { margin-bottom: 5px; font-size: 10px; }
.home-column-heading h3 { margin: 0; font-size: 34px; }
.home-column-heading__count { padding-bottom: 4px; color: #6d8d7d; font-family: monospace; font-size: 10px; white-space: nowrap; }
.home-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.home-video__thumbnail { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--nb-deep); box-shadow: 0 12px 30px rgba(23,61,53,.13); }
.home-video__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-video__thumbnail:hover img { transform: scale(1.04); }
.home-video__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,47,39,.12); }
.home-video__play span { display: grid; width: 52px; aspect-ratio: 1; place-items: center; padding-left: 3px; border-radius: 50%; background: var(--nb-green); color: white; font-size: 19px; transition: transform .2s ease; }
.home-video__thumbnail:hover .home-video__play span { transform: scale(1.1); }
.home-video__program { margin: 10px 0 4px; color: #6a8b78; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.home-video h4 { margin: 0; font-size: 20px; }
.home-article { display: grid; grid-template-columns: 112px 1fr; gap: 17px; padding: 16px 0; border-bottom: 1px solid var(--nb-line); text-decoration: none; }
.home-article:first-child { padding-top: 0; }
.home-article__image { width: 112px; aspect-ratio: 1.12; border-radius: 8px; background: #d7e4d7; object-fit: cover; }
.home-article__meta { margin-bottom: 8px; color: #60826e; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-article h4 { margin: 0 0 7px; font-size: 20px; }
.home-article__meta, .home-article__title, .home-article__read { display: block; }
.home-article__title { margin-bottom: 7px; color: var(--nb-text); font-family: Georgia, serif; font-size: 20px; letter-spacing: -.02em; line-height: 1.16; }
.home-article__title strong { font-weight: 400; }
.home-article__read { color: #347451; font-size: 10px; font-weight: 700; }
.home-article:hover h4 { color: #31845b; }
.home-article:hover .home-article__title { color: #31845b; }
.home-all-articles { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; color: #347451; font-size: 11px; font-weight: 700; text-decoration: none; }
.home-latest { padding-block: 48px 64px; border-top: 1px solid var(--nb-line); }
.home-latest .home-section-heading { align-items: center; gap: 20px; }
.home-latest .home-all-articles { margin-top: 0; font-size: 13px; white-space: nowrap; }
.home-latest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-latest .home-article { display: flex; flex-direction: column; gap: 18px; padding: 0; border: 0; }
.home-latest .home-article__image { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; }
.home-latest .home-article__meta { font-size: 11px; }
.home-latest .home-article__title { font-size: clamp(23px, 2.2vw, 29px); line-height: 1.25; }
.home-latest .home-article__read { margin-top: 12px; font-size: 12px; }
.home-gallery { padding-block: 80px; }
.home-gallery__intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 30px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--nb-line); }
.home-gallery__intro h2 { margin: 0; font-size: clamp(38px, 4.6vw, 52px); }
.home-gallery__intro > p { max-width: 500px; margin: 0; color: var(--nb-muted); font-size: 14px; }
.home-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.home-gallery figure { min-width: 0; margin: 0; }
.home-gallery__image { display: block; width: 100%; height: auto; border: 1px solid var(--nb-line); border-radius: 12px; }
.home-gallery figcaption { margin-top: 10px; color: var(--nb-text); font-family: Georgia, serif; font-size: 20px; line-height: 1.35; }
.home-contact { position: relative; overflow: hidden; padding-block: 82px; background: #235b43; color: #f3f5ec; }
.home-contact::before, .home-contact::after { position: absolute; top: -190px; right: -55px; width: 500px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; }
.home-contact::after { top: -110px; right: -5px; width: 360px; }
.home-contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 55px; }
.home-contact .nb-eyebrow { color: #b7d8bd; }
.home-contact h2 { max-width: 740px; margin-bottom: 16px; color: #f3f5ec; font-size: clamp(42px, 5.4vw, 64px); }
.home-contact__message { max-width: 550px; color: #c5dacf; font-size: 15px; line-height: 1.8; }
.home-contact__cta { margin-top: 14px; background: #e6efdf; color: #214e38; }
.home-contact__cta:hover { background: #fff; color: #214e38; }
.home-contact__details { display: grid; gap: 22px; padding: 0 0 0 30px; border-left: 1px solid rgba(255,255,255,.2); }
.home-contact__detail-label { display: block; color: #b7d8bd; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.home-contact__detail-value { display: block; margin-top: 3px; color: #000000; font-size: 17px; line-height: 1.6; text-decoration: none; }
.home-contact__detail-value a { text-decoration: none; }
.site-footer { padding-block: 24px; background: var(--nb-deep); color: #c8d7cb; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-footer__logo img { display: block; width: 150px; max-height: 60px; object-fit: contain; }
.site-footer .footer-navigation__list { gap: 20px; }
.site-footer .footer-navigation__list a { color: #c8d7cb; font-size: 11px; }
.site-footer__copyright { margin: 0; color: #91ab9d; font-size: 10px; }
.instadoctor-booking {
  position: fixed;
  z-index: 30;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 52px;
  max-width: calc(100% - 40px);
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: #147bc7;
  color: white;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(20,123,199,.2);
}
.instadoctor-booking:hover { background: #0d68af; color: white; }

/* Standard WordPress pages and posts */
.content-area { min-height: 55vh; padding-block: 70px 100px; }
.content-area__header { margin-bottom: 32px; }
.content-area__title { margin: 0; font-size: clamp(38px, 5vw, 58px); }
.content-area__meta { margin-top: 12px; color: var(--nb-muted); font-size: 13px; }
.entry-content { max-width: 850px; color: #526f61; font-size: 16px; line-height: 1.85; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content a { color: #347451; }
.entry-content img { height: auto; }
.entry-content blockquote { margin: 2em 0; padding-left: 22px; border-left: 3px solid #8eb499; color: #37634e; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post-card { overflow: hidden; border: 1px solid var(--nb-line); border-radius: 12px; background: #fffefa; }
.post-card__image { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.post-card__body { padding: 23px; }
.post-card__title { margin: 0 0 12px; font-size: 27px; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { color: var(--nb-muted); font-size: 14px; }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--nb-line); border-radius: 50px; color: var(--nb-text); text-decoration: none; }
.pagination .current { background: var(--nb-green); color: #fff; }

@media (max-width: 1000px) {
  .site-navigation__list { gap: 15px; }
  .site-navigation__list a { font-size: 12px; }
  .site-header__booking { padding-inline: 16px; font-size: 12px; }
  .home-approach__grid, .home-about__grid { gap: 45px; }
  .home-insights__grid { gap: 30px; }
}
@media (max-width: 800px) {
  .nb-wrap, .site-header__inner { width: min(100% - 36px, var(--nb-wrap)); }
  .site-header__inner { min-height: 78px; gap: 12px; }
  .site-brand img { width: 155px; max-height: 62px; }
  .site-header__booking { display: none; }
  .site-menu-toggle { display: inline-flex; flex: 0 0 auto; }
  .site-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--nb-line); background: var(--nb-paper); box-shadow: 0 12px 18px rgba(23,61,53,.08); }
  .site-navigation.is-open { display: block; }
  .site-navigation__list { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .site-navigation__list li { border-bottom: 1px solid rgba(30,73,59,.08); }
  .site-navigation__list a { display: block; padding: 12px 6px; font-size: 14px; }
  .site-navigation { max-height: calc(100dvh - 78px); overflow-y: auto; }
  .site-navigation__list > li > a { display: block; padding-right: 42px; }
  .site-navigation__list ul, .site-navigation__list ul ul {
    position: static;
    min-width: 0;
    margin: 0 0 8px 14px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid var(--nb-line);
    border-radius: 0;
    box-shadow: none;
  }
  .site-navigation__list .site-submenu-toggle { position: absolute; top: 5px; right: 0; width: 38px; height: 38px; }
  .home-hero { min-height: 0; grid-template-columns: 1fr; gap: 48px; padding-block: 55px 66px; }
  .home-hero__copy { max-width: 660px; }
  .home-hero h1 { max-width: 640px; font-size: clamp(52px, 11vw, 78px); }
  .home-hero__visual { width: min(92%, 560px); margin: 0 auto; }
  .home-hero__facts { gap: 12px 18px; }
  .home-approach { padding-block: 76px; }
  .home-approach__grid { grid-template-columns: 1fr; gap: 38px; }
  .home-services, .home-steps, .home-insights { padding-block: 72px; }
  .home-about { padding-block: 68px; }
  .home-about__grid { grid-template-columns: .8fr 1.2fr; gap: 32px; }
  .home-about__fact { grid-template-columns: 90px 1fr; }
  .home-insights__grid { grid-template-columns: 1fr; gap: 46px; }
  .home-latest__grid, .home-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-contact { padding-block: 68px; }
  .home-contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .home-contact__details { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .site-footer__inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .nb-wrap, .site-header__inner { width: calc(100% - 36px); }
  .home-hero { gap: 38px; padding-block: 42px 54px; }
  .home-latest { padding-block: 32px 44px; }
  .home-latest .home-section-heading { align-items: start; }
  .home-latest__grid, .home-videos { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: clamp(47px, 13vw, 64px); }
  .home-hero__intro { font-size: 15px; }
  .home-hero__actions { align-items: stretch; flex-direction: column; }
  .home-hero__secondary { text-align: center; }
  .home-hero__name { width: min(260px, 78%); padding: 14px; }
  .home-hero__seal { right: -3%; width: 72px; font-size: 8px; }
  .home-ribbon__list { justify-content: center; gap: 10px 18px; padding-block: 16px; }
  .home-ribbon__list li { font-size: 9px; }
  .home-ribbon__list li + li::before { margin-right: 12px; }
  .home-section-heading, .home-gallery__intro, .home-steps__intro { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .home-section-heading { display: grid; }
  .home-section-heading h2, .home-gallery__intro h2 { font-size: 41px; }
  .home-services__grid { grid-template-columns: 1fr; }
  .home-service { padding: 23px 0; }
  .home-service__title { font-size: 25px; }
  .home-services__cta { align-items: flex-start; flex-direction: column; padding: 22px; }
  .home-about__grid { grid-template-columns: 1fr; gap: 34px; }
  .home-about__photo-wrap { width: min(86%, 400px); margin-inline: auto; }
  .home-about__fact { grid-template-columns: 84px 1fr; gap: 12px; }
  .home-steps__grid { grid-template-columns: 1fr; }
  .home-step, .home-step:first-child, .home-step:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--nb-line); }
  .home-step:last-child { border-bottom: 0; }
  .home-column-heading h3 { font-size: 29px; }
  .home-videos { grid-template-columns: 1fr; gap: 23px; }
  .home-article { grid-template-columns: 82px 1fr; gap: 13px; }
  .home-article__image { width: 82px; }
  .home-article h4 { font-size: 17px; }
  .home-article__title { font-size: 17px; }
  .home-article__meta { font-size: 8px; }
  .home-gallery__intro { display: grid; }
  .home-gallery__grid { grid-template-columns: 1fr; gap: 22px; }
  .home-gallery figcaption { font-size: 19px; }
  .home-contact__details { grid-template-columns: 1fr; }
  .instadoctor-booking { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); min-height: 48px; padding: 12px 20px; font-size: 14px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .site-footer .footer-navigation__list { flex-wrap: wrap; gap: 10px 16px; }
  .post-list { grid-template-columns: 1fr; }
  .content-area { padding-block: 48px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Editorial pages, archive and articles */
.nb-editorial-page { min-height: 55vh; padding-block: 62px 100px; }
.nb-editorial-article { max-width: 1120px; margin-inline: auto; }
.nb-editorial-page__hero { display: grid; grid-template-columns: 1fr .76fr; align-items: center; gap: clamp(42px, 8vw, 110px); padding-block: 8px 80px; }
.nb-editorial-page__copy { max-width: 690px; }
.nb-editorial-page__copy > .nb-eyebrow { display: flex; align-items: center; gap: 12px; }
.nb-editorial-page__copy > .nb-eyebrow::before { width: 28px; height: 1px; background: #78a987; content: ""; }
.nb-editorial-page__copy .content-area__title { max-width: 780px; margin-bottom: 22px; font-size: clamp(46px, 6.4vw, 78px); letter-spacing: -.055em; }
.nb-editorial-page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.nb-editorial-text-link { display: inline-flex; align-items: center; gap: 8px; color: #347451; font-size: 13px; font-weight: 700; text-decoration: none; }
.nb-editorial-text-link:hover { color: #1f6549; }
.nb-page-body { max-width: 740px; color: #526f61; font-size: 16px; line-height: 1.85; }
.nb-page-body > :first-child { margin-top: 0; }
.nb-page-body > :last-child { margin-bottom: 0; }
.nb-page-body h2 { margin-top: 1.8em; font-size: clamp(30px, 4vw, 42px); }
.nb-page-body h3 { margin-top: 1.7em; font-size: 27px; }
.nb-page-body h4 { margin-top: 1.6em; font-size: 21px; }
.nb-page-body ul, .nb-page-body ol { padding-left: 1.4em; }
.nb-page-body li + li { margin-top: .45em; }
.nb-page-body figure { margin: 2em 0; }
.nb-page-body figcaption { margin-top: 10px; color: var(--nb-muted); font-size: 13px; }
.nb-page-body img { display: block; max-width: 100%; border-radius: 12px; }
.nb-page-body .wp-block-image img { width: auto; }
.nb-page-body .wp-block-separator { max-width: 120px; margin: 2.3em 0; border: 0; border-top: 1px solid var(--nb-line); }
.nb-page-body .wp-block-quote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 3px solid #8eb499; color: #37634e; }
.nb-about-page__role { margin: 0 0 17px; color: #4e7c65; font-size: 14px; font-weight: 700; }
.nb-about-page__lead, .nb-services-page__lead, .nb-contact-page__lead { max-width: 670px; margin: 0; color: #5d7468; font-size: 17px; line-height: 1.85; }
.nb-about-page__portrait { position: relative; width: 100%; max-width: 480px; justify-self: end; margin: 0; padding: 0 0 23px 17px; }
.nb-about-page__portrait::before { position: absolute; inset: 7% 0 6% 13%; border-radius: 48% 48% 18px 18px; background: #dce9db; content: ""; }
.nb-about-page__portrait img { position: relative; display: block; width: 100%; aspect-ratio: .8; border-radius: 48% 48% 18px 18px; object-fit: cover; object-position: center top; }
.nb-about-page__portrait figcaption { position: relative; width: fit-content; max-width: 90%; margin: -30px 0 0 -16px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: #fbfbf5; box-shadow: 0 14px 35px rgba(29,62,45,.1); }
.nb-about-page__portrait figcaption strong, .nb-about-page__portrait figcaption span { display: block; }
.nb-about-page__portrait figcaption strong { font-family: Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.25; }
.nb-about-page__portrait figcaption span { margin-top: 4px; color: var(--nb-muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nb-about-page__credentials { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(35px, 7vw, 95px); padding-top: 50px; border-top: 1px solid var(--nb-line); }
.nb-about-page__section-intro h2 { max-width: 420px; margin: 0; font-size: clamp(34px, 4vw, 48px); }
.nb-about-page__facts { border-top: 1px solid var(--nb-line); }
.nb-about-page__fact { display: grid; grid-template-columns: minmax(110px, .38fr) 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--nb-line); }
.nb-about-page__fact > span { color: #789081; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nb-about-page__fact h3 { margin: 0 0 8px; color: #285642; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.nb-about-page__fact p { margin: 0; color: var(--nb-muted); font-size: 13px; line-height: 1.75; }
.nb-editorial-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px; padding: 30px 34px; border-radius: 18px; background: var(--nb-light); }
.nb-editorial-callout h2 { margin: 0; font-size: 32px; }
.nb-editorial-callout p:not(.nb-eyebrow) { margin: 8px 0 0; color: var(--nb-muted); font-size: 14px; }
.nb-editorial-callout .nb-eyebrow { margin-bottom: 8px; }
.nb-services-page__intro { display: grid; grid-template-columns: 1.1fr .8fr; align-items: end; gap: 50px; padding: 8px 0 42px; border-bottom: 1px solid var(--nb-line); }
.nb-services-page__intro .content-area__title { max-width: 700px; margin: 0; font-size: clamp(46px, 6.2vw, 76px); letter-spacing: -.055em; }
.nb-services-page__lead { max-width: 470px; padding-bottom: 5px; font-size: 15px; }
.nb-services-page__content { padding-block: 35px; }
.nb-services-page__list { padding-top: 54px; }
.nb-services-page__list-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.nb-services-page__list-heading h2 { margin: 0; font-size: clamp(34px, 4.3vw, 48px); }
.nb-services-page__list-heading > span { padding-bottom: 5px; color: #81978a; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nb-service-links { border-top: 1px solid var(--nb-line); }
.nb-service-link { display: grid; grid-template-columns: 54px 1fr 36px; align-items: center; gap: 20px; padding: 25px 12px; border-bottom: 1px solid var(--nb-line); color: inherit; text-decoration: none; transition: background .2s ease; }
.nb-service-link--depth-1 { padding-left: 36px; background: rgba(237,242,233,.45); }
.nb-service-link--depth-2 { padding-left: 58px; background: rgba(237,242,233,.68); }
a.nb-service-link:hover { background: var(--nb-soft); }
.nb-service-link__number { color: #83a291; font-family: monospace; font-size: 11px; }
.nb-service-link__main strong, .nb-service-link__main > span { display: block; }
.nb-service-link__main strong { font-family: Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1.25; }
.nb-service-link__main > span { max-width: 680px; margin-top: 7px; color: var(--nb-muted); font-size: 13px; line-height: 1.7; }
.nb-service-link__arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #bbcebd; border-radius: 50%; color: #42835e; }
.nb-contact-page__hero { display: grid; min-height: 430px; grid-template-columns: 1.05fr .85fr; overflow: hidden; border-radius: 24px; background: var(--nb-deep); color: #f3f5ec; }
.nb-contact-page__message { padding: clamp(30px, 6vw, 70px); align-self: center; }
.nb-contact-page__message .nb-eyebrow { color: #b7d8bd; }
.nb-contact-page__message .content-area__title { max-width: 630px; margin-bottom: 20px; color: #f3f5ec; font-size: clamp(44px, 5.5vw, 68px); letter-spacing: -.05em; }
.nb-contact-page__lead { color: #c5dacf; font-size: 15px; }
.nb-contact-page__message .nb-page-body { color: #c5dacf; }
.nb-contact-page__booking { margin-top: 27px; background: #e6efdf; color: #214e38; }
.nb-contact-page__booking:hover { background: #fff; color: #214e38; }
.nb-contact-page__location { position: relative; display: grid; min-height: 100%; align-items: end; padding: clamp(20px, 4vw, 46px); overflow: hidden; background: #dce9db; }
.nb-contact-page__location::before, .nb-contact-page__location::after { position: absolute; top: -110px; right: -80px; width: 420px; aspect-ratio: 1; border: 1px solid rgba(57,111,75,.25); border-radius: 50%; content: ""; }
.nb-contact-page__location::after { top: -38px; right: -7px; width: 275px; }
.nb-contact-page__location-card { position: relative; z-index: 1; min-height: 255px; padding: 30px; border: 1px solid rgba(171,194,173,.9); border-radius: 18px; background: rgba(247,247,240,.88); }
.nb-contact-page__location-card .nb-eyebrow { margin-bottom: 15px; }
.nb-contact-page__location-card h2 { margin: 0; font-size: 34px; }
.nb-contact-page__address { margin: 10px 0 20px; color: #60786a; font-size: 14px; line-height: 1.8; }
.nb-contact-page__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.nb-contact-detail { position: relative; display: flex; min-height: 112px; flex-direction: column; justify-content: center; padding: 20px 54px 20px 23px; border: 1px solid #d4dfd3; border-radius: 15px; background: #fbfbf5; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.nb-contact-detail:hover { transform: translateY(-2px); border-color: #8bad91; }
.nb-contact-detail__label { color: #7d9385; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nb-contact-detail strong { margin-top: 6px; color: #254b3b; font-size: 18px; overflow-wrap: anywhere; }
.nb-contact-detail__arrow { position: absolute; top: 50%; right: 22px; color: #638571; transform: translateY(-50%); }
.nb-archive .content-area__header { margin-bottom: 28px; }
.nb-archive .content-area__title { max-width: 900px; }
.nb-archive-tools { margin-bottom: 30px; padding: 20px 0 22px; border-block: 1px solid var(--nb-line); }
.nb-archive-search { display: flex; width: min(100%, 610px); gap: 9px; }
.nb-archive-search input { min-width: 0; min-height: 48px; flex: 1; padding: 11px 16px; border: 1px solid #c7d6c8; border-radius: 999px; background: #fbfbf5; color: var(--nb-deep); font: inherit; font-size: 14px; }
.nb-archive-search input:focus { border-color: #55916c; outline: 2px solid rgba(85,145,108,.18); }
.nb-archive-search button { min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--nb-green); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.nb-archive-search button:hover { background: #174f39; }
.nb-archive-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nb-archive-categories a, .nb-archive-categories > span { display: inline-flex; min-height: 35px; align-items: center; padding: 7px 13px; border: 1px solid #c6d5c7; border-radius: 999px; color: #587364; font-size: 11px; text-decoration: none; }
.nb-archive-categories a:hover, .nb-archive-categories .is-current { border-color: var(--nb-green); background: var(--nb-green); color: #fff; }
.nb-archive-empty { max-width: 650px; padding: 48px 0; }
.nb-archive-empty h2 { margin-bottom: 12px; font-size: 34px; }
.nb-archive-empty p:last-child { color: var(--nb-muted); }
.nb-single .content-area__header { max-width: 900px; margin: 0 auto 32px; }
.nb-single .content-area__title { margin-top: 18px; font-size: clamp(40px, 6vw, 72px); }
.nb-single__back { display: inline-block; margin-bottom: 28px; color: #347451; font-size: 12px; font-weight: 700; text-decoration: none; }
.nb-single .content-area__meta a { color: #347451; text-decoration: none; }
.nb-single__featured { max-width: 1040px; margin: 0 auto 42px; }
.nb-single__featured img { display: block; width: 100%; max-height: 600px; border-radius: 18px; object-fit: cover; }
.nb-single .nb-page-body { max-width: 760px; margin-inline: auto; }
.nb-single .nb-page-body > p:first-child { font-size: 18px; }
.nb-single .nb-page-body h2 { margin-top: 2.2em; }
.nb-single__footer { max-width: 760px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--nb-line); }
.nb-standard-page__featured { max-width: 900px; margin: 0 0 32px; }
.nb-standard-page__featured img { display: block; border-radius: 14px; }

@media (max-width: 800px) {
  .nb-editorial-page { padding-block: 44px 76px; }
  .nb-editorial-page__hero { grid-template-columns: 1fr .8fr; gap: 34px; padding-bottom: 58px; }
  .nb-about-page__credentials { grid-template-columns: 1fr; gap: 28px; }
  .nb-services-page__intro { grid-template-columns: 1fr; gap: 20px; }
  .nb-contact-page__hero { grid-template-columns: 1fr; }
  .nb-contact-page__location { min-height: 300px; }
}
@media (max-width: 560px) {
  .nb-editorial-page { padding-block: 35px 65px; }
  .nb-editorial-page__hero { grid-template-columns: 1fr; gap: 34px; padding-bottom: 44px; }
  .nb-editorial-page__copy .content-area__title, .nb-services-page__intro .content-area__title { font-size: clamp(42px, 12vw, 58px); }
  .nb-about-page__portrait { width: min(90%, 390px); justify-self: center; }
  .nb-about-page__fact { grid-template-columns: 1fr; gap: 8px; }
  .nb-editorial-callout { align-items: flex-start; flex-direction: column; padding: 24px; }
  .nb-services-page__intro { padding-bottom: 30px; }
  .nb-services-page__list { padding-top: 38px; }
  .nb-services-page__list-heading { align-items: flex-start; }
  .nb-services-page__list-heading > span { display: none; }
  .nb-service-link { grid-template-columns: 32px 1fr 30px; gap: 12px; padding: 20px 2px; }
  .nb-service-link__main strong { font-size: 22px; }
  .nb-contact-page__hero { border-radius: 18px; }
  .nb-contact-page__message { padding: 30px 24px 36px; }
  .nb-contact-page__message .content-area__title { font-size: clamp(42px, 12vw, 58px); }
  .nb-contact-page__location { min-height: 275px; padding: 16px; }
  .nb-contact-page__location-card { min-height: 225px; padding: 23px; }
  .nb-contact-page__details { grid-template-columns: 1fr; }
  .nb-archive-search { flex-direction: column; }
  .nb-archive-search button { width: 100%; }
  .nb-single__featured img { border-radius: 12px; }
  .nb-page-body { font-size: 15px; }
}
