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

/* Base styles for the page content */
.page-resources-slot-strategy {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set page background to white */
}

/* Hero Section */
.page-resources-slot-strategy__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
    background-color: #26A9E0; /* Fallback background color */
}

.page-resources-slot-strategy__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.page-resources-slot-strategy__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: 1;
}

.page-resources-slot-strategy__hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 900px;
    padding: 0 20px;
}

.page-resources-slot-strategy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-resources-slot-strategy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-slot-strategy__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-resources-slot-strategy__content-section {
    padding: 60px 20px;
    text-align: center;
}

.page-resources-slot-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding for content */
}

.page-resources-slot-strategy__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand primary color for titles */
}

.page-resources-slot-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-slot-strategy__paragraph a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-resources-slot-strategy__paragraph a:hover {
    text-decoration: underline;
}

/* Image specific styles */
.page-resources-slot-strategy__image-wrapper {
    margin: 40px auto;
    max-width: 800px; /* Constrain image width */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-slot-strategy__content-image,
.page-resources-slot-strategy__card-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images cover their area */
    border-radius: 8px;
}

/* Card Grid */
.page-resources-slot-strategy__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-slot-strategy__card {
    background: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-slot-strategy__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    text-align: center;
}

.page-resources-slot-strategy__image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-slot-strategy__card-text {
    font-size: 1em;
    color: #333333;
    flex-grow: 1; /* Allow text to grow */
}

.page-resources-slot-strategy__card-text a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-resources-slot-strategy__card-text a:hover {
    text-decoration: underline;
}

/* Feature List */
.page-resources-slot-strategy__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-slot-strategy__feature-item {
    background: #f8f8f8;
    color: #333333;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-resources-slot-strategy__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-resources-slot-strategy__feature-text {
    font-size: 1em;
    color: #555555;
}

.page-resources-slot-strategy__feature-text a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-resources-slot-strategy__feature-text a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-resources-slot-strategy__cta-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Primary brand color for CTA */
    color: #FFFFFF;
}

.page-resources-slot-strategy__cta-section .page-resources-slot-strategy__section-title {
    color: #FFFFFF;
}

.page-resources-slot-strategy__cta-section .page-resources-slot-strategy__paragraph {
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-slot-strategy__cta-section .page-resources-slot-strategy__paragraph a {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-resources-slot-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.page-resources-slot-strategy__btn-primary,
.page-resources-slot-strategy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-resources-slot-strategy__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-resources-slot-strategy__btn-primary:hover {
    background-color: #D46F00;
    border-color: #D46F00;
    transform: translateY(-2px);
}

.page-resources-slot-strategy__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-slot-strategy__btn-secondary:hover {
    background-color: #E0F7FA;
    border-color: #26A9E0;
    transform: translateY(-2px);
}

/* Background color specific text colors */
.page-resources-slot-strategy__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-resources-slot-strategy__dark-bg .page-resources-slot-strategy__section-title,
.page-resources-slot-strategy__dark-bg .page-resources-slot-strategy__paragraph,
.page-resources-slot-strategy__dark-bg .page-resources-slot-strategy__card-title,
.page-resources-slot-strategy__dark-bg .page-resources-slot-strategy__card-text {
    color: #FFFFFF;
}

.page-resources-slot-strategy__dark-bg .page-resources-slot-strategy__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card on dark background */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-slot-strategy__dark-bg .page-resources-slot-strategy__card a {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-resources-slot-strategy__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* FAQ Section */
.page-resources-slot-strategy__faq-section {
    padding: 60px 20px;
    background-color: #26A9E0; /* Dark background for FAQ */
    color: #FFFFFF;
    text-align: center;
}

.page-resources-slot-strategy__faq-section .page-resources-slot-strategy__section-title {
    color: #FFFFFF;
}

.page-resources-slot-strategy__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-resources-slot-strategy__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-slot-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-resources-slot-strategy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-slot-strategy__faq-title {
    font-size: 1.2em;
    color: #FFFFFF;
    margin: 0;
}

.page-resources-slot-strategy__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.page-resources-slot-strategy__faq-item.active .page-resources-slot-strategy__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-slot-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    background-color: rgba(0, 0, 0, 0.1);
}

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

.page-resources-slot-strategy__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

.page-resources-slot-strategy__faq-answer p a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: bold;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-slot-strategy__hero-title {
        font-size: 3em;
    }
    .page-resources-slot-strategy__hero-description {
        font-size: 1.2em;
    }
    .page-resources-slot-strategy__section-title {
        font-size: 2em;
    }
    .page-resources-slot-strategy__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* Mobile specific styles */
    .page-resources-slot-strategy__hero-section {
        height: 500px; /* Adjust height for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is applied */
    }

    .page-resources-slot-strategy__hero-title {
        font-size: 2.2em;
    }
    .page-resources-slot-strategy__hero-description {
        font-size: 1em;
    }
    .page-resources-slot-strategy__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to buttons container */
    }

    .page-resources-slot-strategy__btn-primary,
    .page-resources-slot-strategy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center buttons */
    }

    .page-resources-slot-strategy__content-section {
        padding: 40px 15px;
    }

    .page-resources-slot-strategy__container {
        padding: 0 15px;
    }

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

    .page-resources-slot-strategy__paragraph {
        font-size: 0.95em;
    }

    /* Image responsive adaptions */
    .page-resources-slot-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    .page-resources-slot-strategy__image-wrapper,
    .page-resources-slot-strategy__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Add padding to image containers */
    }

    /* Video responsive adaptions */
    .page-resources-slot-strategy video,
    .page-resources-slot-strategy__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        position: relative !important; /* Adjust for mobile, so it doesn't overflow parent */
        transform: none !important; /* Reset transform for mobile */
        left: auto !important;
        top: auto !important;
    }

    /* Video container mobile adaptation */
    .page-resources-slot-strategy__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-slot-strategy__card,
    .page-resources-slot-strategy__feature-item {
        padding: 20px;
    }

    .page-resources-slot-strategy__faq-question {
        padding: 15px 20px;
    }
    .page-resources-slot-strategy__faq-answer {
        padding: 0 20px;
    }
    .page-resources-slot-strategy__faq-item.active .page-resources-slot-strategy__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-slot-strategy__hero-title {
        font-size: 1.8em;
    }
    .page-resources-slot-strategy__hero-description {
        font-size: 0.9em;
    }
    .page-resources-slot-strategy__section-title {
        font-size: 1.5em;
    }
    .page-resources-slot-strategy__faq-title {
        font-size: 1em;
    }
}