:root {
  --brand-teal: #cce8ea;
  --brand-orange: #f36c32;
  --text-dark: #222222;
  --btn-blue: #4cb6d4;
  --btn-blue-hover: #38a1bf;
  --page-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, sans-serif;
  background-color: var(--page-bg);
  color: var(--text-dark);
}

h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 20px 0;
  font-family: "Lato", system-ui, -apple-system, sans-serif;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -----------------------------
   Home hero (index)
----------------------------- */
.home .hero {
  position: relative;
  height: 100vh;
  background-image: url("/images/index-front.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.home .hero-button {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 18px;
  border-radius: 4px;
  border: none;
  background: #ff7043;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.home .hero-button:hover {
  background: #ff8a65;
}

.home .hero-content {
  text-align: center;
  padding: 0 16px;
}

.home .hero-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.home .hero-title span:last-child {
  display: block;
}

.home .hero-subtitle {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  padding: 6px 18px;
  display: inline-block;
  background: rgba(255, 112, 67, 0.9);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* -----------------------------
   Lesson hero
----------------------------- */
.lesson .hero {
  background: var(--brand-teal);
  padding: 6rem 0 5rem;
  color: var(--text-dark);
  position: relative;
}

.hero-inner {
  max-width: 1100px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px 0;
}

.lesson .hero-label {
  margin: 0;
  color: #40c3c7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, transform 0.05s ease;
}

.btn-primary,
.btn-secondary {
  background-color: transparent;
  border: 2px solid #40c3c7;
  border-radius: 5px;
  color: #40c3c7;
}

.btn-primary:hover,
.btn-secondary:hover {
  background-color: #fff;
  border: 2px solid #fff;
  transform: translateY(-1px);
}

/* -----------------------------
   Header / nav
----------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: #222222;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 1.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-transform: none;
  background-color: var(--brand-orange);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.nav-link:hover {
  filter: brightness(1.05);
}

/* -----------------------------
   Shared stripes
----------------------------- */
.lessons-stripes,
.welcome-stripes {
  position: absolute;
  left: 50%;
  margin-top: 47px;
  transform: translateX(-50%);
  width: 100vw;
  height: 32px;
  display: flex;
  flex-direction: column;
}

.lessons-stripe,
.stripe {
  flex: 1;
}

.stripe-mid {
  background: #8fdde4;
}

.stripe-dark {
  background: #5cc3d1;
}

.stripe-2 {
  background: #ff7043;
}

.stripe-3 {
  background: #e0623a;
}

/* -----------------------------
   Welcome section
----------------------------- */
.welcome {
  position: relative;
  background: #cce8ea;
  padding: 100px 10vw 100px;
  color: #333;
  overflow: hidden;
}

.welcome-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.welcome-image {
  flex: 0 0 300px;
  height: 280px;
  background-image: url("/images/jumper.webp");
  background-size: 100%;
  background-position: right bottom;
  background-repeat: no-repeat;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .welcome-inner {
    flex-direction: column;
  }

  .welcome-image {
    align-self: flex-end;
    width: 220px;
    height: 150px;
  }
}

/* -----------------------------
   Lessons section
----------------------------- */
.lessons-section {
  background-color: #ffe9d4;
  padding: 100px 0 3.5rem;
  color: #3a2b24;
}

.lessons-inner {
  max-width: 1100px;
}

.lessons-header {
  margin-bottom: 1.5rem;
}

.lessons-tag {
  display: inline-block;
  padding: 0.45rem 1.4rem;
  background-color: #f36c32;
  color: #ffffff;
  font-weight: 700;
  border-radius: 0;
  font-size: 0.95rem;
}

.lessons-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}

.lesson-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  text-decoration: none;
  color: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.lesson-card:hover {
  color: #5cc3d1;
}

.lesson-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lesson-card-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.lesson-card-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: #5a4a42;
}

.lesson-card:hover .lesson-card-subtitle {
  color: inherit;
}

.lesson-card-icon {
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-top: 0.35rem;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.45rem solid #e85a2a;
  transition: border-left-color 0.2s ease, transform 0.2s ease;
}

.lesson-card:hover .lesson-card-icon {
  border-left-color: #5cc3d1;
  transform: translateX(3px);
}

.lesson-card--active .lesson-card-icon,
.lesson-card--active:hover .lesson-card-icon {
  border-left-color: #5cc3d1;
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .lessons-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------
   Resources
----------------------------- */
.resources {
  text-align: center;
  padding: 150px 16px;
  background: #ffffff;
  background-image: url("/images/Footer-End.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 35vh;
  height: auto;
}

.resources-title {
  margin: 0 0 40px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}

.resources-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.resource-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.resource-main {
  line-height: 1.2;
}

.resource-sub {
  font-size: 12px;
  font-weight: 500;
}

.btn-orange {
  background: #f36c3d;
}

.btn-yellow {
  background: #f9a53b;
}

.btn-teal {
  background: #5cc3d1;
}

.resource-btn:hover,
.resource-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  opacity: 0.95;
}

.resource-btn-bottom {
  margin-top: 4px;
}

@media (max-width: 600px) {
  .resources-buttons {
    flex-direction: column;
  }
}

.site-footer {
  background: #111;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* -----------------------------
   Lesson overview section (orange)
----------------------------- */
.lesson-section {
  background-color: #ffe9d4;
  padding: 3rem 0 3.5rem;
  color: #3a2b24;
}

.lesson-inner {
  max-width: 1100px;
}

.lesson-header {
  margin-bottom: 1rem;
}

.lesson-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: #f36c32;
  color: #ffffff;
  font-weight: 700;
  border-radius: 5px;
  font-size: 0.95rem;
}

.lesson-intro {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 900px;
  margin-bottom: 2rem;
}

.lesson-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.lesson-list {
  flex: 1 1 auto;
}

.accordion-item + .accordion-item {
  margin-top: 0.5rem;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: #c45022;
}

.bullet-icon {
  width: 0;
  height: 0;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.5rem solid #f36c32;
}

.accordion-panel {
  margin-left: 1.4rem;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 650px;
  display: none;
}

.accordion-item.open .accordion-panel {
  display: block;
}

.lesson-help {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.help-text {
  font-size: 0.85rem;
  color: #e4743b;
  text-align: center;
}

.help-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #f36c32;
  background-color: transparent;
  color: #f36c32;
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.help-button:hover {
  background-color: #f36c32;
  color: #ffe9d4;
}

@media (max-width: 800px) {
  .lesson-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .lesson-help {
    align-items: flex-start;
  }
}

/* Help modal */
.help-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.help-modal[hidden] {
  display: none;
}

.help-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.help-modal-box {
  position: relative;
  width: 100%;
  max-width: 700px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.help-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #5cc3d1;
  color: #fff;
}

.help-modal-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.help-modal-close {
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.help-modal-close:hover {
  opacity: 0.9;
}

.help-modal-body {
  padding: 1.25rem;
}

.help-modal-textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.75rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  resize: vertical;
}

.help-modal-textarea:focus {
  outline: 2px solid #f36c32;
  outline-offset: 2px;
}

.help-modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------
   Lesson content sections
----------------------------- */
.content-section {
  width: 100%;
  background-color: #fff;
  padding: 6rem 0;
}

.content-section-inner,
.content-section-blue-inner,
.content-section-orange-inner,
.content-section-workbook-inner,
.content-section-facilitation-inner,
.content-section-conclusion-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.block-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.block-header--orange {
  background-color: #f36c32;
  margin-top: 1rem;
  color: #fff;
}

.block-header-meta {
  color: #fff;
}

.block-header--teal {
  background-color: #4cb6d4;
  color: #fff;
  margin-top: 2rem;
}

.block-header-icon {
  display: inline-flex;
  margin-left: 0.25rem;
}

.block-header-icon svg {
  width: 24px;
  height: 24px;
}

.block-subtitle {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
}

.block-desc {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}

.instruction-block {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: block;
}

.instruction-label,
.instruction-label-blue,
.instruction-label-orange,
.instruction-label-conclusion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.instruction-label strong,
.instruction-label-blue strong,
.instruction-label-orange strong,
.instruction-label-conclusion strong {
  font-size: 0.95rem;
  color: #1a1a1a;
}

.instruction-icon,
.instruction-icon-blue,
.instruction-icon-orange,
.instruction-icon-conclusion {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #333;
}

.instruction-icon svg,
.instruction-icon-blue svg,
.instruction-icon-orange svg,
.instruction-icon-conclusion svg {
  width: 100%;
  height: 100%;
}

.instruction-line {
  margin: 0;
  padding-left: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
}

.instruction-note {
  padding-left: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-style: italic;
  color: #333;
  border: 1px dashed #40c3c7;
  border-radius: 5px;
  padding: 10px;
  margin: 20px 0 0 0;
}

/* Lesson blue section */
.content-section-blue {
  width: 100%;
  background-color: #e0f2f7;
  padding: 6rem 0;
}

.block-header-blue {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.block-header-blue--teal {
  background-color: #4cb6d4;
  color: #fff;
}

.instruction-block-blue {
  margin-top: 1.5rem;
  display: block;
}


.instruction-line-blue {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
}

.instruction-note-blue {
  padding-left: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-style: italic;
  color: #333;
  border: 1px dashed #40c3c7;
  border-radius: 5px;
  padding: 10px;
  margin: 20px 0 0 0;
}

.instruction-note-scripture {
  color: #40c3c7;
  font-size: 1rem;
}

/* Lesson orange section */
.content-section-orange {
  width: 100%;
  background-color: #fbead7;
  padding: 6rem 0;
}

.content-section-orange-inner {
  position: relative;
}

.block-header-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.block-header-orange--orange {
  background-color: #e85a2a;
  color: #fff;
}

.block-header-orange-meta {
  color: #fff;
}

.block-header-orange-icon {
  display: inline-flex;
  margin-left: 0.25rem;
}

.block-header-orange-icon svg {
  width: 24px;
  height: 24px;
}

.instruction-block-orange {
  margin-top: 1.5rem;
  display: block;
}


.instruction-line-orange {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
}

.instruction-line-orange--standalone {
  margin-top: 1.25rem;
}

.content-section-orange-grid {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 1rem;
}

.content-section-orange-text {
  min-width: 0;
}

.content-section-orange-image-wrap {
  margin-top: 0;
  text-align: right;
}

.content-section-orange-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

@media (max-width: 700px) {
  .content-section-orange-grid {
    grid-template-columns: 1fr;
  }

  .content-section-orange-image-wrap {
    text-align: center;
  }

  .content-section-orange-image {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Lesson workbook */
.content-section-workbook {
  width: 100%;
  background-color: #fff;
  padding: 6rem 0;
}

.block-header-workbook {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.block-header-workbook--teal {
  background-color: #4cb6d4;
  color: #fff;
}

.workbook-intro {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
  font-style: italic;
}

.workbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.workbook-cell {
  background-color: #b8e4ed;
  padding: 1.25rem;
}

.workbook-cell-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.workbook-cell-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1a1a1a;
}

.workbook-cell-text em {
  font-style: italic;
}

@media (max-width: 600px) {
  .workbook-grid {
    grid-template-columns: 1fr;
  }
}

/* Facilitation */
.content-section-facilitation {
  width: 100%;
  background-color: #fff;
  padding: 3rem 0;
}

.facilitation-milestone-block {
  border: 3px solid #e85a2a;
  padding: 1rem 1.25rem;
  margin-bottom: 3rem;
  border-radius: 0;
}

.facilitation-milestone-row {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.facilitation-milestone-label {
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a1a;
  flex-shrink: 0;
}

.facilitation-milestone-content {
  min-width: 0;
}

.facilitation-milestone-title {
  display: block;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.facilitation-milestone-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1a1a1a;
  font-weight: 400;
}

.block-header-facilitation {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.block-header-facilitation--teal {
  background-color: #4cb6d4;
  color: #fff;
}

.facilitation-intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
}

.facilitation-tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facilitation-tip {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.facilitation-tip:last-child {
  margin-bottom: 0;
}

.facilitation-tip-icon {
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-top: 0.35rem;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.45rem solid #4cb6d4;
}

.facilitation-tip-content {
  min-width: 0;
}

.facilitation-tip-title {
  display: block;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.facilitation-tip-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1a1a1a;
  padding-left: 0;
}

@media (max-width: 600px) {
  .facilitation-milestone-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Conclusion */
.content-section-conclusion {
  width: 100%;
  background-color: #fff;
  padding: 6rem 0;
}

.block-header-conclusion {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.block-header-conclusion--teal {
  background-color: #4cb6d4;
  color: #fff;
}

.block-header-conclusion-meta {
  color: #fff;
}

.block-header-conclusion-icon {
  display: inline-flex;
  margin-left: 0.25rem;
}

.block-header-conclusion-icon svg {
  width: 24px;
  height: 24px;
}

.instruction-block-conclusion {
  margin-top: 1.5rem;
  display: block;
}


.instruction-line-conclusion {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
}

.instruction-prayer {
  margin: 0.75rem 0 0 0;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #c53030;
  font-style: italic;
  border: none;
}

/* Sample table (Lesson 2) */
.content-section-sample-table {
  padding: 3rem 0;
}

.sample-table-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sample-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sample-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  background: #f8f9fa;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sample-table th,
.sample-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(184, 228, 237, 0.8);
}

.sample-table th {
  font-weight: 700;
  color: #1a1a1a;
  background: rgba(184, 228, 237, 0.25);
  width: 35%;
  min-width: 120px;
}

.sample-table td {
  color: #333;
}

.sample-table td em {
  font-style: italic;
  color: #555;
}

@media (max-width: 640px) {
  .sample-table-wrap {
    margin: 0 -1rem;
    padding: 0 1rem;
  }

  .sample-table,
  .sample-table thead,
  .sample-table tbody,
  .sample-table th,
  .sample-table td,
  .sample-table tr {
    display: block;
  }

  .sample-table tr {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid rgba(184, 228, 237, 0.8);
    border-radius: 0;
  }

  .sample-table th {
    width: 100%;
    min-width: 0;
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(184, 228, 237, 0.6);
    background: transparent;
  }

  .sample-table td {
    padding: 0;
    border: none;
  }

  .sample-table td::before {
    display: none;
  }
}

/* Strengths + group needs (Lesson 3) */
.strengths-section,
.group-needs-section {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.25rem;
  background: #e0f2f7;
  color: #1a1a1a;
}

.strengths-section__title,
.group-needs-section__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.strengths-section__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  text-decoration: underline;
  color: #333;
}

.strengths-section__instructions {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.strengths-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.strengths-section__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.strengths-section__list input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #40c3c7;
}

.strengths-section__other {
  align-items: center;
}

.strengths-section__other-input,
.group-needs-section__input {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  border: none;
  border-bottom: 1px solid #40c3c7;
  padding: 0.25rem 0;
  background: transparent;
  font-size: inherit;
}

.strengths-section__other-input:focus,
.group-needs-section__input:focus {
  outline: none;
  border-bottom-color: #35a8ab;
}

.group-needs-section__intro {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-style: italic;
}

.group-needs-section__chart {
  border: 1px solid #40c3c7;
  border-radius: 4px;
  overflow: hidden;
}

.group-needs-section__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #40c3c7;
}

.group-needs-section__row:last-child {
  border-bottom: none;
}

.group-needs-section__role {
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(64, 195, 199, 0.12);
  border-right: 1px solid #40c3c7;
}

.group-needs-section__details {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.group-needs-section__details p {
  margin: 0 0 0.35rem;
}

.group-needs-section__details p:last-of-type {
  margin-bottom: 0;
}

.group-needs-section__member {
  margin-top: 0.5rem !important;
}

@media (max-width: 600px) {
  .group-needs-section__row {
    grid-template-columns: 1fr;
  }

  .group-needs-section__role {
    border-right: none;
    border-bottom: 1px solid #40c3c7;
  }
}
