/* style/baccarat-guide.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-baccarat-guide {
  color: #ffffff; /* Default text color for the page, as body background is dark */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body, or define if section has specific background */
}

.page-baccarat-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-baccarat-guide__sub-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-baccarat-guide__heading-4 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #ffffff; /* Ensure visibility on dark backgrounds */
}

.page-baccarat-guide__highlight {
  color: #EA7C07; /* Login/highlight color */
  font-weight: bold;
}

.page-baccarat-guide__link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Hero Section */
.page-baccarat-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a1a; /* Dark background for hero */
  overflow: hidden;
}

.page-baccarat-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-baccarat-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-baccarat-guide__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  color: #ffffff;
}

.page-baccarat-guide__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
}

.page-baccarat-guide__description {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-baccarat-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-baccarat-guide__btn-primary,
.page-baccarat-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-baccarat-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-baccarat-guide__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-baccarat-guide__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-baccarat-guide__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1e87b3;
  border-color: #1e87b3;
}

.page-baccarat-guide__btn-register {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #ffffff;
}

.page-baccarat-guide__btn-register:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

.page-baccarat-guide__btn-login {
  background-color: #ffffff;
  color: #EA7C07;
  border-color: #EA7C07;
}

.page-baccarat-guide__btn-login:hover {
  background-color: #f0f0f0;
  color: #c96a06;
  border-color: #c96a06;
}

/* Introduction Section */
.page-baccarat-guide__introduction {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background */
  color: #333333;
}

.page-baccarat-guide__introduction .page-baccarat-guide__section-title {
  color: #26A9E0;
}

/* Rules Section */
.page-baccarat-guide__rules {
  padding: 60px 0;
  background-color: #1e1e1e; /* Dark background */
  color: #ffffff;
}

.page-baccarat-guide__rules .page-baccarat-guide__section-title {
  color: #26A9E0;
}

.page-baccarat-guide__rules .page-baccarat-guide__sub-title {
  color: #ffffff;
}

.page-baccarat-guide__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-baccarat-guide__list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-baccarat-guide__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Strategies Section */
.page-baccarat-guide__strategies {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-baccarat-guide__strategies .page-baccarat-guide__section-title {
  color: #26A9E0;
}

/* Tips Section */
.page-baccarat-guide__tips {
  padding: 60px 0;
  background-color: #1e1e1e; /* Dark background */
  color: #ffffff;
}

.page-baccarat-guide__tips .page-baccarat-guide__section-title {
  color: #26A9E0;
}

.page-baccarat-guide__tips .page-baccarat-guide__sub-title {
  color: #ffffff;
}

.page-baccarat-guide__tips .page-baccarat-guide__list li {
  color: #f0f0f0;
}

/* FAQ Section */
.page-baccarat-guide__faq {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background */
  color: #333333;
}

.page-baccarat-guide__faq .page-baccarat-guide__section-title {
  color: #26A9E0;
}

.page-baccarat-guide__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-baccarat-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-baccarat-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-baccarat-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-baccarat-guide__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-baccarat-guide__faq-item[open] .page-baccarat-guide__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-baccarat-guide__faq-answer {
  padding: 15px 25px;
  font-size: 16px;
  color: #555555;
  background-color: #fdfdfd;
  border-top: none;
}

/* CTA Bottom Section */
.page-baccarat-guide__cta-bottom {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  text-align: center;
}

.page-baccarat-guide__cta-bottom .page-baccarat-guide__section-title {
  color: #ffffff;
}

.page-baccarat-guide__cta-bottom .page-baccarat-guide__description {
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-baccarat-guide__main-title {
    font-size: clamp(28px, 4vw, 48px);
  }

  .page-baccarat-guide__description {
    font-size: clamp(15px, 1.8vw, 18px);
  }

  .page-baccarat-guide__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }

  .page-baccarat-guide__sub-title {
    font-size: clamp(20px, 2.5vw, 26px);
  }

  .page-baccarat-guide__heading-4 {
    font-size: clamp(16px, 2vw, 20px);
  }
}

@media (max-width: 768px) {
  .page-baccarat-guide__hero-section,
  .page-baccarat-guide__introduction,
  .page-baccarat-guide__rules,
  .page-baccarat-guide__strategies,
  .page-baccarat-guide__tips,
  .page-baccarat-guide__faq,
  .page-baccarat-guide__cta-bottom {
    padding: 40px 0;
  }

  .page-baccarat-guide__container {
    padding: 0 15px !important;
  }

  /* Mobile image responsiveness */
  .page-baccarat-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-baccarat-guide__hero-image-wrapper,
  .page-baccarat-guide__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-baccarat-guide__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-baccarat-guide__btn-primary,
  .page-baccarat-guide__btn-secondary,
  .page-baccarat-guide a[class*="button"],
  .page-baccarat-guide 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;
  }

  /* Text readability on mobile */
  .page-baccarat-guide p,
  .page-baccarat-guide li,
  .page-baccarat-guide__description {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .page-baccarat-guide__faq-question {
    font-size: 16px !important;
    padding: 15px 20px;
  }

  .page-baccarat-guide__faq-answer {
    font-size: 15px !important;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-baccarat-guide__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-baccarat-guide__section-title {
    font-size: clamp(20px, 5vw, 30px);
  }
  .page-baccarat-guide__sub-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  .page-baccarat-guide__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-baccarat-guide__cta-buttons {
    padding: 0;
  }
}