/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E5E5E5; /* Light grey for general text on dark background */
  background-color: #1A202C; /* Main dark background */
  line-height: 1.6;
}

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #303A4D 100%); /* Dark gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  color: #B0B0B0; /* Lighter grey for description */
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold for primary action */
  color: #1A202C; /* Dark text on gold */
  border: 2px solid #FFD700;
}

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

.page-resources__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary action */
  border: 2px solid #FFD700;
}

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

.page-resources__hero-image-wrapper {
  margin-top: 50px;
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
}

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

.page-resources__introduction-section,
.page-resources__categories-section,
.page-resources__featured-articles,
.page-resources__detail-pages,
.page-resources__deep-content {
  padding: 80px 0;
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
  position: relative;
}

.page-resources__section-title .highlight {
  color: #fff;
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 20px auto 0;
  border-radius: 2px;
}

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

.page-resources__text-content .highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-resources__categories-section {
  background-color: #262D3D; /* Slightly lighter dark background */
}

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

.page-resources__category-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  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;
  align-items: center;
  justify-content: center;
}

.page-resources__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__category-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-resources__category-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources__category-description {
  font-size: 1em;
  color: #B0B0B0;
}

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

.page-resources__article-card {
  background-color: #262D3D;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
}

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

.page-resources__article-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

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

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

.page-resources__article-description {
  font-size: 0.95em;
  color: #B0B0B0;
  padding: 0 20px 20px;
}

.page-resources__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 0 20px 20px;
}

.page-resources__detail-pages {
  background-color: #1A202C;
}

.page-resources__detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-resources__detail-item {
  background-color: #262D3D;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.page-resources__detail-item:hover {
  background-color: #303A4D;
}

.page-resources__detail-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources__detail-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__detail-title a:hover {
  color: #fff;
}

.page-resources__detail-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 15px;
}

.page-resources__deep-content {
  padding: 80px 0 100px;
  background-color: #262D3D;
}

.page-resources__sub-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources__sub-title .highlight {
  color: #fff;
}

.page-resources__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__sub-title {
    font-size: 1.8em;
  }
  .page-resources__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section,
  .page-resources__introduction-section,
  .page-resources__categories-section,
  .page-resources__featured-articles,
  .page-resources__detail-pages,
  .page-resources__deep-content {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-resources__category-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__btn--small {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  .page-resources__detail-item {
    padding: 20px;
  }
  .page-resources__detail-title {
    font-size: 1.3em;
  }
  .page-resources__sub-title {
    font-size: 1.5em;
    margin-top: 40px;
  }
  .page-resources__text-content {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-section {
    padding: 80px 0 40px;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__sub-title {
    font-size: 1.3em;
  }
  .page-resources__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-resources__hero-actions {
    margin-top: 20px;
  }
  .page-resources__hero-image-wrapper {
    margin-top: 30px;
  }
}