.page-resources-latest-news {
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
}

.page-resources-latest-news__hero-section {
  position: relative;
  width: 100%;
  padding: 100px 20px 60px 20px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, #000080, #1a1a3a);
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-resources-latest-news__hero-section {
    padding: 80px 15px 40px 15px; /* Adjusted padding-top for fixed header on mobile */
  }
}

.page-resources-latest-news__hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-latest-news__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-latest-news__hero-title .page-resources-latest-news__hero-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-latest-news__hero-title .page-resources-latest-news__hero-link:hover {
  color: #fff;
}

.page-resources-latest-news__hero-description {
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .page-resources-latest-news__hero-title {
    font-size: 36px;
  }
  .page-resources-latest-news__hero-description {
    font-size: 16px;
  }
}

.page-resources-latest-news__articles-section,
.page-resources-latest-news__categories-section,
.page-resources-latest-news__faq-section {
  padding: 60px 20px;
  background: #0a0a0a;
  color: #ffffff;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-resources-latest-news__articles-section,
  .page-resources-latest-news__categories-section,
  .page-resources-latest-news__faq-section {
    padding: 40px 15px;
  }
}

.page-resources-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-latest-news__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
}

@media (max-width: 768px) {
  .page-resources-latest-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

.page-resources-latest-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-latest-news__article-card {
  background: #1a1a1a; /* Darker background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #000080;
}

.page-resources-latest-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-latest-news__article-link {
  display: block;
  text-decoration: none;
  color: #ffffff;
}

.page-resources-latest-news__article-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-resources-latest-news__article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-resources-latest-news__article-card:hover .page-resources-latest-news__article-image {
  transform: scale(1.05);
}

.page-resources-latest-news__article-content {
  padding: 20px;
}

.page-resources-latest-news__article-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #FFD700;
}

.page-resources-latest-news__article-summary {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-resources-latest-news__read-more {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #000080;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-latest-news__article-card:hover .page-resources-latest-news__read-more {
  color: #FFD700;
}

.page-resources-latest-news__cta-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-resources-latest-news__btn-primary,
.page-resources-latest-news__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-news__btn-primary {
  background: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-resources-latest-news__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  color: #000055;
}

.page-resources-latest-news__btn-secondary {
  background: #000080;
  color: #FFD700;
  border: 2px solid #000080;
  margin-left: 20px;
}

.page-resources-latest-news__btn-secondary:hover {
  background: #000055;
  border-color: #000055;
  color: #fff;
}

@media (max-width: 768px) {
  .page-resources-latest-news__btn-primary,
  .page-resources-latest-news__btn-secondary {
    display: block;
    margin: 0 auto 15px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-resources-latest-news__btn-secondary {
    margin-left: 0 !important;
  }
}

.page-resources-latest-news__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-resources-latest-news__category-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #000080;
  text-decoration: none;
  color: #ffffff;
}

.page-resources-latest-news__category-card:hover {
  transform: translateY(-8px);
  background-color: #000080;
}

.page-resources-latest-news__category-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-resources-latest-news__category-description {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
}

.page-resources-latest-news__cta-section {
  padding: 80px 20px;
  background: #000080; /* Auxiliary color as background */
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-resources-latest-news__cta-section {
    padding: 50px 15px;
  }
}

.page-resources-latest-news__cta-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-resources-latest-news__cta-title .page-resources-latest-news__cta-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-latest-news__cta-title .page-resources-latest-news__cta-link:hover {
  color: #fff;
}

.page-resources-latest-news__cta-description {
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .page-resources-latest-news__cta-title {
    font-size: 32px;
  }
  .page-resources-latest-news__cta-description {
    font-size: 16px;
  }
}

.page-resources-latest-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .page-resources-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* FAQ Section */
.page-resources-latest-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-latest-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #000080; /* Brand color border */
  background: #1a1a1a;
}

.page-resources-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-resources-latest-news__faq-question:hover {
  background: #2a2a2a;
}

.page-resources-latest-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold for questions */
}

.page-resources-latest-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-latest-news__faq-item.active .page-resources-latest-news__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-resources-latest-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
  background: #0d0d0d;
  border-radius: 0 0 8px 8px;
}

.page-resources-latest-news__faq-item.active .page-resources-latest-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

.page-resources-latest-news__faq-answer p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

.page-resources-latest-news__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-latest-news__faq-answer a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .page-resources-latest-news__faq-question {
    padding: 15px;
  }
  .page-resources-latest-news__faq-question h3 {
    font-size: 16px;
  }
  .page-resources-latest-news__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources-latest-news__faq-answer {
    padding: 0 15px;
  }
  .page-resources-latest-news__faq-item.active .page-resources-latest-news__faq-answer {
    padding: 15px !important;
  }
  .page-resources-latest-news__faq-answer p {
    font-size: 15px;
  }
}

/* Global responsive for images */
.page-resources-latest-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-resources-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-latest-news__articles-section,
  .page-resources-latest-news__categories-section,
  .page-resources-latest-news__cta-section,
  .page-resources-latest-news__faq-section,
  .page-resources-latest-news__container,
  .page-resources-latest-news__article-card,
  .page-resources-latest-news__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure padding is consistent for containers */
  .page-resources-latest-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific padding for sections that might override container */
  .page-resources-latest-news__articles-section,
  .page-resources-latest-news__categories-section,
  .page-resources-latest-news__cta-section,
  .page-resources-latest-news__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}