.page-huong-dan-choi {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

.page-huong-dan-choi__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-huong-dan-choi__hero-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top spacing, relying on body padding for header offset */
    margin-bottom: 40px;
}

.page-huong-dan-choi__hero-slider {
    position: relative;
    width: 100%;
    height: 675px; /* Adjust as needed for aspect ratio */
    overflow: hidden;
}

.page-huong-dan-choi__hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.page-huong-dan-choi__hero-slide.is-active {
    opacity: 1;
}

.page-huong-dan-choi__hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-huong-dan-choi__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    background: rgba(17, 17, 17, 0.7); /* Card B G with transparency */
    border-radius: 8px;
    color: #FFF6D6; /* Text Main */
}

.page-huong-dan-choi__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: bold;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.page-huong-dan-choi__description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #FFF6D6;
}

.page-huong-dan-choi__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-huong-dan-choi__btn-primary,
.page-huong-dan-choi__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-huong-dan-choi__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for contrast */
    border: 2px solid transparent;
}

.page-huong-dan-choi__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-huong-dan-choi__btn-secondary {
    background: #111111; /* Card B G */
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E;
}

.page-huong-dan-choi__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
    transform: translateY(-2px);
}

.page-huong-dan-choi__hero-slider-prev,
.page-huong-dan-choi__hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(17, 17, 17, 0.5); /* Card B G with transparency */
    color: #FFF6D6;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.page-huong-dan-choi__hero-slider-prev:hover,
.page-huong-dan-choi__hero-slider-next:hover {
    background-color: rgba(242, 193, 78, 0.7); /* Main color with transparency */
}

.page-huong-dan-choi__hero-slider-prev {
    left: 20px;
}

.page-huong-dan-choi__hero-slider-next {
    right: 20px;
}

.page-huong-dan-choi__hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.page-huong-dan-choi__hero-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-huong-dan-choi__hero-dot.is-active {
    background-color: #F2C14E; /* Main color */
}

.page-huong-dan-choi__intro-section,
.page-huong-dan-choi__guide-steps-section,
.page-huong-dan-choi__content-detail-section,
.page-huong-dan-choi__related-articles-section {
    padding: 60px 0;
}

.page-huong-dan-choi__section-title {
    font-size: 2.5rem;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-huong-dan-choi__subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #FFF6D6;
}

.page-huong-dan-choi__guide-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-huong-dan-choi__guide-card {
    flex: 0 0 calc(20% - 16px); /* 5 cards per row, accounting for gap */
    max-width: calc(20% - 16px);
    text-align: center;
    color: #FFF6D6;
}

.page-huong-dan-choi__guide-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-huong-dan-choi__guide-card img {
    width: 100%;
    height: 350px; /* Fixed height for vertical images */
    object-fit: contain; /* Ensure image content is visible */
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 2px solid #3A2A12; /* Border */
    box-shadow: 0 0 15px #FFD36B; /* Glow */
}

.page-huong-dan-choi__guide-card img:hover {
    transform: translateY(-10px);
}

/* Desktop specific padding for staggered effect */
.page-huong-dan-choi__guide-card--pos-1,
.page-huong-dan-choi__guide-card--pos-5 {
    padding-top: 50px;
}

.page-huong-dan-choi__guide-card--pos-2,
.page-huong-dan-choi__guide-card--pos-4 {
    padding-top: 25px;
}

.page-huong-dan-choi__home-content-box {
    max-width: 91%;
    margin: 0 auto;
    padding: 10px 16px;
    border: 5px solid #3A2A12; /* Border */
    border-radius: 15px;
    box-shadow: 0 0 20px #FFD36B; /* Glow */
    height: 700px; /* Fixed height for desktop */
    background-color: #111111; /* Card B G */
}

.page-huong-dan-choi__home-content-inner {
    height: 100%;
    overflow-y: auto;
    padding-right: 15px; /* For scrollbar */
}

.page-huong-dan-choi__home-content-inner::-webkit-scrollbar {
    width: 8px;
}

.page-huong-dan-choi__home-content-inner::-webkit-scrollbar-track {
    background: #3A2A12; /* Border */
    border-radius: 10px;
}

.page-huong-dan-choi__home-content-inner::-webkit-scrollbar-thumb {
    background: #F2C14E; /* Main color */
    border-radius: 10px;
}

.page-huong-dan-choi__sub-title {
    font-size: 1.8rem;
    color: #FFD36B; /* Accent color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-huong-dan-choi p {
    margin-bottom: 15px;
    color: #FFF6D6;
}

.page-huong-dan-choi__figure {
    margin: 20px 0;
    text-align: center;
}

.page-huong-dan-choi__figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #3A2A12; /* Border */
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow */
}

.page-huong-dan-choi__figure figcaption {
    font-style: italic;
    font-size: 0.9rem;
    color: #CCC;
    margin-top: 10px;
}

.page-huong-dan-choi__read-more-link {
    display: inline-block;
    color: #F2C14E; /* Main color */
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-huong-dan-choi__read-more-link:hover {
    color: #FFD36B; /* Accent color */
    text-decoration: underline;
}

.page-huong-dan-choi__tips-list {
    list-style: disc inside;
    margin-left: 20px;
    color: #FFF6D6;
}

.page-huong-dan-choi__tips-list li {
    margin-bottom: 10px;
}

.page-huong-dan-choi__tips-list li strong {
    color: #F2C14E; /* Main color */
}

.page-huong-dan-choi__cta-buttons--bottom {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-huong-dan-choi__related-articles-section {
    background-color: #111111; /* Card B G */
    padding: 60px 0;
    margin-top: 40px;
}

.page-huong-dan-choi__blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.page-huong-dan-choi__blog-card {
    background-color: #0A0A0A; /* Background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #3A2A12; /* Border */
}

.page-huong-dan-choi__blog-card:hover {
    transform: translateY(-5px);
}

.page-huong-dan-choi__blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-huong-dan-choi__blog-card img {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-huong-dan-choi__blog-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    padding: 15px;
    margin-bottom: 5px;
}

.page-huong-dan-choi__blog-card-meta {
    font-size: 0.85rem;
    color: #CCC;
    padding: 0 15px 15px;
}

.page-huong-dan-choi__view-all-button-container {
    text-align: center;
    margin-top: 40px;
}

/* General image and button responsive styles */
.page-huong-dan-choi img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-huong-dan-choi__btn-primary,
.page-huong-dan-choi__btn-secondary {
    width: auto; /* Default for desktop */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-huong-dan-choi__hero-slider {
        height: 500px;
    }
    .page-huong-dan-choi__guide-card {
        flex: 0 0 calc(33.333% - 14px); /* 3 cards per row */
        max-width: calc(33.333% - 14px);
    }
    .page-huong-dan-choi__guide-card--pos-1, .page-huong-dan-choi__guide-card--pos-5 {
        padding-top: 0;
    }
    .page-huong-dan-choi__guide-card--pos-2, .page-huong-dan-choi__guide-card--pos-4 {
        padding-top: 0;
    }
    .page-huong-dan-choi__blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 1. Top carousel section */
    .page-huong-dan-choi__hero-carousel-section {
        padding-top: 10px !important;
        margin-bottom: 20px;
    }
    .page-huong-dan-choi__hero-slider {
        height: 400px !important; /* Adjusted height for mobile */
    }
    .page-huong-dan-choi__hero-content {
        padding: 15px;
        max-width: 90%;
    }
    .page-huong-dan-choi__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .page-huong-dan-choi__description {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .page-huong-dan-choi__hero-slider-prev,
    .page-huong-dan-choi__hero-slider-next {
        padding: 10px;
        font-size: 20px;
        width: 40px;
        height: 40px;
        left: 10px;
        right: 10px;
    }
    .page-huong-dan-choi__hero-slider-dots {
        bottom: 10px;
    }

    /* 2. Guide box + five team vertical cards (上二下三) */
    .page-huong-dan-choi__guide-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
    .page-huong-dan-choi__guide-card {
        padding-top: 0 !important; /* Reset staggered effect */
        flex: none;
        max-width: 100%;
    }
    .page-huong-dan-choi__guide-card--pos-1,
    .page-huong-dan-choi__guide-card--pos-2 {
        grid-column: span 3; /* Top two cards span 3 columns each */
    }
    .page-huong-dan-choi__guide-card--pos-3,
    .page-huong-dan-choi__guide-card--pos-4,
    .page-huong-dan-choi__guide-card--pos-5 {
        grid-column: span 2; /* Bottom three cards span 2 columns each */
    }
    .page-huong-dan-choi__guide-card img {
        height: 250px; /* Adjust height for mobile visibility, maintain aspect ratio */
        object-fit: contain;
    }

    /* 3. home_content outer box */
    .page-huong-dan-choi__home-content-box {
        max-width: 100% !important;
        height: auto !important; /* Full height on mobile */
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
    }
    .page-huong-dan-choi__home-content-inner {
        height: auto !important;
        overflow: visible !important;
        padding-right: 0;
    }
    .page-huong-dan-choi__home-content-inner::-webkit-scrollbar {
        display: none; /* Hide scrollbar on mobile */
    }

    /* 4. Blog card section (4 -> 2 -> 1 columns) */
    .page-huong-dan-choi__blog-grid {
        grid-template-columns: 1fr !important; /* Single column on mobile */
        gap: 15px;
    }
    .page-huong-dan-choi__blog-card img {
        height: 200px; /* Adjusted height for mobile */
    }

    /* 5. General images and buttons */
    .page-huong-dan-choi img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-huong-dan-choi__section,
    .page-huong-dan-choi__card,
    .page-huong-dan-choi__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-huong-dan-choi__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-huong-dan-choi__btn-primary,
    .page-huong-dan-choi__btn-secondary,
    .page-huong-dan-choi a[class*="button"],
    .page-huong-dan-choi 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;
    }
    .page-huong-dan-choi__section-title {
        font-size: 2rem;
    }
    .page-huong-dan-choi__sub-title {
        font-size: 1.5rem;
    }
    .page-huong-dan-choi p, .page-huong-dan-choi li {
        font-size: 16px;
    }
}