.page-resources {
  --primary-color: #0A192F;
  --accent-color: #FFD700;
  --text-light: #F5F5F5;
  --text-dark: #0A192F;
  --background-dark: #0A192F;
  --background-light: #F0F2F5;
  --button-hover-dark: #071221;
  --button-hover-light: #e6c200;
}

.page-resources__hero {
  background: linear-gradient(135deg, var(--primary-color), #2a3b52);
  color: var(--text-light);
  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,dark,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: 700;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
}

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

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

.page-resources__section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources__section--dark {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
}

.page-resources__section--dark .page-resources__section-title {
  color: var(--accent-color);
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-resources__section--dark .page-resources__section-title::after {
  background-color: var(--text-light);
}

.page-resources__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

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

.page-resources__image--fullwidth {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__image--medium {
  max-width: 700px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__grid-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__section--dark .page-resources__grid-item {
  background-color: #1a2c47;
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__grid-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
}

.page-resources__grid-item h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources__section--dark .page-resources__grid-item h3 {
  color: var(--accent-color);
}

.page-resources__grid-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
}

.page-resources__section--dark .page-resources__grid-item p {
  color: var(--text-light);
}

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
}

.page-resources__btn--primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 2px solid var(--accent-color);
}

.page-resources__btn--primary:hover {
  background-color: var(--button-hover-light);
  border-color: var(--button-hover-light);
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: var(--primary-color);
  color: var(--accent-color);
  border: 2px solid var(--primary-color);
}

.page-resources__btn--secondary:hover {
  background-color: var(--button-hover-dark);
  border-color: var(--button-hover-dark);
  transform: translateY(-2px);
}

.page-resources__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
  margin-top: 15px;
}

.page-resources__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources__cta-bottom {
  background: linear-gradient(45deg, var(--primary-color), #2a3b52);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 3em;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.page-resources__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-resources__section--detail-pages {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-resources__detail-item {
  background-color: var(--text-light);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__detail-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-resources__detail-item h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__detail-item h3 a:hover {
  color: var(--accent-color);
}

.page-resources__detail-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources__detail-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section {
    padding: 60px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__text {
    font-size: 1em;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__detail-list {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__text {
    font-size: 0.9em;
  }
  .page-resources__btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
}