.adih-podcast-grid {
  --adih-bg: #f6f7fb;
  --adih-title: #132553;
  --adih-text: #334469;
  --adih-accent: #cc1b2f;
  --adih-card-radius: 28px;
  --adih-image-radius: 22px;
  --adih-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--adih-columns), minmax(0, 1fr));
  gap: 28px;
}

.adih-podcast-card {
  position: relative;
  background: var(--adih-bg);
  border-radius: var(--adih-card-radius);
  padding: 30px 24px 24px;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
  border: 1px solid rgba(19, 37, 83, 0.08);
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.adih-podcast-card__chip {
  position: absolute;
  top: -12px;
  right: 22px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  z-index: 2;
}

.adih-podcast-card__content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
}

.adih-podcast-card__meta {
  font-size: 13px;
  color: color-mix(in srgb, var(--adih-text) 70%, white 30%);
  margin-bottom: 12px;
  font-weight: 700;
}

.adih-podcast-grid .adih-podcast-card .adih-podcast-card__title {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.35vw, 26px) !important;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--adih-title);
  font-weight: 750;
  overflow-wrap: break-word;
}

.adih-podcast-card__title a {
  color: inherit;
  font-size: inherit !important;
  line-height: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.adih-podcast-card__excerpt {
  margin: 0 0 22px;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--adih-text);
}

.adih-podcast-card__image {
  position: relative;
  display: block;
  margin-top: auto;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--adih-image-radius);
  overflow: hidden;
  text-decoration: none;
}

.adih-podcast-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .55s ease;
}

.adih-podcast-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(10,16,32,.02), rgba(10,16,32,.48));
  color: #fff;
  opacity: 0;
  transition: opacity .35s ease;
}

.adih-podcast-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(19, 37, 83, .82);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 700;
}

.adih-play-badge {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: var(--adih-accent);
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.adih-play-badge svg {
  width: 24px;
  height: 24px;
}

.adih-podcast-grid.hover-lift .adih-podcast-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 38px rgba(12, 20, 38, 0.08);
}
.adih-podcast-grid.hover-outline .adih-podcast-card:hover {
  border-color: color-mix(in srgb, var(--adih-accent) 50%, white 50%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--adih-accent) 45%, white 55%), 0 16px 36px rgba(12, 20, 38, 0.07);
}
.adih-podcast-grid.hover-glow .adih-podcast-card:hover {
  box-shadow: 0 0 0 1px rgba(19,37,83,.08), 0 0 0 10px rgba(19,37,83,.03), 0 18px 35px rgba(12,20,38,.08);
}

.adih-podcast-card:hover .adih-podcast-card__overlay,
.adih-podcast-card:focus-within .adih-podcast-card__overlay {
  opacity: 1;
}
.adih-podcast-card:hover .adih-podcast-card__image img,
.adih-podcast-card:focus-within .adih-podcast-card__image img {
  transform: scale(1.06);
}

.adih-podcast-empty {
  grid-column: 1 / -1;
  padding: 24px;
  background: #f8fafc;
  border: 1px dashed rgba(19, 37, 83, 0.25);
  color: #334469;
  border-radius: 18px;
}

.adih-podcast-modal[hidden] {
  display: none !important;
}

.adih-podcast-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.adih-podcast-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,10,18,.7);
}

.adih-podcast-modal__dialog {
  position: relative;
  width: min(1100px, calc(100vw - 24px));
  margin: 4vh auto;
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.adih-podcast-modal .adih-podcast-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  background: rgba(12,18,33,.82) !important;
  color: #fff !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  transition: background .2s ease, transform .2s ease;
}

.adih-podcast-modal .adih-podcast-modal__close svg {
  width: 19px !important;
  height: 19px !important;
  display: block;
  flex: none;
  stroke: currentColor;
}

.adih-podcast-modal .adih-podcast-modal__close:hover,
.adih-podcast-modal .adih-podcast-modal__close:focus-visible {
  background: rgba(185,24,46,.95) !important;
  transform: scale(1.03);
}

.adih-podcast-modal .adih-podcast-modal__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

body.adih-podcast-modal-open { overflow: hidden; }

.adih-podcast-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.adih-podcast-modal__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1100px) {
  .adih-podcast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .adih-podcast-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .adih-podcast-card {
    padding: 24px 18px 18px;
  }
  .adih-podcast-grid .adih-podcast-card .adih-podcast-card__title {
    font-size: clamp(20px, 5vw, 25px) !important;
  }
  .adih-podcast-card__excerpt {
    font-size: 1rem;
  }
  .adih-podcast-card__chip {
    right: 18px;
  }
}
