.page-resources-f8beta2-latest-updates {
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  background-color: #0a0a0a;
  font-family: 'Arial', sans-serif;
}

.page-resources-f8beta2-latest-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-f8beta2-latest-updates__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  color: #FFD700; /* Primary color */
  margin-bottom: 20px;
  padding-top: 40px;
  text-transform: uppercase;
}

.page-resources-f8beta2-latest-updates__section-intro {
  font-size: 18px;
  text-align: center;
  color: #f0f0f0;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Section */
.page-resources-f8beta2-latest-updates__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  background: linear-gradient(135deg, #000080, #0a0a0a);
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-resources-f8beta2-latest-updates__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-f8beta2-latest-updates__main-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-resources-f8beta2-latest-updates__description {
  font-size: 22px;
  color: #f8f8f8;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-resources-f8beta2-latest-updates__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-resources-f8beta2-latest-updates__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-f8beta2-latest-updates__cta-button--primary {
  background-color: #FFD700;
  color: #000080; /* Dark blue text on gold for contrast */
  border: 2px solid #FFD700;
}

.page-resources-f8beta2-latest-updates__cta-button--primary:hover {
  background-color: #e6c200;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-resources-f8beta2-latest-updates__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-f8beta2-latest-updates__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-resources-f8beta2-latest-updates__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  object-fit: cover;
}

/* News Section */
.page-resources-f8beta2-latest-updates__news-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-resources-f8beta2-latest-updates__news-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-f8beta2-latest-updates__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-resources-f8beta2-latest-updates__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-resources-f8beta2-latest-updates__news-content {
  padding: 25px;
}

.page-resources-f8beta2-latest-updates__news-title {
  font-size: 24px;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-resources-f8beta2-latest-updates__news-title a:hover {
  color: #e6c200;
}

.page-resources-f8beta2-latest-updates__news-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-resources-f8beta2-latest-updates__news-date {
  font-size: 14px;
  color: #888888;
  display: block;
  margin-bottom: 15px;
}

.page-resources-f8beta2-latest-updates__news-readmore {
  display: inline-block;
  background-color: #000080;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-f8beta2-latest-updates__news-readmore:hover {
  background-color: #000066;
}

/* FAQ Section */
.page-resources-f8beta2-latest-updates__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-resources-f8beta2-latest-updates__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-f8beta2-latest-updates__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-resources-f8beta2-latest-updates__faq-question:hover {
  background-color: #2a2a2a;
}

.page-resources-f8beta2-latest-updates__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  color: #FFD700;
  line-height: 1.5;
  pointer-events: none;
}

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

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

.page-resources-f8beta2-latest-updates__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 25px;
  background-color: #000080; /* Dark blue background for answer */
  color: #ffffff;
  opacity: 0;
}

.page-resources-f8beta2-latest-updates__faq-item.active .page-resources-f8beta2-latest-updates__faq-answer {
  max-height: 2000px !important;
  padding: 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.page-resources-f8beta2-latest-updates__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* Brand Section */
.page-resources-f8beta2-latest-updates__brand-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-resources-f8beta2-latest-updates__brand-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-resources-f8beta2-latest-updates__brand-text {
  flex: 1;
  min-width: 300px;
}

.page-resources-f8beta2-latest-updates__brand-text p {
  font-size: 18px;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-resources-f8beta2-latest-updates__brand-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  border: 2px solid #FFD700;
}

/* Related Articles Section */
.page-resources-f8beta2-latest-updates__related-articles-section {
  padding: 60px 0 80px;
  background-color: #0a0a0a;
}

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

.page-resources-f8beta2-latest-updates__article-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 128, 0.3);
}

.page-resources-f8beta2-latest-updates__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-resources-f8beta2-latest-updates__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 128, 0.3);
}

.page-resources-f8beta2-latest-updates__article-content {
  padding: 25px;
}

.page-resources-f8beta2-latest-updates__article-title {
  font-size: 22px;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-resources-f8beta2-latest-updates__article-title a:hover {
  color: #e6c200;
}

.page-resources-f8beta2-latest-updates__article-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-resources-f8beta2-latest-updates__article-readmore {
  display: inline-block;
  background-color: #FFD700;
  color: #000080;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-f8beta2-latest-updates__article-readmore:hover {
  background-color: #e6c200;
}

/* General image styling for content areas to prevent small icons */
.page-resources-f8beta2-latest-updates img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-resources-f8beta2-latest-updates {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-f8beta2-latest-updates__container {
    padding: 15px;
  }

  .page-resources-f8beta2-latest-updates__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-f8beta2-latest-updates__main-title {
    font-size: 38px;
    margin-bottom: 15px;
  }

  .page-resources-f8beta2-latest-updates__description {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-resources-f8beta2-latest-updates__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-f8beta2-latest-updates__cta-button {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-f8beta2-latest-updates__section-title {
    font-size: 30px;
    padding-top: 30px;
    margin-bottom: 30px;
  }

  .page-resources-f8beta2-latest-updates__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-f8beta2-latest-updates__news-section,
  .page-resources-f8beta2-latest-updates__faq-section,
  .page-resources-f8beta2-latest-updates__brand-section,
  .page-resources-f8beta2-latest-updates__related-articles-section {
    padding: 40px 0;
  }

  .page-resources-f8beta2-latest-updates__news-card,
  .page-resources-f8beta2-latest-updates__article-card {
    margin-bottom: 20px;
  }

  .page-resources-f8beta2-latest-updates__news-title,
  .page-resources-f8beta2-latest-updates__article-title {
    font-size: 20px;
  }

  .page-resources-f8beta2-latest-updates__news-image,
  .page-resources-f8beta2-latest-updates__article-image {
    height: 180px;
  }

  .page-resources-f8beta2-latest-updates__faq-question {
    padding: 15px 20px;
  }

  .page-resources-f8beta2-latest-updates__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-f8beta2-latest-updates__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

  .page-resources-f8beta2-latest-updates__faq-item.active .page-resources-f8beta2-latest-updates__faq-answer {
    padding: 20px !important;
  }

  .page-resources-f8beta2-latest-updates__brand-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-f8beta2-latest-updates__brand-image {
    max-width: 100%;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-resources-f8beta2-latest-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-f8beta2-latest-updates__news-section,
  .page-resources-f8beta2-latest-updates__faq-section,
  .page-resources-f8beta2-latest-updates__brand-section,
  .page-resources-f8beta2-latest-updates__related-articles-section,
  .page-resources-f8beta2-latest-updates__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-f8beta2-latest-updates__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-resources-f8beta2-latest-updates__cta-button {
    padding-left: 15px;
    padding-right: 15px;
  }
}