.page-blog-safe-betting-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  background-color: var(--bg-color-main, #08160F); /* Dark background */
}

/* Hero Section */
.page-blog-safe-betting-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure no overflow from hero image */
}

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

.page-blog-safe-betting-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-blog-safe-betting-tips__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-blog-safe-betting-tips__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive H1 font size */
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-safe-betting-tips__subtitle {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

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

.page-blog-safe-betting-tips__btn-primary,
.page-blog-safe-betting-tips__btn-secondary,
.page-blog-safe-betting-tips__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-blog-safe-betting-tips__btn-primary,
.page-blog-safe-betting-tips__cta-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-blog-safe-betting-tips__btn-primary:hover,
.page-blog-safe-betting-tips__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog-safe-betting-tips__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-blog-safe-betting-tips__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Semi-transparent border color */
  transform: translateY(-2px);
}

/* Content Area */
.page-blog-safe-betting-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-blog-safe-betting-tips__dark-bg {
  background-color: var(--bg-color-main, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-blog-safe-betting-tips__dark-section {
  background-color: var(--card-bg, #11271B); /* Use card background for dark section */
  color: var(--text-main, #F2FFF6);
}

.page-blog-safe-betting-tips__light-bg {
  background-color: #f8f8f8; /* A light background for contrast */
  color: var(--text-main-dark, #333333); /* Dark text for light background */
}

.page-blog-safe-betting-tips__section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-blog-safe-betting-tips__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6); /* Default for dark background */
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__section-title {
  color: var(--deep-green, #0A4B2C); /* Specific for light background sections */
}

.page-blog-safe-betting-tips__section-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__section-description {
  color: #555555; /* Darker text for light background */
}

.page-blog-safe-betting-tips__feature-grid,
.page-blog-safe-betting-tips__strategy-grid,
.page-blog-safe-betting-tips__principles-list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
}

.page-blog-safe-betting-tips__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main, #F2FFF6);
  box-sizing: border-box;
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__card {
  background-color: #ffffff;
  color: #333333;
  border-color: #e0e0e0;
}

.page-blog-safe-betting-tips__card:hover {
  transform: translateY(-5px);
}

.page-blog-safe-betting-tips__feature-icon,
.page-blog-safe-betting-tips__strategy-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element for max-width */
}

.page-blog-safe-betting-tips__feature-title,
.page-blog-safe-betting-tips__principle-title,
.page-blog-safe-betting-tips__strategy-title,
.page-blog-safe-betting-tips__trust-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold-color, #F2C14E); /* Gold for titles */
}

.page-blog-safe-betting-tips__feature-text,
.page-blog-safe-betting-tips__principle-text,
.page-blog-safe-betting-tips__strategy-text,
.page-blog-safe-betting-tips__trust-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__feature-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__principle-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__strategy-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__trust-title {
  color: var(--deep-green, #0A4B2C);
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__feature-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__principle-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__strategy-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__trust-text {
  color: #555555;
}


.page-blog-safe-betting-tips__trust-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-blog-safe-betting-tips__trust-item {
  text-align: left;
}

/* FAQ Section */
.page-blog-safe-betting-tips__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-safe-betting-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  color: var(--text-main, #F2FFF6);
}

.page-blog-safe-betting-tips__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-blog-safe-betting-tips__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-blog-safe-betting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
  transition: background-color 0.3s ease;
}

.page-blog-safe-betting-tips__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.1); /* Lighter hover for dark background */
}

.page-blog-safe-betting-tips__faq-qtext {
  flex-grow: 1;
  color: var(--text-main, #F2FFF6);
}

.page-blog-safe-betting-tips__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
}

.page-blog-safe-betting-tips__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  border-top: 1px solid var(--divider-color, #1E3A2A);
}

.page-blog-safe-betting-tips__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-blog-safe-betting-tips__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-color-main, #08160F);
  color: var(--text-main, #F2FFF6);
}

/* Text Colors for specific sections */
.page-blog-safe-betting-tips__text-main {
  color: var(--text-main, #F2FFF6);
}

.page-blog-safe-betting-tips__text-secondary {
  color: var(--text-secondary, #A7D9B8);
}

.page-blog-safe-betting-tips__text-deep-green {
  color: var(--deep-green, #0A4B2C);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-safe-betting-tips__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-blog-safe-betting-tips__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-safe-betting-tips__hero-content {
    margin-top: 20px;
  }

  .page-blog-safe-betting-tips__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-blog-safe-betting-tips__subtitle {
    font-size: 1em;
  }

  .page-blog-safe-betting-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-blog-safe-betting-tips__btn-primary,
  .page-blog-safe-betting-tips__btn-secondary,
  .page-blog-safe-betting-tips__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-blog-safe-betting-tips__hero-section,
  .page-blog-safe-betting-tips__content-area,
  .page-blog-safe-betting-tips__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Images responsive */
  .page-blog-safe-betting-tips img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-blog-safe-betting-tips__section,
  .page-blog-safe-betting-tips__card,
  .page-blog-safe-betting-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-safe-betting-tips__hero-image {
    max-height: 300px;
  }

  .page-blog-safe-betting-tips__section-title {
    font-size: 1.8em;
  }

  .page-blog-safe-betting-tips__feature-title,
  .page-blog-safe-betting-tips__principle-title,
  .page-blog-safe-betting-tips__strategy-title,
  .page-blog-safe-betting-tips__trust-title {
    font-size: 1.3em;
  }

  .page-blog-safe-betting-tips__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-safe-betting-tips__faq-answer {
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-blog-safe-betting-tips__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-safe-betting-tips__content-area,
  .page-blog-safe-betting-tips__cta-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Color Palette Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color-main: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --text-main-dark: #333333; /* For light backgrounds */
}

/* Ensure contrast for specific elements based on background */
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__section-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__feature-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__principle-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__strategy-title,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__trust-title {
  color: var(--deep-green);
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__section-description,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__feature-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__principle-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__strategy-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__trust-text,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__faq-qtext,
.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__faq-answer {
  color: #555555; /* Darker grey for readability on light backgrounds */
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__faq-item {
  background-color: #ffffff;
  border-color: #e0e0e0;
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__faq-question {
  background-color: #ffffff;
  border-bottom-color: #e0e0e0;
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__faq-toggle {
  color: var(--deep-green);
}

.page-blog-safe-betting-tips__light-bg .page-blog-safe-betting-tips__faq-answer {
  border-top-color: #e0e0e0;
}