.page-blog-mastering-online-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Assuming default white body background */
}

.page-blog-mastering-online-slots__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0; /* Ensures no extra padding if body already has header-offset */
  margin-top: 0; /* Ensures no extra margin if body already has header-offset */
}

.page-blog-mastering-online-slots__hero-image {
  width: 100%;
  height: 100%; /* Make sure image fills the container height */
  object-fit: cover;
  display: block;
  max-height: 600px; /* Limit hero image height for better visual balance */
}

.page-blog-mastering-online-slots__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  padding: 40px 20px;
  color: #ffffff;
  text-align: center;
}

.page-blog-mastering-online-slots__hero-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #FFD700; /* Primary brand color for emphasis */
}

.page-blog-mastering-online-slots__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-blog-mastering-online-slots__hero-button,
.page-blog-mastering-online-slots__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary brand color */
  color: #8B0000; /* Secondary brand color for contrast */
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog-mastering-online-slots__hero-button:hover,
.page-blog-mastering-online-slots__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
}

.page-blog-mastering-online-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-mastering-online-slots__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Secondary brand color */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-blog-mastering-online-slots__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-mastering-online-slots__introduction-section,
.page-blog-mastering-online-slots__why-plus777-section,
.page-blog-mastering-online-slots__understanding-slots-section,
.page-blog-mastering-online-slots__winning-strategies-section,
.page-blog-mastering-online-slots__responsible-gaming-section,
.page-blog-mastering-online-slots__faq-section,
.page-blog-mastering-online-slots__conclusion-section {
  padding: 40px 0;
}

.page-blog-mastering-online-slots__why-plus777-section .page-blog-mastering-online-slots__container,
.page-blog-mastering-online-slots__winning-strategies-section .page-blog-mastering-online-slots__container {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-blog-mastering-online-slots__card,
.page-blog-mastering-online-slots__strategy-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-mastering-online-slots__card:hover,
.page-blog-mastering-online-slots__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-mastering-online-slots__card-image,
.page-blog-mastering-online-slots__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-blog-mastering-online-slots__card-title,
.page-blog-mastering-online-slots__strategy-title {
  font-size: 1.5em;
  color: #8B0000;
  margin: 20px 15px 10px 15px;
}

.page-blog-mastering-online-slots__card-text,
.page-blog-mastering-online-slots__strategy-text {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px 15px;
}

.page-blog-mastering-online-slots__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-mastering-online-slots__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-blog-mastering-online-slots__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-mastering-online-slots__image-center {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-mastering-online-slots__link-button {
  display: inline-block;
  background-color: #8B0000; /* Secondary brand color */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-blog-mastering-online-slots__link-button:hover {
  background-color: #6a0000; /* Slightly darker red on hover */
}

.page-blog-mastering-online-slots__faq-list {
  margin-top: 30px;
}

.page-blog-mastering-online-slots__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-blog-mastering-online-slots__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-mastering-online-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #8B0000;
  cursor: pointer;
  background-color: #fefefe;
  border-bottom: 1px solid #eee;
}

.page-blog-mastering-online-slots__faq-question:hover {
  background-color: #fffaf0;
}

.page-blog-mastering-online-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
}

.page-blog-mastering-online-slots__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

/* Ensure all images and buttons are responsive */
.page-blog-mastering-online-slots img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}

.page-blog-mastering-online-slots__hero-button,
.page-blog-mastering-online-slots__cta-button,
.page-blog-mastering-online-slots__link-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-mastering-online-slots__hero-title {
    font-size: clamp(2em, 4vw, 2.5em);
  }
  .page-blog-mastering-online-slots__hero-description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }
  .page-blog-mastering-online-slots__section-title {
    font-size: 2em;
  }
  .page-blog-mastering-online-slots__grid,
  .page-blog-mastering-online-slots__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-mastering-online-slots__hero-content {
    padding: 20px 15px;
  }
  .page-blog-mastering-online-slots__hero-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
  }
  .page-blog-mastering-online-slots__hero-description {
    font-size: clamp(0.85em, 2.5vw, 1em);
  }
  .page-blog-mastering-online-slots__hero-button,
  .page-blog-mastering-online-slots__cta-button,
  .page-blog-mastering-online-slots__link-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog-mastering-online-slots__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-blog-mastering-online-slots__text-block,
  .page-blog-mastering-online-slots__list li,
  .page-blog-mastering-online-slots__card-text,
  .page-blog-mastering-online-slots__strategy-text,
  .page-blog-mastering-online-slots__faq-answer {
    font-size: 0.95em;
  }
  .page-blog-mastering-online-slots__grid,
  .page-blog-mastering-online-slots__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-mastering-online-slots__card-image,
  .page-blog-mastering-online-slots__strategy-image {
    height: 200px;
  }
  .page-blog-mastering-online-slots__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-blog-mastering-online-slots__container {
    padding: 15px;
  }
  /* Ensure all content area images do not cause overflow */
  .page-blog-mastering-online-slots__hero-section img,
  .page-blog-mastering-online-slots__introduction-section img,
  .page-blog-mastering-online-slots__why-plus777-section img,
  .page-blog-mastering-online-slots__understanding-slots-section img,
  .page-blog-mastering-online-slots__winning-strategies-section img,
  .page-blog-mastering-online-slots__responsible-gaming-section img,
  .page-blog-mastering-online-slots__faq-section img,
  .page-blog-mastering-online-slots__conclusion-section img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
  }
}