/* Shared template for condition / service pages (Sciatica, Scoliosis, Vertigo, Whiplash,
   Posture, South Yarra Chiropractor). Uses design tokens from site.css. Class prefix: cond- */

/* HERO (split: text + image) */
.cond-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 66vh; max-height: 620px; overflow: hidden; }
.cond-hero-text { background: var(--linen); padding: 84px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.cond-hero-text::before { content: ''; position: absolute; top: -110px; right: -110px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid var(--mist); pointer-events: none; }
.cond-eyebrow { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; position: relative; z-index: 1; }
.cond-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--sage); }
.cond-h1 { font-family: 'Cormorant Garamond', serif; font-size: 50px; font-weight: 400; line-height: 1.12; color: var(--ink); margin-bottom: 22px; position: relative; z-index: 1; }
.cond-h1 em { font-style: italic; }
.cond-lede { font-family: 'Jost', sans-serif; font-size: 16px; color: var(--text-sm); line-height: 1.85; font-weight: 300; max-width: 480px; margin-bottom: 30px; position: relative; z-index: 1; }
.cond-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.cond-hero-meta { font-family: 'Jost', sans-serif; font-size: 12.5px; color: var(--text-sm); margin-top: 22px; position: relative; z-index: 1; }
.cond-hero-meta span { color: var(--gold); }
.cond-hero-img { position: relative; overflow: hidden; }
.cond-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Generic content section */
.cond-section { padding: 88px 56px; }
.cond-section.warm { background: var(--warm-white); }
.cond-section.linen { background: var(--linen); }
.cond-inner { max-width: 760px; margin: 0 auto; }
.cond-label { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.cond-h2 { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 400; line-height: 1.22; color: var(--ink); margin-bottom: 22px; }
.cond-h2 em { font-style: italic; }
.cond-p { font-family: 'Jost', sans-serif; font-size: 16px; color: var(--text-sm); line-height: 1.9; font-weight: 300; margin-bottom: 20px; }
.cond-p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Symptoms / signs grid */
.cond-symptoms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 32px; background: var(--mist); border: 1px solid var(--mist); }
.cond-symptom { background: var(--warm-white); padding: 20px 24px; display: flex; align-items: center; gap: 14px; font-family: 'Jost', sans-serif; font-size: 15px; color: var(--text); }
.cond-symptom::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Approach steps */
.cond-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.cond-step-num { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.cond-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.cond-step p { font-family: 'Jost', sans-serif; font-size: 14px; color: var(--text-sm); line-height: 1.7; font-weight: 300; }

/* Related conditions */
.cond-related { background: var(--warm-white); padding: 72px 56px; text-align: center; border-top: 1px solid var(--mist); }
.cond-related-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 28px auto 0; }
.cond-chip { font-family: 'Jost', sans-serif; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; border: 1px solid var(--mist); border-radius: 40px; padding: 11px 22px; transition: all 0.2s; }
.cond-chip:hover { border-color: var(--gold); background: var(--linen); }

/* CTA band */
.cond-cta { background: var(--ink); padding: 80px 56px; text-align: center; position: relative; overflow: hidden; }
.cond-cta::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.05); }
.cond-cta .cond-label { color: var(--gold-lt); }
.cond-cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 400; color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cond-cta h2 em { font-style: italic; }
.cond-cta p { font-family: 'Jost', sans-serif; font-size: 15px; color: rgba(255,255,255,0.62); font-weight: 300; max-width: 540px; margin: 0 auto 30px; line-height: 1.8; position: relative; z-index: 1; }

@media (max-width: 900px) {
  .cond-hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .cond-hero-img { height: 260px; order: 0; }
  .cond-hero-text { order: 1; padding: 52px 24px; }
  .cond-hero-text::before { display: none; }
  .cond-h1 { font-size: 36px; }
  .cond-section, .cond-related, .cond-cta { padding: 56px 24px; }
  .cond-h2 { font-size: 28px; }
  .cond-symptoms-grid { grid-template-columns: 1fr; }
  .cond-steps { grid-template-columns: 1fr; gap: 28px; }
  .cond-cta h2 { font-size: 30px; }
}
