/* ============================================
   GUIDED MEDITATIONS PAGE — All Styles
   Prefix: gm-
   Colors: warm earth tones only
   ============================================ */

/* --- Global overflow fix --- */
html, body {
  overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.gm-hero {
  min-height: 70vh;
  background-color: #fffaf7;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a3a3a;
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  padding: 140px 20px 80px;
}

.gm-hero-center {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.gm-hero-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: #8b4f4f;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.gm-hero-subtitle {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: #b46746;
  margin: 0 0 20px;
  line-height: 1.5;
}

.gm-hero-desc {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #5a4a40;
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Platform Pills --- */
.gm-hero-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gm-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #f0ddd0;
  border: 1px solid #e6cbb8;
  border-radius: 50px;
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8b4f4f;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.gm-platform-pill:hover {
  background: #e6cbb8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 103, 70, 0.15);
}

.gm-platform-pill svg {
  flex-shrink: 0;
}

/* ============================================
   SECTIONS — SHARED
   ============================================ */
.gm-section {
  padding: 80px 20px;
}

.gm-section:nth-child(even) {
  background: #fffaf7;
}

.gm-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Category Header --- */
.gm-category-header {
  border-left: 3px solid #b46746;
  padding-left: 24px;
  margin-bottom: 48px;
}

.gm-category-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #8b4f4f;
  margin: 0 0 12px;
  line-height: 1.2;
}

.gm-category-desc {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #5a4a40;
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
}

/* ============================================
   MEDIA GRID & CARDS
   ============================================ */
.gm-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gm-media-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 740px;
}

.gm-media-card {
  background: #fff;
  border: 1px solid #f0ddd0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gm-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(180, 103, 70, 0.12);
}

/* --- Thumbnail --- */
.gm-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #f0ddd0;
}

.gm-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gm-media-card:hover .gm-card-thumb img {
  transform: scale(1.04);
}

/* --- Play Button Overlay --- */
.gm-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #b46746;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(180, 103, 70, 0.3);
}

.gm-play-btn svg {
  margin-left: 3px; /* optical center for triangle */
}

.gm-media-card:hover .gm-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(180, 103, 70, 0.4);
}

/* --- Card Content --- */
.gm-card-content {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gm-card-title {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #8b4f4f;
  margin: 0 0 8px;
  line-height: 1.35;
}

.gm-card-desc {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #5a4a40;
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
}

.gm-card-link {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #b46746;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gm-media-card:hover .gm-card-link,
a.gm-card-link:hover {
  color: #8b4f4f;
}

/* --- Spotify Embed Card --- */
.gm-media-card--spotify {
  cursor: default;
}

.gm-card-embed {
  padding: 16px 16px 0;
}

.gm-card-embed iframe {
  border-radius: 12px;
  width: 100%;
  display: block;
}

/* ============================================
   MORE LINKS
   ============================================ */
.gm-more-link {
  text-align: center;
  margin-top: 36px;
}

.gm-more-link a {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #b46746;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.gm-more-link a:hover {
  color: #8b4f4f;
  border-bottom-color: #8b4f4f;
}

/* ============================================
   CALLOUT BOX
   ============================================ */
.gm-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FEF4EF;
  border-left: 3px solid #b46746;
  border-radius: 8px;
  padding: 20px 28px;
  margin-top: 36px;
}

.gm-callout svg {
  flex-shrink: 0;
}

.gm-callout p {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #5a4a40;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   BRAINWAVE INFO CARDS
   ============================================ */
.gm-brainwave-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.gm-brainwave-card {
  background: #FEF4EF;
  border: 1px solid #f0ddd0;
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
}

.gm-brainwave-label {
  display: block;
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #8b4f4f;
  margin-bottom: 4px;
}

.gm-brainwave-hz {
  display: block;
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #b46746;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.gm-brainwave-desc {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #5a4a40;
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.gm-cta-section {
  padding: 80px 20px;
  background: #fffaf7;
}

.gm-cta-card {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f0ddd0 0%, #FEF4EF 50%, #f0ddd0 100%);
  border: 1px solid #e6cbb8;
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
}

.gm-cta-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #8b4f4f;
  margin: 0 0 16px;
  line-height: 1.25;
}

.gm-cta-desc {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #5a4a40;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.gm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.gm-btn--primary {
  background: #b46746;
  color: #fff;
}

.gm-btn--primary:hover {
  background: #8b4f4f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 103, 70, 0.25);
}

.gm-btn--outline {
  background: transparent;
  color: #8b4f4f;
  border: 1.5px solid #8b4f4f;
}

.gm-btn--outline:hover {
  background: #8b4f4f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 79, 79, 0.2);
}

/* ============================================
   RESPONSIVE — 900px
   ============================================ */
@media (max-width: 900px) {
  .gm-media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gm-media-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .gm-brainwave-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gm-hero {
    padding: 120px 16px 60px;
    min-height: 60vh;
  }

  .gm-section {
    padding: 60px 16px;
  }

  .gm-cta-card {
    padding: 44px 32px;
  }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .gm-hero-title {
    font-size: 2rem;
  }

  .gm-hero-subtitle {
    font-size: 1.1rem;
  }

  .gm-hero-desc {
    font-size: 14px;
  }

  .gm-category-header {
    padding-left: 18px;
    margin-bottom: 36px;
  }

  .gm-category-title {
    font-size: 1.5rem;
  }

  .gm-media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gm-media-grid--2col {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .gm-play-btn {
    width: 48px;
    height: 48px;
  }

  .gm-play-btn svg {
    width: 18px;
    height: 18px;
  }

  .gm-callout {
    padding: 16px 20px;
    gap: 12px;
  }

  .gm-cta-card {
    padding: 36px 24px;
  }

  .gm-cta-title {
    font-size: 1.4rem;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .gm-hero {
    padding: 110px 12px 48px;
    min-height: auto;
  }

  .gm-hero-center {
    padding: 0 8px;
  }

  .gm-hero-title {
    font-size: 1.7rem;
  }

  .gm-hero-subtitle {
    font-size: 1rem;
  }

  .gm-hero-platforms {
    gap: 8px;
  }

  .gm-platform-pill {
    padding: 8px 16px;
    font-size: 13px;
    gap: 6px;
  }

  .gm-section {
    padding: 48px 12px;
  }

  .gm-brainwave-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gm-brainwave-card {
    padding: 16px 12px;
  }

  .gm-brainwave-label {
    font-size: 17px;
  }

  .gm-brainwave-hz {
    font-size: 12px;
  }

  .gm-brainwave-desc {
    font-size: 12px;
  }

  .gm-card-content {
    padding: 16px 16px 20px;
  }

  .gm-card-title {
    font-size: 16px;
  }

  .gm-card-desc {
    font-size: 14px;
  }

  .gm-cta-card {
    padding: 28px 18px;
    border-radius: 12px;
  }

  .gm-cta-title {
    font-size: 1.25rem;
  }

  .gm-cta-desc {
    font-size: 14px;
  }

  .gm-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .gm-btn {
    width: 100%;
    padding: 13px 24px;
  }

  .gm-callout {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 16px;
  }

  .gm-more-link a {
    font-size: 14px;
  }
}
