/* style/news.css */

/* --- General Page Styles --- */
.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
}

.page-news__section {
  padding: 60px 0;
  text-align: center;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFB04A; /* Gold-like for titles */
}

.page-news__section-title--light {
  color: #FFF1E8; /* Text Main for light titles on dark backgrounds */
}

.page-news__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8; /* Text Main */
}

.page-news__section-description--light {
  color: #FFF1E8; /* Ensure readability on dark backgrounds */
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%); /* Invert for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__cta-button--secondary {
  background: #C61F1F; /* Main color */
  margin-left: 20px;
  border: 2px solid #FFB04A; /* Gold border */
}

.page-news__cta-button--secondary:hover {
  background: #E53030; /* Auxiliary color */
  border-color: #FFF1E8;
}

/* --- 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: #140C0C; /* Background color for consistency */
}

.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%; /* Ensure full width within container */
}

.page-news__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px; /* Add some padding for content */
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 900;
  color: #F3C54D; /* Gold color for H1 */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-news__hero-description {
  font-size: 1.2rem;
  color: #FFF1E8; /* Text Main */
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* --- Latest Articles Section --- */
.page-news__latest-articles {
  background: #140C0C; /* Background */
  padding-bottom: 40px;
}

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

.page-news__article-card {
  background: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

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

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

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

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

.page-news__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
  line-height: 1.3;
}

.page-news__card-excerpt {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news__article-date {
  font-size: 14px;
  color: #E53030; /* Auxiliary color */
  display: block;
  margin-bottom: 10px;
}

.page-news__read-more {
  display: inline-block;
  color: #FFB04A; /* Button gradient start color */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #F3C54D; /* Gold */
}

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

/* --- Featured News Section (Long Article) --- */
.page-news__featured-news {
  background: #2A1212; /* Card BG as background for this section */
  color: #FFF1E8; /* Text Main */
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: left; /* Align text left for article */
}

.page-news__featured-news .page-news__section-title {
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 50px;
}

.page-news__featured-news .page-news__section-description {
  color: #FFF1E8; /* Text Main */
  text-align: center;
}

.page-news__featured-news .page-news__container {
  max-width: 1000px;
}

.page-news__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-news__image-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.page-news__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__text-wrapper p {
  margin-bottom: 1.2em;
  font-size: 17px;
  line-height: 1.7;
  color: #FFF1E8; /* Text Main */
}

.page-news__text-wrapper strong {
  color: #FFB04A; /* Highlight keywords */
}

.page-news__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #E53030; /* Auxiliary color */
  line-height: 1.3;
}

.page-news__text-wrapper ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
}

.page-news__text-wrapper ul li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-news__cta-block {
  text-align: center;
  margin-top: 60px;
}

/* --- Promotions News Section --- */
.page-news__promotions-news {
  background: #140C0C; /* Background */
  padding-bottom: 40px;
}

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

.page-news__promo-card {
  background: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

.page-news__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.page-news__promo-card .page-news__card-content {
  padding: 25px;
}

.page-news__promo-card .page-news__card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold */
  line-height: 1.3;
}

.page-news__promo-card .page-news__card-excerpt {
  font-size: 15px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 15px;
}

.page-news__read-more-link {
  display: inline-block;
  color: #FFB04A; /* Gold-like */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
  color: #F3C54D; /* Gold */
}

/* --- FAQ Section --- */
.page-news__faq-section {
  background: #140C0C; /* Background */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

details.page-news__faq-item[open] {
  border-color: #E53030; /* Auxiliary color when open */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

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: #F3C54D; /* Gold */
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

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, 255, 255, 0.05); /* Slight hover effect */
}

.page-news__faq-qtext {
  flex: 1;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #E53030; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background: #140C0C; /* Background */
  border-top: 1px solid #6A1E1E; /* Border */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8; /* Text Main */
  font-size: 16px;
  line-height: 1.7;
}

.page-news__faq-answer p {
  margin-bottom: 1em;
}

/* --- CTA Section --- */
.page-news__cta-section {
  background: linear-gradient(135deg, #C61F1F 0%, #E53030 100%); /* Main & Auxiliary colors */
  padding: 80px 0;
}

.page-news__cta-container {
  max-width: 900px;
}

.page-news__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}


/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
  .page-news__section {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px;
  }

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

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

  /* Hero Section */
  .page-news__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  
  .page-news__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

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

  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 20px;
    width: 100% !important; /* Full width for mobile buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-news__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  /* Article Grid */
  .page-news__article-grid,
  .page-news__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-card img,
  .page-news__promo-card img {
    
  }

  .page-news__card-content {
    padding: 20px;
  }

  .page-news__card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-news__card-excerpt {
    font-size: 14px;
    margin-bottom: 15px;
  }

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

  .page-news__featured-news .page-news__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-news__sub-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-news__text-wrapper p,
  .page-news__text-wrapper ul li {
    font-size: 15px;
  }

  .page-news__cta-block {
    margin-top: 40px;
  }
  
  .page-news__cta-block .page-news__cta-button {
    margin-top: 20px;
  }

  /* FAQ Section */
  .page-news__faq-list {
    margin-top: 30px;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-news__faq-qtext {
    font-size: 16px;
  }

  .page-news__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  
  /* CTA Section */
  .page-news__cta-section {
    padding: 50px 0;
  }
  
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-news__cta-buttons .page-news__cta-button {
    margin: 0 !important;
  }

  /* Ensure all images and containers adapt to mobile */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container,
  .page-news__article-card,
  .page-news__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure contrast for text on various backgrounds if needed */
.page-news__dark-bg {
  color: #ffffff;
  background: #C61F1F;
}

.page-news__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-news__medium-bg {
  color: #000000;
  background: #E53030;
}