.news-archive {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #f3f8fd;
  padding: 128px 72px 120px;
  color: #071832;
  font-family: "BIZ UDGothic", sans-serif;
  box-sizing: border-box;
}

html,
body.page-template-page-news {
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  overflow-x: hidden;
}

body.page-template-page-news {
  background: #f3f8fd;
}

.news-archive *,
.news-archive *::before,
.news-archive *::after {
  box-sizing: border-box;
}

.news-archive::before,
.news-archive::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.news-archive::before {
  left: 0;
  top: 118px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(0, 87, 200, 0.18) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.news-archive::after {
  right: -230px;
  bottom: -170px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #e60012;
  z-index: 0;
}

.news-archive-hero,
.news-archive-featured,
.news-archive-list,
.news-empty,
.news-card-grid {
  position: relative;
  z-index: 1;
}

.news-archive-hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto;
  gap: 36px;
  align-items: end;
  width: min(1420px, calc(100vw - 160px));
  margin: 0 auto 34px;
}

.news-archive-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.3px;
}

.news-archive-eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e60012;
}

.news-archive-title {
  margin: 0;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 7px;
}

.news-archive-categories {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.news-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 38px;
  padding: 0 20px;
  border: 1.5px solid #0057c8;
  border-radius: 999px;
  background: #fff;
  color: #0057c8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.news-category-pill.active {
  background: #0057c8;
  color: #fff;
}

.news-archive-featured {
  width: min(1420px, calc(100vw - 160px));
  margin: 0 auto;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  min-height: 322px;
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(7, 24, 50, 0.12);
}

.news-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-indent: -9999px;
}

.news-feature-image {
  height: 322px;
  background: #fff;
}

.news-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 42px 48px 40px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 28px;
}

.news-date {
  color: #071832;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  opacity: 0.56;
  white-space: nowrap;
}

.news-label {
  display: inline-flex;
  min-width: 96px;
  height: 28px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffe8ec;
  color: #e60012;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.6px;
  white-space: nowrap;
}

.news-label.is-release {
  background: #e7f1ff;
  color: #0057c8;
}

.news-feature-title {
  margin: 0;
  color: #071832;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 2.8px;
}

.news-excerpt {
  max-width: 580px;
  margin: 0;
  color: #071832;
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 1.6px;
  opacity: 0.62;
}

.news-detail-text {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: #0057c8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.news-archive-list {
  display: flex;
  flex-direction: column;
  width: min(1220px, calc(100vw - 260px));
  margin: 30px auto 0;
  padding: 18px 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(7, 24, 50, 0.1);
}

.news-list-row {
  display: grid;
  grid-template-columns: 16px 110px 130px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 22px;
  min-height: 66px;
  position: relative;
  border-bottom: 1px solid rgba(0, 87, 200, 0.16);
}

.news-list-row:last-child {
  border-bottom: 0;
}

.news-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e60012;
}

.news-dot.is-release {
  background: #0057c8;
}

.news-list-title {
  min-width: 0;
  margin: 0;
  color: #071832;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 1.8px;
}

.news-row-arrow {
  color: #071832;
  font-size: 28px;
  line-height: 1;
}

.news-empty {
  width: min(1220px, calc(100vw - 160px));
  margin: 40px auto 0;
  padding: 48px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-weight: 700;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100vw - 160px));
  margin: 0 auto;
}

.news-archive-card {
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(7, 24, 50, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(7, 24, 50, 0.14);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  background: #fff;
  overflow: hidden;
}

.news-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 28px 30px 30px;
}

.news-card-title {
  margin: 0;
  color: #071832;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 1.8px;
  overflow-wrap: anywhere;
}

.news-card-body .news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body .news-detail-text {
  margin-top: auto;
  padding-top: 8px;
}

@media screen and (max-width: 1280px) {
  .news-archive {
    padding: 118px 64px 104px;
  }

  .news-archive-hero,
  .news-archive-featured {
    width: calc(100vw - 160px);
    max-width: 1120px;
  }

  .news-archive-title {
    font-size: 34px;
    letter-spacing: 4.8px;
  }

  .news-feature-card {
    min-height: 280px;
  }

  .news-feature-image {
    height: 280px;
  }

  .news-feature-body {
    padding: 34px 38px;
  }

  .news-feature-title {
    font-size: 21px;
    line-height: 1.7;
    letter-spacing: 2.2px;
  }

  .news-archive-list {
    width: calc(100vw - 260px);
    max-width: 1040px;
  }

  .news-card-grid {
    width: calc(100vw - 160px);
    max-width: 1040px;
    gap: 24px;
  }

  .news-card-body {
    padding: 24px 26px 28px;
  }

  .news-card-title {
    font-size: 17px;
    letter-spacing: 1.4px;
  }
}

@media screen and (max-width: 1004px) {
  .news-archive {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 104px 28px 78px;
    overflow-x: hidden;
  }

  .news-archive::after {
    right: -210px;
    bottom: -150px;
    width: 420px;
    height: 420px;
  }

  .news-archive-hero {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: min(860px, 100%);
    gap: 24px;
  }

  .news-archive-categories {
    justify-content: flex-start;
  }

  .news-archive-featured,
  .news-archive-list,
  .news-card-grid {
    width: 100%;
    max-width: min(860px, 100%);
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .news-feature-card {
    grid-template-columns: 1fr;
  }

  .news-feature-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .news-list-row {
    grid-template-columns: 14px 96px 110px minmax(0, 1fr) 18px;
    gap: 14px;
  }

  .news-card-body {
    padding: 22px 22px 24px;
  }

  .news-card-title {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 1px;
  }

  .news-card-body .news-excerpt {
    -webkit-line-clamp: 2;
    font-size: 12px;
    letter-spacing: 0.8px;
  }
}

@media screen and (max-width: 768px) {
  .news-archive,
  .news-archive * {
    box-sizing: border-box;
  }

  .news-archive {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 92px 18px 68px;
    overflow-x: hidden;
  }

  .news-archive::after {
    right: -180px;
    bottom: -125px;
    width: 320px;
    height: 320px;
  }

  .news-archive-hero,
  .news-archive-featured,
  .news-archive-list,
  .news-card-grid {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .news-archive-title {
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: 3.2px;
  }

  .news-category-pill {
    min-width: 92px;
    height: 34px;
    padding: 0 16px;
    font-size: 12px;
  }

  .news-feature-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 14px;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-archive-card {
    border-radius: 14px;
  }

  .news-card-image {
    aspect-ratio: 16 / 9;
  }

  .news-feature-body {
    min-width: 0;
    overflow: hidden;
    padding: 24px 22px 28px;
  }

  .news-meta {
    gap: 14px;
    flex-wrap: wrap;
  }

  .news-feature-title {
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
  }

  .news-excerpt {
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0.6px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .news-card-body {
    padding: 22px 20px 24px;
    gap: 12px;
  }

  .news-card-title {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.8px;
    white-space: normal !important;
  }

  .news-card-body .news-excerpt {
    -webkit-line-clamp: 3;
  }

  .news-archive-list {
    padding: 10px 18px;
    border-radius: 14px;
  }

  .news-list-row {
    grid-template-columns: 10px minmax(0, 1fr) 14px;
    gap: 10px;
    min-height: 78px;
    padding: 10px 0;
    overflow: hidden;
  }

  .news-list-row .news-label {
    grid-column: 2 / 3;
    grid-row: 2;
    min-width: 82px;
    width: fit-content;
    height: 24px;
    padding: 0 12px;
    font-size: 10px;
  }

  .news-list-row .news-date {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .news-list-title {
    grid-column: 2 / 3;
    grid-row: 3;
    min-width: 0;
    font-size: 13px;
    line-height: 1.65;
    letter-spacing: 0.6px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
  }

  .news-row-arrow {
    grid-column: 3;
    grid-row: 1 / 4;
  }
}

@media screen and (max-width: 600px) {
  .news-archive {
    margin: 0 !important;
  }
}
