/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Light gray text for dark backgrounds */
    background-color: #1A202C; /* Dark background */
}

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

.page-resources__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources__hero {
    background: linear-gradient(135deg, #FFD700, #1A202C);
    padding: 100px 0;
    color: #1A202C; /* Dark text for light background gradient */
    text-align: center;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1A202C; /* Darker text for contrast on gold */
}

.page-resources__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333333; /* Even darker text for readability */
}

.page-resources__hero-actions .page-resources__btn {
    margin: 0 15px;
}

.page-resources__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main titles */
    font-weight: bold;
}

.page-resources__section-subtitle {
    font-size: 1.1em;
    color: #AAAAAA; /* Lighter gray for subtitles */
    margin-bottom: 40px;
}

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

.page-resources__content-grid:nth-child(even) {
    flex-direction: row-reverse;
}

.page-resources__text-content {
    flex: 1;
}

.page-resources__text-content p {
    margin-bottom: 15px;
    color: #E0E0E0;
}

.page-resources__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-resources__advantage-item {
    background-color: #2A303C; /* Slightly lighter dark background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-resources__advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-resources__advantage-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 10px;
}

.page-resources__advantage-description {
    color: #CCCCCC;
}

.page-resources__cta-bottom {
    margin-top: 50px;
}

.page-resources__articles {
    background-color: #12161E; /* Even darker background for contrast */
}

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

.page-resources__article-item {
    background-color: #2A303C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-resources__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-resources__article-title {
    font-size: 1.3em;
    color: #FFD700;
    margin: 20px 20px 10px;
    min-height: 60px; /* Ensure consistent title height */
}

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

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

.page-resources__article-description {
    color: #CCCCCC;
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-resources__btn--read-more {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-resources__btn--read-more:hover {
    background-color: #1A202C;
    color: #FFD700;
}

.page-resources__cta {
    background: linear-gradient(135deg, #1A202C, #0A0C10);
    padding: 80px 0;
}

.page-resources__cta-content {
    max-width: 900px;
}

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-resources__cta-actions .page-resources__btn {
    margin: 0 15px;
}

.page-resources__cta-note {
    margin-top: 30px;
    font-size: 0.95em;
    color: #AAAAAA;
}

.page-resources__cta-note a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__cta-note a:hover {
    text-decoration: underline;
}

/* General button styles */
.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.page-resources__btn--primary:hover {
    background-color: #E6C200;
    color: #0A0C10;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

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

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

.page-resources__btn--tertiary {
    background-color: #3A404C;
    color: #FFD700;
    border: 2px solid #3A404C;
    margin-top: 20px;
}

.page-resources__btn--tertiary:hover {
    background-color: #FFD700;
    color: #1A202C;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.page-resources__btn--large {
    padding: 15px 30px;
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__content-grid {
        flex-direction: column;
    }
    .page-resources__content-grid:nth-child(even) {
        flex-direction: column;
    }
    .page-resources__article-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources__hero-actions, .page-resources__cta-actions {
        flex-direction: column;
        gap: 20px;
    }
    .page-resources__hero-actions .page-resources__btn, .page-resources__cta-actions .page-resources__btn {
        margin: 0;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__section {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__advantage-item {
        padding: 20px;
    }
    .page-resources__article-image {
        height: 180px;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__btn--large {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources__container {
        padding: 0 15px;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__advantage-icon {
        width: 50px;
        height: 50px;
    }
    .page-resources__advantage-title {
        font-size: 1.3em;
    }
    .page-resources__article-title {
        font-size: 1.1em;
    }
    .page-resources__cta-title {
        font-size: 1.6em;
    }
    .page-resources__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}