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

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

.page-resources .highlight {
    color: #007BFF;
}

.page-resources__hero {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-content {
    max-width: 800px;
    z-index: 1;
    margin-bottom: 40px;
}

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

.page-resources__hero-title .highlight {
    color: #FFC107;
}

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    opacity: 0.2;
    z-index: 0;
}

.page-resources__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.page-resources__btn--primary {
    background-color: #FFC107;
    color: #000;
}

.page-resources__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #FFC107;
}

.page-resources__btn--secondary:hover {
    background-color: #FFC107;
    color: #000;
    transform: translateY(-2px);
}

.page-resources__btn--link {
    background-color: transparent;
    color: #007BFF;
    padding: 8px 0;
    font-size: 0.95em;
}

.page-resources__btn--link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.page-resources__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.page-resources__article-card {
    background-color: #fefefe;
    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(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-thumbnail {
    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: 15px;
    color: #007BFF;
    font-weight: 600;
}

.page-resources__article-title a {
    color: #007BFF;
    text-decoration: none;
}

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

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

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

.page-resources__pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #ddd;
    color: #007BFF;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.page-resources__pagination-item:hover {
    background-color: #007BFF;
    color: #fff;
}

.page-resources__pagination-item--active {
    background-color: #007BFF;
    color: #fff;
    border-color: #007BFF;
}

.page-resources__cta-section {
    background-color: #007BFF;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-resources__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-resources__cta-title .highlight {
    color: #FFC107;
}

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

.page-resources__cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn--large {
        width: 100%;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-description {
        font-size: 1em;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
    .page-resources__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__section-title {
        font-size: 1.6em;
    }
    .page-resources__article-thumbnail {
        height: 150px;
    }
    .page-resources__article-content {
        padding: 15px;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__article-summary {
        font-size: 0.85em;
    }
    .page-resources__pagination-item {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    .page-resources__cta-title {
        font-size: 1.6em;
    }
    .page-resources__cta-description {
        font-size: 0.9em;
    }
}