.page-blog {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-blog__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    background-color: #F4F7FB; /* Background */
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-blog__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-blog__description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

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

/* Buttons */
.page-blog__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    box-sizing: border-box;
    min-width: 180px;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3);
}

.page-blog__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 16px rgba(47, 107, 255, 0.4);
}

.page-blog__btn-secondary {
    background: #FFFFFF;
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog__btn-secondary:hover {
    background: #F4F7FB; /* Background */
    color: #2F6BFF;
    border-color: #2F6BFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* General Section Styling */
.page-blog__section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-blog__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 40px;
}

.page-blog__text-block {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog__intro-section .page-blog__container {
    max-width: 900px;
}

/* Article Grid */
.page-blog__article-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.page-blog__article-grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-blog__article-grid--3-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-blog__article-card {
    background: #FFFFFF; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

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

.page-blog__article-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: #1F2D3D; /* Text Main */
}

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

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

.page-blog__article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__article-excerpt {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-blog__article-date {
    font-size: 0.85rem;
    color: #666666;
    display: block;
}

.page-blog__view-all-button-wrap {
    text-align: center;
    margin-top: 30px;
}

.page-blog__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Ensure wrapping for multiple buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsible Gambling Section */
.page-blog__responsible-gambling {
    background-color: #F4F7FB; /* Background */
    padding-bottom: 60px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-blog__hero-image-wrapper {
        border-radius: 8px;
    }

    .page-blog__article-grid--2-col {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .page-blog__article-grid--3-col {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-blog__article-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* 1. Top section (title + CTA buttons) */
    .page-blog__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-blog__hero-image-wrapper {
        margin-bottom: 15px;
        padding: 0 15px; /* Added padding to image wrapper for consistency */
    }

    .page-blog__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-blog__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-blog__hero-cta {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-blog__btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long article containers */
    .page-blog__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__section {
        padding: 40px 0;
    }

    .page-blog__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-blog__text-block {
        font-size: 0.95rem;
    }

    /* 3. General images and figure elements */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* 4. Buttons and button containers */
    .page-blog__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Specific button styling for mobile */
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Article Grid for mobile */
    .page-blog__article-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    .page-blog__article-image {
        height: 180px;
    }

    .page-blog__article-title {
        font-size: 1.2rem;
    }

    .page-blog__article-excerpt {
        font-size: 0.9rem;
    }

    /* 5. Registration tutorial and FAQ sections - Not present on this blog page, but ensure rules are ready */
    /* If there were any specific elements for these sections, their mobile styles would be here. */
}