/* ==========================================================================
   Alto Mind Community Newsletter - EDITORIAL DIGITAL MAGAZINE CSS
   ========================================================================== */

:root {
  --terracotta: #C86A4A;
  --sage-green: #A4B49A;
  --sage-dark: #3B6047;
  --deep-blue: #1E3A4D;
  --cream-bg: #F7F3E9;
  --warm-taupe: #E6DED1;
  --text-muted: #5A6A75;
  --text-dark: #2D3748;
  --heading-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif-font: Georgia, "Times New Roman", Times, serif;
}

/* Base Editorial Page Styling */
body {
  background-color: var(--cream-bg);
  color: var(--text-dark);
  font-family: var(--heading-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Signature Cursive Font */
.editorial-signature {
  font-family: 'Caveat', cursive, serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1.1;
  margin-top: 10px;
  display: block;
}

/* 1. ELEGANT OPENING SECTION MATCHING MOCKUP */
.ref-opening-section {
  padding: 85px 0 65px;
  background: var(--cream-bg);
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(30, 58, 77, 0.08);
}

.ref-opening-overline {
  font-family: var(--heading-font);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.ref-opening-title {
  font-family: var(--serif-font);
  font-size: 42px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 28px;
}

.ref-opening-quote-box {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ref-quote-mark {
  font-family: var(--serif-font);
  font-size: 52px;
  color: var(--terracotta);
  line-height: 1;
  font-weight: 800;
}

.ref-opening-quote-text {
  font-family: var(--serif-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.45;
}

/* 2. 2-COLUMN LETTER & PORTRAIT SECTION MATCHING MOCKUP */
.ref-letter-section {
  padding: 75px 0 90px;
  background: var(--cream-bg);
}

.ref-letter-title {
  font-family: var(--serif-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 26px;
}

.ref-letter-p {
  font-size: 15.5px;
  line-height: 1.82;
  color: #334155;
  /* margin-bottom: 22px; */
  font-weight: 400;
}

.ref-letter-bold {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.7;
  margin-top: 28px;
}

.ref-portrait-card {
  text-align: left;
  padding-left: 20px;
}

.ref-portrait-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(30, 58, 77, 0.12);
  border: 1px solid rgba(30, 58, 77, 0.08);
}

.ref-portrait-meta {
  margin-top: 16px;
}

.ref-portrait-role {
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
}

/* 3. WIDE ACCENT QUOTE BANNER MATCHING MOCKUP (SAGE GREEN BACKGROUND) */
.ref-accent-banner {
  padding: 55px 0;
  background: var(--sage-green);
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(30, 58, 77, 0.08);
  border-bottom: 1px solid rgba(30, 58, 77, 0.08);
}

.ref-accent-quote-box {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
}

.ref-accent-quote-text {
  font-family: var(--serif-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.42;
}

/* 4. MOMENTS THAT INSPIRE GROWTH (GALLERY GRID WITH REDUCED IMAGE HEIGHT) */
.ref-gallery-section {
  padding: 40px 0;
  background: var(--cream-bg);
}

.ref-gallery-overline {
  font-family: var(--heading-font);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

.ref-gallery-title {
  font-family: var(--serif-font);
  font-size: 38px;
  font-weight: 700;
  color: var(--deep-blue);
  text-align: center;
  margin-bottom: 45px;
}

.ref-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(30, 58, 77, 0.08);
  border: 1px solid rgba(30, 58, 77, 0.08);
  transition: transform 0.35s ease;
}

.ref-gallery-img:hover {
  transform: scale(1.02);
}



/* 2. Large Opening Quote Section (Full-Width 1140px) */
.editorial-quote-section {
  padding: 85px 0 75px;
  background: var(--cream-bg);
  position: relative;
}

.opening-quote-box {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 24px;
}

.opening-quote-icon {
  font-size: 40px;
  color: var(--terracotta);
  margin-bottom: 20px;
  opacity: 0.9;
}

.opening-quote-text {
  font-family: var(--serif-font);
  font-size: 32px;
  font-weight: 600;
  font-style: italic;
  color: var(--deep-blue);
  line-height: 1.48;
  margin-bottom: 20px;
}

.opening-quote-author {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #3B6047;
  text-transform: uppercase;
}

/* 3. The Letter (Full-Width 1140px Layout) */
.editorial-letter-section {
  padding: 85px 0 30px;
  background: var(--cream-bg);
}

.editorial-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.editorial-paragraph-lead {
  font-size: 24px;
  line-height: 1.7;
  color: var(--deep-blue);
  font-weight: 700;
  margin-bottom: 30px;
}

.editorial-paragraph {
  font-size: 18.5px;
  line-height: 1.88;
  color: var(--text-dark);
  margin-bottom: 28px;
  font-weight: 400;
}

.editorial-dropcap::first-letter {
  font-family: var(--serif-font);
  font-size: 68px;
  line-height: 54px;
  float: left;
  margin-top: 4px;
  margin-right: 14px;
  margin-bottom: -4px;
  color: var(--terracotta);
  font-weight: 700;
}

/* 4. Pull Quotes & Images (Visual Breakouts) */
.editorial-image-frame {
  margin: 50px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(30, 58, 77, 0.08);
  border: 1px solid rgba(30, 58, 77, 0.08);
}

.editorial-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.editorial-img-caption {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 10px;
  text-align: center;
}

.editorial-pullquote {
  margin: 45px 0;
  padding: 30px 36px;
  background: var(--warm-taupe);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 18px 18px 0;
}

.editorial-pullquote-text {
  font-family: var(--serif-font);
  font-size: 22px;
  line-height: 1.6;
  font-style: italic;
  color: var(--deep-blue);
  font-weight: 600;
  margin: 0;
}

/* 5. Closing Message & Founder Sign-Off */
.editorial-signoff-card {
  margin-top: 50px;
  padding-top: 35px;
  border-top: 1px solid rgba(30, 58, 77, 0.12);
  display: flex;
  align-items: center;
  gap: 24px;
}

.signoff-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(30, 58, 77, 0.12);
}

.signoff-name {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.signoff-role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Magazine Adjustments */
@media (max-width: 767.98px) {
  .community-hero-title {
    font-size: 34px;
  }

  .opening-quote-text {
    font-size: 21px;
  }

  .editorial-paragraph-lead {
    font-size: 18px;
  }

  .editorial-paragraph {
    font-size: 16.5px;
  }

  .editorial-pullquote-text {
    font-size: 18px;
  }

  .editorial-img {
    height: 320px;
  }
}

/* ==========================================================================
   THE SCHOOL OF LIFE - Alto Mind EDITORIAL COMMUNITY BANNER (EXACT REFERENCE 1:1)
   ========================================================================== */
.sol-community-banner-section {
  width: 100%;
  background: var(--sage-green);
  padding-top: 0;
  border-bottom: 1px solid rgba(30, 58, 77, 0.1);
}

.sol-banner-left {
  background: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 60px 85px 80px;
}

.sol-banner-left-inner {
  max-width: 520px;
}

.sol-banner-title {
  font-family: var(--heading-font);
  font-size: 46px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.8px;
  color: var(--deep-blue);
  line-height: 1.06;
  margin-bottom: 24px;
}

.sol-banner-desc {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.68;
  color: #2D3748;
  margin-bottom: 30px;
}

.sol-underline-link {
  color: var(--deep-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.sol-underline-link:hover {
  color: var(--terracotta);
}

.sol-email-form {
  max-width: 480px;
}

.sol-email-input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: 1.5px solid rgba(30, 58, 77, 0.25);
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--deep-blue) !important;
  background: var(--warm-taupe) !important;
  outline: none;
  transition: border-color 0.2s ease;
}

.sol-email-input::placeholder,
.cta-email-input::placeholder {
  color: rgba(30, 58, 77, 0.75) !important;
  opacity: 1 !important;
  font-size: 14px;
  font-weight: 500;
}

.sol-email-input::-webkit-input-placeholder,
.cta-email-input::-webkit-input-placeholder {
  color: rgba(30, 58, 77, 0.75) !important;
  opacity: 1 !important;
  font-size: 14px;
  font-weight: 500;
}

.sol-email-input::-moz-placeholder,
.cta-email-input::-moz-placeholder {
  color: rgba(30, 58, 77, 0.75) !important;
  opacity: 1 !important;
  font-size: 14px;
  font-weight: 500;
}

.sol-email-input:-ms-input-placeholder,
.cta-email-input:-ms-input-placeholder {
  color: rgba(30, 58, 77, 0.75) !important;
  opacity: 1 !important;
  font-size: 14px;
  font-weight: 500;
}

.sol-email-input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 106, 74, 0.12);
}

/* ==========================================================================
   INDIVIDUAL PROGRAM TOPICS & SPECIALIZED TRACKS (css/community.css)
   ========================================================================== */

.mc-topic-card {
  background: var(--cream-bg);
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid rgba(30, 58, 77, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mc-topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 58, 77, 0.12);
  border-color: var(--terracotta);
}

.mc-topic-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(200, 106, 74, 0.12);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.mc-topic-card:hover .mc-topic-icon {
  background: var(--terracotta);
  color: #ffffff;
}

.mc-topic-title {
  font-family: var(--serif-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.mc-topic-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 20px;
}

height: 52px;
padding: 0 28px;
background: var(--terracotta);
color: #ffffff;
font-family: var(--heading-font);
font-size: 13px;
font-weight: 800;
letter-spacing: 1px;
text-transform: uppercase;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background 0.25s ease;
}

/* ==========================================================================
   HIGH-END TRAINING PROGRAM CARDS (css/community.css)
   ========================================================================== */

.mc-program-card {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(30, 58, 77, 0.2) !important;
  box-shadow: 0 10px 25px rgba(30, 58, 77, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mc-program-card:hover {
  transform: translateY(-6px);
  border-color: var(--terracotta) !important;
  box-shadow: 0 16px 35px rgba(30, 58, 77, 0.12);
}

.mc-prog-img-box {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 58, 77, 0.12) !important;
}

.mc-prog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mc-program-card:hover .mc-prog-img {
  transform: scale(1.08);
}

.mc-prog-cat-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--terracotta);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(200, 106, 74, 0.4);
}

.mc-prog-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.mc-prog-title {
  font-family: var(--serif-font);
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.mc-prog-highlight {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mc-prog-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
}

.mc-prog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: var(--deep-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.mc-prog-btn:hover {
  background: var(--terracotta);
  color: #ffffff;
  transform: translateY(-2px);
}

.sol-submit-btn:hover {
  background: var(--deep-blue);
}

.sol-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--terracotta);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(200, 106, 74, 0.28);
  transition: all 0.3s ease;
}

.sol-contact-btn:hover {
  background: var(--deep-blue);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 58, 77, 0.3);
}

.sol-contact-btn i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

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

.sol-banner-right {
  background: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  /* min-height: 580px; */
  overflow: hidden;
}

.sol-banner-right-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Premium Product Mockup Grid Stack matching School of Life Reference */
.sol-mockup-stack {
  position: relative;
  width: 460px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-mockup-item {
  position: absolute;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(30, 58, 77, 0.16);
  border: 1px solid rgba(30, 58, 77, 0.1);
  overflow: hidden;
  transition: all 0.35s ease;
}

.sol-mockup-item:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 24px 50px rgba(30, 58, 77, 0.25);
  z-index: 10 !important;
}

.mockup-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-item-body {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mockup-item-badge {
  font-family: var(--heading-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
}

.mockup-item-title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--deep-blue);
  line-height: 1.15;
  margin: 8px 0 4px;
}

.mockup-item-sub {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

/* 5-Product Mockup Stack matching reference layout - ENHANCED LARGER SIZE */
.sol-mockup-stack {
  position: relative;
  width: 580px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Item 1: Who Am I? (Back Left Tall Box) */
.sol-mockup-item.item-1 {
  width: 175px;
  height: 285px;
  top: 15px;
  left: 10px;
  z-index: 2;
  transform: rotate(-3deg);
}

/* Item 2: Subconscious Rewiring (Back Center Book) */
.sol-mockup-item.item-2 {
  width: 210px;
  height: 315px;
  top: 0px;
  left: 155px;
  z-index: 3;
  transform: rotate(1deg);
}

/* Item 3: Stoicism & Stamina (Back Right Book) */
.sol-mockup-item.item-3 {
  width: 190px;
  height: 280px;
  top: 25px;
  left: 335px;
  z-index: 4;
  transform: rotate(-2deg);
}

/* Item 4: Know Yourself (Front Center Box) */
.sol-mockup-item.item-4 {
  width: 185px;
  height: 230px;
  top: 165px;
  left: 105px;
  z-index: 6;
  transform: rotate(2deg);
}

/* Item 5: Executive Clarity (Front Right Box) */
.sol-mockup-item.item-5 {
  width: 195px;
  height: 245px;
  top: 150px;
  left: 275px;
  z-index: 7;
  transform: rotate(-3deg);
}

@media (max-width: 991.98px) {
  .sol-community-banner-section {
    padding-top: 0;
  }

  .sol-banner-left {
    padding: 50px 24px;
  }

  .sol-banner-title {
    font-size: 34px;
  }

  .sol-banner-right {
    padding: 40px 20px;
    min-height: 380px;
  }

  .sol-mockup-stack {
    width: 340px;
    height: 280px;
  }

  .sol-mockup-item.item-who-am-i {
    width: 130px;
    height: 180px;
    left: 70px;
  }

  .sol-mockup-item.item-stoicism {
    width: 120px;
    height: 160px;
    left: 10px;
  }

  .sol-mockup-item.item-know-yourself {
    width: 130px;
    height: 170px;
    left: 190px;
  }
}

/* ==========================================================================
   MINDVALLEY INSPIRED SCALABLE PROGRAMS LIBRARY STYLES (css/community.css)
   ========================================================================== */

.mv-hero-section {
  padding: 105px 0 85px;
  background: linear-gradient(180deg, rgba(164, 180, 154, 0.94) 0%, rgba(164, 180, 154, 0.88) 100%), url('../images/10.JPG') center/cover no-repeat;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(30, 58, 77, 0.12);
}

.mv-hero-badge-pill {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(30, 58, 77, 0.08);
  border: 1px solid rgba(30, 58, 77, 0.12);
  border-radius: 30px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mv-hero-headline {
  font-family: var(--serif-font);
  font-size: 58px;
  font-weight: 800;
  color: var(--deep-blue);
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.mv-hero-subtitle {
  font-size: 22px;
  line-height: 1.5;
  color: var(--terracotta);
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 20px;
}

.mv-hero-desc {
  font-size: 17.5px;
  line-height: 1.82;
  color: var(--deep-blue);
  font-weight: 500;
  max-width: 840px;
  margin: 0 auto 40px;
}

/* Category Filter Bar (Clean & Strong Pills) */
.mv-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.mv-filter-chip {
  padding: 11px 24px;
  background: var(--cream-bg);
  border: 1.5px solid rgba(30, 58, 77, 0.15);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--deep-blue);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(30, 58, 77, 0.05);
}

.mv-filter-chip:hover {
  background: var(--warm-taupe);
  color: var(--deep-blue);
  transform: translateY(-2px);
  text-decoration: none;
}

.mv-filter-chip.active {
  background: var(--deep-blue);
  color: #ffffff;
  border-color: var(--deep-blue);
  box-shadow: 0 8px 22px rgba(30, 58, 77, 0.25);
  transform: translateY(-2px);
}

/* Featured Program Spotlight Card (Warm Taupe Background + Sage Badge) */
.mv-featured-section {
  padding: 85px 0 75px;
  background: var(--cream-bg);
}

.mv-featured-card {
  background: var(--warm-taupe);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(30, 58, 77, 0.08);
  border: 1px solid rgba(30, 58, 77, 0.1);
}

.mv-featured-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.mv-featured-body {
  padding: 55px 50px;
}

.mv-featured-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--sage-green);
  color: var(--deep-blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 30px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.mv-featured-title {
  font-family: var(--serif-font);
  font-size: 34px;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.25;
  margin-bottom: 14px;
}

.mv-featured-instructor {
  font-size: 14px;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 20px;
}

.mv-featured-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #2D3748;
  margin-bottom: 30px;
}

/* Scalable Program Card Layout (Warm Taupe Background, No White) */
.mv-program-card {
  background: var(--warm-taupe);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(30, 58, 77, 0.06);
  border: 1px solid rgba(30, 58, 77, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-program-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(30, 58, 77, 0.13);
}

.mv-card-img-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.mv-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mv-program-card:hover .mv-card-img {
  transform: scale(1.06);
}

.mv-card-cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--sage-dark);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.mv-card-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mv-card-title {
  font-family: var(--serif-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.3;
  margin-bottom: 12px;
}

.mv-card-intro {
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 24px;
  flex-grow: 1;
}

.mv-card-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--terracotta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.mv-card-link:hover {
  color: var(--deep-blue);
  gap: 12px;
}



/* 1. HERO SHOWCASE BANNER */
.prog-hero-section {
  padding: 80px 0 70px;
  background: var(--sage-green);
  border-bottom: 1px solid rgba(30, 58, 77, 0.08);
}

.prog-hero-overline {
  font-family: var(--heading-font);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.prog-hero-title {
  font-family: var(--serif-font);
  font-size: 42px;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.18;
  margin-bottom: 22px;
}

.prog-hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 30px;
}

.prog-hero-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(30, 58, 77, 0.12);
  border: 1px solid rgba(30, 58, 77, 0.08);
}

.prog-hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

/* 2. PROGRAM CARDS GRID SECTION */
.prog-grid-section {
  padding: 90px 0;
  background: var(--cream-bg);
}

.prog-section-header {
  text-align: center;
  margin-bottom: 55px;
}

.prog-card {
  background: var(--warm-taupe);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(30, 58, 77, 0.07);
  border: 1px solid rgba(30, 58, 77, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.prog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(30, 58, 77, 0.14);
}

.prog-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.prog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prog-card:hover .prog-card-img {
  transform: scale(1.05);
}

.prog-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  background: var(--sage-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

.prog-card-body {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prog-card-title {
  font-family: var(--serif-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 14px;
}

.prog-card-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 24px;
  flex-grow: 1;
}

.prog-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.prog-card-list li {
  font-size: 14px;
  color: var(--deep-blue);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prog-card-list li i {
  color: var(--terracotta);
  font-size: 12px;
}

.prog-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--terracotta);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.prog-card-btn:hover {
  background: var(--deep-blue);
  color: #ffffff;
  transform: translateY(-2px);
}



/* 4. METHODOLOGY & FOUNDER SECTION */
.prog-mentor-section {
  padding: 90px 0;
  background: var(--warm-taupe);
}

.prog-mentor-card {
  background: var(--cream-bg);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 45px rgba(30, 58, 77, 0.06);
  border: 1px solid rgba(30, 58, 77, 0.1);
}

.prog-mentor-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30, 58, 77, 0.12);
}

.prog-signature {
  font-family: 'Caveat', cursive, serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1.1;
  margin-top: 12px;
  display: block;
}

@media (max-width: 991.98px) {
  .prog-hero-title {
    font-size: 32px;
  }

  .prog-sage-quote-text {
    font-size: 22px;
  }

  .prog-mentor-card {
    padding: 30px 24px;
  }
}

/* ==========================================================================
   MASTERCLASS INSPIRED Training Programs PAGE STYLES (css/community.css)
   ========================================================================== */

/* 1. MasterClass Hero Showcase */
.mc-hero-section {
  padding: 75px 0 65px;
  background: linear-gradient(135deg, rgba(30, 58, 77, 0.94) 0%, rgba(59, 96, 71, 0.9) 100%), url('../images/10.JPG') center/cover no-repeat;
  color: #ffffff;
  position: relative;
}

.mc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(200, 106, 74, 0.25);
  border: 1px solid rgba(200, 106, 74, 0.5);
  color: #F7F3E9;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mc-hero-title {
  font-family: var(--serif-font);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.mc-hero-instructor-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mc-instructor-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terracotta);
}

.mc-instructor-info {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.95) !important;
}

.mc-instructor-info strong {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
}

.mc-hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin-bottom: 22px;
}

/* MasterClass Video Trailer Preview Card (Equal Height) */
.mc-trailer-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #000000;
  cursor: pointer;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.mc-trailer-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
  flex-grow: 1;
}

.mc-trailer-card:hover .mc-trailer-img {
  transform: scale(1.05);
  opacity: 0.95;
}

.mc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 3px;
  box-shadow: 0 10px 30px rgba(200, 106, 74, 0.6);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.mc-trailer-card:hover .mc-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
  color: var(--deep-blue);
}

.mc-trailer-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 5px 14px;
  background: rgba(30, 58, 77, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.mc-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.mc-stat-item i {
  color: var(--terracotta);
  font-size: 14px;
}

.mc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--terracotta);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(200, 106, 74, 0.35);
  transition: all 0.3s ease;
}

.mc-btn-primary:hover {
  background: #ffffff;
  color: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.mc-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.mc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 2. What You'll Learn (Outcome Cards) */
.mc-outcome-card {
  background: var(--warm-taupe);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(30, 58, 77, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-outcome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(30, 58, 77, 0.1);
}

.mc-outcome-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--terracotta);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.mc-outcome-title {
  font-family: var(--serif-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 10px;
}

.mc-outcome-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

/* 3. Course Overview Modules Accordion */
.mc-module-card {
  background: var(--cream-bg);
  border-radius: 18px;
  border: 1px solid rgba(30, 58, 77, 0.12);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(30, 58, 77, 0.04);
}

.mc-module-header {
  padding: 24px 30px;
  background: var(--cream-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mc-module-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mc-module-title {
  font-family: var(--serif-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0;
}

.mc-module-body {
  padding: 0 30px 24px;
  border-top: 1px solid rgba(30, 58, 77, 0.08);
  padding-top: 20px;
}

.mc-lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mc-lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(30, 58, 77, 0.1);
  font-size: 14.5px;
  color: var(--deep-blue);
}

.mc-lesson-item:last-child {
  border-bottom: none;
}

.mc-lesson-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.mc-lesson-title i {
  color: var(--terracotta);
  font-size: 13px;
}

.mc-lesson-dur {
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
}

/* 4. Meet the Instructor MasterClass Card */
.mc-instructor-card {
  background: var(--warm-taupe);
  border-radius: 28px;
  padding: 50px;
  border: 1px solid rgba(30, 58, 77, 0.1);
}

.mc-instructor-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(30, 58, 77, 0.12);
}

.mc-instructor-title {
  font-family: var(--serif-font);
  font-size: 38px;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.mc-instructor-role {
  font-size: 15px;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.mc-instructor-bio {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
}

/* 5. Visual Storytelling Experience Cards */
.mc-experience-card {
  background: var(--cream-bg);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 77, 0.1);
  height: 100%;
  box-shadow: 0 12px 30px rgba(30, 58, 77, 0.05);
}

.mc-exp-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.mc-exp-body {
  padding: 30px 26px;
}

.mc-exp-title {
  font-family: var(--serif-font);
  font-size: 21px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.mc-exp-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

/* 6. FAQ Accordion Item */
.mc-faq-card {
  background: var(--warm-taupe);
  border-radius: 16px;
  border: 1px solid rgba(30, 58, 77, 0.1);
  margin-bottom: 16px;
  overflow: hidden;
}

.mc-faq-question {
  padding: 22px 28px;
  font-family: var(--serif-font);
  font-size: 19px;
  font-weight: 700;
  color: var(--deep-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-faq-answer {
  padding: 0 28px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR MASTERCLASS & COACHING CARDS
   ========================================================================== */

@media (max-width: 991px) {
  .mc-hero-title {
    font-size: 32px !important;
  }

  .mc-hero-section {
    padding: 40px 0 !important;
  }

  .mc-hero-stats-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mc-stat-item {
    font-size: 12px;
    padding: 6px 12px;
  }

  .mc-trailer-card {
    height: 320px;
    margin-top: 24px;
  }

  .mc-instructor-card {
    padding: 35px 24px;
  }

  .cta-card-wrapper {
    padding: 35px 24px;
  }
}

@media (max-width: 767px) {
  .mc-hero-title {
    font-size: 26px !important;
  }

  .mc-hero-desc {
    font-size: 15px !important;
  }

  .mc-prog-body {
    padding: 22px 18px;
  }

  .mc-prog-title {
    font-size: 21px !important;
  }

  .mc-prog-img-box {
    height: 190px !important;
  }

  .mc-btn-primary,
  .mc-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .mc-faq-question {
    padding: 16px 20px;
    font-size: 16px !important;
  }

  .mc-faq-answer {
    padding: 0 20px 18px;
    font-size: 14px !important;
  }

  .cta-main-title {
    font-size: 28px !important;
  }

  .cta-main-desc {
    font-size: 14.5px !important;
  }
}

@media (max-width: 575px) {
  .mc-hero-badge {
    font-size: 10.5px;
    padding: 5px 12px;
  }

  .mc-stat-item {
    width: 100%;
  }

  .mc-trailer-card {
    height: 240px;
  }
}

/* GALLERY COLLAGE SLIDER CSS */
.gallery-collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  height: 600px;
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.collage-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.collage-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Col 1 & 3 (odd): Tall (60%), Short (40%) */
.collage-col:nth-child(odd) .collage-img-wrap:first-child {
  height: calc(60% - 8px);
}

.collage-col:nth-child(odd) .collage-img-wrap:last-child {
  height: calc(40% - 8px);
}

/* Col 2 & 4 (even): Short (40%), Tall (60%) */
.collage-col:nth-child(even) .collage-img-wrap:first-child {
  height: calc(40% - 8px);
}

.collage-col:nth-child(even) .collage-img-wrap:last-child {
  height: calc(60% - 8px);
}

@media (max-width: 991px) {
  .gallery-collage-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    gap: 20px;
  }

  .collage-col {
    height: 500px;
  }
}

@media (max-width: 575px) {
  .gallery-collage-grid {
    grid-template-columns: 1fr;
  }

  .collage-col {
    height: 400px;
  }
}