.page-news-center {
  background-color: var(--bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-news-center__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--card-bg-color);
  margin-bottom: 40px;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-center__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Ensures image does not exceed content width */
  margin-bottom: 30px;
}

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

.page-news-center__hero-content {
  max-width: 800px;
  width: 100%;
}

.page-news-center__hero-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Adjusted to use clamp, avoiding fixed large values */
  color: var(--custom-color-1776249996415);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-news-center__hero-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-news-center__hero-button:hover {
  opacity: 0.9;
}

.page-news-center__news-list-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-center__section-title {
  font-size: 2.2em;
  color: var(--custom-color-1776249996415);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-news-center__news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-news-center__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-news-center__news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-news-center__news-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news-center__news-card-content {
  padding: 20px;
}

.page-news-center__news-card-category {
  display: inline-block;
  background-color: var(--main-color);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-news-center__news-card-title {
  font-size: 1.4em;
  color: var(--custom-color-1776249996415);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news-center__news-card-excerpt {
  font-size: 0.95em;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-news-center__news-card-date {
  font-size: 0.85em;
  color: #666;
}

.page-news-center__view-all-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-news-center__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-news-center__view-all-button:hover {
  opacity: 0.9;
}

.page-news-center__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--main-color);
  color: #fff;
  margin-bottom: 40px;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-center__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #fff;
}

.page-news-center__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-center__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #ff9900; /* Using a vibrant accent color for CTA */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-news-center__cta-button:hover {
  background-color: #e68a00;
}

/* Color variables */
:root {
  --main-color: #2F6BFF;
  --accent-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg-color: #FFFFFF;
  --bg-color: #F4F7FB;
  --text-main-color: #1F2D3D;
  --custom-color-1776249996415: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news-center__hero-section {
    padding: 20px 15px;
  }

  .page-news-center__hero-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
  }

  .page-news-center__hero-description {
    font-size: 1em;
  }

  .page-news-center__news-list-section {
    padding: 20px 15px;
  }

  .page-news-center__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-news-center__news-grid {
    grid-template-columns: 1fr;
  }

  .page-news-center__news-card-image {
    height: 180px;
  }

  .page-news-center__news-card-title {
    font-size: 1.2em;
  }

  .page-news-center__cta-section {
    padding: 40px 15px;
  }

  .page-news-center__cta-title {
    font-size: 2em;
  }

  .page-news-center__cta-description {
    font-size: 1em;
  }

  /* Mobile content area image overflow prevention */
  .page-news-center img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-news-center__hero-button,
  .page-news-center__view-all-button,
  .page-news-center__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-news-center__hero-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-news-center__section-title {
    font-size: 1.6em;
  }

  .page-news-center__cta-title {
    font-size: 1.8em;
  }
}