/* style/resources-latest-alo789-promotions-analysis.css */

/* Variables for brand colors */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-resources-latest-alo789-promotions-analysis {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly white for content area */
}

.page-resources-latest-alo789-promotions-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-latest-alo789-promotions-analysis__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.page-resources-latest-alo789-promotions-analysis__section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

.page-resources-latest-alo789-promotions-analysis__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-latest-alo789-promotions-analysis__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Hero Section */
.page-resources-latest-alo789-promotions-analysis__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%); /* Darker gradient for hero */
    color: var(--text-light);
    overflow: hidden; /* Ensure content doesn't overflow from gradient */
}

.page-resources-latest-alo789-promotions-analysis__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above image overlay if any */
}

.page-resources-latest-alo789-promotions-analysis__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0.8; /* Slightly dim the image for text readability */
}

.page-resources-latest-alo789-promotions-analysis__hero-content {
    position: absolute; /* Overlay content on image */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%; /* Max width for content */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-resources-latest-alo789-promotions-analysis__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Gold for main title */
    line-height: 1.2;
}

.page-resources-latest-alo789-promotions-analysis__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-latest-alo789-promotions-analysis__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color); /* Gold button */
    color: var(--primary-color); /* Dark blue text on gold */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-alo789-promotions-analysis__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General image styling */
.page-resources-latest-alo789-promotions-analysis__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Lists */
.page-resources-latest-alo789-promotions-analysis__list,
.page-resources-latest-alo789-promotions-analysis__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

.page-resources-latest-alo789-promotions-analysis__ordered-list {
    list-style-type: decimal;
}

.page-resources-latest-alo789-promotions-analysis__list li,
.page-resources-latest-alo789-promotions-analysis__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* CTA Banner */
.page-resources-latest-alo789-promotions-analysis__cta-banner {
    position: relative;
    margin-top: 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-height: 200px; /* Ensure banner has minimum height */
}

.page-resources-latest-alo789-promotions-analysis__cta-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability, not change color */
    min-width: 200px;
    min-height: 200px;
}

.page-resources-latest-alo789-promotions-analysis__cta-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    width: 90%;
    max-width: 700px;
    z-index: 1;
}

.page-resources-latest-alo789-promotions-analysis__cta-banner-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-latest-alo789-promotions-analysis__cta-button--banner {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.05em;
    margin-top: 25px;
}

/* FAQ Section */
.page-resources-latest-alo789-promotions-analysis__faq {
    background-color: var(--bg-light);
}

.page-resources-latest-alo789-promotions-analysis__faq-list {
    margin-top: 40px;
}

.page-resources-latest-alo789-promotions-analysis__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-resources-latest-alo789-promotions-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-latest-alo789-promotions-analysis__faq-question:hover {
    background: #f5f5f5;
}

.page-resources-latest-alo789-promotions-analysis__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-resources-latest-alo789-promotions-analysis__faq-toggle {
    font-size: 24px;
    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: 28px;
    height: 28px;
}

.page-resources-latest-alo789-promotions-analysis__faq-item.active .page-resources-latest-alo789-promotions-analysis__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-resources-latest-alo789-promotions-analysis__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 20px;
    opacity: 0;
    background: #fdfdfd;
    color: var(--text-dark);
}

.page-resources-latest-alo789-promotions-analysis__faq-item.active .page-resources-latest-alo789-promotions-analysis__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-latest-alo789-promotions-analysis__main-title {
        font-size: 2.5em;
    }
    .page-resources-latest-alo789-promotions-analysis__intro-text {
        font-size: 1.1em;
    }
    .page-resources-latest-alo789-promotions-analysis__section-title {
        font-size: 2em;
    }
    .page-resources-latest-alo789-promotions-analysis__cta-banner-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-alo789-promotions-analysis {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-latest-alo789-promotions-analysis__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fixed header spacing for mobile */
    .page-resources-latest-alo789-promotions-analysis__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-latest-alo789-promotions-analysis__hero-content {
        padding: 20px;
        width: 95%;
    }

    .page-resources-latest-alo789-promotions-analysis__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-resources-latest-alo789-promotions-analysis__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-latest-alo789-promotions-analysis__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-resources-latest-alo789-promotions-analysis__section {
        padding: 40px 0;
    }
    .page-resources-latest-alo789-promotions-analysis__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Image responsive */
    .page-resources-latest-alo789-promotions-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset; /* Allow smaller images on mobile if needed for layout, but still > 200px */
        min-height: unset;
    }

    /* Ensure content area images maintain minimum size if explicitly set */
    .page-resources-latest-alo789-promotions-analysis__image {
      min-width: 200px;
      min-height: 200px;
    }

    /* CTA Banner responsive */
    .page-resources-latest-alo789-promotions-analysis__cta-banner-title {
        font-size: 1.8em;
    }
    .page-resources-latest-alo789-promotions-analysis__cta-button--banner {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    /* FAQ responsive */
    .page-resources-latest-alo789-promotions-analysis__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-latest-alo789-promotions-analysis__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-resources-latest-alo789-promotions-analysis__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-latest-alo789-promotions-analysis__faq-answer {
        padding: 0 15px;
    }
    .page-resources-latest-alo789-promotions-analysis__faq-item.active .page-resources-latest-alo789-promotions-analysis__faq-answer {
        padding: 15px !important;
    }
}

/* Contrast fix if needed, though proactive measures are taken */
.page-resources-latest-alo789-promotions-analysis__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-latest-alo789-promotions-analysis__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}