/* style/resources.css */

/* General Styles for page-resources */
.page-resources {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__sub-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-resources__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-resources__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-resources__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

.page-resources__list li a:hover {
    color: #e0b000;
}

/* Buttons */
.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;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-resources__btn--secondary {
    background-color: #8B0000; /* Dark Red */
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-resources__btn--secondary:hover {
    background-color: #b30000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-resources__btn--link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1em;
    padding: 0;
    background: none;
    border: none;
}

.page-resources__btn--link:hover {
    color: #e0b000;
    text-decoration: underline;
}

.page-resources__text-link {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources__text-link:hover {
    color: #e0b000;
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #FFFFFF;
}

.page-resources__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-resources__hero-description {
    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;
}

/* Introduction Section */
.page-resources__introduction {
    padding: 60px 0;
    background-color: #222222;
}

/* Articles Section */
.page-resources__articles {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-resources__article-card {
    background-color: #2e2e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    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 12px 25px rgba(0, 0, 0, 0.6);
}

.page-resources__article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

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

/* Deeper Dive Section */
.page-resources__deeper-dive {
    padding: 60px 0;
    background-color: #222222;
}

/* Call to Action Section */
.page-resources__cta-section {
    padding: 80px 0;
    background-color: #8B0000; /* Dark Red */
    text-align: center;
    color: #FFFFFF;
}

.page-resources__cta-section .page-resources__section-title {
    color: #FFD700;
    text-shadow: none;
}

.page-resources__cta-section .page-resources__text-block {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-resources__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__article-title {
        font-size: 1.4em;
    }
}

@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__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__sub-title {
        font-size: 1.5em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__btn {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__sub-title {
        font-size: 1.3em;
    }
    .page-resources__text-block, .page-resources__list li {
        font-size: 0.95em;
    }
    .page-resources__article-content {
        padding: 15px;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__article-summary {
        font-size: 0.9em;
    }
}