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

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

.page-resources-hero {
    background: linear-gradient(135deg, #003366, #FFCC00);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* Ensure high contrast */
}

.page-resources-hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly lighter for contrast */
}

.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.3s ease;
    margin: 10px;
    font-size: 1.1em;
}

.page-resources-btn-primary {
    background-color: #FFCC00; /* Auxiliary color */
    color: #003366; /* Main color for text, high contrast */
    border: 2px solid #FFCC00;
}

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

.page-resources-btn-secondary {
    background-color: #003366; /* Main color */
    color: #FFCC00; /* Auxiliary color for text, high contrast */
    border: 2px solid #003366;
}

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

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

.page-resources-section-title {
    font-size: 2.5em;
    color: #003366; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00; /* Auxiliary color */
    border-radius: 2px;
}

.page-resources-sub-title {
    font-size: 1.8em;
    color: #003366;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFCC00;
    padding-left: 15px;
}

.page-resources-intro, .page-resources-articles, .page-resources-deep-content, .page-resources-cta {
    padding: 60px 0;
}

.page-resources-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.page-resources-articles {
    background-color: #eef4f8; /* Light background for contrast */
}

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

.page-resources-article-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    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 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-article-image {
    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.5em;
    margin-bottom: 15px;
    color: #003366; /* Main color */
    line-height: 1.3;
}

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

.page-resources-article-title a:hover {
    color: #FFCC00; /* Auxiliary color on hover */
}

.page-resources-article-category {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
    text-transform: uppercase;
}

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

.page-resources-content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-cta {
    background-color: #003366; /* Main color */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-resources-cta .page-resources-section-title {
    color: #ffffff;
}

.page-resources-cta .page-resources-section-title::after {
    background-color: #FFCC00;
}

.page-resources-cta .page-resources-text {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-resources-mt-30 {
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources-hero-title {
        font-size: 2.5em;
    }
    .page-resources-hero-subtitle {
        font-size: 1.2em;
    }
    .page-resources-section-title {
        font-size: 2em;
    }
    .page-resources-sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-hero {
        padding: 60px 0;
    }
    .page-resources-hero-title {
        font-size: 2em;
    }
    .page-resources-hero-subtitle {
        font-size: 1em;
    }
    .page-resources-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-resources-btn-large {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-resources-article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-section-title {
        font-size: 1.8em;
    }
    .page-resources-sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-resources-hero-title {
        font-size: 1.8em;
    }
    .page-resources-hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources-btn {
        margin: 5px;
    }
    .page-resources-cta-content .page-resources-btn {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }
    .page-resources-section-title {
        font-size: 1.6em;
    }
    .page-resources-sub-title {
        font-size: 1.2em;
    }
}