/*
 * KCR Program Single Page Styles
 * File: /css/kcr-program-single.css
 *
 * Covers: .kcr-program-single and all .program-* namespaced classes.
 * Enqueue on singular kcr_program posts (functions.php).
 */

/* ── Custom Properties ─────────────────────────────────────────────────────── */
.kcr-program-single {
  --red: #aa182c;
  --orange: #e45c37;
  --gold: #eb9d22;
  --green: #09372c;
  --cream: #f0eedb;
  --off-white: #faf7f2;

  --green-dark: #06261e;
  --green-light: #c8ddd5;
  --green-pale: #e6f0ec;
  --gold-dark: #c47d0a;
  --gold-pale: #fdf3e0;

  --text-primary: #1a1a1a;
  --text-secondary: #222;
  --text-muted: #888;
  --border: #e5e0d5;
  --border-dark: rgba(255, 255, 255, 0.15);

  --font-heading: 'Petrona', Georgia, serif;
  --font-body: 'Red Hat Display', system-ui, sans-serif;

  --wrap: 1500px;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
  --radius-sm: 6px;
}

.site-content {
  display: block;
}

.kcr-program-single *,
.kcr-program-single *::before,
.kcr-program-single *::after {
  box-sizing: border-box;
}

.kcr-program-single {
  font-family: var(--font-body);
  background-color: var(--off-white);
}

/* Remove GeneratePress default padding on this template */
.kcr-program-single .entry-content,
.kcr-program-single .inside-article {
  padding: 0;
  margin: 0;
}

/* ── Shared button styles ──────────────────────────────────────────────────── */
.program-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;

  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
  width: 100%;
  text-align: center;
  border-bottom: 2px solid var(--green);
  border-right: 2px solid var(--green);
}

.program-btn--primary {
  background-color: var(--gold);
  color: var(--green);
  border-color: var(--green);
}
.program-btn--primary:hover,
.program-btn--primary:focus {
  background-color: var(--green);
  border-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
}

.program-btn--outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.program-btn--outline:hover {
  border-color: var(--text-secondary);
  text-decoration: none;
}

.program-btn--dark {
  background-color: var(--green);
  color: #fff;
  border-color: var(--green);
  width: auto;
  flex-shrink: 0;
}
.program-btn--dark:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */

/*
 * The hero must be full-bleed across the browser window regardless of any
 * GeneratePress container or content-width constraints. We use a negative
 * margin trick to break out of the parent, then restore width to 100vw.
 */
.program-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 420px;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-top: 273px;
}

.program-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.program-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) 220px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: end;
}

/* ── Hero content (left) ─────────────────────────────────────────────────── */
.program-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--gold);
  color: #3d2600;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.program-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

/* The italic/gold second line — wrap in <em> in the title if desired,
   or use the excerpt field for the subtitle */
.program-hero__excerpt {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 1.5rem;
}

.program-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.program-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Hero info card (right) ──────────────────────────────────────────────── */
.program-hero__card {
  background-color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: end;
  margin-bottom: -1px; /* flush to bottom edge of hero */
}

.program-hero-card__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.program-hero-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--gold-pale);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.program-hero-card__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2px;
}

.program-hero-card__value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.program-hero__card .program-btn {
  margin-top: 0.25rem;
}
.program-hero__card .program-btn + .program-btn {
  margin-top: 0;
}

/* When no hero image is available (non-camp programs without a featured image) */
.program-hero--no-image {
  background-color: var(--green);
  min-height: 280px;
}

.program-hero--no-image .program-hero__overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* ── Responsive hero ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .program-hero__inner {
    grid-template-columns: 1fr;
  }
  .program-hero__card {
    margin-top: 2rem;
    align-self: auto;
  }
}

/* ── Required Documents card ───────────────────────────────────────────────── */
.program-sidebar-card--documents {
  margin-top: 1rem;
}

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

.program-documents-list__item {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.program-documents-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-documents-list__item:first-child {
  padding-top: 0;
}

.program-documents-list__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.program-documents-list__title a {
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.program-documents-list__title a:hover {
  text-decoration: underline;
}

.program-documents-list__title a i {
  font-size: 12px;
  opacity: 0.7;
}

.program-documents-list__desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.program-reg-dates {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.program-reg-dates h4 {
  color: var(--red);
  margin: 0 0 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd8c5;
}

.program-reg-dates__heading {
  color: var(--red);
  margin: 0 0 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #ddd8c5;
}

.program-reg-dates__amounts {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}

.program-reg-dates__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.program-reg-dates__label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.program-reg-dates__value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}

.program-reg-dates__time {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BODY LAYOUT
═══════════════════════════════════════════════════════════════════════════ */
/* .program-body {
  padding: 120px 0 120px;
} */

.program-body__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Two equal-height columns for description+fees | program details */
.program-body__two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
  padding: 120px 0;
  align-items: flex-start;
}

/* Each column is a flex column so its children can stretch */
.program-body__col {
  display: flex;
  flex-direction: column;
}

/* Program details card stretches to fill full column height */
.program-body__col .program-sidebar-card--details {
  flex: 1;
}

@media (max-width: 1024px) {
  .program-body__two-col {
    grid-template-columns: 1fr;
  }
}

/* ── Schedule + Location section ──────────────────────────────────────── */
.button-div {
  padding: 20px 0;
}

.program-schedule-section {
  background-color: var(--green);
  background-image: url('https://kcrdev.ken-carylranch.org/wp-content/uploads/2026/04/programs-schedule-bg.webp');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  padding: 40px;
  margin: 0 0 6rem;
}

/* Fees inside the dark schedule section */
.program-schedule-section .program-section--fees h3 {
  color: var(--off-white);
 
}

.program-schedule-section .program-fee-card {
  background-color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.program-schedule-section .program-fee-card h4 {
  border-bottom-color: #ddd8c5;
}

.program-schedule-section .program-fee-card__label {
}

.program-schedule-section .program-fee-card__value {
 var(--green);
}

.program-schedule-section__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* h3 headings inside the section read against the dark image */
.program-schedule-section h3 {
  color: var(--off-white);
  margin-bottom: 0.875rem;
}

/* Schedule rows */
.program-date-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.program-date-display__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.program-date-display__month {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--off-white);
}

.program-date-display__day {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1;
}

.program-date-display__dash {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  color: var(--off-white);
  opacity: 0.5;
  align-self: center;
}

.program-schedule-rows {
  display: flex;
  flex-direction: column;
}

.program-schedule-row {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gold);
}

.program-schedule-row:first-child {
  border-top: 1px solid var(--gold);
}

.program-schedule-row__time {
  font-size: 18px;
  color: #fff;
  margin-bottom: 0.25rem;
}

.program-schedule-row__session {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--off-white);
}

/* Equestrian sessions */
.program-eq-sessions-row {
  padding: 2rem 0 0;
  margin-top: 0.5rem;
}

.program-eq-sessions-row__inner {
  padding: 0;
  margin-bottom: 40px;
}

.program-eq-sessions-row h3 {
  color: var(--off-white);
  margin-bottom: 1rem;
}

.program-eq-sessions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 30px;
}

.program-eq-session-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-bottom: 1px solid var(--gold);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px 0;
}

.program-eq-session-card:nth-child(4n + 1) {
  border-left: none;
}

.program-eq-session-card:nth-child(4n) {
  border-right: none;
}

/* Top border only on the first row of cards */
.program-eq-session-card:nth-child(-n + 4) {
  border-top: 1px solid var(--gold);
}

.program-eq-session-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 2px;
}

.program-eq-session-card__dates {
  font-size: 18px;
  color: var(--off-white);
}

@media (max-width: 1024px) {
  .program-eq-sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-eq-session-card:nth-child(-n + 2) {
    border-top: 1px solid var(--gold);
  }
}

@media (max-width: 767px) {
  .program-eq-sessions-grid {
    grid-template-columns: 1fr;
  }

  .program-eq-session-card:first-child {
    border-top: 1px solid var(--gold);
  }
}

.program-section {
  margin-bottom: 3rem;
}
.program-section:last-child {
  margin-bottom: 0;
}

/* "About this program" eyebrow */
.program-section__eyebrow {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.625rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.program-section__eyebrow::before,
.program-section__eyebrow::after {
  content: '';
  flex: 0 0 28px;
  height: 1px;
  background-color: var(--red);
}

.program-section__heading {
  /* font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 1.25rem; */
}

/* Italic gold accent word in heading — wrap target word in <em class="program-accent"> */
.program-accent,
.program-section__heading em,
.program-cta-bar__heading em {
  font-style: italic;
  color: var(--orange);
}

.program-section__heading--sm {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.375rem;
}

.program-section__note {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

/* ── Description content ───────────────────────────────────────────────── */
.program-description {
  line-height: 1.75;
  color: var(--text-secondary);
}
.program-description p {
  margin: 0 0 1em;
}
.program-description p:last-child {
  margin-bottom: 0;
}
.program-description a {
  color: var(--green);
  text-decoration: underline;
}
.program-description ul,
.program-description ol {
  padding-left: 1.25rem;
  margin-bottom: 1em;
}
.program-description h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;

  margin: 1.5em 0 0.5em;
}

/* ── Fees cards ────────────────────────────────────────────────────────── */
.program-fees-grid {
  display: grid;
  gap: 12px;
}

.program-fees-grid--one {
  grid-template-columns: 1fr;
}

.program-fees-grid--two {
  grid-template-columns: 1fr 1fr;
}

.program-fees-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.program-fee-card {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 60px 40px;
  min-width: 160px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-fee-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--red);
  margin: 0 0 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd8c5;
}

.program-fee-card__amounts {
  display: flex;
  gap: 2.5rem;
}

.program-fee-card__amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-fee-card__label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.program-fee-card__value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}

@media only screen and (max-width: 767px) {
  .program-fees-grid {
    flex-direction: column;
  }
}

/* ── Schedule table ────────────────────────────────────────────────────── */
.program-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.program-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 320px;
}

.program-schedule-table thead tr {
  background-color: var(--cream);
}

.program-schedule-table th {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.program-schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.program-schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.program-schedule-table tbody tr:nth-child(even) {
  background-color: #fdfcfa;
}

.program-schedule-table__session {
  font-weight: 500;
}

.program-schedule-table__time {
  color: var(--text-secondary);
}

/* ── Location card ─────────────────────────────────────────────────────── */
.program-schedule-section > div:has(.program-location-card),
.program-schedule-section__location {
  margin-top: 2.5rem;
}

.program-location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 260px;
}

.program-location-card__name {
  color: var(--off-white) !important;
}

.program-location-card__info {
  background-color: var(--green);
  color: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.program-location-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background-color: rgba(235, 157, 34, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.program-location-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.program-location-card__sub {
  color: #fff;
  margin: 0;
}

.program-location-card__address {
  color: #fff;
  font-style: normal;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.program-location-card__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  color: #fff;
  margin-top: 0.25rem;
}
.program-location-card__phone a {
  color: #fff;
  text-decoration: none;
}
.program-location-card__phone a:hover {
  text-decoration: underline;
}

.program-location-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.75rem;
}
.program-location-card__link:hover {
  text-decoration: underline;
  color: var(--gold);
}

.program-location-card__map {
  position: relative;
  min-height: 260px;
}
.program-google-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.program-location-card__map-placeholder {
  position: absolute;
  inset: 0;
  background-color: #c8d8d0;
}

@media (max-width: 640px) {
  .program-location-card {
    grid-template-columns: 1fr;
  }
  .program-location-card__map {
    min-height: 200px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════════════════ */
.program-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.program-sidebar-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.program-sidebar-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;

  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.program-sidebar-card__title--no-border {
  border-bottom: none;
  padding-bottom: 0;
}

/* Program Details — featured image */
.program-program-image {
  width: 300px;
  height: 250px;
  background-color: var(--cream);
  border-radius: 20px;
  padding: 0.75rem;
  margin: 0 auto 1rem;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.program-program-image img {
  position: absolute;
  inset: 0.75rem;
  width: calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Program Details — label / value rows */
.program-details-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-details-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.program-details-list__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-details-list dt {
  font-size: 15px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.program-details-list dd {
  font-size: 15px;
  font-weight: 500;

  text-align: right;
  margin: 0;
}

/* Hosted by card */
.program-sidebar-card--host {
  background-color: var(--cream);
  border-color: #ddd8c5;
}

.program-host {
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-host__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.program-host__name {
  font-size: 14px;
  font-weight: 500;

  display: block;
}

.program-host__desc {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

/* Questions section (inside Program Details card) */
.program-questions {
  background-color: var(--red);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #fff;
  margin-top: 1.25rem;
}

.program-questions__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.program-questions__row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.program-questions__row:last-child {
  margin-bottom: 0;
}

.program-questions__row a {
  color: #fff;
  text-decoration: none;
}

.program-questions__row a:hover {
  text-decoration: underline;
}

.program-questions__row svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* ── Add to Calendar ───────────────────────────────────────────────────── */
.program-cal {
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

.program-cal__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.program-cal__options {
  display: flex;
  gap: 6px;
}

.program-cal__option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.program-cal__option:hover {
  background-color: var(--green);
  border-color: var(--green);
  color: #fff;
  text-decoration: none;
}

.program-cal__option svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED PROGRAMS
═══════════════════════════════════════════════════════════════════════════ */
.program-related {
  padding: 3rem 0;
}

.program-related__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.program-related__heading {
  font-family: var(--font-heading);

  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.program-related__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.program-related-card {
  flex: 0 1 346px;

  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Header: thumbnail + title */
.program-related-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.program-related-card__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background-color: var(--cream);
  overflow: hidden;
}

.program-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-related-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  flex: 1;
}

.program-related-card__title a {
  color: var(--red);
  text-decoration: none;
}

.program-related-card__title a:hover {
  text-decoration: underline;
}

/* Date range */
.program-related-card__dates {
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

/* Detail rows */
.program-related-card__details {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-related-card__detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.program-related-card__detail-row:last-child {
  border-bottom: none;
}

.program-related-card__detail-row dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.program-related-card__detail-row dd {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: right;
  margin: 0;
}

/* Footer button */
.program-related-card__footer {
  margin-top: auto;
}

.program-related-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 1rem;
  background-color: var(--gold);
  color: #3d2600;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background-color 0.15s;
}

.program-related-card__btn:hover {
  background-color: var(--gold-dark);
  color: #3d2600;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER CTA BAR
═══════════════════════════════════════════════════════════════════════════ */
.program-cta-bar {
  background-color: var(--gold);
  padding: 3rem;
  border-radius: 10px;
  max-width: 1000px;
  margin: 5rem auto;
  box-sizing: border-box;
}

.program-footer-wrap {
  padding: 0 var(--pad) 3rem;
}

.program-cta-bar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.program-cta-bar__heading {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin: 0 0 0.375rem;
  line-height: 1.2;
}

.program-cta-bar__heading em {
  font-style: italic;
  color: var(--green-dark);
}

.program-cta-bar__sub {
  color: var(--green);
}

.kcr-mountains-bg {
  background-image: url(https://kcrdev.ken-carylranch.org/wp-content/uploads/2026/04/main-mountain-divider-shape.png);
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw;
  width: auto;
  height: 130px;
  margin-top: -130px;
  position: relative;
  z-index: 2;
}

.program-footer-wrap {
  margin-top: 80px;
  margin-bottom: 80px !important;
}

@media only screen and (max-width: 767px) {
  .program-cta-bar__inner {
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AMENITY SINGLE — extends .kcr-program-single styles
   Extra selector mirrors custom properties onto the amenity wrapper
═══════════════════════════════════════════════════════════════════════════ */
.kcr-amenity-single {
  --red: #aa182c;
  --orange: #e45c37;
  --gold: #eb9d22;
  --green: #09372c;
  --cream: #f0eedb;
  --off-white: #faf7f2;
  --green-dark: #06261e;
  --green-light: #c8ddd5;
  --gold-dark: #c47d0a;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --border: #e5e0d5;
  --font-heading: 'Petrona', Georgia, serif;
  --font-body: 'Red Hat Display', system-ui, sans-serif;
  --wrap: 1500px;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-md: 8px;
}

/* Amenity band — 2 cols for hours + map */
.amenity-band__inner {
  grid-template-columns: 1fr 1fr;
}

/* Hours */
.amenity-hours__type {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--off-white);
  margin: 1rem 0 0.5rem;
  background:rgba(255,255,255,.1);
  padding:5px;
  border-radius: 5px;;
}

.amenity-hours__type:first-child {
  margin-top: 0;
}

.amenity-hours__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Phone list in right col */
.amenity-phones__heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;

  margin: 0 0 0.625rem;
  padding: 0.875rem 0 0.625rem;
  border-top: 1px solid var(--border);
}

.amenity-phones__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amenity-phones__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.amenity-phones__type {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.amenity-phones__number {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}

.amenity-phones__number:hover {
  text-decoration: underline;
}

/* Amenity contact box — same styling as program-questions */
.amenity-contact-box {
  margin-top: 1.25rem;
}

.amenity-contact-box .program-questions__row a {
  color: #fff;
}

.amenity-contact-box .program-questions__row span {
  color: rgba(255, 255, 255, 0.85);
}

/* Amenity contact box — contacts separated from location by a border */
.amenity-contact-box__contacts {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.contact-hr {
  background-color: rgba(255, 255, 255, 0.25);
  margin-top: 9px;
  margin-bottom: 9px;
}

/* Fee card description row */
.program-fee-card__desc {
  font-size: 19px;
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
  line-height: 1.5;
  border-top: 1px solid #ddd8c5;
  padding-top: 0.5rem;
}
