.nw-breadcrumb {
  background: #f7faff;
  border-bottom: 1px solid #e8eef8;
}

.nw-breadcrumb__inner {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.nw-breadcrumb__inner a {
  color: #2563c8;
  text-decoration: none;
}

.nw-breadcrumb__inner span {
  color: #64748b;
}

.nw-page {
  background: #f7faff;
  padding: 32px 0 56px;
}

.nw-header {
  margin-bottom: 24px;
}

.nw-header h1 {
  margin: 0 0 8px;
  color: #1a2d6e;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.nw-header p {
  margin: 0;
  max-width: 640px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.nw-card {
  border: 1px solid #e8eef8;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 200, 0.06);
}

.nw-card:hover {
  border-color: #2563c8;
  box-shadow: 0 10px 24px rgba(37, 99, 200, 0.12);
  transform: translateY(-2px);
}

.nw-card__image-link {
  text-decoration: none;
}

.nw-card__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f0f5ff 0%, #ddeeff 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nw-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nw-card__image-placeholder {
  font-size: 42px;
}

.nw-card__body {
  padding: 16px 16px 18px;
}

.nw-card__title {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

.nw-card__title a {
  color: #1a2d6e;
  text-decoration: none;
}

.nw-card__title a:hover {
  color: #2563c8;
}

.nw-card__excerpt {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nw-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 12px;
}

.nw-pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nw-pagination__link {
  border: 1px solid #e8eef8;
  border-radius: 8px;
  background: #fff;
  color: #2563c8;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 12px;
}

.nw-pagination__link:hover {
  border-color: #2563c8;
  background: #f0f5ff;
}

.nw-pagination__current {
  color: #64748b;
  font-size: 13px;
}

.nw-empty {
  border: 1px solid #e8eef8;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  color: #64748b;
  padding: 56px 24px;
}

.nw-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.nw-detail {
  border: 1px solid #e8eef8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 200, 0.07);
  overflow: hidden;
}

.nw-detail__header {
  padding: 26px 28px 14px;
}

.nw-detail__header h1 {
  margin: 0 0 10px;
  color: #1a2d6e;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
}

.nw-detail__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 12px;
}

.nw-detail__image {
  border-top: 1px solid #e8eef8;
  border-bottom: 1px solid #e8eef8;
}

.nw-detail__image img {
  width: 100%;
  display: block;
}

.nw-detail__content {
  padding: 24px 28px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
}

.nw-detail__content p {
  margin: 0 0 14px;
}

.nw-detail__content h1,
.nw-detail__content h2,
.nw-detail__content h3,
.nw-detail__content h4 {
  color: #1a2d6e;
  font-family: "Montserrat", sans-serif;
}

.nw-detail__footer {
  border-top: 1px solid #e8eef8;
  padding: 16px 28px 20px;
}

.nw-btn-back {
  display: inline-block;
  border: 1.5px solid #2563c8;
  border-radius: 8px;
  color: #2563c8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 14px;
}

.nw-btn-back:hover {
  background: #f0f5ff;
}

.nw-sidebar {
  border: 1px solid #e8eef8;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  height: fit-content;
}

.nw-sidebar h2 {
  margin: 0 0 14px;
  color: #1a2d6e;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.nw-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nw-sidebar__item + .nw-sidebar__item {
  margin-top: 12px;
}

.nw-sidebar__link {
  display: flex;
  gap: 10px;
  text-decoration: none;
}

.nw-sidebar__image {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f5ff;
}

.nw-sidebar__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nw-sidebar__content {
  min-width: 0;
}

.nw-sidebar__title {
  display: block;
  color: #1a2d6e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.nw-sidebar__link:hover .nw-sidebar__title {
  color: #2563c8;
}

.nw-sidebar__date {
  display: block;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .nw-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nw-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .nw-page {
    padding: 24px 0 40px;
  }

  .nw-header h1 {
    font-size: 26px;
  }

  .nw-grid {
    grid-template-columns: 1fr;
  }

  .nw-detail__header,
  .nw-detail__content,
  .nw-detail__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nw-detail__header h1 {
    font-size: 24px;
  }
}
