/* style/blog-online-gambling-safety-guide.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-online-gambling-safety-guide {
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: #0A0A0A; /* Background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Container for content sections, centering and limiting width */
.page-blog-online-gambling-safety-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-blog-online-gambling-safety-guide__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-blog-online-gambling-safety-guide__section:last-of-type {
  border-bottom: none;
}

/* Hero Section */
.page-blog-online-gambling-safety-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-blog-online-gambling-safety-guide__hero-image {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-blog-online-gambling-safety-guide__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-top: -30px; /* Adjust to bring content slightly closer to image */
}

.page-blog-online-gambling-safety-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size with clamp */
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-online-gambling-safety-guide__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* General Titles */
.page-blog-online-gambling-safety-guide__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-blog-online-gambling-safety-guide__subsection-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary color for subsections */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Paragraphs and Lists */
.page-blog-online-gambling-safety-guide p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-blog-online-gambling-safety-guide ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-blog-online-gambling-safety-guide li {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-blog-online-gambling-safety-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-blog-online-gambling-safety-guide__btn-primary,
.page-blog-online-gambling-safety-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-online-gambling-safety-guide__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff; /* White text for primary button */
  border: none;
  margin-right: 15px;
}

.page-blog-online-gambling-safety-guide__btn-primary:hover {
  background: linear-gradient(180deg, #FFE87A 0%, #ECAE2D 100%);
  box-shadow: 0 0 15px #FFD36B; /* Glow color on hover */
}

.page-blog-online-gambling-safety-guide__btn-secondary {
  background: #111111; /* Card BG for secondary button */
  color: #F2C14E; /* Main color for secondary button text */
  border: 2px solid #F2C14E; /* Main color for border */
}

.page-blog-online-gambling-safety-guide__btn-secondary:hover {
  background: #F2C14E; /* Main color on hover */
  color: #111111; /* Dark text on hover */
  box-shadow: 0 0 15px #FFD36B; /* Glow color on hover */
}

.page-blog-online-gambling-safety-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* FAQ Section */
.page-blog-online-gambling-safety-guide__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog-online-gambling-safety-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-online-gambling-safety-guide__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-online-gambling-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #FFF6D6; /* Text Main */
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-blog-online-gambling-safety-guide__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Slight hover effect with main color */
}

.page-blog-online-gambling-safety-guide__faq-question h3 {
  margin: 0;
  color: #FFF6D6; /* Ensure h3 inside question is light */
}

.page-blog-online-gambling-safety-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #F2C14E; /* Main color */
  transition: transform 0.3s ease;
}

.page-blog-online-gambling-safety-guide__faq-item.active .page-blog-online-gambling-safety-guide__faq-toggle {
  transform: rotate(0deg); /* No rotation for minus sign */
}

.page-blog-online-gambling-safety-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-blog-online-gambling-safety-guide__faq-item.active .page-blog-online-gambling-safety-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value for content */
  padding: 20px;
  padding-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-online-gambling-safety-guide {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-blog-online-gambling-safety-guide__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-blog-online-gambling-safety-guide__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-blog-online-gambling-safety-guide__intro-text {
    font-size: 1rem;
  }

  .page-blog-online-gambling-safety-guide__section {
    padding: 40px 0;
  }

  .page-blog-online-gambling-safety-guide__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-blog-online-gambling-safety-guide__subsection-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-online-gambling-safety-guide__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .page-blog-online-gambling-safety-guide__btn-primary,
  .page-blog-online-gambling-safety-guide__btn-secondary {
    width: calc(100% - 30px) !important; /* Full width with padding */
    max-width: 100% !important;
    margin-right: 0;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Images responsive on mobile */
  .page-blog-online-gambling-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-online-gambling-safety-guide__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-online-gambling-safety-guide__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog-online-gambling-safety-guide__faq-answer {
    padding: 0 15px;
  }

  .page-blog-online-gambling-safety-guide__faq-item.active .page-blog-online-gambling-safety-guide__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}