/* style/promotions-latest-offers.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-promotions-latest-offers {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Cho nền body màu đen */
    background-color: transparent; /* Body đã có màu nền từ shared.css */
}

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

/* Hero Section */
.page-promotions-latest-offers__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Nhỏ hơn cho phần top, không dùng --header-offset */
    background-color: #000000; /* Đảm bảo nền tối cho hero */
    overflow: hidden;
}

.page-promotions-latest-offers__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Giới hạn chiều cao hình ảnh */
    overflow: hidden;
}

.page-promotions-latest-offers__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-latest-offers__hero-content {
    position: relative; /* Đảm bảo nội dung không bị ảnh hưởng bởi z-index của ảnh */
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Kéo nội dung lên một chút để gần ảnh */
    background: rgba(0, 0, 0, 0.7); /* Nền mờ cho nội dung trên ảnh */
    border-radius: 8px;
}

.page-promotions-latest-offers__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-latest-offers__description {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-promotions-latest-offers__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions-latest-offers__btn-primary,
.page-promotions-latest-offers__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Đảm bảo nút không tràn */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-latest-offers__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-promotions-latest-offers__btn-primary:hover {
    background-color: #1a7bb0;
    border-color: #1a7bb0;
}

.page-promotions-latest-offers__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions-latest-offers__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* General Section Styles */
.page-promotions-latest-offers__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
}

.page-promotions-latest-offers__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-promotions-latest-offers__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-promotions-latest-offers__dark-section {
    background-color: #000000; /* Nền đen */
    color: #FFFFFF;
    padding: 60px 0;
}

/* Promo Grid */
.page-promotions-latest-offers__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-latest-offers__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Nền hơi trong suốt */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions-latest-offers__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-offers__promo-image {
    width: 100%;
    max-width: 400px; /* Chiều rộng tối đa */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-promotions-latest-offers__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions-latest-offers__card-description {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions-latest-offers__card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #EA7C07; /* Màu cam cho nút phụ */
    color: #FFFFFF;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-latest-offers__card-button:hover {
    background-color: #c76a06;
}

/* Steps Grid */
.page-promotions-latest-offers__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-latest-offers__step-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions-latest-offers__step-icon {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-promotions-latest-offers__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions-latest-offers__step-description {
    font-size: 0.95rem;
    color: #555555;
    flex-grow: 1;
}

.page-promotions-latest-offers__cta-buttons--centered {
    margin-top: 40px;
    text-align: center;
}

/* Terms List */
.page-promotions-latest-offers__terms-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.8;
}

.page-promotions-latest-offers__terms-list li {
    margin-bottom: 10px;
}

/* Features Grid (Why Choose) */
.page-promotions-latest-offers__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-latest-offers__feature-item {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions-latest-offers__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
}

.page-promotions-latest-offers__feature-description {
    font-size: 0.95rem;
    color: #555555;
}

/* FAQ Section */
.page-promotions-latest-offers__faq-list {
    margin-top: 40px;
}

.page-promotions-latest-offers__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Nền hơi trong suốt */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-promotions-latest-offers__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-latest-offers__faq-item summary {
    list-style: none; /* Ẩn mũi tên mặc định của details */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.page-promotions-latest-offers__faq-item summary::-webkit-details-marker {
    display: none; /* Ẩn marker trên WebKit browsers */
}

.page-promotions-latest-offers__faq-item summary:hover {
    color: #26A9E0;
}

.page-promotions-latest-offers__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-promotions-latest-offers__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.7;
}

/* CTA Banner Section */
.page-promotions-latest-offers__cta-banner-section {
    background-color: #000000;
    padding: 80px 0;
    text-align: center;
}

.page-promotions-latest-offers__cta-banner-content {
    max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-latest-offers__hero-content {
        margin-top: -80px;
        padding: 30px 20px;
    }
    .page-promotions-latest-offers__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-promotions-latest-offers__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-promotions-latest-offers__promo-grid,
    .page-promotions-latest-offers__steps-grid,
    .page-promotions-latest-offers__features-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions-latest-offers {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions-latest-offers__hero-content {
        margin-top: -60px;
        padding: 20px 15px;
    }
    .page-promotions-latest-offers__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-promotions-latest-offers__description {
        font-size: 1rem;
    }
    .page-promotions-latest-offers__section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }
    .page-promotions-latest-offers__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-latest-offers__btn-primary,
    .page-promotions-latest-offers__btn-secondary,
    .page-promotions-latest-offers a[class*="button"],
    .page-promotions-latest-offers 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-promotions-latest-offers__cta-buttons,
    .page-promotions-latest-offers__button-group,
    .page-promotions-latest-offers__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions-latest-offers__hero-section,
    .page-promotions-latest-offers__overview-section,
    .page-promotions-latest-offers__types-section,
    .page-promotions-latest-offers__how-to-claim-section,
    .page-promotions-latest-offers__terms-section,
    .page-promotions-latest-offers__why-choose-section,
    .page-promotions-latest-offers__faq-section,
    .page-promotions-latest-offers__cta-banner-section {
        padding: 40px 0;
    }
    .page-promotions-latest-offers__container {
        padding: 0 15px;
    }
    .page-promotions-latest-offers img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-latest-offers__section,
    .page-promotions-latest-offers__card,
    .page-promotions-latest-offers__container,
    .page-promotions-latest-offers__video-section,
    .page-promotions-latest-offers__video-container,
    .page-promotions-latest-offers__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions-latest-offers__video-section {
        padding-top: 10px !important;
    }
    .page-promotions-latest-offers__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions-latest-offers__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-latest-offers__hero-content {
        margin-top: -40px;
        padding: 15px 10px;
    }
    .page-promotions-latest-offers__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-promotions-latest-offers__description {
        font-size: 0.9rem;
    }
    .page-promotions-latest-offers__btn-primary,
    .page-promotions-latest-offers__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-promotions-latest-offers__section-title {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }
    .page-promotions-latest-offers__promo-card,
    .page-promotions-latest-offers__step-card,
    .page-promotions-latest-offers__feature-item {
        padding: 20px;
    }
    .page-promotions-latest-offers__card-title {
        font-size: 1.3rem;
    }
    .page-promotions-latest-offers__step-title {
        font-size: 1.2rem;
    }
    .page-promotions-latest-offers__faq-item summary {
        font-size: 0.95rem;
    }
}