/**
 * Spotlight cards — homepage "Free Webinar" + "Podcast" boxes.
 *
 * Ported verbatim from the homepage (page 94210) page-custom-CSS "Latest Podcast"
 * block so the [st_spotlight_section] shortcode renders pixel-identical to the
 * original baked Elementor HTML widget. Brand tokens + layout helpers are scoped
 * to .next-podcast so this stylesheet is self-contained (no global :root leak)
 * and only loads where the shortcode runs.
 */

.next-podcast {
  /* brand palette (scoped — mirrors the homepage :root tokens) */
  --frost:   #EBF5EB;
  --pastel:  #C2F5C4;
  --lime:    #96F782;
  --leaf:    #00A75C;
  --emerald: #147054;
  --forest:  #124036;
  --ocean:   #03261F;
  --ink:     #03261F;
  --paper:   #ffffff;
  --r-lg:    28px;
  --r-pill:  999px;

  padding: 80px 0 70px;
  background: var(--paper);
}

/* layout shell + button base (scoped) */
.next-podcast .shell { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .next-podcast .shell { padding: 0 20px; } }
.next-podcast .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.next-podcast .btn:hover { transform: translateY(-1px); }
.next-podcast .btn:active { transform: translateY(0); }
.next-podcast a { color: inherit; text-decoration: none; }
.next-podcast img, .next-podcast svg { display: block; max-width: 100%; }

/* ============ Latest Podcast ============ */
.next-podcast__head {
  text-align: center;
  margin-bottom: 36px;
}
.podcast-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 10px;
}
.podcast-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(0,167,92,0.18);
}
.next-podcast__title {
  text-align: center;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ocean);
  margin: 0 auto;
  max-width: 22ch;
}
.next-podcast__title .em { color: var(--leaf); font-style: normal; }

/* Lime-gradient variant: gradient spans the entire card. */
.podcast-card.podcast-card--lime {
  background:
    radial-gradient(120% 100% at 0% 100%, rgba(0,167,92,0.18), transparent 60%),
    linear-gradient(135deg, var(--lime) 0%, #B6F89C 65%, var(--pastel) 100%);
  grid-template-columns: 1fr 1.2fr;
}
.podcast-card.podcast-card--lime .podcast-card__cover { order: 1; }
.podcast-card.podcast-card--lime .podcast-body { order: 2; }
.podcast-card.podcast-card--lime .podcast-body,
.podcast-card.podcast-card--lime .podcast-card__cover {
  background: transparent;
}
.podcast-card.podcast-card--lime .podcast-body { color: var(--ocean); }
.podcast-card.podcast-card--lime .podcast-body h2,
.podcast-card.podcast-card--lime .podcast-body h3 { color: var(--ocean); }
.podcast-card.podcast-card--lime .podcast-body .podcast-eyebrow {
  color: var(--ocean);
  opacity: 0.66;
}
.podcast-card.podcast-card--lime .podcast-body { grid-template-columns: 1fr; }

/* Ocean variant: dark webinar tile mirroring the lime tile layout */
.podcast-card.podcast-card--ocean {
  grid-template-columns: 1fr 1.2fr;
  background:
    radial-gradient(120% 100% at 0% 100%, rgba(0,167,92,0.30), transparent 60%),
    linear-gradient(135deg, var(--forest) 0%, var(--ocean) 100%);
  color: var(--frost);
}
.podcast-card.podcast-card--ocean .podcast-card__cover { order: 1; }
.podcast-card.podcast-card--ocean .podcast-body { order: 2; }
.podcast-card.podcast-card--ocean .podcast-body,
.podcast-card.podcast-card--ocean .podcast-card__cover {
  background: transparent;
}
.podcast-card.podcast-card--ocean .podcast-body {
  grid-template-columns: 1fr;
  color: var(--frost);
}
.podcast-card.podcast-card--ocean .podcast-body h2,
.podcast-card.podcast-card--ocean .podcast-body h3 { color: var(--frost); }
.podcast-card.podcast-card--ocean .podcast-body .podcast-eyebrow { color: var(--lime); }
.podcast-card.podcast-card--ocean .podcast-guest-name { color: var(--frost); }
.podcast-card.podcast-card--ocean .podcast-guest-role { color: rgba(235,245,235,0.62); }
.podcast-card.podcast-card--ocean .podcast-guest--stacked {
  box-shadow:
    0 0 0 3px var(--ocean),
    0 0 0 4px rgba(235,245,235,0.10),
    0 16px 32px -16px rgba(0,0,0,0.55);
}
.podcast-card.podcast-card--ocean .btn--spotify {
  background: var(--lime);
  color: var(--ocean);
}
.podcast-card.podcast-card--ocean .btn--spotify:hover { background: var(--pastel); }
.podcast-card.podcast-card--ocean .transcript-link { color: rgba(235,245,235,0.85); }
.podcast-card.podcast-card--lime .podcast-meta .meta-icon {
  background: rgba(3,38,31,0.08);
  color: var(--leaf);
}
.podcast-card.podcast-card--lime .podcast-meta .meta-label { color: rgba(3,38,31,0.55); }
.podcast-card.podcast-card--lime .podcast-meta .meta-value { color: var(--ocean); }
.podcast-card.podcast-card--lime .btn--spotify {
  background: var(--ocean);
  color: var(--lime);
}
.podcast-card.podcast-card--lime .btn--spotify:hover { background: var(--forest); }
.podcast-card.podcast-card--lime .transcript-link { color: var(--ocean); }

/* Stack multiple podcast cards within the same section */
.next-podcast__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 980px) {
  .next-podcast__stack { grid-template-columns: 1fr; }
}
.podcast-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ocean);
  color: var(--frost);
  position: relative;
  min-height: 352px;
}
.podcast-card__cover { order: 2; }
.podcast-body { order: 1; }
.podcast-card__cover {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 32px;
}
.podcast-card__cover-img { display: none; }

/* Guest portrait */
.podcast-guest {
  position: relative;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ocean);
  box-shadow:
    0 0 0 1px rgba(3,38,31,0.08),
    0 0 0 8px rgba(0,167,92,0.10),
    0 20px 40px -18px rgba(3,38,31,0.20);
}
.podcast-guests {
  display: flex;
  align-items: center;
}
.podcast-guest--stacked {
  width: 124px;
  height: 124px;
  box-shadow:
    0 0 0 3px var(--frost),
    0 0 0 4px rgba(3,38,31,0.06),
    0 16px 32px -16px rgba(3,38,31,0.20);
}
.podcast-guest--stacked + .podcast-guest--stacked { margin-left: -28px; }
.podcast-guest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.podcast-guest--stacked img { object-position: center top; }
.podcast-guest-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.podcast-guest-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--ocean);
  letter-spacing: -0.01em;
}
.podcast-guest-role {
  font-size: 12.5px;
  color: rgba(3,38,31,0.55);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
/* company chip */
.podcast-company {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(3,38,31,0.18), 0 0 0 1px rgba(3,38,31,0.06);
}
.podcast-company--text {
  padding: 8px 16px;
  color: var(--ocean);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.podcast-company img {
  height: 64px;
  width: auto;
  display: block;
}
.podcast-card__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.podcast-card__cover::after {
  content: "";
  display: none;
  background:
    radial-gradient(60% 70% at 80% 100%, rgba(3,38,31,0.45) 0%, rgba(3,38,31,0) 65%),
    linear-gradient(250deg, rgba(3,38,31,0) 30%, rgba(3,38,31,0.40) 100%);
  pointer-events: none;
}
.podcast-play {
  position: absolute;
  bottom: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--paper);
  color: var(--ocean);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}
.podcast-play .play-glyph {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
}
.podcast-play .play-glyph svg { width: 10px; height: 10px; }
.podcast-show {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(3,38,31,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(235,245,235,0.18);
  color: var(--frost);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 2;
}
.podcast-show .mic {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ocean);
  display: inline-flex; align-items: center; justify-content: center;
}
.podcast-show .mic svg { width: 10px; height: 10px; }
.podcast-body {
  padding: 40px 32px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: 32px;
  row-gap: 14px;
  align-items: stretch;
}
.podcast-body__title-col,
.podcast-body__meta-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.podcast-body__meta-col {
  justify-content: flex-start;
  padding-left: 28px;
  border-left: 1px solid rgba(235,245,235,0.10);
}
.podcast-body__title-col .podcast-cta-row { margin-top: auto; padding-top: 10px; padding-bottom: 36px; }
.podcast-body .podcast-eyebrow {
  color: var(--lime);
  margin: 0;
}
.podcast-body h2,
.podcast-body h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--frost);
  text-wrap: balance;
}
.podcast-body .lede {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(235,245,235,0.78);
  max-width: 56ch;
}
.podcast-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin-top: 0;
}
.podcast-meta .meta-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.podcast-meta .meta-icon {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 8px;
  background: rgba(235,245,235,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
}
.podcast-meta .meta-icon svg { width: 13px; height: 13px; }
.podcast-meta .meta-label {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235,245,235,0.55);
  display: block;
  margin-bottom: 2px;
}
.podcast-meta .meta-value {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--frost);
  line-height: 1.25;
}
.podcast-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
}
.podcast-cta-row .btn--spotify {
  background: #1DB954;
  color: #ffffff;
}
.podcast-cta-row .btn--spotify:hover { background: #1ed760; }
.podcast-cta-row .btn--spotify svg { width: 16px; height: 16px; }
.podcast-cta-row .transcript-link {
  color: rgba(235,245,235,0.78);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.podcast-cta-row .transcript-link:hover { color: var(--frost); }
.podcast-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-top: 2px;
  opacity: 0.5;
}
.podcast-wave i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--lime);
}
@media (max-width: 960px) {
  .podcast-card { grid-template-columns: 1fr; }
  .podcast-card__cover { min-height: 180px; }
  .podcast-body {
    padding: 22px 20px;
    grid-template-columns: 1fr;
  }
  .podcast-body__meta-col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(235,245,235,0.10);
    padding-top: 14px;
  }
}

/* mobile polish (mirrors homepage @media max-width:768px overrides) */
@media (max-width: 768px) {
  .next-podcast .podcast-company { display: none !important; }
  .podcast-card--ocean .podcast-card__cover { display: none !important; }
  .podcast-card--ocean { grid-template-columns: 1fr !important; }
  .podcast-card--ocean .podcast-body { text-align: center !important; }
  .podcast-card--ocean .podcast-cta-row { justify-content: center !important; gap: 16px !important; }
}
