/* style/blog-latest-offers-registration.css */
/* body đã padding-top: var(--header-offset)；tránh trùng lặp */

:root {
  --oke88-primary-color: #26A9E0;
  --oke88-secondary-color: #FFFFFF;
  --oke88-login-color: #EA7C07;
  --oke88-background-color: #FFFFFF;
  --oke88-text-dark: #333333;
  --oke88-text-light: #FFFFFF;
}

.page-blog-latest-offers-registration {
  font-family: 'Arial', sans-serif;
  color: var(--oke88-text-dark); /* Mặc định chữ tối trên nền sáng */
  background-color: var(--oke88-background-color);
}

.page-blog-latest-offers-registration__hero-section {
  position: relative;
  width: 100%;
  padding: 10px 0 40px 0; /* Padding-top nhỏ, dựa vào body padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--oke88-background-color);
  text-align: center;
}

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

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

.page-blog-latest-offers-registration__hero-content {
  max-width: 960px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-blog-latest-offers-registration__main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--oke88-primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-blog-latest-offers-registration__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--oke88-text-dark);
  margin-bottom: 30px;
}

.page-blog-latest-offers-registration__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px;
}

.page-blog-latest-offers-registration__btn-primary,
.page-blog-latest-offers-registration__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-latest-offers-registration__btn-primary {
  background-color: var(--oke88-primary-color);
  color: var(--oke88-secondary-color);
  border: 2px solid var(--oke88-primary-color);
}

.page-blog-latest-offers-registration__btn-primary:hover {
  background-color: darken(var(--oke88-primary-color), 10%);
  border-color: darken(var(--oke88-primary-color), 10%);
}

.page-blog-latest-offers-registration__btn-secondary {
  background-color: var(--oke88-secondary-color);
  color: var(--oke88-primary-color);
  border: 2px solid var(--oke88-primary-color);
}

.page-blog-latest-offers-registration__btn-secondary:hover {
  background-color: var(--oke88-primary-color);
  color: var(--oke88-secondary-color);
}

.page-blog-latest-offers-registration__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--oke88-background-color);
}

.page-blog-latest-offers-registration__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--oke88-primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-blog-latest-offers-registration p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--oke88-text-dark);
}

.page-blog-latest-offers-registration__image-block {
  text-align: center;
  margin: 30px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-latest-offers-registration__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-latest-offers-registration__ordered-list,
.page-blog-latest-offers-registration__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--oke88-text-dark);
}

.page-blog-latest-offers-registration__ordered-list li,
.page-blog-latest-offers-registration__unordered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
}

.page-blog-latest-offers-registration__link {
  color: var(--oke88-primary-color);
  text-decoration: underline;
}

.page-blog-latest-offers-registration__link:hover {
  color: darken(var(--oke88-primary-color), 10%);
}

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

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

.page-blog-latest-offers-registration__game-card {
  background-color: var(--oke88-secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--oke88-text-dark);
}

.page-blog-latest-offers-registration__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-blog-latest-offers-registration__game-title {
  font-size: 1.3rem;
  color: var(--oke88-primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-blog-latest-offers-registration__game-title a {
  color: var(--oke88-primary-color);
  text-decoration: none;
}

.page-blog-latest-offers-registration__game-title a:hover {
  text-decoration: underline;
}

.page-blog-latest-offers-registration__game-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 15px;
  color: var(--oke88-text-dark);
}

.page-blog-latest-offers-registration__faq-section {
  background-color: #f9f9f9;
}

.page-blog-latest-offers-registration__faq-list {
  margin-top: 30px;
}

.page-blog-latest-offers-registration__faq-item {
  background-color: var(--oke88-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--oke88-text-dark);
}

.page-blog-latest-offers-registration__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--oke88-secondary-color);
  color: var(--oke88-primary-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-blog-latest-offers-registration__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-latest-offers-registration__faq-question:hover {
  background-color: #f0f0f0;
}

.page-blog-latest-offers-registration__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-blog-latest-offers-registration__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--oke88-text-dark);
}

.page-blog-latest-offers-registration__faq-item[open] .page-blog-latest-offers-registration__faq-toggle {
  content: '−';
}

.page-blog-latest-offers-registration__call-to-action-final {
  text-align: center;
  padding-bottom: 60px;
}

.page-blog-latest-offers-registration__call-to-action-final .page-blog-latest-offers-registration__section-title {
  margin-bottom: 20px;
}

.page-blog-latest-offers-registration__call-to-action-final p {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-blog-latest-offers-registration__call-to-action-final .page-blog-latest-offers-registration__cta-buttons {
  margin-top: 30px;
}

.page-blog-latest-offers-registration .highlight {
  color: var(--oke88-login-color);
  font-weight: bold;
}

/* -------------------------------------- */
/* Responsive Design */
/* -------------------------------------- */

@media (max-width: 1024px) {
  .page-blog-latest-offers-registration__hero-content {
    max-width: 768px;
  }
  .page-blog-latest-offers-registration__section,
  .page-blog-latest-offers-registration__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

  .page-blog-latest-offers-registration__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog-latest-offers-registration__main-title {
    font-size: 2rem;
  }

  .page-blog-latest-offers-registration__description {
    font-size: 1rem;
  }

  .page-blog-latest-offers-registration__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-latest-offers-registration__btn-primary,
  .page-blog-latest-offers-registration__btn-secondary,
  .page-blog-latest-offers-registration a[class*="button"],
  .page-blog-latest-offers-registration a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-latest-offers-registration__section-title {
    font-size: 1.8rem;
  }

  .page-blog-latest-offers-registration p,
  .page-blog-latest-offers-registration li {
    font-size: 0.95rem;
  }

  .page-blog-latest-offers-registration__image,
  .page-blog-latest-offers-registration__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-latest-offers-registration__image-block,
  .page-blog-latest-offers-registration__hero-image-wrapper,
  .page-blog-latest-offers-registration__section,
  .page-blog-latest-offers-registration__card,
  .page-blog-latest-offers-registration__container,
  .page-blog-latest-offers-registration__cta-buttons,
  .page-blog-latest-offers-registration__button-group,
  .page-blog-latest-offers-registration__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-latest-offers-registration__game-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-latest-offers-registration__game-image {
    height: 180px;
  }

  .page-blog-latest-offers-registration__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-latest-offers-registration__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-blog-latest-offers-registration__main-title {
    font-size: 1.7rem;
  }
  .page-blog-latest-offers-registration__section-title {
    font-size: 1.5rem;
  }
  .page-blog-latest-offers-registration__btn-primary,
  .page-blog-latest-offers-registration__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}