.page-news {
  --primary-color: #0A2240;
  --secondary-color: #FFD700;
  --accent-color: #DC143C;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f4f4;
  --bg-dark: #071a2e;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-news .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news .section-description {
  font-size: 1.1em;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.page-news .cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news .cta-button:hover {
  background-color: #c01236;
  transform: translateY(-2px);
}

/* Hero Banner */
.page-news .hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5e 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-news .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news .hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-news .hero-banner .cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-news .hero-banner .cta-button:hover {
  background-color: #e6c200;
}

/* Featured Articles */
.page-news .featured-articles {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-news .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news .article-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news .card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news .card-title .page-news.card-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .card-title .page-news.card-link:hover {
  color: var(--accent-color);
}

.page-news .article-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 15px;
}

.page-news .article-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news .read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-news .read-more:hover {
  color: var(--primary-color);
}

/* Latest News List */
.page-news .latest-news {
  padding: 60px 0;
}

.page-news .news-list {
  display: grid;
  gap: 30px;
}

.page-news .news-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-news .news-item-image {
  width: 280px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px 0 0 10px;
}

.page-news .news-item-content {
  padding: 25px;
  flex-grow: 1;
}

.page-news .item-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news .item-title .page-news.item-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .item-title .page-news.item-link:hover {
  color: var(--accent-color);
}

.page-news .item-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 15px;
}

.page-news .item-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
}

.page-news .pagination {
    text-align: center;
    margin-top: 40px;
}

.page-news .pagination-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #eee;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news .pagination-link:hover,
.page-news .pagination-link.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Call to Action */
.page-news .call-to-action {
  background: linear-gradient(90deg, var(--primary-color), #1a3a5e);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-news .cta-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-news .cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-news .main-cta {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: var(--accent-color);
  color: var(--text-light);
}

.page-news .main-cta:hover {
  background-color: #c01236;
}

/* FAQ Section */
.page-news .faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-news .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-news .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-news .faq-question:hover {
  background: #f5f5f5;
}

.page-news .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-news .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.page-news .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-news .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  color: #444;
}

.page-news .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px 25px;
}

.page-news .faq-answer p {
  margin: 0;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-news .hero-title {
    font-size: 2.8em;
  }
  .page-news .section-title {
    font-size: 2em;
  }
  .page-news .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-news .news-item {
    flex-direction: column;
  }
  .page-news .news-item-image {
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
  }
  .page-news .news-item-content {
    padding: 20px;
  }
  .page-news .item-title {
    font-size: 1.2em;
  }
  .page-news .cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-news .hero-banner,
  .page-news .featured-articles,
  .page-news .latest-news,
  .page-news .call-to-action,
  .page-news .faq-section {
    padding: 40px 0;
  }
  .page-news .hero-title {
    font-size: 2.2em;
  }
  .page-news .hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-news .hero-banner .cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-news .section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-news .section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-news .article-card {
    margin-bottom: 20px;
  }
  .page-news .card-title {
    font-size: 1.3em;
  }
  .page-news .news-item {
    margin-bottom: 20px;
  }
  .page-news .item-title {
    font-size: 1.1em;
  }
  .page-news .cta-title {
    font-size: 1.8em;
  }
  .page-news .cta-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-news .main-cta {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-news .faq-question {
    padding: 15px 20px;
  }
  .page-news .faq-question h3 {
    font-size: 1.1em;
  }
  .page-news .faq-toggle {
    font-size: 20px;
  }
  .page-news .faq-answer {
    padding: 0 20px;
  }
  .page-news .faq-item.active .faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .page-news .pagination-link {
    padding: 8px 12px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-news .hero-title {
    font-size: 1.8em;
  }
  .page-news .section-title {
    font-size: 1.6em;
  }
  .page-news .cta-title {
    font-size: 1.6em;
  }
  .page-news .articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news .news-item {
    margin-bottom: 15px;
  }
  .page-news .news-item-image {
    height: 160px;
  }
  .page-news .news-item-content {
    padding: 15px;
  }
  .page-news .card-content,
  .page-news .faq-question {
    padding: 15px;
  }
  .page-news .faq-item.active .faq-answer {
    padding: 10px 15px 15px 15px;
  }
}