.page-blog {
    color: #ffffff; /* Light text for dark body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    line-height: 1.6;
}

.page-blog__hero-section {
    position: relative;
    text-align: center;
    padding: 0;
    overflow: hidden;
    margin-bottom: 60px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-blog__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    z-index: 1;
    color: #ffffff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-blog__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    color: #FFD700; /* Primary color for title */
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-blog__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Primary color */
    color: #1a1a1a; /* Dark text for primary button */
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #FFD700;
}

.page-blog__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    border-color: #e6c200;
}

.page-blog__articles-section,
.page-blog__featured-content,
.page-blog__responsible-gaming-section,
.page-blog__cta-banner {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.page-blog__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #FFD700; /* Primary color */
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

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

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

.page-blog__article-card {
    background-color: rgba(30, 144, 255, 0.1); /* Auxiliary color with transparency */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__article-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #1E90FF;
}

.page-blog__article-content {
    padding: 25px;
}

.page-blog__article-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__article-title a {
    color: #FFD700; /* Primary color for linked titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-blog__article-excerpt {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-blog__read-more-button {
    display: inline-block;
    background-color: #1E90FF; /* Auxiliary color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #1E90FF;
}

.page-blog__read-more-button:hover {
    background-color: #1565b3;
    transform: translateY(-2px);
    border-color: #1565b3;
}

.page-blog__full-blog-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(45deg, rgba(30, 144, 255, 0.2), rgba(255, 215, 0, 0.1));
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__full-blog-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: #FFD700;
    margin-bottom: 15px;
}

.page-blog__full-blog-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-blog__featured-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog__featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__featured-image {
    width: 100%;
    height: 220px; /* Consistent height for featured images */
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #FFD700;
}

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

.page-blog__featured-card-title {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__featured-card-excerpt {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more-link {
    display: inline-block;
    color: #1E90FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-blog__read-more-link:hover {
    color: #62b1ff;
    text-decoration: underline;
}

.page-blog__responsible-gaming-section {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(30, 144, 255, 0.05); /* Subtle background */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__responsible-gaming-section .page-blog__section-title {
    color: #1E90FF; /* Auxiliary color */
}

.page-blog__responsible-gaming-section .page-blog__section-intro {
    margin-bottom: 30px;
}

.page-blog__cta-banner {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__cta-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog__cta-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}

.page-blog__cta-banner-title {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-blog__cta-banner-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

.page-blog__cta-button--primary {
    background-color: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
}

.page-blog__cta-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-blog__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-blog__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-blog__hero-content {
        padding: 15px;
    }
    .page-blog__hero-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
    .page-blog__hero-description {
        font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    }
    .page-blog__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-blog__featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-blog__hero-content {
        width: 95%;
        padding: 10px;
    }
    .page-blog__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .page-blog__hero-description {
        font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    }
    .page-blog__cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .page-blog__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    .page-blog__section-intro {
        font-size: 1rem;
    }
    .page-blog__article-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__article-image {
        height: 200px;
    }
    .page-blog__article-title {
        font-size: 1.4rem;
    }
    .page-blog__featured-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__featured-image {
        height: 180px;
    }
    .page-blog__featured-card-title {
        font-size: 1.3rem;
    }
    .page-blog__featured-card-excerpt {
        font-size: 0.9rem;
    }
    .page-blog__cta-banner-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-blog__cta-banner-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog__articles-section img,
    .page-blog__featured-content img,
    .page-blog__responsible-gaming-section img,
    .page-blog__cta-banner img {
        max-width: 100%;
        height: auto;
    }
    .page-blog__full-blog-cta {
        padding: 30px 20px;
    }
    .page-blog__full-blog-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    .page-blog__full-blog-description {
        font-size: 1rem;
    }
}