.page-news__hero-section {
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

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

.page-news__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-news__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: 300px; /* Limit button width */
  width: 100%; /* Ensure responsiveness */
}

.page-news__btn-primary {
  background-color: #FFD700;
  color: #CC0000;
  border: 2px solid #FFD700;
}

.page-news__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-news__btn-secondary:hover {
  background-color: #ffffff;
  color: #CC0000;
}

.page-news__content-section,
.page-news__latest-news-section,
.page-news__security-section,
.page-news__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-news__guides-section,
.page-news__why-choose-section,
.page-news__cta-bottom-section {
  padding: 60px 0;
  background-color: #CC0000;
  color: #ffffff;
}

.page-news__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
  font-weight: bold;
}

.page-news__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.page-news__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-news__article-card,
.page-news__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-news__article-card:hover,
.page-news__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-news__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
}

.page-news__article-title a {
  color: #CC0000;
  text-decoration: none;
}

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

.page-news__article-excerpt {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-link {
  display: inline-block;
  color: #CC0000;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

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

.page-news__guide-card {
  text-align: center;
  padding: 30px;
}

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

.page-news__guide-title a {
  color: #CC0000;
  text-decoration: none;
}

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

.page-news__guide-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-news__advantages-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
}

.page-news__advantage-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.page-news__advantage-item::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
}

.page-news__text-link {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
}

.page-news__text-link:hover {
  color: #e6c200;
}

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

.page-news__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-news__faq-question:hover {
  background-color: #e6c200;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-news__faq-text {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.7;
}

.page-news__cta-bottom-section .page-news__btn-primary {
  background-color: #FFD700;
  color: #CC0000;
  border-color: #FFD700;
  margin-top: 20px;
}

.page-news__cta-bottom-section .page-news__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.8em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__articles-grid,
  .page-news__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__main-title {
    font-size: 2.2em;
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 12px 20px;
  }
  .page-news__content-section,
  .page-news__latest-news-section,
  .page-news__security-section,
  .page-news__faq-section,
  .page-news__guides-section,
  .page-news__why-choose-section,
  .page-news__cta-bottom-section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-news__text-block {
    font-size: 0.95em;
    line-height: 1.7;
  }
  .page-news__image {
    margin: 30px auto;
  }
  .page-news__article-card,
  .page-news__guide-card {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__guide-title {
    font-size: 1.3em;
  }
  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px;
  }
  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Mobile image and video responsive */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !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;
  }
  .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;
  }
}