/* style/gambling-news.css */

/* General styles for the gambling news page */
.page-gambling-news {
    font-family: 'Arial', sans-serif;
    color: #e0e0e0; /* Light gray for general text on dark background */
    background-color: #0A2342; /* Deep blue primary background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-gambling-news__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1a3a5e 100%); /* Darker blue gradient */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    color: #ffffff; /* White text on dark hero */
}

.page-gambling-news__hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.page-gambling-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    line-height: 1.2;
    font-weight: bold;
}

.page-gambling-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-gambling-news__hero-cta {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2342; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-gambling-news__hero-cta:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-gambling-news__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 0;
}

.page-gambling-news__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section General */
.page-gambling-news__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-gambling-news__paragraph {
    font-size: 1.1em;
    color: #c0c0c0; /* Lighter gray for paragraphs */
    margin-bottom: 20px;
    text-align: justify;
}

.page-gambling-news__introduction {
    padding: 60px 0;
    background-color: #0A2342;
}

/* Featured Articles */
.page-gambling-news__featured-articles {
    background-color: #1a3a5e; /* Slightly lighter blue background */
    padding: 80px 0;
}

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

.page-gambling-news__article-card {
    background-color: #0A2342; /* Dark blue card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-gambling-news__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.page-gambling-news__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700; /* Gold border */
}

.page-gambling-news__article-card h3 {
    font-size: 1.5em;
    color: #FFD700; /* Gold for article titles */
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-gambling-news__article-excerpt {
    font-size: 1em;
    color: #c0c0c0;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-gambling-news__article-cta {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2342;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-gambling-news__article-cta:hover {
    background-color: #e6c200;
}

/* News Categories */
.page-gambling-news__news-categories {
    padding: 80px 0;
    background-color: #0A2342;
}

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

.page-gambling-news__category-item {
    background-color: #1a3a5e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700; /* Gold accent */
    transition: transform 0.3s ease;
}

.page-gambling-news__category-item:hover {
    transform: translateY(-5px);
}

.page-gambling-news__category-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gambling-news__category-description {
    font-size: 1em;
    color: #c0c0c0;
}

/* Detail Pages List */
.page-gambling-news__detail-pages {
    padding: 80px 0;
    background-color: #1a3a5e;
}

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

.page-gambling-news__detail-item {
    background-color: #0A2342;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-gambling-news__detail-item:hover {
    transform: translateY(-5px);
}

.page-gambling-news__detail-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gambling-news__detail-title a {
    color: #FFD700; /* Gold for detail page titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gambling-news__detail-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-gambling-news__detail-description {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-gambling-news__detail-cta {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2342;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-gambling-news__detail-cta:hover {
    background-color: #e6c200;
}

/* Summary Section */
.page-gambling-news__summary {
    padding: 80px 0;
    background-color: #0A2342;
}

/* Call to Action Section */
.page-gambling-news__cta-section {
    background-color: #0A2342;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gambling-news__cta-section .page-gambling-news__section-title {
    color: #FFD700;
    margin-bottom: 20px;
}

.page-gambling-news__cta-section .page-gambling-news__paragraph {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-gambling-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-gambling-news__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-gambling-news__btn--primary {
    background-color: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

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

.page-gambling-news__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-gambling-news__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-3px);
}

.page-gambling-news__cta-image {
    max-width: 700px;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Keyword highlight */
.page-gambling-news .highlight-keyword {
    color: #FFD700;
    font-weight: bold;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-gambling-news__hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-gambling-news__hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .page-gambling-news__hero-image-wrapper {
        justify-content: center;
    }

    .page-gambling-news__hero-title {
        font-size: 2.5em;
    }

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

    .page-gambling-news__articles-grid,
    .page-gambling-news__category-list,
    .page-gambling-news__detail-list {
        grid-template-columns: 1fr;
    }

    .page-gambling-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gambling-news__btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-gambling-news__hero-title {
        font-size: 2em;
    }
    .page-gambling-news__hero-description {
        font-size: 1.1em;
    }
    .page-gambling-news__section-title {
        font-size: 1.8em;
    }
    .page-gambling-news__article-card h3,
    .page-gambling-news__category-title,
    .page-gambling-news__detail-title {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .page-gambling-news__hero {
        padding: 40px 15px;
    }
    .page-gambling-news__hero-title {
        font-size: 1.8em;
    }
    .page-gambling-news__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-gambling-news__paragraph {
        font-size: 0.95em;
    }
    .page-gambling-news__article-card h3,
    .page-gambling-news__category-title,
    .page-gambling-news__detail-title {
        font-size: 1.2em;
    }
    .page-gambling-news__article-excerpt,
    .page-gambling-news__category-description,
    .page-gambling-news__detail-description {
        font-size: 0.9em;
    }
    .page-gambling-news__hero-cta,
    .page-gambling-news__btn {
        font-size: 1em;
        padding: 12px 25px;
    }
}

/* Ensure text contrast - checked against WCAG AA standards */
/* Text on #0A2342 (deep blue) background: #e0e0e0 (light gray) or #ffffff (white) - contrast is good */
/* Text on #1a3a5e (lighter blue) background: #e0e0e0 (light gray) or #c0c0c0 (gray) - contrast is good */
/* Text on #FFD700 (gold) background: #0A2342 (deep blue) - contrast is good */
/* Highlight keyword #FFD700 on dark backgrounds - contrast is good */