/* ═══════════════════════════════════════════════════════
   Herbal Medicine page — page-specific styles
   herbelleremedies.co.uk/herbal-medicine/
   ═══════════════════════════════════════════════════════ */

    /* ── HERBAL MEDICINE PAGE CUSTOM STYLES ─── */

    /* ── EDITORIAL INTRO: two-column text + credentials ─── */
    .editorial-split {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 4rem;
      align-items: start;
    }
    @media (max-width: 860px) {
      .editorial-split { grid-template-columns: 1fr; gap: 2.5rem; }
    }

    .editorial-text p {
      font-size: clamp(0.95rem, 1.3vw, 1.05rem);
      line-height: 1.85;
      color: var(--ink-soft);
    }
    .editorial-text p + p { margin-top: 1.1rem; }
    .editorial-text p.eyebrow { color: var(--bronze); opacity: 1; }

    /* Credentials block (right column) */
    .credentials-block {
      background: var(--parchment-lt);
      border: 1px solid rgba(45,69,48,0.1);
      border-radius: 3px;
      overflow: hidden;
    }
    .credentials-block-header {
      background: var(--forest);
      padding: 1.2rem 1.5rem;
    }
    .credentials-block-header p {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(243,224,198,0.6);
      margin-bottom: 0.3rem;
    }
    .credentials-block-header h3 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 400;
      color: var(--parchment-lt);
    }
    .credentials-list {
      padding: 1.2rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .credential-item {
      display: flex;
      align-items: flex-start;
      gap: 0.8rem;
    }
    .credential-icon {
      width: 28px;
      height: 28px;
      background: rgba(45,69,48,0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .credential-text strong {
      display: block;
      font-size: 0.875rem;
      color: var(--forest);
      font-weight: 600;
      line-height: 1.3;
    }
    .credential-text span {
      font-size: 0.78rem;
      color: var(--ink-soft);
      opacity: 0.6;
    }
    .credentials-nimh {
      padding: 1rem 1.5rem;
      border-top: 1px solid var(--mist);
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .credentials-nimh img {
      height: 36px;
      width: auto;
      opacity: 0.8;
    }
    .credentials-nimh span {
      font-size: 0.75rem;
      color: var(--ink-soft);
      opacity: 0.65;
      line-height: 1.4;
    }

    /* ── DARK FOREST CONSULTATION SECTION ─── */
    .consultation-section {
      background: var(--forest);
      padding: clamp(3.5rem, 7vw, 6rem) 0;
      position: relative;
      overflow: hidden;
    }
    .consultation-section::before {
      content: '';
      position: absolute;
      inset: -5%;
      background: url('../images/consultation-bg.jpg') center/cover no-repeat;
      opacity: 0.1;
    }
    .consultation-section .container { position: relative; z-index: 1; }

    .consultation-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }
    @media (max-width: 780px) {
      .consultation-inner { grid-template-columns: 1fr; gap: 3rem; }
    }

    .consultation-text-col {}
    .consultation-text-col .eyebrow { color: var(--bronze-lt); margin-bottom: 0.8rem; }
    .consultation-text-col h2 {
      font-family: var(--font-display);
      font-size: clamp(1.7rem, 3vw, 2.6rem);
      font-weight: 400;
      color: var(--parchment-lt);
      line-height: 1.2;
      margin-bottom: 1.4rem;
    }
    .consultation-text-col h2 em { color: var(--parchment); }
    .consultation-text-col p {
      font-size: clamp(0.92rem, 1.3vw, 1rem);
      color: rgba(243,224,198,0.88);
      line-height: 1.8;
    }
    .consultation-text-col p + p { margin-top: 1rem; }

    .consultation-checklist {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
    }
    .consultation-checklist li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 0.9rem;
      color: rgba(243,224,198,0.88);
      line-height: 1.55;
    }
    .consultation-checklist li::before {
      content: '';
      width: 16px;
      height: 16px;
      border: 1px solid rgba(243,224,198,0.3);
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 2px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba(243,224,198,0.6)' stroke-width='1.5'%3E%3Cpath d='M3.5 8l3 3 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
    }

    .consultation-meta {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .meta-card {
      background: rgba(243,224,198,0.07);
      border: 1px solid rgba(243,224,198,0.12);
      border-radius: 3px;
      padding: 1.4rem;
    }
    .meta-card-label {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--bronze);
      margin-bottom: 0.5rem;
    }
    .meta-card p {
      font-size: 0.88rem;
      color: rgba(243,224,198,0.65);
      line-height: 1.65;
      margin: 0;
    }
    .meta-card-stat {
      font-family: var(--font-display);
      font-size: 2rem;
      color: var(--parchment-lt);
      line-height: 1;
      margin-bottom: 0.3rem;
    }

    /* ── CONDITIONS, EDITORIAL INDEX ─── */
    .conditions-section {
      padding: clamp(3.5rem, 7vw, 6rem) 0;
      background: var(--cream);
    }
    .conditions-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: end;
      margin-bottom: 3rem;
      padding-bottom: 2rem;
    }
    @media (max-width: 680px) {
      .conditions-header { grid-template-columns: 1fr; gap: 1.5rem; }
    }
    .conditions-header h2 {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 2.8vw, 2.5rem);
      font-weight: 400;
      color: var(--forest);
      line-height: 1.2;
    }
    .conditions-header h2 em { color: var(--forest-mid); }
    .conditions-header p {
      font-size: 0.92rem;
      color: var(--ink-soft);
      opacity: 0.75;
      line-height: 1.7;
    }
    .conditions-header p.eyebrow {
      color: var(--bronze);
      opacity: 1;
    }

    .conditions-index {
      display: flex;
      flex-direction: column;
    }
    .condition-row {
      display: grid;
      grid-template-columns: 56px 1fr auto;
      align-items: baseline;
      gap: 1.5rem;
      padding: 1.1rem 0;
      border-bottom: 1px solid rgba(232,224,212,0.7);
      transition: background 0.15s;
    }
    .condition-row:first-child { border-top: 1px solid rgba(232,224,212,0.7); }
    .condition-row:hover { background: rgba(243,224,198,0.2); margin: 0 -1rem; padding: 1.1rem 1rem; }

    .condition-numeral {
      font-family: var(--font-display);
      font-size: 0.78rem;
      font-weight: 400;
      font-style: italic;
      color: var(--bronze);
      opacity: 0.7;
    }
    .condition-name {
      font-size: 0.95rem;
      color: var(--forest);
      font-weight: 500;
    }
    .condition-examples {
      font-size: 0.78rem;
      color: var(--ink-soft);
      opacity: 0.55;
      text-align: right;
    }
    @media (max-width: 600px) {
      .condition-row { grid-template-columns: 44px 1fr; }
      .condition-examples { display: none; }
    }

    /* ── TESTIMONIAL ─── */
    .testimonial-section {
      background: var(--parchment);
      padding: clamp(3rem, 6vw, 5rem) 0;
    }
    .testimonial-inner {
      max-width: 780px;
      margin: 0 auto;
      text-align: center;
    }
    .testimonial-mark {
      font-family: var(--font-display);
      font-size: 5rem;
      line-height: 0.5;
      color: var(--bronze);
      opacity: 0.3;
      margin-bottom: 1.5rem;
      display: block;
    }
    .testimonial-quote {
      font-family: var(--font-display);
      font-size: clamp(1.1rem, 2vw, 1.45rem);
      font-weight: 400;
      font-style: italic;
      color: var(--forest);
      line-height: 1.65;
      margin-bottom: 2rem;
    }
    .testimonial-attribution {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.8rem;
    }
    .testimonial-line {
      width: 32px;
      height: 1px;
      background: var(--bronze);
      opacity: 0.4;
    }
    .testimonial-name {
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--bronze);
    }

    /* ── ELLIE PROFILE + IMAGE ─── */
    .ellie-section {
      padding: clamp(3rem, 6vw, 5rem) 0;
    }
    .ellie-inner {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 4rem;
      align-items: center;
    }
    @media (max-width: 860px) {
      .ellie-inner { grid-template-columns: 1fr; gap: 2.5rem; }
      .ellie-image-col { order: -1; width: 100%; max-width: 100%; }
      .ellie-image-col img { width: 100%; object-fit: cover; max-height: 360px; object-position: top center; }
    }
    .ellie-image-col img {
      width: 100%;
      border-radius: 3px;
      filter: sepia(8%) contrast(1.03);
    }
    .ellie-text-col .eyebrow { margin-bottom: 0.8rem; color: var(--bronze); opacity: 1; }
    .ellie-text-col h2 {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 2.5vw, 2.2rem);
      font-weight: 400;
      color: var(--forest);
      line-height: 1.2;
      margin-bottom: 1.2rem;
    }
    .ellie-text-col h2 em { color: var(--forest-mid); }
    .ellie-text-col p {
      font-size: clamp(0.93rem, 1.3vw, 1.02rem);
      color: var(--ink-soft);
      line-height: 1.8;
    }
    .ellie-text-col p + p { margin-top: 1rem; }
    .ellie-text-col .btn-primary {
      margin-top: 1.8rem;
      display: inline-block;
    }

    /* Heartwood logo pill */
    .heartwood-badge {
      display: flex;
      align-items: center;
      gap: 0.9rem;
      background: var(--parchment-lt);
      border: 1px solid rgba(142,107,66,0.25);
      border-left: 3px solid var(--bronze);
      border-radius: 2px;
      padding: 0.75rem 1rem;
      margin-top: 1.4rem;
    }
    .heartwood-badge img {
      height: 44px;
      width: 44px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .heartwood-badge span {
      font-size: 0.78rem;
      color: var(--ink-soft);
      line-height: 1.4;
      font-weight: 500;
    }

    .ellie-ctas {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      margin-top: 1.6rem;
    }
    .ellie-ctas .heartwood-badge { margin-top: 0; }
    .ellie-ctas .btn-primary {
      margin-top: 0;
      justify-content: center;
    }

    /* Override CTA block background - now handled via content-page.css directly */
    .content-cta-block::before {
      background: url('../images/nettle-leaves.jpg') center/cover no-repeat !important;
      opacity: 0.18 !important;
      mix-blend-mode: luminosity !important;
    }
    /* Brighten CTA block text */
    .content-cta-block .display-md { color: #fff !important; }
    .content-cta-block .content-cta-inner > p { color: rgba(243,224,198,0.85) !important; }

    /* btn-primary on cream bg */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--forest);
      color: var(--parchment-lt);
      border: 1px solid var(--forest);
      border-radius: 2px;
      padding: 0.75rem 1.5rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      text-decoration: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      background: var(--forest-mid);
      border-color: var(--forest-mid);
    }

    @media (max-width: 540px) {
      .ellie-ctas {
        align-items: stretch;
        width: 100%;
      }
      .ellie-ctas .heartwood-badge {
        justify-content: flex-start;
      }
      .ellie-ctas .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
      }
    }
