.page-resources {
    padding-top: var(--header-offset, 120px);
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-resources__hero-section {
    background-color: #0A2463;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

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

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources__hero-cta-button:hover {
    background-color: #e6c200;
    color: #000000;
}

.page-resources__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.page-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-resources__intro-section,
.page-resources__articles-section,
.page-resources__additional-content,
.page-resources__why-8k8vip-section,
.page-resources__advantage-section,
.page-resources__newsletter-section,
.page-resources__explore-more {
    padding: 60px 0;
}

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

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

.page-resources__articles-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: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

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

.page-resources__article-content {
    padding: 25px;
}

.page-resources__article-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

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

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

.page-resources__article-abstract {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-resources__read-more-button {
    display: inline-block;
    background-color: #0A2463;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__read-more-button:hover {
    background-color: #FFD700;
    color: #0A2463;
}

.page-resources__cta-section {
    background-color: #FFD700;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 8px;
}

.page-resources__cta-text {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-resources__cta-button {
    display: inline-block;
    background-color: #0A2463;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-resources__features-grid,
.page-resources__value-points,
.page-resources__holistic-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources__feature-card,
.page-resources__value-card,
.page-resources__holistic-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-resources__feature-title,
.page-resources__value-title,
.page-resources__holistic-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-resources__feature-description,
.page-resources__value-description,
.page-resources__holistic-description {
    font-size: 0.95em;
    color: #666666;
}

.page-resources__newsletter-section {
    background-color: #0A2463;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-resources__newsletter-section .page-resources__section-title {
    color: #FFD700;
}

.page-resources__newsletter-section .page-resources__section-description {
    color: #f0f0f0;
}

.page-resources__newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__newsletter-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
    outline: none;
}

.page-resources__newsletter-button {
    background-color: #FFD700;
    color: #0A2463;
    padding: 15px 25px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-resources__explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-resources__explore-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #0A2463;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-resources__explore-link:hover {
    color: #FFD700;
    transform: translateY(-5px);
}

.page-resources__explore-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-resources__explore-text {
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources__main-title {
        font-size: 2.8em;
    }

    .page-resources__section-title {
        font-size: 2em;
    }

    .page-resources__hero-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .page-resources__main-title {
        font-size: 2.2em;
    }

    .page-resources__hero-description {
        font-size: 1em;
    }

    .page-resources__section-title {
        font-size: 1.8em;
    }

    .page-resources__section-description {
        font-size: 0.95em;
    }

    .page-resources__articles-grid,
    .page-resources__features-grid,
    .page-resources__value-points,
    .page-resources__holistic-features,
    .page-resources__explore-grid {
        grid-template-columns: 1fr;
    }

    .page-resources__hero-content {
        margin-bottom: 20px;
    }

    .page-resources__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources__cta-text {
        font-size: 1.5em;
    }

    .page-resources__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources__newsletter-form {
        flex-direction: column;
    }

    .page-resources__newsletter-input {
        border-radius: 5px;
        margin-bottom: 15px;
        width: 100%;
        max-width: 300px;
    }

    .page-resources__newsletter-button {
        border-radius: 5px;
        width: 100%;
        max-width: 300px;
    }

    /* Ensure content images are not too small on mobile */
    .page-resources img {
        max-width: 100%;
        height: auto;
    }

    .page-resources__article-image {
        height: auto; /* Allow auto height for responsive */
    }

    .page-resources__explore-image {
        width: 100%;
        height: auto;
        max-width: 200px; /* Constrain width for smaller images */
    }

    /* Content area images must not be smaller than 200px */
    .page-resources__article-card img,
    .page-resources__explore-link img {
        min-width: 200px;
        min- /* Adjusted min-height for article images */
    }
}

@media (max-width: 480px) {
    .page-resources__main-title {
        font-size: 1.8em;
    }

    .page-resources__section-title {
        font-size: 1.5em;
    }

    .page-resources__hero-section {
        padding: 40px 15px;
    }

    .page-resources__intro-section,
    .page-resources__articles-section,
    .page-resources__additional-content,
    .page-resources__why-8k8vip-section,
    .page-resources__advantage-section,
    .page-resources__newsletter-section,
    .page-resources__explore-more {
        padding: 40px 0;
    }

    .page-resources__container {
        padding: 0 15px;
    }
}