/* style/resources.css */
.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #2A2E43; /* Dark blue text on light background */
  background-color: #f8f8f8;
}

.page-resources .highlight {
  color: #FFD700;
}

.page-resources .keyword {
  font-weight: bold;
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #2A2E43 0%, #4a506e 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

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

.page-resources__hero > .page-resources__container {
  position: relative;
  z-index: 1;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #2A2E43;
  text-align: center;
  margin-bottom: 40px;
  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: #FFD700;
  border-radius: 2px;
}

.page-resources__intro, .page-resources__categories, .page-resources__detail-list, .page-resources__cta-section {
  padding: 80px 0;
}

.page-resources__intro {
  background-color: #ffffff;
}

.page-resources__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #4a4a4a;
}

.page-resources__categories {
  background-color: #f2f2f2;
}

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

.page-resources__category-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources__category-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources__category-title {
  font-size: 1.5em;
  color: #2A2E43;
  margin-bottom: 15px;
}

.page-resources__category-desc {
  color: #6a6a6a;
  font-size: 0.95em;
}

.page-resources__detail-list {
  background-color: #ffffff;
}

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

.page-resources__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 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__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-resources__article-title {
  font-size: 1.4em;
  color: #2A2E43;
  padding: 20px 20px 10px;
  margin-bottom: 0;
}

.page-resources__article-title a {
  color: #2A2E43;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #FFD700;
}

.page-resources__article-description {
  color: #6a6a6a;
  font-size: 0.95em;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.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;
  text-align: center;
  white-space: nowrap;
  margin: 0 10px 20px 20px;
}

.page-resources__btn--primary {
  background-color: #FFD700;
  color: #2A2E43;
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #2A2E43;
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #2A2E43;
  border: 2px solid #FFD700;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #2A2E43;
}

.page-resources__cta-section {
  background-color: #2A2E43;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

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

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

.page-resources__cta-section .page-resources__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-resources__cta-buttons .page-resources__btn--primary {
  background-color: #FFD700;
  color: #2A2E43;
  border-color: #FFD700;
}

.page-resources__cta-buttons .page-resources__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources__cta-buttons .page-resources__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources__cta-buttons .page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #2A2E43;
}

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

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

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

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

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

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

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

  .page-resources__intro, .page-resources__categories, .page-resources__detail-list, .page-resources__cta-section {
    padding: 60px 0;
  }

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

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

  .page-resources__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-resources__btn {
    width: 80%;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

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

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

  .page-resources__intro, .page-resources__categories, .page-resources__detail-list, .page-resources__cta-section {
    padding: 40px 0;
  }

  .page-resources__btn {
    width: 90%;
    padding: 10px 20px;
  }
}