.page-hoi-dap {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8;
}

.page-hoi-dap__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-hoi-dap__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    margin-bottom: 40px;
    background-color: #f0f0f0;
    text-align: center;
}

.page-hoi-dap__hero-image {
    width: 100%;
    overflow: hidden;
}

.page-hoi-dap__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default to cover for larger screens */
    max-height: 600px;
}

.page-hoi-dap__hero-content {
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    border-radius: 0 0 10px 10px;
    margin-top: -80px; /* Overlap slightly with image for visual effect */
    position: relative;
    z-index: 1;
}

.page-hoi-dap__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-hoi-dap__intro-description {
    font-size: 1.15rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-hoi-dap__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-hoi-dap__btn-primary,
.page-hoi-dap__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-hoi-dap__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-hoi-dap__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-hoi-dap__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-hoi-dap__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-hoi-dap__content-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-hoi-dap__content-section:nth-of-type(odd) {
    background-color: #ffffff;
}

.page-hoi-dap__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-hoi-dap__dark-section .page-hoi-dap__section-title,
.page-hoi-dap__dark-section .page-hoi-dap__sub-title {
    color: #ffffff;
}

.page-hoi-dap__dark-section p,
.page-hoi-dap__dark-section ul,
.page-hoi-dap__dark-section li,
.page-hoi-dap__dark-section ol {
    color: #f0f0f0;
}

.page-hoi-dap__section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
}

.page-hoi-dap__sub-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-hoi-dap__text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-hoi-dap__text-block ul,
.page-hoi-dap__text-block ol {
    margin-bottom: 15px;
    padding-left: 25px;
    font-size: 1.05rem;
}

.page-hoi-dap__text-block li {
    margin-bottom: 8px;
}

.page-hoi-dap__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-hoi-dap__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-hoi-dap__cta-buttons--center {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* FAQ Section Specific Styles */
.page-hoi-dap__faq-section {
    padding: 60px 0;
}

.page-hoi-dap__faq-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Light color for dark section */
}

details.page-hoi-dap__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

details.page-hoi-dap__faq-item summary.page-hoi-dap__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;
}

details.page-hoi-dap__faq-item summary.page-hoi-dap__faq-question::-webkit-details-marker {
  display: none;
}

details.page-hoi-dap__faq-item summary.page-hoi-dap__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-hoi-dap__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}

.page-hoi-dap__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-hoi-dap__faq-item .page-hoi-dap__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

details.page-hoi-dap__faq-item .page-hoi-dap__faq-answer p {
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-hoi-dap__container {
        padding: 20px 30px;
    }

    .page-hoi-dap__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }

    .page-hoi-dap__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-hoi-dap__intro-description {
        font-size: 1rem;
    }

    .page-hoi-dap__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-hoi-dap__sub-title {
        font-size: 1.4rem;
    }

    .page-hoi-dap__text-block p,
    .page-hoi-dap__text-block ul,
    .page-hoi-dap__text-block ol {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-hoi-dap__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-hoi-dap__hero-section {
        margin-bottom: 20px;
        padding-top: 10px; /* Still small padding, relying on body for header offset */
    }

    .page-hoi-dap__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        max-height: 400px;
    }

    .page-hoi-dap__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }

    .page-hoi-dap__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        text-align: center;
    }

    .page-hoi-dap__intro-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-hoi-dap__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-hoi-dap__btn-primary,
    .page-hoi-dap__btn-secondary,
    .page-hoi-dap a[class*="button"],
    .page-hoi-dap 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: 12px 20px;
        font-size: 0.95rem;
    }

    .page-hoi-dap__content-section {
        padding: 30px 0;
    }

    .page-hoi-dap__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 25px;
    }

    .page-hoi-dap__sub-title {
        font-size: 1.2rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-hoi-dap__text-block p,
    .page-hoi-dap__text-block ul,
    .page-hoi-dap__text-block ol,
    .page-hoi-dap__faq-intro {
        font-size: 0.95rem;
    }

    .page-hoi-dap__text-block ul,
    .page-hoi-dap__text-block ol {
        padding-left: 20px;
    }

    .page-hoi-dap__image-wrapper {
        margin: 20px 0;
    }

    .page-hoi-dap__image-wrapper img,
    .page-hoi-dap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    details.page-hoi-dap__faq-item summary.page-hoi-dap__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-hoi-dap__faq-qtext {
        font-size: 15px;
        width: calc(100% - 40px);
    }

    .page-hoi-dap__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    details.page-hoi-dap__faq-item .page-hoi-dap__faq-answer {
        padding: 0 15px 15px;
    }
}