/* style/resources-slot-strategy-tips.css */

/* --- Base Styles --- */
.page-resources-slot-strategy-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--bg-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
}

/* Ensure no double padding if shared already sets it on body */
body.has-header-offset .page-resources-slot-strategy-tips {
    padding-top: 0;
}

.page-resources-slot-strategy-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-slot-strategy-tips__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-slot-strategy-tips__subsection-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color */
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-resources-slot-strategy-tips__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources-slot-strategy-tips__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-resources-slot-strategy-tips__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* --- Color Contrast Classes --- */
.page-resources-slot-strategy-tips__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-resources-slot-strategy-tips__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 60px 0;
}

/* --- Hero Section --- */
.page-resources-slot-strategy-tips__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-resources-slot-strategy-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-slot-strategy-tips__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-slot-strategy-tips__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 20px;
}

.page-resources-slot-strategy-tips__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-slot-strategy-tips__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

/* --- CTA Button Styles --- */
a.page-resources-slot-strategy-tips__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-slot-strategy-tips__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-resources-slot-strategy-tips__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-resources-slot-strategy-tips__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #26A9E0;
}

.page-resources-slot-strategy-tips__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb3;
}

/* --- Image Styles --- */
.page-resources-slot-strategy-tips__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-resources-slot-strategy-tips__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    /* Ensure minimum size for content images */
    min-width: 200px;
    min-height: 200px;
}

/* --- CTA Banner --- */
.page-resources-slot-strategy-tips__cta-banner {
    position: relative;
    width: 100%;
    height: 400px; /* Example height */
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
}

.page-resources-slot-strategy-tips__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-slot-strategy-tips__cta-text-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
    padding: 30px;
    border-radius: 8px;
    max-width: 700px;
}

.page-resources-slot-strategy-tips__cta-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-slot-strategy-tips__cta-description {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* --- FAQ Section --- */
.page-resources-slot-strategy-tips__faq-list {
    margin-top: 40px;
}

.page-resources-slot-strategy-tips__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-slot-strategy-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-resources-slot-strategy-tips__faq-question:hover {
    background-color: #e5e5e5;
}

.page-resources-slot-strategy-tips__faq-title {
    margin: 0;
    font-size: 1.2em; /* Ensure title font size is appropriate */
    color: #333333;
}

.page-resources-slot-strategy-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-slot-strategy-tips__faq-item.active .page-resources-slot-strategy-tips__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-slot-strategy-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

.page-resources-slot-strategy-tips__faq-item.active .page-resources-slot-strategy-tips__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-resources-slot-strategy-tips__faq-answer .page-resources-slot-strategy-tips__paragraph {
    margin-bottom: 0;
}

/* --- Final CTA --- */
.page-resources-slot-strategy-tips__final-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Light background on dark section */
    border-radius: 12px;
    color: #FFFFFF;
}

.page-resources-slot-strategy-tips__cta-text {
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: bold;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-resources-slot-strategy-tips__hero-title {
        font-size: 2.8em;
    }
    .page-resources-slot-strategy-tips__hero-description {
        font-size: 1.1em;
    }
    .page-resources-slot-strategy-tips__section-title {
        font-size: 2em;
    }
    .page-resources-slot-strategy-tips__subsection-title {
        font-size: 1.5em;
    }
    .page-resources-slot-strategy-tips__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    /* Fixed header spacing for mobile, if not already handled by shared on body */
    .page-resources-slot-strategy-tips {
        padding-top: var(--header-offset, 120px) !important;
        font-size: 16px;
        line-height: 1.6;
    }
    /* Ensure no double padding if shared already sets it on body */
    body.has-header-offset .page-resources-slot-strategy-tips {
        padding-top: 0 !important;
    }

    .page-resources-slot-strategy-tips__hero-section {
        height: 450px;
    }
    .page-resources-slot-strategy-tips__hero-title {
        font-size: 2em;
    }
    .page-resources-slot-strategy-tips__hero-description {
        font-size: 1em;
    }
    a.page-resources-slot-strategy-tips__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile specific image and container rules */
    .page-resources-slot-strategy-tips img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size even on mobile */
        min-height: 200px !important;
    }
    
    .page-resources-slot-strategy-tips__image-wrapper,
    .page-resources-slot-strategy-tips__cta-banner,
    .page-resources-slot-strategy-tips__cta-text-wrapper,
    .page-resources-slot-strategy-tips__faq-item,
    .page-resources-slot-strategy-tips__final-cta,
    .page-resources-slot-strategy-tips__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-resources-slot-strategy-tips__section-title {
        font-size: 1.8em;
    }
    .page-resources-slot-strategy-tips__subsection-title {
        font-size: 1.3em;
    }
    .page-resources-slot-strategy-tips__cta-title {
        font-size: 1.5em;
    }
    .page-resources-slot-strategy-tips__cta-banner {
        height: auto; /* Adjust height for mobile */
        padding: 20px 0;
    }
    .page-resources-slot-strategy-tips__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-resources-slot-strategy-tips__faq-answer {
        padding: 15px;
    }
    .page-resources-slot-strategy-tips__faq-item.active .page-resources-slot-strategy-tips__faq-answer {
        padding: 15px !important; /* Ensure padding on active state */
    }
}