.page-resources-latest-updates {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-latest-updates__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-latest-updates__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-latest-updates__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-resources-latest-updates__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-resources-latest-updates__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-latest-updates__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-latest-updates__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-latest-updates__hero-button:hover {
  background-color: #e0b800;
  color: #6a0000;
}

.page-resources-latest-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-latest-updates__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-latest-updates__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #8B0000;
  border-radius: 2px;
}

.page-resources-latest-updates__intro-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-latest-updates__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-latest-updates__text-block strong {
  color: #FFD700;
}

.page-resources-latest-updates__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-resources-latest-updates__card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-latest-updates__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-latest-updates__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources-latest-updates__card-title {
  font-size: 1.4em;
  padding: 15px 20px 10px;
  color: #FFD700;
}

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

.page-resources-latest-updates__card-link:hover {
  color: #e0b800;
  text-decoration: underline;
}

.page-resources-latest-updates__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px 20px;
  color: #cccccc;
}

.page-resources-latest-updates__why-follow-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-resources-latest-updates__feature-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-resources-latest-updates__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-latest-updates__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
}

.page-resources-latest-updates__call-to-action-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  color: #f0f0f0;
}

.page-resources-latest-updates__inline-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-latest-updates__inline-link:hover {
  color: #e0b800;
  text-decoration: underline;
}

.page-resources-latest-updates__access-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-resources-latest-updates__method-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-latest-updates__method-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-latest-updates__method-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-latest-updates__method-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.page-resources-latest-updates__method-button:hover {
  background-color: #6a0000;
}

.page-resources-latest-updates__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-resources-latest-updates__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #8B0000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-latest-updates__faq-question:hover {
  background-color: #6a0000;
}

.page-resources-latest-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-latest-updates__faq-item.active .page-resources-latest-updates__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-resources-latest-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #3a3a3a;
  color: #cccccc;
}

.page-resources-latest-updates__faq-item.active .page-resources-latest-updates__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-resources-latest-updates__faq-answer p {
  margin: 0;
  line-height: 1.7;
  font-size: 1em;
}

.page-resources-latest-updates__conclusion-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.page-resources-latest-updates__cta-link {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-latest-updates__cta-link:hover {
  background-color: #e0b800;
  color: #6a0000;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-latest-updates__hero-title {
    font-size: 3em;
  }
  .page-resources-latest-updates__hero-description {
    font-size: 1.1em;
  }
  .page-resources-latest-updates__section-title {
    font-size: 2em;
  }
  .page-resources-latest-updates__card-title {
    font-size: 1.2em;
  }
  .page-resources-latest-updates__feature-title, .page-resources-latest-updates__method-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-updates__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-latest-updates__hero-title {
    font-size: 2.5em;
  }
  .page-resources-latest-updates__hero-description {
    font-size: 1em;
  }
  .page-resources-latest-updates__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-latest-updates__section-title {
    font-size: 1.8em;
  }
  .page-resources-latest-updates__text-block {
    font-size: 1em;
  }
  .page-resources-latest-updates__grid {
    grid-template-columns: 1fr;
  }
  .page-resources-latest-updates__card-image {
    height: 180px;
  }
  .page-resources-latest-updates__card-title {
    font-size: 1.1em;
  }
  .page-resources-latest-updates__feature-item, .page-resources-latest-updates__method-item {
    padding: 25px;
  }
  .page-resources-latest-updates__feature-title, .page-resources-latest-updates__method-title {
    font-size: 1.3em;
  }
  .page-resources-latest-updates__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-latest-updates__faq-answer {
    padding: 0 20px;
  }
  .page-resources-latest-updates__faq-item.active .page-resources-latest-updates__faq-answer {
    padding: 10px 20px;
  }
  .page-resources-latest-updates__cta-link {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-resources-latest-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-latest-updates__section,
  .page-resources-latest-updates__card,
  .page-resources-latest-updates__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-latest-updates__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-resources-latest-updates__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-resources-latest-updates__hero-button,
  .page-resources-latest-updates__method-button,
  .page-resources-latest-updates__cta-link,
  .page-resources-latest-updates a[class*="button"],
  .page-resources-latest-updates a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-latest-updates__cta-buttons,
  .page-resources-latest-updates__button-group,
  .page-resources-latest-updates__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-latest-updates__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}