:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B; /* Body background from shared.css */
}

.page-blog-safe-gambling-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--deep-navy-color);
}

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

/* Hero Section */
.page-blog-safe-gambling-tips__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--primary-color);
}

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

.page-blog-safe-gambling-tips__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image for visual appeal */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text clarity */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-safe-gambling-tips__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-blog-safe-gambling-tips__description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-blog-safe-gambling-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-safe-gambling-tips__btn-primary,
.page-blog-safe-gambling-tips__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-safe-gambling-tips__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-safe-gambling-tips__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-blog-safe-gambling-tips__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-safe-gambling-tips__btn-secondary:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--glow-color);
}

/* General Content Sections */
.page-blog-safe-gambling-tips__content-section,
.page-blog-safe-gambling-tips__features-section,
.page-blog-safe-gambling-tips__tools-section,
.page-blog-safe-gambling-tips__support-section,
.page-blog-safe-gambling-tips__faq-section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-safe-gambling-tips__light-bg {
  background-color: var(--text-main);
  color: #333333; /* Dark text for light background */
}

.page-blog-safe-gambling-tips__dark-section {
  background-color: var(--primary-color);
  color: var(--text-main);
}

.page-blog-safe-gambling-tips__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--gold-color);
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.4);
}

.page-blog-safe-gambling-tips__section-title--white {
  color: var(--text-main);
  text-shadow: none;
}

.page-blog-safe-gambling-tips__content-section p,
.page-blog-safe-gambling-tips__tools-section p,
.page-blog-safe-gambling-tips__support-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 17px;
  line-height: 1.7;
}

/* Feature Grid */
.page-blog-safe-gambling-tips__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-safe-gambling-tips__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-blog-safe-gambling-tips__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid var(--gold-color);
}

.page-blog-safe-gambling-tips__feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-blog-safe-gambling-tips__feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

/* Tool List */
.page-blog-safe-gambling-tips__tool-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 30px auto 40px;
  text-align: left;
}

.page-blog-safe-gambling-tips__tool-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 17px;
  color: var(--text-main);
  border-left: 5px solid var(--gold-color);
}

.page-blog-safe-gambling-tips__tool-list li strong {
  color: var(--gold-color);
}

/* Support Grid */
.page-blog-safe-gambling-tips__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-safe-gambling-tips__support-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-blog-safe-gambling-tips__support-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-blog-safe-gambling-tips__support-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* FAQ Section */
.page-blog-safe-gambling-tips__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

details.page-blog-safe-gambling-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

details.page-blog-safe-gambling-tips__faq-item summary.page-blog-safe-gambling-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}

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

details.page-blog-safe-gambling-tips__faq-item summary.page-blog-safe-gambling-tips__faq-question:hover {
  background: var(--primary-color);
}

.page-blog-safe-gambling-tips__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gold-color);
}

.page-blog-safe-gambling-tips__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog-safe-gambling-tips__faq-item .page-blog-safe-gambling-tips__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-navy-color);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Image & Button Global Responsive Rules */
.page-blog-safe-gambling-tips img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-safe-gambling-tips__cta-button,
.page-blog-safe-gambling-tips__btn-primary,
.page-blog-safe-gambling-tips__btn-secondary,
.page-blog-safe-gambling-tips a[class*="button"],
.page-blog-safe-gambling-tips a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-safe-gambling-tips__cta-buttons,
.page-blog-safe-gambling-tips__button-group,
.page-blog-safe-gambling-tips__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-blog-safe-gambling-tips__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-blog-safe-gambling-tips__hero-section {
    padding-top: 10px !important;
  }

  .page-blog-safe-gambling-tips__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 20px;
  }

  .page-blog-safe-gambling-tips__main-title {
    font-size: 28px;
  }

  .page-blog-safe-gambling-tips__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-blog-safe-gambling-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-safe-gambling-tips__btn-primary,
  .page-blog-safe-gambling-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    box-sizing: border-box !important;
  }

  /* General Content Sections */
  .page-blog-safe-gambling-tips__content-section,
  .page-blog-safe-gambling-tips__features-section,
  .page-blog-safe-gambling-tips__tools-section,
  .page-blog-safe-gambling-tips__support-section,
  .page-blog-safe-gambling-tips__faq-section {
    padding: 40px 0;
  }

  .page-blog-safe-gambling-tips__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-blog-safe-gambling-tips__content-section p,
  .page-blog-safe-gambling-tips__tools-section p,
  .page-blog-safe-gambling-tips__support-section p {
    font-size: 15px;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  /* Feature Grid */
  .page-blog-safe-gambling-tips__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-safe-gambling-tips__feature-card {
    padding: 25px;
  }

  .page-blog-safe-gambling-tips__feature-icon {
    max-width: 200px;
  }

  .page-blog-safe-gambling-tips__feature-title {
    font-size: 20px;
  }

  .page-blog-safe-gambling-tips__feature-card p {
    font-size: 15px;
  }

  /* Tool List */
  .page-blog-safe-gambling-tips__tool-list {
    margin: 20px auto 30px;
    padding: 0 10px;
  }

  .page-blog-safe-gambling-tips__tool-list li {
    font-size: 15px;
    padding: 15px;
  }

  /* Support Grid */
  .page-blog-safe-gambling-tips__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-safe-gambling-tips__support-card {
    padding: 25px;
  }

  .page-blog-safe-gambling-tips__support-title {
    font-size: 22px;
  }

  .page-blog-safe-gambling-tips__support-card p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* FAQ Section */
  .page-blog-safe-gambling-tips__faq-list {
    margin: 30px auto 0;
  }

  details.page-blog-safe-gambling-tips__faq-item summary.page-blog-safe-gambling-tips__faq-question {
    padding: 15px 20px;
  }

  .page-blog-safe-gambling-tips__faq-qtext {
    font-size: 16px;
  }

  .page-blog-safe-gambling-tips__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-blog-safe-gambling-tips__faq-item .page-blog-safe-gambling-tips__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  /* All images */
  .page-blog-safe-gambling-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All containers that might hold images or text and cause overflow */
  .page-blog-safe-gambling-tips__hero-section,
  .page-blog-safe-gambling-tips__hero-content,
  .page-blog-safe-gambling-tips__content-section,
  .page-blog-safe-gambling-tips__features-section,
  .page-blog-safe-gambling-tips__tools-section,
  .page-blog-safe-gambling-tips__support-section,
  .page-blog-safe-gambling-tips__faq-section,
  .page-blog-safe-gambling-tips__container,
  .page-blog-safe-gambling-tips__feature-card,
  .page-blog-safe-gambling-tips__support-card,
  details.page-blog-safe-gambling-tips__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-safe-gambling-tips__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-safe-gambling-tips__hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-blog-safe-gambling-tips__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
}