/* ============================================
   PROGRAMS PAGE STYLES
   ============================================ */

/* Override main-content-bg - bg is on .programs-content-bg instead */
.programs-page.main-content-bg {
  background-image: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.programs-hero {
    position: relative;
    min-height: 60vh;
    padding: 40px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background-image: url(../../images/hourglass-bg-fn.png);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.programs-hero-subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.programs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(251 223 208 / 40%);
  z-index: 0;
}

.programs-hero > * {
  position: relative;
  z-index: 1;
}

.programs-hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: auto;
}

.programs-title {
  font-family: var(--font-heading);
  font-size: 65px;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.programs-intro {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.programs-intro p {
  margin-bottom: 20px;
}

.programs-intro p:last-child {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: 20px !important;
}

.programs-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   CONTENT BACKGROUND
   ============================================ */
.programs-content-bg {
  background-image: url('../../images/full-bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* ============================================
   PROGRAMS HEADING SECTION
   ============================================ */
.programs-heading-section {
  padding: 60px 80px 10px;
}

/* ============================================
   SECTION TITLE ROW (Flower + Title)
   ============================================ */
.programs-section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.programs-section-title-row .divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.programs-section-title-row .divider-flower {
  color: var(--color-accent);
  font-size: 22px;
}

.programs-section-heading {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-medium);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

/* ============================================
   SESSION CHARGES & ACCESSIBILITY
   ============================================ */
.programs-charges-section {
  padding: 70px 80px;
  background: transparent;
}

.programs-charges-content {
  max-width: 1100px;
  margin: 0 auto;
  background-image: url('../../images/orign-path.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 40px 60px 50px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.programs-charges-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(248 237 232 / 45%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.programs-charges-content > * {
  position: relative;
  z-index: 1;
}

.programs-charges-keyword {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.programs-charges-text {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.programs-charges-text p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

.programs-charges-text p:last-child {
  margin-bottom: 0;
}

.programs-charges-text strong {
  color: var(--color-text-medium);
  font-weight: 500;
}

/* ============================================
   PRIVATE HEALING SESSIONS CARD
   ============================================ */
.programs-healing-section {
  padding: 0 80px 70px;
}

.programs-healing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  background-image: url('../../images/bg-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(180, 160, 140, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-fast);
}

.programs-healing-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(251 223 208 / 55%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.programs-healing-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.programs-healing-inner > * {
  position: relative;
  z-index: 1;
}

.programs-healing-image {
  flex: 0 0 40%;
  height: 500px;
  overflow: hidden;
}

.programs-healing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%) brightness(1.02);
  transition: transform 0.6s ease;
}

.programs-healing-inner:hover .programs-healing-image img {
  transform: scale(1.05);
}

.programs-healing-content {
  flex: 1;
  padding: 40px 40px 40px 20px;
}

/* ============================================
   SHARED CARD STYLES
   ============================================ */

/* Tag (Program Number / Label) */
.program-section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.program-section-tag .tag-line {
  width: 30px;
  height: 1px;
  background: var(--color-accent);
}

.program-section-tag span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
}

/* Title */
.program-section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.program-section-title span {
  color: var(--color-accent);
}

/* Subtitle */
.program-section-subtitle {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 16px;
}

.program-section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

/* Description */
.program-section-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* Pricing Tag */
.session-pricing-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 18px;
  background: rgba(201, 168, 108, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pricing-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-medium);
  text-transform: uppercase;
}

.pricing-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-accent);
}

.pricing-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
}

/* Includes Block */
.session-includes {
  margin-bottom: 24px;
}

.includes-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-medium);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Flower Bullet List */
.program-section-list {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.program-section-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 10px;
  padding-left: 4px;
}

.flower-bullet {
  color: var(--color-accent);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Program Button */
.btn-program {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #5d4e47;
  text-decoration: none;
  padding: 12px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-program:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-program i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.btn-program:hover i {
  transform: translateX(4px);
}

/* ============================================
   PROGRAM CARDS (Alternating Layout)
   ============================================ */
.programs-card-section {
  padding: 0 80px 70px;
}

.programs-card-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  background-image: url('../../images/orign-path.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(180, 160, 140, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-fast);
}

.programs-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(251 223 208 / 55%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.programs-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.programs-card-inner > * {
  position: relative;
  z-index: 1;
}

.programs-card-inner--reverse {
  flex-direction: row-reverse;
}

.programs-card-image {
  flex: 0 0 42%;
  height: 480px;
  overflow: hidden;
}

.programs-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%) brightness(1.02);
  transition: transform 0.6s ease;
}

.programs-card-inner:hover .programs-card-image img {
  transform: scale(1.05);
}

.programs-card-content {
  flex: 1;
  padding: 40px 50px 40px 40px;
}

.programs-card-inner--reverse .programs-card-content {
  padding: 40px 40px 40px 50px;
}

/* ============================================
   FOOTER OVERRIDE - Programs Page
   ============================================ */
.programs-page .footer-simple {
  background-image: url('../../images/full-bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(139, 115, 85, 0.15);
}

/* ============================================
   CTA BANNER
   ============================================ */
.programs-cta-banner {
  background: linear-gradient(135deg, #5D4E47 0%, #4A3D38 100%);
  padding: 50px 80px;
  text-align: center;
}

.cta-lotus {
  width: 50px;
  height: auto;
  opacity: 0.9;
  filter: sepia(20%);
  margin-bottom: 20px;
}

.programs-cta-text {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-inverse);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.programs-cta-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(248, 237, 232, 0.8);
  font-style: italic;
  margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE - PROGRAMS PAGE
   ============================================ */

@media (max-width: 1100px) {
  .programs-hero {
    padding: 50px;
    gap: 40px;
  }

  .programs-title {
    font-size: 46px;
  }

  .programs-card-image {
    flex: 0 0 40%;
    height: 420px;
  }

  .programs-section-heading {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .programs-hero {
    flex-direction: column;
    padding: 40px 30px;
    min-height: 70vh;
    text-align: center;
  }

  .programs-hero-subtitle {
      font-size: 26px;
      color: white;
  }

  .programs-hero-content {
    max-width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.22);
    padding: 12px;
    border-radius: 12px;
  }

  .programs-title {
    font-size: 40px;
    color: #f7dad2;
  }

  .programs-intro {
    font-size: 16px;
    color: #fadcd3;
  }

  .programs-hero-actions {
    justify-content: center;
  }

  .programs-charges-section {
    padding: 50px 30px;
  }

  .programs-heading-section {
    padding: 40px 30px 10px;
  }

  .programs-section-heading {
    font-size: 34px;
  }

  .programs-section-title-row {
    margin-bottom: 30px;
  }

  .programs-charges-content {
    padding: 30px;
    min-height: 260px;
  }

  .programs-charges-text {
    max-width: 100%;
  }

  .programs-charges-text p {
    font-size: 15px;
  }

  .programs-healing-section {
    padding: 0 30px 40px;
  }

  .programs-healing-inner {
    flex-direction: column;
    gap: 0;
  }

  .programs-healing-image {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .programs-healing-content {
    padding: 30px;
  }

  .programs-card-section {
    padding: 0 30px 40px;
  }

  /* Stack layout */
  .programs-card-inner,
  .programs-card-inner--reverse {
    flex-direction: column;
  }

  .programs-card-image {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .programs-card-content,
  .programs-card-inner--reverse .programs-card-content {
    padding: 30px;
  }

  .programs-section-heading {
    font-size: 28px;
  }

  .program-section-title {
    font-size: 30px;
  }

  .program-section-subtitle {
    font-size: 16px;
  }

  .program-section-desc {
    font-size: 14px;
  }

  .program-section-list li {
    font-size: 13px;
  }

  .programs-cta-banner {
    padding: 40px 30px;
  }

  .programs-cta-text {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .programs-hero {
    padding: 30px 20px;
  }

  .programs-title {
    font-size: 32px;
  }

  .programs-intro, .programs-hero-actions .btn-program {
      font-size: 16px;
      color: white;
  }
    .programs-hero::before {
        background: rgb(251 223 208 / 20%);
    }
.programs-hero{
    min-height: auto;
}
  .programs-charges-section {
    padding: 40px 20px;
  }

  .programs-heading-section {
    padding: 30px 20px 10px;
  }

  .programs-section-title-row {
    margin-bottom: 30px;
    gap: 8px;
  }

  .programs-section-title-row .divider-line {
    width: 40px;
  }

  .programs-section-title-row .divider-flower {
    font-size: 18px;
  }

  .programs-section-heading {
    font-size: 24px;
  }

  .programs-charges-keyword {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .programs-charges-content {
    padding: 24px 20px;
    min-height: 220px;
  }

  .programs-charges-text p {
    font-size: 15px;
  }

  .programs-healing-section {
    padding: 0 20px 30px;
  }

  .programs-healing-content {
    padding: 24px 20px;
  }

  .programs-card-section {
    padding: 0 20px 30px;
  }

  .programs-card-image {
    height: 220px;
  }

  .programs-card-content,
  .programs-card-inner--reverse .programs-card-content {
    padding: 24px 20px;
  }

  .program-section-title {
    font-size: 26px;
  }

  .program-section-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .program-section-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .program-section-list li {
    font-size: 12px;
    gap: 8px;
    margin-bottom: 8px;
  }

  .flower-bullet {
    font-size: 12px;
  }

  .session-pricing-tag {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 14px;
  }

  .pricing-value {
    font-size: 18px;
  }

  .programs-cta-banner {
    padding: 35px 20px;
  }

  .programs-cta-text {
    font-size: 24px;
  }

  .programs-cta-sub {
    font-size: 14px;
  }

  .cta-lotus {
    width: 40px;
  }
}

@media (max-width: 400px) {
  .programs-title {
      font-size: 28px;
      color: white;
  }

  .programs-section-heading {
    font-size: 20px;
  }

  .program-section-title {
    font-size: 22px;
  }

  .programs-card-image {
    height: 180px;
  }

  .programs-cta-text {
    font-size: 20px;
  }
}

/* ============================================
   PROGRAM OVERVIEW CARDS (minimal, orign-path bg)
   ============================================ */
.programs-overview-section {
  padding: 20px 80px 60px;
}

.programs-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.program-overview-card {
  position: relative;
  overflow: hidden;
  padding: 48px 44px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(180, 160, 140, 0.35);
  background-image: url('../../images/orign-path.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.program-overview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(248 237 232 / 55%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.program-overview-card > * {
  position: relative;
  z-index: 1;
}

.program-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-overview-card .program-section-tag {
  margin-bottom: 20px;
  justify-content: center;
}

.program-overview-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  line-height: 1.15;
}

.program-overview-subtitle {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  color: var(--color-accent);
  letter-spacing: 0.03em;
  margin: 0 0 22px;
}

.program-overview-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-dark);
  margin: 0 0 30px;
  max-width: 460px;
}

.program-overview-card .btn-quote {
  padding: 15px 38px;
  font-size: 14px;
  scroll-behavior: smooth;
}

.program-overview-card .btn-quote i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.program-overview-card .btn-quote:hover i {
  transform: translateY(3px);
}

/* ============================================
   PROGRAM DETAIL SECTIONS
   ============================================ */
.program-detail-section {
  padding: 70px 80px;
  scroll-margin-top: 100px;
}

.program-detail-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.program-detail-title-row .divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.program-detail-title-row .divider-flower {
  color: var(--color-accent);
  font-size: 22px;
}

.program-detail-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
  margin: 0;
  text-align: center;
}

.program-detail-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
  margin: 0 0 40px;
}

/* ============================================
   QUICK FACTS CARD ROW
   ============================================ */
.program-quickfacts {
  max-width: 960px;
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(rgba(248, 237, 232, 0.6), rgba(248, 237, 232, 0.6)),
    url('../../images/orign-path.png') center/cover no-repeat;
  border: 1px solid rgba(201, 168, 108, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(139, 115, 85, 0.12);
}

.quickfact {
  text-align: center;
  padding: 8px 10px;
  border-right: 1px solid rgba(201, 168, 108, 0.3);
}

.quickfact:last-child {
  border-right: none;
}

.quickfact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 24px;
  border: 1px solid rgba(201, 168, 108, 0.5);
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.quickfact-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.quickfact-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  line-height: 1.3;
}

/* ============================================
   DETAIL CONTENT — CARD-STYLED BLOCKS
   ============================================ */
.program-detail-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.program-detail-content::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 40px;
  bottom: 120px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(201, 168, 108, 0) 0%,
    rgba(201, 168, 108, 0.45) 10%,
    rgba(201, 168, 108, 0.45) 90%,
    rgba(201, 168, 108, 0) 100%);
  z-index: 0;
}

.program-detail-block {
  position: relative;
  margin-bottom: 26px;
  padding: 32px 36px 32px 110px;
  background:
    linear-gradient(rgba(251, 223, 208, 0.45), rgba(251, 223, 208, 0.45)),
    url('../../images/bg-1.png') center/cover no-repeat;
  border: 1px solid rgba(201, 168, 108, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(139, 115, 85, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.program-detail-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(139, 115, 85, 0.16);
}

.program-detail-block:last-of-type {
  margin-bottom: 0;
}

.program-detail-icon {
  position: absolute;
  left: 24px;
  top: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 26px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 168, 108, 0.5);
  box-shadow: 0 4px 14px rgba(201, 168, 108, 0.25);
  z-index: 2;
}

.program-detail-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 108, 0.35);
  display: block;
  position: relative;
}

.program-detail-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.program-detail-block p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-dark);
  margin: 0 0 14px;
}

.program-detail-block p:last-child {
  margin-bottom: 0;
}

.program-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-detail-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-dark);
  transition: padding-left var(--transition-fast);
}

.program-detail-list li::before {
  content: '\2732';
  position: absolute;
  left: 4px;
  top: 11px;
  color: var(--color-accent);
  font-size: 15px;
  transition: transform var(--transition-fast);
}

.program-detail-list li:hover {
  padding-left: 38px;
}

.program-detail-list li:hover::before {
  transform: rotate(180deg);
}

/* Highlight block (Key Outcomes) — stronger emphasis */
.program-detail-block--highlight {
  background:
    linear-gradient(135deg, rgba(201, 168, 108, 0.22) 0%, rgba(251, 223, 208, 0.5) 100%),
    url('../../images/bg-1.png') center/cover no-repeat;
  border: 1px solid rgba(201, 168, 108, 0.55);
  box-shadow: 0 12px 32px rgba(166, 139, 75, 0.2);
}

.program-detail-block--highlight .program-detail-heading {
  color: var(--color-primary-dark);
}

.program-detail-block--highlight .program-detail-icon {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 6px 18px rgba(201, 168, 108, 0.45);
}

.program-detail-cta {
  text-align: center;
  margin-top: 48px;
  padding: 36px 24px;
  border-top: 1px dashed rgba(201, 168, 108, 0.4);
}

/* ============================================
   RESPONSIVE — NEW SECTIONS
   ============================================ */
@media (max-width: 960px) {
  .programs-overview-section {
    padding: 20px 40px 50px;
  }

  .programs-overview-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 560px;
  }

  .program-overview-card {
    padding: 40px 32px 36px;
  }

  .program-overview-title {
    font-size: 34px;
  }

  .program-detail-section {
    padding: 50px 40px;
  }

  .program-detail-title {
    font-size: 36px;
  }

  .program-detail-heading {
    font-size: 22px;
  }

  .program-quickfacts {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
    padding: 22px 18px;
  }

  .quickfact {
    border-right: none;
    border-bottom: 1px dashed rgba(201, 168, 108, 0.3);
    padding-bottom: 14px;
  }

  .quickfact:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .program-detail-content::before {
    display: none;
  }

  .program-detail-block {
    padding: 90px 26px 28px;
  }

  .program-detail-icon {
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .program-detail-heading {
    text-align: center;
  }

  .program-detail-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .programs-overview-section {
    padding: 15px 20px 40px;
  }

  .program-overview-card {
    padding: 34px 24px 30px;
  }

  .program-overview-title {
    font-size: 28px;
  }

  .program-overview-subtitle {
    font-size: 16px;
  }

  .program-overview-desc {
    font-size: 15px;
  }

  .program-detail-section {
    padding: 40px 20px;
  }

  .program-detail-title-row {
    gap: 8px;
  }

  .program-detail-title-row .divider-line {
    width: 40px;
  }

  .program-detail-title {
    font-size: 28px;
  }

  .program-detail-eyebrow {
    font-size: 11px;
    margin-bottom: 30px;
  }

  .program-detail-heading {
    font-size: 20px;
  }

  .program-detail-block {
    margin-bottom: 20px;
    padding: 84px 20px 24px;
  }

  .program-quickfacts {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .quickfact {
    border-bottom: 1px dashed rgb(201 168 108 / 76%);
  }

  .quickfact:nth-last-child(-n+2) {
    border-bottom:1px dashed rgb(201 168 108 / 76%);
  }

  .quickfact:last-child {
    border-bottom: none;
  }

  .quickfact-value {
    font-size: 16px;
  }

  .program-detail-block p,
  .program-detail-list li {
    font-size: 15px;
  }
}

/* ============================================================
   BOOK SPREAD — Program Detail Redesign
   ============================================================ */
.program-book-section {
  position: relative;
  overflow: hidden;
}

.program-curves {
  position: absolute;
  left: 18px;
  top: 60px;
  bottom: 60px;
  width: 80px;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
  z-index: 1;
}

.program-book-section--alt .program-curves {
  left: auto;
  right: 18px;
  transform: scaleX(-1);
}

.program-book {
  position: relative;
  max-width: 1080px;
  margin: 10px auto 0;
  padding: 0 20px;
  z-index: 2;
}

.program-book-spread {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background:
    linear-gradient(rgba(253, 246, 238, 0.92), rgba(253, 246, 238, 0.92)),
    url('../../images/paper-book-hour.jpeg') center/cover no-repeat;
  border: 1px solid rgba(201, 168, 108, 0.45);
  border-radius: 6px 14px 14px 6px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 60px rgba(92, 66, 40, 0.22),
    0 6px 18px rgba(92, 66, 40, 0.12);
  min-height: 700px;
  isolation: isolate;
}

/* Book spine — the fold between left and right pages */
.program-book-spread::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% / 2.2);
  width: 40px;
  background: linear-gradient(90deg,
    rgba(130, 95, 60, 0) 0%,
    rgba(130, 95, 60, 0.16) 30%,
    rgba(92, 66, 40, 0.32) 50%,
    rgba(130, 95, 60, 0.16) 70%,
    rgba(130, 95, 60, 0) 100%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

/* Subtle page-edge shadow on the outside of the left page */
.program-book-spread::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 12px 0 24px -12px rgba(92, 66, 40, 0.18),
              inset -12px 0 24px -12px rgba(92, 66, 40, 0.1);
  pointer-events: none;
}

.program-book-page {
  position: relative;
  padding: 52px 56px 46px;
  z-index: 2;
}

/* ---------- LEFT PAGE — BOOK COVER ---------- */
.program-book-cover {
  background:
    linear-gradient(145deg, rgba(201, 168, 108, 0.18) 0%, rgba(139, 115, 85, 0.12) 60%, rgba(92, 66, 40, 0.14) 100%),
    linear-gradient(rgba(251, 223, 208, 0.45), rgba(251, 223, 208, 0.45)),
    url('../../images/card-book-ink.jpeg') center/cover no-repeat;
  border-right: 1px solid rgba(130, 95, 60, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 40px;
}

.book-cover-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 40px 28px 34px;
  text-align: center;
  border: 1px solid rgba(130, 95, 60, 0.45);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(253, 246, 238, 0.55) 0%, rgba(251, 223, 208, 0.35) 100%);
  box-shadow:
    0 0 0 1px rgba(253, 246, 238, 0.6) inset,
    0 8px 24px rgba(92, 66, 40, 0.12);
}

.book-cover-frame::before,
.book-cover-frame::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  height: 6px;
  border-top: 1px solid rgba(130, 95, 60, 0.4);
  border-bottom: 1px solid rgba(130, 95, 60, 0.4);
  pointer-events: none;
}

.book-cover-frame::before { top: 12px; }
.book-cover-frame::after  { bottom: 12px; }

.book-cover-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 6px 14px;
  border: 1px solid rgba(201, 168, 108, 0.6);
  border-radius: 999px;
  background: rgba(253, 246, 238, 0.7);
  margin-bottom: 24px;
}

.book-cover-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  box-shadow: 0 8px 22px rgba(166, 139, 75, 0.38),
              0 0 0 6px rgba(253, 246, 238, 0.55);
}

.book-cover-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--color-text-medium);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.book-cover-title em {
  font-style: italic;
  color: var(--color-primary-dark);
}

.book-cover-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.book-cover-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-accent);
  font-size: 16px;
  margin-bottom: 18px;
}

.book-cover-ornament .divider-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.book-cover-author {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  color: var(--color-text-medium);
}

/* ---------- RIGHT PAGE — CHAPTER CONTENT ---------- */
.program-book-content {
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* ------- Flippable pages container ------- */
.book-pages {
  position: relative;
  flex: 1;
  min-height: 580px;
  perspective: 2200px;
  perspective-origin: left center;
}

.book-page-sheet {
  position: absolute;
  inset: 0;
  padding: 20px 30px 12px 30px;
  /*padding: 48px 58px 30px 58px;*/
  transform-origin: left center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.85s cubic-bezier(0.65, 0.05, 0.36, 1),
              box-shadow 0.85s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: rotateY(0);
  z-index: 1;
  /* Opaque paper background so the flipping sheet reads as a real sheet of paper */
  background:
    linear-gradient(rgba(253, 246, 238, 0.97), rgba(253, 246, 238, 0.97)),
    url('../../images/paper-book-hour.jpeg') center/cover no-repeat;
  background-color: #FDF6EE;
  /* Subtle ink-side shading near the spine */
  box-shadow: inset 14px 0 22px -14px rgba(92, 66, 40, 0.18);
}

.book-page-sheet.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
  transform: rotateY(0);
}

.book-page-sheet.is-past {
  opacity: 1;
  visibility: visible;
  transform: rotateY(-180deg);
  z-index: 2;
  box-shadow:
    inset 14px 0 22px -14px rgba(92, 66, 40, 0.18),
    8px 0 24px rgba(92, 66, 40, 0.28);
}

/* While actively turning — temporarily keep the flipping sheet visible and lifted */
.book-page-sheet.is-turning {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 4;
  box-shadow:
    inset 14px 0 22px -14px rgba(92, 66, 40, 0.2),
    6px 0 24px rgba(92, 66, 40, 0.32);
}

.book-page-header {
  margin-bottom: 8px;
}

.book-chapter-eyebrow {
  display: block;
    text-align: right;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.book-chapter-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}

.book-chapter-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin-top: 6px;
}

.book-page-body {
  flex: 1;
  position: relative;
}

.book-page-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin: 0 0 12px;
  text-align: justify;
  text-justify: inter-word;
}

.book-page-sheet[data-sheet-index="0"] .book-page-body p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-accent);
  float: left;
  line-height: 0.9;
  margin: 4px 8px 0 0;
}

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

.book-page-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.book-page-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.book-page-list li::before {
  content: '\2732';
  position: absolute;
  left: 4px;
  top: 9px;
  color: var(--color-accent);
  font-size: 12px;
}

.book-page-list li strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.book-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 15px;
  padding: 16px 0 30px;
  border-top: 1px dashed rgba(201, 168, 108, 0.5);
  gap: 18px;
  flex-wrap: wrap;
}

.book-page-end {
  display: flex;
  align-items: center;
  gap: 18px;
}

.book-page-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.book-nav-arrow {
  width: auto;
  height: auto;
  padding: 2px 6px;
  background: none;
  border: none;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.book-nav-arrow:hover:not(:disabled) {
  color: var(--color-accent);
}

.book-nav-arrow[data-book-nav="prev"]:hover:not(:disabled) {
  transform: translateX(-3px);
}

.book-nav-arrow[data-book-nav="next"]:hover:not(:disabled) {
  transform: translateX(3px);
}

.book-nav-arrow:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.btn-read-chapter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  border: none;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(166, 139, 75, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-read-chapter i {
  font-size: 14px;
}

.btn-read-chapter:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(166, 139, 75, 0.4);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.book-page-number {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

/* Alternate program — swap left/right pages for visual variety */
.program-book-section--alt .program-book-spread {
  grid-template-columns: 1fr 1.2fr;
  direction: rtl;
}

.program-book-section--alt .program-book-page {
  direction: ltr;
}

.program-book-section--alt .program-book-spread::before {
  left: calc(100% - (100% / 2.2));
}

.program-book-section--alt .program-book-cover {
  border-right: none;
  border-left: 1px solid rgba(130, 95, 60, 0.22);
}

/* ============================================================
   BOOK SPREAD RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .program-curves {
    display: none;
  }

  .program-book {
    padding: 0 10px;
  }

  .program-book-spread,
  .program-book-section--alt .program-book-spread {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }

  .program-book-spread::before {
    display: none;
  }

  .program-book-cover {
    border-right: none;
    border-bottom: 1px solid rgba(130, 95, 60, 0.22);
    padding: 42px 30px;
  }

  .program-book-section--alt .program-book-cover {
    border-left: none;
    border-bottom: 1px solid rgba(130, 95, 60, 0.22);
  }

  .program-book-content {
    padding: 0;
  }

  /* Flatten the flippable sheets into natural-flow content on mobile so
     content isn't clipped by the fixed 580px min-height. */
  .book-pages {
    min-height: auto;
    perspective: none;
  }

  .book-page-sheet {
    position: relative;
    inset: auto;
    padding: 40px 30px 24px;
    transform: none !important;
    transition: none;
    background: transparent;
    box-shadow: none;
  }

  .book-page-sheet:not(.is-current) {
    display: none;
  }

  .book-page-sheet.is-current {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .book-page-footer {
    margin: 0 30px;
    padding: 14px 0 32px;
  }

  .book-cover-title {
    font-size: 38px;
  }

  .book-chapter-title {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .program-book {
    padding: 0 4px;
  }

  .program-book-page {
    padding: 30px 18px;
  }

  .program-book-cover {
    padding: 34px 18px;
  }

  .program-book-content {
    padding: 0;
  }

  .book-page-sheet {
    padding: 26px 18px 18px;
  }

  .book-page-footer {
    margin: 0 18px;
    padding: 14px 0 24px;
  }

  .book-cover-frame {
    max-width: 100%;
    padding: 28px 18px 22px;
  }

  .book-cover-title {
    font-size: 30px;
  }

  .book-cover-icon {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .book-chapter-title {
    font-size: 24px;
    max-width: 100%;
    word-wrap: break-word;
  }

  .book-page-body p {
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
  }

  .book-page-body p:first-of-type::first-letter {
    font-size: 36px;
  }

  .book-page-list li {
    font-size: 14px;
    padding: 6px 0 6px 22px;
  }

  .book-page-footer {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .book-page-end {
    justify-content: space-between;
  }

  .btn-read-chapter {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    letter-spacing: 0.12em;
  }
}

/* ============================================================
   PROGRAM MODAL
   ============================================================ */
body.modal-open {
  overflow: hidden;
}

.program-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.program-modal.program-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.program-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(52, 34, 22, 0.58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.program-modal-dialog {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(253, 246, 238, 0.96), rgba(253, 246, 238, 0.96)),
    url('../../images/paper-book-hour.jpeg') center/cover no-repeat;
  border: 1px solid rgba(201, 168, 108, 0.55);
  border-radius: 10px;
  box-shadow:
    0 30px 80px rgba(30, 18, 10, 0.45),
    0 0 0 1px rgba(253, 246, 238, 0.5) inset;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}

.program-modal--open .program-modal-dialog {
  transform: translateY(0) scale(1);
}

.program-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 108, 0.5);
  background: rgba(253, 246, 238, 0.9);
  color: var(--color-primary-dark);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.program-modal-close:hover {
  background: var(--color-accent);
  color: #fff;
  transform: rotate(90deg);
}

.program-modal-header {
  padding: 25px 50px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 108, 0.3);
}

.program-modal-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.program-modal-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
}

.program-modal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-accent);
  font-size: 16px;
}

.program-modal-divider .divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.program-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 50px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 108, 0.5) transparent;
}

.program-modal-body::-webkit-scrollbar {
  width: 8px;
}

.program-modal-body::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 108, 0.5);
  border-radius: 4px;
}

.modal-chapter {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(201, 168, 108, 0.35);
}

.modal-chapter:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.modal-chapter-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-chapter-title i {
  font-size: 16px;
  color: var(--color-accent);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 108, 0.5);
  background: rgba(253, 246, 238, 0.8);
}

.modal-chapter p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-dark);
  margin: 0 0 12px;
}

.modal-chapter p:last-child {
  margin-bottom: 0;
}

.modal-chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-chapter-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-dark);
}

.modal-chapter-list li::before {
  content: '\2732';
  position: absolute;
  left: 4px;
  top: 9px;
  color: var(--color-accent);
  font-size: 13px;
}

.modal-sub-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--color-primary-dark);
  margin: 18px 0 6px;
  padding-left: 14px;
  border-left: 2px solid var(--color-accent);
  letter-spacing: 0.02em;
}

.modal-sub-heading:first-of-type {
  margin-top: 4px;
}

.modal-chapter--highlight {
  background: linear-gradient(135deg, rgba(201, 168, 108, 0.14) 0%, rgba(251, 223, 208, 0.3) 100%);
  border: 1px solid rgba(201, 168, 108, 0.4);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.modal-chapter--highlight + .modal-chapter {
  padding-top: 4px;
}

.program-modal-footer {
  padding: 14px 46px 12px;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 108, 0.3);
  background: rgba(251, 223, 208, 0.25);
  border-radius: 0 0 10px 10px;
}

@media (max-width: 720px) {
  .program-modal {
    padding: 20px 12px;
  }

  .program-modal-dialog {
    max-height: calc(100vh - 40px);
  }

  .program-modal-header {
    padding: 35px 28px 8px;
  }

  .program-modal-title {
    font-size: 30px;
  }

  .program-modal-body {
    padding: 26px 28px 12px;
  }

  .program-modal-footer {
    padding: 10px 28px 12px;
  }

  .modal-chapter-title {
    font-size: 20px;
  }
}

