/* style/blog-best-slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-best-slot-games {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Container for central content */
.page-blog-best-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-blog-best-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
}

/* Main text blocks */
.page-blog-best-slot-games__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-best-slot-games__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Hero Section */
.page-blog-best-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  min-height: 500px;
  text-align: center;
  overflow: hidden;
}

.page-blog-best-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-blog-best-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-blog-best-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for content */
  border-radius: 8px;
  margin-top: 50px;
}

.page-blog-best-slot-games__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-best-slot-games__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-blog-best-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-best-slot-games__btn-primary,
.page-blog-best-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-blog-best-slot-games__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-best-slot-games__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
}

.page-blog-best-slot-games__btn-secondary {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-best-slot-games__btn-secondary:hover {
  background: #c26505;
  border-color: #c26505;
}

/* Section Styling */
.page-blog-best-slot-games__introduction-section,
.page-blog-best-slot-games__factors-section,
.page-blog-best-slot-games__tips-section,
.page-blog-best-slot-games__conclusion-section {
  padding: 60px 0;
  color: #333333; /* Dark text for light background */
  background: #FFFFFF; /* Light background */
}

.page-blog-best-slot-games__find-games-section,
.page-blog-best-slot-games__faq-section {
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
  background: #0a0a0a; /* Dark background */
}

.page-blog-best-slot-games__find-games-section .page-blog-best-slot-games__section-title,
.page-blog-best-slot-games__faq-section .page-blog-best-slot-games__section-title {
  color: #26A9E0;
}

/* Image within content sections */
.page-blog-best-slot-games__image-container {
  margin: 40px auto;
  max-width: 100%;
  text-align: center;
}

.page-blog-best-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Content Grid for cards */
.page-blog-best-slot-games__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card Styling */
.page-blog-best-slot-games__card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-best-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-best-slot-games__factors-section .page-blog-best-slot-games__card,
.page-blog-best-slot-games__tips-section .page-blog-best-slot-games__card {
  background: #f8f9fa; /* Light background for cards in light sections */
  color: #333333;
}

.page-blog-best-slot-games__find-games-section .page-blog-best-slot-games__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards in dark sections */
  color: #ffffff;
}

.page-blog-best-slot-games__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-blog-best-slot-games__card p {
  font-size: 15px;
  flex-grow: 1;
}

/* FAQ Section */
.page-blog-best-slot-games__faq-list {
  margin-top: 40px;
}

.page-blog-best-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-best-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1); /* Darker background for question */
  transition: background 0.3s ease;
}

.page-blog-best-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-blog-best-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-blog-best-slot-games__faq-item summary {
  list-style: none; /* Hide default marker for Firefox */
}

.page-blog-best-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-blog-best-slot-games__faq-item[open] .page-blog-best-slot-games__faq-toggle {
  content: '−';
}

.page-blog-best-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-blog-best-slot-games__faq-answer p {
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-best-slot-games {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-blog-best-slot-games__container {
    padding: 0 15px;
  }

  .page-blog-best-slot-games__hero-section {
    padding: 10px 0 40px 0;
    min-height: 400px;
  }

  .page-blog-best-slot-games__hero-content {
    padding: 15px;
    margin-top: 30px;
  }

  .page-blog-best-slot-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-blog-best-slot-games__hero-description {
    font-size: clamp(15px, 3vw, 18px);
    margin-bottom: 20px;
  }

  .page-blog-best-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-best-slot-games__btn-primary,
  .page-blog-best-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-best-slot-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-blog-best-slot-games__introduction-section,
  .page-blog-best-slot-games__factors-section,
  .page-blog-best-slot-games__tips-section,
  .page-blog-best-slot-games__conclusion-section,
  .page-blog-best-slot-games__find-games-section,
  .page-blog-best-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-blog-best-slot-games__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-best-slot-games__card {
    padding: 20px;
  }

  .page-blog-best-slot-games__card-title {
    font-size: 20px;
  }

  .page-blog-best-slot-games__faq-question {
    font-size: 16px;
    padding: 15px;
  }

  .page-blog-best-slot-games__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Mobile image responsiveness */
  .page-blog-best-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-best-slot-games__section,
  .page-blog-best-slot-games__card,
  .page-blog-best-slot-games__container,
  .page-blog-best-slot-games__image-container,
  .page-blog-best-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-blog-best-slot-games__hero-section {
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-blog-best-slot-games__hero-content {
    max-width: calc(100% - 30px) !important; /* Adjust for padding on container */
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
}