

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #f6f6f6;
  color: #111;
}

.century-section {
  padding: 4rem 2rem;
  background: #ffffff;
}

.century-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: center;
}

.century-header h2 {
  /* font-size: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em; */
  font-weight: 900;
  font-size: 2.5rem;
  text-align: center;
  color: black;
  margin-bottom: 10px;
  margin-top:20px;
}

.century-header p {
  font-size: 1.125rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

.video-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.video-card {
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.video-thumb {
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.video-meta {
  color: #fff;
}

.video-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
}

.video-meta p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.video-meta span {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
}

/* Modal */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal iframe {
  width: 100%;
  height: 54vw;
  max-height: 540px;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 6px;
}

.century-footer {
  margin-top: 3rem;
  text-align: center;
}

.century-footer a {
  font-size: 1rem;
  font-weight: 700;
  color: #c62828; /* SAC red */
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
}

.century-footer a::after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.century-footer a:hover::after {
  transform: translateX(4px);
}

.century-footer a:hover {
  text-decoration: underline;
}


@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .century-header h2 {
    font-size: 2rem;
  }
}
