/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Titillium Web";
  background: #EAEAEA;
  color: #000000;
  line-height: 1.6;
}

/* ================= HERO ================= */
.stories-hero {
  padding-top: 175px;
}

/* ================= HERO GRID ================= */
.hero-container {
  width: min(90%, 1600px);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | image | right */
  gap: 80px;
  align-items: center;
  margin-bottom: 40px;
}

/* ================= LEFT COLUMN ================= */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-left h1 {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
}

.nupod-desc {
  max-width: 560px;
  color: #000;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

/* ================= CENTER IMAGE ================= */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: auto;
  max-width: 200px;    /* 🔥 controlled size */
  max-height: 240px;   /* 🔥 keeps image subtle */
  height: auto;
  display: block;
}

/* ================= RIGHT COLUMN ================= */
.hero-right p {
  font-size: 18px;
  color: #000000;
  border-left: 1px solid #2ea44f;
  padding-left: 30px;
  max-width: 480px;
  font-weight: 300;
  line-height: 32px;
  margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-image img {
    max-width: 160px;
    max-height: 200px;
  }

  .hero-right p {
    border-left: none;
    padding-left: 0;
    margin: auto;
  }

  .nupod-desc {
    margin: auto;
  }
}

/* ================= EPISODES ================= */
.episodes-section {
  padding: 30px 0;
}

.episodes-container h3 {
  font-size: 28px;
  font-weight: 600;
  margin: auto;
}

.episodes-container {
  width: 100%;
  max-width: 1200px; /* fixed max width */
  margin: 0 auto;    /* centers the container */
  text-align: center; /* centers the heading and content */
}

.podcast-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center; /* centers grid items horizontally */
  padding: 2rem;
}

/* Container for clickable card link */
.podcast-card-link {
  text-decoration: none;       /* Remove underline */
  display: inline-block;
  width: 320px;                 /* Same width as original card */
  height: 220px;                /* Adjust height as needed */
  cursor: pointer;              /* Pointer on hover */
}

/* Card styles */
.podcast-card {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;

  background: url("/assets/images/nupod.png"); /* Optional background image if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow:
    -2px -2px 100px 0 rgba(255, 255, 255, 0.10) inset,
    2px 2px 100px 0 rgba(66, 66, 66, 0.10) inset,
    0 8px 20px rgba(0,0,0,0.1);

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.podcast-card-link:hover .podcast-card {
  transform: scale(1.03);
  box-shadow:
    -2px -2px 120px 0 rgba(255, 255, 255, 0.12) inset,
    2px 2px 120px 0 rgba(66, 66, 66, 0.12) inset,
    0 12px 30px rgba(0,0,0,0.15);
}

/* Video container */
.podcast-video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

/* Embedded iframe styling */
.podcast-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none; /* Prevent clicking inside iframe if you want full card click to redirect */
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .hero-container,
  .nupod-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right p {
    border-left: none;
    padding-left: 0;
  }

  .podcast-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .podcast-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

/* ================= LARGE SCREENS ================= */
@media (min-width: 1500px) {
   .hero-container {
    max-width: 1800px;
    gap: 100px;
  }

  .hero-left h1 {
    font-size: 50px;
  }

  .hero-right p {
    font-size: 22px;
    max-width: 550px;
  }

  .episodes-container {
    width: min(95%, 1600px);
  }

  .episodes-container h3 {
    font-size: 32px;
  }
}


@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-image img {
    max-width: 160px;
    max-height: 200px;
  }

  .hero-right p {
    border-left: none;
    padding-left: 0;
    margin: auto;
  }

  .nupod-desc {
    margin: auto;
  }
}
