/* style/blog-online-table-game-strategy.css */

/* Base styles for the page content, ensuring light text on dark background */
.page-blog-online-table-game-strategy {
  background-color: #0A0A0A; /* Page background */
  color: #FFF6D6; /* Main text color */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Headings */
.page-blog-online-table-game-strategy h1,
.page-blog-online-table-game-strategy h2,
.page-blog-online-table-game-strategy h3 {
  color: #FFF6D6; /* Main text color for headings */
  font-weight: bold;
  margin-bottom: 20px;
}

.page-blog-online-table-game-strategy__main-title {
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  max-width: 900px; /* Constraint for H1 size */
  margin: 0 auto 20px auto;
  color: #FFD36B; /* Highlight H1 with glow color */
}

.page-blog-online-table-game-strategy__section-title {
  font-size: 2.5em; /* Using em for relative sizing */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD36B; /* Highlight section titles */
}

.page-blog-online-table-game-strategy__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F2C14E; /* Brand primary color for sub-titles */
}

/* Text blocks and paragraphs */
.page-blog-online-table-game-strategy__text-block {
  margin-bottom: 15px;
  color: #FFF6D6; /* Main text color */
}

/* Links */
.page-blog-online-table-game-strategy a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: none;
}

.page-blog-online-table-game-strategy a:hover {
  text-decoration: underline;
  color: #F2C14E; /* Primary color on hover */
}

/* Lists */
.page-blog-online-table-game-strategy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6; /* Main text color */
}

.page-blog-online-table-game-strategy__list li {
  margin-bottom: 8px;
}

/* Buttons */
.page-blog-online-table-game-strategy__btn-primary,
.page-blog-online-table-game-strategy__btn-secondary,
.page-blog-online-table-game-strategy__game-card-btn,
.page-blog-online-table-game-strategy__faq-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent; /* Default border */
  box-sizing: border-box; /* Crucial for button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-blog-online-table-game-strategy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text on gradient button */
  border-color: #F2C14E;
}

.page-blog-online-table-game-strategy__btn-primary:hover {
  background: linear-gradient(180deg, #FFE08A 0%, #E6B52D 100%);
  box-shadow: 0 0 15px #FFD36B; /* Glow effect on hover */
}

.page-blog-online-table-game-strategy__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary brand color for text */
  border-color: #F2C14E;
}

.page-blog-online-table-game-strategy__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text on primary color hover */
  box-shadow: 0 0 15px #FFD36B; /* Glow effect on hover */
}

/* Hero Section */
.page-blog-online-table-game-strategy__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0A0A0A; /* Ensure dark background */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
  overflow: hidden; /* Hide overflowing elements */
}

.page-blog-online-table-game-strategy__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.page-blog-online-table-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image to help text stand out */
}

.page-blog-online-table-game-strategy__hero-content {
  position: relative; /* Relative positioning for text to be below image */
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly, but not over image */
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, #0A0A0A 50%, #0A0A0A 100%);
  padding-top: 150px; /* Ensure content starts below gradient */
}

.page-blog-online-table-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-blog-online-table-game-strategy__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Introduction Section */
.page-blog-online-table-game-strategy__introduction-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* Strategies Section */
.page-blog-online-table-game-strategy__strategies-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog-online-table-game-strategy__image-content-flex {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  gap: 40px;
  margin-bottom: 40px;
}

.page-blog-online-table-game-strategy__image-content-flex--reverse {
  flex-direction: row-reverse;
}

.page-blog-online-table-game-strategy__text-block-wrapper {
  flex: 1;
}

.page-blog-online-table-game-strategy__image-wrapper {
  flex: 1;
  min-width: 300px; /* Minimum width for image wrapper */
  text-align: center;
}

.page-blog-online-table-game-strategy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3); /* Subtle glow for images */
}

/* Popular Games Section */
.page-blog-online-table-game-strategy__popular-games-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog-online-table-game-strategy__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-online-table-game-strategy__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-online-table-game-strategy__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.4);
}

.page-blog-online-table-game-strategy__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-blog-online-table-game-strategy__game-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-blog-online-table-game-strategy__game-card-title a {
  color: #F2C14E; /* Primary color for card titles */
}

.page-blog-online-table-game-strategy__game-card-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  min-height: 70px; /* Ensure consistent card height */
}

.page-blog-online-table-game-strategy__game-card-btn {
  width: 100%;
  max-width: 200px;
  margin-top: auto; /* Push button to bottom */
}

.page-blog-online-table-game-strategy__full-game-list-cta {
  text-align: center;
  margin-top: 50px;
}

/* Responsible Gaming Section */
.page-blog-online-table-game-strategy__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* FAQ Section */
.page-blog-online-table-game-strategy__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog-online-table-game-strategy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-blog-online-table-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #111111;
  color: #FFF6D6;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-blog-online-table-game-strategy__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-blog-online-table-game-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Primary color for toggle */
}

.page-blog-online-table-game-strategy__faq-item.active .page-blog-online-table-game-strategy__faq-toggle {
  transform: rotate(45deg);
  color: #FFD36B; /* Glow color when active */
}

.page-blog-online-table-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

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

.page-blog-online-table-game-strategy__faq-btn {
  margin-top: 15px;
  display: block; /* Make FAQ button block level */
  max-width: 250px; /* Limit width */
}

/* CTA Section */
.page-blog-online-table-game-strategy__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-blog-online-table-game-strategy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-blog-online-table-game-strategy__hero-content {
    margin-top: -50px;
    padding-top: 100px;
  }
  .page-blog-online-table-game-strategy__image-content-flex {
    flex-direction: column;
    align-items: center;
  }

  .page-blog-online-table-game-strategy__image-content-flex--reverse {
    flex-direction: column-reverse;
  }

  .page-blog-online-table-game-strategy__text-block-wrapper {
    width: 100%;
    text-align: center;
  }
  .page-blog-online-table-game-strategy__list {
    text-align: left;
    margin-left: 0;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .page-blog-online-table-game-strategy__container {
    padding: 0 15px;
  }

  .page-blog-online-table-game-strategy__hero-section {
    min-height: 500px;
  }

  .page-blog-online-table-game-strategy__hero-content {
    padding: 20px 15px;
    margin-top: -30px;
    padding-top: 80px;
  }

  .page-blog-online-table-game-strategy__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Using clamp for H1 */
    margin-bottom: 15px;
  }

  .page-blog-online-table-game-strategy__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-blog-online-table-game-strategy__sub-title {
    font-size: 1.5em;
  }

  /* Images responsive */
  .page-blog-online-table-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-blog-online-table-game-strategy__section,
  .page-blog-online-table-game-strategy__card,
  .page-blog-online-table-game-strategy__container,
  .page-blog-online-table-game-strategy__image-wrapper,
  .page-blog-online-table-game-strategy__text-block-wrapper,
  .page-blog-online-table-game-strategy__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-blog-online-table-game-strategy__btn-primary,
  .page-blog-online-table-game-strategy__btn-secondary,
  .page-blog-online-table-game-strategy a[class*="button"],
  .page-blog-online-table-game-strategy 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-online-table-game-strategy__hero-cta,
  .page-blog-online-table-game-strategy__cta-buttons,
  .page-blog-online-table-game-strategy__button-group,
  .page-blog-online-table-game-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px; /* Add gap between stacked buttons */
  }

  /* FAQ button width */
  .page-blog-online-table-game-strategy__faq-btn {
    max-width: 100% !important;
  }
}