.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

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

.page-news__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-news__section-description {
  font-size: 18px;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-news__hero-section {
  padding-top: 10px; /* Adjusted to ~10px top padding */
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure it can take full width */
  margin-bottom: 30px;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-news__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-news__hero-description {
  font-size: 1.25rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

.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: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B02A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-news__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #3A2A12;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-news__btn-secondary:hover {
  background: #1A1A1A;
  color: #FFE082;
  border-color: #55401A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Latest News Section */
.page-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__article-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-news__article-title a:hover {
  color: #FFE082;
}

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

.page-news__article-excerpt {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #FFD36B;
}

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

/* Promotions Section */
.page-news__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-news__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-news__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-news__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-news__promo-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guides Section */
.page-news__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__guide-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-news__guide-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-news__guide-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

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

.page-news__guide-title a:hover {
  color: #FFE082;
}

.page-news__guide-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Security & Support Section */
.page-news__info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__info-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-news__info-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-news__info-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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: #1A1A1A;
}

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

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  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: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-news__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* General image styling for content areas */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__hero-content {
    padding: 0 30px;
  }

  .page-news__section-title {
    font-size: 32px;
  }

  .page-news__articles-grid,
  .page-news__promotions-grid,
  .page-news__guides-grid,
  .page-news__info-cards-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__section {
    padding: 40px 0;
  }

  .page-news__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-news__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    height: auto !important;
    width: 100% !important;
  }

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

  .page-news__hero-description {
    font-size: 1rem;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-news__articles-grid,
  .page-news__promotions-grid,
  .page-news__guides-grid,
  .page-news__info-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-news__article-image,
  .page-news__promo-image,
  .page-news__guide-image {
    height: auto !important;
    width: 100% !important;
  }

  .page-news__article-title,
  .page-news__promo-title,
  .page-news__guide-title,
  .page-news__info-title {
    font-size: 20px;
  }

  .page-news__article-excerpt,
  .page-news__promo-text,
  .page-news__guide-text,
  .page-news__info-text {
    font-size: 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: 20px;
    width: 24px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all content area images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers for images are responsive */
  .page-news__article-card,
  .page-news__promo-card,
  .page-news__guide-card,
  .page-news__info-card,
  .page-news__latest-news,
  .page-news__promotions,
  .page-news__guides,
  .page-news__security-support,
  .page-news__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
}