/* style/news.css */
/* Custom colors */
:root {
    --page-news-bg-color: #08160F;
    --page-news-card-bg: #11271B;
    --page-news-text-main: #F2FFF6;
    --page-news-text-secondary: #A7D9B8;
    --page-news-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-news-border-color: #2E7A4E;
    --page-news-glow-color: #57E38D;
    --page-news-gold-color: #F2C14E;
    --page-news-divider-color: #1E3A2A;
    --page-news-deep-green-color: #0A4B2C;
}

.page-news {
    background-color: var(--page-news-bg-color);
    color: var(--page-news-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

/* Container for content width */
.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-news__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Flexible font size for H2 */
    color: var(--page-news-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-news__section-description {
    color: var(--page-news-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
    text-align: center;
}

.page-news__btn-primary {
    background: var(--page-news-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-news__btn-secondary {
    background: transparent;
    color: var(--page-news-glow-color);
    border: 2px solid var(--page-news-glow-color);
}

.page-news__btn-secondary:hover {
    background: var(--page-news-glow-color);
    color: var(--page-news-bg-color);
    transform: translateY(-2px);
}

/* Image base styles */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-news-deep-green-color);
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1; /* Ensure image is below content visually if stacked */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-news__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure content is above image if stacking */
}

.page-news__main-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* H1 font size */
    color: var(--page-news-text-main);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.page-news__description {
    font-size: 1.2rem;
    color: var(--page-news-text-secondary);
    margin-bottom: 30px;
}

.page-news__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Featured Video Section */
.page-news__featured-video-section {
    padding: 80px 0;
    background-color: var(--page-news-card-bg);
    border-bottom: 1px solid var(--page-news-divider-color);
}

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

.page-news__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.page-news__video-caption {
    text-align: center;
    color: var(--page-news-text-secondary);
    font-size: 1rem;
    margin-top: 10px;
}

/* News List Section */
.page-news__news-list-section {
    padding: 80px 0;
}

.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: var(--page-news-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news__news-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--page-news-divider-color);
}

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

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

.page-news__news-title a {
    color: var(--page-news-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__news-title a:hover {
    color: var(--page-news-glow-color);
}

.page-news__news-meta {
    font-size: 0.9rem;
    color: var(--page-news-text-secondary);
    margin-bottom: 15px;
}

.page-news__news-excerpt {
    font-size: 1rem;
    color: var(--page-news-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

.page-news__read-more-btn {
    display: inline-block;
    color: var(--page-news-glow-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    align-self: flex-start; /* Align button to start */
}