.page-news {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px; /* Space below content */
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-news__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-news__description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-news__section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A;
}

.page-news__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

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

.page-news__card {
  background-color: #11271B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E;
}

.page-news__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px #57E38D;
}

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

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

.page-news__card-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-news__card-title a:hover {
  color: #57E38D;
}

.page-news__card-text {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-news__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D;
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #57E38D;
  border: 2px solid #57E38D;
}

.page-news__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F;
  box-shadow: 0 0 15px #57E38D;
}

.page-news__content-block {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #2E7A4E;
}

.page-news__sub-title {
  font-size: 1.8em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__content-block p {
  color: #A7D9B8;
  margin-bottom: 15px;
}

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

.page-news__security-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E;
}

.page-news__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news__dark-section {
  background-color: #0A4B2C;
  border-color: #1E3A2A;
  color: #F2FFF6;
}

.page-news__dark-section .page-news__section-title,
.page-news__dark-section .page-news__section-description,
.page-news__dark-section .page-news__sub-title,
.page-news__dark-section p {
  color: #F2FFF6;
}

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

.page-news__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-news__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2FFF6;
  transition: background-color 0.3s ease;
}

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

.page-news__faq-item summary:hover {
  background-color: #1E3A2A;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  color: #57E38D;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.7;
}

.page-news__cta-bottom {
  text-align: center;
  padding: 80px 0;
}

.page-news__cta-bottom .page-news__container {
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-news__cta-bottom .page-news__section-title {
  font-size: clamp(2em, 4vw, 3.2em);
  margin-bottom: 25px;
}

.page-news__cta-bottom .page-news__section-description {
  font-size: 1.15em;
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-news__section-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }
  .page-news__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px;
  }
  .page-news__hero-section {
    padding-bottom: 30px;
  }
  .page-news__hero-content {
    padding: 15px;
  }
  .page-news__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: clamp(1.6em, 5.5vw, 2.2em);
  }
  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-news__card-grid {
    grid-template-columns: 1fr;
  }
  .page-news__card-image {
    height: 180px;
  }
  .page-news__card-content {
    padding: 20px;
  }
  .page-news__card-title {
    font-size: 1.3em;
  }
  .page-news__card-text {
    font-size: 0.9em;
  }
  .page-news__button {
    padding: 10px 20px;
    font-size: 0.9em;
    width: 100% !important; /* Ensure buttons are full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__content-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-news__sub-title {
    font-size: 1.5em;
  }
  .page-news__security-grid {
    grid-template-columns: 1fr;
  }
  .page-news__security-item {
    padding: 25px;
  }
  .page-news__security-icon {
    width: 80px;
    height: 80px;
  }
  .page-news__faq-item summary {
    padding: 18px 20px;
    font-size: 1.1em;
  }
  .page-news__faq-answer {
    padding: 0 20px 18px 20px;
  }
  .page-news__cta-bottom {
    padding: 50px 0;
  }
  .page-news__cta-bottom .page-news__container {
    padding: 30px;
  }
  .page-news__cta-bottom .page-news__section-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-news__cta-bottom .page-news__section-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__hero-image-wrapper,
  .page-news__content-block,
  .page-news__security-item,
  .page-news__faq-item,
  .page-news__cta-bottom .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__hero-section {
    padding-top: 10px !important;
  }
  .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;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-news__section-title {
    font-size: clamp(1.4em, 6.5vw, 2em);
  }
  .page-news__card-title {
    font-size: 1.2em;
  }
  .page-news__faq-item summary {
    font-size: 1em;
  }
}