/* 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: 0 20px;
}

.page-resources__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A2463;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-resources__text {
    font-size: 1.1em;
    color: #495057;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #0A2463, #2a4e9a);
    color: #fff;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-content {
    z-index: 1;
    max-width: 900px;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    line-height: 1.2;
}

.page-resources__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

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

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

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #0A2463;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Intro Section */
.page-resources__intro {
    background-color: #fff;
}

/* Featured Articles Grid */
.page-resources__featured-articles {
    background-color: #f0f2f5;
}

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

.page-resources__article-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

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

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

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

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

.page-resources__article-category {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-resources__article-content .page-resources__btn {
    align-self: flex-start;
    margin-top: auto;
}

/* CTA Section */
.page-resources__cta-section {
    background-color: #0A2463;
    color: #fff;
    padding: 80px 0;
}

.page-resources__cta-content {
    max-width: 900px;
}

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

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

.page-resources__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources__disclaimer {
    font-size: 0.9em;
    margin-top: 30px;
    color: #a0a0a0;
}

/* Responsible Gambling Section */
.page-resources__responsible-gambling {
    background-color: #fff;
    padding-bottom: 80px;
}

.page-resources__list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-resources__list-item {
    background-color: #f8f9fa;
    border-left: 5px solid #FFD700;
    margin-bottom: 15px;
    padding: 15px 20px;
    font-size: 1.05em;
    color: #343a40;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources__list-item strong {
    color: #0A2463;
}

.page-resources__img--center {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Conclusion Section */
.page-resources__conclusion {
    background-color: #f0f2f5;
    padding-bottom: 80px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 15px;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-resources__section {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__text {
        font-size: 0.95em;
    }
    .page-resources__article-title {
        font-size: 1.4em;
    }
    .page-resources__article-thumbnail {
        height: 180px;
    }
    .page-resources__list-item {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__article-summary {
        font-size: 0.9em;
    }
    .page-resources__article-thumbnail {
        height: 150px;
    }
}