/*
  guides.css
  Learning Center and guide page styles for HealingTouchShop.com.
  Built from the guide-related PHP/content files and temp-after-products.css.
*/


/* Guide index hero and list helpers */
.page-hero {
  margin-bottom: 2rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: #3f3348;
}

.page-hero p:last-child {
  max-width: 780px;
  line-height: 1.75;
  color: #57524e;
}

.guide-list-section {
  margin-top: 2rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: #6f3fa0;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

/* breadcrumbs on guides */

.breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: #666;
}

.breadcrumbs a {
  color: #6f3fa0;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 0.25rem;
}

/* guide toc */

.guide-toc {
  max-width: 850px;
  padding: 1.25rem;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fafafa;
}

.guide-toc h2 {
  margin-top: 0;
}

.guide-toc ul {
  margin-bottom: 0;
}

.guide-toc ul li {
  padding-top: 5px;
}

/* guides section */

.guide-page,
.guides-index-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.guide-hero__image img,
.guide-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.guide-hero__content h1 {
  margin-top: 0.35rem;
}

.guide-tagline {
  font-size: 1.2rem;
  font-weight: 600;
}

.guide-intro {
  font-size: 1.05rem;
  line-height: 1.7;
}

.guide-section {
  margin: 2.5rem 0;
}

.guide-content {
  max-width: 850px;
}

.guide-content p,
.guide-section p {
  line-height: 1.75;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.guide-card {
  border: 1px solid #ddd;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.guide-card__content {
  padding: 1.25rem;
}

.guide-card h2 {
  margin-top: 0.25rem;
}

.guide-card h2 a {
  color: inherit;
  text-decoration: none;
}

.guide-card h2 a:hover {
  text-decoration: underline;
}

.guide-faq .faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.related-guides-section {
  margin-top: 3rem;
}

.related-guides-section .guide-grid {
  margin-top: 1.25rem;
}

.guide-card__content h3 {
  margin-top: 0.35rem;
}

.guide-card__content h3 a {
  color: inherit;
  text-decoration: none;
}

.guide-card__content h3 a:hover,
.guide-card__content h3 a:focus {
  text-decoration: underline;
}

.start-here-intro {
  margin-bottom: 1.5rem;
}

.start-here-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.start-here-card {
  background: #fff;
  border: 1px solid rgba(80, 55, 110, 0.14);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(45, 30, 70, 0.06);
}

.start-here-card h2 {
  margin-top: 0;
}

.start-here-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}

.start-here-card ul {
  margin-bottom: 1rem;
}

.start-here-card ul li {
  padding-top: 10px;
}

.related-product-note {
  background: rgba(120, 82, 160, 0.08);
  border-left: 4px solid rgba(120, 82, 160, 0.45);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.start-here-next-step {
  margin-top: 2rem;
}

.chakra-guide-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.chakra-guide-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(80, 55, 110, 0.12);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: 0 6px 18px rgba(45, 30, 70, 0.04);
}

.chakra-guide-item h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.chakra-guide-item p {
  margin-bottom: 0;
}

.guides-start-here-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  margin: 2rem auto 2.5rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(250, 246, 255, 0.95), rgba(255, 250, 244, 0.95));
  border: 1px solid rgba(120, 82, 160, 0.14);
  box-shadow: 0 12px 34px rgba(45, 30, 70, 0.08);
}

.guides-start-here-callout__content h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.guides-start-here-callout__content p {
  max-width: 680px;
}

.guides-start-here-callout__image img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(45, 30, 70, 0.12);
}

.button-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #6f4aa8;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-link:hover,
.button-link:focus {
  background: #5f3f91;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(95, 63, 145, 0.22);
}

@media (max-width: 800px) {
  .guide-hero,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .start-here-grid {
    grid-template-columns: 1fr;
  }

  .start-here-card {
    padding: 1.1rem;
  }

  .guides-start-here-callout {
    grid-template-columns: 1fr;
    padding: 1.15rem;
    margin-top: 1.5rem;
  }

  .guides-start-here-callout__image {
    order: -1;
  }
}

.start-here-assessment-callout {
    margin: 28px 0 34px;
    padding: 24px 26px;
    background: #f8f2fb;
    border: 1px solid #e0d2e8;
    border-left: 5px solid #8d54a8;
    border-radius: 16px;
}

.start-here-assessment-callout h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #54236f;
}

.start-here-assessment-callout p {
    margin-bottom: 14px;
}

.assessment-callout-link {
    display: inline-block;
    background: #54236f;
    color: #fff;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: bold;
}

.assessment-callout-link:hover {
    background: #6a2f89;
    color: #fff;
}


.practitioner-card {
    background: #fffdf8;
    border-left: 5px solid #d8a33a;
}

/* Practice cards */

.practice-card-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 420px);
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid rgba(111, 63, 160, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, #fbf7ff 0%, #fffaf2 100%);
}

.practice-card-section__content h2 {
    margin-top: 0.35rem;
}

.practice-card-section__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(55, 35, 80, 0.18);
}

.practice-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

@media (max-width: 800px) {
    .practice-card-section {
        grid-template-columns: 1fr;
    }

    .practice-card-section__image {
        order: -1;
    }
}

/* ----------------------------------------
   Guide assessment soft callout
---------------------------------------- */

.guide-assessment-callout {
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
    gap: 1.5rem;
    align-items: center;
    margin: 2.75rem 0;
    padding: 1.35rem;
    border: 1px solid rgba(120, 82, 160, 0.16);
    border-left: 5px solid #8d54a8;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(216, 163, 58, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(250, 246, 255, 0.96), rgba(255, 250, 244, 0.96));
    box-shadow: 0 12px 32px rgba(45, 30, 70, 0.08);
}

.guide-assessment-callout__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(120, 82, 160, 0.14);
    box-shadow: 0 10px 26px rgba(45, 30, 70, 0.14);
}

.guide-assessment-callout__content h2 {
    margin: 0.2rem 0 0.75rem;
    color: #4b2f5f;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.16;
}

.guide-assessment-callout__content p {
    max-width: 760px;
    color: #4f4658;
    line-height: 1.75;
}

.guide-assessment-callout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.15rem;
}

@media (max-width: 800px) {
    .guide-assessment-callout {
        grid-template-columns: 1fr;
        padding: 1.1rem;
    }

    .guide-assessment-callout__image {
        order: -1;
    }

    .guide-assessment-callout__actions {
        flex-direction: column;
    }

    .guide-assessment-callout__actions .btn {
        width: 100%;
    }
}