/* style/blog-c8bet-code-latest-offers.css */

/* Biến màu */
:root {
  --c8bet-primary: #11A84E;
  --c8bet-secondary: #22C768;
  --c8bet-card-bg: #11271B;
  --c8bet-background: #08160F;
  --c8bet-text-main: #F2FFF6;
  --c8bet-text-secondary: #A7D9B8;
  --c8bet-border: #2E7A4E;
  --c8bet-glow: #57E38D;
  --c8bet-gold: #F2C14E;
  --c8bet-divider: #1E3A2A;
  --c8bet-deep-green: #0A4B2C;
  --c8bet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-c8bet-code-latest-offers {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--c8bet-text-main); /* Mặc định cho toàn bộ trang */
  background-color: var(--c8bet-background); /* Background chính của trang */
}

.page-blog-c8bet-code-latest-offers__dark-bg {
  background-color: var(--c8bet-background);
  color: var(--c8bet-text-main);
}

.page-blog-c8bet-code-latest-offers__light-bg {
  background-color: #f5f5f5; /* Nền sáng để tạo độ tương phản */
  color: #333333; /* Chữ tối trên nền sáng */
}

.page-blog-c8bet-code-latest-offers__light-bg .page-blog-c8bet-code-latest-offers__section-title,
.page-blog-c8bet-code-latest-offers__light-bg .page-blog-c8bet-code-latest-offers__sub-title,
.page-blog-c8bet-code-latest-offers__light-bg .page-blog-c8bet-code-latest-offers__card-title {
  color: #000000; /* Đảm bảo tiêu đề rõ ràng trên nền sáng */
}

.page-blog-c8bet-code-latest-offers__light-bg a {
  color: var(--c8bet-primary); /* Liên kết trên nền sáng */
}

.page-blog-c8bet-code-latest-offers__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-c8bet-code-latest-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
  overflow: hidden;
}

.page-blog-c8bet-code-latest-offers__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao hình ảnh hero */
  overflow: hidden;
}

.page-blog-c8bet-code-latest-offers__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-c8bet-code-latest-offers__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Kéo nội dung lên một chút để gần hình ảnh hơn */
  background: rgba(8, 22, 15, 0.8); /* Nền tối nhẹ để chữ nổi bật */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-blog-c8bet-code-latest-offers__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  color: var(--c8bet-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-c8bet-code-latest-offers__description {
  font-size: 1.1em;
  color: var(--c8bet-text-main);
  margin-bottom: 30px;
}

.page-blog-c8bet-code-latest-offers__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  color: var(--c8bet-gold);
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-c8bet-code-latest-offers__sub-title {
  font-size: clamp(1.4em, 3vw, 2em);
  font-weight: 600;
  color: var(--c8bet-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-c8bet-code-latest-offers__btn-primary,
.page-blog-c8bet-code-latest-offers__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog-c8bet-code-latest-offers__btn-primary {
  background: var(--c8bet-button-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-c8bet-code-latest-offers__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog-c8bet-code-latest-offers__btn-secondary {
  background-color: transparent;
  color: var(--c8bet-primary);
  border: 2px solid var(--c8bet-primary);
}

.page-blog-c8bet-code-latest-offers__btn-secondary:hover {
  background-color: var(--c8bet-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog-c8bet-code-latest-offers__list,
.page-blog-c8bet-code-latest-offers__bullet-list {
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.page-blog-c8bet-code-latest-offers__list li,
.page-blog-c8bet-code-latest-offers__bullet-list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-blog-c8bet-code-latest-offers__image-with-text {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-blog-c8bet-code-latest-offers__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

.page-blog-c8bet-code-latest-offers__text-block {
  flex: 1;
  max-width: 50%;
}

.page-blog-c8bet-code-latest-offers__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-c8bet-code-latest-offers__card {
  background-color: var(--c8bet-card-bg);
  border: 1px solid var(--c8bet-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--c8bet-text-main);
}

.page-blog-c8bet-code-latest-offers__card-title {
  font-size: 1.4em;
  color: var(--c8bet-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-c8bet-code-latest-offers__card p {
  font-size: 0.95em;
  color: var(--c8bet-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-c8bet-code-latest-offers__benefit-item {
  text-align: center;
  padding: 20px;
  background-color: var(--c8bet-card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-blog-c8bet-code-latest-offers__benefit-icon {
  width: 100%;
  height: 200px; /* Chiều cao cố định cho ảnh lợi ích */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-c8bet-code-latest-offers__benefit-title {
  font-size: 1.3em;
  color: var(--c8bet-secondary);
  margin-bottom: 10px;
}

.page-blog-c8bet-code-latest-offers__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-c8bet-code-latest-offers__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-blog-c8bet-code-latest-offers__faq-list {
  margin-top: 30px;
}

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

.page-blog-c8bet-code-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--c8bet-gold);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-blog-c8bet-code-latest-offers__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-c8bet-code-latest-offers__faq-question:hover {
  background-color: rgba(var(--c8bet-primary-rgb), 0.1);
}

.page-blog-c8bet-code-latest-offers__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--c8bet-secondary);
}

.page-blog-c8bet-code-latest-offers__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--c8bet-text-secondary);
}

.page-blog-c8bet-code-latest-offers__faq-answer p {
  margin-bottom: 10px;
}

.page-blog-c8bet-code-latest-offers__conclusion-section p {
  margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-c8bet-code-latest-offers__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-blog-c8bet-code-latest-offers__image-with-text {
    flex-direction: column;
    align-items: center;
  }

  .page-blog-c8bet-code-latest-offers__content-image,
  .page-blog-c8bet-code-latest-offers__text-block {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog-c8bet-code-latest-offers {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-c8bet-code-latest-offers__container {
    padding: 15px;
  }

  .page-blog-c8bet-code-latest-offers__hero-section {
    padding: 10px 0 40px;
  }

  .page-blog-c8bet-code-latest-offers__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-blog-c8bet-code-latest-offers__main-title {
    font-size: 2em; /* Adjusted for mobile readability */
  }

  .page-blog-c8bet-code-latest-offers__description {
    font-size: 1em;
  }

  .page-blog-c8bet-code-latest-offers__section-title {
    font-size: 1.8em;
  }

  .page-blog-c8bet-code-latest-offers__sub-title {
    font-size: 1.3em;
  }

  .page-blog-c8bet-code-latest-offers__btn-primary,
  .page-blog-c8bet-code-latest-offers__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-c8bet-code-latest-offers__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-c8bet-code-latest-offers__content-image,
  .page-blog-c8bet-code-latest-offers__benefit-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-c8bet-code-latest-offers__section,
  .page-blog-c8bet-code-latest-offers__card,
  .page-blog-c8bet-code-latest-offers__container,
  .page-blog-c8bet-code-latest-offers__intro-section,
  .page-blog-c8bet-code-latest-offers__content-section,
  .page-blog-c8bet-code-latest-offers__types-section,
  .page-blog-c8bet-code-latest-offers__benefits-section,
  .page-blog-c8bet-code-latest-offers__notes-section,
  .page-blog-c8bet-code-latest-offers__faq-section,
  .page-blog-c8bet-code-latest-offers__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-blog-c8bet-code-latest-offers__benefit-icon {
    height: auto; /* Allow height to adjust on mobile */
  }

  .page-blog-c8bet-code-latest-offers__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-c8bet-code-latest-offers__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-c8bet-code-latest-offers__main-title {
    font-size: 1.8em;
  }

  .page-blog-c8bet-code-latest-offers__section-title {
    font-size: 1.6em;
  }

  .page-blog-c8bet-code-latest-offers__hero-content {
    margin-top: -40px;
  }
}