/* Base styles for the page */
.page-blog-huong-dan-choi-365-slot {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-blog-huong-dan-choi-365-slot__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-huong-dan-choi-365-slot__section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
}

.page-blog-huong-dan-choi-365-slot__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Primary */
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog-huong-dan-choi-365-slot h3 {
  font-size: 1.6em;
  color: #FFD36B; /* Secondary */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-huong-dan-choi-365-slot p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: #FFF6D6;
}

.page-blog-huong-dan-choi-365-slot a {
  color: #FFD36B;
  text-decoration: none;
}

.page-blog-huong-dan-choi-365-slot a:hover {
  text-decoration: underline;
  color: #F2C14E;
}

.page-blog-huong-dan-choi-365-slot__list,
.page-blog-huong-dan-choi-365-slot__ordered-list,
.page-blog-huong-dan-choi-365-slot__sub-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #FFF6D6;
}

.page-blog-huong-dan-choi-365-slot__ordered-list {
  list-style-type: decimal;
}

.page-blog-huong-dan-choi-365-slot__list li,
.page-blog-huong-dan-choi-365-slot__ordered-list li {
  margin-bottom: 0.5em;
}

/* Hero Section */
.page-blog-huong-dan-choi-365-slot__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #0A0A0A;
}

.page-blog-huong-dan-choi-365-slot__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-blog-huong-dan-choi-365-slot__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image to ensure text contrast */
  filter: brightness(0.6);
}

.page-blog-huong-dan-choi-365-slot__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 10px;
  margin-top: 50px;
}

.page-blog-huong-dan-choi-365-slot__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-huong-dan-choi-365-slot__lead-text {
  font-size: 1.3em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-blog-huong-dan-choi-365-slot__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-huong-dan-choi-365-slot__btn-primary,
.page-blog-huong-dan-choi-365-slot__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-huong-dan-choi-365-slot__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-blog-huong-dan-choi-365-slot__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-huong-dan-choi-365-slot__btn-secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-blog-huong-dan-choi-365-slot__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

/* Table of Contents */
.page-blog-huong-dan-choi-365-slot__content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.page-blog-huong-dan-choi-365-slot__toc {
  flex: 0 0 280px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: calc(var(--header-offset, 0px) + 20px);
  max-height: calc(100vh - var(--header-offset, 0px) - 40px);
  overflow-y: auto;
}

.page-blog-huong-dan-choi-365-slot__toc-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog-huong-dan-choi-365-slot__toc-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.page-blog-huong-dan-choi-365-slot__toc-list li {
  margin-bottom: 10px;
}

.page-blog-huong-dan-choi-365-slot__toc-list a {
  color: #FFF6D6;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.page-blog-huong-dan-choi-365-slot__toc-list a:hover {
  color: #FFD36B;
  text-decoration: underline;
}

.page-blog-huong-dan-choi-365-slot__article-body {
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
}

/* Article Content */
.page-blog-huong-dan-choi-365-slot__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog-huong-dan-choi-365-slot__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-blog-huong-dan-choi-365-slot__article-figure figcaption {
  color: #FFD36B;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-blog-huong-dan-choi-365-slot__definition-list dt {
  font-weight: bold;
  color: #F2C14E;
  margin-top: 1em;
  font-size: 1.1em;
}

.page-blog-huong-dan-choi-365-slot__definition-list dd {
  margin-left: 20px;
  margin-bottom: 0.5em;
  color: #FFF6D6;
}

/* Feature Cards */
.page-blog-huong-dan-choi-365-slot__feature-cards,
.page-blog-huong-dan-choi-365-slot__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-blog-huong-dan-choi-365-slot__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-blog-huong-dan-choi-365-slot__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-blog-huong-dan-choi-365-slot__card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-choi-365-slot__card-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* Game Trial Section */
.page-blog-huong-dan-choi-365-slot__game-trial {
  margin-top: 40px;
  padding: 30px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  text-align: center;
}

.page-blog-huong-dan-choi-365-slot__game-trial-title {
  font-size: 2em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-blog-huong-dan-choi-365-slot__game-trial-frame {
  width: 100%;
  height: 600px;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  background-color: #0A0A0A;
  margin-top: 20px;
}

/* FAQ Section */
.page-blog-huong-dan-choi-365-slot__faq-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

details.page-blog-huong-dan-choi-365-slot__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}

details.page-blog-huong-dan-choi-365-slot__faq-item summary.page-blog-huong-dan-choi-365-slot__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Secondary */
}

details.page-blog-huong-dan-choi-365-slot__faq-item summary.page-blog-huong-dan-choi-365-slot__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-huong-dan-choi-365-slot__faq-item summary.page-blog-huong-dan-choi-365-slot__faq-question:hover {
  background: #1a1a1a;
}

.page-blog-huong-dan-choi-365-slot__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}

.page-blog-huong-dan-choi-365-slot__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-huong-dan-choi-365-slot__faq-item .page-blog-huong-dan-choi-365-slot__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
}

.page-blog-huong-dan-choi-365-slot__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-choi-365-slot__container {
    padding: 15px;
  }

  .page-blog-huong-dan-choi-365-slot__hero-content {
    padding: 15px;
    margin-top: 30px;
  }

  .page-blog-huong-dan-choi-365-slot__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-blog-huong-dan-choi-365-slot__lead-text {
    font-size: 1.1em;
  }

  .page-blog-huong-dan-choi-365-slot__cta-buttons {
    gap: 15px;
  }

  .page-blog-huong-dan-choi-365-slot__btn-primary,
  .page-blog-huong-dan-choi-365-slot__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog-huong-dan-choi-365-slot__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-blog-huong-dan-choi-365-slot__toc {
    position: static;
    max-height: none;
    overflow-y: visible;
    flex: auto;
  }

  .page-blog-huong-dan-choi-365-slot__section-title {
    font-size: 1.8em;
  }

  .page-blog-huong-dan-choi-365-slot h3 {
    font-size: 1.4em;
  }

  .page-blog-huong-dan-choi-365-slot__feature-cards,
  .page-blog-huong-dan-choi-365-slot__game-types-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-blog-huong-dan-choi-365-slot__game-trial-frame {
    height: 500px;
  }

  details.page-blog-huong-dan-choi-365-slot__faq-item summary.page-blog-huong-dan-choi-365-slot__faq-question {
    padding: 15px 18px;
  }

  .page-blog-huong-dan-choi-365-slot__faq-qtext {
    font-size: 1em;
  }

  .page-blog-huong-dan-choi-365-slot__faq-answer {
    padding: 0 18px 18px;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-choi-365-slot__hero-section {
    padding-bottom: 20px;
  }
  .page-blog-huong-dan-choi-365-slot__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    filter: brightness(0.5); /* Slightly darker for better text contrast */
  }
  .page-blog-huong-dan-choi-365-slot__hero-content {
    margin-top: 20px;
  }
  .page-blog-huong-dan-choi-365-slot__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-blog-huong-dan-choi-365-slot__lead-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-choi-365-slot__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-huong-dan-choi-365-slot__btn-primary,
  .page-blog-huong-dan-choi-365-slot__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-choi-365-slot__container,
  .page-blog-huong-dan-choi-365-slot__section,
  .page-blog-huong-dan-choi-365-slot__card,
  .page-blog-huong-dan-choi-365-slot__game-trial {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-huong-dan-choi-365-slot__section-title {
    font-size: 1.6em;
    text-align: left;
  }
  .page-blog-huong-dan-choi-365-slot h3 {
    font-size: 1.2em;
  }
  .page-blog-huong-dan-choi-365-slot p {
    font-size: 0.9em;
  }
  .page-blog-huong-dan-choi-365-slot__article-body img,
  .page-blog-huong-dan-choi-365-slot__feature-cards img,
  .page-blog-huong-dan-choi-365-slot__game-types-grid img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-huong-dan-choi-365-slot__feature-cards,
  .page-blog-huong-dan-choi-365-slot__game-types-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-blog-huong-dan-choi-365-slot__game-trial-frame {
    height: 350px;
  }
  details.page-blog-huong-dan-choi-365-slot__faq-item summary.page-blog-huong-dan-choi-365-slot__faq-question {
    padding: 15px;
  }
  .page-blog-huong-dan-choi-365-slot__faq-qtext {
    font-size: 0.95em;
  }
  .page-blog-huong-dan-choi-365-slot__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-blog-huong-dan-choi-365-slot__faq-answer {
    padding: 0 15px 15px;
  }
  .page-blog-huong-dan-choi-365-slot__toc {
    padding: 15px;
  }
  .page-blog-huong-dan-choi-365-slot__toc-title {
    font-size: 1.5em;
  }
  .page-blog-huong-dan-choi-365-slot__toc-list a {
    font-size: 0.9em;
  }
}