/* style/game-guides-craps-for-beginners.css */

/* Base styles for the page content */
.page-game-guides-craps-for-beginners {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #404040; /* Font color */
  background-color: #F3F3F3; /* Background color */
}

.page-game-guides-craps-for-beginners__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-game-guides-craps-for-beginners__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Rely on body padding-top for header offset */
}

.page-game-guides-craps-for-beginners__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-game-guides-craps-for-beginners__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 2;
}

.page-game-guides-craps-for-beginners__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-game-guides-craps-for-beginners__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-game-guides-craps-for-beginners__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #E5EEFD;
}

/* CTA Buttons */
.page-game-guides-craps-for-beginners__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides-craps-for-beginners__cta-button--primary {
  background-color: #1266EC; /* Register color */
  color: #FFFFFF;
  border: 2px solid #1266EC;
}

.page-game-guides-craps-for-beginners__cta-button--primary:hover {
  background-color: #025BE8;
  border-color: #025BE8;
  transform: translateY(-2px);
}

.page-game-guides-craps-for-beginners__cta-button--secondary {
  background-color: #E5EEFD; /* Login color */
  color: #1266EC;
  border: 2px solid #E5EEFD;
  margin-top: 15px;
}

.page-game-guides-craps-for-beginners__cta-button--secondary:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Section Titles */
.page-game-guides-craps-for-beginners__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #025BE8;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-game-guides-craps-for-beginners__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #025BE8;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides-craps-for-beginners h4 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #404040;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-game-guides-craps-for-beginners__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #404040;
}

/* Image Styling */
.page-game-guides-craps-for-beginners__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* List Styling */
.page-game-guides-craps-for-beginners__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-game-guides-craps-for-beginners__list-item {
  background-color: #FFFFFF;
  border-left: 5px solid #025BE8;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides-craps-for-beginners__list-title {
  color: #025BE8;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-guides-craps-for-beginners__list-text {
  font-size: 1rem;
  color: #404040;
}

/* Background Colors for Sections */
.page-game-guides-craps-for-beginners__light-bg {
  background-color: #F3F3F3;
}

/* FAQ Section */
.page-game-guides-craps-for-beginners__faq-list {
  margin-top: 30px;
}

.page-game-guides-craps-for-beginners__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-game-guides-craps-for-beginners__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-game-guides-craps-for-beginners__faq-question:hover {
  background-color: #F8F8F8;
}

.page-game-guides-craps-for-beginners__faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #025BE8;
}

.page-game-guides-craps-for-beginners__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #025BE8;
  transition: transform 0.3s ease;
}

.page-game-guides-craps-for-beginners__faq-item.active .page-game-guides-craps-for-beginners__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides-craps-for-beginners__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #404040;
}

.page-game-guides-craps-for-beginners__faq-item.active .page-game-guides-craps-for-beginners__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px 20px;
}

.page-game-guides-craps-for-beginners__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-guides-craps-for-beginners {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides-craps-for-beginners__container {
    padding: 15px;
  }

  .page-game-guides-craps-for-beginners__hero-section {
    min-height: 400px;
    padding: 10px 0 30px 0;
  }

  .page-game-guides-craps-for-beginners__hero-content {
    padding: 15px;
  }

  .page-game-guides-craps-for-beginners__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-game-guides-craps-for-beginners__hero-description {
    font-size: 1rem;
  }

  .page-game-guides-craps-for-beginners__cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides-craps-for-beginners__cta-button--secondary {
    margin-top: 10px;
  }

  .page-game-guides-craps-for-beginners__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-game-guides-craps-for-beginners__sub-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides-craps-for-beginners__text-block {
    font-size: 1rem;
  }

  .page-game-guides-craps-for-beginners h4 {
    font-size: 1.2rem;
  }

  /* Image responsive */
  .page-game-guides-craps-for-beginners img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  /* Container padding for mobile */
  .page-game-guides-craps-for-beginners__intro-section,
  .page-game-guides-craps-for-beginners__layout-bets-section,
  .page-game-guides-craps-for-beginners__how-to-play-section,
  .page-game-guides-craps-for-beginners__etiquette-tips-section,
  .page-game-guides-craps-for-beginners__mastering-section,
  .page-game-guides-craps-for-beginners__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  .page-game-guides-craps-for-beginners__list-item {
    padding: 15px;
  }

  .page-game-guides-craps-for-beginners__faq-question {
    padding: 15px;
  }

  .page-game-guides-craps-for-beginners__faq-question h3 {
    font-size: 1rem;
  }

  .page-game-guides-craps-for-beginners__faq-toggle {
    font-size: 1.5rem;
  }

  .page-game-guides-craps-for-beginners__faq-answer {
    padding: 0 15px;
  }

  .page-game-guides-craps-for-beginners__faq-item.active .page-game-guides-craps-for-beginners__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}