/* =========================================================================
   GRID LAYOUT (STRICT 3 COLUMNS)
   ========================================================================= */
.stories-grid-section {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2vw;
  box-sizing: border-box;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

/* =========================================================================
   STANDARD CARD STYLES
   ========================================================================= */
.story-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
  border-color: #f97316;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(249, 115, 22, 0.3);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.story-card:hover .card-img-wrap img {
  transform: scale(1.02);
}

.card-content {
  padding: clamp(0.85rem, 1.2vw, 1.25rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.podcast-label {
  font-size: clamp(0.65rem, 0.75vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f97316;
  margin-bottom: 0.5rem;
  display: block;
}

.person-name {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: #ffffff !important;
  text-transform: uppercase;
}

.story-headline {
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  line-height: 1.4;
  color: #94a3b8;
  margin: 0 0 1rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-link-text {
  margin-top: auto;
  font-weight: 700;
  font-size: clamp(0.75rem, 0.85vw, 0.85rem);
  color: #f97316;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link-text svg {
  transition: transform 0.2s ease;
}

.story-card:hover .card-link-text svg {
  transform: translateX(3px);
}

/* =========================================================================
   FEATURED CARD STYLES (POSITION #1)
   ========================================================================= */
.story-card.featured-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  background: #0b1329;
}

.featured-card .card-img-wrap {
  width: 58%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.featured-card .featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ea580c;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.featured-card .card-content {
  padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1.25rem, 2vw, 2rem);
  justify-content: center;
}

.featured-card .person-name {
  font-size: clamp(1.6rem, 2.5vw, 2.75rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.featured-card .story-headline {
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 1.75rem;
}

.featured-card .card-link-text {
  background: #ea580c;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 800;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.featured-card:hover .card-link-text {
  background: #f97316;
  transform: scale(1.03);
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================= */
@media (max-width: 1024px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 868px) {
  .story-card.featured-card {
    flex-direction: column;
  }
  .featured-card .card-img-wrap {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}