/* ==========================================================================
   CRANIO LANDING — body.newtherapy CSS modul
   v1.0 — 2026-05-09

   FONTOS: Minden szelektor body.newtherapy-vel kezdődik, hogy ne érintse
   a többi oldalt. Ezt a CSS-t a Joomla → Helix/Crafty admin → Custom CSS
   mezőbe vagy egy külön betöltött .css fájlba lehet rakni.

   NE a meglévő global custom.css-be tedd!
   ========================================================================== */

/* === BRAND VÁLTOZÓK (csak newtherapy oldalakon) === */
body.newtherapy {
  --cranio-bg-cream: #f8f4ee;
  --cranio-bg-cream-light: #fbf8f3;
  --cranio-text: #2f2a24;
  --cranio-text-soft: #655d53;
  --cranio-gold: #c9963e;
  --cranio-gold-light: #d4a94b;
  --cranio-green: #678571;
  --cranio-green-dark: #4f6f59;
  --cranio-radius: 14px;
  --cranio-shadow: 0 6px 24px rgba(47,42,36,.08);
  --cranio-shadow-hover: 0 12px 36px rgba(47,42,36,.14);
}

/* === ÁLTALÁNOS BUILDING BLOCKS === */
body.newtherapy .cranio-eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cranio-gold);
  font-weight: 600;
  margin: 0 0 8px;
}

body.newtherapy .cranio-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--cranio-text-soft);
  max-width: 700px;
}

body.newtherapy .cranio-link {
  color: var(--cranio-green-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--cranio-gold);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
body.newtherapy .cranio-link:hover {
  color: var(--cranio-gold);
  border-bottom-color: var(--cranio-green);
}

/* === CTA GOMBOK === */
body.newtherapy .cranio-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-align: center;
  line-height: 1.2;
}
body.newtherapy .cranio-btn--primary {
  background: var(--cranio-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(103,133,113,.32);
}
body.newtherapy .cranio-btn--primary:hover {
  background: var(--cranio-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(103,133,113,.4);
  color: #fff;
}
body.newtherapy .cranio-btn--ghost {
  background: transparent;
  color: var(--cranio-text);
  border: 2px solid var(--cranio-text);
}
body.newtherapy .cranio-btn--ghost:hover {
  background: var(--cranio-text);
  color: #fff;
  transform: translateY(-2px);
}

/* === 7. BLOKK – TRUST === */
body.newtherapy .cranio-trust {
  background: var(--cranio-bg-cream);
  padding: 80px 0;
}
body.newtherapy .cranio-trust__intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
body.newtherapy .cranio-trust__intro h2 {
  font-size: 2.2rem;
  color: var(--cranio-text);
  margin: 0 0 16px;
  font-weight: 500;
  line-height: 1.25;
}
body.newtherapy .cranio-trust__intro .cranio-lead {
  margin: 0 auto;
}
body.newtherapy .cranio-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
body.newtherapy .cranio-trust__card {
  background: #fff;
  border-radius: var(--cranio-radius);
  overflow: hidden;
  box-shadow: var(--cranio-shadow);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: transform .25s, box-shadow .25s;
}
body.newtherapy .cranio-trust__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cranio-shadow-hover);
}
body.newtherapy .cranio-trust__photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}
body.newtherapy .cranio-trust__body {
  padding: 28px 28px 28px 24px;
}
body.newtherapy .cranio-trust__body h3 {
  font-size: 1.5rem;
  color: var(--cranio-text);
  margin: 0 0 4px;
  font-weight: 600;
}
body.newtherapy .cranio-trust__role {
  font-size: .92rem;
  color: var(--cranio-gold);
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: .02em;
}
body.newtherapy .cranio-trust__quote {
  margin: 0 0 16px;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--cranio-gold);
  font-style: italic;
  color: var(--cranio-text-soft);
  line-height: 1.6;
  font-size: .96rem;
}
body.newtherapy .cranio-trust__features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
body.newtherapy .cranio-trust__features li {
  position: relative;
  padding: 4px 0 4px 24px;
  color: var(--cranio-text);
  font-size: .94rem;
}
body.newtherapy .cranio-trust__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cranio-green);
  font-weight: 700;
}

/* === 8. BLOKK – DISCLAIMER === */
body.newtherapy .cranio-disclaimer {
  padding: 50px 0;
}
body.newtherapy .cranio-disclaimer__panel {
  background: #fbf6e8;
  border-left: 4px solid var(--cranio-gold);
  border-radius: 8px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
body.newtherapy .cranio-disclaimer__icon {
  color: var(--cranio-gold);
  margin-top: 2px;
}
body.newtherapy .cranio-disclaimer__body h3 {
  font-size: 1.3rem;
  color: var(--cranio-text);
  margin: 0 0 10px;
  font-weight: 600;
}
body.newtherapy .cranio-disclaimer__body p {
  margin: 0 0 12px;
  color: var(--cranio-text);
  line-height: 1.6;
}
body.newtherapy .cranio-disclaimer__list {
  margin: 0 0 14px;
  padding: 0 0 0 22px;
  color: var(--cranio-text);
}
body.newtherapy .cranio-disclaimer__list li {
  padding: 3px 0;
}
body.newtherapy .cranio-disclaimer__footnote {
  font-size: .94rem;
  color: var(--cranio-text-soft);
  margin: 14px 0 0 !important;
}

/* === 11. BLOKK – BLOG WIDGET === */
body.newtherapy .cranio-blog {
  background: var(--cranio-bg-cream-light);
  padding: 80px 0;
}
body.newtherapy .cranio-blog__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
body.newtherapy .cranio-blog__intro h2 {
  font-size: 2rem;
  color: var(--cranio-text);
  margin: 0 0 14px;
  font-weight: 500;
}
body.newtherapy .cranio-blog__intro .cranio-lead {
  margin: 0 auto;
}
body.newtherapy .cranio-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
body.newtherapy .cranio-blog__card {
  background: #fff;
  border-radius: var(--cranio-radius);
  overflow: hidden;
  box-shadow: var(--cranio-shadow);
  transition: transform .25s, box-shadow .25s;
}
body.newtherapy .cranio-blog__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cranio-shadow-hover);
}
body.newtherapy .cranio-blog__card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
body.newtherapy .cranio-blog__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
body.newtherapy .cranio-blog__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
body.newtherapy .cranio-blog__card:hover .cranio-blog__photo img {
  transform: scale(1.05);
}
body.newtherapy .cranio-blog__body {
  padding: 22px 24px 26px;
}
body.newtherapy .cranio-blog__body h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--cranio-text);
  line-height: 1.35;
  font-weight: 600;
}
body.newtherapy .cranio-blog__body p {
  margin: 0 0 14px;
  color: var(--cranio-text-soft);
  font-size: .94rem;
  line-height: 1.55;
}
body.newtherapy .cranio-blog__more {
  text-align: center;
  margin-top: 40px;
}

/* === 12. BLOKK – ZÁRÓ CTA === */
body.newtherapy .cranio-final-cta {
  background: linear-gradient(135deg, var(--cranio-bg-cream) 0%, #f6f1eb 100%);
  padding: 90px 0;
}
body.newtherapy .cranio-final-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
body.newtherapy .cranio-final-cta__inner h2 {
  font-size: 2.4rem;
  color: var(--cranio-text);
  margin: 0 0 20px;
  font-weight: 500;
  line-height: 1.2;
}
body.newtherapy .cranio-final-cta__inner .cranio-lead {
  margin: 0 auto 36px;
  text-align: center;
}
body.newtherapy .cranio-final-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
body.newtherapy .cranio-final-cta__note {
  font-size: .92rem;
  color: var(--cranio-text-soft);
  margin: 0 0 30px;
}
body.newtherapy .cranio-final-cta__trust {
  font-size: .95rem;
  color: var(--cranio-gold);
  margin: 0;
  font-weight: 500;
}

/* === MOBILBARÁT === */
@media (max-width: 991px) {
  body.newtherapy .cranio-trust__grid,
  body.newtherapy .cranio-blog__grid {
    grid-template-columns: 1fr;
  }
  body.newtherapy .cranio-trust__card {
    grid-template-columns: 160px 1fr;
  }
  body.newtherapy .cranio-trust__photo img {
    min-height: 280px;
  }
}
@media (max-width: 767px) {
  body.newtherapy .cranio-trust,
  body.newtherapy .cranio-blog,
  body.newtherapy .cranio-final-cta {
    padding: 50px 0;
  }
  body.newtherapy .cranio-trust__card {
    grid-template-columns: 1fr;
  }
  body.newtherapy .cranio-trust__photo img {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }
  body.newtherapy .cranio-trust__intro h2,
  body.newtherapy .cranio-final-cta__inner h2 {
    font-size: 1.6rem;
  }
  body.newtherapy .cranio-blog__intro h2 {
    font-size: 1.5rem;
  }
  body.newtherapy .cranio-disclaimer__panel {
    grid-template-columns: 1fr;
    padding: 22px 22px;
  }
  body.newtherapy .cranio-final-cta__actions {
    flex-direction: column;
  }
  body.newtherapy .cranio-final-cta__actions .cranio-btn {
    width: 100%;
  }
}

/* === CRANIO ÁRBLOKK FINOMHANGOLÁS (a SP Page Builder importált árszekciójához) === */
/* Ez a meglévő SP Page Builder text_block-okat finomítja, ahol az árak vannak */
body.newtherapy .cranio-page #sp-component .sppb-addon-text-block p strong {
  color: var(--cranio-text);
}
body.newtherapy .cranio-page .sppb-btn-custom {
  background: var(--cranio-green) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600;
  padding: 12px 28px !important;
  transition: all .2s;
}
body.newtherapy .cranio-page .sppb-btn-custom:hover {
  background: var(--cranio-green-dark) !important;
  transform: translateY(-2px);
}
