/* News Page Styles */

/* =================================================================
   NEWS HERO SECTION STYLES
   ================================================================= */

.news-hero-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
  background: #fff;
  text-align: left;
}

.news-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.news-hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 48px;
  color: #023E8A;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-align: left;
}

.news-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 20px;
  color: #000000;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 0 20px 0;
  text-align: left;
}

.news-hero-subtitle-padded {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 20px;
  color: #000000;
  line-height: 1.5;
  max-width: 600px;
  margin: 40px 0 20px 0;
  text-align: left;
}

/* =================================================================
   FEATURED NEWS SECTION STYLES
   ================================================================= */

.featured-news-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
  background: #fff;
}

.featured-news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-news-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 40px;
  color: #023E8A;
  text-align: left;
  margin: 0 0 40px 0;
}

.featured-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  height: 500px;
}

.featured-story-large {
  grid-row: 1 / 3;
}

.featured-story-medium {
  height: 238px;
}

.news-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.news-content {
  color: white;
  width: 100%;
}

.news-category {
  font-family: 'Inter', sans-serif;
  font-weight: medium;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.news-date {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: block;
}

.news-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: white;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.featured-story-large .news-title {
  font-size: 28px;
}

.news-excerpt {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 16px;
  color: white;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.news-btn {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: medium;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-btn:hover {
  background: white;
  color: #023E8A;
}

/* =================================================================
   NEWS ARTICLES SECTION STYLES
   ================================================================= */

.news-articles-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
  background: #F8FCFF;
}

.news-articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-articles-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #023E8A;
  text-align: left;
  margin: 0 0 32px 0;
}

.news-filters {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  color: #023E8A;
  border: 1px solid #023E8A;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: medium;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #023E8A;
  color: white;
}

.news-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-article-card:hover .article-img {
  transform: scale(1.05);
}

.article-content {
  padding: 20px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.article-category {
  font-family: 'Inter', sans-serif;
  font-weight: medium;
  font-size: 12px;
  color: #7B1A2D;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-date {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 12px;
  color: #666666;
}

.article-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #023E8A;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.article-excerpt {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-btn {
  background: transparent;
  color: #7B1A2D;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: medium;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.article-btn:hover {
  color: #5E1421;
  text-decoration: underline;
}

/* =================================================================
   NEWSLETTER SECTION STYLES
   ================================================================= */

.newsletter-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
  background: #023E8A;
  text-align: left;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: white;
  margin: 0 0 24px 0;
}

.newsletter-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 18px;
  color: white;
  line-height: 1.5;
  margin: 0 0 32px 0;
}

.newsletter-form {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #000000;
  outline: none;
}

.newsletter-input::placeholder {
  color: #666666;
}

.newsletter-btn {
  background: #7B1A2D;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #5E1421;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 26, 45, 0.3);
}

.newsletter-info {
  font-family: 'Inter', sans-serif;
  font-weight: regular;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* =================================================================
   BACK LINK STYLES
   ================================================================= */

.back-link {
  display: inline-block;
  background: #023E8A;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: background 0.3s ease;
}

.back-link:hover {
  background: #1a4d8a;
  color: white;
  text-decoration: none;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Tablet Styles */
@media (max-width: 1279px) {
  .news-hero-title {
    font-size: 42px;
  }
  
  .featured-news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  
  .featured-story-large {
    grid-row: auto;
    height: 400px;
  }
  
  .featured-story-medium {
    height: 300px;
  }
  
  .news-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .back-link {
    padding-top: 20px;
    margin-top: 20px;
  }
}

/* Tablet View (1024px) */
@media (max-width: 1024px) {
  .back-link {
    padding-top: 20px !important;
    margin-top: 20px !important;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .news-hero-section,
  .featured-news-section,
  .news-articles-section,
  .newsletter-section {
    padding: 60px 20px;
  }
  
  .news-hero-title {
    font-size: 36px;
  }
  
  .news-hero-subtitle {
    font-size: 18px;
  }
  
  .featured-news-title,
  .news-articles-title,
  .newsletter-title {
    font-size: 32px;
  }
  
  .featured-news-grid {
    gap: 16px;
  }
  
  .featured-story-large,
  .featured-story-medium {
    height: 250px;
  }
  
  .news-title {
    font-size: 20px;
  }
  
  .featured-story-large .news-title {
    font-size: 24px;
  }
  
  .news-excerpt {
    font-size: 14px;
  }
  
  .news-filters {
    gap: 12px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .news-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .article-content {
    padding: 16px;
  }
  
  .article-title {
    font-size: 18px;
  }
  
  .article-excerpt {
    font-size: 13px;
  }
  
  .form-group {
    flex-direction: column;
    max-width: 100%;
  }
  
  .newsletter-btn {
    width: 100%;
  }
  
  .back-link {
    padding-top: 20px;
    margin-top: 20px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .news-hero-section,
  .featured-news-section,
  .news-articles-section,
  .newsletter-section {
    padding: 40px 15px;
  }
  
  .news-hero-title {
    font-size: 28px;
  }
  
  .news-hero-subtitle {
    font-size: 16px;
  }
  
  .featured-news-title,
  .news-articles-title,
  .newsletter-title {
    font-size: 28px;
  }
  
  .featured-story-large,
  .featured-story-medium {
    height: 200px;
  }
  
  .news-overlay {
    padding: 16px;
  }
  
  .news-title {
    font-size: 18px;
  }
  
  .featured-story-large .news-title {
    font-size: 20px;
  }
  
  .news-excerpt {
    font-size: 13px;
  }
  
  .news-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .news-filters {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .article-content {
    padding: 12px;
  }
  
  .article-title {
    font-size: 16px;
  }
  
  .article-excerpt {
    font-size: 12px;
  }
  
  .newsletter-subtitle {
    font-size: 16px;
  }
  
  .newsletter-input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .newsletter-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .back-link {
    padding-top: 20px;
    margin-top: 20px;
  }
}

