/* style/blog-phtaya-betting-strategy.css */

/* Base styles for the page, inheriting from body background #0A0A0A (dark) */
.page-blog-phtaya-betting-strategy {
  color: #FFF6D6; /* Main text color, light for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Section styling */
.page-blog-phtaya-betting-strategy__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-blog-phtaya-betting-strategy__section:last-of-type {
  border-bottom: none;
}

/* Container for content width */
.page-blog-phtaya-betting-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-phtaya-betting-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Dark background */
  color: #FFF6D6; /* Light text */
}

.page-blog-phtaya-betting-strategy__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-phtaya-betting-strategy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no CSS filters are applied */
}

.page-blog-phtaya-betting-strategy__hero-content {
  text-align: center;
  max-width: 800px;
  margin-top: 40px;
  z-index: 1; /* Ensure content is above image if any overlap */
  padding: 0 20px;
}

.page-blog-phtaya-betting-strategy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  /* No fixed large font-size, rely on natural flow and responsive scaling */
}

.page-blog-phtaya-betting-strategy__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Section Titles */
.page-blog-phtaya-betting-strategy__section-title {
  text-align: center;
  font-size: 2.5em;
  color: #F2C14E; /* Primary color for section titles */
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-phtaya-betting-strategy__sub-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color for sub-titles */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Text Blocks */
.page-blog-phtaya-betting-strategy__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF6D6; /* Default text color for dark sections */
}

/* Specific text color for light background sections */
.page-blog-phtaya-betting-strategy__text-contrast-fix {
  color: #333333; /* Dark text for light backgrounds */
}

/* Buttons */
.page-blog-phtaya-betting-strategy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-blog-phtaya-betting-strategy__cta-buttons--center {
  margin-top: 40px;
}

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

.page-blog-phtaya-betting-strategy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #0A0A0A; /* Dark text for bright button */
  border: none;
}

.page-blog-phtaya-betting-strategy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-phtaya-betting-strategy__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color text */
  border: 2px solid #F2C14E; /* Border with primary color */
}

.page-blog-phtaya-betting-strategy__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

.page-blog-phtaya-betting-strategy__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  border: none;
  margin-top: 15px;
}

.page-blog-phtaya-betting-strategy__btn-small:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Image & Content Row Layout */
.page-blog-phtaya-betting-strategy__image-content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-blog-phtaya-betting-strategy__image-content-row--reverse {
  flex-direction: row-reverse;
}

.page-blog-phtaya-betting-strategy__text-column,
.page-blog-phtaya-betting-strategy__image-column {
  flex: 1;
}

.page-blog-phtaya-betting-strategy__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: none; /* Ensure no CSS filters are applied */
}

/* Grid Layout for cards */
.page-blog-phtaya-betting-strategy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-phtaya-betting-strategy__grid--2-columns {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-blog-phtaya-betting-strategy__grid--3-columns {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styling */
.page-blog-phtaya-betting-strategy__card {
  background: #111111; /* Card BG color */
  color: #FFF6D6; /* Light text for dark card */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards in a row have equal height */
  box-sizing: border-box;
}

.page-blog-phtaya-betting-strategy__card--highlight {
  background: #1A1A1A; /* Slightly lighter dark for highlight */
  border-color: #F2C14E; /* Highlight border */
}

.page-blog-phtaya-betting-strategy__card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-phtaya-betting-strategy__card-text {
  font-size: 0.95em;
  flex-grow: 1; /* Allow text to grow */
  margin-bottom: 15px;
  color: #FFF6D6;
}

/* Light background section */
.page-blog-phtaya-betting-strategy__light-bg {
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}
.page-blog-phtaya-betting-strategy__light-bg .page-blog-phtaya-betting-strategy__section-title,
.page-blog-phtaya-betting-strategy__light-bg .page-blog-phtaya-betting-strategy__sub-title {
  color: #333333; /* Dark titles for light background */
}
.page-blog-phtaya-betting-strategy__light-bg .page-blog-phtaya-betting-strategy__card {
  background: #ffffff; /* White card background */
  color: #333333; /* Dark text */
  border-color: #e0e0e0;
}
.page-blog-phtaya-betting-strategy__light-bg .page-blog-phtaya-betting-strategy__card-title {
  color: #F2C14E; /* Primary color for card titles */
}
.page-blog-phtaya-betting-strategy__light-bg .page-blog-phtaya-betting-strategy__card-text {
  color: #333333;
}

/* List styles */
.page-blog-phtaya-betting-strategy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-blog-phtaya-betting-strategy__list li {
  margin-bottom: 10px;
  color: #FFF6D6;
}

/* Link in content */
.page-blog-phtaya-betting-strategy__link {
  color: #F2C14E;
  text-decoration: underline;
}
.page-blog-phtaya-betting-strategy__link:hover {
  color: #FFD36B;
}

/* Call to Action Section */
.page-blog-phtaya-betting-strategy__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-blog-phtaya-betting-strategy__cta-content {
  max-width: 800px;
}

/* FAQ Section */
.page-blog-phtaya-betting-strategy__faq-list {
  margin-top: 40px;
}

.page-blog-phtaya-betting-strategy__faq-item {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-blog-phtaya-betting-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111;
  color: #F2C14E; /* Primary color for question text */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-phtaya-betting-strategy__faq-question:hover {
  background-color: #1A1A1A;
}

.page-blog-phtaya-betting-strategy__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #F2C14E;
}

.page-blog-phtaya-betting-strategy__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFD36B; /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease;
}

.page-blog-phtaya-betting-strategy__faq-item.active .page-blog-phtaya-betting-strategy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-blog-phtaya-betting-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Light text for answer */
}

/* Crucial style for active FAQ item - must use !important */
.page-blog-phtaya-betting-strategy__faq-item.active .page-blog-phtaya-betting-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px !important; /* Adjust padding for expanded state */
}

.page-blog-phtaya-betting-strategy__faq-answer p {
  margin-bottom: 15px;
  color: #FFF6D6;
}
.page-blog-phtaya-betting-strategy__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-phtaya-betting-strategy__main-title {
    font-size: 2.8em;
  }
  .page-blog-phtaya-betting-strategy__section-title {
    font-size: 2em;
  }
  .page-blog-phtaya-betting-strategy__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-blog-phtaya-betting-strategy__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-phtaya-betting-strategy__hero-content {
    margin-top: 30px;
  }
  .page-blog-phtaya-betting-strategy__main-title {
    font-size: 2.2em; /* Smaller for mobile, but not fixed small */
    line-height: 1.3;
  }
  .page-blog-phtaya-betting-strategy__hero-description {
    font-size: 1em;
  }
  .page-blog-phtaya-betting-strategy__section {
    padding: 40px 0;
  }
  .page-blog-phtaya-betting-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog-phtaya-betting-strategy__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-blog-phtaya-betting-strategy__image-content-row {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog-phtaya-betting-strategy__image-content-row--reverse {
    flex-direction: column; /* Ensure it stays column on mobile */
  }

  /* Images responsive */
  .page-blog-phtaya-betting-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-blog-phtaya-betting-strategy__section,
  .page-blog-phtaya-betting-strategy__card,
  .page-blog-phtaya-betting-strategy__container,
  .page-blog-phtaya-betting-strategy__hero-content,
  .page-blog-phtaya-betting-strategy__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-blog-phtaya-betting-strategy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-blog-phtaya-betting-strategy__btn-primary,
  .page-blog-phtaya-betting-strategy__btn-secondary,
  .page-blog-phtaya-betting-strategy__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add some padding to prevent text from touching edges */
    padding-right: 15px;
  }
  .page-blog-phtaya-betting-strategy__faq-question {
    padding: 15px 20px;
  }
  .page-blog-phtaya-betting-strategy__faq-question h3 {
    font-size: 1.1em;
  }
  .page-blog-phtaya-betting-strategy__faq-answer {
    padding: 0 20px;
  }
  .page-blog-phtaya-betting-strategy__faq-item.active .page-blog-phtaya-betting-strategy__faq-answer {
    padding: 15px 20px 20px !important;
  }
}

/* Ensure content area images (all images except special icon cases) are not too small */
.page-blog-phtaya-betting-strategy img:not(.page-blog-phtaya-betting-strategy__category-icon):not(.page-blog-phtaya-betting-strategy__game-partner-logo) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

/* No CSS filter for images */
.page-blog-phtaya-betting-strategy img {
  filter: none; /* Ensure no CSS filters are applied */
}