/* ============================================
   NEWS PAGE ENHANCED STYLING
   ============================================ */

/* Enhanced Hero Section */
.hero {
  background: linear-gradient(135deg, #002d53 0%, #0c3458 100%);
  min-height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.hero-content h1 {
  font-family: "Arial Black", Arial, sans-serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
  font-size: 4rem;
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box in Hero */
.hero-search {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
  box-shadow: 0 15px 50px rgba(253, 195, 0, 0.3);
  transform: translateY(-2px);
}

.search-input-wrapper svg {
  position: absolute;
  left: 25px;
  color: #002d53;
  opacity: 0.5;
  pointer-events: none;
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 18px 25px 18px 60px;
  font-size: 16px;
  color: #002d53;
  outline: none;
  font-family: Arial, sans-serif;
}

.hero-search input::placeholder {
  color: #666;
}

.search-btn {
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  color: #002d53;
  border: none;
  padding: 15px 35px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.search-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(253, 195, 0, 0.4);
}

/* Filter Section Enhanced */
.filter-section {
  background: #f8f9fa;
  padding: 40px 0;
  border-bottom: 3px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: white;
  color: #002d53;
  border: 2px solid #e0e0e0;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 15px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn .count {
  background: #f0f0f0;
  color: #666;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #fdc300;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 45, 83, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, #002d53 0%, #0c3458 100%);
  color: white;
  border-color: #fdc300;
  box-shadow: 0 5px 20px rgba(0, 45, 83, 0.2);
}

.filter-btn.active .count {
  background: #fdc300;
  color: #002d53;
}

/* News Section */
.news-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px;
  background: #ffffff;
}

/* Featured Article Enhanced */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 45, 83, 0.1);
  transition: all 0.4s ease;
}

.featured-article:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 45, 83, 0.15);
}

.featured-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 450px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-article:hover .featured-image img {
  transform: scale(1.08);
}

.featured-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  color: #002d53;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-family: Arial, sans-serif;
  box-shadow: 0 5px 20px rgba(253, 195, 0, 0.4);
  z-index: 2;
}

.featured-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-category {
  display: inline-block;
  background: linear-gradient(135deg, #002d53 0%, #0c3458 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.article-meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-content h2 {
  font-family: "Arial Black", Arial, sans-serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
  color: #002d53;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.featured-content p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  color: #002d53;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 5px 20px rgba(253, 195, 0, 0.3);
}

.read-more:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(253, 195, 0, 0.5);
}

.read-more svg {
  transition: transform 0.3s ease;
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

/* Article Cards Enhanced */
.article-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 45, 83, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 45, 83, 0.15);
}

.article-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 45, 83, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
}

.article-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .article-category {
  margin-bottom: 15px;
  font-size: 11px;
}

.article-content h3 {
  font-family: "Arial Black", Arial, sans-serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
  color: #002d53;
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.article-card:hover h3 {
  color: #fdc300;
}

.article-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fdc300;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #002d53;
}

.article-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #002d53;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.article-link:hover {
  color: #fdc300;
  gap: 10px;
}

.article-link svg {
  transition: transform 0.3s ease;
}

.article-link:hover svg {
  transform: translateX(3px);
}

/* Pagination Enhanced */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 60px;
}

.pagination-btn {
  background: white;
  color: #002d53;
  border: 2px solid #e0e0e0;
  padding: 12px 20px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover {
  border-color: #fdc300;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 45, 83, 0.1);
}

.pagination-btn.active {
  background: linear-gradient(135deg, #002d53 0%, #0c3458 100%);
  color: white;
  border-color: #fdc300;
  box-shadow: 0 5px 20px rgba(0, 45, 83, 0.2);
}

/* Newsletter Section Enhanced */
.newsletter-section {
  background: linear-gradient(135deg, #002d53 0%, #0c3458 100%);
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.newsletter-content h2 {
  font-family: "Arial Black", Arial, sans-serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 550px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 25px;
  color: white;
  font-size: 16px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  color: #002d53;
  border: none;
  padding: 18px 40px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(253, 195, 0, 0.4);
}

/* Animation for hidden articles */
.article-card.hidden,
.featured-article.hidden {
  display: none !important;
}

/* Loading State */
.article-card.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 968px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .featured-article {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .featured-image {
    min-height: 350px;
  }

  .featured-content {
    padding: 40px 30px;
  }

  .featured-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: 50vh;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .filter-section {
    padding: 25px 0;
  }

  .filter-container {
    padding: 0 20px;
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .news-section {
    padding: 50px 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-section {
    padding: 60px 20px;
  }

  .newsletter-content h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .featured-image {
    min-height: 250px;
  }

  .featured-content {
    padding: 30px 20px;
  }

  .featured-content h2 {
    font-size: 1.5rem;
  }

  .article-content {
    padding: 25px 20px;
  }

  .filter-btn .count {
    display: none;
  }
}

/* Print Styles */
@media print {
  .hero,
  .filter-section,
  .newsletter-section,
  .sticky-contact-menu {
    display: none !important;
  }

  .article-card {
    page-break-inside: avoid;
  }
}
