/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #1A1A1A; /* Auxiliary color as main background */
}

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

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

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #1A1A1A; /* Dark text for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Slightly lighter dark for subtitle */
}

.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Main color */
    color: #1A1A1A; /* Dark text on main color */
    border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    color: #000000;
}

.page-resources__btn--secondary {
    background-color: #1A1A1A; /* Auxiliary color */
    color: #FFD700; /* Main color text on auxiliary */
    border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
    background-color: #333333;
    color: #FFEB80; /* Lighter gold */
}

.page-resources__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources__section:last-of-type {
    border-bottom: none;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Main color for section titles */
    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;
    line-height: 1.6;
    color: #B0B0B0; /* Slightly lighter gray for descriptions */
}

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

.page-resources__grid-item {
    background-color: #2A2A2A; /* Darker gray for card backgrounds */
    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__grid-item:hover {
    transform: translateY(-5px);
}

.page-resources__grid-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources__grid-title {
    font-size: 1.5em;
    color: #FFD700; /* Main color for grid titles */
    margin-bottom: 15px;
}

.page-resources__grid-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #C0C0C0; /* Light gray for grid text */
    margin-bottom: 20px;
}

.page-resources__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    background-color: #FFD700;
    color: #1A1A1A;
    border: none;
}

.page-resources__btn--small:hover {
    background-color: #E6C200;
}

.page-resources__content-block {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__content-block-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    text-align: left;
}

.page-resources__content-block-text {
    font-size: 1.05em;
    line-height: 1.7;
    color: #C0C0C0;
    margin-bottom: 20px;
    text-align: left;
}

.page-resources__content-block-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-resources__btn--inline {
    display: inline-block;
    margin-top: 15px;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources__btn--inline:hover {
    background-color: #E6C200;
}

.page-resources__download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources__download-item {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-resources__download-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-resources__download-text {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
}

.page-resources__btn--download {
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 10px 25px;
    border: none;
}

.page-resources__btn--download:hover {
    background-color: #E6C200;
}

.page-resources__cta-block {
    text-align: center;
    background-color: #2A2A2A;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-text {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources__faq-list {
    margin-top: 40px;
}

.page-resources__faq-item {
    background-color: #2A2A2A;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-resources__faq-answer {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
    display: none; /* Hidden by default */
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    margin-top: 10px;
}

.page-resources__faq-answer.active {
    display: block;
}

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

.page-resources__article-item {
    background-color: #2A2A2A;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources__article-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

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

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

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

.page-resources__btn--view-details {
    display: inline-block;
    margin-top: auto; /* Push to bottom */
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources__btn--view-details:hover {
    background-color: #E6C200;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }

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

    .page-resources__grid,
    .page-resources__download-options,
    .page-resources__article-list {
        grid-template-columns: 1fr;
    }

    .page-resources__download-item {
        width: 100%;
    }
}

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

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

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

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

    .page-resources__grid-title,
    .page-resources__content-block-title,
    .page-resources__download-title,
    .page-resources__faq-question,
    .page-resources__article-title {
        font-size: 1.2em;
    }

    .page-resources__faq-answer,
    .page-resources__grid-text,
    .page-resources__content-block-text,
    .page-resources__download-text,
    .page-resources__article-description {
        font-size: 0.9em;
    }

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