/*
 * Lesson landing pages.
 *
 * These three pages (/lessons/*) are NEW — they have no counterpart on the
 * Webflow site, so there is no design to preserve 1:1. They are built almost
 * entirely from the site's own component classes; this file adds only the few
 * pieces the export never contained (a spec list, a prose column, a bulleted
 * list), and it builds them from the same variables and font families the
 * ported stylesheet already declares, so nothing new enters the design system.
 *
 * Loaded ONLY by the three lesson pages. No ported page links it.
 */

/*
 * Same box as the ported .wrapper, so a single-column section starts on the
 * same left edge as the two-column rows above and below it.
 */
.lesson-narrow {
  width: 85%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.lesson-section {
  padding-top: 60px;
  padding-bottom: 20px;
}

/*
 * The hero H1s are full "<service> in <city>" phrases; at the source page's
 * 62px they run past the viewport, so they step down a size here.
 */
.home-2-hero-heading.lesson-h1 {
  font-size: 52px;
  line-height: 1.1;
}

/*
 * The section headings are questions, not two-word labels, so they take a
 * smaller step of the same Josefin Sans scale the ported headings use.
 */
.about-1-pointers-heading.lesson-heading {
  font-size: 34px;
  line-height: 1.25;
}

.quote.lesson-heading {
  font-size: 32px;
  line-height: 1.25;
}

.lesson-body {
  color: var(--black-2);
  max-width: 900px;
  font-family: Quicksand, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

/* Inside the two-column rows the column is already the measure. */
.about-1-pointers-text.lesson-body,
.quote-sub.lesson-body {
  max-width: none;
}

.lesson-body p {
  margin-bottom: 18px;
}

.lesson-body p:last-child {
  margin-bottom: 0;
}

.lesson-intro {
  margin-top: 60px;
  font-size: 19px;
}

.lesson-lead {
  font-weight: 700;
}

.lesson-body a,
.about-1-pointers-text a {
  color: var(--dark-red);
  text-decoration: underline;
}

.lesson-body a:hover,
.about-1-pointers-text a:hover {
  color: var(--med-pink);
}

.lesson-list {
  margin: 0 0 18px;
  padding-left: 26px;
  list-style: none;
}

.lesson-list li {
  margin-bottom: 12px;
  position: relative;
}

.lesson-list li:before {
  content: "";
  background-color: var(--med-pink);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 11px;
  left: -22px;
}

/* ---- Specification list --------------------------------------------------
 * A definition list rather than a table: the same label/value pairs, but it
 * reflows to one column on a phone instead of scrolling sideways.
 */
.lesson-spec {
  border-top: 1px solid var(--light-pink);
  max-width: 1100px;
  margin: 0;
}

.lesson-spec-row {
  border-bottom: 1px solid var(--light-pink);
  justify-content: flex-start;
  gap: 8px 24px;
  padding: 14px 4px;
  display: flex;
  flex-wrap: wrap;
}

.lesson-spec-label {
  color: var(--dark-red);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex: 0 0 220px;
  margin: 0;
  font-family: Josefin Sans, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.lesson-spec-value {
  color: var(--black-2);
  flex: 1 1 340px;
  margin: 0;
  font-family: Quicksand, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

/* ---- Testimonial ---------------------------------------------------------
 * Reuses .quote-div / .quote / .quote-sub from the ported stylesheet; this
 * only resets the browser default margins a <blockquote> brings with it.
 */
.lesson-testimonial {
  margin-top: 60px;
  margin-bottom: 20px;
}

.lesson-testimonial .quote {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
}

/* ---- FAQ -----------------------------------------------------------------
 * .faqwrap / .faqitem are the service-area page's own FAQ components.
 */
.lesson-faq {
  max-width: 1000px;
  margin: 60px auto 0;
}

.lesson-faq .faqitem {
  border-bottom: 1px solid var(--lt-grey);
  padding-top: 18px;
  padding-bottom: 18px;
}

.lesson-faq .faqitem:last-child {
  border-bottom: 0;
}

.lesson-faq h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: Josefin Sans, sans-serif;
  font-size: 22px;
  line-height: 1.3;
}

.lesson-faq p {
  color: var(--black-2);
  margin-bottom: 0;
  font-family: Quicksand, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

/* ---- Button row ---------------------------------------------------------- */
.lesson-buttons {
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}

/* Link out of a section back to the parent index / a sibling lesson. */
.lesson-more {
  margin-top: 8px;
  font-family: Quicksand, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.lesson-more a {
  color: var(--dark-red);
  text-decoration: underline;
}

.lesson-more a:hover {
  color: var(--med-pink);
}

@media screen and (max-width: 991px) {
  .lesson-body {
    font-size: 17px;
  }

  .lesson-intro {
    margin-top: 40px;
    font-size: 18px;
  }

  .lesson-section {
    padding-top: 40px;
  }

  .home-2-hero-heading.lesson-h1 {
    font-size: 40px;
  }

  .about-1-pointers-heading.lesson-heading {
    font-size: 30px;
  }

  .quote.lesson-heading {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .lesson-narrow {
    width: 92%;
  }

  .home-2-hero-heading.lesson-h1 {
    font-size: 32px;
  }

  .about-1-pointers-heading.lesson-heading {
    font-size: 26px;
  }

  .quote.lesson-heading {
    font-size: 24px;
  }

  .lesson-spec-label {
    flex-basis: 100%;
  }

  .lesson-testimonial .quote {
    font-size: 24px;
  }

  .lesson-faq {
    margin-top: 40px;
  }
}

@media screen and (max-width: 479px) {
  .home-2-hero-heading.lesson-h1 {
    font-size: 28px;
  }

  .about-1-pointers-heading.lesson-heading {
    font-size: 24px;
  }

  .lesson-faq {
    padding-left: 20px;
    padding-right: 20px;
  }
}
