:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --border-color: #E0E0E0;
}

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

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

.page-news__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-news__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* 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(--background-color);
}

.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%; /* Ensures it takes full width in flex container */
}

.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.1);
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for text readability */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* For mobile button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__cta-button:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-news__news-card {
    background-color: var(--card-bg-color);
    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__news-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__news-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

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

.page-news__card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__card-excerpt {
    font-size: 15px;
    color: #666666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__card-date {
    font-size: 14px;
    color: #999999;
    text-align: right;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* For mobile button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__view-all-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Promotions News Section */
.page-news__promotions-news-section {
    padding: 80px 0;
    background-color: var(--primary-color); /* Dark background for this section */
    color: #ffffff; /* White text for dark background */
}

.page-news__promotions-news-section .page-news__section-title {
    color: #ffffff; /* White title for dark background */
}

.page-news__promotions-news-section .page-news__section-title::after {
    background-color: #ffffff; /* White underline for dark background */
}

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

.page-news__promo-card {
    background-color: var(--card-bg-color);
    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__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__promo-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-news__promotions-news-section .page-news__card-title {
    color: var(--primary-color); /* Title color within card on dark section */
}

.page-news__promotions-news-section .page-news__card-excerpt {
    color: #666666; /* Excerpt color within card on dark section */
}

.page-news__promotions-news-section .page-news__card-date {
    color: #999999; /* Date color within card on dark section */
}

.page-news__btn-secondary {
    background: var(--card-bg-color); /* White background for secondary button */
    color: var(--primary-color); /* Primary color text */
    border: 2px solid var(--primary-color);
}

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

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
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: var(--text-main-color);
  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: #f0f0f0;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color); /* FAQ question text color */
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
}
.page-news__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__hero-content {
        padding: 15px;
    }
    .page-news__main-title {
        font-size: clamp(24px, 5vw, 40px);
    }
    .page-news__hero-description {
        font-size: 16px;
    }
    .page-news__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-news__news-card img,
    .page-news__promo-card img {
        
    }
    .page-news__card-title {
        font-size: 18px;
    }
    .page-news__card-excerpt {
        font-size: 14px;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px 18px;
    }
    .page-news__faq-qtext {
        font-size: 17px;
    }
    .page-news__faq-toggle {
        font-size: 26px;
    }
    .page-news__faq-answer {
        padding: 0 18px 18px;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 15px;
    }
    .page-news__container {
        padding: 0 15px;
    }
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-news__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Keep small top padding */
    }
    .page-news__hero-content {
        padding: 10px;
        box-shadow: none; /* Remove shadow on mobile for cleaner look */
        background-color: rgba(255, 255, 255, 0.95);
    }
    .page-news__main-title {
        font-size: clamp(22px, 6vw, 36px);
        margin-bottom: 10px;
    }
    .page-news__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-news__cta-button {
        padding: 10px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-news__latest-news-section,
    .page-news__promotions-news-section,
    .page-news__faq-section {
        padding: 50px 0;
    }
    .page-news__news-grid,
    .page-news__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news__news-card img,
    .page-news__promo-card img {
        
    }
    .page-news__card-content {
        padding: 15px;
    }
    .page-news__card-title {
        font-size: 17px;
    }
    .page-news__card-excerpt {
        font-size: 13px;
    }
    .page-news__view-all-button,
    .page-news__btn-secondary {
        padding: 10px 20px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 12px 15px;
    }
    .page-news__faq-qtext {
        font-size: 16px;
    }
    .page-news__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    .page-news__faq-answer {
        padding: 0 15px 15px;
    }
    .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;
    }
}