/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #1A202C; /* Primary 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-section-title {
    font-size: 2.5em;
    color: #FFD700; /* Auxiliary gold for titles */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-resources-section-subtitle {
    font-size: 1.2em;
    color: #B0B0B0;
    margin-bottom: 40px;
}

.page-resources-section-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-align: left;
}

.page-resources-section-text strong {
    color: #FFD700;
}

/* Hero Section */
.page-resources-hero {
    background: linear-gradient(135deg, #1A202C 0%, #3A404C 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-resources-hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    z-index: 1;
}

.page-resources-hero-description {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.6;
    z-index: 1;
}

.page-resources-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.page-resources-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(50%);
}

/* Buttons */
.page-resources-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-resources-btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1A202C; /* Dark text on gold */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-btn-primary:hover {
    background-color: #E5C100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-btn-secondary {
    background-color: #2D3748; /* Darker gray */
    color: #FFD700; /* Gold text on dark */
    border: 1px solid #FFD700;
}

.page-resources-btn-secondary:hover {
    background-color: #3A404C;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-btn-promotion {
    background-color: #FF4500; /* Orange-red for strong promotion */
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    margin-top: 15px;
}

.page-resources-btn-promotion:hover {
    background-color: #E53E00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
}

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

.page-resources-article-card {
    background-color: #2D3748; /* Dark gray for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #3A404C;
}

.page-resources-article-card h3 {
    font-size: 1.5em;
    color: #FFD700;
    padding: 20px 20px 10px;
    margin: 0;
    line-height: 1.4;
}

.page-resources-article-description {
    font-size: 1em;
    color: #B0B0B0;
    padding: 0 20px 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.page-resources-article-card .page-resources-btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    padding: 12px 20px;
    font-size: 0.95em;
}

/* CTA Banner */
.page-resources-cta-banner {
    background: linear-gradient(90deg, #1A202C, #4A5568);
    padding: 80px 0;
    margin-top: 60px;
    border-top: 5px solid #FFD700;
    border-bottom: 5px solid #FFD700;
}

.page-resources-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-resources-cta-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-resources-cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-resources-cta-description {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.6;
}

.page-resources-btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 250px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-hero-title {
        font-size: 3em;
    }
    .page-resources-hero-description {
        font-size: 1.1em;
    }
    .page-resources-section-title {
        font-size: 2em;
    }
    .page-resources-cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-hero {
        padding: 80px 0;
    }
    .page-resources-hero-title {
        font-size: 2.5em;
    }
    .page-resources-hero-description {
        font-size: 1em;
    }
    .page-resources-section {
        padding: 40px 0;
    }
    .page-resources-section-title {
        font-size: 1.8em;
    }
    .page-resources-article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-cta-title {
        font-size: 1.8em;
    }
    .page-resources-cta-description {
        font-size: 1em;
    }
    .page-resources-btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources-hero-title {
        font-size: 2em;
    }
    .page-resources-hero-description {
        font-size: 0.9em;
    }
    .page-resources-section-title {
        font-size: 1.5em;
    }
    .page-resources-section-text {
        font-size: 0.95em;
    }
    .page-resources-cta-title {
        font-size: 1.5em;
    }
    .page-resources-cta-description {
        font-size: 0.9em;
    }
    .page-resources-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-btn-large {
        min-width: unset;
    }
    .page-resources-cta-icon {
        width: 60px;
        height: 60px;
    }
}