/* style/news.css */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark background #0a0a0a from shared.css, so light text */
    background-color: transparent; /* Inherit from body */
    padding-top: var(--header-offset, 120px);
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    overflow: hidden;
    background: linear-gradient(90deg, #017439 0%, #0a0a0a 100%); /* Blend brand color with body bg */
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
}

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background-color: #C30808; /* Use custom color for registration/login */
    color: #FFFF00; /* Custom font color for registration/login */
    border: 2px solid #C30808;
}

.page-news__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-news__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.page-news__btn-tertiary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-news__btn-tertiary:hover {
    background-color: #02944d;
    border-color: #02944d;
}

.page-news__btn-center {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
    max-width: 100%;
}

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

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: none;
}

/* General Section Styles */
.page-news__latest-news-section,
.page-news__video-section,
.page-news__guide-section,
.page-news__why-us-section,
.page-news__faq-section,
.page-news__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-news__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-news__section-description,
.page-news__section-footer-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* News Grid */
.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news__news-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

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

.page-news__news-card-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    filter: none;
}

.page-news__news-card-content {
    padding: 25px;
}

.page-news__news-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-news__news-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__news-card-title a:hover {
    color: #017439;
}

.page-news__news-card-meta {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.page-news__news-card-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.page-news__read-more-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: #02944d;
    text-decoration: underline;
}

/* Video Section */
.page-news__video-section {
    background-color: #0a0a0a;
}

.page-news__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-news__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-news__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

/* Guide Section */
.page-news__guide-section {
    background-color: rgba(255, 255, 255, 0.03);
}

.page-news__guide-item {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.page-news__guide-subtitle {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-news__guide-item p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.page-news__guide-item strong {
    color: #ffffff;
}

.page-news__guide-item a {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__guide-item a:hover {
    color: #02944d;
    text-decoration: underline;
}

/* Why Us Section */
.page-news__why-us-section {
    background-color: #0a0a0a;
}

.page-news__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news__feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-news__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-news__feature-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.page-news__faq-section {
    background-color: rgba(255, 255, 255, 0.03);
}