.page-resources {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources__section {
  padding: 60px 0;
}

.page-resources__dark-bg {
  background-color: #0A2342;
  color: #ffffff;
}

.page-resources__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources__section-title {
  font-size: 36px;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-resources__text-block {
  margin-bottom: 20px;
  font-size: 17px;
  color: inherit;
}

.page-resources__text-block a {
  color: #F2C144;
  text-decoration: none;
}

.page-resources__text-block a:hover {
  text-decoration: underline;
}

.page-resources__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  overflow: hidden;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-resources__hero-title {
  font-size: 52px;
  color: #F2C144;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background-color: #E04040; /* Accent red for primary CTA */
  color: #ffffff;
  border: 2px solid #E04040;
}

.page-resources__btn-primary:hover {
  background-color: #C73838;
  border-color: #C73838;
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: #F2C144;
  border: 2px solid #F2C144;
}

.page-resources__btn-secondary:hover {
  background-color: #F2C144;
  color: #0A2342;
}

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

.page-resources__card {
  background-color: #0A2342;
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources__card-title {
  font-size: 22px;
  margin: 20px 20px 10px;
  color: #F2C144;
}

.page-resources__card-title a {
  color: #F2C144;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  text-decoration: underline;
}

.page-resources__card-description {
  font-size: 15px;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__card .page-resources__btn-secondary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-resources__cta-block {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__light-bg .page-resources__cta-block {
  border-top: 1px solid #e0e0e0;
}

.page-resources__cta-text {
  font-size: 18px;
  margin-bottom: 25px;
  color: inherit;
}

.page-resources__grid-layout--security {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-resources__security-content {
  padding-right: 30px;
}

.page-resources__security-image-wrapper {
  text-align: center;
}

.page-resources__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-resources__faq-list {
  margin-top: 40px;
}

.page-resources__faq-item {
  background-color: #0A2342;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A2342;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question:hover {
  background-color: #1a3a5e;
}

.page-resources__faq-item-title {
  margin: 0;
  color: inherit;
}

.page-resources__faq-toggle {
  font-size: 28px;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #F2C144;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: #1a3a5e;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-resources__faq-answer p {
  margin-bottom: 15px;
  color: inherit;
}

.page-resources__faq-answer .page-resources__btn-secondary {
  margin-top: 10px;
}

.page-resources__grid-layout--responsible {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-resources__responsible-image-wrapper {
  text-align: center;
}

.page-resources__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-resources__responsible-content {
  padding-left: 30px;
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources__list-item {
  margin-bottom: 10px;
  color: inherit;
}

.page-resources__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-resources__cta-content {
  text-align: center;
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 42px;
  }

  .page-resources__section-title {
    font-size: 30px;
  }

  .page-resources__grid-layout--security,
  .page-resources__grid-layout--responsible {
    grid-template-columns: 1fr;
  }

  .page-resources__security-content,
  .page-resources__responsible-content {
    padding: 0;
  }

  .page-resources__security-image-wrapper,
  .page-resources__responsible-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources__hero-title {
    font-size: 36px;
  }

  .page-resources__hero-description {
    font-size: 18px;
  }

  .page-resources__section {
    padding: 40px 0;
  }

  .page-resources__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-resources__text-block,
  .page-resources__card-description,
  .page-resources__list-item {
    font-size: 16px;
  }

  /* Images responsiveness */
  .page-resources img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__hero-section,
  .page-resources__hero-image-wrapper,
  .page-resources__security-image-wrapper,
  .page-resources__responsible-image-wrapper,
  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Video responsiveness */
  .page-resources video,
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Button responsiveness */
  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources a[class*="button"],
  .page-resources 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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources__faq-question {
    font-size: 18px;
    padding: 15px;
  }

  .page-resources__faq-answer {
    padding: 15px;
  }
}