/* style/blog-safe-access-new888.css */

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-blog-safe-access-new888 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Rely on body background */
}

.page-blog-safe-access-new888__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Sections */
.page-blog-safe-access-new888__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-blog-safe-access-new888__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-blog-safe-access-new888__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-safe-access-new888__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF;
}

.page-blog-safe-access-new888__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-blog-safe-access-new888__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-safe-access-new888__content-section {
  padding: 60px 0;
}

.page-blog-safe-access-new888__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section */
}

.page-blog-safe-access-new888__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section */
}

.page-blog-safe-access-new888__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: inherit; /* Inherit color from section */
}

.page-blog-safe-access-new888__list,
.page-blog-safe-access-new888__ordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-safe-access-new888__list-item {
  margin-bottom: 10px;
  color: inherit;
}

/* Color Schemes */
.page-blog-safe-access-new888__dark-section {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-blog-safe-access-new888__light-bg {
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text */
}

/* Buttons */
.page-blog-safe-access-new888__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-blog-safe-access-new888__btn-primary,
.page-blog-safe-access-new888__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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-safe-access-new888__btn-primary {
  background-color: #26A9E0; /* Main color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-blog-safe-access-new888__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-blog-safe-access-new888__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Main color */
  border: 2px solid #26A9E0;
}

.page-blog-safe-access-new888__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Specific button colors */
a[href*="login.html"].page-blog-safe-access-new888__btn-primary,
a[href*="register.html"].page-blog-safe-access-new888__btn-primary,
a[href*="redirect"].page-blog-safe-access-new888__btn-primary {
  background-color: #EA7C07; /* Login/Register/Promotion button color */
  border-color: #EA7C07;
}

a[href*="login.html"].page-blog-safe-access-new888__btn-primary:hover,
a[href*="register.html"].page-blog-safe-access-new888__btn-primary:hover,
a[href*="redirect"].page-blog-safe-access-new888__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

/* Images */
.page-blog-safe-access-new888__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-blog-safe-access-new888__faq-section {
  padding: 60px 0;
}

.page-blog-safe-access-new888__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-blog-safe-access-new888__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  list-style: none; /* For details/summary */
}

.page-blog-safe-access-new888__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-safe-access-new888__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-safe-access-new888__faq-item[open] .page-blog-safe-access-new888__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-safe-access-new888__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-blog-safe-access-new888__faq-item:not([open]) .page-blog-safe-access-new888__faq-answer {
  display: none; /* Hide answer when not open for details tag */
}

/* Conclusion Section */
.page-blog-safe-access-new888__conclusion-section {
  padding: 60px 0 80px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-safe-access-new888__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-blog-safe-access-new888__section-title {
    font-size: 2em;
  }

  .page-blog-safe-access-new888__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-blog-safe-access-new888 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-safe-access-new888__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-safe-access-new888__hero-content {
    padding: 15px;
  }

  .page-blog-safe-access-new888__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-blog-safe-access-new888__hero-description {
    font-size: 1em;
  }

  .page-blog-safe-access-new888__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-safe-access-new888__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-blog-safe-access-new888__paragraph,
  .page-blog-safe-access-new888__list-item {
    font-size: 0.95em;
  }

  .page-blog-safe-access-new888__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-blog-safe-access-new888__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-blog-safe-access-new888__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-safe-access-new888__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-safe-access-new888__faq-answer {
    padding: 0 20px 15px;
  }

  .page-blog-safe-access-new888__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
}

/* Ensure images within content sections are responsive */
.page-blog-safe-access-new888 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Video specific styles */
.page-blog-safe-access-new888__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-safe-access-new888__video-wrapper iframe,
.page-blog-safe-access-new888__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* No filter on images */
.page-blog-safe-access-new888 img {
  filter: none; /* Ensure no CSS filter is applied to images */
}

.page-blog-safe-access-new888__hero-image {
  filter: brightness(0.5); /* This is allowed for text readability, not changing original color */
}