:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-login-color: #EA7C07;
    --border-color: #e0e0e0;
    --background-light: #f9f9f9;
    --background-white: #ffffff;
}

.page-resources-pg99-latest-promotions-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background: var(--background-white);
}

.page-resources-pg99-latest-promotions-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-pg99-latest-promotions-guide__container--center {
    text-align: center;
}

.page-resources-pg99-latest-promotions-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color) 0%, #aee3f7 100%);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-resources-pg99-latest-promotions-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-resources-pg99-latest-promotions-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-pg99-latest-promotions-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-pg99-latest-promotions-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-pg99-latest-promotions-guide__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-resources-pg99-latest-promotions-guide__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-resources-pg99-latest-promotions-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-login-color); /* Sử dụng màu cam cho CTA chính */
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-pg99-latest-promotions-guide__cta-button:hover {
    background: #e06c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-pg99-latest-promotions-guide__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
}

.page-resources-pg99-latest-promotions-guide__section {
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
}

.page-resources-pg99-latest-promotions-guide__section:last-of-type {
    border-bottom: none;
}

.page-resources-pg99-latest-promotions-guide__intro-section {
    background: var(--background-light);
}

.page-resources-pg99-latest-promotions-guide__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-pg99-latest-promotions-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-color-dark);
}

.page-resources-pg99-latest-promotions-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-pg99-latest-promotions-guide__card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

.page-resources-pg99-latest-promotions-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-resources-pg99-latest-promotions-guide__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    max-width: 100%;
}

.page-resources-pg99-latest-promotions-guide__card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-pg99-latest-promotions-guide__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-pg99-latest-promotions-guide__card-title a:hover {
    color: #1e87b7;
    text-decoration: underline;
}

.page-resources-pg99-latest-promotions-guide__steps-list,
.page-resources-pg99-latest-promotions-guide__terms-list,
.page-resources-pg99-latest-promotions-guide__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-resources-pg99-latest-promotions-guide__steps-list li,
.page-resources-pg99-latest-promotions-guide__terms-list li,
.page-resources-pg99-latest-promotions-guide__benefits-list li {
    background: var(--background-white);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-size: 1.05em;
    color: var(--text-color-dark);
}

.page-resources-pg99-latest-promotions-guide__steps-list li strong,
.page-resources-pg99-latest-promotions-guide__terms-list li strong,
.page-resources-pg99-latest-promotions-guide__benefits-list li strong {
    color: var(--primary-color);
}

.page-resources-pg99-latest-promotions-guide__steps-list li a {
    color: var(--button-login-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-pg99-latest-promotions-guide__steps-list li a:hover {
    text-decoration: underline;
}

.page-resources-pg99-latest-promotions-guide__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-pg99-latest-promotions-guide__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.page-resources-pg99-latest-promotions-guide__faq-section {
    background: var(--background-light);
}

.page-resources-pg99-latest-promotions-guide__faq-list {
    margin-top: 40px;
}

/* FAQ容器样式 */
.page-resources-pg99-latest-promotions-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-resources-pg99-latest-promotions-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-resources-pg99-latest-promotions-guide__faq-item.active .page-resources-pg99-latest-promotions-guide__faq-answer {
    max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo độ ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
    padding: 20px 25px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

/* Vấn đề phong cách */
.page-resources-pg99-latest-promotions-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-pg99-latest-promotions-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-pg99-latest-promotions-guide__faq-question:active {
    background: #eeeeee;
}

/* Tiêu đề câu hỏi phong cách */
.page-resources-pg99-latest-promotions-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện click */
}

/* Chuyển đổi biểu tượng */
.page-resources-pg99-latest-promotions-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-pg99-latest-promotions-guide__faq-item.active .page-resources-pg99-latest-promotions-guide__faq-toggle {
    color: var(--button-login-color);
    transform: rotate(45deg); /* Để biểu tượng '+' xoay thành 'x' hoặc '-' */
}

.page-resources-pg99-latest-promotions-guide__call-to-action-section {
    background: linear-gradient(90deg, #26A9E0, #34B7E4);
    color: var(--text-color-light);
    text-align: center;
    padding: 80px 20px;
}

.page-resources-pg99-latest-promotions-guide__call-to-action-section .page-resources-pg99-latest-promotions-guide__section-title {
    color: var(--text-color-light);
}

.page-resources-pg99-latest-promotions-guide__call-to-action-section .page-resources-pg99-latest-promotions-guide__text-block {
    color: var(--text-color-light);
    max-width: 800px;
    margin: 20px auto 40px auto;
}

/* Global image responsiveness */
.page-resources-pg99-latest-promotions-guide img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-pg99-latest-promotions-guide__main-title {
        font-size: 2.8em;
    }
    .page-resources-pg99-latest-promotions-guide__subtitle {
        font-size: 1.2em;
    }
    .page-resources-pg99-latest-promotions-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-pg99-latest-promotions-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-resources-pg99-latest-promotions-guide__hero-image img {
        border-radius: 4px;
    }
    
    .page-resources-pg99-latest-promotions-guide__main-title {
        font-size: 2.2em;
    }
    .page-resources-pg99-latest-promotions-guide__subtitle {
        font-size: 1em;
    }
    .page-resources-pg99-latest-promotions-guide__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-resources-pg99-latest-promotions-guide__section {
        padding: 40px 0;
    }
    .page-resources-pg99-latest-promotions-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-pg99-latest-promotions-guide__text-block {
        font-size: 1em;
    }
    .page-resources-pg99-latest-promotions-guide__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-pg99-latest-promotions-guide__promo-card img {
        
    }
    
    .page-resources-pg99-latest-promotions-guide__steps-list li,
    .page-resources-pg99-latest-promotions-guide__terms-list li,
    .page-resources-pg99-latest-promotions-guide__benefits-list li {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    
    .page-resources-pg99-latest-promotions-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
      
    .page-resources-pg99-latest-promotions-guide__section,
    .page-resources-pg99-latest-promotions-guide__card,
    .page-resources-pg99-latest-promotions-guide__container,
    .page-resources-pg99-latest-promotions-guide__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* FAQ Mobile Styles */
    .page-resources-pg99-latest-promotions-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
      
    .page-resources-pg99-latest-promotions-guide__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
      
    .page-resources-pg99-latest-promotions-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
      
    .page-resources-pg99-latest-promotions-guide__faq-answer {
        padding: 0 15px;
    }
      
    .page-resources-pg99-latest-promotions-guide__faq-item.active .page-resources-pg99-latest-promotions-guide__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-resources-pg99-latest-promotions-guide__main-title {
        font-size: 1.8em;
    }
    .page-resources-pg99-latest-promotions-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-pg99-latest-promotions-guide__cta-button {
        font-size: 14px;
        padding: 10px 25px;
    }
    .page-resources-pg99-latest-promotions-guide__promo-card img {
        
    }
}