/* Media Coverage Page Styles */

/* Header Section */
.media-header {
  padding: 150px 20px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.media-header .section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.media-header .section-title i {
  -webkit-text-fill-color: var(--neon-blue);
  margin-right: 15px;
}

.media-header .section-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Media Content Section */
.media-content {
  padding: 40px 20px 80px;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

/* Media Card - Grid Layout */
.media-card {
  background: linear-gradient(
    135deg,
    rgba(0, 242, 255, 0.05),
    rgba(188, 19, 254, 0.05)
  );
  border: 1px solid rgba(0, 242, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 242, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 255, 0.15);
  border-color: rgba(0, 242, 255, 0.5);
}

/* Card Header - Compact */
.media-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}

.newspaper-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 255, 0.1);
  padding: 6px 15px;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 255, 0.3);
}

.newspaper-badge i {
  color: var(--neon-blue);
  font-size: 1rem;
}

.newspaper-badge span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.date-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.date-badge i {
  color: var(--neon-purple);
}

/* Card Body - Compact */
.media-card-body {
  margin-bottom: 15px;
}

.article-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--neon-blue);
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* Article Image - Clickable and Compact */
.article-image-wrapper {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(0, 242, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-image-wrapper:hover {
  border-color: rgba(0, 242, 255, 0.6);
  box-shadow: 0 5px 25px rgba(0, 242, 255, 0.3);
  transform: scale(1.01);
}

.article-image {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
  cursor: zoom-in;
}

.article-image:hover {
  opacity: 0.9;
}

/* Card Footer - Compact */
.media-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 242, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.publisher,
.location {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Image Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  max-width: 95%;
  max-height: 95vh;
  object-fit: contain;
  border: 3px solid var(--neon-blue);
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--neon-blue);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  text-shadow: 0 0 10px var(--neon-blue);
}

.close:hover,
.close:focus {
  color: #fff;
  text-shadow: 0 0 20px var(--neon-blue);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .media-header {
    padding: 120px 15px 40px;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .media-card {
    padding: 18px;
  }

  .media-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-title {
    font-size: 1.2rem;
  }

  .article-subtitle {
    font-size: 0.95rem;
  }

  .media-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Active Nav Link */
.nav-links a.active {
  color: var(--neon-blue);
  border-bottom: 2px solid var(--neon-blue);
}
