/* ==== HERO ==== */
.rm-hero {
  background: linear-gradient(135deg, #0f2a35 0%, #1a4356 60%, #2a7b9b 100%) !important;
  position: relative;
  overflow: hidden;
}
.rm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(232,163,61,0.18) 0, transparent 45%);
  pointer-events: none;
}
.rm-hero > * { position: relative; z-index: 1; }
.rm-hero-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  color: #fff !important;
  margin: 0 0 1rem !important;
  letter-spacing: -0.01em;
}
.rm-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  margin: 0;
  max-width: 38rem;
}
.rm-hero-latest {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.rm-eyebrow {
  margin: 0 !important;
  color: #e8a33d !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rm-hero-eptitle {
  margin: 0.35rem 0 0.5rem !important;
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
}
.rm-hero-eptitle a { color: #fff !important; text-decoration: none; }
.rm-hero-eptitle a:hover { text-decoration: underline; }
.rm-hero-excerpt {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
}
.rm-play-link {
  display: inline-block;
  margin-top: 1rem;
  background: #e8a33d;
  color: #0f2a35 !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none !important;
}
.rm-play-link:hover { background: #f0b560; }
.rm-hero-art img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.rm-hero-art img:hover { transform: rotate(0deg) scale(1.02); }

/* ==== STAT STRIP ==== */
.rm-stats { border-bottom: 4px solid #e8a33d; }
.rm-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.rm-stat-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.rm-stat-list strong {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.rm-stat-list span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 640px) {
  .rm-stat-list { grid-template-columns: repeat(2, 1fr); }
}

/* Teal accent: dates on feed items */
.rm-feed-meta time { color: #2a7b9b; font-weight: 600; }

/* ==== MOBILE ADJUSTMENTS ==== */
@media (max-width: 782px) {
  /* WP columns already stack below 782px by default; enforce explicit ordering */
  .rm-hero .wp-block-columns { flex-direction: column !important; }
  .rm-hero .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
  .rm-hero-art img { transform: none !important; max-width: 70%; margin: 1rem auto 0; }
  .rm-hero {
    padding-top: var(--wp--preset--spacing--50) !important;
    padding-bottom: var(--wp--preset--spacing--50) !important;
  }
  .rm-hero-latest { padding: 1rem; }
  .rm-stat-list { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 420px) {
  .rm-hero-h1 { font-size: 1.85rem !important; }
  .rm-hero-sub { font-size: 1rem; }
  .rm-feed-links { font-size: 0.8rem; }
  .rm-link { padding: 0.2rem 0.5rem; }
}

/* Compact hero variant for non-homepage pages */
.rm-hero-compact .rm-hero-h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem) !important;
}

/* Footer copy group */
.rm-footer-copy { text-align: center; }

/* Force 16:9 episode artwork on archive/search/home — overrides whatever
   TT5's default pattern forces (it hardcodes 3/2). */
.post-type-archive-podcast .wp-block-post-featured-image,
.search-results          .wp-block-post-featured-image,
.blog                    .wp-block-post-featured-image,
.archive                 .wp-block-post-featured-image {
  aspect-ratio: 16 / 9 !important;
  max-width: 360px;
}
.post-type-archive-podcast .wp-block-post-featured-image img,
.search-results          .wp-block-post-featured-image img,
.blog                    .wp-block-post-featured-image img,
.archive                 .wp-block-post-featured-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/* Nav actions: search icon + Patron button */
.rm-nav-actions { align-items: center; }
.rm-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.rm-search-icon:hover { background: #f3f5f6; color: #2a7b9b; }
.rm-search-icon svg { display: block; }

/* Merged podcast + YouTube feed */
.rm-feed {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rm-feed-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
  align-items: flex-start;
}
.rm-feed-item:last-child { border-bottom: 0; }
.rm-feed-thumb {
  flex: 0 0 240px;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}
.rm-feed-thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rm-feed-body { flex: 1 1 auto; min-width: 0; }
.rm-feed-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
  color: #5c6b73;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rm-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
}
.rm-badge-podcast { background: #2a7b9b; color: #fff; }
.rm-badge-yt      { background: #c00;    color: #fff; }
.rm-feed-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.rm-feed-title a { text-decoration: none; }
.rm-feed-title a:hover { text-decoration: underline; }
.rm-feed-excerpt { margin: 0 0 0.4rem; color: #3a4449; }
.rm-feed-links {
  margin: 0;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rm-link {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.rm-link:hover { text-decoration: underline; }
.rm-link-apple   { color: #fff; background: #872ec4; }
.rm-link-podlink { color: #2a7b9b; background: #fff; border-color: #2a7b9b; }
.rm-link-yt      { color: #fff; background: #c00; }

@media (max-width: 600px) {
  .rm-feed-item { flex-direction: column; }
  .rm-feed-thumb { flex-basis: auto; width: 100%; max-width: 320px; }
}
