/* style/blog-hello88-sports-betting-tips.css */

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

/* General Page Styles - Contrast ensured for dark background (var(--background-color) from shared) */
.page-blog-hello88-sports-betting-tips {
  font-family: 'Arial', sans-serif;
  color: var(--hello88-text-main); /* Light text on dark body background */
  background-color: var(--hello88-background);
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-blog-hello88-sports-betting-tips__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-hello88-sports-betting-tips__section-title {
  font-size: 2.8em;
  color: var(--hello88-text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-hello88-sports-betting-tips__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 clamp for responsiveness */
  color: var(--hello88-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-hello88-sports-betting-tips__intro-text {
  font-size: 1.2em;
  color: var(--hello88-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-hello88-sports-betting-tips__paragraph {
  font-size: 1.1em;
  color: var(--hello88-text-main);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog-hello88-sports-betting-tips__btn-primary,
.page-blog-hello88-sports-betting-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-hello88-sports-betting-tips__btn-primary {
  background: var(--hello88-button-gradient);
  color: #ffffff; /* Always white text on green button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-hello88-sports-betting-tips__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-hello88-sports-betting-tips__btn-secondary {
  background-color: transparent;
  color: var(--hello88-secondary); /* Green text on transparent/dark background */
  border: 2px solid var(--hello88-secondary);
}

.page-blog-hello88-sports-betting-tips__btn-secondary:hover {
  background-color: var(--hello88-secondary);
  color: #ffffff;
}

/* Hero Section */
.page-blog-hello88-sports-betting-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-blog-hello88-sports-betting-tips__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-blog-hello88-sports-betting-tips__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Min size for image */
}

.page-blog-hello88-sports-betting-tips__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 100%;
  box-sizing: border-box;
}

/* Image Blocks */
.page-blog-hello88-sports-betting-tips__container--reversed {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-blog-hello88-sports-betting-tips__image-block {
  flex: 1;
  min-width: 400px;
  max-width: 50%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-hello88-sports-betting-tips__content-block {
  flex: 1;
  max-width: 50%;
  box-sizing: border-box;
}

.page-blog-hello88-sports-betting-tips__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-height: 200px; /* Min size for image */
}

.page-blog-hello88-sports-betting-tips__image--center {
  margin: 40px auto;
  max-width: 800px;
}

/* Lists */
.page-blog-hello88-sports-betting-tips__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-blog-hello88-sports-betting-tips__list-item {
  background-color: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--hello88-text-main);
}

.page-blog-hello88-sports-betting-tips__list-title {
  font-size: 1.5em;
  color: var(--hello88-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-hello88-sports-betting-tips__list-description {
  font-size: 1em;
  color: var(--hello88-text-secondary);
}

/* Card Grid */
.page-blog-hello88-sports-betting-tips__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-hello88-sports-betting-tips__card {
  background-color: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-align: left;
  color: var(--hello88-text-main);
  min-height: 200px; /* Min height for cards */
}

.page-blog-hello88-sports-betting-tips__card-title {
  font-size: 1.6em;
  color: var(--hello88-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-hello88-sports-betting-tips__card-description {
  font-size: 1em;
  color: var(--hello88-text-secondary);
}

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

.page-blog-hello88-sports-betting-tips__faq-item {
  background-color: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-hello88-sports-betting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--hello88-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-hello88-sports-betting-tips__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-blog-hello88-sports-betting-tips__faq-question:hover {
  background-color: var(--hello88-deep-green);
}

.page-blog-hello88-sports-betting-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--hello88-gold);
}

.page-blog-hello88-sports-betting-tips__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--hello88-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-blog-hello88-sports-betting-tips__faq-item[open] .page-blog-hello88-sports-betting-tips__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  transition: max-height 0.5s ease-in;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-hello88-sports-betting-tips__section-title {
    font-size: 2.2em;
  }

  .page-blog-hello88-sports-betting-tips__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-blog-hello88-sports-betting-tips__intro-text {
    font-size: 1.1em;
  }

  .page-blog-hello88-sports-betting-tips__container--reversed {
    flex-direction: column;
  }

  .page-blog-hello88-sports-betting-tips__image-block,
  .page-blog-hello88-sports-betting-tips__content-block {
    max-width: 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-blog-hello88-sports-betting-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-hello88-sports-betting-tips__section {
    padding: 40px 0;
  }

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

  .page-blog-hello88-sports-betting-tips__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    padding: 0 15px;
  }

  .page-blog-hello88-sports-betting-tips__intro-text,
  .page-blog-hello88-sports-betting-tips__paragraph {
    font-size: 1em;
    padding: 0 15px;
  }

  /* Mobile image adaptation */
  .page-blog-hello88-sports-betting-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-hello88-sports-betting-tips__image-wrapper,
  .page-blog-hello88-sports-betting-tips__image-block,
  .page-blog-hello88-sports-betting-tips__hero-image-wrapper,
  .page-blog-hello88-sports-betting-tips__container,
  .page-blog-hello88-sports-betting-tips__section,
  .page-blog-hello88-sports-betting-tips__card,
  .page-blog-hello88-sports-betting-tips__list-item,
  .page-blog-hello88-sports-betting-tips__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-hello88-sports-betting-tips__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    min-height: unset;
  }

  .page-blog-hello88-sports-betting-tips__hero-content {
    padding: 20px 15px;
  }

  /* Mobile button adaptation */
  .page-blog-hello88-sports-betting-tips__btn-primary,
  .page-blog-hello88-sports-betting-tips__btn-secondary,
  .page-blog-hello88-sports-betting-tips a[class*="button"],
  .page-blog-hello88-sports-betting-tips a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Adjust margins for stacking */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hello88-sports-betting-tips__hero-content .page-blog-hello88-sports-betting-tips__btn-primary {
    margin-top: 20px !important;
  }

  .page-blog-hello88-sports-betting-tips__cta-buttons,
  .page-blog-hello88-sports-betting-tips__button-group,
  .page-blog-hello88-sports-betting-tips__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-hello88-sports-betting-tips__card-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-blog-hello88-sports-betting-tips__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-blog-hello88-sports-betting-tips__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-hello88-sports-betting-tips__section-title {
    font-size: 1.5em;
  }

  .page-blog-hello88-sports-betting-tips__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-blog-hello88-sports-betting-tips__list-title {
    font-size: 1.3em;
  }
}