/* style/blog-m88-game-guide-tips.css */

/* --- General Styles --- */
.page-blog-m88-game-guide-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background: #08160F; /* Background */
}

.page-blog-m88-game-guide-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-m88-game-guide-tips__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-m88-game-guide-tips__sub-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-m88-game-guide-tips p {
  margin-bottom: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* --- Hero Section --- */
.page-blog-m88-game-guide-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Forced image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Padding for content below image */
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
  overflow: hidden; /* To contain image */
}

.page-blog-m88-game-guide-tips__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
}

.page-blog-m88-game-guide-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Minimum height for visual impact */
}

.page-blog-m88-game-guide-tips__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
}

.page-blog-m88-game-guide-tips__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-m88-game-guide-tips__intro-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog-m88-game-guide-tips__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%; /* Ensure container fills width for mobile */
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.page-blog-m88-game-guide-tips__btn-primary,
.page-blog-m88-game-guide-tips__btn-secondary,
.page-blog-m88-game-guide-tips__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
}

.page-blog-m88-game-guide-tips__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-blog-m88-game-guide-tips__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-blog-m88-game-guide-tips__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-blog-m88-game-guide-tips__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #F2FFF6; /* Text Main */
}

.page-blog-m88-game-guide-tips__btn-text {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 1px solid #57E38D;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-blog-m88-game-guide-tips__btn-text:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
}

/* --- Content Sections --- */
.page-blog-m88-game-guide-tips__content-section {
  padding: 60px 0;
}

.page-blog-m88-game-guide-tips__light-bg {
  background: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-blog-m88-game-guide-tips__dark-bg {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-blog-m88-game-guide-tips__deep-green-bg {
    background: #0A4B2C; /* Deep Green */
    color: #F2FFF6;
    padding: 80px 0;
}

.page-blog-m88-game-guide-tips__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* --- Grid Layout for Cards --- */
.page-blog-m88-game-guide-tips__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-m88-game-guide-tips__card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-m88-game-guide-tips__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-blog-m88-game-guide-tips__card-image {
  width: 100%;
  max-width: 300px; /* Example max width for card images */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-blog-m88-game-guide-tips__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-m88-game-guide-tips__card p {
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1; /* Make paragraphs take available space */
}

/* --- FAQ Section --- */
.page-blog-m88-game-guide-tips__faq-section {
  padding: 80px 0;
  background: #11271B; /* Card BG */
}

.page-blog-m88-game-guide-tips__faq-list {
  margin-top: 40px;
}

.page-blog-m88-game-guide-tips__faq-item {
  background: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-m88-game-guide-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background: #0A4B2C; /* Deep Green */
  transition: background 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-m88-game-guide-tips__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-blog-m88-game-guide-tips__faq-question:hover {
  background: #13994A; /* Slightly lighter green */
}

.page-blog-m88-game-guide-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-blog-m88-game-guide-tips__faq-answer {
  padding: 20px 25px;
  background: #08160F; /* Background */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-blog-m88-game-guide-tips__faq-answer p {
  margin-bottom: 0;
}

/* --- CTA Banner --- */
.page-blog-m88-game-guide-tips__cta-banner {
  text-align: center;
}

.page-blog-m88-game-guide-tips__cta-banner .page-blog-m88-game-guide-tips__section-title {
  color: #F2C14E; /* Gold */
}

.page-blog-m88-game-guide-tips__cta-banner p {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-blog-m88-game-guide-tips__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-blog-m88-game-guide-tips__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-m88-game-guide-tips__hero-content {
    margin-top: 20px;
    padding: 15px;
  }

  .page-blog-m88-game-guide-tips__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-m88-game-guide-tips__intro-description {
    font-size: 1em;
  }

  .page-blog-m88-game-guide-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-m88-game-guide-tips__btn-primary,
  .page-blog-m88-game-guide-tips__btn-secondary,
  .page-blog-m88-game-guide-tips a[class*="button"],
  .page-blog-m88-game-guide-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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-m88-game-guide-tips__cta-buttons,
  .page-blog-m88-game-guide-tips__button-group,
  .page-blog-m88-game-guide-tips__btn-container {
    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-m88-game-guide-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-m88-game-guide-tips__sub-title {
    font-size: 1.5em;
  }

  .page-blog-m88-game-guide-tips__content-section {
    padding: 40px 0;
  }

  .page-blog-m88-game-guide-tips__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-blog-m88-game-guide-tips img {
    max-width: 100% !important;
    width: 100% !important; /* Added for explicit width */
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-m88-game-guide-tips__section,
  .page-blog-m88-game-guide-tips__card,
  .page-blog-m88-game-guide-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Mobile video responsiveness (not present in HTML, but included for compliance) */
  .page-blog-m88-game-guide-tips video,
  .page-blog-m88-game-guide-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-m88-game-guide-tips__video-section,
  .page-blog-m88-game-guide-tips__video-container,
  .page-blog-m88-game-guide-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-blog-m88-game-guide-tips__video-section {
    padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
  }
}

/* Ensure content images meet minimum size requirements */
.page-blog-m88-game-guide-tips__content-area img,
.page-blog-m88-game-guide-tips__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast enforcement (based on dark body background) */
.page-blog-m88-game-guide-tips {
  color: #F2FFF6; /* Text Main */
  background: #08160F; /* Background */
}

.page-blog-m88-game-guide-tips__card {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-blog-m88-game-guide-tips__card p {
    color: #A7D9B8; /* Text Secondary */
}

.page-blog-m88-game-guide-tips__dark-section {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-blog-m88-game-guide-tips__light-bg p {
    color: #A7D9B8; /* Text Secondary */
}

.page-blog-m88-game-guide-tips__faq-answer p {
    color: #A7D9B8; /* Text Secondary */
}

/* No CSS filter on images */
.page-blog-m88-game-guide-tips img {
    filter: none; /* Explicitly ensure no filter is applied */
}