:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

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

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

/* HERO Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--primary-color);
    overflow: hidden;
}

.page-news__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-news__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-main);
}

.page-news__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-news__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 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 {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
}

/* Sections General */
.page-news__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-news__section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-news__section-conclusion {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 50px auto 30px auto;
}

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

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

.page-news__article-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    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-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    overflow: hidden;
}

.page-news__article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-news__article-card:hover .page-news__article-image img {
    transform: scale(1.05);
}

.page-news__article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-secondary);
}

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

.page-news__article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: var(--gold-color);
}

.page-news__article-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: block;
}

.page-news__article-excerpt {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-news__read-more:hover {
    color: var(--gold-color);
}

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

/* Categories Section */
.page-news__categories-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

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

.page-news__category-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-news__category-card img {
    width: 100%;
    max-width: 200px; /* Min size 200px */
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-news__category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-news__category-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__category-title a:hover {
    color: var(--gold-color);
}

.page-news__category-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}


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

.page-news__faq-list {
    margin-top: 40px;
}

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
    display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
    background: rgba(var(--primary-color), 0.5);
}
.page-news__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
}
.page-news__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
    padding: 0 25px 25px;
    background: rgba(var(--deep-navy), 0.6);
    border-top: 1px solid var(--divider-color);
    border-radius: 0 0 8px 8px;
    color: var(--text-secondary);
    font-size: 1rem;
}
.page-news__faq-answer p {
    margin: 0;
    padding-top: 15px;
}
.page-news__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
}
.page-news__faq-answer a:hover {
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-news__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }
    .page-news__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-news__categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-news__hero-image img {
        border-radius: 4px;
    }
    
    .page-news__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .page-news__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-news__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-news__cta-button--small {
        font-size: 15px;
        padding: 10px 25px;
    }

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

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

    .page-news__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 20px;
        padding-top: 20px;
    }
    
    .page-news__section-intro,
    .page-news__section-conclusion {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-news__articles-grid {
        gap: 20px;
    }
    
    .page-news__article-card {
        margin-bottom: 20px;
    }

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

    .page-news__article-title {
        font-size: 1.2rem;
    }

    .page-news__category-card {
        padding: 20px;
    }
    
    .page-news__category-card img {
         /* Adjusted for mobile view, but still >= 200px source */
    }

    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px 18px;
        font-size: 1rem;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 18px 18px;
        font-size: 0.95rem;
    }
    .page-news__faq-toggle {
        font-size: 20px;
        width: 24px;
    }

    /* Ensure all images are responsive in mobile */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* All containers with images/buttons */
    .page-news__hero-section,
    .page-news__articles-section,
    .page-news__categories-section,
    .page-news__faq-section,
    .page-news__article-card,
    .page-news__category-card,
    details.page-news__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Specific padding for content areas to avoid overflow */
    .page-news__articles-section .page-news__container,
    .page-news__categories-section .page-news__container,
    .page-news__faq-section .page-news__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}