/* style/resources-maximize-promotions.css */
.page-resources-maximize-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-resources-maximize-promotions__hero-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1A2B5B 0%, #0F1D3F 100%);
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-maximize-promotions__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.page-resources-maximize-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    line-height: 1.2;
}

.page-resources-maximize-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-maximize-promotions__hero-image-wrapper {
    margin-top: 40px;
}

.page-resources-maximize-promotions__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* General Section Styles */
.page-resources-maximize-promotions__intro-section,
.page-resources-maximize-promotions__types-section,
.page-resources-maximize-promotions__strategy-section,
.page-resources-maximize-promotions__video-section,
.page-resources-maximize-promotions__mistakes-section,
.page-resources-maximize-promotions__faq-section,
.page-resources-maximize-promotions__conclusion-section {
    padding: 60px 0;
    background-color: #121212; /* Dark background for content sections */
    color: #ffffff;
}

.page-resources-maximize-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-maximize-promotions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #1A2B5B;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources-maximize-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-resources-maximize-promotions__btn-primary,
.page-resources-maximize-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    margin: 10px;
    border: 2px solid transparent;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-resources-maximize-promotions__btn-primary {
    background-color: #FFD700;
    color: #1A2B5B;
    border-color: #FFD700;
}

.page-resources-maximize-promotions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-maximize-promotions__btn-secondary {
    background-color: #1A2B5B;
    color: #FFD700;
    border-color: #1A2B5B;
}

.page-resources-maximize-promotions__btn-secondary:hover {
    background-color: #121e3d;
    border-color: #121e3d;
    transform: translateY(-2px);
}

.page-resources-maximize-promotions__cta-bottom {
    display: block;
    margin-top: 50px;
    text-align: center;
    max-width: 300px; /* Limit width for CTA button */
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.page-resources-maximize-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styles */
.page-resources-maximize-promotions__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-resources-maximize-promotions__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-maximize-promotions__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources-maximize-promotions__card-image {
    width: 100%;
    max-width: 400px; /* Max width for card images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum height for card images */
    min-width: 200px; /* Minimum width for card images */
}

.page-resources-maximize-promotions__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-maximize-promotions__card--dark {
    background-color: #1A2B5B; /* Darker background for specific cards */
    color: #ffffff;
}
.page-resources-maximize-promotions__card--dark .page-resources-maximize-promotions__card-title {
    color: #FFD700;
}
.page-resources-maximize-promotions__card--dark .page-resources-maximize-promotions__card-text {
    color: #ffffff;
}


/* Strategy Section Specific */
.page-resources-maximize-promotions__strategy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-resources-maximize-promotions__strategy-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #FFD700;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-maximize-promotions__strategy-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources-maximize-promotions__list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.page-resources-maximize-promotions__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-resources-maximize-promotions__list li::before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* Video Section */
.page-resources-maximize-promotions__video-section {
    background-color: #0F1D3F; /* Darker blue background for video */
    text-align: center;
}

.page-resources-maximize-promotions__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-maximize-promotions__video-link {
    display: block;
    line-height: 0; /* Remove extra space below video */
}

.page-resources-maximize-promotions__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* FAQ Section */
.page-resources-maximize-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-resources-maximize-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-maximize-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1A2B5B;
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-maximize-promotions__faq-question:hover {
    background-color: #0F1D3F;
}

.page-resources-maximize-promotions__faq-question h3 {
    margin: 0;
    color: inherit;
    flex-grow: 1;
}

.page-resources-maximize-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 30px;
    text-align: center;
}

.page-resources-maximize-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-maximize-promotions__faq-answer p {
    margin: 0;
    padding-bottom: 20px; /* Only add padding to bottom of paragraph */
}

.page-resources-maximize-promotions__faq-item.active .page-resources-maximize-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important; /* Re-add padding when active */
    padding-top: 0 !important; /* Avoid double padding from question */
}

.page-resources-maximize-promotions__faq-item.active .page-resources-maximize-promotions__faq-toggle {
    transform: rotate(0deg); /* Icon rotation is handled by JS text content */
}

.page-resources-maximize-promotions__faq-answer a {
    color: #FFD700;
    text-decoration: none;
}

.page-resources-maximize-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* Conclusion Section */
.page-resources-maximize-promotions__conclusion-section {
    text-align: center;
    background: linear-gradient(45deg, #0F1D3F 0%, #1A2B5B 100%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-maximize-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-resources-maximize-promotions__hero-description {
        font-size: 1.2em;
    }
    .page-resources-maximize-promotions__section-title {
        font-size: 2em;
    }
    .page-resources-maximize-promotions__card-title {
        font-size: 1.3em;
    }
    .page-resources-maximize-promotions__strategy-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-maximize-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-maximize-promotions__container {
        padding: 0 15px;
    }

    .page-resources-maximize-promotions__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-maximize-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-resources-maximize-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-resources-maximize-promotions__intro-section,
    .page-resources-maximize-promotions__types-section,
    .page-resources-maximize-promotions__strategy-section,
    .page-resources-maximize-promotions__mistakes-section,
    .page-resources-maximize-promotions__faq-section,
    .page-resources-maximize-promotions__conclusion-section {
        padding: 40px 0;
    }

    .page-resources-maximize-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-maximize-promotions__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-maximize-promotions__card {
        padding: 20px;
    }
    .page-resources-maximize-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        min-width: 200px;
    }

    /* Images */
    .page-resources-maximize-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-maximize-promotions__hero-image-wrapper,
    .page-resources-maximize-promotions__card,
    .page-resources-maximize-promotions__container,
    .page-resources-maximize-promotions__video-section,
    .page-resources-maximize-promotions__video-container,
    .page-resources-maximize-promotions__video-wrapper,
    .page-resources-maximize-promotions__faq-section,
    .page-resources-maximize-promotions__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video */
    .page-resources-maximize-promotions video,
    .page-resources-maximize-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-maximize-promotions__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Buttons */
    .page-resources-maximize-promotions__btn-primary,
    .page-resources-maximize-promotions__btn-secondary,
    .page-resources-maximize-promotions a[class*="button"],
    .page-resources-maximize-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    .page-resources-maximize-promotions__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-resources-maximize-promotions__cta-buttons,
    .page-resources-maximize-promotions__button-group,
    .page-resources-maximize-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .page-resources-maximize-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-resources-maximize-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-resources-maximize-promotions__faq-item.active .page-resources-maximize-promotions__faq-answer {
        padding: 15px !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-resources-maximize-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-resources-maximize-promotions__hero-description {
        font-size: 1em;
    }
    .page-resources-maximize-promotions__section-title {
        font-size: 1.5em;
    }
    .page-resources-maximize-promotions__btn-primary,
    .page-resources-maximize-promotions__btn-secondary {
        padding: 10px 20px;
        font-size: 1em;
    }
}