.page-resources {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-resources__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  white-space: nowrap;
}

.page-resources__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-resources__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.4);
}

.page-resources__button--secondary:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-resources__button--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources__button--tertiary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
}

.page-resources__articles-section,
.page-resources__faq-section,
.page-resources__cta-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources__articles-section {
  background-color: #0d0d0d;
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources__section-subtitle {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__article-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 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(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

.page-resources__faq-list {
  margin-top: 40px;
}

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources__faq-answer {
  color: #cccccc;
  font-size: 1.1em;
}

.page-resources__button--faq {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-section {
  text-align: center;
  background-color: #8B0000;
  background-image: linear-gradient(135deg, #8B0000 0%, #a00000 100%);
  padding: 80px 20px;
}

.page-resources__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-resources__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__floating-button--register {
  background-color: #FFD700;
  color: #8B0000;
}

.page-resources__floating-button--login {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__floating-button:hover {
  transform: scale(1.1);
}

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

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

  .page-resources__cta-title {
    font-size: 2.5em;
  }

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

  .page-resources__faq-question {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }

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

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

  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-resources__section-subtitle {
    font-size: 1em;
  }

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

  .page-resources__article-image {
    height: 200px;
  }

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

  .page-resources__article-summary {
    font-size: 0.95em;
  }

  .page-resources__faq-question {
    font-size: 1.2em;
  }

  .page-resources__faq-answer {
    font-size: 1em;
  }

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

  .page-resources__cta-description {
    font-size: 1.1em;
  }

  .page-resources__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .page-resources__floating-button {
    width: 50px;
    height: 50px;
    font-size: 0.9em;
  }

  .page-resources__container img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-resources__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}