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

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

.page-resources__hero {
    background: linear-gradient(135deg, #0A246A, #FFD700);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #0A246A;
    border: 2px solid #FFD700;
}

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

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

.page-resources__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A246A;
    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: #FFD700;
    border-radius: 2px;
}

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

.page-resources__overview {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-resources__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-resources__content-grid > div {
    flex: 1;
}

.page-resources__content-text p {
    margin-bottom: 15px;
    color: #444;
}

.page-resources__content-text a {
    color: #0A246A;
    text-decoration: underline;
}

.page-resources__content-text a:hover {
    color: #FFD700;
}

.page-resources__img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-resources__articles {
    padding: 80px 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: #fefefe;
    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(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-resources__card-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources__card-title a {
    color: #0A246A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
    color: #FFD700;
}

.page-resources__card-category {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.page-resources__btn--link {
    background-color: #0A246A;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    align-self: flex-start;
    border: 2px solid #0A246A;
}

.page-resources__btn--link:hover {
    background-color: #071a4a;
    color: #FFD700;
    border-color: #071a4a;
}

.page-resources__deep-dive {
    padding: 80px 0;
    background-color: #f0f2f5;
}

.page-resources__deep-dive h2 {
    color: #0A246A;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.page-resources__deep-dive h3 {
    color: #0A246A;
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources__deep-dive p {
    color: #444;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-resources__deep-dive ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources__deep-dive li {
    margin-bottom: 8px;
    color: #444;
}

.page-resources__deep-dive a {
    color: #0A246A;
    text-decoration: underline;
}

.page-resources__deep-dive a:hover {
    color: #FFD700;
}

.page-resources__btn--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: fit-content;
}

.page-resources__cta-bottom {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 1.1em;
    }
    .page-resources__content-grid {
        flex-direction: column;
    }
    .page-resources__content-grid > div {
        width: 100%;
    }
    .page-resources__content-image {
        order: -1; /* Image appears above text on smaller screens */
    }
    .page-resources__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-subtitle {
        font-size: 1em;
    }
    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-description {
        font-size: 0.95em;
    }
    .page-resources__deep-dive h3 {
        font-size: 1.5em;
    }
    .page-resources__cta-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources__btn {
        width: 100%;
        text-align: center;
    }
    .page-resources__container {
        padding: 0 15px;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
}