.page-resources__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-resources__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-resources__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources__btn-secondary:hover {
  background: #e0e0e0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: #000000;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-resources__info-section,
.page-resources__betting-section,
.page-resources__benefits-section {
  padding: 80px 0;
}

.page-resources__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-resources__dark-section .page-resources__section-title,
.page-resources__dark-section .page-resources__section-description,
.page-resources__dark-section .page-resources__subtitle,
.page-resources__dark-section p,
.page-resources__dark-section li,
.page-resources__dark-section a {
  color: #ffffff;
}

.page-resources__dark-section .page-resources__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources__dark-section .page-resources__card-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-resources__dark-section .page-resources__card-link:hover {
  color: #f0f0f0;
}

.page-resources__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-resources__light-bg .page-resources__section-title {
  color: #000000;
}

.page-resources__light-bg .page-resources__section-description {
  color: #333333;
}

.page-resources__light-bg p,
.page-resources__light-bg li {
  color: #333333;
}

.page-resources__light-bg a {
  color: #26A9E0;
}

.page-resources__light-bg a:hover {
  color: #1a7bbd;
}

.page-resources__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-resources__grid-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.page-resources__subtitle {
  font-size: 1.8em;
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000000;
}

.page-resources__dark-section .page-resources__subtitle {
  color: #ffffff;
}

.page-resources__text-block {
  margin-top: 40px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-resources__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources__list li {
  margin-bottom: 10px;
}

.page-resources__list-ordered {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources__list-ordered li {
  margin-bottom: 10px;
}

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

.page-resources__card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000000;
}

.page-resources__card-title a {
  color: #000000;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  color: #26A9E0;
}

.page-resources__card p {
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-resources__card-link:hover {
  color: #1a7bbd;
}

.page-resources__cta-section {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-resources__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-resources__feature-item .page-resources__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000000;
}

.page-resources__feature-item p {
  line-height: 1.6;
  color: #333333;
}

.page-resources__faq-section {
  padding: 80px 0;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.3s ease;
}

.page-resources__faq-question:hover {
  color: #f0f0f0;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px;
}

.page-resources__faq-answer p {
  padding-bottom: 15px;
  line-height: 1.6;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__subtitle {
    font-size: 1.5em;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-resources__grid-item:first-child {
    order: 2;
  }
  .page-resources__grid-item:last-child {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources__container {
    padding: 0 15px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-resources__info-section,
  .page-resources__betting-section,
  .page-resources__benefits-section,
  .page-resources__other-resources-section,
  .page-resources__faq-section {
    padding: 40px 0;
  }
  .page-resources__grid {
    gap: 30px;
  }
  .page-resources__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__card-grid,
  .page-resources__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources__card,
  .page-resources__feature-item {
    padding: 25px;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
  }
  /* Ensure all image containers prevent overflow */
  .page-resources__grid-item,
  .page-resources__card,
  .page-resources__feature-item,
  .page-resources__hero-section,
  .page-resources__info-section,
  .page-resources__guide-section,
  .page-resources__betting-section,
  .page-resources__other-resources-section,
  .page-resources__benefits-section,
  .page-resources__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources__text-block {
    margin-top: 20px;
  }
  .page-resources__faq-answer {
    padding: 0 10px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__subtitle {
    font-size: 1.3em;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__feature-item .page-resources__feature-title {
    font-size: 1.3em;
  }
}