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

.page-resources .highlight {
    color: #FFD700;
}

.page-resources .btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-resources .btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources .btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-resources .btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

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

.page-resources__hero {
    background: linear-gradient(135deg, #0A2463 0%, #204a87 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-resources__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-resources__hero-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__hero-description a:hover {
    text-decoration: underline;
}

.page-resources__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
}

.page-resources__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 20px;
}

.page-resources__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__section-description a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__section-description a:hover {
    text-decoration: underline;
}

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

.page-resources__article-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 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(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources__article-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.page-resources__article-title {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #0A2463;
}

.page-resources__article-title a {
    color: #0A2463;
    text-decoration: none;
}

.page-resources__article-title a:hover {
    text-decoration: underline;
    color: #FFD700;
}

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

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

.page-resources__article-summary a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__article-summary a:hover {
    text-decoration: underline;
}

.page-resources__read-more {
    align-self: flex-start;
}

.page-resources__pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-resources__pagination-item {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #eee;
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__pagination-item:hover {
    background-color: #FFD700;
    color: #0A2463;
}

.page-resources__pagination-item--active {
    background-color: #0A2463;
    color: #ffffff;
}

.page-resources__cta-banner {
    background: linear-gradient(90deg, #0A2463, #3068b5);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

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

.page-resources__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-resources__cta-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__cta-description a:hover {
    text-decoration: underline;
}

.page-resources__cta-button {
    background-color: #FFD700;
    color: #0A2463;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 8px;
}

.page-resources__cta-button:hover {
    background-color: #e6c200;
}

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

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

.page-resources__faq-question {
    font-size: 1.4em;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-resources__faq-answer {
    font-size: 1em;
    color: #555;
    margin-bottom: 0;
}

.page-resources__faq-answer a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources__hero {
        padding: 60px 20px;
    }
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 15px;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-image-wrapper {
        margin-top: 30px;
    }
    .page-resources__article-content {
        padding: 20px;
    }
    .page-resources__article-title {
        font-size: 1.4em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__cta-banner {
        padding: 60px 20px;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
    .page-resources__cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }
    .page-resources__faq-question {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__article-content {
        padding: 15px;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__cta-title {
        font-size: 1.5em;
    }
    .page-resources__cta-button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-resources__faq-question {
        font-size: 1.1em;
    }
}