.news-page { background: #f4f7fb; }

.news-detail-hero {
  padding: 70px 0 78px;
  background:
    radial-gradient(circle at 88% 0%, rgba(17,104,200,.16), transparent 30%),
    linear-gradient(135deg, #fff 0%, #edf5ff 100%);
  border-bottom: 1px solid #dce7f3;
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  margin-top: 32px;
  color: #8290a7;
  font-size: 17px;
}

.news-breadcrumb a { color: #557091; text-decoration: none; }
.news-breadcrumb a:hover { color: #002794; }

.news-detail-hero time {
  display: block;
  margin-bottom: 14px;
  color: #1168c8;
  font-size: 13px;
  font-weight: 650;
}

.news-detail-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #10285f;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.025em;
}

.news-detail-section { padding: 0px 0 50px; }

.news-article {
  overflow: hidden;
  border: 1px solid #dfe8f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0,39,148,.07);
}

.news-article__image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 590px;
  overflow: hidden;
  background: #e5ecf4;
}

.news-article__image img {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
}

.news-article__body {
  padding: clamp(28px, 5vw, 58px);
  color: #4f617e;
  font-size: 16px;
  line-height: 1.95;
}

.news-article__body p { margin: 0 0 1.35em; }
.news-article__body p:last-child { margin-bottom: 0; }
.news-article__body h2,
.news-article__body h3,
.news-article__body h4 { margin: 1.4em 0 .65em; color: #10285f; line-height: 1.4; font-weight: 650; }
.news-article__body ul,
.news-article__body ol { margin: 0 0 1.35em; padding-left: 1.4em; }
.news-article__body li { margin-bottom: .45em; }
.news-article__body a { color: #075fc7; text-decoration: underline; text-underline-offset: 3px; }
.news-article__body blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid #1168c8; background: #f1f6fc; color: #334c72; }
.news-article__body img { display: block; max-width: 100%; height: auto; margin: 1.5em auto; border-radius: 14px; }

.news-detail-gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #e5ecf4;
  cursor: zoom-in;
}

.news-detail-gallery__item:focus-visible {
  outline: 3px solid #1168c8;
  outline-offset: 3px;
}

.news-article__body .news-detail-gallery__item img {
  width: 100%;
  height: 260px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .25s ease;
}

.news-detail-gallery__item:hover img { transform: scale(1.025); }

.news-gallery-modal__image {
  display: block;
  width: 100%;
  height: min(82vh, 900px);
  object-fit: contain;
  background: #050a15;
}

.news-gallery-modal__count {
  position: absolute;
  right: 18px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: 13px;
}

.news-back-link {
  display: inline-block;
  margin-top: 26px;
  color: #075fc7;
  font-weight: 600;
  text-decoration: none;
}

.related-news-section { margin-top: 70px; }

.related-news-panel { padding-top: 42px; border-top: 1px solid #dbe5ef; }

.related-news-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.related-news-panel__kicker {
  margin: 0 0 8px;
  color: #1168c8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.related-news-panel h2 {
  margin: 0;
  color: #10285f;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 650;
}

.related-news-card {
  display: flex;
  height: 570px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e8f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0, 39, 148, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 23px 52px rgba(0, 39, 148, .11);
}

.related-news-card__image {
  display: block;
  flex: 0 0 235px;
  height: 235px;
  overflow: hidden;
  background: #dfe8f2;
}

.related-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.related-news-card:hover .related-news-card__image img { transform: scale(1.045); }

.related-news-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 26px;
}

.related-news-card time {
  display: block;
  margin-bottom: 12px;
  color: #1168c8;
  font-size: 12px;
  font-weight: 650;
}

.related-news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 650;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-news-card h3 a { color: #21395f; text-decoration: none; }
.related-news-card h3 a:hover { color: #002794; }

.related-news-card__content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #687894;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.related-news-card__footer {
  display: flex;
  flex: 0 0 72px;
  align-items: center;
  padding: 16px 26px;
  border-top: 1px solid #e8eef5;
  background: #fff;
}

.related-news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #075fc7;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.related-news-card__more span { transition: transform .2s ease; }
.related-news-card__more:hover span { transform: translateX(4px); }

.related-news-panel__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #075fc7;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.news-not-found { min-height: 65vh; display: flex; align-items: center; padding: 80px 0; }
.news-not-found p { margin: 0; color: #1168c8; font-size: 18px; font-weight: 700; }
.news-not-found h1 { margin: 10px 0 25px; color: #10285f; font-size: clamp(36px, 6vw, 58px); }
.news-not-found a { display: inline-flex; padding: 12px 22px; border-radius: 999px; background: #002794; color: #fff; text-decoration: none; }

@media (max-width: 575px) {
  .news-detail-hero { padding: 50px 0 58px; }
  .news-detail-section { padding: 0px 0 72px; }
  .news-article { border-radius: 18px; }
  .news-article__body { font-size: 15px; }
  .related-news-section { margin-top: 52px; }
  .related-news-panel { padding-top: 34px; }
  .related-news-panel__heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .related-news-card { height: 550px; border-radius: 18px; }
  .related-news-card__image { flex-basis: 220px; height: 220px; }
}
