/* style/blog-mm88b-sports-betting-tips.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --button-login-color: #EA7C07;
  --border-color: #e0e0e0;
}

.page-blog-mm88b-sports-betting-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default to dark text for light body background */
  background: var(--background-light);
}

.page-blog-mm88b-sports-betting-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-blog-mm88b-sports-betting-tips__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-blog-mm88b-sports-betting-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-mm88b-sports-betting-tips__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly up over the image bottom */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-blog-mm88b-sports-betting-tips__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-blog-mm88b-sports-betting-tips__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-blog-mm88b-sports-betting-tips__btn-primary {
  display: inline-block;
  background: var(--button-login-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-blog-mm88b-sports-betting-tips__btn-primary:hover {
  background: darken(var(--button-login-color), 10%);
}

.page-blog-mm88b-sports-betting-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--background-white);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  transform: translateY(-50px); /* Lift content area to overlap hero */
  position: relative;
  z-index: 5;
}

.page-blog-mm88b-sports-betting-tips__section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-mm88b-sports-betting-tips__subsection-title {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-mm88b-sports-betting-tips p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-blog-mm88b-sports-betting-tips a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-blog-mm88b-sports-betting-tips a:hover {
  text-decoration: underline;
}

.page-blog-mm88b-sports-betting-tips__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-mm88b-sports-betting-tips__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-blog-mm88b-sports-betting-tips__text-content {
  flex: 1;
  min-width: 300px;
}

.page-blog-mm88b-sports-betting-tips__list,
.page-blog-mm88b-sports-betting-tips__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-blog-mm88b-sports-betting-tips__numbered-list {
  list-style-type: decimal;
}

.page-blog-mm88b-sports-betting-tips__list li,
.page-blog-mm88b-sports-betting-tips__numbered-list li {
  margin-bottom: 10px;
}

.page-blog-mm88b-sports-betting-tips__full-width-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-blog-mm88b-sports-betting-tips__registration-guide {
  display: flex;
  flex-wrap: wrap-reverse; /* Image after text on mobile, text after image on desktop */
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-mm88b-sports-betting-tips__guide-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-blog-mm88b-sports-betting-tips__cta-group {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-mm88b-sports-betting-tips__grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-mm88b-sports-betting-tips__grid-item {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-mm88b-sports-betting-tips__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-blog-mm88b-sports-betting-tips__grid-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-blog-mm88b-sports-betting-tips__grid-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-blog-mm88b-sports-betting-tips__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-mm88b-sports-betting-tips__faq-item {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-mm88b-sports-betting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-blog-mm88b-sports-betting-tips__faq-question:hover {
  background-color: #e5e5e5;
}

.page-blog-mm88b-sports-betting-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-mm88b-sports-betting-tips__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  margin-left: 15px;
}

.page-blog-mm88b-sports-betting-tips__faq-item[open] .page-blog-mm88b-sports-betting-tips__faq-toggle {
  content: '−';
}

.page-blog-mm88b-sports-betting-tips__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-color);
}

/* Floating Buttons */
.page-blog-mm88b-sports-betting-tips__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-blog-mm88b-sports-betting-tips__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-blog-mm88b-sports-betting-tips__floating-btn:hover {
  transform: translateY(-3px);
}

.page-blog-mm88b-sports-betting-tips__floating-btn--register {
  background: var(--button-login-color);
  color: var(--text-light);
}

.page-blog-mm88b-sports-betting-tips__floating-btn--login {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-mm88b-sports-betting-tips__hero-content {
    margin-top: -80px;
  }
}

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

  .page-blog-mm88b-sports-betting-tips__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-mm88b-sports-betting-tips__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-blog-mm88b-sports-betting-tips__hero-title {
    font-size: 2rem;
  }

  .page-blog-mm88b-sports-betting-tips__hero-description {
    font-size: 1rem;
  }

  .page-blog-mm88b-sports-betting-tips__content-area {
    padding: 30px 15px;
    transform: translateY(-30px);
  }

  .page-blog-mm88b-sports-betting-tips__section-title {
    font-size: 1.8rem;
  }

  .page-blog-mm88b-sports-betting-tips__subsection-title {
    font-size: 1.4rem;
  }

  .page-blog-mm88b-sports-betting-tips__image-text-block,
  .page-blog-mm88b-sports-betting-tips__registration-guide {
    flex-direction: column;
    gap: 20px;
  }

  .page-blog-mm88b-sports-betting-tips__feature-image,
  .page-blog-mm88b-sports-betting-tips__guide-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Ensure all images are responsive */
  .page-blog-mm88b-sports-betting-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-blog-mm88b-sports-betting-tips__hero-image-wrapper,
  .page-blog-mm88b-sports-betting-tips__image-text-block,
  .page-blog-mm88b-sports-betting-tips__registration-guide,
  .page-blog-mm88b-sports-betting-tips__grid-section,
  .page-blog-mm88b-sports-betting-tips__grid-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure all buttons are responsive */
  .page-blog-mm88b-sports-betting-tips__btn-primary,
  .page-blog-mm88b-sports-betting-tips__floating-btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-mm88b-sports-betting-tips__cta-group,
  .page-blog-mm88b-sports-betting-tips__floating-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-blog-mm88b-sports-betting-tips__floating-buttons {
    flex-direction: row; /* Keep floating buttons side by side */
    bottom: 10px;
    left: 0;
    right: 0;
    justify-content: center;
    padding: 0 15px;
  }

  .page-blog-mm88b-sports-betting-tips__floating-btn {
    flex: 1; /* Allow buttons to grow */
    min-width: unset; /* Remove min-width if set */
  }
}

@media (max-width: 480px) {
  .page-blog-mm88b-sports-betting-tips__hero-title {
    font-size: 1.6rem;
  }

  .page-blog-mm88b-sports-betting-tips__section-title {
    font-size: 1.5rem;
  }

  .page-blog-mm88b-sports-betting-tips__subsection-title {
    font-size: 1.2rem;
  }

  .page-blog-mm88b-sports-betting-tips__floating-buttons {
    flex-direction: column; /* Stack floating buttons vertically on very small screens */
  }
  .page-blog-mm88b-sports-betting-tips__floating-btn {
    width: 100%;
  }
}