.page-doi-tac__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-doi-tac__hero-section {
    padding-top: 10px; /* Aligned with fixed header spacing rule */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    min-height: 500px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Fallback for image loading */
}

.page-doi-tac__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-doi-tac__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.page-doi-tac__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.page-doi-tac__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-doi-tac__lead-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-doi-tac__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-doi-tac__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
}

.page-doi-tac__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-doi-tac__btn-secondary:hover {
    background: #f0f0f0;
    color: #1a4fbf;
    transform: translateY(-2px);
}

.page-doi-tac__why-partner-section,
.page-doi-tac__how-to-partner-section,
.page-doi-tac__partner-programs-section,
.page-doi-tac__faq-section,
.page-doi-tac__contact-cta-section {
    padding: 80px 0;
}

.page-doi-tac__light-bg {
    background: #F4F7FB;
    color: #1F2D3D; /* Text Main */
}

.page-doi-tac__dark-bg {
    background: #2F6BFF;
    color: #ffffff;
}

.page-doi-tac__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-doi-tac__light-bg .page-doi-tac__section-title {
    color: #1F2D3D;
}

.page-doi-tac__dark-bg .page-doi-tac__section-title {
    color: #ffffff;
}

.page-doi-tac__section-description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.page-doi-tac__light-bg .page-doi-tac__section-description {
    color: #1F2D3D;
}

.page-doi-tac__dark-bg .page-doi-tac__section-description {
    color: #f0f0f0;
}

.page-doi-tac__benefits-grid,
.page-doi-tac__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__benefit-card,
.page-doi-tac__step-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D;
    border: 1px solid #D6E2FF;
}

.page-doi-tac__dark-bg .page-doi-tac__step-card {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-doi-tac__benefit-card:hover,
.page-doi-tac__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__benefit-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-doi-tac__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.page-doi-tac__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #1F2D3D;
}

.page-doi-tac__dark-bg .page-doi-tac__step-card .page-doi-tac__card-title {
    color: #ffffff;
}

.page-doi-tac__dark-bg .page-doi-tac__step-card p {
    color: #f0f0f0;
}

.page-doi-tac__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-doi-tac__partner-programs-section {
    padding-bottom: 100px;
}

.page-doi-tac__program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__program-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D;
    border: 1px solid #D6E2FF;
}

.page-doi-tac__program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__program-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-doi-tac__program-card .page-doi-tac__card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.page-doi-tac__text-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.page-doi-tac__text-link:hover {
    text-decoration: underline;
}

.page-doi-tac__faq-list {
    margin-top: 40px;
}

details.page-doi-tac__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF;
    overflow: hidden;
    background: #FFFFFF;
    color: #1F2D3D;
}

details.page-doi-tac__faq-item summary.page-doi-tac__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-doi-tac__faq-item summary.page-doi-tac__faq-question::-webkit-details-marker {
    display: none;
}

details.page-doi-tac__faq-item summary.page-doi-tac__faq-question:hover {
    background: #f5f5f5;
}

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

.page-doi-tac__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
    padding: 0 20px 20px;
    background: #F4F7FB;
    border-radius: 0 0 5px 5px;
    color: #1F2D3D;
}

.page-doi-tac__contact-cta-section {
    padding-bottom: 80px;
}

.page-doi-tac__cta-buttons.page-doi-tac__cta-buttons {
    margin-top: 40px;
}

.page-doi-tac__cta-buttons.page-doi-tac__cta-buttons .page-doi-tac__btn-primary,
.page-doi-tac__cta-buttons.page-doi-tac__cta-buttons .page-doi-tac__btn-secondary {
    width: auto;
    min-width: 180px;
}

/* General image and container responsive styles */
.page-doi-tac img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-doi-tac__hero-content {
        padding: 30px 15px;
    }
    .page-doi-tac__main-title {
        font-size: 2.8rem;
    }
    .page-doi-tac__lead-text {
        font-size: 1.1rem;
    }
    .page-doi-tac__section-title {
        font-size: 2.2rem;
    }
    .page-doi-tac__section-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .page-doi-tac__why-partner-section,
    .page-doi-tac__how-to-partner-section,
    .page-doi-tac__partner-programs-section,
    .page-doi-tac__faq-section,
    .page-doi-tac__contact-cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 849px) {
    .page-doi-tac__hero-image img {
        object-fit: contain !important; /* HERO Main visual must use object-fit: contain */
        aspect-ratio: unset !important; /* Allow image to adjust aspect ratio */
    }
}

@media (max-width: 768px) {
    .page-doi-tac__hero-section {
        min-height: 400px;
        padding-top: 10px; /* Specific top padding for mobile hero */
    }
    .page-doi-tac__hero-content {
        padding: 20px 15px;
    }
    .page-doi-tac__main-title {
        font-size: 2rem; /* Mobile H1 font size */
        margin-bottom: 15px;
    }
    .page-doi-tac__lead-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-doi-tac__cta-buttons {
        flex-direction: column; /* Buttons stack vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Added padding to button container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-doi-tac__btn-primary,
    .page-doi-tac__btn-secondary,
    .page-doi-tac a[class*="button"],
    .page-doi-tac a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-doi-tac__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .page-doi-tac__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .page-doi-tac__why-partner-section,
    .page-doi-tac__how-to-partner-section,
    .page-doi-tac__partner-programs-section,
    .page-doi-tac__faq-section,
    .page-doi-tac__contact-cta-section {
        padding: 40px 0;
    }

    .page-doi-tac__benefits-grid,
    .page-doi-tac__steps-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        padding: 0 15px;
    }
    .page-doi-tac__program-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-doi-tac__benefit-card,
    .page-doi-tac__step-card,
    .page-doi-tac__program-card {
        padding: 25px;
    }
    .page-doi-tac__card-title {
        font-size: 1.2rem;
    }
    .page-doi-tac__faq-qtext {
        font-size: 15px;
    }
    details.page-doi-tac__faq-item summary.page-doi-tac__faq-question {
        padding: 15px;
    }
    details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image adaptation */
    .page-doi-tac img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-doi-tac__section,
    .page-doi-tac__card,
    .page-doi-tac__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Handled by specific sections if needed */
        /* padding-right: 15px; */
    }
    .page-doi-tac__hero-image-wrapper {
        overflow: hidden; /* Ensure hero image wrapper doesn't cause overflow */
    }
    .page-doi-tac__products-grid { /* For product display grids in other pages if applicable */
        overflow-x: hidden;
        grid-template-columns: repeat(2, 1fr); /* 2 columns for product grid on mobile */
    }
    .page-doi-tac__article-body {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__article-figure {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}