:root {
    --primary-color: #FF8C1A;
    --auxiliary-color: #FFA53A;
    --card-bg-color: #17191F;
    --bg-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

/* General Styling */
.page-news {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background: var(--bg-color);
    line-height: 1.6;
}

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

.page-news__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-news__section-description {
    font-size: 18px;
    color: rgba(255, 243, 230, 0.8);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-news__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, var(--auxiliary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    border: none;
}

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

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

.page-news__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.page-news__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small top margin, as body padding-top is handled by shared.css */
    margin-bottom: 50px;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
    min-width: 200px;
}

.page-news__hero-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    padding: 0 20px;
}

.page-news__main-title {
    font-size: clamp(32px, 4vw, 48px); /* Using clamp for H1 */
    font-weight: 800;
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 20px;
    color: rgba(255, 243, 230, 0.7);
    margin-bottom: 30px;
}

/* Latest Articles Section */
.page-news__latest-articles {
    padding: 60px 0;
    background: var(--card-bg-color);
    margin-bottom: 50px;
}

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

.page-news__article-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news__article-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
    flex-shrink: 0;
}

.page-news__article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

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

.page-news__article-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

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

.page-news__article-meta {
    font-size: 14px;
    color: rgba(255, 243, 230, 0.6);
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 16px;
    color: rgba(255, 243, 230, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-news__read-more:hover {
    text-decoration: underline;
}

/* Featured News Section */
.page-news__featured-news {
    padding: 60px 0;
    margin-bottom: 50px;
}

.page-news__articles-grid--featured {
    grid-template-columns: 2fr 1fr 1fr; /* Large card + two small cards */
    grid-template-rows: auto auto;
    gap: 30px;
}

.page-news__article-card--large {
    grid-column: span 2;
    height: 100%; /* Ensure it fills its space */
}

.page-news__article-card--large .page-news__article-image {
    height: 350px; /* Larger image for featured */
}

.page-news__article-card--large .page-news__article-image img {
    height: 100%;
}

.page-news__article-card--large .page-news__article-title {
    font-size: 28px;
}

.page-news__article-card--small .page-news__article-image {
    height: 200px;
}

.page-news__article-card--small .page-news__article-image img {
    height: 100%;
}

.page-news__article-card--small .page-news__article-title {
    font-size: 18px;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background: var(--card-bg-color);
    margin-bottom: 50px;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-color);
  color: var(--text-main-color);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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(255, 140, 26, 0.1);
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: rgba(255, 243, 230, 0.8);
}
details.page-news__faq-item .page-news__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-news__cta-section {
    padding: 60px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-news__hero-image img {
        height: auto;
    }
    .page-news__main-title {
        font-size: clamp(28px, 5vw, 42px);
    }
    .page-news__hero-description {
        font-size: 17px;
    }
    .page-news__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-news__articles-grid--featured {
        grid-template-columns: 1fr; /* Stack featured articles */
    }
    .page-news__article-card--large {
        grid-column: span 1;
    }
    .page-news__article-card--large .page-news__article-image {
        height: 250px;
    }
    .page-news__article-card--large .page-news__article-title {
        font-size: 24px;
    }
    .page-news__article-card--small .page-news__article-image {
        height: 180px;
    }
    .page-news__article-card--small .page-news__article-title {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-news__container,
    .page-news__hero-content,
    .page-news__latest-articles,
    .page-news__featured-news,
    .page-news__faq-section,
    .page-news__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news__hero-section {
        padding-top: 10px;
        margin-bottom: 30px;
    }
    
    .page-news__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

    .page-news__hero-content {
        margin-top: 20px;
    }

    .page-news__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }

    .page-news__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-news__section-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* Articles Grid */
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news__article-image {
        height: 200px; /* Smaller fixed height for mobile cards */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__article-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        object-fit: cover !important;
    }

    .page-news__article-title {
        font-size: 18px;
    }
    
    .page-news__article-card--large .page-news__article-image {
        height: 220px;
    }
    .page-news__article-card--large .page-news__article-title {
        font-size: 20px;
    }

    /* Buttons */
    .page-news__button-group {
        flex-direction: column !important;
        gap: 15px;
    }

    .page-news__cta-button,
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ */
    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 16px; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }

    /* General content area padding */
    .page-news__latest-articles,
    .page-news__featured-news,
    .page-news__faq-section,
    .page-news__cta-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}