/* style/resources.css */
.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for main text on dark background */
  background-color: #1A2A3A; /* Main brand dark color */
}

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

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

.page-resources__section:nth-child(even) {
  background-color: #2A3B4C; /* Slightly lighter dark for contrast */
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Accent gold color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #CCCCCC;
}

.page-resources__hero {
  background: linear-gradient(135deg, #1A2A3A 0%, #3a506b 100%); /* Gradient with brand colors */
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-resources__hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) blur(5px);
  transform: scale(1.1);
}

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

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A2A3A; /* Dark text on gold */
}

.page-resources__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
}

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

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

.page-resources__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFD700;
  color: #1A2A3A;
}

.page-resources__btn--small:hover {
  background-color: #E6C200;
}

.page-resources__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-resources__feature-card,
.page-resources__guide-card,
.page-resources__news-card {
  background-color: #1A2A3A; /* Dark background for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources__feature-icon,
.page-resources__guide-image,
.page-resources__news-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid #FFD700;
}

.page-resources__feature-card--full-width {
  grid-column: 1 / -1; /* Spans full width in a grid */
}

.page-resources__feature-title,
.page-resources__guide-title,
.page-resources__news-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__feature-text,
.page-resources__guide-text,
.page-resources__news-text {
  font-size: 1em;
  color: #E0E0E0;
  flex-grow: 1;
}

.page-resources__detail-articles .page-resources__articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-resources__article-item {
  background-color: #1A2A3A;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

.page-resources__article-title a:hover {
  color: #E6C200;
  text-decoration: underline;
}

.page-resources__article-description {
  font-size: 0.95em;
  color: #CCCCCC;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__cta {
  background: linear-gradient(135deg, #1A2A3A 0%, #3a506b 100%);
  text-align: center;
  padding: 80px 0;
}

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

.page-resources__cta .page-resources__section-intro {
  color: #E0E0E0;
  margin-bottom: 50px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .page-resources__grid--3-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__grid--2-col,
  .page-resources__grid--3-col,
  .page-resources__detail-articles .page-resources__articles-list {
    grid-template-columns: 1fr;
  }
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__hero-actions,
  .page-resources__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__btn {
    width: 90%;
  }
}