/* style/promotions-latest-details.css */
:root {
    --primary-color: #336699;
    --secondary-color: #FFCC00;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #000000; /* Body background from shared.css */
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions-latest-details {
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
    padding-top: 120px; /* Adjust for fixed header */
}

@media (max-width: 768px) {
    .page-promotions-latest-details {
        padding-top: 100px; /* Adjust for fixed header on mobile */
    }
}

.page-promotions-latest-details__hero-banner-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: var(--background-dark);
}

.page-promotions-latest-details__hero-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-details__hero-banner-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Only for visual effect, not changing original color */
}

.page-promotions-latest-details__hero-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-latest-details__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-color-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions-latest-details__subtitle {
    font-size: 20px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-promotions-latest-details__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-promotions-latest-details__cta-button--primary {
    background: linear-gradient(135deg, var(--secondary-color), #e6b800);
    color: var(--text-color-dark);
}

.page-promotions-latest-details__cta-button--primary:hover {
    background: linear-gradient(135deg, #e6b800, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-details__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-promotions-latest-details__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 20px;
}

.page-promotions-latest-details__section-title--light {
    color: var(--text-color-light);
}

.page-promotions-latest-details__section-description {
    font-size: 18px;
    color: var(--text-color-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-promotions-latest-details__section-description--light {
    color: var(--text-color-light);
}

.page-promotions-latest-details__promotions-overview-section {
    background-color: var(--background-dark);
    padding: 60px 0;
}

.page-promotions-latest-details__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions-latest-details__promotion-card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

.page-promotions-latest-details__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-latest-details__promotion-card-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-promotions-latest-details__promotion-card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-latest-details__promotion-card-description {
    font-size: 16px;
    color: var(--text-color-dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-promotions-latest-details__cta-button--secondary {
    background: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 25px;
    font-size: 16px;
}

.page-promotions-latest-details__cta-button--secondary:hover {
    background: #2a527c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-details__terms-conditions-section {
    background-color: var(--primary-color);
    padding: 60px 0;
}

.page-promotions-latest-details__terms-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-promotions-latest-details__terms-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-size: 17px;
    line-height: 1.6;
}

.page-promotions-latest-details__list-icon {
    color: var(--secondary-color);
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: -3px;
}

.page-promotions-latest-details__terms-list li p {
    margin: 0;
    color: var(--text-color-light);
}

.page-promotions-latest-details__terms-list li strong {
    color: var(--secondary-color);
}

.page-promotions-latest-details__faq-section {
    background-color: var(--background-dark);
    padding: 60px 0;
}

.page-promotions-latest-details__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions-latest-details__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--card-background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions-latest-details__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;
    color: var(--text-color-dark);
}

.page-promotions-latest-details__faq-item.active .page-promotions-latest-details__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-promotions-latest-details__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-promotions-latest-details__faq-question:active {
    background: #eeeeee;
}

.page-promotions-latest-details__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-promotions-latest-details__faq-toggle {
    font-size: 28px;
    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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-promotions-latest-details__faq-item.active .page-promotions-latest-details__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions-latest-details__main-title {
        font-size: 40px;
    }
    .page-promotions-latest-details__subtitle {
        font-size: 18px;
    }
    .page-promotions-latest-details__hero-banner-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-promotions-latest-details__hero-banner-section {
        padding: 40px 15px;
    }
    .page-promotions-latest-details__hero-banner-image {
        height: 300px;
    }
    .page-promotions-latest-details__hero-banner-content {
        padding: 15px;
    }
    .page-promotions-latest-details__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions-latest-details__subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-promotions-latest-details__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-promotions-latest-details__container {
        padding: 30px 15px;
    }
    .page-promotions-latest-details__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions-latest-details__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-promotions-latest-details__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-latest-details__promotion-card {
        padding: 25px;
    }
    .page-promotions-latest-details__promotion-card-image {
        height: 180px;
        max-width: 100%;
    }
    .page-promotions-latest-details__promotion-card-title {
        font-size: 20px;
    }
    .page-promotions-latest-details__promotion-card-description {
        font-size: 15px;
    }
    .page-promotions-latest-details__cta-button--secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    .page-promotions-latest-details__terms-list li {
        font-size: 15px;
    }
    .page-promotions-latest-details__list-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    .page-promotions-latest-details__faq-question {
        padding: 15px;
    }
    .page-promotions-latest-details__faq-question h3 {
        font-size: 16px;
    }
    .page-promotions-latest-details__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }
    .page-promotions-latest-details__faq-item.active .page-promotions-latest-details__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-latest-details__main-title {
        font-size: 28px;
    }
    .page-promotions-latest-details__subtitle {
        font-size: 14px;
    }
    .page-promotions-latest-details__hero-banner-image {
        height: 250px;
    }
    .page-promotions-latest-details__section-title {
        font-size: 24px;
    }
}