/* ========================================
   News Page
   ======================================== */

.hero.news-page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-gray) 0%, #e5e7eb 100%);
  color: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.hero.news-page-hero .hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 88px;
}

.news-page-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.hero.news-page-hero h1 {
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  line-height: 1.1;
}

.hero.news-page-hero .highlight {
  color: var(--primary-red);
}

.hero.news-page-hero p {
  font-size: 1.15rem;
  color: var(--secondary-gray);
  line-height: 1.65;
}

/* Press grid (matches story news cards) */
.news-page-section {
  padding: 4rem 0 5rem;
  background: white;
}

.news-page-header {
  margin-bottom: 1.5rem;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-page-section .news-card {
  border-radius: 14px;
  overflow: hidden;
}

.news-page-section .news-card-media {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 9;
}

.news-page-section .news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.news-page-section .news-video-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.news-page-section .news-card-title {
  font-size: 1.15rem;
  line-height: 1.35;
  color: white;
}

.news-page-section .news-card-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.news-page-section .news-card-source {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.news-page-section .news-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1rem;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0));
}

.news-page-section .news-card:hover .news-card-media img,
.news-page-section .news-card:focus-within .news-card-media img {
  transform: scale(1.06);
}

.news-page-section .news-card:hover .news-card-link,
.news-page-section .news-card:focus-within .news-card-link {
  opacity: 1;
  transform: translateY(0);
}

.news-page-section .news-empty-state {
  color: var(--secondary-gray);
  background: var(--light-gray);
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1rem;
}

/* Social embeds */
.news-feeds-section {
  padding: 4rem 0 5.5rem;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.news-feeds-header {
  margin-bottom: 2rem;
}

.news-feeds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.news-feed-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.news-feed-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-feed-card-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.news-feed-channel-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-red);
  text-decoration: none;
}

.news-feed-handle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-gray);
}

.news-feed-channel-link:hover {
  text-decoration: underline;
}

.news-feed-embed {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  min-height: 220px;
}

.news-feed-embed--youtube {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #0f0f0f;
}

.news-feed-embed--youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Instagram / LinkedIn: branded tiles (iframes often fail or show black) */
.news-feed-tile {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  outline-offset: 4px;
}

.news-feed-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.news-feed-tile:focus-visible {
  outline: 2px solid var(--primary-red);
}

.news-feed-tile--instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%);
}

.news-feed-tile--instagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 18%,
    rgba(255, 255, 255, 0.25),
    transparent 52%
  );
  pointer-events: none;
}

.news-feed-tile-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  gap: 0.35rem;
  width: 100%;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.news-feed-tile-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  margin-bottom: 0.15rem;
}

.news-feed-tile-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.news-feed-tile-text {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 24ch;
  opacity: 0.98;
}

.news-feed-tile-link-label {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.news-feed-tile--linkedin {
  background: #fff;
  border: 1px solid rgba(10, 102, 194, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  flex-direction: column;
  align-items: stretch;
}

.news-feed-tile-inner-li {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.news-feed-li-head {
  background: linear-gradient(90deg, #0a66c2 0%, #378fe9 100%);
  color: #fff;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.news-feed-tile-li-mark {
  flex-shrink: 0;
  opacity: 0.98;
}

.news-feed-li-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.news-feed-li-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.news-feed-li-points {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.93rem;
  color: var(--secondary-gray);
  line-height: 1.62;
}

.news-feed-li-points li {
  padding-left: 0.12rem;
}

.news-feed-li-cta {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a66c2;
}

.news-feed-tile--linkedin:hover .news-feed-li-cta {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .news-feeds-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .hero.news-page-hero h1 {
    font-size: 2.35rem;
  }

  .hero.news-page-hero .hero-container {
    padding-top: 76px;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .news-page-section .news-card-overlay {
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  .hero.news-page-hero h1 {
    font-size: 2rem;
  }
}
