/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f6;
}

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

.page-resources__hero-section {
    background: linear-gradient(135deg, #003366, #004080);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00;
    position: relative;
    z-index: 1;
}

.page-resources__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1em;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-resources__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    margin-top: 15px;
}

.page-resources__btn--primary:hover {
    background-color: #e6b800;
    color: #002244;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
    font-weight: bold;
}

.page-resources__section-subtitle {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.page-resources__articles-section {
    padding: 60px 0;
    background-color: #fff;
}

.page-resources__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources__article-card {
    background-color: #fcfcfc;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #003366;
    font-weight: bold;
}

.page-resources__article-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
    color: #FFCC00;
}

.page-resources__article-category {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.page-resources__article-excerpt {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources__btn--secondary {
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    align-self: flex-start;
    padding: 10px 20px;
}

.page-resources__btn--secondary:hover {
    background-color: #002244;
    border-color: #002244;
}

.page-resources__cta-download {
    background: linear-gradient(90deg, #003366, #004d99);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-resources__cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-resources__cta-text {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFCC00;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 600px;
}

.page-resources__cta-image-wrapper {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources__faq-section {
    padding: 60px 0;
    background-color: #f4f7f6;
}

.page-resources__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources__faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-resources__faq-question {
    padding: 20px 25px;
    font-size: 1.2em;
    color: #003366;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-resources__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-resources__faq-answer.open {
    max-height: 500px; /* Adjust as needed */
    padding: 0 25px 20px;
}

.page-resources__faq-answer p {
    margin-bottom: 15px;
}

.page-resources__faq-answer .page-resources__btn {
    margin-top: 10px;
}

.page-resources__final-cta-section {
    background-color: #003366;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-resources__final-cta-title {
    font-size: 2.8em;
    color: #FFCC00;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__final-cta-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 40px;
}

.page-resources__final-cta-section .page-resources__btn {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__cta-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-resources__cta-text {
        text-align: center;
    }
    .page-resources__cta-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources__final-cta-title {
        font-size: 2.2em;
    }
    .page-resources__final-cta-section .page-resources__btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
    .page-resources__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-subtitle {
        font-size: 0.9em;
    }
    .page-resources__article-content {
        padding: 15px;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__final-cta-title {
        font-size: 1.8em;
    }
    .page-resources__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-resources__faq-answer {
        padding: 0 20px 15px;
    }
}