/* style/blog-p88-2024-promotions-guide.css */

/* Custom Colors */
:root {
    --p88-green-main: #11A84E;
    --p88-green-accent: #22C768;
    --p88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --p88-card-bg: #11271B;
    --p88-bg-dark: #08160F;
    --p88-text-main: #F2FFF6;
    --p88-text-secondary: #A7D9B8;
    --p88-border: #2E7A4E;
    --p88-glow: #57E38D;
    --p88-gold: #F2C14E;
    --p88-divider: #1E3A2A;
    --p88-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-blog-p88-2024-promotions-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--p88-text-main); /* Default text color for dark background */
    background-color: var(--p88-bg-dark); /* Assume body background is dark */
    padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
}

.page-blog-p88-2024-promotions-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-p88-2024-promotions-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px; /* Space below content */
    padding-top: 10px; /* Small padding, body handles header offset */
}

.page-blog-p88-2024-promotions-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-blog-p88-2024-promotions-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-blog-p88-2024-promotions-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 60px 20px;
    color: var(--p88-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-blog-p88-2024-promotions-guide__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--p88-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-p88-2024-promotions-guide__description {
    font-size: 1.1rem;
    color: var(--p88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
}

/* Buttons */
.page-blog-p88-2024-promotions-guide__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-p88-2024-promotions-guide__btn-primary {
    background: var(--p88-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-p88-2024-promotions-guide__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-p88-2024-promotions-guide__btn-secondary {
    background: transparent;
    color: var(--p88-green-accent);
    border: 2px solid var(--p88-green-accent);
    margin-left: 20px;
}

.page-blog-p88-2024-promotions-guide__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    color: var(--p88-text-main);
}

.page-blog-p88-2024-promotions-guide__button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
}

/* Section Titles */
.page-blog-p88-2024-promotions-guide__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--p88-gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-p88-2024-promotions-guide__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--p88-green-accent);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Text Blocks */
.page-blog-p88-2024-promotions-guide__text-block {
    font-size: 1rem;
    color: var(--p88-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

/* List Styles */
.page-blog-p88-2024-promotions-guide__ordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-blog-p88-2024-promotions-guide__list-item {
    font-size: 1rem;
    color: var(--p88-text-secondary);
    margin-bottom: 10px;
}

/* Image Styling */
.page-blog-p88-2024-promotions-guide__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-blog-p88-2024-promotions-guide__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure block-level for max-width */
    margin: 0 auto;
}

/* FAQ Section */
.page-blog-p88-2024-promotions-guide__faq-list {
    margin-top: 30px;
}

.page-blog-p88-2024-promotions-guide__faq-item {
    background-color: var(--p88-card-bg);
    border: 1px solid var(--p88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-p88-2024-promotions-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--p88-text-main);
    cursor: pointer;
    background-color: var(--p88-deep-green);
    transition: background-color 0.3s ease;
}

.page-blog-p88-2024-promotions-guide__faq-question:hover {
    background-color: var(--p88-green-main);
}

.page-blog-p88-2024-promotions-guide__faq-item[open] > .page-blog-p88-2024-promotions-guide__faq-question {
    background-color: var(--p88-green-main);
}

.page-blog-p88-2024-promotions-guide__faq-qtext {
    flex-grow: 1;
}

.page-blog-p88-2024-promotions-guide__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--p88-gold);
}

.page-blog-p88-2024-promotions-guide__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--p88-text-secondary);
    background-color: var(--p88-card-bg);
    border-top: 1px solid var(--p88-border);
}

.page-blog-p88-2024-promotions-guide__faq-item summary {
    list-style: none;
}

.page-blog-p88-2024-promotions-guide__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Related Articles Section */
.page-blog-p88-2024-promotions-guide__related-articles {
    padding: 60px 20px;
    background-color: var(--p88-card-bg); /* Use card background for this section */
    color: var(--p88-text-main);
}

.page-blog-p88-2024-promotions-guide__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-p88-2024-promotions-guide__article-card {
    background-color: var(--p88-deep-green);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--p88-text-main);
    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;
}

.page-blog-p88-2024-promotions-guide__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-p88-2024-promotions-guide__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-blog-p88-2024-promotions-guide__article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--p88-gold);
    padding: 15px 20px 10px;
    min-height: 60px;
}

.page-blog-p88-2024-promotions-guide__article-excerpt {
    font-size: 0.95rem;
    color: var(--p88-text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

/* Color Contrast Fixes */
.page-blog-p88-2024-promotions-guide__dark-bg {
    background-color: var(--p88-bg-dark);
    color: var(--p88-text-main);
}

.page-blog-p88-2024-promotions-guide__light-bg {
    background-color: var(--p88-card-bg); /* Using a dark card background for content sections */
    color: var(--p88-text-main);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-blog-p88-2024-promotions-guide {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 0; /* Body handles padding-top */
    }

    .page-blog-p88-2024-promotions-guide__container,
    .page-blog-p88-2024-promotions-guide__hero-content {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-blog-p88-2024-promotions-guide__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-blog-p88-2024-promotions-guide__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-blog-p88-2024-promotions-guide__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-blog-p88-2024-promotions-guide__sub-title {
        font-size: 1.5rem;
    }

    /* Images responsive */
    .page-blog-p88-2024-promotions-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-p88-2024-promotions-guide__image-wrapper,
    .page-blog-p88-2024-promotions-guide__article-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsive */
    .page-blog-p88-2024-promotions-guide__cta-button,
    .page-blog-p88-2024-promotions-guide__btn-primary,
    .page-blog-p88-2024-promotions-guide__btn-secondary,
    .page-blog-p88-2024-promotions-guide a[class*="button"],
    .page-blog-p88-2024-promotions-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Remove margin-left for secondary button */
        margin-bottom: 15px; /* Add spacing between stacked buttons */
    }

    .page-blog-p88-2024-promotions-guide__button-group {
        flex-direction: column;
        gap: 0;
    }

    .page-blog-p88-2024-promotions-guide__button-group .page-blog-p88-2024-promotions-guide__cta-button:last-child {
        margin-bottom: 0;
    }

    /* FAQ responsive */
    .page-blog-p88-2024-promotions-guide__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-blog-p88-2024-promotions-guide__faq-answer {
        padding: 15px 20px;
    }

    /* Related articles responsive */
    .page-blog-p88-2024-promotions-guide__article-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop specific styles for content sections to ensure width: 100% for container */
.page-blog-p88-2024-promotions-guide__content-area {
    width: 100%; /* Ensure content area takes full width */
    box-sizing: border-box;
}

.page-blog-p88-2024-promotions-guide__content-area > .page-blog-p88-2024-promotions-guide__container {
    width: 100%; /* Ensure inner container is also full width before max-width */
}

/* Specific background colors for sections */
.page-blog-p88-2024-promotions-guide__content-area.page-blog-p88-2024-promotions-guide__light-bg {
    background-color: var(--p88-card-bg);
}

.page-blog-p88-2024-promotions-guide__content-area.page-blog-p88-2024-promotions-guide__dark-bg {
    background-color: var(--p88-bg-dark);
}

.page-blog-p88-2024-promotions-guide__related-articles {
    background-color: var(--p88-card-bg);
}