:root {
    --color-primary: #113B7A;
    --color-secondary: #1D5FD1;
    --color-card-bg: #10233F;
    --color-text-main: #F3F8FF;
    --color-text-secondary: #AFC4E8;
    --color-border: #244D84;
    --color-glow: #4FA8FF;
    --color-gold: #F2C14E;
    --color-divider: #1B3357;
    --color-deep-navy: #08162B;

    --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-news {
    font-family: Arial, sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-deep-navy);
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has --header-offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-news__hero-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
}

.page-news__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-news__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main);
    border: 2px solid var(--color-glow);
    box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 0 20px rgba(79, 168, 255, 0.8);
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-news__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

/* Articles Section */
.page-news__articles-section {
    padding: 60px 0;
    background-color: var(--color-deep-navy);
}

.page-news__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-news__articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__article-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

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

.page-news__article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-news__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news__article-content {
    padding: 20px;
}

.page-news__article-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__article-meta {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

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

.page-news__btn-view-all {
    padding: 12px 25px;
    font-size: 16px;
    border-width: 1px;
}

/* CTA Section */
.page-news__cta-section {
    background-color: var(--color-primary);
    padding: 80px 0;
    text-align: center;
}

.page-news__cta-content {
    max-width: 800px;
}

.page-news__cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-news__cta-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* General image responsive styles */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-news__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .page-news__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-news__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box !important;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-news__articles-section {
        padding: 40px 0;
    }

    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-news__article-title {
        font-size: 18px;
    }

    .page-news__article-excerpt {
        font-size: 14px;
    }

    .page-news__cta-section {
        padding: 60px 0;
    }

    .page-news__cta-title {
        font-size: 26px;
    }

    .page-news__cta-description {
        font-size: 16px;
    }
    
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-news__article-card,
    .page-news__hero-section,
    .page-news__articles-section,
    .page-news__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
}