/* style/resources-safe-betting-guide.css */

.page-resources-safe-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0a0a0a is dark, so use light text */
  background-color: #0a0a0a;
}

.page-resources-safe-betting-guide__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-resources-safe-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-resources-safe-betting-guide__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-resources-safe-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-resources-safe-betting-guide__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
}

.page-resources-safe-betting-guide__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-resources-safe-betting-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 1;
}

.page-resources-safe-betting-guide__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-safe-betting-guide__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-safe-betting-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-safe-betting-guide__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-safe-betting-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-safe-betting-guide__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-resources-safe-betting-guide__card {
  background: #f9f9f9; /* Slightly off-white for cards */
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-resources-safe-betting-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-resources-safe-betting-guide__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-safe-betting-guide__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-safe-betting-guide__inline-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-safe-betting-guide__inline-link:hover {
  text-decoration: underline;
}

/* FAQ Styles */
.page-resources-safe-betting-guide__faq-list {
  margin-top: 30px;
}

.page-resources-safe-betting-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-safe-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-resources-safe-betting-guide__faq-question:hover {
  background-color: #e5e5e5;
}

.page-resources-safe-betting-guide__faq-item[open] .page-resources-safe-betting-guide__faq-question {
  background-color: #e5e5e5;
}

.page-resources-safe-betting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-safe-betting-guide__faq-item[open] .page-resources-safe-betting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-safe-betting-guide__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-resources-safe-betting-guide__faq-answer p {
  margin-bottom: 0;
}

.page-resources-safe-betting-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-safe-betting-guide__faq-item summary {
  list-style: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-safe-betting-guide__main-title {
    font-size: 2.8em;
  }
  .page-resources-safe-betting-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-safe-betting-guide__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-safe-betting-guide__main-title {
    font-size: 2.2em;
  }
  .page-resources-safe-betting-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-safe-betting-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-safe-betting-guide__content-area {
    padding: 30px 15px;
    margin-top: -30px;
  }
  .page-resources-safe-betting-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-safe-betting-guide__paragraph,
  .page-resources-safe-betting-guide__list-item,
  .page-resources-safe-betting-guide__card-text {
    font-size: 0.95em;
  }
  .page-resources-safe-betting-guide__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-safe-betting-guide__grid-container {
    grid-template-columns: 1fr;
  }
  .page-resources-safe-betting-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-resources-safe-betting-guide__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-resources-safe-betting-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-safe-betting-guide__hero-section .page-resources-safe-betting-guide__container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-resources-safe-betting-guide__main-title {
    font-size: 1.8em;
  }
  .page-resources-safe-betting-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-safe-betting-guide__cta-button {
    font-size: 0.9em;
  }
}