/* VARIABLES */
:root {
  --blue: #0078c8;
  --dark: #0d1a2a;
  --light: #f4f7fb;
  --text: #444;
  --white: #fff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
}

/* HERO */
.media-hero {
  height: 60vh;
  background: url('../../image/media/hero.jpg') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
}

.hero-content p {
  margin-top: 10px;
}

/* SECTION */
.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

/* BG */
.bg-light {
  background: var(--light);
  padding: 80px 20px;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

/* MEDIA CARD */
.media-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.media-card:hover {
  transform: translateY(-5px);
}

.media-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.media-body {
  padding: 15px;
}

/* LIST */
.media-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-item {
  background: #fff;
  padding: 20px;
  border-left: 5px solid var(--blue);
}

/* VIDEO */
.video-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.video-card {
  text-align: center;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* INTRO */
.intro {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* RESPONSIVE */
@media(max-width:900px){
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}