.page-blog {
    /* Body background is #f4f4f4 (light), so text should be dark */
    color: #333333; /* Dark text for readability */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-blog__hero-section {
    background-color: #0A192F; /* Main brand color for hero background */
    color: #ffffff; /* White text on dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-blog__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-blog__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold accent for title */
    font-weight: bold;
    line-height: 1.2;
}

.page-blog__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-blog__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-blog__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A192F; /* Dark text on gold */
}

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

.page-blog__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-blog__button--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.page-blog__button--read-more {
    background-color: #0A192F;
    color: #FFD700;
    padding: 10px 20px;
    font-size: 0.95em;
    border: 1px solid #FFD700;
}

.page-blog__button--read-more:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-blog__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-blog__introduction-section,
.page-blog__featured-articles,
.page-blog__latest-news,
.page-blog__responsible-gaming,
.page-blog__cta-bottom {
    padding: 60px 0;
}

.page-blog__introduction-section {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-blog__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
    text-align: justify;
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #0A192F;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-blog__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

.page-blog__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-blog__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-blog__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog__article-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

.page-blog__article-excerpt {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__latest-news {
    background-color: #f9f9f9;
}

.page-blog__news-list {
    display: grid;
    gap: 25px;
}

.page-blog__news-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.page-blog__news-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.page-blog__news-title {
    font-size: 1.3em;
    color: #0A192F;
    margin-bottom: 10px;
}

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

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

.page-blog__news-date {
    font-size: 0.9em;
    color: #999999;
    margin-bottom: 15px;
}

.page-blog__news-excerpt {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-blog__view-all {
    text-align: center;
    margin-top: 40px;
}

.page-blog__responsible-gaming {
    background-color: #f4f4f4;
}

.page-blog__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-blog__responsible-gaming-image {
    flex: 1 1 45%;
    min-width: 300px;
    border-radius: 10px;
    object-fit: cover;
    height: auto;
}

.page-blog__responsible-gaming-text {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-blog__responsible-gaming-subtitle {
    font-size: 2em;
    color: #0A192F;
    margin-bottom: 20px;
}

.page-blog__responsible-gaming-text p {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog__cta-bottom {
    background-color: #0A192F;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-blog__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-blog__hero-title {
        font-size: 3em;
    }
    .page-blog__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding: 60px 20px;
    }
    .page-blog__hero-title {
        font-size: 2.5em;
    }
    .page-blog__hero-description {
        font-size: 1.1em;
    }
    .page-blog__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog__button {
        width: 100%;
        max-width: 300px;
    }
    .page-blog__introduction-section,
    .page-blog__featured-articles,
    .page-blog__latest-news,
    .page-blog__responsible-gaming,
    .page-blog__cta-bottom {
        padding: 40px 0;
    }
    .page-blog__section-title {
        font-size: 1.8em;
    }
    .page-blog__text-content,
    .page-blog__article-excerpt,
    .page-blog__news-excerpt,
    .page-blog__responsible-gaming-text p {
        font-size: 0.95em;
    }
    .page-blog__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__article-image {
        height: 200px;
    }
    .page-blog__responsible-gaming-content {
        flex-direction: column;
    }
    .page-blog__responsible-gaming-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and not cut off */
    }
    .page-blog__cta-title {
        font-size: 2em;
    }
    .page-blog__cta-description {
        font-size: 1em;
    }
    /* Ensure content area images do not cause horizontal scroll */
    .page-blog img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-blog__hero-title {
        font-size: 2em;
    }
    .page-blog__hero-description {
        font-size: 1em;
    }
    .page-blog__section-title {
        font-size: 1.5em;
    }
    .page-blog__article-title {
        font-size: 1.2em;
    }
    .page-blog__news-title {
        font-size: 1.1em;
    }
    .page-blog__cta-title {
        font-size: 1.8em;
    }
}

/* Ensure all content area images are at least 200px wide */
.page-blog__article-image,
.page-blog__responsible-gaming-image {
    min-width: 200px;
    min-height: 200px;
}

/* Specific rule to ensure content area images are never smaller than 200px */
.page-blog img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
}

/* No filter property on images */
.page-blog img {
    filter: none; /* Explicitly ensure no filters are applied */
}