/* style/blog-understanding-online-slots.css */

/* Base styles for the page content */
.page-blog-understanding-online-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
}

.page-blog-understanding-online-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-understanding-online-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
}

.page-blog-understanding-online-slots__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-blog-understanding-online-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-understanding-online-slots__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
}

.page-blog-understanding-online-slots__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-blog-understanding-online-slots__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Area */
.page-blog-understanding-online-slots__content-area {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-blog-understanding-online-slots__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 25px;
  margin-top: 40px;
  line-height: 1.3;
}

.page-blog-understanding-online-slots__content-area p {
  font-size: 1.05em;
  margin-bottom: 1em;
  color: #333333;
}

.page-blog-understanding-online-slots__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-blog-understanding-online-slots__list li {
  margin-bottom: 0.5em;
  font-size: 1.05em;
}

.page-blog-understanding-online-slots__list strong {
  color: #017439;
}

/* CTA Section */
.page-blog-understanding-online-slots__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-blog-understanding-online-slots__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog-understanding-online-slots__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog-understanding-online-slots__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-blog-understanding-online-slots__btn-primary,
.page-blog-understanding-online-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-understanding-online-slots__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-understanding-online-slots__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-2px);
}

.page-blog-understanding-online-slots__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-understanding-online-slots__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
}

.page-blog-understanding-online-slots__btn-spacing {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-understanding-online-slots__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-blog-understanding-online-slots__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-understanding-online-slots__hero-section,
  .page-blog-understanding-online-slots__content-area,
  .page-blog-understanding-online-slots__cta-section {
    padding: 40px 15px;
  }
  
  .page-blog-understanding-online-slots__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-blog-understanding-online-slots__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }

  .page-blog-understanding-online-slots__intro-text,
  .page-blog-understanding-online-slots__content-area p,
  .page-blog-understanding-online-slots__list li,
  .page-blog-understanding-online-slots__cta-description {
    font-size: 1em;
  }

  .page-blog-understanding-online-slots__section-title {
    font-size: 1.8em;
  }

  .page-blog-understanding-online-slots__cta-title {
    font-size: 1.8em;
  }

  .page-blog-understanding-online-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-understanding-online-slots__btn-primary,
  .page-blog-understanding-online-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-blog-understanding-online-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }
  
  .page-blog-understanding-online-slots__hero-image-wrapper,
  .page-blog-understanding-online-slots__container,
  .page-blog-understanding-online-slots__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }
}

@media (max-width: 480px) {
  .page-blog-understanding-online-slots__hero-section,
  .page-blog-understanding-online-slots__content-area,
  .page-blog-understanding-online-slots__cta-section {
    padding: 30px 10px;
  }

  .page-blog-understanding-online-slots__main-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }

  .page-blog-understanding-online-slots__section-title {
    font-size: 1.6em;
  }

  .page-blog-understanding-online-slots__cta-title {
    font-size: 1.6em;
  }
}