.page-blog {
    font-family: 'Arial', sans-serif;
    color: #F3F8FF; /* Text Main */
    background-color: #08162B; /* Deep Navy as general background */
}

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

.page-blog__top-section {
    padding-top: 10px; /* Specific top padding, not --header-offset */
    padding-bottom: 60px;
    text-align: center;
    background-color: #08162B; /* Deep Navy */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-blog__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
}

.page-blog__description {
    font-size: 1.1rem;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.6;
}

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

.page-blog__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-blog__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-blog__btn-secondary {
    background: #10233F; /* Card BG */
    color: #F3F8FF; /* Text Main */
    border: 2px solid #244D84; /* Border */
}

.page-blog__btn-secondary:hover {
    background: #1B3357; /* Divider */
    border-color: #4FA8FF; /* Glow */
    transform: translateY(-2px);
}

/* Articles Section */
.page-blog__articles-section {
    padding: 80px 0;
    background-color: #10233F; /* Card BG - dark */
    color: #F3F8FF; /* Light text */
}

.page-blog__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-blog__section-title--left {
    text-align: left;
}

.page-blog__section-intro {
    font-size: 1.1rem;
    color: #AFC4E8; /* Text Secondary */
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.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: #08162B; /* Deep Navy */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    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 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog__article-figure {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.page-blog__article-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency in cards */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-blog__article-card:hover .page-blog__article-image {
    transform: scale(1.05);
}

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

.page-blog__article-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-blog__article-title a {
    color: #F3F8FF; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
    color: #4FA8FF; /* Glow */
}

.page-blog__article-meta {
    font-size: 0.9rem;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-blog__article-excerpt {
    font-size: 1rem;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-blog__read-more-link {
    color: #1D5FD1; /* Auxiliary color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-blog__read-more-link:hover {
    color: #4FA8FF; /* Glow */
    text-decoration: underline;
}

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

/* Content Section */
.page-blog__content-section {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-blog__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 25px;
}

.page-blog__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #F2C14E; /* Gold */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-blog__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.page-blog__list-item {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-blog__list-item strong {
    color: #F3F8FF; /* Text Main */
}

.page-blog__list-item::before {
    content: '•';
    color: #1D5FD1; /* Auxiliary color */
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}

.page-blog__content-figure {
    margin: 40px 0;
    text-align: center;
}

.page-blog__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__figure-caption {
    font-size: 0.95rem;
    color: #AFC4E8; /* Text Secondary */
    margin-top: 15px;
    line-height: 1.5;
}

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

/* Promo Section */
.page-blog__promo-section {
    padding: 80px 0;
    background-color: #113B7A; /* Primary color */
    text-align: center;
    color: #F3F8FF; /* Light text */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__container {
        padding: 0 15px;
    }
    .page-blog__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .page-blog__description {
        font-size: 1rem;
    }
    .page-blog__section-title {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }
    .page-blog__article-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .page-blog {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. Top section title + Dual CTA */
    .page-blog__top-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-blog__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
        text-align: center;
    }
    .page-blog__description {
        font-size: 0.95rem;
        margin-bottom: 30px;
        text-align: center;
    }
    .page-blog__top-cta {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-blog__btn {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long text container */
    .page-blog__content-section,
    .page-blog__articles-section,
    .page-blog__promo-section {
        padding: 50px 0;
    }
    .page-blog__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog__section-title,
    .page-blog__section-title--left,
    .page-blog__sub-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
        margin-top: 30px;
        text-align: center;
    }
    .page-blog__section-title--left {
        text-align: center;
    }
    .page-blog__text-block,
    .page-blog__list-item,
    .page-blog__article-excerpt {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* 3. General images and figures */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-blog__article-image {
        height: 180px;
    }
    .page-blog__content-figure {
        margin: 30px 0;
    }
    .page-blog__figure-caption {
        font-size: 0.9rem;
    }

    /* 4. Buttons and button containers */
    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog__view-all-wrapper .page-blog__btn {
        width: calc(100% - 30px) !important;
        margin: 0 auto;
    }

    /* 5. Registration tutorial and FAQ sections (general long-form content) */
    .page-blog__article-card {
        padding: 0;
        border-radius: 8px;
    }
    .page-blog__article-content {
        padding: 15px;
    }
    .page-blog__article-title {
        font-size: 1.2rem;
    }
    .page-blog__article-meta {
        font-size: 0.85rem;
    }
}