/* General styles for the news page */
.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Assuming dark body background from shared.css */
    background-color: var(--bg-color, #140C0C); /* Fallback if var not defined */
}

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

.page-news__section {
    padding: 60px 0;
}

.page-news__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #F3C54D; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__section-description,
.page-news__paragraph {
    font-size: 18px;
    color: #FFF1E8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-news__paragraph {
    text-align: left;
    margin-bottom: 20px;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Assuming body has padding-top from shared.css */
    min-height: 500px;
}

.page-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    color: #FFF1E8;
}

.page-news__main-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold for main title */
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* About News Section */
.page-news__about-news .page-news__paragraph {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #FFF1E8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.page-news__about-news .page-news__paragraph:last-child {
    margin-bottom: 0;
}


/* Latest Articles Section */
.page-news__latest-articles .page-news__section-description {
    margin-bottom: 60px;
}

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

.page-news__article-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news__article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__article-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.page-news__article-image {
    width: 100%;
    height: 100%;
    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: 20px;
    font-weight: bold;
    color: #F3C54D; /* Gold for article titles */
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__article-meta {
    font-size: 14px;
    color: #AAA;
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 16px;
    color: #FFF1E8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more-btn {
    display: inline-block;
    color: #FFB04A;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__read-more-btn:hover {
    color: #F3C54D;
}

.page-news__view-all-button-wrapper {
    text-align: center;
}

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background: #E53030; /* Auxiliary color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__view-all-button:hover {
    background: #C61F1F; /* Main color on hover */
}

/* Featured Topics Section */
.page-news__dark-section {
    background: #140C0C; /* Darker background for contrast */
}

.page-news__featured-topics .page-news__section-description {
    margin-bottom: 60px;
}

.page-news__topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page-news__topic-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.page-news__topic-title {
    font-size: 18px;
    font-weight: bold;
    color: #F3C54D; /* Gold for topic titles */
    padding: 15px 15px 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__topic-excerpt {
    font-size: 15px;
    color: #FFF1E8;
    padding: 0 15px 15px;
    flex-grow: 1;
}

.page-news__read-more-link {
    display: inline-block;
    color: #FFB04A;
    font-weight: bold;
    text-decoration: none;
    padding: 0 15px 15px;
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: #F3C54D;
}

/* Benefits Section */
.page-news__benefits-section .page-news__paragraph {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #FFF1E8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.page-news__benefits-section .page-news__paragraph:last-child {
    margin-bottom: 0;
}