/* style/blog-chien-thuat-choi-tai-xiu-hieu-qua.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --btn-register-bg: #C30808;
    --btn-login-bg: #C30808;
    --btn-register-login-text: #FFFF00;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--secondary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--secondary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 24px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: var(--text-color-dark);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color-dark);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary,
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__side-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__intro-section,
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__content-area,
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-section {
    padding: 60px 0;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-bg .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__section-title,
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-bg .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__sub-title,
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-bg .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-title {
    color: var(--text-color-light);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-bg .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-bg .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__icon-box-media {
    width: 180px;
    height: 180px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__feature-description {
    font-size: 1rem;
    color: var(--text-color-dark);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__guide-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__guide-section .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__section-title {
    color: var(--text-color-light);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color-light);
    margin-bottom: 10px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-list {
    margin-top: 30px;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    list-style: none; /* For details tag */
    -webkit-tap-highlight-color: transparent;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-qtext {
    flex-grow: 1;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-item[open] .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-color-dark);
    background-color: var(--secondary-color);
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-answer p {
    margin-bottom: 0;
}

/* General image responsiveness */
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-content {
        flex: 1 1 100%;
        min-width: unset;
        order: 2; /* Content below image */
        text-align: center;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__hero-image {
        flex: 1 1 100%;
        min-width: unset;
        order: 1; /* Image above content */
    }

    .page-blog-chien-thuat-choi-tai-tai-xiu-hieu-qua__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-secondary,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua a[class*="button"],
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua 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-left: 15px;
        padding-right: 15px;
    }

    /* Intro Section & Feature Grid */
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__intro-section,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__content-area,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-section,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__guide-section {
        padding: 40px 0;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__text-block {
        font-size: 0.95rem;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__icon-box-media {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__feature-title {
        font-size: 1.3rem;
    }

    /* Content Area */
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__sub-title {
        font-size: 1.5rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Guide Section */
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__step-title {
        font-size: 1.2rem;
    }

    /* FAQ Section */
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-toggle {
        font-size: 1.5rem;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    /* All images in content area */
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__section,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__card,
    .page-blog-chien-thuat-choi-tai-xiu-hieu-qua__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure contrast for critical areas on light body background */
.page-blog-chien-thuat-choi-tai-xiu-hieu-qua {
  color: var(--text-color-dark); /* Default dark text for light body background */
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__card {
  background: var(--secondary-color); /* White background */
  color: var(--text-color-dark);
  border: 1px solid #e0e0e0;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__dark-section {
  background: var(--primary-color);
  color: var(--text-color-light); /* Forced white text */
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light); /* Button text always white */
  border: 2px solid transparent;
}

.page-blog-chien-thuat-choi-tai-xiu-hieu-qua__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Use brand color for contrast */
  border: 2px solid var(--primary-color);
}