/* style/blog-responsible-playtime-tips.css */

/* Base styles for the page */
.page-blog-responsible-playtime-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background sections */
  background-color: #0A2342; /* Main dark background color from body */
}

/* Container for content sections */
.page-blog-responsible-playtime-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-responsible-playtime-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  background-color: #0A2342; /* Ensure dark background for contrast */
  color: #ffffff;
}

.page-blog-responsible-playtime-tips__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-responsible-playtime-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height to prevent image from being too dominant */
}

.page-blog-responsible-playtime-tips__hero-content {
  position: relative; /* Ensure content is in normal flow below image */
  z-index: 1;
  padding-top: 40px; /* Space between image and text */
  max-width: 800px;
  margin-top: -20px; /* Slightly overlap image to reduce whitespace if image is short */
}

.page-blog-responsible-playtime-tips__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
}

.page-blog-responsible-playtime-tips__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-responsible-playtime-tips__hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Section Styling */
.page-blog-responsible-playtime-tips__introduction-section,
.page-blog-responsible-playtime-tips__content-section,
.page-blog-responsible-playtime-tips__commitment-section {
  padding: 60px 0;
}

.page-blog-responsible-playtime-tips__light-bg {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-blog-responsible-playtime-tips__dark-bg {
  background-color: #0A2342; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-blog-responsible-playtime-tips__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-blog-responsible-playtime-tips__section-title strong {
  color: #FFD700;
}

.page-blog-responsible-playtime-tips__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-blog-responsible-playtime-tips__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* Buttons */
.page-blog-responsible-playtime-tips__btn-primary,
.page-blog-responsible-playtime-tips__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-responsible-playtime-tips__btn-primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

.page-blog-responsible-playtime-tips__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-blog-responsible-playtime-tips__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-blog-responsible-playtime-tips__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
}

.page-blog-responsible-playtime-tips__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-responsible-playtime-tips__faq-section {
  padding: 60px 0;
  background-color: #0A2342;
  color: #ffffff;
}

.page-blog-responsible-playtime-tips__faq-list {
  margin-top: 40px;
}

.page-blog-responsible-playtime-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-responsible-playtime-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-blog-responsible-playtime-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-blog-responsible-playtime-tips__faq-title {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.page-blog-responsible-playtime-tips__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-responsible-playtime-tips__faq-item.active .page-blog-responsible-playtime-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-responsible-playtime-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-blog-responsible-playtime-tips__faq-item.active .page-blog-responsible-playtime-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px;
}

.page-blog-responsible-playtime-tips__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-responsible-playtime-tips__container {
    padding: 20px 15px;
  }

  .page-blog-responsible-playtime-tips__hero-section {
    min-height: auto;
    padding: 10px 15px 40px;
  }

  .page-blog-responsible-playtime-tips__hero-content {
    padding-top: 20px;
    margin-top: 0;
  }

  .page-blog-responsible-playtime-tips__main-title {
    font-size: 2rem;
  }

  .page-blog-responsible-playtime-tips__hero-description {
    font-size: 1rem;
  }

  .page-blog-responsible-playtime-tips__hero-cta {
    flex-direction: column;
  }

  .page-blog-responsible-playtime-tips__btn-primary,
  .page-blog-responsible-playtime-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-responsible-playtime-tips__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-responsible-playtime-tips__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-blog-responsible-playtime-tips__text-block {
    font-size: 0.95rem;
  }

  .page-blog-responsible-playtime-tips__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-responsible-playtime-tips__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-responsible-playtime-tips__faq-answer {
    padding: 10px 20px 20px;
  }
}