/* ============================================================
   NEWS & EVENTS SECTION
   ============================================================ */

/* News Section */
.news-section {
  background: var(--darker);
  position: relative;
}

.news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.news-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

/* News Grid - 3 Columns */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  grid-auto-rows: 1fr;
}

/* News Card - Premium Design */
.news-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(17, 24, 39, 0.95);
}

.news-card:hover::before {
  opacity: 1;
}

/* News Card Image */
.news-image {
  position: relative;
  overflow: hidden;
  height: 320px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image img {
  transform: scale(1);
}

/* News Overlay */
.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 40%);
  z-index: 2;
}

/* News Date Badge */
.news-date {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(201, 168, 76, 0.95);
  color: #000000;
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
  z-index: 3;
  transition: all 0.4s ease;
}

.news-card:hover .news-date {
  transform: translateY(-10px) scale(1.1);
}

.date-day {
  display: block;
  font-size: 32px;
  font-weight: 800;
  font-family: "Bebas Neue", sans-serif;
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.date-year {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  line-height: 1;
}

/* News Content */
.news-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-height: 220px;
}

.news-title {
  font-size: 22px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.4s ease;
  flex-grow: 1;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.news-card:hover .news-title {
  color: var(--gold);
}

.news-excerpt {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.4s ease;
}

.news-card:hover .news-excerpt {
  color: #cbd5e1;
}

/* Read More Link */
.news-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.news-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.news-link:hover::after {
  width: 100%;
}

.news-link i {
  transition: transform 0.3s ease;
}

.news-link:hover i {
  transform: translateX(5px);
}

.news-tag {
  margin-bottom: 15px;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4rem;
  padding: 0 2rem;
}

.pagination-btn {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--light);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pagination-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--darker);
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.pagination-btn.next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .date-day {
    font-size: 28px;
  }

  .news-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .news-image {
    height: 220px;
  }

  .news-card:hover .news-image {
    transform: scale(1.03);
  }

  .news-card:hover .news-image img {
    transform: scale(1.06);
  }

  .news-date {
    padding: 10px 16px;
    bottom: 15px;
    right: 15px;
  }

  .news-content {
    padding: 20px;
  }

  .news-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .news-excerpt {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }

  .news-pagination {
    gap: 0.5rem;
  }

  .pagination-btn {
    min-width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .news-header {
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .news-grid {
    padding: 0 1rem;
    gap: 1.25rem;
  }

  .news-image {
    height: 200px;
  }

  .news-content {
    padding: 18px;
  }

  .news-title {
    font-size: 18px;
  }

  .news-excerpt {
    font-size: 14px;
  }

  .date-day {
    font-size: 24px;
  }

  .date-month {
    font-size: 12px;
  }

  .date-year {
    font-size: 10px;
  }

  .news-date {
    padding: 8px 12px;
  }
}

/* Premium paginated news layout */
.news-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.news-card.is-hidden {
  display: none !important;
}

.news-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.news-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  background: rgba(201, 168, 76, 0.95);
  color: #07111d;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-content {
  padding: 1.1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.95),
    rgba(15, 23, 42, 0.92)
  );
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c8b36f;
}

.news-title {
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
  color: #f8fafc;
}

.news-excerpt {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
}

.news-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f8f2df;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination-btn {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(17, 24, 39, 0.9);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination-btn:hover,
.pagination-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.pagination-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination-dots {
  display: flex;
  gap: 0.42rem;
  align-items: center;
}

.pagination-page {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  min-width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #e7e7e7;
  cursor: pointer;
}

.pagination-page.active {
  background: linear-gradient(135deg, var(--gold), #f3d77f);
  color: #07111d;
  border-color: transparent;
  font-weight: 700;
}

@media (max-width: 992px) {
  .news-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .news-events-grid {
    grid-template-columns: 1fr;
  }

  .news-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .news-content {
    padding: 1rem;
  }

  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* ============================================================
   NEWS DETAILS PAGE
   ============================================================ */

/* News Details Section */
.news-details-section {
  background: var(--darker);
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 4rem;
}

/* News Hero Image */
.news-details-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  /* margin-top: 80px; */
}

.news-details-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-details-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.7)
  );
  z-index: 1;
}

/* News Details Content */
.news-details-content {
  max-width: 1000px;
  margin: -120px auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* News Date Badge */
.news-details-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: #000000;
  padding: 20px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(201, 168, 76, 0.4);
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.date-day {
  display: block;
  font-size: 48px;
  font-weight: 800;
  font-family: "Bebas Neue", sans-serif;
  line-height: 1;
  letter-spacing: 2px;
}

.date-month {
  display: block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2;
}

.date-year {
  display: block;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1;
  margin-top: 4px;
}

/* News Title */
.news-details-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* News Description */
.news-details-description {
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.news-details-description p {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.news-details-description p:last-child {
  margin-bottom: 0;
}

.news-details-description p::first-letter {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--gold);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .news-details-hero {
    height: 60vh;
    min-height: 400px;
  }

  .news-details-content {
    margin-top: -100px;
    padding: 0 1.5rem;
  }

  .news-details-title {
    font-size: 40px;
    margin-bottom: 2rem;
  }

  .news-details-description {
    padding: 2.5rem;
  }

  .news-details-description p {
    font-size: 16px;
  }

  .news-details-date {
    padding: 16px 24px;
  }

  .date-day {
    font-size: 40px;
  }

  .date-month {
    font-size: 14px;
  }

  .date-year {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .news-details-hero {
    height: 50vh;
    min-height: 350px;
  }

  .news-details-content {
    margin-top: -80px;
    padding: 0 1.5rem;
  }

  .news-details-title {
    font-size: 32px;
    margin-bottom: 1.5rem;
  }

  .news-details-description {
    padding: 2rem;
  }

  .news-details-description p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
  }

  .news-details-date {
    padding: 14px 20px;
  }

  .date-day {
    font-size: 36px;
  }

  .date-month {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .date-year {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .news-details-hero {
    height: 40vh;
    min-height: 280px;
  }

  .news-details-content {
    margin-top: -60px;
    padding: 0 1rem;
  }

  .news-details-title {
    font-size: 26px;
    margin-bottom: 1.25rem;
  }

  .news-details-description {
    padding: 1.5rem;
  }

  .news-details-description p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .news-details-date {
    padding: 12px 18px;
  }

  .date-day {
    font-size: 32px;
  }

  .date-month {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .date-year {
    font-size: 10px;
  }
}
