/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-resources__hero-section {
    background: linear-gradient(135deg, #0A2463, #3a5c9f);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.page-resources__hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E3B505;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
}

.page-resources__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.page-resources__btn--primary {
    background-color: #E3B505;
    color: #0A2463;
    border: 2px solid #E3B505;
}

.page-resources__btn--primary:hover {
    background-color: #f0c52a;
    color: #0A2463;
    border-color: #f0c52a;
}

.page-resources__btn--secondary {
    background-color: #0A2463;
    color: #E3B505;
    border: 2px solid #0A2463;
}

.page-resources__btn--secondary:hover {
    background-color: #1a3c7a;
    color: #f0c52a;
    border-color: #1a3c7a;
}

.page-resources__btn--text {
    background: none;
    color: #0A2463;
    text-decoration: underline;
    padding: 0;
}

.page-resources__btn--text:hover {
    color: #E3B505;
}

.page-resources__articles-intro,
.page-resources__cta-section,
.page-resources__responsible-gambling,
.page-resources__contact-support {
    padding: 60px 0;
    text-align: center;
}

.page-resources__articles-intro h2,
.page-resources__article-list h2,
.page-resources__cta-section h2,
.page-resources__responsible-gambling h2,
.page-resources__contact-support h2 {
    font-size: 2.5em;
    color: #0A2463;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.page-resources__articles-intro h2::after,
.page-resources__article-list h2::after,
.page-resources__cta-section h2::after,
.page-resources__responsible-gambling h2::after,
.page-resources__contact-support h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E3B505;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-resources__articles-intro p,
.page-resources__cta-section p,
.page-resources__responsible-gambling p,
.page-resources__contact-support p {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 1.1em;
    color: #555;
}

.page-resources__sub-heading {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.page-resources__article-list {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-resources__article-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    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 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-resources__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-resources__card-content h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #0A2463;
}

.page-resources__card-content h3 a {
    text-decoration: none;
    color: #0A2463;
    transition: color 0.3s ease;
}

.page-resources__card-content h3 a:hover {
    color: #E3B505;
}

.page-resources__article-category {
    display: inline-block;
    background-color: #E3B505;
    color: #0A2463;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-resources__card-content p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources__card-content .page-resources__btn {
    align-self: flex-start;
}

.page-resources__cta-section {
    background-color: #0A2463;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-resources__cta-section h2 {
    color: #E3B505;
}

.page-resources__cta-section p {
    color: #e0e0e0;
}

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

.page-resources__cta-image {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    opacity: 0.1;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

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

.page-resources__responsible-gambling {
    background-color: #f0f2f5;
    padding: 60px 0;
}

.page-resources__responsible-gambling h2 {
    color: #0A2463;
}

.page-resources__responsible-gambling p {
    color: #555;
}

.page-resources__responsible-gambling-image {
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
    opacity: 0.8;
}

.page-resources__contact-support {
    background-color: #e9ecef;
    padding: 60px 0;
}

.page-resources__contact-support h2 {
    color: #0A2463;
}

.page-resources__contact-support p {
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-section h1 {
        font-size: 2.5em;
    }
    .page-resources__articles-intro h2,
    .page-resources__article-list h2,
    .page-resources__cta-section h2,
    .page-resources__responsible-gambling h2,
    .page-resources__contact-support h2 {
        font-size: 2em;
    }
    .page-resources__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }
    .page-resources__hero-section h1 {
        font-size: 2em;
    }
    .page-resources__hero-section p {
        font-size: 1em;
    }
    .page-resources__articles-intro,
    .page-resources__cta-section,
    .page-resources__responsible-gambling,
    .page-resources__contact-support {
        padding: 40px 0;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-section h1 {
        font-size: 1.8em;
    }
    .page-resources__articles-intro h2,
    .page-resources__article-list h2,
    .page-resources__cta-section h2,
    .page-resources__responsible-gambling h2,
    .page-resources__contact-support h2 {
        font-size: 1.5em;
    }
    .page-resources__container {
        padding: 15px;
    }
    .page-resources__grid {
        gap: 20px;
    }
    .page-resources__btn {
        width: 90%;
    }
}