/* =========================================================
   MEDIA PAGE ONLY
   File: media-page.css
   Page: media.html

   FUTURE CHANGE NOTE:
   Keep styles.css as the shared site stylesheet.
   This file should only style the Media page body content.
   Navbar, footer, global colors, and shared layout should
   remain controlled by styles.css.
========================================================= */

/* PAGE-SPECIFIC BOX SIZING */
.media-body .media-main,
.media-body .media-main * {
  box-sizing: border-box;
}

/* MAIN PAGE TEXT COLOR */
.media-main {
  color: #ffffff;
}

/* =========================================================
   FOUNDATION BANNER
========================================================= */
.media-banner-shell {
  padding: 1rem 0 0.7rem;
}

.media-foundation-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   HERO SECTION
========================================================= */
.media-hero {
  padding: 0.5rem 0 1.5rem;
}

.media-hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(255, 204, 0, 0.22), transparent 35%),
    linear-gradient(135deg, #2b0c36 0%, #540070 52%, #9900ce 100%);
  border-radius: 24px;
  padding: 34px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.media-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  color: #ffcc00;
  margin-bottom: 10px;
}

.media-hero-copy h1,
.media-video-copy h2,
.media-section-heading h2,
.media-message-card h2 {
  font-family: Byington, Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.media-hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

.media-hero-copy p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.58;
}

.media-hero-feature {
  background: #ffffff;
  color: #111111;
  border-radius: 20px;
  padding: 18px;
}

.media-feature-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.media-feature-link img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.media-feature-link span {
  display: block;
  margin-top: 12px;
  color: #540070;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================================
   FEATURED VIDEO STRIP
========================================================= */
.media-featured-section {
  padding: 0 0 1.5rem;
}

.media-featured-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: stretch;
}

.media-video-spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #ffffff;
  color: #1d1d1d;
  border-radius: 22px;
  overflow: hidden;
  border: 8px solid #ffcc00;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.media-video-frame {
  position: relative;
  min-height: 360px;
  background: #000000;
}

.media-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-video-copy {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-video-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #540070;
  line-height: 0.98;
  margin-bottom: 14px;
}

.media-video-copy p {
  line-height: 1.6;
  font-size: 1.05rem;
}

.media-quick-panel {
  background: linear-gradient(180deg, #ffcc00 0%, #e7b700 100%);
  color: #1c1028;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-quick-panel h3 {
  color: #540070;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.media-quick-panel ul {
  margin: 0;
  padding-left: 20px;
}

.media-quick-panel li {
  margin-bottom: 10px;
  font-weight: 700;
}

/* =========================================================
   VIDEO CARD GALLERY
========================================================= */
.media-gallery-section {
  padding: 0 0 1.5rem;
}

.media-section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.media-section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.media-card-grid-featured {
  grid-template-columns: 1.35fr repeat(2, 1fr);
}

.media-card {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.26);
  color: #ffffff;
}

.media-card-large {
  grid-row: span 2;
}

.media-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #111111;
}

.media-card-large img {
  height: 390px;
}

.media-card-copy {
  padding: 18px;
}

.media-tag {
  display: inline-block;
  color: #ffcc00;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.media-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}

.media-card p {
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
  color: #f4eefa;
}

/* =========================================================
   NEWS OUTLET SECTION
========================================================= */
.media-news-section {
  padding: 0 0 1.5rem;
}

.media-news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.media-news-card {
  display: block;
  background: #ffffff;
  color: #1d1d1d;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
  color: #1d1d1d;
}

.media-news-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.media-news-card div {
  padding: 16px;
}

.media-news-card span {
  color: #540070;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
}

.media-news-card h3 {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
  margin: 8px 0;
}

.media-news-card p {
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

/* =========================================================
   MEDIA MESSAGE SECTION
========================================================= */
.media-message-section {
  padding: 0 0 1.5rem;
}

.media-message-card {
  background: linear-gradient(180deg, #cb00ff 0%, #9900ce 100%);
  border-radius: 20px;
  padding: 40px 42px;
  text-align: center;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.media-message-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.media-message-card p {
  max-width: 960px;
  margin: 0 auto 16px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

/* =========================================================
   CTA SECTION
========================================================= */
.media-cta-section {
  padding: 0 0 1.2rem;
}

.media-cta-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.media-cta {
  min-width: 280px;
  min-height: 92px;
  padding: 16px 22px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.media-cta-contact {
  background: linear-gradient(180deg, #cb00ff 0%, #9100c2 100%);
  color: #ffffff;
  gap: 14px;
}

.media-cta-contact img {
  width: 72px;
  height: auto;
  display: block;
}

.media-cta-contact span {
  font-size: 1.35rem;
  line-height: 1.1;
}

.media-cta-donate {
  background: #ffcc00;
  color: #111111;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 1199.98px) {
  .media-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .media-card-grid-featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-card-large {
    grid-row: auto;
  }

  .media-card-large img {
    height: 240px;
  }
}

@media (max-width: 991.98px) {
  .media-hero-card,
  .media-featured-grid,
  .media-video-spotlight {
    grid-template-columns: 1fr;
  }

  .media-video-frame {
    min-height: 300px;
  }

  .media-card-grid,
  .media-card-grid-featured,
  .media-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .media-hero-card,
  .media-video-copy,
  .media-quick-panel,
  .media-message-card {
    padding: 26px 22px;
  }

  .media-card-grid,
  .media-card-grid-featured,
  .media-news-grid {
    grid-template-columns: 1fr;
  }

  .media-card img,
  .media-card-large img,
  .media-news-card img {
    height: 220px;
  }

  .media-cta {
    width: 100%;
    max-width: 420px;
  }

  .media-cta-contact span {
    font-size: 1.15rem;
  }

  .media-cta-donate {
    font-size: 1.8rem;
  }
}
