* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui;
  background: linear-gradient(to bottom,#fff,#eef1f6);
}

/* HEADER */
.header {
  background: linear-gradient(90deg,#ff6a00,#ff8c2a);
  color: white;
  text-align: center;
  padding: 16px;
  font-weight: 600;
}

/* NAV */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background: white;
  border-bottom: 1px solid #eee;
}

.nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #777;
  font-size: 12px;
}

.nav-item.active {
  color: #ff6a00;
  font-weight: 600;
}

/* PAGE HEADER */
.page-header {
  max-width: 900px;
  margin: 10px auto;
  padding: 0 16px;
}

.page-header h2 {
  margin: 0;
}

.page-header p {
  margin: 5px 0 0;
  color: #666;
}

/* GRID */
.podcast-container {
  max-width: 1000px;
  margin: auto;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* CARD */
.card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

/* THUMBNAIL */
.thumbnail {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* TITLE */
.card h3 {
  padding: 10px;
  font-size: 14px;
  margin: 0;
}

/* PLAYER OVERLAY */
.player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.player-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

/* PLAYER BOX */
.player-box {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  z-index: 2;
  background: black;
  border-radius: 12px;
  overflow: hidden;
}

.player-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .podcast-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .podcast-container {
    grid-template-columns: 1fr;
  }

  .thumbnail {
    height: 180px;
  }
}