/* style/resources.css */
.page-resources {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-resources__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    color: #ffffff;
    background-color: #1A202C; /* Fallback if image fails */
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-resources__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-resources__hero-content {
    position: relative;
    z-index: 3;
}

.page-resources__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    line-height: 1.2;
}

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

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

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

.page-resources__hero-button--primary {
    background-color: #FFD700; /* Gold */
    color: #1A202C; /* Dark blue */
    border: 2px solid #FFD700;
}

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

.page-resources__hero-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-resources__hero-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-resources__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 10px auto 0;
}

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

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

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

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

.page-resources__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.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: #1A202C;
    line-height: 1.3;
}

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

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

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

.page-resources__article-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

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

.page-resources__cta-banner {
    background-color: #1A202C;
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

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

.page-resources__cta-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-resources__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-resources__deep-content-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-resources__sub-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-resources__deep-content-section p {
    margin-bottom: 20px;
    color: #444444;
}

.page-resources__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-resources__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444444;
}

.page-resources__list-item::before {
    content: '★'; /* Star bullet point */
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-resources__list-item strong {
    color: #1A202C;
}

.page-resources__deep-content-cta {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-top: 50px;
}

.page-resources__cta-image {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.page-resources__cta-text-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-bottom: 10px;
}

.page-resources__cta-text-description {
    color: #555555;
    margin-bottom: 20px;
}

.page-resources__cta-text-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #1A202C;
    color: #FFD700;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources__cta-text-button:hover {
    background-color: #333d4f;
}

.page-resources__conclusion-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 50px auto 0;
    color: #333333;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-resources {
        padding-top: var(--header-offset, 80px);
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__hero-button {
        width: 100%;
        max-width: 280px;
    }
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-banner {
        padding: 40px 20px;
    }
    .page-resources__deep-content-cta {
        flex-direction: column;
        text-align: center;
    }
    .page-resources__cta-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 20px;
    }
    /* Mobile content area images must not overflow */
    .page-resources img {
        max-width: 100%;
        height: auto;
    }
    .page-resources__article-image, .page-resources__cta-image {
        min-width: 200px;
        min-height: 150px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__sub-title {
        font-size: 1.5em;
    }
    .page-resources__article-content {
        padding: 20px;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
}