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

.page-hoi-dap__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: #f8f8f8;
}

.page-hoi-dap__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 30px;
}

.page-hoi-dap__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: #333333;
}

.page-hoi-dap__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    font-weight: 700;
    color: #C91F17;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hoi-dap__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-hoi-dap__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-hoi-dap__btn-primary,
.page-hoi-dap__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-hoi-dap__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E; /* Deep Red for text on gold button for contrast */
    border: 2px solid #F2B544;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-hoi-dap__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-hoi-dap__btn-secondary {
    background-color: #C91F17;
    color: #FFF5E1; /* Text Main for red button */
    border: 2px solid #E53935;
    box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-hoi-dap__btn-secondary:hover {
    background-color: #E53935;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 31, 23, 0.6);
}

.page-hoi-dap__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-hoi-dap__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
}

.page-hoi-dap__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-hoi-dap__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-hoi-dap__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: #C91F17;
    text-align: center;
    margin-bottom: 40px;
}

.page-hoi-dap__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-hoi-dap__faq-item {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-hoi-dap__faq-item[open] {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-hoi-dap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

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

.page-hoi-dap__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-hoi-dap__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #C91F17;
    transition: transform 0.3s ease;
}

.page-hoi-dap__faq-item[open] .page-hoi-dap__faq-toggle {
    transform: rotate(45deg);
}

.page-hoi-dap__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

.page-hoi-dap__faq-answer p {
    margin-bottom: 15px;
}

.page-hoi-dap__faq-answer ul,
.page-hoi-dap__faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-hoi-dap__faq-answer li {
    margin-bottom: 8px;
}

.page-hoi-dap__faq-answer a {
    color: #C91F17;
    text-decoration: underline;
}

.page-hoi-dap__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-hoi-dap__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background-color: #B71C1C; /* Background color from custom palette */
    color: #FFF5E1; /* Text Main for dark background */
}

.page-hoi-dap__section-title--light {
    color: #FFF5E1;
}

.page-hoi-dap__section-description--light {
    color: #FFD86A; /* Lighter text for description on dark background */
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-hoi-dap__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 16px;
    }

    .page-hoi-dap__hero-content,
    .page-hoi-dap__hero-image {
        flex: 1 1 100%;
    }

    .page-hoi-dap__cta-buttons {
        justify-content: center;
    }

    .page-hoi-dap__main-title {
        font-size: clamp(2em, 5vw, 2.5em);
    }

    .page-hoi-dap__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }

    .page-hoi-dap__faq-question {
        padding: 18px 20px;
        font-size: 1.1em;
    }

    .page-hoi-dap__faq-answer {
        padding: 0 20px 18px;
    }

    .page-hoi-dap__cta-bottom-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-hoi-dap {
        font-size: 15px;
        line-height: 1.65;
    }

    .page-hoi-dap__hero-section {
        padding-top: 10px !important; /* Enforce small top padding */
        padding-bottom: 40px;
    }

    .page-hoi-dap__hero-container,
    .page-hoi-dap__content-area {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-hoi-dap__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 15px;
    }

    .page-hoi-dap__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-hoi-dap__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-hoi-dap__hero-side-image,
    .page-hoi-dap__image-inline,
    .page-hoi-dap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-hoi-dap__faq-section {
        padding: 40px 0;
    }

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

    .page-hoi-dap__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    .page-hoi-dap__cta-bottom-section {
        padding: 50px 0;
    }

    .page-hoi-dap__section-description--light {
        font-size: 1em;
        margin-bottom: 30px;
    }
}