.page-news {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background color from custom palette */
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as shared.css likely handles body padding */
    padding-bottom: 40px;
    background-color: #0A0A0A; /* Ensure background consistency */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F2C14E; /* Main color for emphasis */
}

.page-news__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

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

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

.page-news__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow color for border and text */
    border: 2px solid #FFD36B; /* Border color from custom palette */
}

.page-news__btn-secondary:hover {
    background: #FFD36B;
    color: #111111; /* Dark text on hover */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-news__section {
    padding: 60px 0;
}

.page-news__dark-section {
    background-color: #111111; /* Card BG */
}

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

.page-news__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Main color */
}

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

.page-news__article-card {
    background-color: #111111; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.page-news__article-content {
    padding: 25px;
}

.page-news__article-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD36B; /* Glow color for titles */
    line-height: 1.4;
}

.page-news__article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main */
}

.page-news__article-date {
    font-size: 0.85rem;
    color: #F2C14E; /* Main color */
}

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

/* Categories Section */
.page-news__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-news__category-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark bg */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.page-news__category-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-news__category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-news__category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD36B; /* Glow color */
}

/* CTA Banner */
.page-news__cta-banner {
    background-color: #0A0A0A;
    padding: 80px 0;
    text-align: center;
}

.page-news__cta-content {
    max-width: 800px;
}

.page-news__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
}

/* FAQ Section */
.page-news__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-news__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border from custom palette */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-news__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFD36B; /* Glow color */
    outline: none;
    transition: background-color 0.3s ease;
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for webkit browsers */
}

.page-news__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-news__faq-qtext {
    flex-grow: 1;
}

.page-news__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Main color */
}

.page-news__faq-item[open] .page-news__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
}

.page-news__faq-answer p {
    margin: 0;
}

/* Universal image and container responsive styles */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news__section,
.page-news__container,
.page-news__article-card,
.page-news__category-card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-news__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-news__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-news__subtitle {
        font-size: 1rem;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px; /* Add padding to container */
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

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

    .page-news__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-news__articles-grid,
    .page-news__category-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 25px;
    }

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

    .page-news__article-excerpt {
        font-size: 0.9rem;
    }

    .page-news__article-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-news__category-image {
        height: 120px;
    }

    .page-news__cta-banner {
        padding: 60px 0;
    }

    .page-news__cta-description {
        font-size: 1rem;
    }

    .page-news__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-news__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    /* Generic image and container overrides for mobile */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}