/* style/blog-f8bet-latest-news.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content, ensuring contrast with body background */
.page-blog-f8bet-latest-news {
  color: var(--text-main); /* Light text for dark body background */
  background-color: transparent; /* Body handles its own background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-f8bet-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-f8bet-latest-news__section {
  padding: 60px 0;
}

.page-blog-f8bet-latest-news__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-f8bet-latest-news__text-block {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-f8bet-latest-news__text-link {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-blog-f8bet-latest-news__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Buttons */
.page-blog-f8bet-latest-news__btn-primary,
.page-blog-f8bet-latest-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-blog-f8bet-latest-news__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-f8bet-latest-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-f8bet-latest-news__btn-secondary {
  background: var(--card-bg);
  color: var(--gold-color);
  border: 2px solid var(--border-color);
  margin-left: 20px;
}

.page-blog-f8bet-latest-news__btn-secondary:hover {
  background: var(--deep-green);
  border-color: var(--gold-color);
  color: var(--text-main);
}

.page-blog-f8bet-latest-news__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Hero Section */
.page-blog-f8bet-latest-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog-f8bet-latest-news__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

.page-blog-f8bet-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-blog-f8bet-latest-news__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-f8bet-latest-news__hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-blog-f8bet-latest-news__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Introduction Section */
.page-blog-f8bet-latest-news__introduction-section .page-blog-f8bet-latest-news__text-block {
  text-align: left;
}

/* Benefits Section */
.page-blog-f8bet-latest-news__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-f8bet-latest-news__benefit-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-blog-f8bet-latest-news__benefit-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog-f8bet-latest-news__benefit-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-f8bet-latest-news__benefit-item p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Games Section */
.page-blog-f8bet-latest-news__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-f8bet-latest-news__game-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.page-blog-f8bet-latest-news__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog-f8bet-latest-news__game-title {
  font-size: 22px;
  color: var(--gold-color);
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-blog-f8bet-latest-news__game-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-blog-f8bet-latest-news__game-title a:hover {
  text-decoration: underline;
}

.page-blog-f8bet-latest-news__game-card p {
  color: var(--text-secondary);
  font-size: 16px;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-blog-f8bet-latest-news__view-all-games {
  text-align: center;
  margin-top: 40px;
}

/* Registration Guide Section */
.page-blog-f8bet-latest-news__registration-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-blog-f8bet-latest-news__registration-steps li {
  background: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-blog-f8bet-latest-news__step-number {
  background: var(--gold-color);
  color: var(--deep-green);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Promotions Section */
.page-blog-f8bet-latest-news__promotions-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 900px;
  margin: 20px auto;
  color: var(--text-secondary);
}

.page-blog-f8bet-latest-news__promotions-list li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Download App Section */
.page-blog-f8bet-latest-news__download-app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-blog-f8bet-latest-news__download-text-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-blog-f8bet-latest-news__download-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-blog-f8bet-latest-news__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* FAQ Section */
.page-blog-f8bet-latest-news__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-blog-f8bet-latest-news__faq-item {
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-blog-f8bet-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-color);
  cursor: pointer;
  user-select: none;
  background: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-blog-f8bet-latest-news__faq-item[open] .page-blog-f8bet-latest-news__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-blog-f8bet-latest-news__faq-qtext {
  flex-grow: 1;
}

.page-blog-f8bet-latest-news__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-blog-f8bet-latest-news__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  color: var(--text-secondary);
}

.page-blog-f8bet-latest-news__faq-item details > summary {
  list-style: none;
}

.page-blog-f8bet-latest-news__faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* Final CTA Section */
.page-blog-f8bet-latest-news__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-f8bet-latest-news__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-blog-f8bet-latest-news__hero-title {
    font-size: clamp(30px, 4vw, 50px);
  }

  .page-blog-f8bet-latest-news__hero-description {
    font-size: 18px;
  }

  .page-blog-f8bet-latest-news__section-title {
    font-size: clamp(26px, 3.2vw, 38px);
  }

  .page-blog-f8bet-latest-news__benefits-list,
  .page-blog-f8bet-latest-news__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-blog-f8bet-latest-news__download-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-blog-f8bet-latest-news__download-text-wrapper {
    order: 2;
  }
  .page-blog-f8bet-latest-news__download-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog-f8bet-latest-news__section {
    padding: 40px 0;
  }

  .page-blog-f8bet-latest-news__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-f8bet-latest-news__hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-blog-f8bet-latest-news__hero-description {
    font-size: 16px;
  }

  .page-blog-f8bet-latest-news__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-f8bet-latest-news__btn-primary,
  .page-blog-f8bet-latest-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-blog-f8bet-latest-news__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-f8bet-latest-news__text-block {
    font-size: 16px;
    text-align: left;
  }

  .page-blog-f8bet-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-f8bet-latest-news__benefits-list,
  .page-blog-f8bet-latest-news__game-categories {
    grid-template-columns: 1fr;
  }

  .page-blog-f8bet-latest-news__benefit-item,
  .page-blog-f8bet-latest-news__game-card,
  .page-blog-f8bet-latest-news__registration-steps li,
  .page-blog-f8bet-latest-news__faq-item {
    padding: 20px;
  }

  .page-blog-f8bet-latest-news__faq-question {
    font-size: 18px;
    padding: 15px;
  }

  .page-blog-f8bet-latest-news__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-blog-f8bet-latest-news__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-blog-f8bet-latest-news__game-image {
    height: auto; /* Allow height to adjust on mobile */
  }
}

@media (max-width: 480px) {
  .page-blog-f8bet-latest-news__section-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .page-blog-f8bet-latest-news__hero-title {
    font-size: clamp(26px, 8vw, 36px);
  }

  .page-blog-f8bet-latest-news__benefit-title {
    font-size: 20px;
  }

  .page-blog-f8bet-latest-news__game-title {
    font-size: 18px;
  }

  .page-blog-f8bet-latest-news__faq-question {
    font-size: 16px;
  }
}