/* =========================
   CSS VARIABLES
========================= */
:root {
    --ut-orange: #FF8200; 
    --ut-smokey: #58595B;
    --ut-light-grey: #F6F6F6;
    --text-main: #333333;
    --border: #E0E0E0;
    --light-bg: #F9F7F2; 
    --card-bg: #fff8f0;
    --muted-text: #6b7280;
    --border-light: #e5e7eb;
    --slate: #333d47;

}

/* =========================
   RESET & BASE
========================= */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
} */

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: white; /* #fffaed; */
    margin: 0;
}

/* =========================
   HEADER
========================= */
.podcast-page-container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 20px; */
    margin-bottom: 7rem;
}

.podcast-header-details {
    width: 100vw;
    position: relative;
     left: 50%;
    right: 50%;
        margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(160deg, #333d47 50%, #5c666f 100%),
    url('https://utia-dev.tennessee.edu/wp-content/themes/UTIA_WP_Child_Theme/assets/images/circles-black.png'); 
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    /* padding: 40px 0 20px 0; */
    color: #ffffff;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.header-content {
    max-width: 1400px;
    width: 90%; 
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb-podcast-detail-page {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    opacity: 0.8;
}

h2 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 0.63em;
}

/* 5. Headline (Strong & Clear) */
.header-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: white;
    margin-bottom: 10px;
    margin-top: 25px;
}
span.podcast-playlist-subtitle {
    font-size: 2rem;
    color: #ffffff;
}

.meta-row {
    display: flex;
    flex-wrap: wrap; /* Fix for mobile screens */
    gap: 15px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    padding-top: 20px;
        padding-bottom: 50px;
}

.meta-row span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-row strong {
    font-weight: 500;
    /* color: #9ca3af; */
}

/* =========================
   MAIN GRID
========================= */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: -30px;
}

/* =========================
   EPISODE CARD
========================= */
.episode-header-details {
    position: relative;
  background: white;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  z-index: 1;
}

.episode-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.description-box h3 { border-left: 4px solid var(--ut-orange); padding-left: 10px; margin-top: 30px; }
.tag { background: var(--ut-light-grey); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; color: #555; margin-right: 5px; cursor: pointer; border: 1px solid var(--ut-orange); }
.tag:hover { background: var(--ut-smokey); color: white; }

.podcast-logo img {
  width: 150px;
  height: auto;
  background: #e5e7eb;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

.episode-card h1 {
    font-size: 2.1rem;
    margin-bottom: 6px;
    line-height: 1.2;
}

.episode-meta {
  font-size: 18px;
  color: var(--muted-text);
}

/* =========================
   LISTEN BUTTONS
========================= */
.listen-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
  align-items: flex-end;
}

.listen-buttons span {
  font-size: 20px;
  color: black;
  font-weight: 700;

}

.btns {
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: white;
  cursor: pointer;
}

.btns:hover {
  color: var(--slate);
}

.spotify { background: #1db954; }
.apple { background: #111; }
.google { background: #2563eb; }
.rss { background: var(--ut-orange); }
.youtube { background: #ff0000; }

/* =========================
   AUDIO PLAYER
========================= */
.audio-player {
    display: flex;
    flex-direction: column;
    height: 180px;
    background: var(--slate);
    border-radius: 8px;
    padding: 24px;
    color: white;
    border: 3px solid var(--ut-orange);
    text-align: center;
    justify-content: center;
}

.play-button {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--ut-orange);
  border-radius: 50%;
       /* optional: makes it circular */
  display: flex;            /* enable flexbox */
  justify-content: center;  /* center horizontally */
  align-items: center;      /* center vertically */
  cursor: pointer;          /* optional: makes it clickable */
}

.play-button i {
  color: white;            /* icon color */
  font-size: 24px;         /* adjust icon size */
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  margin-bottom: 8px;
}

.progress {
  width: 30%;
  height: 100%;
  background: var(--ut-orange);
  border-radius: 4px;
}

.time {
  font-size: 12px;
  color: #d1d5db;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 1;
}

.season-box,
.speakers-box {
  background: white;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.season-box h3,
.speakers-box h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.season-box select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.sidebar-card { background: white; padding: 20px; border-radius: 4px; border-top: 4px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.5);}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sidebar-card h3 { margin: 0; font-size: 1.1rem; }
.playlist-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: white;
    margin-bottom: 8px;
    border-radius: 4px;
    transition: 0.2s;
    cursor: pointer;
}
.playlist-item.active { border-left: 4px solid var(--ut-orange); background: #fffcf5; }
.playlist-item:hover { transform: translateX(5px); }

.mini-thumb { width: 80px; height: 50px; object-fit: cover; border-radius: 2px; }
.playing-now { font-size: 0.7rem; color: var(--ut-orange); font-weight: bold; margin: 0; }
.video-title { font-size: 0.85rem; font-weight: bold; margin: 0; }

.avatar { width: 70px; height: 70px; border-radius: 25%; border: 2px solid var(--ut-orange); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.speaker-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.speaker-meta strong { display: block; font-size: 0.9rem; }
.speaker-meta span { font-size: 0.8rem; color: #666; }

/* =========================
   MORE EPISODES
========================= */
/* Related Video Grid */
.section-title { margin: 50px 0 20px 0; font-size: 1.5rem; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.video-card { border: 1px solid var(--border); transition: 0.3s; border-radius: 10px; background: var(--slate); color: white; }
.video-card:hover { border-color: var(--ut-orange); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card-thumb { height: 240px; background-size: cover; background-position: center; position: relative; border-radius: 10px 10px 0px 0px;}
.card-info { padding: 15px; }
.card-info p { margin: 0; font-weight: bold; font-size: 0.9rem; }
.card-meta { font-size: 0.75rem; color: white; }
.play-btn { position: absolute; bottom: 10px; right: 10px; background: var(--ut-orange); color: white; padding: 4px 10px; font-size: 1.2rem; border-radius: 3px; }


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .episode-header {
    flex-direction: column;
  }
}
