/* style/news.css */

/* Custom Colors */
:root {
  --page-news-primary-color: #11A84E;
  --page-news-secondary-color: #22C768;
  --page-news-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-news-card-bg: #11271B;
  --page-news-background: #08160F;
  --page-news-text-main: #F2FFF6;
  --page-news-text-secondary: #A7D9B8;
  --page-news-border-color: #2E7A4E;
  --page-news-glow-color: #57E38D;
  --page-news-gold-color: #F2C14E;
  --page-news-divider-color: #1E3A2A;
  --page-news-deep-green-color: #0A4B2C;
}

.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-news-text-main); /* Default text color for dark background */
  background-color: var(--page-news-background);
}

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

.page-news__dark-section {
  background-color: var(--page-news-background);
  color: var(--page-news-text-main);
}

.page-news__light-bg {
  background-color: #ffffff; /* Use white for light sections for contrast */
  color: #333333; /* Dark text for light background */
}

.page-news__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  margin-bottom: 20px;
  color: var(--page-news-gold-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-news__text-main {
  color: var(--page-news-text-main);
}

.page-news__text-secondary {
  color: var(--page-news-text-secondary);
}

.page-news__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-news__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  padding: 20px;
}

.page-news__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--page-news-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-news__description {
  font-size: 1.2em;
  color: var(--page-news-text-secondary);
  margin-bottom: 40px;
}

.page-news__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: var(--page-news-button-gradient);
  color: #ffffff;
  border: none;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: transparent;
  color: var(--page-news-primary-color);
  border: 2px solid var(--page-news-primary-color);
}

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

/* Card Grid */
.page-news__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-news__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

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

.page-news__card-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__card-title a {
  color: var(--page-news-primary-color);
  text-decoration: none;
}

.page-news__card-title a:hover {
  text-decoration: underline;
}

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

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

.page-news__read-more {
  color: var(--page-news-primary-color);
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.page-news__read-more:hover {
  text-decoration: underline;
}

/* Feature Grid */
.page-news__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-news__feature-item {
  background-color: var(--page-news-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-news__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__feature-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Info Grid */
.page-news__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-news__info-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-news__info-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news__info-title {
  font-size: 1.6em;
  color: var(--page-news-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__info-description {
  font-size: 1em;
  color: #555555;
}

/* Callout Grid */
.page-news__callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-news__callout-item {
  background-color: var(--page-news-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__callout-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--page-news-gold-color);
}

.page-news__callout-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-news-text-secondary);
}

/* FAQ Section */
.page-news__faq-section {
  text-align: left;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-news__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid var(--page-news-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--page-news-primary-color);
  user-select: none;
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-question .page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-news-primary-color);
}

.page-news__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1em;
  color: #555555;
}

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

.page-news__faq-answer a {
  color: var(--page-news-primary-color);
  text-decoration: underline;
}

.page-news__faq-answer a:hover {
  color: var(--page-news-secondary-color);
}

/* CTA Bottom Section */
.page-news__cta-bottom {
  background-color: var(--page-news-deep-green-color);
  padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-section {
    padding: 40px 20px;
  }
  .page-news__hero-content {
    padding: 15px;
  }
  .page-news__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-news__description {
    font-size: 1.1em;
  }
  .page-news__section {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-news__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-news__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-news__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 90%;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-news__section {
    padding: 30px 15px;
  }
  .page-news__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
    margin-bottom: 15px;
  }
  .page-news__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }
  
  /* Image and Video Responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images/videos/buttons */
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__hero-image-wrapper,
  .page-news__card-grid,
  .page-news__feature-grid,
  .page-news__info-grid,
  .page-news__callout-grid,
  .page-news__faq-section,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .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;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  
  .page-news__card-content,
  .page-news__feature-item,
  .page-news__info-item,
  .page-news__callout-item {
    padding: 20px;
  }

  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-news__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-news__description {
    font-size: 0.95em;
  }
  .page-news__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
  }
  .page-news__card-title {
    font-size: 1.3em;
  }
  .page-news__feature-title,
  .page-news__info-title,
  .page-news__callout-title {
    font-size: 1.4em;
  }
  .page-news__faq-question {
    font-size: 1em;
  }
}