/* style/blog-f8best-latest-promotions.css */
:root {
    --f8best-primary-color: #11A84E;
    --f8best-secondary-color: #22C768;
    --f8best-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --f8best-card-bg: #11271B;
    --f8best-background: #08160F;
    --f8best-text-main: #F2FFF6;
    --f8best-text-secondary: #A7D9B8;
    --f8best-border-color: #2E7A4E;
    --f8best-glow-color: #57E38D;
    --f8best-gold-color: #F2C14E;
    --f8best-divider-color: #1E3A2A;
    --f8best-deep-green: #0A4B2C;
}

.page-blog-f8best-latest-promotions {
    background-color: var(--f8best-background);
    color: var(--f8best-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

.page-blog-f8best-latest-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding for content */
    background-color: var(--f8best-deep-green);
    overflow: hidden;
}

.page-blog-f8best-latest-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for aesthetic */
    filter: brightness(0.7); /* Slightly dim image to make text pop, NOT changing color */
}

.page-blog-f8best-latest-promotions__hero-content {
    position: relative; /* Ensure content is above image visually if needed, but not overlapping */
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: -150px auto 0 auto; /* Pull content up over the image's bottom part */
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.8); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--f8best-border-color);
}

.page-blog-f8best-latest-promotions__main-title {
    color: var(--f8best-gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
    text-transform: uppercase;
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-blog-f8best-latest-promotions__description {
    color: var(--f8best-text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-blog-f8best-latest-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-blog-f8best-latest-promotions__btn-primary,
.page-blog-f8best-latest-promotions__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-blog-f8best-latest-promotions__btn-primary {
    background: var(--f8best-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-f8best-latest-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-f8best-latest-promotions__btn-secondary {
    background-color: transparent;
    color: var(--f8best-gold-color);
    border: 2px solid var(--f8best-gold-color);
}

.page-blog-f8best-latest-promotions__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
}

.page-blog-f8best-latest-promotions__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--f8best-card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--f8best-border-color);
}

.page-blog-f8best-latest-promotions__section-title {
    color: var(--f8best-gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2em;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-f8best-latest-promotions__section-description {
    color: var(--f8best-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.05em;
}

.page-blog-f8best-latest-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-f8best-latest-promotions__card {
    background-color: var(--f8best-deep-green);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--f8best-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-f8best-latest-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-f8best-latest-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--f8best-border-color);
}

.page-blog-f8best-latest-promotions__card-title {
    color: var(--f8best-gold-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-f8best-latest-promotions__card-text {
    color: var(--f8best-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-f8best-latest-promotions__card-link {
    display: inline-block;
    background: var(--f8best-button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog-f8best-latest-promotions__card-link:hover {
    filter: brightness(1.1);
}

.page-blog-f8best-latest-promotions__steps-list,
.page-blog-f8best-latest-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-blog-f8best-latest-promotions__step-item,
.page-blog-f8best-latest-promotions__terms-item {
    background-color: var(--f8best-deep-green);
    border: 1px solid var(--f8best-border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-blog-f8best-latest-promotions__step-title,
.page-blog-f8best-latest-promotions__terms-heading {
    color: var(--f8best-gold-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-blog-f8best-latest-promotions__step-item p,
.page-blog-f8best-latest-promotions__terms-item p {
    color: var(--f8best-text-secondary);
    font-size: 1em;
}

.page-blog-f8best-latest-promotions__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-f8best-latest-promotions__feature-item {
    background-color: var(--f8best-deep-green);
    border: 1px solid var(--f8best-border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-blog-f8best-latest-promotions__feature-title {
    color: var(--f8best-gold-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-blog-f8best-latest-promotions__feature-item p {
    color: var(--f8best-text-secondary);
    font-size: 0.95em;
}

.page-blog-f8best-latest-promotions__faq-section {
    margin-bottom: 60px;
}

.page-blog-f8best-latest-promotions__faq-list {
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.page-blog-f8best-latest-promotions__faq-item {
    background-color: var(--f8best-deep-green);
    border: 1px solid var(--f8best-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-blog-f8best-latest-promotions__faq-item:hover {
    background-color: var(--f8best-primary-color);
}

.page-blog-f8best-latest-promotions__faq-item[open] {
    background-color: var(--f8best-primary-color);
}

.page-blog-f8best-latest-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--f8best-text-main);
    font-size: 1.1em;
    position: relative;
    list-style: none; /* For details/summary */
}

.page-blog-f8best-latest-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-f8best-latest-promotions__faq-question::marker {
    display: none;
}

.page-blog-f8best-latest-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--f8best-gold-color);
}

.page-blog-f8best-latest-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--f8best-glow-color);
}

.page-blog-f8best-latest-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--f8best-text-secondary);
    font-size: 1em;
}

.page-blog-f8best-latest-promotions__final-cta {
    text-align: center;
    padding: 40px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-f8best-latest-promotions__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-blog-f8best-latest-promotions__hero-content {
        margin-top: -80px;
        padding: 15px;
    }

    .page-blog-f8best-latest-promotions__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-blog-f8best-latest-promotions__description {
        font-size: 1em;
    }

    .page-blog-f8best-latest-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-f8best-latest-promotions__btn-primary,
    .page-blog-f8best-latest-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-blog-f8best-latest-promotions__section {
        margin: 20px auto;
        padding: 15px;
    }

    .page-blog-f8best-latest-promotions__section-title {
        font-size: 1.8em;
    }

    .page-blog-f8best-latest-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-blog-f8best-latest-promotions__grid,
    .page-blog-f8best-latest-promotions__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-blog-f8best-latest-promotions__card-title {
        font-size: 1.2em;
    }

    .page-blog-f8best-latest-promotions__step-item,
    .page-blog-f8best-latest-promotions__terms-item,
    .page-blog-f8best-latest-promotions__feature-item {
        padding: 20px;
    }

    .page-blog-f8best-latest-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    /* Mobile image responsiveness */
    .page-blog-f8best-latest-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog-f8best-latest-promotions__hero-section,
    .page-blog-f8best-latest-promotions__section,
    .page-blog-f8best-latest-promotions__card,
    .page-blog-f8best-latest-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    
    .page-blog-f8best-latest-promotions__hero-section {
        padding-top: 10px !important;
    }
    
    /* Ensure button containers also wrap */
    .page-blog-f8best-latest-promotions__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-blog-f8best-latest-promotions__hero-content {
        margin-top: -60px;
    }

    .page-blog-f8best-latest-promotions__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
}