/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #F8F8F8; /* Light text for dark background */
  background-color: #1A2035; /* Main dark background */
}

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #1A2035 0%, #3a4a75 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero title */
  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,patterns]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

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

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

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F8F8F8;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-resources__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__intro-section {
  padding: 60px 0;
  background-color: #1A2035;
}

.page-resources__articles-section {
  padding: 80px 0;
  background-color: #0d1222;
}

.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: #2a344d; /* Slightly lighter dark blue for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700; /* Gold accent */
}

.page-resources__article-card .page-resources__article-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for article titles */
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.page-resources__article-card .page-resources__article-title a {
    color: inherit;
    text-decoration: none;
}

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

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

.page-resources__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
}

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

.page-resources__btn--primary:hover {
  background-color: #e6c200; /* Darker gold on hover */
  color: #0d1222;
}

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

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

.page-resources__cta-section {
  background-color: #1A2035;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-section .page-resources__text {
    margin-bottom: 30px;
}

.page-resources__image-full {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-resources__article-card .page-resources__article-title {
    font-size: 1.3em;
  }

  .page-resources__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}

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

  .page-resources__hero-section,
  .page-resources__intro-section,
  .page-resources__articles-section,
  .page-resources__cta-section {
    padding: 50px 0;
  }

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