/* style/blog-legabet-latest-promotions.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login-color: #EA7C07;
  --black-color: #000000;
}

/* Body background is var(--black-color), so main content text should be light */
.page-blog-legabet-latest-promotions {
  color: var(--text-light); /* Default text color for the page */
  background-color: var(--black-color);
}

.page-blog-legabet-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-blog-legabet-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-legabet-latest-promotions__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-legabet-latest-promotions__hero-content {
  max-width: 90%;
  width: 100%;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-legabet-latest-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-blog-legabet-latest-promotions__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-blog-legabet-latest-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog-legabet-latest-promotions__btn-primary,
.page-blog-legabet-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-legabet-latest-promotions__btn-primary {
  background-color: var(--button-login-color);
  color: var(--secondary-color);
  border: 2px solid var(--button-login-color);
}

.page-blog-legabet-latest-promotions__btn-primary:hover {
  background-color: darken(var(--button-login-color), 10%);
  border-color: darken(var(--button-login-color), 10%);
}

.page-blog-legabet-latest-promotions__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-blog-legabet-latest-promotions__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog-legabet-latest-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--secondary-color); /* Light background for content */
  color: var(--text-dark); /* Dark text for content */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -30px; /* Overlap with hero section slightly */
  position: relative;
  z-index: 1;
}

.page-blog-legabet-latest-promotions__article h2,
.page-blog-legabet-latest-promotions__article h3 {
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-legabet-latest-promotions__article p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-blog-legabet-latest-promotions__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-blog-legabet-latest-promotions__inline-link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-blog-legabet-latest-promotions__image-card {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  background-color: var(--secondary-color);
}

.page-blog-legabet-latest-promotions__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-legabet-latest-promotions__image-caption {
  padding: 15px;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: center;
}

.page-blog-legabet-latest-promotions__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-blog-legabet-latest-promotions__faq-section {
  padding: 40px 20px;
  background-color: var(--secondary-color); /* Light background for FAQ */
  color: var(--text-dark);
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-legabet-latest-promotions__faq-list {
  margin-top: 20px;
}

.page-blog-legabet-latest-promotions__faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.page-blog-legabet-latest-promotions__faq-item:last-child {
  border-bottom: none;
}

.page-blog-legabet-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  list-style: none;
  padding-right: 10px;
}

.page-blog-legabet-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-legabet-latest-promotions__faq-qtext {
  flex-grow: 1;
}

.page-blog-legabet-latest-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-legabet-latest-promotions__faq-item[open] .page-blog-legabet-latest-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-legabet-latest-promotions__faq-answer {
  padding-top: 10px;
  line-height: 1.6;
  color: #555;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-legabet-latest-promotions__hero-content {
    max-width: 95%;
  }
  .page-blog-legabet-latest-promotions__content-area,
  .page-blog-legabet-latest-promotions__faq-section {
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-legabet-latest-promotions__main-title {
    font-size: 2rem;
  }
  .page-blog-legabet-latest-promotions__intro-text {
    font-size: 1rem;
  }
  .page-blog-legabet-latest-promotions__btn-primary,
  .page-blog-legabet-latest-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
  }
  .page-blog-legabet-latest-promotions__cta-buttons {
    flex-direction: column;
  }
  .page-blog-legabet-latest-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-legabet-latest-promotions__content-area,
  .page-blog-legabet-latest-promotions__faq-section {
    padding: 20px 15px;
  }
  .page-blog-legabet-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-legabet-latest-promotions__hero-image-wrapper,
  .page-blog-legabet-latest-promotions__image-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-blog-legabet-latest-promotions__main-title {
    font-size: 1.75rem;
  }
  .page-blog-legabet-latest-promotions__section-title {
    font-size: 1.3rem;
  }
}