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

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

.page-resources__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker gradient based on primary color */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold for emphasis */
  position: relative;
  z-index: 1;
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

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

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

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

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

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

.page-resources__text-content--light {
  color: #e0e0e0;
}

.page-resources__intro-content,
.page-resources__featured-articles,
.page-resources__all-resources,
.page-resources__responsible-gambling {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-resources__intro-content {
  background-color: #fff;
}

.page-resources__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__image--large {
  max-height: 450px;
  object-fit: cover;
}

.page-resources__image-caption {
  font-style: italic;
  color: #777;
  margin-top: 15px;
  font-size: 0.9em;
}

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

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

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

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

.page-resources__article-title {
  font-size: 1.5em;
  color: #003366;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-resources__article-excerpt {
  font-size: 1em;
  color: #555;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__article-card .page-resources__btn--secondary {
  display: inline-block;
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-resources__resource-list {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}

.page-resources__resource-item {
  background-color: #fff;
  border-left: 5px solid #003366;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.page-resources__resource-item:hover {
  transform: translateX(5px);
}

.page-resources__item-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

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

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

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

.page-resources__btn--secondary:hover {
  background-color: #002244;
  border-color: #002244;
}

.page-resources__btn--link {
  color: #003366;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
}

.page-resources__btn--link:hover {
  color: #FFD700;
}

.page-resources__cta-bottom {
  background-color: #003366;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-bottom .page-resources__text-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-resources__btn--accent {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
  margin: 0 10px;
}

.page-resources__btn--accent:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources__btn--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin: 0 10px;
}

.page-resources__btn--outline:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-resources__responsible-gambling {
  background-color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-resources__responsible-gambling .page-resources__text-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: #555;
}

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

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

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

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

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

  .page-resources__btn--accent,
  .page-resources__btn--outline {
    display: block;
    margin: 15px auto;
    width: fit-content;
  }
}

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

  .page-resources__hero {
    padding: 80px 0;
  }

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

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

  .page-resources__btn--accent,
  .page-resources__btn--outline {
    width: 90%;
    max-width: 280px;
  }
}