
:root {
  --primary-blue: #263489;
  --accent-red: #ec1d25;
  --text-black: #000000;
  --bg-light: #f4f6f9;
}

/* =========================
   HEADER (NO BACKGROUND)
========================= */
.media-heading {
  padding: 20px 0 10px;
  text-align: center;
}

.media-heading h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

/* underline design */
.media-heading h1::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  display: block;
  margin: 8px auto 0;
  border-radius: 5px;
}

/* =========================
   WRAPPER
========================= */
.media-wrapper {
  margin-top: 30px;
}

/* =========================
   CARD
========================= */
.media-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

/* =========================
   VIDEO
========================= */
.media-video {
  position: relative;
  padding-top: 56.25%;
}

.media-video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  top: 0;
  left: 0;
}

/* =========================
   TITLE
========================= */
.media-card h3 {
  font-size: 15px;
  padding: 14px;
  color: var(--text-black);
  font-weight: 600;
  line-height: 1.4;
  min-height: 60px;
  transition: 0.3s;
}

/* hover title */
.media-card:hover h3 {
  color: var(--accent-red);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .media-heading h1 {
    font-size: 24px;
  }

  .media-card h3 {
    font-size: 14px;
  }

}