/* style/resources-co88-fund-security.css */

/* Variables for consistency */
:root {
    --page-primary-bg: #1A202C;
    --page-secondary-color: #FFD700;
    --page-text-light: #F0F0F0;
    --page-text-dark: #1A202C;
    --page-section-bg-alt: #2C3E50; /* Slightly lighter dark for contrast */
    --page-border-color: #4A5568;
    --page-link-hover: #E6B800;
    --page-button-text: #1A202C; /* Dark text on golden button */
    --page-button-hover-bg: #E6B800;
}

/* Base styles for the page content */
.page-resources-co88-fund-security {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--page-text-light);
    background-color: var(--page-primary-bg);
    min-height: 100vh;
}

.page-resources-co88-fund-security__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-co88-fund-security__intro {
    background: var(--page-primary-bg);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--page-border-color);
}

.page-resources-co88-fund-security__title {
    font-size: 2.8em;
    color: var(--page-secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-co88-fund-security__description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--page-text-light);
}

.page-resources-co88-fund-security__cta-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-co88-fund-security__button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-resources-co88-fund-security__button--primary {
    background-color: var(--page-secondary-color);
    color: var(--page-button-text);
    border-color: var(--page-secondary-color);
}

.page-resources-co88-fund-security__button--primary:hover {
    background-color: var(--page-button-hover-bg);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.page-resources-co88-fund-security__button--secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border-color: var(--page-secondary-color);
}

.page-resources-co88-fund-security__button--secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-button-text);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.page-resources-co88-fund-security__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-co88-fund-security__image--content {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-co88-fund-security__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-border-color);
}

.page-resources-co88-fund-security__section--alt-bg {
    background-color: var(--page-section-bg-alt);
}

.page-resources-co88-fund-security__heading {
    font-size: 2.2em;
    color: var(--page-secondary-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-resources-co88-fund-security__sub-heading {
    font-size: 1.6em;
    color: var(--page-text-light);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-co88-fund-security p {
    margin-bottom: 15px;
    color: var(--page-text-light);
    font-size: 1.05em;
}

.page-resources-co88-fund-security__list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-resources-co88-fund-security__list li {
    background-color: #2C3E50;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--page-secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--page-text-light);
    font-size: 1.05em;
}

.page-resources-co88-fund-security__list li strong {
    color: var(--page-secondary-color);
}

/* FAQ Section Styling */
.page-resources-co88-fund-security__section--faq {
    background-color: var(--page-primary-bg);
}

.page-resources-co88-fund-security__faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--page-border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #2C3E50; /* Lighter dark for item background */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #34495E; /* Slightly different dark for question header */
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--page-text-light);
}

.faq-question:hover {
    background-color: #4A5568;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--page-secondary-color);
    font-weight: 600;
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--page-secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: var(--page-section-bg-alt);
    color: var(--page-text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
    color: var(--page-text-light);
}

.page-resources-co88-fund-security__conclusion {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--page-primary-bg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-co88-fund-security__title {
        font-size: 2.2em;
    }
    .page-resources-co88-fund-security__heading {
        font-size: 1.8em;
    }
    .page-resources-co88-fund-security__sub-heading {
        font-size: 1.4em;
    }
    .page-resources-co88-fund-security__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-co88-fund-security__image--content {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .page-resources-co88-fund-security__intro,
    .page-resources-co88-fund-security__section,
    .page-resources-co88-fund-security__conclusion {
        padding: 40px 15px;
    }
    .page-resources-co88-fund-security__title {
        font-size: 1.8em;
    }
    .page-resources-co88-fund-security__description,
    .page-resources-co88-fund-security p,
    .page-resources-co88-fund-security__list li,
    .faq-answer p {
        font-size: 0.95em;
    }
    .page-resources-co88-fund-security__heading {
        font-size: 1.6em;
    }
    .page-resources-co88-fund-security__sub-heading {
        font-size: 1.2em;
    }
    .page-resources-co88-fund-security__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-co88-fund-security__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-co88-fund-security__title {
        font-size: 1.5em;
    }
    .page-resources-co88-fund-security__heading {
        font-size: 1.4em;
    }
    .page-resources-co88-fund-security__sub-heading {
        font-size: 1.1em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
}