.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #003366 0%, #004488 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:hero:online_betting,sports,casino,ok9aa,ok9]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFCC00;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources__content-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

.page-resources__text-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555;
}

.page-resources__sub-title {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid #FFCC00;
  padding-left: 15px;
}

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

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

.page-resources__image--left {
  float: left;
  margin-right: 25px;
  margin-bottom: 15px;
  max-width: 45%;
}

.page-resources__image--right {
  float: right;
  margin-left: 25px;
  margin-bottom: 15px;
  max-width: 45%;
}

.page-resources__text-block::after {
  content: '';
  display: table;
  clear: both;
}

.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;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
  margin: 10px 10px 10px 0;
}

.page-resources__btn--primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-resources__btn--primary:hover {
  background-color: #e6b800;
  color: #002244;
}

.page-resources__btn--secondary {
  background-color: #003366;
  color: #ffffff;
}

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

.page-resources__btn--tertiary {
  background-color: #666;
  color: #ffffff;
}

.page-resources__btn--tertiary:hover {
  background-color: #444;
  color: #FFCC00;
}

.page-resources__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__detail-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources__detail-item h3 {
  font-size: 1.4em;
  color: #003366;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-resources__detail-item h3 a {
  text-decoration: none;
  color: #003366;
}

.page-resources__detail-item h3 a:hover {
  color: #FFCC00;
}

.page-resources__detail-description {
  font-size: 1em;
  color: #666;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-resources__detail-item .page-resources__btn {
  margin: 0 20px 20px;
  text-align: center;
  align-self: flex-start;
}

.page-resources__cta-section {
  background-color: #003366;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #FFCC00;
  margin-bottom: 20px;
}

.page-resources__cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-buttons .page-resources__btn {
  margin: 0 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.3em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__sub-title {
    font-size: 1.6em;
  }
  .page-resources__image--left, .page-resources__image--right {
    float: none;
    margin: 20px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__sub-title {
    font-size: 1.4em;
  }
  .page-resources__text-block p {
    font-size: 1em;
  }
  .page-resources__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-resources__detail-list {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
  .page-resources__cta-text {
    font-size: 1.1em;
  }
  .page-resources__cta-buttons .page-resources__btn {
    display: block;
    width: fit-content;
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__sub-title {
    font-size: 1.2em;
  }
  .page-resources__btn {
    width: 100%;
    margin: 10px 0;
  }
  .page-resources__cta-buttons .page-resources__btn {
    width: 100%;
  }
}