/* style/blog-6171-bet-beginner-guide.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-bg: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --background-main: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
}

/* Assuming body { padding-top: var(--header-offset); } is in shared.css */
/* The main page content will be on a dark background based on brand colors */
.page-blog-6171-bet-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-main); /* Main background color for the page */
}

.page-blog-6171-bet-beginner-guide__dark-bg {
  background-color: var(--background-main);
  color: var(--text-main);
}

.page-blog-6171-bet-beginner-guide__light-bg {
  background-color: #ffffff; /* Use white for contrast sections */
  color: #333333; /* Dark text for light background */
}

.page-blog-6171-bet-beginner-guide__hero-section {
  position: relative;
  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;
  background-color: var(--background-main);
}

.page-blog-6171-bet-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-6171-bet-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-6171-bet-beginner-guide__hero-content {
  max-width: 900px;
  padding: 20px;
  position: relative; /* Ensure content is not absolutely positioned over image */
  z-index: 2;
}

.page-blog-6171-bet-beginner-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-blog-6171-bet-beginner-guide__subtitle {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-6171-bet-beginner-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

.page-blog-6171-bet-beginner-guide__btn-primary {
  background: var(--button-bg);
  color: var(--deep-red);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-blog-6171-bet-beginner-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
  filter: brightness(1.1);
}

.page-blog-6171-bet-beginner-guide__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-blog-6171-bet-beginner-guide__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--deep-red);
  transform: translateY(-3px);
}

.page-blog-6171-bet-beginner-guide__section {
  padding: 60px 0;
}

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

.page-blog-6171-bet-beginner-guide__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit from section, ensuring contrast */
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__section-title {
  color: var(--primary-color);
}

.page-blog-6171-bet-beginner-guide__dark-bg .page-blog-6171-bet-beginner-guide__section-title {
  color: var(--gold-color);
}

.page-blog-6171-bet-beginner-guide__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__paragraph {
  color: #333333;
}

.page-blog-6171-bet-beginner-guide__dark-bg .page-blog-6171-bet-beginner-guide__paragraph {
  color: var(--text-main);
}

.page-blog-6171-bet-beginner-guide__features,
.page-blog-6171-bet-beginner-guide__steps,
.page-blog-6171-bet-beginner-guide__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-6171-bet-beginner-guide__feature-item,
.page-blog-6171-bet-beginner-guide__category-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__feature-item,
.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__category-card {
  background-color: #f5f5f5;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-blog-6171-bet-beginner-guide__feature-icon,
.page-blog-6171-bet-beginner-guide__category-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Recommended size */
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-6171-bet-beginner-guide__feature-title,
.page-blog-6171-bet-beginner-guide__category-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__feature-title,
.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__category-title {
  color: var(--primary-color);
}

.page-blog-6171-bet-beginner-guide__feature-description,
.page-blog-6171-bet-beginner-guide__category-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-blog-6171-bet-beginner-guide__step-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-6171-bet-beginner-guide__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--button-bg);
  color: var(--deep-red);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-blog-6171-bet-beginner-guide__step-title {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-6171-bet-beginner-guide__step-description {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-blog-6171-bet-beginner-guide__strategy-list,
.page-blog-6171-bet-beginner-guide__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-blog-6171-bet-beginner-guide__strategy-item,
.page-blog-6171-bet-beginner-guide__responsible-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-blog-6171-bet-beginner-guide__strategy-item::before,
.page-blog-6171-bet-beginner-guide__responsible-item::before {
  content: '✔';
  color: var(--gold-color);
  font-weight: bold;
  font-size: 1.3rem;
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__strategy-item,
.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__responsible-item {
  background-color: #f0f0f0;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-blog-6171-bet-beginner-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-blog-6171-bet-beginner-guide__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-blog-6171-bet-beginner-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__faq-item {
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
}

.page-blog-6171-bet-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--gold-color);
  user-select: none;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__faq-question {
  color: var(--primary-color);
}

.page-blog-6171-bet-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-6171-bet-beginner-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-6171-bet-beginner-guide__faq-item[open] .page-blog-6171-bet-beginner-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-6171-bet-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-main);
}

.page-blog-6171-bet-beginner-guide__light-bg .page-blog-6171-bet-beginner-guide__faq-answer {
  color: #333333;
}

.page-blog-6171-bet-beginner-guide__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog-6171-bet-beginner-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-6171-bet-beginner-guide__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-6171-bet-beginner-guide__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-6171-bet-beginner-guide__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-blog-6171-bet-beginner-guide__subtitle {
    font-size: 1rem;
  }

  .page-blog-6171-bet-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-6171-bet-beginner-guide__btn-primary,
  .page-blog-6171-bet-beginner-guide__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog-6171-bet-beginner-guide__section {
    padding: 40px 0;
  }

  .page-blog-6171-bet-beginner-guide__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog-6171-bet-beginner-guide__paragraph {
    font-size: 0.95rem;
  }

  .page-blog-6171-bet-beginner-guide__features,
  .page-blog-6171-bet-beginner-guide__steps,
  .page-blog-6171-bet-beginner-guide__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-6171-bet-beginner-guide__feature-item,
  .page-blog-6171-bet-beginner-guide__category-card,
  .page-blog-6171-bet-beginner-guide__step-item {
    padding: 25px;
  }

  .page-blog-6171-bet-beginner-guide__feature-title,
  .page-blog-6171-bet-beginner-guide__category-title {
    font-size: 1.3rem;
  }

  .page-blog-6171-bet-beginner-guide__step-title {
    font-size: 1.4rem;
  }

  .page-blog-6171-bet-beginner-guide__strategy-item,
  .page-blog-6171-bet-beginner-guide__responsible-item {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-blog-6171-bet-beginner-guide__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-blog-6171-bet-beginner-guide__faq-answer {
    padding: 0 15px 15px;
  }

  /* Image and video responsiveness */
  .page-blog-6171-bet-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-6171-bet-beginner-guide video,
  .page-blog-6171-bet-beginner-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-6171-bet-beginner-guide__hero-image-wrapper,
  .page-blog-6171-bet-beginner-guide__section,
  .page-blog-6171-bet-beginner-guide__card,
  .page-blog-6171-bet-beginner-guide__container,
  .page-blog-6171-bet-beginner-guide__video-section,
  .page-blog-6171-bet-beginner-guide__video-container,
  .page-blog-6171-bet-beginner-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-6171-bet-beginner-guide__video-section {
    padding-top: 10px !important;
  }

  .page-blog-6171-bet-beginner-guide__cta-buttons,
  .page-blog-6171-bet-beginner-guide__button-group,
  .page-blog-6171-bet-beginner-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-blog-6171-bet-beginner-guide__cta-buttons {
    flex-direction: column;
  }
}