/* style/promotions.css */

/* Base styles for the page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.page-promotions__hero-description {
    font-size: 1.2rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button adapts */
}

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

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Border color */
}

.page-promotions__btn-secondary:hover {
    background: #F2C14E; /* Main color */
    color: #111111; /* Dark text for contrast */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

/* Section General */
.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Main color */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-promotions__paragraph {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Card Grid for Promotion Types */
.page-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-promotions__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B; /* Glow */
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take available space */
}

.page-promotions__card-button {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    width: auto; /* Allow button to size naturally */
    min-width: 150px;
    font-size: 0.95rem;
    margin-top: auto; /* Push button to the bottom */
}

.page-promotions__card-button:hover {
    background: #FFD36B; /* Auxiliary color */
    color: #111111;
}

/* List styles */
.page-promotions__ordered-list,
.page-promotions__unordered-list {
    list-style-position: inside;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding-left: 20px; /* Indent for list markers */
}

.page-promotions__list-item {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 10px;
    line-height: 1.8;
}

.page-promotions__list-item a {
    color: #F2C14E; /* Main color for links */
    text-decoration: underline;
}

.page-promotions__list-item a:hover {
    color: #FFD36B; /* Auxiliary color on hover */
}

/* FAQ Section */
.page-promotions__faq {
    padding-bottom: 60px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    color: #F2C14E; /* Main color */
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Remove default marker for details summary */
}

/* Hide default details marker */
.page-promotions__faq-item summary::-webkit-details-marker,
.page-promotions__faq-item summary::marker {
    display: none;
    content: "";
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B; /* Auxiliary color */
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.7;
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-promotions__final-cta .page-promotions__container {
    background-color: #111111; /* Card BG */
    border-radius: 10px;
    padding: 60px 20px;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.3); /* Soft glow */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-promotions__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0 15px;
    }

    .page-promotions__card {
        padding: 25px;
    }

    .page-promotions__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__hero-content {
        padding: 0 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 7vw, 2.5rem); /* Adjust for smaller screens */
        margin-bottom: 10px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* 其他内容模块 */
    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 20px;
    }

    .page-promotions__paragraph,
    .page-promotions__list-item,
    .page-promotions__card-text,
    .page-promotions__faq-answer p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* 产品展示图区域 (Card Grid acts as this for non-homepage) */
    .page-promotions__card-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        padding: 0; /* Remove horizontal padding, container handles it */
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-image {
        height: 160px;
    }

    /* 通用图片与容器 */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* FAQ Section */
    .page-promotions__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }

    .page-promotions__ordered-list,
    .page-promotions__unordered-list {
        padding-left: 15px;
    }

    .page-promotions__final-cta .page-promotions__container {
        padding: 40px 15px;
    }
}