.page-blog {
    color: #333333; /* Recommended text color for light body background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-blog__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF; /* Text on hero image background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-blog__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-blog__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    border-radius: 10px;
}

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

.page-blog__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

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

.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, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-blog__button--primary {
    background-color: #FCBC45; /* Login color for primary CTA */
    color: #000000;
    border: 2px solid #FCBC45;
}

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

.page-blog__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register color for secondary CTA on dark hero */
    border: 2px solid #FFFFFF;
}

.page-blog__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-blog__button--link {
    background-color: transparent;
    color: #FCBC45;
    border: none;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-blog__button--link:hover {
    color: #e0a53d;
}


/* General Section Styles */
.page-blog__latest-news-section,
.page-blog__guides-tips-section,
.page-blog__promotions-section,
.page-blog__about-section,
.page-blog__faq-section,
.page-blog__responsible-gaming-section,
.page-blog__cta-section {
    padding: 80px 0;
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.page-blog__paragraph {
    font-size: 1em;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-blog__article-card,
.page-blog__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__article-card:hover,
.page-blog__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image,
.page-blog__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min-size rule */
    min-height: 200px; /* Enforce min-size rule */
}

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

.page-blog__article-title,
.page-blog__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__article-title a,
.page-blog__promo-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__article-title a:hover,
.page-blog__promo-title a:hover {
    color: #FCBC45;
}

.page-blog__article-excerpt,
.page-blog__promo-description {
    font-size: 0.95em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__cta-row {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* CTA Section specific styles */
.page-blog__cta-section {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
}

.page-blog__cta-title {
    font-size: 3em;
    color: #FFFFFF;
    margin-bottom: 25px;
    line-height: 1.2;
}

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

.page-blog__cta-actions .page-blog__button--primary {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}
.page-blog__cta-actions .page-blog__button--primary:hover {
    background-color: #e0a53d;
    border-color: #e0a53d;
}

.page-blog__cta-actions .page-blog__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}
.page-blog__cta-actions .page-blog__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.page-blog__faq-items {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.page-blog__faq-item {
    background-color: #F9F9F9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-blog__faq-question::after {
    content: '+';
    float: right;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-blog__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-blog__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-blog__faq-answer a {
    color: #FCBC45;
    text-decoration: underline;
}

.page-blog__faq-answer a:hover {
    color: #e0a53d;
}

/* Responsible Gaming Section */
.page-blog__responsible-gaming-section {
    background-color: #F5F5F5;
    padding: 80px 0;
}


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

@media (max-width: 768px) {
    .page-blog {
        padding-top: var(--header-offset-mobile, 80px); /* Adjust for potential mobile header height */
    }
    .page-blog__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-blog__hero-title {
        font-size: 2.5em;
    }
    .page-blog__hero-description {
        font-size: 1em;
    }
    .page-blog__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-blog__section-title {
        font-size: 1.8em;
    }
    .page-blog__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-blog__articles-grid,
    .page-blog__promotions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-blog__article-card,
    .page-blog__promo-card {
        margin: 0 auto;
        max-width: 450px;
    }
    .page-blog__article-image,
    .page-blog__promo-image {
        max-width: 100% !important; /* Important for mobile responsiveness */
        height: auto !important;
        min-width: 200px !important; /* Ensure min-size */
        min-height: 200px !important; /* Ensure min-size */
    }
    /* Enforce min-size for all content images in mobile */
    .page-blog img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-blog__cta-title {
        font-size: 2em;
    }
    .page-blog__cta-description {
        font-size: 1em;
    }
    .page-blog__cta-actions {
        flex-direction: column;
    }
    .page-blog__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-blog__hero-title {
        font-size: 2em;
    }
    .page-blog__section-title {
        font-size: 1.5em;
    }
    .page-blog__cta-title {
        font-size: 1.8em;
    }
    .page-blog__hero-content {
      padding: 20px;
    }
}