.page-news__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small padding as per rule */
    background-color: var(--background-color, #F4F7FB);
    overflow: hidden;
}

.page-news__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 600px;
}

.page-news__hero-content {
    max-width: 1200px;
    margin: 20px auto 40px auto;
    padding: 0 20px;
    text-align: center;
    color: var(--text-main-color, #1F2D3D);
}

.page-news__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--custom-color-1776249996415, #000000);
    /* No fixed font-size, rely on responsive scaling via clamp if needed, or default browser behavior */
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Example clamp for responsive H1 */
}

.page-news__description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.page-news__articles-section {
    padding: 60px 0;
    background-color: var(--background-color, #F4F7FB);
}

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

.page-news__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 40px;
}

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

.page-news__article-card {
    background-color: var(--card-bg-color, #FFFFFF);
    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;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color, #D6E2FF);
}

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

.page-news__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    display: block;
}

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

.page-news__article-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__article-title a {
    color: var(--text-main-color, #1F2D3D);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: var(--main-color, #2F6BFF);
}

.page-news__article-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    align-self: flex-start; /* Align button to start */
}

.page-news__read-more-btn:hover {
    opacity: 0.9;
}

.page-news__view-all {
    text-align: center;
    margin-top: 50px;
}

.page-news__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-news__button--primary {
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
}

.page-news__button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__button--secondary {
    background: none;
    border: 2px solid var(--main-color, #2F6BFF);
    color: var(--main-color, #2F6BFF);
}

.page-news__button--secondary:hover {
    background-color: var(--main-color, #2F6BFF);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-news__cta-section {
    background-color: var(--main-color, #2F6BFF);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-news__cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-news__cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-news__hero-image {
        max-height: 400px;
    }
    .page-news__hero-content {
        margin: 15px auto 30px auto;
    }
    .page-news__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-news__description {
        font-size: 1rem;
    }
    .page-news__articles-section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-news__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-news__article-image {
        height: 200px;
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Ensure images don't overflow */
    }
    .page-news__article-card {
        margin-bottom: 20px;
    }
    .page-news__cta-section {
        padding: 60px 0;
    }
    .page-news__cta-title {
        font-size: 1.8rem;
    }
    .page-news__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__button {
        width: 100%;
        max-width: 280px; /* Limit width on small screens */
        margin: 0 auto;
    }

    /* Enforce min-width for content images in mobile media query */
    .page-news__articles-section img, 
    .page-news__article-card img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px; /* Ensure images are not too small */
    }
}

@media (max-width: 480px) {
    .page-news__container {
        padding: 0 15px;
    }
    .page-news__hero-content {
        padding: 0 15px;
    }
    .page-news__cta-buttons {
        padding: 0 15px;
    }
}

/* Variables for colors */
:root {
    --main-color: #2F6BFF;
    --accent-color: #6FA3FF;
    --button-color: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}