/* Base matches Fellows page tone */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
}

/* Layout helpers */
.container-narrow {
  margin: 0 auto;
  padding: 0 2rem;
}

/* Title + dot (reuse Fellows aesthetics) */
.hero-title-wrapper {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem 1.5rem;
}
.april-seminar-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
}
.blue-dot {
  width: 1.4rem;
  height: 1.4rem;
  background-color: #004e72;
  border-radius: 50%;
  display: inline-block;
  margin-left: 0.5rem;
}

/* Full-bleed image that goes edge-to-edge */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.full-width-hero {
  display: block;
  width: 100%;
  height: auto;
}

/* Caption below hero image */
.hero-caption {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  padding: 1.5rem 2rem 0;
  margin: 0 auto 1.5rem;
}

/* Section dividers */
.section-divider {
  border: none;
  border-top: 2px solid #000;
  width: 100%;
  margin: 2rem 0;
}
.section-divider--soft {
  border-top-color: #cfcfcf;
}

/* Section titles & blocks (MERGED to prevent conflicts) */
.section-block { margin-top: 2.5rem; }
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  padding-top: 0.25rem;
  letter-spacing: 0.02em;
}
.section-title .arrow img {
  width: 18px;
  height: auto;
  display: inline-block;
}
.arrow { font-size: 1.1rem; margin-left: .4rem; }

/* ===== PODCAST GRID (UNIFORM SIZES FIX) ===== */
.podcast-grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch; /* Forces both cards in a row to be the exact same height */
}

@media (max-width: 980px) {
  .podcast-grid--two { grid-template-columns: 1fr; }
}

/* The link wrapper must fill the grid cell */
.podcast-grid--two > a.no-style-link {
  display: flex;
  height: 100%;
}

/* The card itself uses flexbox to stack content and fill height */
.podcast-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* FORCE UNIFORM IMAGE SIZE */
.podcast-card .podcast-img {
  width: 100%;
  height: 350px !important; /* !important ensures it beats any other height rules */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Teal bar */
.podcast-bar {
  background: #11A9B3;
  color: #001A1C;
  border: 4px solid #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.1rem;
  margin-top: .7rem;
  flex-shrink: 0; /* Prevents the bar from squishing */
}

.podcast-bar__text {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
  font-size: .86rem;
}

.podcast-bar__icon {
  display: flex;
  align-items: center;
  color: #001A1C;
}

.podcast-bar__icon img {
  width: 22px;
  height: auto;
  display: block;
}

/* Body expands to fill leftover space, keeping bottoms aligned */
.podcast-body {
  flex-grow: 1; /* This is the magic property that equalizes the text areas */
  padding-top: 1rem;
  font-size: .95rem;
  line-height: 1.65;
  color: #222;
  display: flex;
  flex-direction: column;
}

/* Teal bullets */
.teal-bullets {
  list-style: none;
  padding-left: 0;
  margin: .75rem 0 0;
}
.teal-bullets li {
  position: relative;
  padding-left: 1.15rem;
  margin: .4rem 0;
}
.teal-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: .46rem;
  height: .46rem;
  background: #11A9B3;
  border-radius: 50%;
}

/* Hide podcasts beyond the first two initially */
.hidden-podcast {
  display: none !important;
}

/* Show More button */
.btn-show-more {
  background-color: transparent;
  border: 2px solid #008080;
  color: #008080;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-show-more:hover {
  background-color: #008080;
  color: #ffffff;
}

.no-style-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
.no-style-link:hover,
.no-style-link:focus {
  color: inherit;
  text-decoration: none;
}

/* ===== EDITIONS GALLERY ===== */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 1100px) {
  .editions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .editions-grid { grid-template-columns: repeat(2, 1fr); }
}

.edition-card {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.edition-card img {
  width: 100%;
  height: auto;
  display: block;
}

.edition-download {
  display: flex;
  justify-content: center;
  padding: .5rem 0;
}
.edition-download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;
}
.edition-download a img {
  width: 26px;
  height: auto;
  display: block;
  transition: transform .15s ease, opacity .15s ease;
}
.edition-download a:hover img {
  transform: translateY(-1px);
  opacity: 0.7;
}

/* Year list with blue dots */
.edition-bullets {
  list-style: none;
  padding-left: 0;
  margin: .5rem 0 0;
  font-size: .98rem;
  line-height: 1.7;
  padding-bottom: 30px;
}
.edition-bullets li {
  position: relative;
  padding-left: 1.15rem;
  margin: .35rem 0;
}
.edition-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .63em;
  width: .46rem;
  height: .46rem;
  background: #11A9B3;
  border-radius: 50%;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero-title-wrapper { padding: 2rem 1.25rem 1rem; }
  .container-narrow { padding: 0 1.25rem; }
  .hero-caption { padding: 1rem 1.25rem 0; }
}

/* ===== EDITIONS CAROUSEL ===== */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.carousel-btn {
  background: #fff;
  border: 2px solid #11A9B3; /* Teal border */
  color: #11A9B3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #11A9B3;
  color: #fff;
}

/* The scrolling track */
.editions-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem;
  scrollbar-width: none; /* Firefox */
  padding: 0.5rem 0;
  flex: 1; /* Takes up remaining space between buttons */
}

.editions-carousel::-webkit-scrollbar { 
  display: none; /* Chrome/Safari */ 
}

/* Individual cards inside the carousel */
.editions-carousel .edition-card {
  flex: 0 0 calc(20% - 1rem); /* Shows exactly 5 items at a time */
  scroll-snap-align: start;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.editions-carousel .edition-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* PDF Link inside the bulleted list */
.list-pdf-link {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-decoration: none;
}

.list-pdf-link img {
  width: 18px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.list-pdf-link:hover img {
  opacity: 1;
}

/* Responsive: Show fewer items on smaller screens */
@media (max-width: 1100px) {
  .editions-carousel .edition-card { flex: 0 0 calc(33.333% - 0.83rem); }
}
@media (max-width: 768px) {
  .editions-carousel .edition-card { flex: 0 0 calc(50% - 0.625rem); }
}
@media (max-width: 480px) {
  .editions-carousel .edition-card { flex: 0 0 100%; }
}

/* Make the download icon smaller and perfectly sized in the carousel */
.editions-carousel .edition-download a img {
  width: 20px !important;       /* Reduced size (change to 18px if you want it even smaller) */
  height: 20px !important;      /* Forces a perfect square ratio */
  display: block;
  transition: transform .15s ease, opacity .15s ease;
}

/* Keep the nice hover effect */
.editions-carousel .edition-download a:hover img {
  transform: translateY(-2px);
  opacity: 0.7;
}


/* Force uniform size for carousel edition images */
.editions-carousel .edition-card img {
  width: 100%;
  height: 380px; /* Adjust this number if you want them taller or shorter */
  object-fit: cover; /* Smart-crops the image to fill the box without stretching */
  object-position: center; /* Keeps the center of the cover in focus */
  display: block;
  border-radius: 4px; /* Optional: gives a slight, professional rounded corner */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Optional: adds a subtle, nice shadow */
}