/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background for overall page */
}

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

.page-resources__highlight {
  color: #007bff;
  font-weight: bold;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

.page-resources__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-resources__btn--primary {
  background-color: #007bff;
  color: #fff;
}

.page-resources__btn--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: #ffc107;
  color: #333; /* Dark text on light background for contrast */
}

.page-resources__btn--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-resources__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-resources__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #4da3ff 100%); /* Lighter blue for contrast */
  color: #fff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern,subtle]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 1;
}

.page-resources__hero-section .page-resources__container {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.page-resources__hero-content {
  flex: 1;
  text-align: left;
}

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

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources__hero-actions .page-resources__btn {
  margin-right: 15px;
}

.page-resources__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-resources__intro-section {
  padding: 60px 0;
  background-color: #fff;
}

.page-resources__intro-section .page-resources__content-image {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Article List Section */
.page-resources__article-list-section {
  padding: 60px 0;
  background-color: #f0f4f8;
}

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

.page-resources__resource-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-resources__card-title {
  font-size: 1.4em;
  color: #007bff;
  padding: 15px 20px 10px;
  margin-bottom: 0;
}

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

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

.page-resources__card-description {
  font-size: 0.95em;
  color: #555;
  padding: 0 20px 15px;
  flex-grow: 1;
}

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

/* Tips and Strategies Section */
.page-resources__tips-strategies-section {
  padding: 60px 0;
  background-color: #fff;
}

.page-resources__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-resources__list li {
  background-color: #e9f7ff; /* Lighter blue for list items */
  border-left: 5px solid #007bff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources__list li strong {
  color: #0056b3;
}

.page-resources__tips-strategies-section .page-resources__content-image {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 60px 0;
  background-color: #f0f4f8;
}

.page-resources__accordion {
  margin-top: 30px;
}

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

.page-resources__accordion-header {
  width: 100%;
  background-color: #007bff;
  color: #fff;
  padding: 18px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-resources__accordion-header:hover {
  background-color: #0056b3;
}

.page-resources__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources__accordion-content {
  padding: 0 25px;
  background-color: #fdfdfd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources__accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #444;
}

.page-resources__accordion-header.active + .page-resources__accordion-content {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px;
}

.page-resources__faq-section .page-resources__content-image {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.page-resources__cta-section {
  background-color: #007bff;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-section .page-resources__section-title {
  color: #ffc107;
}

.page-resources__cta-section .page-resources__section-title::after {
  background-color: #fff;
}

.page-resources__cta-section .page-resources__paragraph {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.page-resources__responsibility {
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-section .page-resources__container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-resources__hero-content {
    margin-top: 40px;
  }

  .page-resources__hero-actions .page-resources__btn {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .page-resources__hero-title {
    font-size: 2.8em;
  }

  .page-resources__hero-description {
    font-size: 1.1em;
  }

  .page-resources__section-title {
    font-size: 2em;
  }

  .page-resources__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__card-title {
    font-size: 1.2em;
  }

  .page-resources__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources__accordion-content p {
    padding: 10px 0;
  }

  .page-resources__btn--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}

@media (max-width: 576px) {
  .page-resources__container {
    padding: 0 15px;
  }

  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__hero-description {
    font-size: 0.95em;
  }

  .page-resources__section-title {
    font-size: 1.5em;
  }

  .page-resources__grid {
    grid-template-columns: 1fr;
  }

  .page-resources__btn {
    width: 100%;
    margin-right: 0 !important;
  }

  .page-resources__hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}