.page-live-baccarat {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff; /* Default light background for content sections */
}

.page-live-baccarat__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-live-baccarat__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-live-baccarat__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-live-baccarat__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
}

.page-live-baccarat__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-live-baccarat__hero-content {
  padding: 30px 20px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above image if any overlap */
}

.page-live-baccarat__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
}

.page-live-baccarat__hero-description {
  font-size: 1.15rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-live-baccarat__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.page-live-baccarat__btn-primary,
.page-live-baccarat__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-live-baccarat__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-live-baccarat__btn-primary:hover {
  background-color: #d16b06;
}

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

.page-live-baccarat__btn-secondary:hover {
  background-color: #e6f7ff;
  color: #1e87c0;
}

.page-live-baccarat__section {
  padding: 60px 0;
}

.page-live-baccarat__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-live-baccarat__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: inherit;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-live-baccarat__text-block {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: inherit;
}

.page-live-baccarat__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: inherit;
}

.page-live-baccarat__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 15px;
  color: inherit;
}

.page-live-baccarat__list-item {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-live-baccarat__two-column-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-live-baccarat__content-block {
  flex: 1;
}

.page-live-baccarat__image-block {
  flex: 1;
  text-align: center;
}

.page-live-baccarat__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live-baccarat__mt-20 {
  margin-top: 20px;
}

.page-live-baccarat__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-baccarat__card,
.page-live-baccarat__promo-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live-baccarat__card-image,
.page-live-baccarat__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-live-baccarat__card-title,
.page-live-baccarat__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-live-baccarat__card-text,
.page-live-baccarat__promo-text {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live-baccarat__promo-card .page-live-baccarat__btn-secondary {
  margin-top: auto;
  align-self: center;
}

.page-live-baccarat__center-content {
  text-align: center;
}

.page-live-baccarat__faq-list {
  margin-top: 30px;
}

.page-live-baccarat__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live-baccarat__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-live-baccarat__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-live-baccarat__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-live-baccarat__faq-qtext {
  flex-grow: 1;
}

.page-live-baccarat__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-live-baccarat__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-live-baccarat__two-column-layout {
    flex-direction: column;
  }
  .page-live-baccarat__reverse-on-mobile {
    flex-direction: column-reverse;
  }
  .page-live-baccarat__hero-content {
    padding: 20px;
  }
  .page-live-baccarat__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }
  .page-live-baccarat__section-title {
    font-size: 2rem;
  }
  .page-live-baccarat__subsection-title {
    font-size: 1.5rem;
  }
  .page-live-baccarat__hero-description,
  .page-live-baccarat__text-block,
  .page-live-baccarat__list-item {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    padding-bottom: 40px;
  }
  .page-live-baccarat__section {
    padding: 40px 0;
  }
  .page-live-baccarat__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-live-baccarat__main-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  .page-live-baccarat__hero-description {
    font-size: 0.95rem;
  }
  .page-live-baccarat__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-live-baccarat__subsection-title {
    font-size: 1.3rem;
  }
  .page-live-baccarat__text-block,
  .page-live-baccarat__list-item {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-live-baccarat img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-live-baccarat__hero-image-wrapper,
  .page-live-baccarat__image-block,
  .page-live-baccarat__card,
  .page-live-baccarat__promo-card,
  .page-live-baccarat__section,
  .page-live-baccarat__container,
  .page-live-baccarat__two-column-layout {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-live-baccarat__cta-button,
  .page-live-baccarat__btn-primary,
  .page-live-baccarat__btn-secondary,
  .page-live-baccarat a[class*="button"],
  .page-live-baccarat 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-live-baccarat__cta-buttons,
  .page-live-baccarat__button-group,
  .page-live-baccarat__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: 10px !important;
  }
  
  .page-live-baccarat__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-live-baccarat__faq-answer {
    padding: 0 20px 15px;
  }
}