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

.page-resources .highlight {
    color: #FFD700; /* Gold for highlights */
    font-weight: bold;
}

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

/* Hero Section */
.page-resources__hero-section {
    background: linear-gradient(135deg, #1A2A3A 0%, #000000 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_pattern,gold_lines,dark_blue_gradient]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero-section > * {
    position: relative;
    z-index: 1;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-resources__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

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

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A2A3A; /* Dark blue text */
    border: none;
}

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

.page-resources__btn--secondary {
    background-color: #2A3B4C; /* Slightly lighter dark blue */
    color: #FFD700; /* Gold text */
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
}

.page-resources__btn--secondary:hover {
    background-color: #3A4C5D;
    transform: translateY(-2px);
}

.page-resources__btn--cta {
    margin-top: 40px;
}

/* Section Titles */
.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold title */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

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

.page-resources__sub-section-title {
    font-size: 2em;
    color: #FFD700;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

/* Intro Section */
.page-resources__intro-section {
    padding: 80px 0;
    background-color: #1A2A3A;
}

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

.page-resources__intro-item {
    background-color: #2A3B4C;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-resources__intro-item:hover {
    transform: translateY(-10px);
}

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

.page-resources__intro-item-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources__intro-item-text {
    font-size: 1em;
    color: #E0E0E0;
}

/* Articles Section */
.page-resources__articles-section {
    padding: 80px 0;
    background-color: #1A2A3A;
}

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

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

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

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

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

.page-resources__article-card > div {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.4em;
    color: #FFD700;
    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: #e6c200;
}

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

.page-resources__article-card .page-resources__btn--secondary {
    align-self: flex-start;
    margin-top: auto; /* Push button to bottom */
}

/* General Guide Section */
.page-resources__general-guide-section {
    padding: 80px 0;
    background-color: #1A2A3A;
}

.page-resources__general-guide-section p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-resources__general-guide-section ul,
.page-resources__general-guide-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
    color: #E0E0E0;
}

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

.page-resources__general-guide-section li strong {
    color: #FFD700;
}

.page-resources__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 3px solid #FFD700;
}

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

    .page-resources__hero-subtitle {
        font-size: 1.1em;
    }

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

    .page-resources__sub-section-title {
        font-size: 1.7em;
    }
}

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

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

    .page-resources__hero-section,
    .page-resources__intro-section,
    .page-resources__articles-section,
    .page-resources__general-guide-section {
        padding: 60px 0;
    }

    .page-resources__intro-grid {
        grid-template-columns: 1fr;
    }

    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-resources__hero-subtitle {
        font-size: 0.9em;
    }

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

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

    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

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