/* ===========================
   Holistička ordinacija Jevdić
   Main Stylesheet
   (Adapted from the ICR layout — variable names kept, palette re-themed)
=========================== */

:root {
  /* Medium-blue panels (white text sits on these) — fresh, not dark/gray */
  --navy:        #4F6F9A;
  --navy-grad-1: #5A7CA8;
  --navy-grad-2: #40608A;

  /* --red = PRIMARY brand blue (Jevdić Blue): headings, CTAs, nav, links */
  --red:         #4F6F9A;
  --red-deep:    #3F5A80;
  --red-solid:   #47638d;

  --white:       #ffffff;
  --page-bg:     #F6FBFE;   /* Ice Blue — main light sections */
  --testi-bg:    #EEF7FB;   /* Soft Clinic Blue — testimonials / softer blocks */
  --border-gray: #DCEAF1;   /* Pale Blue Gray — separators / borders */
  --gray:        #9fb4c4;
  --text:        #33404A;    /* Readable Charcoal — body text */
  --text-muted:  #5c6771;
  --gold:        #3F9AA8;    /* Fresh Teal — eyebrows / labels / small accents */

  /* Extra brand tokens */
  --primary:      #4F6F9A;   /* Jevdić Blue */
  --primary-dark: #3F5A80;
  --clinic-blue:  #EEF7FB;   /* Soft Clinic Blue — hero / calm blocks */
  --ice-blue:     #F6FBFE;   /* Ice Blue */
  --accent-warm:  #ffffff;   /* light accent used on blue panels */
  --accent-sun:   #F68B3C;   /* Warm Sun — tiny accents / hover only */
  --heal-green:   #DFF3E8;   /* Soft Healing Green — sparing card/section bg */
  --green:        #7CBF9E;   /* Clean Green Accent — checks, small lines */
  --pink:         #3F9AA8;   /* (re-mapped) teal for testimonial names/quotes */
  --turq:         #3F9AA8;   /* Fresh Teal */

  --shadow:      0 4px 24px rgba(79,111,154,0.10);
  --shadow-lg:   0 8px 40px rgba(79,111,154,0.16);
  --radius:      14px;
  --radius-lg:   18px;
  --pill:        999px;
  --transition:  0.25s ease;

  --navy-gradient: linear-gradient(180deg, var(--navy-grad-1) 0%, var(--navy-grad-2) 100%);
  --red-gradient:  linear-gradient(180deg, var(--red) 0%, var(--red-deep) 62%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.3125rem; /* 21px */
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: 'Bitter', Georgia, 'Times New Roman', serif;
  line-height: 1.2; font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--red); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  font-family: 'Bitter', Georgia, serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ---- Buttons (pill shaped) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 44px;
  border-radius: var(--pill);
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700; font-size: .92rem;
  letter-spacing: .015em;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-align: center; white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible {
  background: transparent; color: var(--red);
}

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover, .btn-outline:active, .btn-outline:focus-visible {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}

.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 44px; border-radius: var(--pill);
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700; font-size: .92rem;
  letter-spacing: .015em;
  cursor: pointer;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--navy);
  transition: all var(--transition);
}
.btn-navy:hover, .btn-navy:active, .btn-navy:focus-visible {
  background: transparent; color: var(--navy);
}

.btn-white {
  background: var(--white); color: var(--red);
  border: 2px solid var(--white);
}
.btn-white:hover, .btn-white:active, .btn-white:focus-visible {
  background: transparent; color: var(--white);
}

.btn-lg { padding: 17px 40px; font-size: 1.02rem; }

/* ============================================================
   HEADER / NAV
============================================================ */
#site-header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: transform .35s ease;
}
#site-header-wrap.nav-hidden { transform: translateY(-100%); }
.topbar {
  background: var(--navy);
  padding: 10px 0;
}
.topbar .container {
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}
.topbar a { color: var(--red); font-weight: 700; white-space: nowrap; }
.topbar-sep { color: rgba(255,255,255,.55); }

#site-header {
  position: relative;
  background: var(--page-bg);
  border-bottom: 1px solid var(--border-gray);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 16px rgba(13,27,53,.08); }

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

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo img { height: 62px; width: auto; }
.logo-badge {
  display: inline-flex; align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 14px;
}
.logo-badge img { height: 32px; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links li { display: flex; align-items: center; }
.nav-links li:not(:last-child)::after {
  content: "|";
  color: var(--border-gray);
  font-weight: 300;
  margin: 0 2px;
}
.nav-links a {
  font-family: 'Bitter', Georgia, serif;
  color: var(--navy);
  font-size: 1.125rem; font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: var(--navy); }
.nav-links a.active { color: var(--red); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO  (responsive art-directed background)
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding-top: 118px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  /* Desktop hero — two figures on the right, storm/sunset backdrop */
  background: url('../images/desktop-hero.png') center center / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  /* Horizontal scrim: dark on the left for text legibility, clears to the right to reveal the figures */
  background: linear-gradient(90deg, rgba(20,30,52,.92) 0%, rgba(20,30,52,.78) 34%, rgba(20,30,52,.32) 64%, rgba(20,30,52,.05) 100%);
}
@media (max-width: 767px) {
  .hero::before { background: url('../images/hero-mobile.png') center center / cover no-repeat; }
  .hero::after  { background: linear-gradient(to bottom, rgba(20,30,52,.62) 0%, rgba(20,30,52,.88) 100%); }
}

/* Hero is a flex row; force its container to fill width so the text aligns
   with the header container (and the logo) instead of shrinking to center. */
.hero > .container { width: 100%; }
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
  padding: 80px 0;
  text-align: left;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(229,58,71,.18);
  border: 1px solid rgba(229,58,71,.4);
  color: #ffb2ad;
  padding: 7px 18px;
  border-radius: var(--pill);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 { color: var(--red); margin-bottom: 20px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-actions .btn { padding: 15px 34px; }

.hero-trust {
  display: flex; align-items: center; gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-avatars { display: flex; }
.trust-avatars img, .trust-avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -8px;
  background: var(--navy-grad-1);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: rgba(255,255,255,.8);
}
.trust-avatars :first-child { margin-left: 0; }
.trust-text { color: rgba(255,255,255,.7); font-size: .85rem; }
.trust-text strong { color: var(--white); }

/* ============================================================
   TRUST BAR / FEATURE CARDS  (square — card 1 navy, 2 & 3 white)
============================================================ */
.trust-bar { background: var(--page-bg); }
.trust-bar-label {
  text-align: center; color: var(--navy);
  margin-bottom: 40px;
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-gray);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.trust-item:hover, .trust-item:focus-visible, .trust-item.active {
  background: var(--navy-gradient);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
}
.trust-icon img { width: 100%; height: 100%; object-fit: contain; transition: filter var(--transition); }
.trust-item:hover .trust-icon img, .trust-item:focus-visible .trust-icon img, .trust-item.active .trust-icon img {
  filter: brightness(0) invert(1);
}
.trust-item h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--red);
  line-height: 1.15;
}
.trust-item p {
  font-size: 1.3125rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.trust-item:hover p, .trust-item:focus-visible p, .trust-item.active p {
  color: rgba(255,255,255,.85);
}

/* ============================================================
   WE'VE GOT YOUR BACK  (empathy panels — square)
============================================================ */
.about-section { background: var(--page-bg); }
.about-text-centered {
  max-width: 760px; margin: 0 auto 56px; text-align: center;
}
.about-text-centered p { color: var(--text-muted); margin-bottom: 18px; line-height: 1.8; }
.tagline-centered {
  text-align: center;
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-muted);
  max-width: 600px; margin: 48px auto 0;
}

.two-col-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; }
.list-card {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--navy-gradient);
  border: none;
  display: flex; flex-direction: column;
  overflow: auto;
}
.list-card h4 {
  font-family: 'Bitter', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1.15;
}
.list-card ul { padding-left: 24px; }
.list-card li {
  font-size: 1.3125rem; color: rgba(255,255,255,.85);
  padding: 10px 0; line-height: 1.45;
  display: list-item; list-style: disc;
}
.list-card li::marker { color: var(--red); font-size: 1.15em; }
.list-card li strong { color: var(--white); font-weight: 700; }

/* ============================================================
   OUR MISSION
============================================================ */
.mission-section {
  background: var(--navy-gradient);
  text-align: center;
}
.mission-section h2 { color: var(--white); margin-bottom: 12px; }
.mission-section .section-label { margin: 0 auto 8px; }
.mission-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-bottom: 48px;
}
.mission-item {
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  transition: all var(--transition);
}
.mission-item:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.mission-num {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 800; color: var(--red);
  font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1;
}
.mission-item p { color: rgba(255,255,255,.85); font-size: 1.125rem; line-height: 1.5; text-align: left; }

.mission-closing { color: rgba(255,255,255,.6); font-size: 1.125rem; font-style: normal; }
.mission-closing strong { color: var(--white); }

/* ============================================================
   STORM BANNER (CTA) — stripe image background
============================================================ */
.storm-section {
  position: relative;
  background: url('../images/stripe-storm.jpg') center/cover no-repeat;
  text-align: center; padding: 88px 0;
}
.storm-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,20,36,.25) 0%, rgba(13,20,36,.7) 100%);
}
.storm-section > * { position: relative; z-index: 1; }
.storm-section h2 { color: var(--red); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.storm-section p  { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ============================================================
   JOURNEY / STEPS  (square process steps)
============================================================ */
.journey-section { background: var(--page-bg); }
.journey-intro {
  max-width: 620px; margin: 0 auto 56px; text-align: center;
}
.journey-intro h2 { color: var(--navy); }
.journey-intro p { color: var(--text-muted); font-size: 1.125rem; margin-top: 16px; }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 34px; left: 10%; right: 10%;
  height: 2px; background: var(--border-gray); z-index: 0;
}
.step-item {
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}
.step-num {
  width: 68px; height: 68px;
  background: var(--navy-gradient); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
  margin: 0 auto 20px;
  border: 4px solid var(--page-bg);
  box-shadow: var(--shadow);
}
.step-item h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 10px; }
.step-item p   { font-size: 15px; line-height: 23px; color: var(--text-muted); }

.journey-cta { text-align: center; margin-top: 52px; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section { background: var(--testi-bg); }
.testimonials-header-centered {
  text-align: center; max-width: 600px; margin: 0 auto 48px;
}
.testimonials-header-centered p { color: var(--text-muted); margin-top: 10px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-gray);
  box-shadow: none;
  transition: transform var(--transition);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-body { font-size: .92rem; color: var(--text-muted); line-height: 1.75; margin: 18px 0; font-style: italic; flex: 1; display: flex; align-items: center; }
.testimonial-author { margin-top: auto; }
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-gradient); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.author-name-script {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 600; font-size: 1.15rem; color: var(--pink);
  line-height: 1.3;
}
.author-title { font-size: .78rem; color: var(--text-muted); }

/* Video-style testimonial card */
.testimonial-card.video-card {
  padding: 0; justify-content: flex-end;
}
.testimonial-card.video-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-play {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34,55,83,.55); border: 2px solid rgba(255,255,255,.8);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: auto; margin-top: 90px;
}
.video-caption {
  position: relative; z-index: 1; width: 100%;
  padding: 20px; text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.75) 100%);
}
.video-caption .author-name-script { color: #ff8a85; }
.video-caption .author-title { color: rgba(255,255,255,.85); }

.testimonials-actions { display: flex; justify-content: center; gap: 16px; margin-top: 44px; }

/* ============================================================
   FAQ  (navy gradient background, buttons not square cards)
============================================================ */
.faq-section { background: var(--navy-gradient); }
.faq-section h2 { color: var(--red); margin-bottom: 40px; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--pill);
  overflow: hidden;
  transition: border-color var(--transition), border-radius var(--transition);
}
.faq-item.open { border-color: rgba(255,255,255,.45); border-radius: var(--radius-lg); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 14px 18px 28px;
  text-align: left;
  font-family: 'Bitter', Georgia, serif;
  color: var(--white); font-size: 1rem; font-weight: 600;
  gap: 20px;
}
.faq-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.faq-icon::before { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq-item.open .faq-icon::before { content: "\2212"; } /* minus sign */
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: rgba(255,255,255,.68); font-size: .93rem; line-height: 1.75;
  padding: 0 28px;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-section { background: var(--page-bg); }
.contact-centered { max-width: 900px; }
.contact-section h2 { color: var(--red); margin-bottom: 14px; }
.contact-sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; }

.pill-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.pill-form .field { margin-bottom: 18px; }
.pill-form .field input {
  width: 100%; padding: 16px 26px;
  border: none;
  border-radius: var(--pill);
  font-size: .92rem; color: var(--text);
  background: var(--white);
  transition: box-shadow var(--transition);
  font-family: inherit;
}
.pill-form .field textarea {
  width: 100%; padding: 16px 26px;
  border: none; border-radius: var(--radius-lg);
  font-size: .92rem; color: var(--text);
  background: var(--white);
  font-family: inherit; resize: vertical; min-height: 120px;
}
.pill-form .field input:focus, .pill-form .field textarea:focus {
  outline: none; box-shadow: 0 0 0 2px var(--navy-grad-1);
}
.pill-form .field.full { grid-column: 1 / -1; }
.consent-text {
  font-size: .8rem; color: var(--text-muted); text-align: center;
  line-height: 1.7; margin: 8px 0 28px;
}
.consent-text a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* Skip link — hidden until focused by keyboard users (WCAG 2.4.1) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1200;
  background: var(--red); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--radius) var(--radius);
  font-family: 'Bitter', Georgia, serif; font-weight: 700; font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: -6px; }

/* Honeypot — hidden from humans and screen readers, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   BLOG
============================================================ */
.blog-hero {
  background: var(--navy-gradient);
  padding: 172px 0 70px;
  text-align: center;
}
.blog-hero h1 { color: var(--white); }
.blog-hero p   { color: rgba(255,255,255,.68); max-width: 680px; margin: 16px auto 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-gray);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img {
  height: 200px; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  background: var(--navy-gradient);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); font-size: 3rem;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; color: var(--text-muted); margin-bottom: 12px;
}
.blog-tag {
  background: rgba(229,58,71,.1);
  color: var(--red); font-weight: 600;
  padding: 3px 12px; border-radius: var(--pill);
}
.blog-card-body h3 {
  font-size: 1.1rem; color: var(--navy);
  margin-bottom: 10px; line-height: 1.4;
  flex: 1;
}
.blog-card-body p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }
.blog-read-more {
  font-size: .85rem; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-read-more { gap: 10px; }

.blog-empty {
  text-align: center; padding: 80px 24px;
  color: var(--text-muted);
}
.blog-empty h3 { color: var(--navy); margin-bottom: 10px; }

/* ---- Single Post ---- */
.post-hero { background: var(--navy-gradient); padding: 172px 0 60px; }
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.post-hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.25; }
.post-hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,.62); font-size: .88rem;
}
.post-hero-meta strong { color: var(--white); }
.post-content-wrap { padding: 88px 0; background: var(--page-bg); }
.post-content {
  max-width: 820px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.85; color: var(--text);
}
.post-content h2 { color: var(--navy); margin: 40px 0 16px; }
.post-content h3 { color: var(--navy); margin: 30px 0 12px; }
.post-content p  { margin-bottom: 22px; }
.post-content ul, .post-content ol {
  margin: 0 0 22px 24px; list-style: disc;
}
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-muted);
}
.post-content img { border-radius: var(--radius); margin: 28px 0; }

/* ---- Links inside article body only (not nav, CTAs, breadcrumbs or footer) ---- */
.article-content a,
.post-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.article-content a:visited,
.post-content a:visited { color: var(--navy); }

.article-content a:hover,  .article-content a:focus,  .article-content a:active,
.post-content a:hover,     .post-content a:focus,     .post-content a:active { color: var(--red); }

.article-content a:focus-visible,
.post-content a:focus-visible {
  color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
/* Buttons inside the article keep their own styling */
.article-content a.btn, .post-content a.btn { text-decoration: none; color: inherit; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 600; font-size: .9rem;
  margin-bottom: 32px;
  transition: gap var(--transition);
}
.back-link:hover { gap: 12px; }

/* ============================================================
   ARTICLE PAGE  (rich blog post layout)
============================================================ */
/* Hero override: left-aligned, content-height */
.post-hero.article-hero {
  min-height: 0; display: block; text-align: left;
  padding: 150px 0 46px;
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 22px;
}
.breadcrumbs a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,.35); }
.breadcrumbs .current { color: var(--red); font-weight: 600; }
.article-hero-inner { max-width: 720px; }
.article-hero-inner .blog-tag { display: inline-block; margin-bottom: 16px; }
.article-hero-inner h1 { color: #fff; margin-bottom: 16px; }
.article-standfirst { color: rgba(255,255,255,.8); font-size: 1.15rem; line-height: 1.6; margin-bottom: 22px; max-width: 640px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  color: rgba(255,255,255,.65); font-size: .88rem;
}
.article-meta strong { color: #fff; font-weight: 600; }

/* Hero: text on the left, TOC box on the right */
.article-hero-cols { display: flex; gap: 44px; align-items: flex-start; }
.article-hero-inner { flex: 1; min-width: 0; }
.hero-toc {
  flex-shrink: 0; width: 310px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.hero-toc h4 { color: #fff; font-family: 'Bitter', Georgia, serif; font-size: .95rem; margin-bottom: 16px; }
.hero-toc .toc-list a { color: rgba(255,255,255,.82); }
.hero-toc .toc-list a:hover { color: #fff; }

/* Body: single, centered column */
.article-wrap { background: var(--page-bg); padding: 56px 0 80px; }
.article-col { max-width: 820px; margin: 0 auto; }
.article-featured {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); margin-bottom: 30px;
}
.post-content { max-width: none; }

/* Share row (below the article text) */
.share-inline {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 40px 0 8px; padding-top: 26px; border-top: 1px solid var(--border-gray);
}
.share-label { font-family: 'Bitter', Georgia, serif; font-weight: 700; color: var(--navy); font-size: .95rem; }
.copy-toast { color: var(--red); font-weight: 600; font-size: .85rem; }
button.share-btn { border: none; cursor: pointer; }
.share-btn.copy { background: var(--navy); }

/* Answer-first box */
.answer-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: #eaf1fa; border: 1px solid #d4e2f2;
  border-radius: var(--radius-lg); padding: 24px 26px; margin-bottom: 34px;
}
.answer-icon { flex-shrink: 0; width: 40px; height: 40px; }
.answer-icon svg { width: 100%; height: 100%; }
.answer-box strong { color: var(--navy); font-family: 'Bitter', Georgia, serif; display: block; margin-bottom: 6px; }
.answer-box p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin: 0; }

/* Inline contextual CTA */
.inline-cta {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  background: var(--clinic-blue); border: 1px solid var(--border-gray); border-top: 3px solid var(--turq);
  border-radius: var(--radius-lg); padding: 28px; margin: 40px 0;
}
.inline-cta > * { width: 100%; }
.inline-cta strong { color: var(--navy); font-family: 'Bitter', Georgia, serif; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.inline-cta p { color: var(--text-muted); font-size: .95rem; margin: 0; }
/* Button centred within the box; never wider than the box so it can't overflow */
.inline-cta .btn {
  align-self: center; width: auto; max-width: 100%;
  margin: 0 auto; white-space: normal; text-align: center;
}

/* Prev / Next */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 48px 0 8px; }
.post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius); padding: 18px 22px;
  transition: border-color var(--transition), transform var(--transition);
}
.post-nav-item:hover { border-color: var(--red); transform: translateY(-2px); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: .8rem; font-weight: 700; color: var(--red); }
.post-nav-title { color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.4; }

/* Related articles */
.related-articles { margin-top: 56px; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.related-head h2 { color: var(--navy); font-size: 1.5rem; }
.related-viewall { color: var(--red); font-weight: 600; font-size: .88rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius); overflow: hidden; transition: transform var(--transition);
}
.related-card:hover { transform: translateY(-4px); }
.related-img { height: 120px; overflow: hidden; background: var(--navy); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-img .blog-card-img-placeholder { font-size: 2rem; }
.related-card .related-cat { color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 14px 16px 0; }
.related-card h3 { color: var(--navy); font-size: .92rem; line-height: 1.4; padding: 6px 16px; flex: 1; }
.related-read { color: var(--text-muted); font-size: .78rem; padding: 0 16px 16px; }

/* Sidebar */
.article-sidebar { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-lg); padding: 22px 24px; }
.side-card h4 { color: var(--navy); font-size: .95rem; margin-bottom: 14px; font-family: 'Bitter', Georgia, serif; }
.side-note { color: var(--text-muted); font-size: .85rem; line-height: 1.65; }
.toc-list { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 10px; }
.toc-list li { counter-increment: toc; display: flex; gap: 10px; }
.toc-list li::before { content: counter(toc); color: var(--red); font-weight: 700; font-size: .85rem; }
.toc-list a { color: var(--text-muted); font-size: .88rem; line-height: 1.4; transition: color var(--transition); }
.toc-list a:hover { color: var(--red); }
.share-row { display: flex; gap: 12px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: transform var(--transition), opacity var(--transition); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn.fb { background: #1877f2; } .share-btn.li { background: #0a66c2; }
.share-btn.x { background: #111; } .share-btn.mail { background: var(--text-muted); }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.side-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; color: var(--red); font-weight: 600; font-size: .9rem; gap: 8px; transition: gap var(--transition); }
.side-links a span { transition: transform var(--transition); }
.side-links a:hover span { transform: translateX(3px); }
.side-viewall { display: inline-block; margin-top: 16px; color: var(--navy); font-weight: 600; font-size: .85rem; }
.side-sos { background: var(--navy-gradient); border: none; }
.side-sos h4 { color: #fff; }
.side-sos p { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.6; margin-bottom: 16px; }
.side-sos .btn { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .article-hero-cols { flex-direction: column; }
  .hero-toc { width: 100%; }
}
@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-hero.article-hero { padding-top: 130px; }
}

/* ============================================================
   FOOTER  (navy gradient + red stripe below)
============================================================ */
#site-footer { background: var(--navy-gradient); }
.footer-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; padding: 46px 24px;
}
.footer-logo img { height: 58px; width: auto; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-links p {
  margin: 0; color: rgba(255,255,255,.9);
  font-family: 'Bitter', Georgia, serif; font-size: 1rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.footer-links p span { color: rgba(255,255,255,.35); }
.footer-links a { color: rgba(255,255,255,.9); transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-socials { display: flex; align-items: center; gap: 16px; }
.footer-socials .social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: color var(--transition), transform var(--transition);
}
.footer-socials .social-link svg { width: 26px; height: 26px; fill: currentColor; }
.footer-socials .social-link:hover { color: var(--red); transform: translateY(-2px); }

.footer-bottom-stripe { background: var(--red); }

/* Form controls use the brand blue when checked */
input[type="checkbox"], input[type="radio"] { accent-color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  color: rgba(255,255,255,.9); font-size: .85rem;
}
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ============================================================
   ADMIN
============================================================ */
.admin-body { background: var(--page-bg); min-height: 100vh; }
.admin-header {
  background: var(--navy-gradient); padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; position: sticky; top: 0; z-index: 100;
}
.admin-header .logo { color: var(--white); font-weight: 800; font-size: 1rem; font-family: 'Bitter', Georgia, serif; }
.admin-header .logo span { color: #bfe6ea; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav a {
  font-family: 'Bitter', Georgia, serif;
  color: rgba(255,255,255,.7); padding: 7px 16px;
  border-radius: var(--pill); font-size: .88rem; font-weight: 500;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,.12); }
.admin-nav a.danger:hover { background: rgba(229,58,71,.35); color: #ffb2ad; }

.admin-main { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.admin-page-title { font-family: 'Bitter', Georgia, serif; font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 28px; }
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  overflow: hidden;
}
.admin-card-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-gray);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h3 { font-size: 1rem; color: var(--navy); }
.posts-table { width: 100%; }
.posts-table th, .posts-table td { padding: 14px 28px; text-align: left; }
.posts-table th { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border-gray); }
.posts-table tr:not(:last-child) td { border-bottom: 1px solid var(--border-gray); }
.posts-table tr:hover td { background: var(--page-bg); }
.posts-table td { font-size: .9rem; }
/* Status badge and row buttons share one pill shape and height */
.status-badge, .tbl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 16px;
  border-radius: var(--pill);
  font-family: 'Bitter', Georgia, serif;
  font-size: .78rem; font-weight: 700;
  line-height: 1; white-space: nowrap;
  border: none; box-sizing: border-box;
}
.status-published { background: rgba(39,174,96,.12); color: #27ae60; }
.status-draft     { background: rgba(127,140,141,.12); color: #7f8c8d; }
.tbl-actions { display: flex; gap: 8px; align-items: center; }
.tbl-btn { cursor: pointer; transition: all var(--transition); }
/* Edit and Delete identical width (toolbar buttons keep their natural size) */
.tbl-actions .tbl-btn { width: 84px; }
.tbl-actions form { display: inline-flex; }
.tbl-btn.edit   { background: rgba(34,55,83,.08); color: var(--navy); }
.tbl-btn.delete { background: rgba(229,58,71,.1); color: var(--red); }
.tbl-btn.edit:hover   { background: var(--navy); color: white; }
.tbl-btn.delete:hover { background: var(--red); color: white; }

.editor-wrap { padding: 28px; }
.editor-wrap .field { margin-bottom: 20px; }
.editor-wrap label { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: block; }
.editor-wrap input, .editor-wrap select, .editor-wrap textarea {
  width: 100%; padding: 12px 18px;
  border: 1.5px solid var(--border-gray); border-radius: var(--radius);
  font-size: .93rem; font-family: inherit; color: var(--text);
  background: var(--page-bg);
  transition: border-color var(--transition);
}
.editor-wrap input:focus, .editor-wrap select:focus, .editor-wrap textarea:focus {
  outline: none; border-color: var(--navy-grad-1); background: var(--white);
}
.editor-wrap textarea.content-area { min-height: 420px; font-family: 'Courier New', monospace; font-size: .88rem; border-radius: var(--radius); }
.editor-hint { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }
.editor-actions {
  display: flex; gap: 12px; padding: 20px 28px;
  border-top: 1px solid var(--border-gray);
  background: var(--page-bg);
}
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--navy-gradient);
}
.admin-login-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-login-card h1 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.admin-login-card p  { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }
.alert {
  padding: 12px 18px; border-radius: var(--radius);
  font-size: .9rem; margin-bottom: 20px;
}
.alert-error   { background: rgba(229,58,71,.1); color: var(--red); border: 1px solid rgba(229,58,71,.2); }
.alert-success { background: rgba(39,174,96,.1); color: #27ae60; border: 1px solid rgba(39,174,96,.2); }

/* ============================================================
   UTILITIES / EXTRAS
============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.divider {
  height: 34px; border: none; background: none;
  background: url('../images/divider.png?v=2') center / contain no-repeat;
  margin: 68px 0;
}

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ============================================================
   PEOPLE BEFORE CASES  (light-background values block)
============================================================ */
.people-section { background: var(--page-bg); text-align: center; }
.people-inner { max-width: 820px; margin: 0 auto; }
.people-section h2 { color: var(--red); margin-bottom: 22px; }
.people-body { color: var(--text-muted); font-size: 1.2rem; line-height: 1.85; margin-bottom: 26px; }
.people-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--navy); font-weight: 600;
  margin-bottom: 34px;
}

/* ============================================================
   INNER-PAGE HERO IMAGE  (storm image behind the gradient)
============================================================ */
.blog-hero, .post-hero {
  position: relative;
  /* Uniform hero height across every inner page, content vertically centered */
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 119px 0 44px; text-align: center;
  background: linear-gradient(180deg, rgba(20,30,52,.55) 0%, rgba(20,30,52,.78) 100%),
              url('../images/hero-inner-pages.jpg') center center / cover no-repeat;
}
.post-hero-inner { text-align: center; }
.post-hero .post-hero-meta { justify-content: center; }
/* Balance the title across two rows of similar length, and the text below */
.blog-hero h1, .post-hero h1 {
  text-wrap: balance; max-width: 18ch; margin-left: auto; margin-right: auto;
}
.blog-hero p { text-wrap: balance; }

/* ============================================================
   TESTIMONIALS / STORIES PAGE  (stacked single-column cards)
============================================================ */
.stories-section { background: var(--page-bg); }

/* ============================================================
   ABOUT PAGE  (wider text columns, page-bg, navy headings)
============================================================ */
.about-content { background: var(--page-bg); text-align: center; }
.about-content .help-list { text-align: left; }
.about-container { max-width: 1040px; }
.about-content h2 { color: var(--navy); margin-bottom: 20px; }
.about-content p  { color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.about-content p:last-child { margin-bottom: 0; }
.about-hero h1 { max-width: 30ch; }

/* Small print / footnotes used across the site */
.footnote { font-size: 18px; font-weight: 600; color: var(--text-muted); line-height: 1.6; }
.about-content .footnote { margin-top: 36px; }

/* ============================================================
   SOS PAGE  (first-aid grid with huge red numbers + emergency notice)
============================================================ */
.firstaid-section { background: var(--page-bg); }
.firstaid-section h2 { color: var(--red); text-align: center; margin-bottom: 48px; }
.firstaid-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 980px; margin: 0 auto;
}
.firstaid-item {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  display: flex; flex-direction: column;
}
.firstaid-num {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 800; color: var(--red);
  font-size: 72px; line-height: 1; margin-bottom: 14px;
}
.firstaid-item h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
.firstaid-item p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-bottom: 12px; }
.firstaid-item p:last-child { margin-bottom: 0; }

.emergency-notice {
  max-width: 820px; margin: 52px auto 0; text-align: left;
  background: rgba(229,58,71,.08);
  border: 1.5px solid rgba(229,58,71,.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.emergency-notice h3 { color: var(--red); margin-bottom: 12px; }
.emergency-notice p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.emergency-notice p:last-child { margin-bottom: 0; }

/* ============================================================
   FAQ — LIGHT VARIANT  (used on the standalone FAQ page)
============================================================ */
.faq-section.faq-light { background: var(--page-bg); }
.faq-light .faq-item {
  background: var(--white);
  border: 1.5px solid var(--border-gray);
}
.faq-light .faq-item.open { border-color: var(--red); }
.faq-light .faq-question { color: var(--navy); }
.faq-light .faq-answer   { color: var(--text-muted); }
.stories-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.story-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: grid; grid-template-columns: 92px 1fr; gap: 30px; align-items: start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.story-card:hover { transform: translateY(-3px); }
.story-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--navy-gradient); color: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; font-family: 'Bitter', Georgia, serif;
}
.story-avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-name { color: var(--navy); font-family: 'Bitter', Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.story-role { color: var(--text-muted); font-size: 1rem; }
.story-heading { color: var(--red); font-family: 'Bitter', Georgia, serif; font-size: 1.5rem; font-weight: 700; margin: 16px 0 10px; }
.story-body { color: var(--text-muted); font-size: 1.3125rem; line-height: 1.75; }
.story-body::before { content: '“'; color: var(--red); font-weight: 800; margin-right: 2px; }
.story-body::after  { content: '”'; color: var(--red); font-weight: 800; margin-left: 2px; }

/* ============================================================
   HELP-WITH LIST  (single column, lifebuoy bullets, larger text)
============================================================ */
.help-list-box {
  margin-top: 24px; padding: 30px 32px;
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-lg);
}
.help-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  width: fit-content; max-width: 100%; margin: 0 auto;   /* centered block, rows left-aligned */
  text-align: left;
}
.help-list li {
  display: flex; align-items: center; gap: 16px;
  font-size: 1.4rem; line-height: 1.3;
  font-weight: 600; color: var(--navy);
}
.help-list li::before {
  content: ''; flex-shrink: 0;
  width: 26px; height: 26px;
  background: url("../images/bullet.png") center / contain no-repeat;
}

/* ============================================================
   SOS PAGE — "Call us now" banner
============================================================ */
.call-label {
  font-size: 1.5rem; line-height: 1.4;
  max-width: none; margin-bottom: 10px;
}
.call-numbers {
  max-width: none; margin-bottom: 16px;
  font-size: 2.75rem; line-height: 1.3;
}
.call-numbers a {
  color: var(--red); font-weight: 800;
  text-decoration: underline; white-space: nowrap;
}
.call-or { color: rgba(255,255,255,.85); font-weight: 700; }
.call-hours { font-size: 1.3rem; max-width: none; margin-bottom: 36px; }

@media (max-width: 768px) {
  /* Stack the two numbers, one per line */
  .call-numbers a  { display: block; }
  .call-or         { display: none; }
  .call-numbers    { font-size: 2.1rem; }
  .call-label      { font-size: 1.25rem; }
  .call-hours      { font-size: 1.1rem; }
}

/* ============================================================
   COOKIE CONSENT BANNER
============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  background: var(--navy-gradient);
  border-top: 3px solid var(--red);
  box-shadow: 0 -6px 30px rgba(13,27,53,.28);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text strong {
  display: block; color: var(--white);
  font-family: 'Bitter', Georgia, serif; font-size: 1.05rem;
  margin-bottom: 6px;
}
.cookie-text p {
  color: rgba(255,255,255,.75);
  font-size: .9rem; line-height: 1.6; margin: 0; max-width: 720px;
}
.cookie-text a { color: var(--white); text-decoration: underline; font-weight: 600; }
.cookie-text a:hover { color: var(--red); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-actions .btn { padding: 13px 30px; font-size: .88rem; }
.btn-cookie-decline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: var(--pill);
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700; font-size: .88rem; letter-spacing: .015em;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  cursor: pointer; transition: all var(--transition);
}
.btn-cookie-decline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

@media (max-width: 768px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn, .btn-cookie-decline { width: 100%; }
}

/* ============================================================
   404 PAGE  (scoped — affects only 404.php)
============================================================ */
.hero-404 { min-height: 78vh; }
.hero-404::before {
  background: url('../images/404-hero.jpg') center center / cover no-repeat;
}
.hero-404::after {
  background: linear-gradient(90deg, rgba(20,30,52,.92) 0%, rgba(20,30,52,.78) 34%, rgba(20,30,52,.34) 64%, rgba(20,30,52,.08) 100%);
}
.hero-404 .hero-content { padding: 60px 0; }
.eyebrow-404 {
  display: inline-block;
  font-family: 'Bitter', Georgia, serif;
  font-size: .82rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-404 h1 em { color: var(--white); font-style: normal; }

/* Desktop: red button left, blue button right */
.btn-stack-404 {
  display: flex; flex-direction: row; justify-content: center;
  gap: 16px; margin-top: 36px; flex-wrap: wrap;
}
.btn-note-404 { margin: 16px 0 0; }

@media (max-width: 768px) {
  /* .hero.hero-404 beats the generic .hero mobile rule that comes later in the file */
  .hero.hero-404 { min-height: 0; }
  .hero.hero-404::before { background: url('../images/404-hero-mob.jpg') center center / cover no-repeat; }
  .hero.hero-404::after  { background: linear-gradient(180deg, rgba(20,30,52,.58) 0%, rgba(20,30,52,.88) 100%); }
  .hero.hero-404 .hero-content { min-height: 0; padding: 34px 0 44px; }
  .hero.hero-404 .hero-sub { margin-bottom: 0; }
  /* Mobile: stack the two buttons one above the other */
  .btn-stack-404 { flex-direction: column; align-items: center; gap: 12px; }
  .btn-stack-404 .btn { width: 100%; max-width: 340px; justify-content: center; }
}

/* Tighter gap between the trust boxes and the section that follows */
.trust-bar     { padding-bottom: 40px; }
.about-section { padding-top: 48px; }

/* Mobile-menu helpers */
.nav-links li.nav-mobile-only { display: none; }
body.menu-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main  { justify-content: center; text-align: center; }
}
@media (max-width: 768px) {
  body { font-size: 1.1rem; }
  .topbar-extra { display: none; }

  /* ---- Full-screen mobile menu ---- */
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .nav-cta    { display: inline-flex; }              /* SOS visible, normal width */
  .nav-links li.nav-mobile-only { display: block; }
  .nav-links li:not(:last-child)::after { display: none; }  /* no pipe separators */
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 2px;
    position: fixed; inset: 0; width: 100%; height: 100vh;
    background: rgba(30,43,71,.94);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    padding: 104px 40px 40px;
    transform: translateX(100%); transition: transform .32s ease;
    overflow-y: auto; z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%; text-align: left;
    color: #fff; font-size: 1.25rem; font-weight: 500;
    padding: 13px 0; border-radius: 0;
  }
  .nav-links a:hover, .nav-links a:active { color: var(--red); background: none; }
  .nav-links a.active { color: var(--red); font-weight: 700; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---- Homepage hero ---- */
  .hero::before { background: url('../images/mobile-hero.png') center center / cover no-repeat; }
  .hero::after  { background: linear-gradient(180deg, rgba(20,30,52,.5) 0%, rgba(20,30,52,.8) 100%); }
  .hero-content {
    display: flex; flex-direction: column;
    min-height: calc(100vh - 150px);
    padding: 20px 0 34px;
  }
  .hero h1        { font-size: 2.4rem; }             /* ~+20% */
  .hero-sub       { margin-bottom: 0; }
  .hero-actions   { flex-direction: column; margin-top: auto; margin-bottom: 9vh; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* ---- Trust boxes: equal squares ---- */
  .trust-bar-inner   { grid-template-columns: 1fr; gap: 18px; }
  .trust-item        { aspect-ratio: 1 / 1; }

  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .two-col-lists     { grid-template-columns: 1fr; }
  .list-card         { aspect-ratio: auto; }
  .list-card li      { padding: 12px 0; }

  /* ---- Mission: square boxes, number at top, text at bottom.
         Ratios scaled by box growth 327/242 = 1.351:
         number 0.264 -> 0.357 of box width, text 0.073 -> 0.0986 ---- */
  .mission-grid      {
    grid-template-columns: 1fr; gap: 18px;
    grid-auto-rows: 1fr;                       /* every box the same height */
  }
  .mission-item      {
    aspect-ratio: 1 / 1;                       /* square, like desktop */
    justify-content: space-between;            /* number up, text bottom */
    padding: clamp(20px, 6.4vw, 34px);
  }
  /* Fallback for very old browsers (approximate) */
  .mission-num       { font-size: clamp(74px, calc(35.7vw - 17.1px), 150px); line-height: 1; }
  .mission-item p    { font-size: clamp(22px, calc(9.86vw - 4.73px), 42px); line-height: 1.18; }

  /* Exact ratios measured against the box itself, not the viewport.
     cqw is relative to the content box (~0.835 of the full box after padding),
     so the target ratios are divided by that: 35.7/0.835 and 9.86/0.835.
     Result: number = 0.357 x box width, text = 0.0986 x box width. */
  @supports (container-type: inline-size) {
    .mission-item   { container-type: inline-size; }
    .mission-num    { font-size: 42.8cqw; }
    .mission-item p { font-size: 11.8cqw; }
  }

  .firstaid-grid     { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-grid::before{ display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-actions { flex-direction: column; align-items: center; }
  .testimonials-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .blog-grid         { grid-template-columns: 1fr 1fr; }
  .footer-main       { flex-direction: column; gap: 28px; }
  .footer-links      { justify-content: center; gap: 32px; }
  .footer-bottom     { flex-direction: column; gap: 12px; text-align: center; }
  .pill-form .form-row { grid-template-columns: 1fr; }
  .story-card        { grid-template-columns: 1fr; gap: 18px; text-align: center; padding: 28px 24px; }
  .story-avatar      { margin: 0 auto; }
  .help-list li      { font-size: 1.2rem; }

  /* ---- Inner-page hero: mobile image + tighter padding ---- */
  .blog-hero, .post-hero {
    min-height: 300px; margin-top: 119px; padding: 46px 0;   /* image starts right below the navbar */
    background: linear-gradient(180deg, rgba(20,30,52,.55) 0%, rgba(20,30,52,.8) 100%),
                url('../images/hero-inner-pages-mob.jpg') center center / cover no-repeat;
  }
  .blog-hero p { margin-top: 22px; }                          /* more space title → text */
  .post-hero.article-hero { min-height: 0; margin-top: 119px; padding: 40px 0; }
  .post-hero.article-hero .article-standfirst { margin-top: 20px; }

  /* ---- Storm sections: reduce vertical padding, open up title/text/button ---- */
  .storm-section    { padding: 62px 0; }
  .storm-section h2 { margin-bottom: 22px; }
  .storm-section p  { margin-bottom: 34px; }
}
@media (max-width: 480px) {
  .blog-grid  { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .section    { padding: 60px 0; }
  /* keep the tighter trust-boxes → text gap on small screens */
  .section.trust-bar     { padding-bottom: 28px; }
  .section.about-section { padding-top: 32px; }
}

/* ============================================================
   JEVDIĆ THEME OVERRIDES  (calm, warm re-theme of the ICR layout)
   Appended last so these rules win on source order.
============================================================ */

/* ---- Base polish ---- */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5 { letter-spacing: -0.01em; }

/* Buttons: keep readable contrast on hover everywhere (no invisible text on dark) */
.btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible {
  background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark);
}
.btn-navy:hover, .btn-navy:active, .btn-navy:focus-visible {
  background: transparent; color: var(--navy);
}

/* ---- Topbar ---- */
.topbar a { color: var(--accent-warm); }
.topbar-short { display: none; }
.topbar-full  { display: inline; }

/* ---- Header / nav spacing (longer Serbian CTA needs room) ---- */
.nav-inner { gap: 16px; }
.nav-links a { font-size: 1.02rem; padding: 8px 11px; }
.nav-cta { padding: 12px 24px; font-size: .86rem; }

/* ============================================================
   HERO — calm blue with a discreet sun watermark
============================================================ */
.hero { min-height: 80vh; background: var(--clinic-blue); }
.hero::before {
  background: url('../images/brand-symbol.png') no-repeat;
  background-position: right -60px center;
  background-size: 480px;
  opacity: .14;
}
.hero::after { background: none; }
.hero h1, .hero h1 em { color: var(--primary); }
.hero-sub { color: var(--text); font-weight: 500; }
.hero-note { color: var(--text-muted); font-size: 1.02rem; max-width: 540px; margin: -22px 0 34px; }
/* Secondary hero button reads on the light background */
.hero .btn-outline { color: var(--primary); border-color: var(--primary); }
.hero .btn-outline:hover, .hero .btn-outline:focus-visible {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero::before { background-position: right -140px top 16%; background-size: 340px; opacity: .12; }
  .hero::after  { background: none; }
  .hero-note { margin: -8px 0 20px; }
}

/* ============================================================
   TRUST CARDS — calmer type, turquoise icons
============================================================ */
.trust-icon { color: var(--turq); }
.trust-icon svg { width: 100%; height: 100%; }
.trust-item h3 {
  font-size: 1.4rem; font-weight: 700; color: var(--primary);
  margin-bottom: 12px; line-height: 1.25;
}
.trust-item p { font-size: 1.05rem; }
.trust-item:hover, .trust-item:focus-visible, .trust-item.active { box-shadow: var(--shadow); }
.trust-item:hover .trust-icon, .trust-item:focus-visible .trust-icon, .trust-item.active .trust-icon { color: var(--accent-warm); }
.trust-item:hover h3, .trust-item:focus-visible h3, .trust-item.active h3 { color: var(--white); }

/* ============================================================
   EMPATHY BLOCK — left photo, right text panel
============================================================ */
.empathy-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--clinic-blue) 0%, var(--heal-green) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding: 24px;
}
.empathy-photo img.photo-symbol { width: 120px; opacity: .8; }
.empathy-photo .photo-caption {
  font-family: 'Bitter', Georgia, serif; color: var(--primary);
  font-weight: 600; font-size: 1.05rem;
}
.empathy-photo.photo-placeholder { border: 1px dashed var(--border-gray); }
.empathy-photo > img.empathy-real { width: 100%; height: 100%; object-fit: cover; }
.empathy-cols .list-card h4 { color: var(--accent-warm); }
.empathy-cols .list-card li::marker { color: var(--accent-warm); }

/* ============================================================
   APPROACH — "Prvo čovek. Zatim metoda."
============================================================ */
.approach-section { background: var(--page-bg); }
.approach-inner { max-width: 820px; margin: 0 auto; }
.approach-section h2 { color: var(--primary); margin-bottom: 22px; }
.approach-lead { color: var(--text-muted); text-align: center; line-height: 1.85; margin-bottom: 34px; }
.principles-box {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg); padding: 30px 34px; margin: 0 auto;
  max-width: 720px; box-shadow: var(--shadow);
}
.principles-list { display: flex; flex-direction: column; gap: 16px; }
.principles-list li {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 1.12rem; line-height: 1.5; color: var(--text); font-weight: 500;
}
.principles-list li::before {
  content: ''; flex-shrink: 0; margin-top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.approach-highlight {
  text-align: center; max-width: 620px; margin: 36px auto 0;
  font-family: 'Bitter', Georgia, serif; font-style: italic;
  font-size: 1.3rem; line-height: 1.5; color: var(--pink);
}

/* ============================================================
   EMOTIONAL CTA — calm gradient, no storm photo
============================================================ */
.storm-section.calm-cta { background: var(--navy-gradient); }
.storm-section.calm-cta::before {
  background: url('../images/brand-symbol.png') no-repeat right -80px center / 360px;
  opacity: .1;
}
.storm-section.calm-cta h2 { color: var(--accent-warm); }
.storm-section.calm-cta p  { color: rgba(255,255,255,.9); }

/* ============================================================
   PROCESS / STEPS
============================================================ */
.journey-intro h2 { color: var(--primary); }
.step-item h3 { color: var(--primary); font-size: 1.2rem; }

/* ============================================================
   SAVETI (advice cards) + blog cards
============================================================ */
.advice-section { background: var(--heal-green); }
.blog-card-img { background: var(--clinic-blue); }
.blog-card-img-placeholder { background: var(--clinic-blue); }
.blog-card-img-placeholder img { width: 84px; height: 84px; opacity: .9; }
.blog-tag { background: rgba(63,154,168,.12); color: var(--turq); }
.blog-card-body h3 { color: var(--primary); font-size: 1.2rem; }
.blog-read-more { color: var(--turq); }
.blog-card:hover .blog-read-more { color: var(--accent-sun); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-header-centered h2 { color: var(--primary); }
.testimonial-body { font-size: 1rem; }
.author-title { color: var(--text-muted); font-style: normal; }
.testi-disclaimer { text-align: center; color: var(--text-muted); font-size: .92rem; margin-top: 28px; font-style: italic; }

/* ============================================================
   FAQ — accents on the dark panel
============================================================ */
/* FAQ is a light section now (fresh, not a dark panel) */
.faq-section { background: var(--testi-bg); }
.faq-section h2 { color: var(--primary); }
.faq-section .faq-item { background: var(--white); border: 1.5px solid var(--border-gray); }
.faq-section .faq-item.open { border-color: var(--turq); }
.faq-section .faq-question { color: var(--primary); }
.faq-section .faq-answer { color: var(--text-muted); }
.faq-icon { background: var(--turq); }

/* ============================================================
   CONTACT
============================================================ */
.contact-section h2 { color: var(--primary); }
.contact-details {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 720px; margin: 0 auto 30px;
}
.contact-detail {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.contact-detail-label {
  font-family: 'Bitter', Georgia, serif; font-weight: 600;
  color: var(--turq); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
}
.contact-detail a { color: var(--primary); font-weight: 600; }
.contact-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.form-note { text-align: center; color: var(--text-muted); font-size: .84rem; margin-top: 18px; line-height: 1.6; }

/* ============================================================
   FOOTER — 4 columns
============================================================ */
/* Light footer so the full-colour logo reads clearly */
#site-footer { background: var(--clinic-blue); border-top: 1px solid var(--border-gray); }
.footer-cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 54px 24px 46px; align-items: start;
}
.footer-brand { display: block; margin-bottom: 14px; }
.footer-logo-img { height: 70px; width: auto; }
.footer-about p { color: var(--text-muted); font-size: .98rem; line-height: 1.6; max-width: 300px; margin-top: 6px; }
.footer-col h4 {
  font-family: 'Bitter', Georgia, serif; color: var(--turq);
  font-size: 1rem; margin-bottom: 16px; font-weight: 600;
}
.footer-list, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-list a, .footer-contact a, .footer-contact li {
  color: var(--text); font-size: .96rem; transition: color var(--transition);
}
.footer-list a:hover, .footer-contact a:hover { color: var(--accent-sun); }
.footer-cols .footer-socials { margin-top: 18px; }
.footer-cols .footer-socials .social-link { color: var(--primary); }
.footer-cols .footer-socials .social-link:hover { color: var(--accent-sun); }
.footer-bottom-stripe { background: var(--primary); }
.footer-bottom { color: rgba(255,255,255,.9); font-size: .82rem; gap: 18px; }
.footer-bottom span:last-child { max-width: 640px; text-align: right; }

/* ============================================================
   HELP-LIST bullets (inner pages) — turquoise check instead of lifebuoy
============================================================ */
.help-list li::before {
  background: var(--turq);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat;
  width: 26px; height: 26px;
}

/* Cookie banner accent (blue panel → white accept button for contrast) */
.cookie-banner { border-top-color: var(--turq); }
.cookie-banner .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cookie-banner .btn-primary:hover { background: transparent; color: #fff; border-color: #fff; }

/* ============================================================
   RESPONSIVE (Jevdić additions)
============================================================ */
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .topbar-full  { display: none; }
  .topbar-short { display: inline; }
  .empathy-cols { grid-template-columns: 1fr; }
  .empathy-photo { aspect-ratio: 16 / 10; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: center; }
  .contact-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer-brand { justify-content: center; }
  .footer-about p { margin: 0 auto; }
  .footer-list, .footer-contact { align-items: center; }
  .footer-cols .footer-socials { justify-content: center; }
  .footer-bottom span:last-child { max-width: none; text-align: center; }
  .principles-list li { font-size: 1.05rem; }
}

/* ============================================================
   INNER-PAGE HEROES & CTA BANNERS — calm gradient (no ICR photos)
============================================================ */
.blog-hero, .post-hero { background: var(--navy-gradient); }
.blog-hero h1, .post-hero h1 { color: #fff; }
.blog-hero p { color: rgba(255,255,255,.82); }
.storm-section { background: var(--navy-gradient); }
.storm-section::before { background: none; }
.storm-section h2 { color: var(--accent-warm); }
@media (max-width: 768px) {
  .blog-hero, .post-hero { background: var(--navy-gradient); }
}

/* ============================================================
   TOPIC GRID  (Tegobe / Metode listing pages)
============================================================ */
.topics-section { background: var(--page-bg); }
.topics-section .journey-intro h2 { color: var(--primary); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topic-card {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg); padding: 26px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.topic-card:hover { transform: translateY(-3px); border-color: var(--turq); box-shadow: var(--shadow); }
.topic-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; line-height: 1.3; }
.topic-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.topics-note {
  max-width: 760px; margin: 40px auto 0; text-align: center;
  color: var(--text-muted); font-size: .95rem; line-height: 1.7;
}
.topic-subhead {
  text-align: center; color: var(--turq); font-family: 'Bitter', Georgia, serif;
  font-size: 1.15rem; font-weight: 600; margin: 52px 0 22px;
}
@media (max-width: 900px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ROUND 3 — palette balance, steps, contact rows, button pairs
============================================================ */
/* A second Soft Healing Green block (trust section) to balance Saveti */
.trust-bar { background: var(--heal-green); }

/* Teal circles for the numbered process steps (1–4) */
.step-num { background: var(--turq); }

/* Mission / "Naša načela" numbered squares — white numbers on the blue panel */
.mission-num { color: #fff; }

/* Contact details: plain data, one row each, with an icon */
.contact-info {
  list-style: none; width: fit-content; max-width: 100%;
  margin: 0 auto 30px; display: flex; flex-direction: column; gap: 14px;
}
.contact-info li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; color: var(--text); }
.contact-info li a { color: var(--primary); font-weight: 600; }
.contact-info .ci-ico { flex-shrink: 0; width: 24px; height: 24px; color: var(--turq); display: inline-flex; }
.contact-info .ci-ico svg { width: 100%; height: 100%; }

/* Two-button rows: equal size, centered left & right of the middle (never the hero) */
.contact-actions .btn,
.testimonials-actions .btn,
.btn-stack-404 .btn {
  flex: 1 1 0; max-width: 320px;
  padding-left: 26px; padding-right: 26px;
  justify-content: center; text-align: center; white-space: normal;
}
@media (max-width: 768px) {
  .contact-actions .btn,
  .testimonials-actions .btn,
  .btn-stack-404 .btn { flex: 1 1 100%; max-width: 360px; }
}

/* ============================================================
   HERO PHOTO — Vršac lifestyle image, text/buttons on the right
============================================================ */
.hero { background: var(--clinic-blue); }
.hero::before {
  background: url('../images/hero.png') no-repeat;
  background-position: 20% center;
  background-size: cover;
  opacity: 1;
}
/* Light scrim, strongest on the right so the blue text stays legible */
.hero::after {
  background: linear-gradient(90deg,
    rgba(246,251,254,0) 0%,
    rgba(246,251,254,0) 40%,
    rgba(238,247,251,.70) 60%,
    rgba(238,247,251,.93) 100%);
}
.hero-content { margin-left: auto; text-align: right; max-width: 560px; }
.hero-content .hero-sub, .hero-content .hero-note { margin-left: auto; }
.hero-actions { justify-content: flex-end; }

@media (max-width: 900px) {
  .hero::before { background-position: 26% center; }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(238,247,251,.30) 0%,
      rgba(238,247,251,.72) 55%,
      rgba(238,247,251,.95) 100%);
  }
  .hero-content { margin: 0; text-align: center; max-width: none; }
  .hero-content .hero-sub, .hero-content .hero-note { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ============================================================
   HOMEPAGE COPY ROUND (DOCX FINAL) — scoped to homepage classes
============================================================ */

/* ---- Empathy block: fotografija levo, plavi panel desno ---- */
.empathy-cols { align-items: stretch; }
.empathy-cols .list-card { aspect-ratio: auto; overflow: visible; }
.empathy-cols .list-card-intro {
  color: rgba(255,255,255,.92); font-size: 1.1rem; line-height: 1.5; margin: 0 0 8px;
}
.empathy-cols .list-card ul { margin-bottom: 4px; }
.empathy-cols .list-card li { font-size: 1.15rem; padding: 7px 0; }
.list-card-cta { margin-top: auto; padding-top: 20px; }

.empathy-photo.has-photo {
  position: relative; display: block; padding: 0; border: 0;
  background: var(--clinic-blue);
}
.empathy-photo.has-photo img.empathy-real {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
}
@media (min-width: 769px) {
  .empathy-cols .empathy-photo.has-photo { aspect-ratio: auto; min-height: 420px; }
}
@media (max-width: 768px) {
  .empathy-cols .empathy-photo.has-photo { aspect-ratio: 1 / 1; }
}

/* ---- Dijagnostika i terapija: tri pasusa + CTA ---- */
.approach-inner .approach-lead { margin-bottom: 18px; }
.approach-cta { text-align: center; margin-top: 34px; }

/* ---- Metode: otvoren, miran grid (bez plavih kvadrata) ---- */
.methods-section { background: var(--page-bg); }
.methods-section .journey-intro { margin-bottom: 44px; }
.methods-section .journey-intro h2 { color: var(--primary); }
.methods-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 44px 32px; max-width: 1040px; margin: 0 auto;
}
.method-item { flex: 0 1 calc((100% - 64px) / 3); text-align: center; }
.method-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--clinic-blue); color: var(--turq);
  display: flex; align-items: center; justify-content: center;
}
.method-icon svg { width: 36px; height: 36px; }
.method-item h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 8px; line-height: 1.3; }
.method-item p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; max-width: 300px; margin: 0 auto; }
@media (max-width: 900px) { .method-item { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 600px) { .method-item { flex-basis: 100%; } }

/* ---- Saveti: CTA kartice sa strelicom (tekst ostaje tačan) ---- */
.advice-section .blog-read-more::after { content: "→"; margin-left: 8px; display: inline-block; }

/* ---- Iskustva: placeholder tekst ---- */
.testimonial-body.is-placeholder { color: var(--text-muted); opacity: .8; }

/* ---- Kontakt: dve kolone (Kontakt i radno vreme / Šta poneti) ---- */
.contact-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 900px; margin: 0 auto 30px; align-items: stretch;
}
.contact-col {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg); padding: 28px 30px;
}
.contact-col h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 18px; }
.contact-col .contact-info { width: 100%; margin: 0; gap: 12px; }
.contact-col .contact-info li { align-items: flex-start; font-size: 1.02rem; }
.contact-col .contact-info .ci-ico { margin-top: 2px; }
.contact-col .contact-info li span:last-child { min-width: 0; overflow-wrap: anywhere; }
.bring-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.bring-list li { position: relative; padding-left: 34px; font-size: 1.05rem; color: var(--text); }
.bring-list li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.bring-note { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
@media (max-width: 768px) { .contact-cols { grid-template-columns: 1fr; } }

/* ---- Trust kartice: iste visine i kad se slažu jedna ispod druge ---- */
@media (max-width: 768px) { .trust-bar-inner { grid-auto-rows: 1fr; } }

/* ---- Footer: tri kolone (brend / linkovi / kontakt) ---- */
.footer-cols { grid-template-columns: 1.7fr 1fr 1.3fr; }
.footer-about p { max-width: 380px; }
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---- Trust kartice: širinu određuje kolona, ne aspect-ratio (duži copy ne sme da izbaci red) ---- */
.trust-item { justify-self: stretch; align-self: stretch; min-width: 0; }

/* ============================================================
   ROUND 5 — inner-page hero photo, Tegobe page, tablet nav
============================================================ */

/* ---- Inner-page hero: dr Jevdić photo on ALL inner pages.
        Doctor sits right of centre, so the text is left-aligned over a left-weighted blue scrim. ---- */
/* The fixed header (topbar + nav, ~119px) covers the top of every hero, so the photo is painted
   only in the part BELOW it (::before). That way the doctor's head is never cut off. */
.blog-hero, .post-hero { position: relative; background: var(--navy-grad-2); }
.blog-hero::before, .post-hero::before {
  content: ''; position: absolute; inset: 119px 0 0 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(52,76,112,.84) 0%, rgba(52,76,112,.66) 34%, rgba(52,76,112,.16) 60%, rgba(52,76,112,0) 100%),
    url('../images/hero-inner-pages.jpg?v=3') 60% 8% / cover no-repeat;
}
.blog-hero > .container, .post-hero > .container { position: relative; z-index: 1; }
.blog-hero > .container { width: 100%; text-align: left; }
.blog-hero h1 {
  margin-left: 0; margin-right: auto; max-width: 540px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.blog-hero p { margin-left: 0; margin-right: auto; max-width: 480px; }
@media (max-width: 768px) {
  /* On mobile the hero already starts below the header (margin-top), so the photo fills it */
  .blog-hero::before, .post-hero::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(52,76,112,.58) 0%, rgba(52,76,112,.80) 100%),
      url('../images/hero-inner-pages-mob.jpg?v=3') 70% center / cover no-repeat;
  }
}

/* ---- Tegobe: šest kategorija ---- */
.tegobe-grid { align-items: stretch; gap: 24px; }
.tegobe-card { display: flex; flex-direction: column; padding: 30px 28px; }
.tegobe-card .topic-icon {
  width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%;
  background: var(--clinic-blue); color: var(--turq);
  display: flex; align-items: center; justify-content: center;
}
.tegobe-card .topic-icon svg { width: 30px; height: 30px; }
.tegobe-card h3 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }
.tegobe-card .topic-intro { font-size: 1.125rem; line-height: 1.6; color: var(--text); }
.tegobe-card .topic-list {
  font-size: 1.0625rem; line-height: 1.65; color: var(--text-muted);
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-gray);
  overflow-wrap: break-word;
}
.topic-link {
  margin-top: auto; padding-top: 18px;
  display: inline-flex; align-items: baseline; gap: 8px;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--turq);
  transition: color var(--transition);
}
.topic-link::after { content: "→"; flex-shrink: 0; }
a.topic-link:hover { color: var(--accent-sun); }
a.topic-link:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 4px; }
.topic-link--pending { cursor: default; }

/* ---- Ostale tegobe: lagan, full-width tekstualni blok (nije kartica) ---- */
.other-section { background: var(--testi-bg); padding: 64px 0; }
.other-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.other-inner h2 { color: var(--primary); margin-bottom: 16px; }
.other-inner p { color: var(--text); font-size: 1.15rem; line-height: 1.8; }

/* ---- Navigacija: hamburger meni i na tabletu (769–1080px), jer lista linkova ne staje u red ---- */
@media (max-width: 1080px) {
  .nav-links { background: rgba(52,76,112,.97); }
  .nav-links a:hover, .nav-links a:active { color: var(--accent-sun); background: none; }
  .nav-links a.active { color: var(--accent-warm); font-weight: 700; }
}
@media (min-width: 769px) and (max-width: 1080px) {
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .nav-links li.nav-mobile-only { display: block; }
  .nav-links li:not(:last-child)::after { display: none; }
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 2px; position: fixed; inset: 0; width: 100%; height: 100vh;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    padding: 104px 40px 40px;
    transform: translateX(100%); transition: transform .32s ease;
    overflow-y: auto; z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%; text-align: left;
    color: #fff; font-size: 1.25rem; font-weight: 500;
    padding: 13px 0; border-radius: 0;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   ROUND 6 — stranica Metode (klase .m-*, ne diraju ostale stranice)
============================================================ */
.m-section { padding: 84px 0; }
.m-assess  { background: var(--page-bg); }
.m-therapy { background: var(--testi-bg); }

.m-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.m-head h2 { color: var(--primary); margin-bottom: 14px; }
.m-head p  { color: var(--text); font-size: 1.15rem; line-height: 1.75; }

/* ---- kartice ---- */
.m-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.m-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; align-items: stretch; }
.m-card {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg); display: flex; flex-direction: column;
}
.m-card--big     { padding: 36px 34px; }
.m-card--compact { padding: 26px 24px; }
.m-icon {
  width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--clinic-blue); color: var(--turq);
  display: flex; align-items: center; justify-content: center;
}
.m-icon svg { width: 30px; height: 30px; }
.m-card h3, .m-premium-col h3 { color: var(--primary); line-height: 1.3; }
.m-card--big h3     { font-size: 1.55rem; margin-bottom: 14px; }
.m-card--compact h3 { font-size: 1.25rem; margin-bottom: 10px; }
.m-card p, .m-premium-col p { color: var(--text); font-size: 1.125rem; line-height: 1.65; margin-bottom: 14px; }
.m-card--compact p { margin-bottom: 0; }

/* ---- čipovi (liste razdvojene tačkom) ---- */
.m-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.m-chips li {
  font-size: 1.0625rem; font-weight: 600; line-height: 1.3;
  padding: 7px 14px; border-radius: var(--pill);
  background: var(--clinic-blue); color: var(--primary-dark);
}

/* ---- D. kozmetika: svetliji premium blok ---- */
.m-premium {
  position: relative; overflow: hidden; padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--heal-green) 100%);
}
.m-premium::before {
  content: ''; position: absolute; right: -140px; top: -70px; width: 480px; height: 480px;
  background: url('../images/brand-symbol.png') center / contain no-repeat;
  opacity: .09; pointer-events: none;
}
.m-premium > .container { position: relative; z-index: 1; }
.m-premium .m-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.m-premium-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,.88); border: 1px solid var(--border-gray);
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.m-premium-col { padding: 48px 44px; display: flex; flex-direction: column; }
.m-premium-col + .m-premium-col { border-left: 1px solid var(--border-gray); }
.m-premium-col h3 { font-size: 1.6rem; margin-bottom: 14px; }
.m-premium-col h3::before {  /* mala sunčana linija */
  content: ''; display: block; width: 44px; height: 3px; margin-bottom: 16px;
  background: var(--accent-sun); border-radius: 2px;
}
.m-premium-col .m-icon { background: var(--heal-green); }
.m-premium-col .m-chips li { background: var(--heal-green); }

/* ---- E. podrška: lagan horizontalni panel ---- */
.m-support { background: var(--white); padding: 72px 0; border-bottom: 1px solid var(--border-gray); }
.m-support-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  max-width: 1040px; margin: 0 auto;
}
.m-support h2 { color: var(--primary); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.m-support p { color: var(--text); font-size: 1.125rem; line-height: 1.7; }
.m-support .m-chips { margin: 0; gap: 10px; }
.m-support .m-chips li { background: var(--heal-green); }

/* ---- F. završni praktičan blok ---- */
.m-end { background: var(--page-bg); padding: 76px 0; text-align: center; }
.m-end-inner { max-width: 680px; margin: 0 auto; }
.m-end h2 { color: var(--primary); margin-bottom: 14px; }
.m-end p  { color: var(--text); font-size: 1.15rem; line-height: 1.75; margin-bottom: 28px; }

/* ---- responsive ---- */
@media (max-width: 1100px) { .m-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  {
  .m-support-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px)  {
  .m-section { padding: 60px 0; }
  .m-premium { padding: 68px 0; }
  .m-premium-grid { grid-template-columns: 1fr; }
  .m-premium-col { padding: 34px 26px; }
  .m-premium-col + .m-premium-col { border-left: 0; border-top: 1px solid var(--border-gray); }
}
@media (max-width: 700px)  {
  .m-grid-2 { grid-template-columns: 1fr; }
  .m-card--big { padding: 28px 24px; }
}
@media (max-width: 560px)  { .m-grid-4 { grid-template-columns: 1fr; } }

/* Metode: dugačak H1 traži malo više vazduha ispod fiksnog headera i nešto širi red */
.metode-hero { padding-top: 146px; padding-bottom: 54px; }
.metode-hero h1 { max-width: 580px; }
@media (max-width: 768px) { .metode-hero { padding-top: 46px; padding-bottom: 46px; } }
.m-head h2, .m-end h2, .m-support h2 { text-wrap: balance; }

/* ============================================================
   ROUND 7 — stranica "O dr Jevdiću" (klase .ab-*, .cta-pair)
============================================================ */
.ab-section { padding: 88px 0; }
.ab-learn     { background: var(--page-bg); }
.ab-know      { background: var(--white); }
.ab-view      { background: var(--page-bg); }
.ab-expertise { background: var(--white); border-top: 1px solid var(--border-gray); }
.ab-work      { background: var(--testi-bg); }

/* tipografija tekstualnih blokova */
.ab-text h2, .ab-prose h2, .ab-panel h2, .ab-quote h2 { color: var(--primary); margin-bottom: 22px; }
.ab-text p, .ab-prose p, .ab-panel p, .ab-quote p {
  color: var(--text); font-size: 1.15rem; line-height: 1.8; margin-bottom: 18px;
}
.ab-prose .ab-lead, .ab-quote .ab-lead { font-size: 1.3rem; line-height: 1.7; color: var(--primary-dark); }
.ab-prose { max-width: 820px; margin: 0 auto; }
.ab-text p:last-child, .ab-prose p:last-child, .ab-panel p:last-child, .ab-quote p:last-child { margin-bottom: 0; }

/* dvokolonski rasporedi */
.ab-two { display: grid; gap: 64px; max-width: 1080px; margin: 0 auto; }
.ab-two--learn { grid-template-columns: 1.25fr 1fr; align-items: center; }
.ab-two--view  { grid-template-columns: 1.3fr 1fr;  align-items: start; }

/* 2. rečenica kao tipografski element (bez fotografije) */
.ab-statement { border-left: 4px solid var(--accent-sun); padding: 8px 0 8px 32px; }
.ab-statement p {
  font-family: 'Bitter', Georgia, serif; font-weight: 600; margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.25; color: var(--primary);
}

/* 3. lični blok: svetla brend pozadina + diskretan sun-wheel */
.ab-quote { position: relative; overflow: hidden; background: var(--clinic-blue); padding: 100px 0; text-align: center; }
.ab-quote::before {
  content: ''; position: absolute; right: -120px; top: 50%; width: 440px; height: 440px;
  transform: translateY(-50%); pointer-events: none; opacity: .09;
  background: url('../images/brand-symbol.png') center / contain no-repeat;
}
.ab-quote > .container { position: relative; z-index: 1; }
.ab-quote-inner { max-width: 780px; margin: 0 auto; }
.ab-quote h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }

/* 4. milestone timeline (bez godina) */
.ab-timeline {
  --gap: 32px;
  list-style: none; padding: 0; margin: 60px auto 0; max-width: 1080px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.ab-timeline li { position: relative; padding-top: 36px; }
.ab-timeline li::before {  /* mala narandžasta tačka */
  content: ''; position: absolute; top: 0; left: 0; z-index: 1;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-sun); box-shadow: 0 0 0 5px var(--white);
}
.ab-timeline li:not(:last-child)::after {  /* tanka linija do sledeće tačke */
  content: ''; position: absolute; top: 6px; left: 14px;
  width: calc(100% + var(--gap) - 14px); height: 2px; background: #bcd0de;
}
.ab-timeline h3 { color: var(--primary); font-size: 1.2rem; line-height: 1.35; margin-bottom: 8px; }
.ab-timeline p  { color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; margin: 0; }

/* 5. lista kratkih stavki (bez kartica) */
.ab-points { list-style: none; margin: 0; padding: 4px 0 4px 36px; border-left: 1px solid var(--border-gray); }
.ab-points li {
  position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--border-gray);
  font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 1.2rem; line-height: 1.4; color: var(--primary);
}
.ab-points li:last-child { border-bottom: 0; }
.ab-points li::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px;
  transform: translateY(-50%); border-radius: 50%; background: var(--green);
}

/* 6. četiri jednostavna, jednaka elementa */
.ab-areas {
  list-style: none; padding: 0; margin: 48px auto 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.ab-areas li {
  padding-top: 18px; border-top: 3px solid var(--turq);
  font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 1.25rem; line-height: 1.35; color: var(--primary);
}

/* 7. svetao panel */
.ab-panel {
  max-width: 860px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--border-gray); border-radius: var(--radius-lg);
  padding: 48px 52px; box-shadow: var(--shadow);
}

/* 8. par dugmadi u završnom CTA: iste veličine, centrirani */
.cta-pair { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-pair .btn {
  flex: 1 1 0; max-width: 340px; justify-content: center; text-align: center;
  white-space: normal; padding-left: 26px; padding-right: 26px;
}

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .ab-timeline { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-top: 44px; }
  .ab-timeline li { padding: 0 0 30px 38px; }
  .ab-timeline li:last-child { padding-bottom: 0; }
  .ab-timeline li::before { top: 6px; }
  .ab-timeline li:not(:last-child)::after { top: 20px; left: 6px; width: 2px; height: calc(100% - 14px); }
}
@media (max-width: 900px) {
  .ab-two--learn, .ab-two--view { grid-template-columns: 1fr; gap: 36px; }
  .ab-areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ab-section { padding: 60px 0; }
  .ab-quote { padding: 68px 0; }
  .ab-panel { padding: 32px 24px; }
  .ab-statement { padding-left: 24px; }
  .ab-points { padding-left: 22px; }
  .cta-pair { flex-direction: column; align-items: center; }
  .cta-pair .btn { flex: none; width: 100%; max-width: 340px; }
}
@media (max-width: 520px) { .ab-areas { grid-template-columns: 1fr; gap: 22px; } }

/* O dr Jevdiću: ista leva ivica za naslove, tekst, timeline i oblasti (širina čitanja ostaje 820px) */
.ab-prose, .ab-two, .ab-timeline, .ab-areas { max-width: 1040px; }
.ab-prose p { max-width: 820px; }

/* ============================================================
   ROUND 8 — admin interfejs (iskustva + objave) i kartice iskustava
============================================================ */

/* promenljive koje su admin stranice koristile a nisu postojale (granice polja bile nevidljive) */
:root { --gray-light: #DCEAF1; --off-white: #F6FBFE; }

/* ---- zajednički admin elementi ---- */
.admin-body { font-size: 1rem; line-height: 1.55; }
.admin-header { flex-wrap: wrap; gap: 8px 16px; height: auto; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.admin-nav { flex-wrap: wrap; }
.admin-titlebar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-titlebar .admin-page-title { margin: 0; }
.admin-back { color: var(--text-muted); font-size: .95rem; }
.admin-back:hover { color: var(--primary); }
.admin-help { color: var(--text-muted); font-size: .98rem; line-height: 1.6; margin: -4px 0 20px; max-width: 760px; }
.admin-empty { padding: 48px 24px; text-align: center; color: var(--text-muted); }
.admin-empty a { color: var(--primary); font-weight: 600; }
.admin-table-wrap { overflow-x: auto; }
.posts-table .cell-strong { font-weight: 600; color: var(--primary-dark); white-space: nowrap; }
.posts-table .cell-muted  { color: var(--text-muted); }
.admin-main .alert { margin-bottom: 20px; }
.admin-card + .admin-card, .admin-card + .admin-more, .admin-more + .admin-card, .admin-more + .admin-bottom-save { margin-top: 20px; }

/* dvokolonski raspored forme: glavni sadržaj + bočna kolona */
.admin-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.admin-col-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
.admin-col-side .admin-card + .admin-card { margin-top: 0; }
.admin-split .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-split .field label .hint, .admin-sub .hint { font-weight: 400; color: var(--text-muted); font-size: .8rem; }
.admin-split .chk { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text); }
.admin-split .chk input { width: auto; }
.admin-split .chk-grid { display: grid; grid-template-columns: 1fr; gap: 8px; max-height: 210px; overflow: auto; padding: 4px; }
.admin-thumb { width: 100%; border-radius: var(--radius); margin-bottom: 12px; }
.admin-bottom-save { display: flex; justify-content: flex-end; }

/* sklopivo "napredno" */
.admin-more { background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-lg); overflow: hidden; }
.admin-more > summary {
  cursor: pointer; list-style: none; padding: 18px 28px;
  font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 1rem; color: var(--primary-dark);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.admin-more > summary::-webkit-details-marker { display: none; }
.admin-more > summary::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--clinic-blue); color: var(--primary); font-weight: 700; }
.admin-more[open] > summary::before { content: '\2212'; }
.admin-more > summary .hint { font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: .85rem; color: var(--text-muted); }
.admin-more > summary:focus-visible { outline: 2px solid var(--turq); outline-offset: -2px; }
.admin-more[open] > summary { border-bottom: 1px solid var(--border-gray); }
.admin-more > .editor-wrap, .admin-more-body { padding: 24px 28px; }
.admin-sub {
  font-family: 'Bitter', Georgia, serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--turq); margin: 28px 0 14px; padding-top: 22px; border-top: 1px solid var(--border-gray);
}
.admin-more-body > .admin-sub:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---- vizuelni editor teksta ---- */
.rte-meta { font-size: .85rem; color: var(--text-muted); }
.rte-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 10px; background: var(--off-white); border: 1px solid var(--border-gray);
  border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0;
}
.rte-toolbar button {
  border: 1px solid var(--border-gray); background: var(--white); color: var(--primary-dark);
  border-radius: 8px; padding: 6px 12px; font: 600 .88rem 'Source Sans 3', sans-serif; cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.rte-toolbar button:hover { background: var(--clinic-blue); border-color: var(--turq); }
.rte-toolbar button:focus-visible { outline: 2px solid var(--turq); outline-offset: 1px; }
.rte-toolbar.is-disabled button { opacity: .4; pointer-events: none; }
.rte-sep { width: 1px; align-self: stretch; background: var(--border-gray); margin: 2px 4px; }
.rte-area {
  display: block; min-height: 380px; max-height: 70vh; overflow: auto; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--border-gray); border-radius: 0 0 var(--radius) var(--radius);
  font-size: 1.1rem; line-height: 1.75; color: var(--text); outline: none;
}
.rte-area[hidden] { display: none; }
.rte-area:focus { border-color: var(--turq); box-shadow: 0 0 0 2px rgba(63,154,168,.18); }
.rte-area:empty::before { content: attr(data-placeholder); color: var(--text-muted); }
.rte-area h2 { font-size: 1.6rem; color: var(--primary); margin: 1.2em 0 .5em; }
.rte-area h3 { font-size: 1.3rem; color: var(--primary); margin: 1em 0 .4em; }
.rte-area p  { margin: 0 0 1em; }
.rte-area ul { margin: 0 0 1em 1.4em; list-style: disc; }
.rte-area blockquote { border-left: 4px solid var(--turq); margin: 1em 0; padding: 6px 18px; color: var(--text-muted); font-style: italic; }
.rte-area a { color: var(--primary); text-decoration: underline; }
.rte-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.rte-link { background: none; border: 0; padding: 0; cursor: pointer; font: 600 .9rem 'Source Sans 3', sans-serif; color: var(--primary); text-decoration: underline; }
#content-area:not([hidden]) { display: block; width: 100%; border-radius: 0 0 var(--radius) var(--radius); min-height: 380px; }

/* ---- pregled kartice iskustva u adminu ---- */
.admin-preview { box-shadow: none; padding: 24px 20px; }
.admin-preview:hover { transform: none; }
.admin-preview .testimonial-body { white-space: pre-line; display: block; font-size: .98rem; line-height: 1.7; }

/* ---- kartice iskustava na sajtu: duži tekst, ravnomerno ---- */
.testimonial-body { display: block; font-size: 1.0625rem; line-height: 1.7; text-align: left; }
.testimonial-card .testimonial-author { text-align: center; margin-top: auto; }
.testimonials-grid { align-items: stretch; }
.story-body { white-space: normal; }

@media (max-width: 900px) {
  .admin-split { grid-template-columns: 1fr; }
  .admin-col-side { position: static; }
  .admin-main { padding: 28px 16px; }
}
@media (max-width: 560px) {
  .admin-split .two { grid-template-columns: 1fr; }
  .admin-more > summary, .admin-more > .editor-wrap, .admin-more-body { padding-left: 18px; padding-right: 18px; }
}
.testimonial-body { align-self: stretch; }

/* ============================================================
   ROUND 9 — Priručnik: lista, pretraga, kategorije/tagovi, članak
============================================================ */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- pretraga ---- */
.blog-search-bar { background: var(--clinic-blue); padding: 28px 0; border-bottom: 1px solid var(--border-gray); }
.blog-search { display: flex; gap: 12px; max-width: 720px; margin: 0 auto; }
.blog-search input[type="search"] {
  flex: 1; min-width: 0; padding: 15px 26px; border: 1.5px solid var(--border-gray);
  border-radius: var(--pill); background: var(--white); color: var(--text);
  font: 400 1.0625rem 'Source Sans 3', sans-serif;
}
.blog-search input[type="search"]::placeholder { color: var(--text-muted); }
.blog-search input[type="search"]:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(63,154,168,.18); }
.blog-search .btn { padding: 14px 30px; flex-shrink: 0; }

.blog-list-section { background: var(--page-bg); }
.blog-results { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; }
.blog-results a { color: var(--turq); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blog-results a:hover { color: var(--accent-sun); }

/* ---- kartica: cela je klikabilna (naslov), kategorija je poseban link iznad ---- */
.blog-card { position: relative; }
.blog-card-link { color: inherit; }
.blog-card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.blog-card-link:focus-visible { outline: none; }
.blog-card:has(.blog-card-link:focus-visible) { outline: 2px solid var(--turq); outline-offset: 3px; }
.blog-meta { flex-wrap: wrap; font-size: .92rem; }
.blog-meta .blog-tag { position: relative; z-index: 2; transition: background var(--transition), color var(--transition); }
a.blog-tag:hover { background: var(--turq); color: #fff; }
.blog-card-body h3 { font-size: 1.3rem; line-height: 1.35; }
.blog-card-body .blog-card-excerpt {
  font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-read-more { font-size: 1rem; }

/* ---- članak: hero bez fotografije (TOC stoji u heroju), dr Jevdić foto ostaje na ostalim stranicama ---- */
.post-hero { background: var(--navy-gradient); }
.post-hero::before {
  inset: 0; opacity: .1;
  background: url('../images/brand-symbol.png') no-repeat right -90px center / 420px;
}
.article-hero .blog-tag { background: rgba(255,255,255,.18); color: #fff; font-size: .95rem; }
.article-hero a.blog-tag:hover { background: #fff; color: var(--primary); }
.article-hero .breadcrumbs .current { color: #fff; }
.article-meta { gap: 6px 22px; }
.article-meta strong { color: #fff; }
.answer-box { background: var(--clinic-blue); border-color: var(--border-gray); }
.answer-icon { color: var(--turq); }
.answer-box p { font-size: 1.05rem; color: var(--text); }
@media (max-width: 768px) {
  .post-hero::before { inset: 0; background: url('../images/brand-symbol.png') no-repeat right -150px top 12px / 320px; opacity: .1; }
}

/* ---- "Teme:" na dnu članka ---- */
.post-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 40px 0 8px; padding-top: 26px; border-top: 1px solid var(--border-gray);
}
.post-tags-label { font-family: 'Bitter', Georgia, serif; font-weight: 600; color: var(--primary-dark); }
.tag-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chips a {
  display: inline-block; padding: 7px 16px; border-radius: var(--pill);
  background: var(--clinic-blue); color: var(--primary-dark); font-weight: 600; font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.tag-chips a:hover, .tag-chips a:focus-visible { background: var(--turq); color: #fff; }

/* ---- admin: izbor tagova ---- */
.tag-filter {
  width: 100%; padding: 11px 18px; margin-bottom: 4px; border: 1.5px solid var(--border-gray);
  border-radius: var(--pill); background: var(--off-white); font: 400 1rem 'Source Sans 3', sans-serif;
}
.tag-filter:focus { outline: none; border-color: var(--turq); background: var(--white); }
.tag-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; }
.tag-opt { font-size: .95rem; }
.tag-opt[hidden], .tag-group-title[hidden] { display: none; }
.tag-group-title { margin-top: 22px; }

@media (max-width: 900px) { .tag-picker { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .blog-search { flex-direction: column; }
  .blog-search .btn { width: 100%; justify-content: center; }
  .tag-picker { grid-template-columns: 1fr; }
}

/* ---- Članak: poravnanje naslova, čistiji hero, čitljiv tekst (min 18px) ---- */
.article-hero h1 { margin-left: 0; margin-right: 0; max-width: none; text-wrap: balance; }
.post-hero::before { display: none; }          /* bez simbola iza TOC okvira: sadržaj je glavni element */
.article-meta { font-size: .98rem; }
.post-content { font-size: 1.125rem; line-height: 1.85; }
.post-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.post-content h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.toc-list a { font-size: 1rem; }
.hero-toc h4 { font-size: 1.05rem; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.article-featured { height: auto; }

/* ============================================================
   HERO ZA PRIRUČNIK: hero-blog.jpg na listi/arhivama/pretrazi i u člancima
   (ostale unutrašnje stranice zadržavaju fotografiju doktora)
============================================================ */
.blog-hero--blog::before {
  background:
    linear-gradient(90deg, rgba(52,76,112,.86) 0%, rgba(52,76,112,.68) 38%, rgba(52,76,112,.22) 68%, rgba(52,76,112,.08) 100%),
    url('../images/hero-blog.jpg?v=1') 50% center / cover no-repeat;
}
.post-hero::before {
  display: block; inset: 119px 0 0 0; opacity: 1;
  background:
    linear-gradient(90deg, rgba(52,76,112,.88) 0%, rgba(52,76,112,.7) 55%, rgba(52,76,112,.34) 100%),
    url('../images/hero-blog.jpg?v=1') 50% center / cover no-repeat;
}
/* TOC okvir iznad šarene fotografije: gust, da ostane čitljiv */
.hero-toc { background: rgba(40,62,96,.78); border-color: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 768px) {
  .blog-hero--blog::before {
    background:
      linear-gradient(180deg, rgba(52,76,112,.6) 0%, rgba(52,76,112,.82) 100%),
      url('../images/hero-blog-mob.jpg?v=2') 50% 28% / cover no-repeat;
  }
  .post-hero::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(52,76,112,.62) 0%, rgba(52,76,112,.86) 100%),
      url('../images/hero-blog-mob.jpg?v=2') 50% 28% / cover no-repeat;
  }
}

/* ============================================================
   NAVIGACIJA: hover i aktivna stranica = narandžasto + bold (bez pravougaonika)
============================================================ */
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active { color: var(--accent-sun); font-weight: 700; background: none; }
.nav-links a:focus-visible { outline: 2px solid var(--accent-sun); outline-offset: 2px; }
@media (min-width: 1081px) {
  /* nevidljiv bold duplikat rezerviše širinu, pa se susedni linkovi ne pomeraju kad tekst postane bold */
  .nav-links a { display: inline-flex; flex-direction: column; align-items: center; }
  .nav-links a::after {
    content: attr(data-text); font-weight: 700; height: 0; overflow: hidden;
    visibility: hidden; pointer-events: none; user-select: none;
  }
}

/* ============================================================
   FOOTER: logo levo, linkovi u sredini (redovi sa |), mreže desno
============================================================ */
#site-footer .footer-main { padding-top: 48px; padding-bottom: 48px; }
#site-footer .footer-logo img { height: 66px; width: auto; }
#site-footer .footer-links p {
  color: var(--text); font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 1.08rem; font-weight: 500;
}
#site-footer .footer-links p span { color: #b7cbd9; }
#site-footer .footer-links a { color: var(--primary-dark); transition: color var(--transition); }
#site-footer .footer-links a:hover,
#site-footer .footer-links a:focus-visible { color: var(--accent-sun); }
#site-footer .footer-socials .social-link { color: var(--primary); }
#site-footer .footer-socials .social-link:hover { color: var(--accent-sun); }
#site-footer .footer-bottom span:last-child { max-width: none; text-align: right; }
@media (max-width: 768px) {
  #site-footer .footer-bottom span:last-child { text-align: center; }
}
@media (max-width: 480px) {
  .blog-search input[type="search"] { padding-left: 20px; padding-right: 16px; font-size: 1rem; }
  .blog-search input[type="search"]::placeholder { font-size: .94rem; }
}

/* ============================================================
   SPACING SYSTEM  (jedino mesto za vertikalne razmake sekcija i naslova)
   Pravilo: nove sekcije NE dobijaju sopstvene margine. Koriste se ove promenljive.
   - --sec-pad   gore i dole u svakoj sekciji
   - --lead-gap  naslov (H2) -> uvodni tekst
   - --head-gap  naslov/uvod -> sadržaj (kartice, lista...)
   - --p-gap     razmak pasusa u tekstualnom bloku
   - --grid-gap  razmak između kartica
   - --cta-gap   sadržaj -> dugme
============================================================ */
:root {
  --sec-pad: 88px; --head-gap: 48px; --lead-gap: 16px; --p-gap: 18px; --grid-gap: 24px; --cta-gap: 40px;
  --h2-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
@media (max-width: 768px) {
  :root { --sec-pad: 64px; --head-gap: 36px; --lead-gap: 14px; --grid-gap: 20px; --cta-gap: 32px; }
}
@media (max-width: 480px) {
  :root { --sec-pad: 56px; --head-gap: 32px; }
}

/* 1. Svaka sekcija ima isti razmak gore i dole (hero i traka pretrage su zasebne komponente) */
body main > section:not(.hero):not(.blog-hero):not(.post-hero):not(.blog-search-bar) {
  padding-top: var(--sec-pad); padding-bottom: var(--sec-pad);
}

/* 2. Blok naslova (H2 + uvod): isti razmaci svuda */
.journey-intro, .m-head, .testimonials-header-centered, .about-text-centered, .sec-head {
  margin: 0 auto var(--head-gap);
}
.sec-head { max-width: 760px; text-align: center; }
.journey-intro h2, .m-head h2, .testimonials-header-centered h2, .about-text-centered h2, .sec-head h2 {
  margin: 0 0 var(--lead-gap);
}
.journey-intro h2:last-child, .m-head h2:last-child, .testimonials-header-centered h2:last-child,
.about-text-centered h2:last-child, .sec-head h2:last-child { margin-bottom: 0; }
.journey-intro p, .m-head p, .testimonials-header-centered p, .about-text-centered p, .sec-head p { margin: 0; }
.about-text-centered p + p, .sec-head p + p { margin-top: var(--p-gap); }

/* 3. H2 koji stoji direktno iznad sadržaja (bez uvodnog teksta) */
main > section:not(.storm-section) > .container > h2 { margin: 0 0 var(--head-gap); }

/* 4. H2 unutar tekstualnih blokova: naslov -> tekst, pasusi među sobom */
.ab-text h2, .ab-prose h2, .ab-panel h2, .ab-quote h2, .approach-inner h2, .other-inner h2,
.m-support h2, .m-end h2, .about-content h2 { margin: 0 0 var(--lead-gap); }
.ab-text p, .ab-prose p, .ab-panel p, .ab-quote p, .approach-inner .approach-lead, .other-inner p,
.m-support p, .about-content p { margin: 0 0 var(--p-gap); }
.ab-text p:last-child, .ab-prose p:last-child, .ab-panel p:last-child, .ab-quote p:last-child,
.other-inner p:last-child, .m-support p:last-child, .about-content p:last-child { margin-bottom: 0; }
.m-end p { margin: 0 auto var(--cta-gap); }
/* svi naslovi sekcija iste veličine (ranije su citat, premium i podrška imali svoju) */
.ab-quote h2, .m-premium .m-head h2, .m-support h2 { font-size: var(--h2-size); }

/* 5. Kartice: jedan razmak među njima */
.trust-bar-inner, .topic-grid, .tegobe-grid, .blog-grid, .m-grid-2, .testimonials-grid,
.ab-areas, .two-col-lists, .mission-grid, .stories-list { gap: var(--grid-gap); }
.m-grid-4 { gap: var(--grid-gap); margin-top: var(--grid-gap); }
.mission-grid { margin-bottom: 0; }

/* 6. Sadržaj -> dugme */
.journey-cta, .testimonials-actions, .approach-cta, main section .text-center.mt-32 { margin-top: var(--cta-gap); }
.storm-section h2 { margin: 0 0 var(--lead-gap); }
.storm-section p  { margin: 0 auto var(--cta-gap); }

/* 7. Tekst članka */
.post-content h2 { margin: var(--head-gap) 0 var(--lead-gap); }
.post-content h3 { margin: 32px 0 12px; }
.post-content > :first-child { margin-top: 0; }

/* ============================================================
   ROUND 11 — Kontakt (podaci + mapa), Kućne posete, footer, linkovi u listi tegoba
   (razmaci isključivo preko promenljivih iz SPACING SYSTEM bloka iznad)
============================================================ */

/* ---- Kontakt: podaci i mapa jedno pored drugog, zatim forma ---- */
.contact-details-section { background: var(--page-bg); }
.contact-form-section    { background: var(--testi-bg); }
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap);
  max-width: 1080px; margin: 0 auto; align-items: stretch;
}
.contact-card {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg); padding: 36px 38px;
}
.contact-card h2 { color: var(--primary); font-size: 1.5rem; margin: 0 0 var(--grid-gap); }
.contact-card .contact-info { width: 100%; margin: 0; gap: 18px; }
.contact-card .contact-info li { align-items: flex-start; }
.contact-card .contact-info .ci-ico { margin-top: 2px; }
.contact-card .contact-info li span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-map {
  display: flex; flex-direction: column; min-height: 380px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-lg);
}
.contact-map iframe { flex: 1; width: 100%; min-height: 320px; border: 0; display: block; }
.contact-map-link {
  display: block; padding: 14px 20px; text-align: center; font-weight: 600;
  color: var(--primary); border-top: 1px solid var(--border-gray); transition: color var(--transition);
}
.contact-map-link:hover, .contact-map-link:focus-visible { color: var(--accent-sun); }

/* dugmad ispod podataka, pa forma: razmaci iz sistema */
.contact-actions { margin: var(--cta-gap) 0 0; }
.contact-cols { margin: 0 auto; }
.contact-actions + #kontakt-forma { margin-top: var(--head-gap); }
#kontakt-forma { scroll-margin-top: 150px; }

/* ---- Kućne posete: jednostavan horizontalni info-blok ---- */
.house-visit { background: var(--white); }
.house-visit-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  max-width: 1040px; margin: 0 auto; padding: 36px 40px;
  background: var(--page-bg); border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
}
.house-visit-text h2 { margin: 0 0 var(--lead-gap); color: var(--primary); font-size: var(--h2-size); }
.house-visit-text p  { margin: 0; color: var(--text); font-size: 1.125rem; line-height: 1.7; max-width: 640px; }
.house-visit .btn { flex-shrink: 0; }

/* ---- Tegobe: linkovi u listi tegoba ---- */
.tegobe-card .topic-list a {
  color: var(--primary-dark); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition);
}
.tegobe-card .topic-list a:hover, .tegobe-card .topic-list a:focus-visible { color: var(--accent-sun); }

/* ---- Footer: logo duplo veći, linkovi na pravoj sredini, bold naziv i link autora ---- */
#site-footer .footer-logo img { height: 53px; width: auto; }
@media (min-width: 1025px) {
  #site-footer .footer-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  #site-footer .footer-logo    { justify-self: start; }
  #site-footer .footer-links   { justify-self: center; }
  #site-footer .footer-socials { justify-self: end; }
}
#site-footer .footer-brand-link,
#site-footer .footer-credit-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition); }
#site-footer .footer-brand-link:hover, #site-footer .footer-credit-link:hover,
#site-footer .footer-brand-link:focus-visible, #site-footer .footer-credit-link:focus-visible { color: #ffd7b5; }

@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 24px; }
  .contact-map { min-height: 360px; }
  .house-visit-panel { flex-direction: column; align-items: flex-start; gap: var(--grid-gap); padding: 28px 24px; }
  .house-visit .btn { width: 100%; justify-content: center; }
}

/* ispravke posle merenja razmaka */
.methods-section .journey-intro, .topics-section .journey-intro { margin-bottom: var(--head-gap); }
.article-col > :last-child { margin-bottom: 0; }

/* footer na tabletu i mobilnom: sve centrirano jedno ispod drugog */
@media (max-width: 1024px) {
  #site-footer .footer-main { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
}

/* linkovi unutar teksta kartica na Metodama */
.m-card p a, .m-premium-col p a {
  color: var(--primary-dark); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition);
}
.m-card p a:hover, .m-premium-col p a:hover, .m-card p a:focus-visible, .m-premium-col p a:focus-visible { color: var(--accent-sun); }

/* ============================================================
   METODE v2 — 2 velike + 2 srednje + 4 male kartice, bez čipova
   (razmaci isključivo preko promenljivih iz SPACING SYSTEM bloka)
============================================================ */
.m-assess [id], .m-premium [id] { scroll-margin-top: 140px; }
.m-head-link { margin-top: var(--p-gap); }
.m-assess .m-grid-2 + .m-grid-2 { margin-top: var(--grid-gap); }
.m-card--mid { padding: 30px 32px; }
.m-card--mid h3 { font-size: 1.35rem; margin-bottom: 12px; }
.m-card--mid p:last-child { margin-bottom: 0; }
.m-card--big p:last-of-type { margin-bottom: 0; }
.m-card--big .topic-link { margin-top: var(--p-gap); }
.m-therapy .container > h2 { text-align: center; color: var(--primary); }
.m-card--compact { padding: 26px 22px; }
.m-card--compact p { font-size: 1.02rem; line-height: 1.6; }

.m-premium-col h2 { color: var(--primary); line-height: 1.3; font-size: 1.6rem; margin: 0 0 var(--lead-gap); }
.m-premium-col h2::before {
  content: ''; display: block; width: 44px; height: 3px; margin-bottom: 16px;
  background: var(--accent-sun); border-radius: 2px;
}
.m-premium-col .topic-link { margin-top: auto; padding-top: var(--p-gap); }
.m-premium-col p:last-of-type { margin-bottom: 0; }

.m-support-inner { display: block; max-width: 780px; text-align: center; }

.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover, .btn-ghost:active, .btn-ghost:focus-visible { background: var(--primary); color: var(--white); }

@media (max-width: 1200px) { .m-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .m-grid-4 { grid-template-columns: 1fr; } .m-card--mid { padding: 26px 22px; } }

/* Metode: bez narandžaste crtice ispod naslova kartica Kozmetika / Akupunktura protiv bora */
.m-premium-col h2::before, .m-premium-col h3::before { content: none; display: none; }
