/* style/news.css */

/* Global styles for page-news scope */
.page-news {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #0a0a0a; /* Body background from shared.css, ensuring contrast */
    line-height: 1.6;
}

.page-news a {
    color: #F4D34D; /* Gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news a:hover {
    color: #FFCC66; /* Glow */
}

/* Section styles */
.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #B71C1C; /* Background */
    position: relative;
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 20px;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 20px 0;
}

.page-news__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-news__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF5E1; /* Text Main */
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red for contrast */
    border: 2px solid #F2B544; /* Border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #FFCC66; /* Glow */
    border: 2px solid #FFCC66; /* Glow */
}

.page-news__btn-secondary:hover {
    background-color: rgba(255, 204, 102, 0.1);
    color: #FFF5E1; /* Text Main */
}

.page-news__section-title {
    font-size: 2.5em;
    color: #FFCC66; /* Glow */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: 700;
}

.page-news__sub-section-title {
    font-size: 1.8em;
    color: #F4D34D; /* Gold */
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-news__text-block {
    font-size: 1.05em;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #FFF5E1; /* Text Main */
}

.page-news__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF5E1; /* Text Main */
}

.page-news__latest-updates {
    padding: 60px 20px;
    background-color: #7A0E0E; /* Deep Red */
}

.page-news__dark-section {
    background-color: #7A0E0E; /* Deep Red */
    color: #FFF5E1; /* Text Main */
}

.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-news__news-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-news__card-title a {
    color: #FFCC66; /* Glow */
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #F4D34D; /* Gold */
}

.page-news__card-date {
    font-size: 0.9em;
    color: #F2B544; /* Border */
    margin-bottom: 15px;
}

.page-news__card-text {
    font-size: 1em;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: #F4D34D; /* Gold */
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-news__read-more:hover {
    color: #FFCC66; /* Glow */
    text-decoration: underline;
}

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

.page-news__video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #B71C1C; /* Background */
}

.page-news__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%; /* Added explicitly for desktop */
    max-width: 1000px; /* Max width for video */
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-news__video-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 20px auto 0 auto;
    color: #FFF5E1; /* Text Main */
}

.page-news__faq-section {
    padding: 60px 20px;
}

.page-news__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-news__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    color: #FFF5E1; /* Text Main */
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-news__faq-qtext {
    color: #FFCC66; /* Glow */
}

.page-news__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #F4D34D; /* Gold */
    line-height: 1;
    margin-left: 15px;
}

.page-news__faq-item[open] .page-news__faq-question {
    border-bottom: none;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    content: "−";
}

.page-news__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #FFF5E1; /* Text Main */
}

.page-news__faq-answer p {
    margin-bottom: 10px;
}

.page-news__cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #B71C1C; /* Background */
}

.page-news__contact-info {
    padding: 20px;
    text-align: center;
    background-color: #7A0E0E; /* Deep Red */
    font-size: 0.9em;
    color: #F2B544; /* Border */
}

.page-news__copyright {
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        padding: 15px;
    }
    .page-news__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-news__section-title,
    .page-news__sub-section-title {
        font-size: 2em;
    }
    .page-news__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-news__description,
    .page-news__section-intro,
    .page-news__video-description,
    .page-news__card-text,
    .page-news__faq-answer p,
    .page-news__text-block {
        font-size: 0.95em;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Limit button group width */
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-news__latest-updates,
    .page-news__video-section,
    .page-news__faq-section,
    .page-news__cta-section {
        padding: 40px 15px;
    }

    .page-news__news-grid {
        gap: 20px;
    }

    .page-news__card-image {
        height: 180px; /* Adjust card image height for mobile */
    }

    .page-news__card-title {
        font-size: 1.2em;
    }

    .page-news__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-news__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Images responsiveness */
    .page-news img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__hero-image-wrapper,
    .page-news__news-card,
    .page-news__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure image container doesn't overflow */
    }
    .page-news__hero-image {
        padding: 0; /* Remove potential padding */
    }

    /* Videos responsiveness */
    .page-news video,
    .page-news__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-news__video-section {
        padding-top: 10px !important; /* Small top padding for video section on mobile */
    }
}