/* style/resources-latest-promotions.css */
.page-resources-latest-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Light gray for main text on dark background */
    background-color: #1A202C; /* Main dark background */
}

.page-resources-latest-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-latest-promotions__hero-section {
    background: linear-gradient(135deg, #1A202C 0%, #3B404C 100%); /* Dark gradient for hero */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #FFD700; /* Golden border */
}

.page-resources-latest-promotions__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Golden for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-latest-promotions__hero-subtitle {
    font-size: 1.4em;
    color: #D0D0D0; /* Lighter gray for subtitle */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-latest-promotions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Golden CTA button */
    color: #1A202C; /* Dark text on golden button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-latest-promotions__cta-button:hover {
    background-color: #E0B800; /* Darker golden on hover */
    transform: translateY(-3px);
}

.page-resources-latest-promotions__content-section {
    padding: 60px 0;
    background-color: #1A202C;
}

.page-resources-latest-promotions__article {
    background-color: #2A303C; /* Slightly lighter dark background for article */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-promotions__heading {
    font-size: 2.2em;
    color: #FFD700; /* Golden for main headings */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-resources-latest-promotions__sub-heading {
    font-size: 1.7em;
    color: #FFD700; /* Golden for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-latest-promotions p {
    margin-bottom: 15px;
    color: #E0E0E0;
    font-size: 1.1em;
}

.page-resources-latest-promotions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-resources-latest-promotions__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-latest-promotions__list li strong {
    color: #FFD700;
}

.page-resources-latest-promotions__inline-link {
    color: #FFD700; /* Golden for inline links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-latest-promotions__inline-link:hover {
    color: #E0B800;
    text-decoration: underline;
}

.page-resources-latest-promotions__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-resources-latest-promotions__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-resources-latest-promotions__image-caption {
    color: #B0B0B0;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-resources-latest-promotions__cta-block {
    background-color: #3B404C; /* Darker background for CTA block */
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
    border: 1px solid #FFD700;
}

.page-resources-latest-promotions__cta-text {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-latest-promotions__cta-button--large {
    padding: 18px 35px;
    font-size: 1.3em;
}

.page-resources-latest-promotions__cta-subtext {
    color: #D0D0D0;
    font-size: 1.1em;
    margin-top: 20px;
}

/* Floating promotion menu */
.page-resources-latest-promotions__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    transform: translateX(calc(100% + 20px)); /* Hidden by default */
}

.page-resources-latest-promotions__floating-promo.active {
    transform: translateX(0);
}

.page-resources-latest-promotions__floating-promo-toggle {
    background-color: #1A202C;
    color: #FFD700;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    align-self: flex-end;
    margin-bottom: 10px;
}

.page-resources-latest-promotions__floating-promo-toggle:hover {
    background-color: #0d0f12;
}

.page-resources-latest-promotions__floating-promo-item {
    display: block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-latest-promotions__floating-promo-item:hover {
    background-color: #3B404C;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-latest-promotions__hero-title {
        font-size: 2.5em;
    }

    .page-resources-latest-promotions__hero-subtitle {
        font-size: 1.2em;
    }

    .page-resources-latest-promotions__heading {
        font-size: 1.8em;
    }

    .page-resources-latest-promotions__sub-heading {
        font-size: 1.4em;
    }

    .page-resources-latest-promotions__article {
        padding: 25px;
    }

    .page-resources-latest-promotions__cta-block {
        padding: 30px;
    }

    .page-resources-latest-promotions__cta-text {
        font-size: 1.3em;
    }

    .page-resources-latest-promotions__cta-button--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    
    .page-resources-latest-promotions__floating-promo {
        right: 10px;
        bottom: 10px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .page-resources-latest-promotions__hero-title {
        font-size: 1.8em;
    }

    .page-resources-latest-promotions__hero-subtitle {
        font-size: 1em;
    }

    .page-resources-latest-promotions__heading {
        font-size: 1.5em;
    }

    .page-resources-latest-promotions__sub-heading {
        font-size: 1.2em;
    }

    .page-resources-latest-promotions p,
    .page-resources-latest-promotions__list li {
        font-size: 1em;
    }

    .page-resources-latest-promotions__cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .page-resources-latest-promotions__cta-button--large {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-latest-promotions__floating-promo {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px;
    }

    .page-resources-latest-promotions__floating-promo-toggle {
        order: -1; /* Move toggle to top */
        width: 100%;
        margin-bottom: 10px;
    }

    .page-resources-latest-promotions__floating-promo-item {
        flex: 1 1 auto;
        margin: 5px;
        min-width: 120px;
    }
}