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

/* Base styles for the page content, ensuring contrast with body background */
.page-blog-phtaya-game-strategy {
  color: #FFF6D6; /* Text Main for dark background */
  background-color: transparent; /* Body handles the main background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Section styling */
.page-blog-phtaya-game-strategy__section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Matches the global background, or transparent if body handles it */
}

/* Specific dark background sections, for visual consistency */
.page-blog-phtaya-game-strategy__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

/* Hero Section */
.page-blog-phtaya-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-blog-phtaya-game-strategy__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog-phtaya-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-phtaya-game-strategy__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-blog-phtaya-game-strategy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-phtaya-game-strategy__intro-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* General Titles */
.page-blog-phtaya-game-strategy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #FFD36B; /* Glow color for emphasis */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Text blocks */
.page-blog-phtaya-game-strategy__text-block {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-blog-phtaya-game-strategy__btn-primary,
.page-blog-phtaya-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsiveness */
  text-align: center; /* Center text for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-blog-phtaya-game-strategy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-blog-phtaya-game-strategy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4); /* Glow effect */
}

.page-blog-phtaya-game-strategy__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
}

.page-blog-phtaya-game-strategy__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text on hover */
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4); /* Glow effect */
}

/* Image styling */
.page-blog-phtaya-game-strategy__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Game Strategy Grid */
.page-blog-phtaya-game-strategy__game-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-phtaya-game-strategy__card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF6D6; /* Text Main for card content */
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #3A2A12; /* Border color */
}

.page-blog-phtaya-game-strategy__card-image {
  width: 100%;
  max-width: 400px; /* Example max-width, adjust as needed */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-blog-phtaya-game-strategy__card-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-phtaya-game-strategy__card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to push button to bottom */
  text-align: justify;
}

/* Feature List (for 2 Essential Tips) */
.page-blog-phtaya-game-strategy__feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-blog-phtaya-game-strategy__feature-item {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  border: 1px solid #3A2A12; /* Border color */
}

.page-blog-phtaya-game-strategy__feature-title {
  font-size: 1.6rem;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-phtaya-game-strategy__feature-description {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: justify;
}

/* FAQ Section */
.page-blog-phtaya-game-strategy__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-blog-phtaya-game-strategy__faq-question:hover {
  background-color: #1A1A1A; /* Slightly lighter dark */
}

.page-blog-phtaya-game-strategy__faq-question h3 {
  margin: 0;
  color: inherit; /* Inherit from parent */
  font-size: 1.1rem;
}

.page-blog-phtaya-game-strategy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-blog-phtaya-game-strategy__faq-item.active .page-blog-phtaya-game-strategy__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-blog-phtaya-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main for answer content */
  font-size: 0.95rem;
}

.page-blog-phtaya-game-strategy__faq-item.active .page-blog-phtaya-game-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px 20px; /* Adjust padding for expanded state */
}

.page-blog-phtaya-game-strategy__faq-answer p {
  margin: 0;
  color: inherit;
}

/* Final CTA Section */
.page-blog-phtaya-game-strategy__cta-final {
  text-align: center;
  background-color: #0A0A0A;
}

.page-blog-phtaya-game-strategy__cta-content {
  padding: 40px 20px;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-phtaya-game-strategy__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-phtaya-game-strategy__section {
    padding: 40px 15px;
  }

  /* Images responsive */
  .page-blog-phtaya-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-phtaya-game-strategy__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-phtaya-game-strategy__hero-image-wrapper {
    margin-bottom: 20px;
  }

  /* Buttons responsive */
  .page-blog-phtaya-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-phtaya-game-strategy__btn-primary,
  .page-blog-phtaya-game-strategy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-blog-phtaya-game-strategy__cta-buttons,
  .page-blog-phtaya-game-strategy__button-group,
  .page-blog-phtaya-game-strategy__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-phtaya-game-strategy__game-strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-phtaya-game-strategy__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-phtaya-game-strategy__main-title {
    font-size: 2rem;
  }

  .page-blog-phtaya-game-strategy__section-title {
    font-size: 1.8rem;
  }

  .page-blog-phtaya-game-strategy__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-phtaya-game-strategy__faq-answer {
    padding: 0 20px;
  }

  .page-blog-phtaya-game-strategy__faq-item.active .page-blog-phtaya-game-strategy__faq-answer {
    padding: 15px 20px 20px;
  }

  /* Ensure all containers are responsive */
  .page-blog-phtaya-game-strategy__section,
  .page-blog-phtaya-game-strategy__card,
  .page-blog-phtaya-game-strategy__container,
  .page-blog-phtaya-game-strategy__hero-content,
  .page-blog-phtaya-game-strategy__feature-item,
  .page-blog-phtaya-game-strategy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-blog-phtaya-game-strategy__main-title {
    font-size: 1.8rem;
  }
  .page-blog-phtaya-game-strategy__section-title {
    font-size: 1.6rem;
  }
  .page-blog-phtaya-game-strategy__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-phtaya-game-strategy__section {
    padding: 30px 15px;
  }
}