:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --body-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-index-huong-dan-tham-gia-b29 {
    background-color: var(--body-bg);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
}

.page-index-huong-dan-tham-gia-b29__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-index-huong-dan-tham-gia-b29__hero-section {
    padding-top: 10px; /* Aligns with common body padding-top for header offset */
    padding-bottom: 60px;
    background-color: var(--body-bg);
}

.page-index-huong-dan-tham-gia-b29__hero-section .page-index-huong-dan-tham-gia-b29__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-index-huong-dan-tham-gia-b29__text-content {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-index-huong-dan-tham-gia-b29__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-index-huong-dan-tham-gia-b29__description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-index-huong-dan-tham-gia-b29__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-huong-dan-tham-gia-b29__btn-primary,
.page-index-huong-dan-tham-gia-b29__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-index-huong-dan-tham-gia-b29__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-index-huong-dan-tham-gia-b29__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-index-huong-dan-tham-gia-b29__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-huong-dan-tham-gia-b29__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--body-bg);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-index-huong-dan-tham-gia-b29__image-wrapper {
    flex: 1 1 50%;
    text-align: center;
    min-width: 300px;
}

.page-index-huong-dan-tham-gia-b29__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-huong-dan-tham-gia-b29__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-index-huong-dan-tham-gia-b29__text-block {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 30px;
    text-align: justify;
}

.page-index-huong-dan-tham-gia-b29__guide-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.page-index-huong-dan-tham-gia-b29__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-huong-dan-tham-gia-b29__step-card {
    background-color: var(--body-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index-huong-dan-tham-gia-b29__step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.page-index-huong-dan-tham-gia-b29__step-number {
    background: var(--button-gradient);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    flex-shrink: 0;
}

.page-index-huong-dan-tham-gia-b29__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: left;
    margin: 0;
}

.page-index-huong-dan-tham-gia-b29__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
    flex-grow: 1;
}

.page-index-huong-dan-tham-gia-b29__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-index-huong-dan-tham-gia-b29__step-cta {
    margin-top: auto; /* Pushes button to the bottom */
    width: auto;
}

.page-index-huong-dan-tham-gia-b29__conclusion-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-main);
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}

.page-index-huong-dan-tham-gia-b29__faq-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.page-index-huong-dan-tham-gia-b29__faq-list {
    margin-top: 40px;
}

.page-index-huong-dan-tham-gia-b29__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-index-huong-dan-tham-gia-b29__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--secondary-color);
    background-color: var(--body-bg);
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

.page-index-huong-dan-tham-gia-b29__faq-question::-webkit-details-marker {
    display: none;
}

.page-index-huong-dan-tham-gia-b29__faq-item[open] .page-index-huong-dan-tham-gia-b29__faq-question {
    background-color: var(--deep-orange);
    color: #ffffff;
}

.page-index-huong-dan-tham-gia-b29__faq-qtext {
    flex-grow: 1;
}

.page-index-huong-dan-tham-gia-b29__faq-toggle {
    font-size: 1.8em;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
}

.page-index-huong-dan-tham-gia-b29__faq-item[open] .page-index-huong-dan-tham-gia-b29__faq-toggle {
    content: '−';
    transform: rotate(180deg);
}

.page-index-huong-dan-tham-gia-b29__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.page-index-huong-dan-tham-gia-b29__cta-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    text-align: center;
}

.page-index-huong-dan-tham-gia-b29__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-index-huong-dan-tham-gia-b29__cta-section .page-index-huong-dan-tham-gia-b29__section-title {
    margin-bottom: 25px;
    font-size: 2.5em;
}

.page-index-huong-dan-tham-gia-b29__cta-section .page-index-huong-dan-tham-gia-b29__text-block {
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* General image styling for content areas */
.page-index-huong-dan-tham-gia-b29 img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images cover their area without distortion */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-huong-dan-tham-gia-b29__main-title {
        font-size: 2.5em;
    }
    .page-index-huong-dan-tham-gia-b29__section-title {
        font-size: 2em;
    }
    .page-index-huong-dan-tham-gia-b29__cta-section .page-index-huong-dan-tham-gia-b29__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index-huong-dan-tham-gia-b29 {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-huong-dan-tham-gia-b29__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-index-huong-dan-tham-gia-b29__hero-section .page-index-huong-dan-tham-gia-b29__container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    .page-index-huong-dan-tham-gia-b29__text-content,
    .page-index-huong-dan-tham-gia-b29__image-wrapper {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-index-huong-dan-tham-gia-b29__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-index-huong-dan-tham-gia-b29__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-index-huong-dan-tham-gia-b29__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-index-huong-dan-tham-gia-b29__btn-primary,
    .page-index-huong-dan-tham-gia-b29__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-index-huong-dan-tham-gia-b29__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-huong-dan-tham-gia-b29__guide-section,
    .page-index-huong-dan-tham-gia-b29__faq-section,
    .page-index-huong-dan-tham-gia-b29__cta-section {
        padding: 40px 0;
    }
    .page-index-huong-dan-tham-gia-b29__step-by-step {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-index-huong-dan-tham-gia-b29__step-card {
        padding: 25px;
    }
    .page-index-huong-dan-tham-gia-b29__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }
    .page-index-huong-dan-tham-gia-b29__step-title {
        font-size: 1.2em;
    }
    .page-index-huong-dan-tham-gia-b29__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-index-huong-dan-tham-gia-b29__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9em;
    }
    .page-index-huong-dan-tham-gia-b29__cta-section .page-index-huong-dan-tham-gia-b29__section-title {
        font-size: 2em;
    }
    .page-index-huong-dan-tham-gia-b29__cta-section .page-index-huong-dan-tham-gia-b29__text-block {
        font-size: 1em;
    }
    /* Mobile image adaptation */
    .page-index-huong-dan-tham-gia-b29 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-huong-dan-tham-gia-b29__container,
    .page-index-huong-dan-tham-gia-b29__step-card,
    .page-index-huong-dan-tham-gia-b29__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-huong-dan-tham-gia-b29__hero-section .page-index-huong-dan-tham-gia-b29__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-index-huong-dan-tham-gia-b29__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }
}