/* Body background is #B71C1C (dark), so text should be light */
.page-news {
  color: #FFF5E1; /* Text Main */
  background-color: transparent; /* Rely on shared.css for body background */
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  box-sizing: border-box;
}

.page-news__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop hero */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-news__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__intro-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__btn-secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-news__latest-articles,
.page-news__promotional-cta,
.page-news__faq-section {
  padding: 60px 0;
  text-align: center;
}

.page-news__light-bg {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-news__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow */
}

.page-news__section-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #FFF5E1; /* Text Main */
}

.page-news__article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.page-news__article-card {
  background: #7A0E0E; /* Deep Red */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #FFF5E1; /* Text Main */
}

.page-news__card-image {
  width: 100%;
  height: 225px;
  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.4;
  color: #FFCC66; /* Glow */
}

.page-news__card-title a {
  color: #FFCC66; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #F4D34D; /* Gold */
}

.page-news__card-meta {
  font-size: 14px;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red */
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-news__view-all-button-container {
  margin-top: 30px;
}

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

.page-news__dark-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-news__section-title--light {
  color: #FFCC66; /* Glow */
}

.page-news__section-description--light {
  color: #FFF5E1; /* Text Main */
}

.page-news__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-news__category-item {
  display: inline-block;
  padding: 12px 25px;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Border */
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-news__category-item:hover {
  background: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow */
  color: #FFCC66; /* Glow */
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

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: #FFCC66; /* Glow */
}

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: #D32F2F; /* Card BG */
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFCC66; /* Glow */
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  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: #D32F2F; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Text Main */
  font-size: 16px;
  line-height: 1.6;
}

/* Universal image and button responsiveness for mobile */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news__section,
.page-news__card,
.page-news__container,
.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%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-news__cta-button,
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news a[class*="button"],
.page-news a[class*="btn"] {
  white-space: normal;
  word-wrap: break-word;
}

@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 42px;
  }
  .page-news__section-title {
    font-size: 32px;
  }
  .page-news__article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-news__hero-image {
    height: 500px;
  }
  .page-news__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px; /* body handles header offset */
    padding-bottom: 30px;
  }
  .page-news__hero-image {
    height: 300px !important; /* Mobile hero image height */
    object-fit: contain !important;
  }
  .page-news__hero-content {
    padding: 0 15px;
  }
  .page-news__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-news__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

  .page-news__latest-articles,
  .page-news__promotional-cta,
  .page-news__faq-section,
  .page-news__categories {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-news__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
  .page-news__card-image {
    height: 200px;
  }
  .page-news__card-title {
    font-size: 20px;
  }
  .page-news__card-excerpt {
    font-size: 15px;
  }
  .page-news__read-more {
    padding: 8px 15px;
    font-size: 14px;
  }
  .page-news__category-list {
    gap: 10px;
    margin-top: 20px;
    flex-direction: column; /* Ensure categories stack on mobile */
    align-items: center;
  }
  .page-news__category-item {
    width: calc(100% - 30px); /* Full width with padding */
    max-width: 300px;
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-news__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Mobile forced responsive styles */
  .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;
  }

  .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;
  }
  
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-news__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}