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

/* Base styles for the page content, ensuring contrast with body background */
.page-blog-safe-play-guide {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Main sections styling */
.page-blog-safe-play-guide__hero-section,
.page-blog-safe-play-guide__video-section,
.page-blog-safe-play-guide__content-area,
.page-blog-safe-play-guide__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-safe-play-guide__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-safe-play-guide h3 {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-safe-play-guide p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-blog-safe-play-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  position: relative;
  overflow: hidden;
}

.page-blog-safe-play-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-blog-safe-play-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-blog-safe-play-guide__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-blog-safe-play-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.page-blog-safe-play-guide__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* CTA Button Styling */
.page-blog-safe-play-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;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-safe-play-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-blog-safe-play-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-blog-safe-play-guide__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Brighter green for contrast */
  border: 2px solid #2E7A4E; /* Border */
}

.page-blog-safe-play-guide__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border-color: #57E38D; /* Glow */
}

/* Video Section */
.page-blog-safe-play-guide__video-section {
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-safe-play-guide__video-title {
  font-size: 2rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-blog-safe-play-guide__video-container {
  width: 100%; /* Desktop width: 100% with max-width */
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 20px;
}

.page-blog-safe-play-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%; /* Ensure wrapper takes full width */
  max-width: 100%; /* Ensure wrapper takes full width */
  box-sizing: border-box;
}

.page-blog-safe-play-guide__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-blog-safe-play-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.page-blog-safe-play-guide__video-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Feature Cards (for security, responsible gambling, account protection) */
.page-blog-safe-play-guide__feature-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-safe-play-guide__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #1E3A2A; /* Divider */
}

.page-blog-safe-play-guide__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px #57E38D; /* Glow */
}

.page-blog-safe-play-guide__feature-icon {
  width: 100%; /* Ensure images are large */
  height: auto;
  max-width: 400px; /* Example max-width, ensure it's >200px */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-safe-play-guide__card-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.page-blog-safe-play-guide__text-block {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  border: 1px solid #1E3A2A; /* Divider */
}

/* CTA Section */
.page-blog-safe-play-guide__cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-blog-safe-play-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* FAQ Section */
.page-blog-safe-play-guide__faq-section {
  padding-top: 60px;
}

.page-blog-safe-play-guide__faq-list {
  margin-top: 30px;
}

.page-blog-safe-play-guide__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog-safe-play-guide__faq-item[open] {
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.3); /* Glow effect when open */
}

.page-blog-safe-play-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none; /* Remove default marker for details summary */
}

.page-blog-safe-play-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog-safe-play-guide__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-blog-safe-play-guide__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

.page-blog-safe-play-guide__faq-answer p {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-safe-play-guide__hero-section,
  .page-blog-safe-play-guide__video-section,
  .page-blog-safe-play-guide__content-area,
  .page-blog-safe-play-guide__cta-section {
    padding: 30px 15px;
  }

  .page-blog-safe-play-guide__section-title {
    font-size: 2rem;
  }

  .page-blog-safe-play-guide h3 {
    font-size: 1.4rem;
  }

  .page-blog-safe-play-guide__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-safe-play-guide__hero-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  /* General mobile text and spacing */
  .page-blog-safe-play-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-safe-play-guide__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-blog-safe-play-guide__video-section {
    padding-top: 10px !important;
  }

  .page-blog-safe-play-guide__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-blog-safe-play-guide h3 {
    font-size: 1.25rem;
  }

  .page-blog-safe-play-guide__hero-content {
    padding: 0 15px;
  }

  .page-blog-safe-play-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-safe-play-guide__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness */
  .page-blog-safe-play-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-safe-play-guide__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Video responsiveness */
  .page-blog-safe-play-guide video,
  .page-blog-safe-play-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-safe-play-guide__video-section,
  .page-blog-safe-play-guide__video-container,
  .page-blog-safe-play-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Card layout for mobile */
  .page-blog-safe-play-guide__feature-card-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-safe-play-guide__feature-card {
    padding: 20px;
  }

  .page-blog-safe-play-guide__text-block {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-blog-safe-play-guide__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog-safe-play-guide__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog-safe-play-guide__content-area {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}