/* style/blog-safe-gambling-guide.css */

/* Custom Colors */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-blog-safe-gambling-guide {
  background-color: var(--page-bg-color); /* Dark background */
  color: var(--text-main-color); /* Light text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-safe-gambling-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top offset, use small padding for visual separation */
  text-align: center;
  overflow: hidden;
}

.page-blog-safe-gambling-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for large screens */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-blog-safe-gambling-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-blog-safe-gambling-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 90%;
  color: var(--text-main-color);
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-safe-gambling-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-safe-gambling-guide__intro-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

.page-blog-safe-gambling-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-blog-safe-gambling-guide__cta-button--primary {
  background: var(--button-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-safe-gambling-guide__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-safe-gambling-guide__cta-button--secondary {
  background-color: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  margin-left: 15px;
}

.page-blog-safe-gambling-guide__cta-button--secondary:hover {
  background-color: var(--glow-color);
  color: var(--page-bg-color);
}

.page-blog-safe-gambling-guide__content-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

.page-blog-safe-gambling-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-safe-gambling-guide__section-title {
  font-size: 2.2rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-safe-gambling-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--glow-color);
  border-radius: 2px;
}

.page-blog-safe-gambling-guide__paragraph {
  font-size: 1.05rem;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-blog-safe-gambling-guide__image-block {
  margin: 30px auto;
  text-align: center;
  max-width: 800px; /* Constrain content images */
}

.page-blog-safe-gambling-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  margin: 0 auto;
}

.page-blog-safe-gambling-guide__sub-title {
  font-size: 1.6rem;
  color: var(--glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--gold-color);
  padding-left: 15px;
}

.page-blog-safe-gambling-guide__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-safe-gambling-guide__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary-color);
  font-size: 1.05rem;
}

.page-blog-safe-gambling-guide__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow-color);
  font-weight: 700;
}

.page-blog-safe-gambling-guide__faq-section {
  background-color: var(--card-bg-color);
  padding: 60px 0;
}

.page-blog-safe-gambling-guide__faq-list {
  margin-top: 40px;
}

.page-blog-safe-gambling-guide__faq-item {
  background-color: var(--page-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-blog-safe-gambling-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
}

.page-blog-safe-gambling-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-safe-gambling-guide__faq-question::marker {
  display: none;
}

.page-blog-safe-gambling-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow-color);
}

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

.page-blog-safe-gambling-guide__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.7;
}

.page-blog-safe-gambling-guide__cta-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
  text-align: center;
}

.page-blog-safe-gambling-guide__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-safe-gambling-guide__hero-content {
    max-width: 80%;
  }
  .page-blog-safe-gambling-guide__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-blog-safe-gambling-guide__intro-text {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-blog-safe-gambling-guide__section-title {
    font-size: 2rem;
  }
  .page-blog-safe-gambling-guide__sub-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-blog-safe-gambling-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog-safe-gambling-guide__hero-image-wrapper {
    max-height: 400px;
  }
  .page-blog-safe-gambling-guide__hero-content {
    width: 90%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: relative; /* Adjust for better flow on mobile */
    background-color: rgba(8, 22, 15, 0.85); /* Dark overlay for text readability */
    padding: 20px 15px;
    border-radius: 10px;
  }
  .page-blog-safe-gambling-guide__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-blog-safe-gambling-guide__intro-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
  .page-blog-safe-gambling-guide__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 0 10px 0 !important;
  }
  .page-blog-safe-gambling-guide__cta-button--secondary {
    margin-left: 0 !important;
  }
  .page-blog-safe-gambling-guide__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-blog-safe-gambling-guide__content-section,
  .page-blog-safe-gambling-guide__faq-section,
  .page-blog-safe-gambling-guide__cta-section {
    padding: 40px 0;
  }
  .page-blog-safe-gambling-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-blog-safe-gambling-guide__section-title {
    font-size: 1.8rem;
  }
  .page-blog-safe-gambling-guide__sub-title {
    font-size: 1.2rem;
  }
  .page-blog-safe-gambling-guide__paragraph,
  .page-blog-safe-gambling-guide__list-item,
  .page-blog-safe-gambling-guide__faq-question,
  .page-blog-safe-gambling-guide__faq-answer {
    font-size: 1rem;
  }
  /* Mobile image responsiveness */
  .page-blog-safe-gambling-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-safe-gambling-guide__image-block,
  .page-blog-safe-gambling-guide__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}