.page-news {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    background: #F5F7FA; /* General background color */
    line-height: 1.6;
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small top spacing as per requirement */
    background: #F5F7FA; /* Match body background */
}

.page-news__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.page-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-news__hero-content {
    text-align: center;
    padding: 40px 0;
    position: relative; /* Ensure text is above general content, not overlapping image */
    z-index: 1;
}

.page-news__main-title {
    font-size: clamp(28px, 4vw + 1rem, 42px); /* Responsive font size */
    font-weight: 700;
    color: #E53935; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-news__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-news__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 60px 0;
    background: #FFFFFF; /* Card background color */
}

.page-news__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #E53935;
    margin-bottom: 40px;
}

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

.page-news__news-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    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.15);
}

.page-news__card-image {
    width: 100%;
    height: 200px; /* 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: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__card-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #E53935;
}

.page-news__card-meta {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #FF5A4F;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-news__read-more:hover {
    background: #E53935;
}

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

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background: #F5F7FA; /* Background color for FAQ section */
}

/* FAQ item styles (from prompt, for <details>) */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #FFFFFF;
}
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;
  color: #333333; /* Ensure contrast */
}
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: #f5f5f5;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger for readability */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Ensure contrast */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(26px, 3.5vw + 1rem, 38px); /* Adjusted clamp for tablets */
    }
    .page-news__description {
        font-size: 17px;
    }
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__news-grid {
        gap: 20px;
    }
    .page-news__news-card {
        margin: 0 10px; /* Adjust for smaller screens */
    }
}


@media (max-width: 768px) {
    /* Hero Section */
    .page-news__hero-section {
        padding-top: 10px !important; /* Ensure small top spacing */
    }
    .page-news__hero-content {
        padding: 30px 0;
    }
    .page-news__main-title {
        font-size: clamp(24px, 6vw, 28px) !important; /* Mobile clamp */
        margin-bottom: 15px;
        padding: 0 15px;
    }
    .page-news__description {
        font-size: 15px;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Latest News Section */
    .page-news__latest-news-section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 26px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .page-news__news-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 25px;
        padding: 0 15px;
    }
    .page-news__news-card {
        margin: 0;
    }
    .page-news__card-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-news__card-title {
        font-size: 18px;
    }
    .page-news__card-meta,
    .page-news__card-excerpt {
        font-size: 14px;
    }
    .page-news__read-more {
        padding: 8px 15px;
        font-size: 14px;
    }
    .page-news__view-all-container {
        margin-top: 30px;
        padding: 0 15px;
    }

    /* FAQ Section */
    .page-news__faq-section {
        padding: 40px 0;
    }
    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext {
        font-size: 15px;
        line-height: 1.4;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
    .page-news__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }

    /* General image responsiveness for mobile */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__hero-section .page-news__container,
    .page-news__latest-news-section .page-news__container,
    .page-news__faq-section .page-news__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}