/* =====================================================
  News Hero
===================================================== */
.news-hero {
  position: relative;
  padding: 170px 0 120px;
  overflow: hidden;
}

.news-hero-bg,
.news-hero-bg picture,
.news-hero-bg img {
  position: absolute;
  inset: 0;
}

.news-hero-bg {
  z-index: 0;
}

.news-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.84) 44%,
      rgba(243,247,255,0.9) 100%
    );
}

.news-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.news-hero-copy {
  max-width: 760px;
}

.news-hero-label {
  margin: 0 0 14px;
  color: #005eea;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.news-hero-title {
  margin: 0;
  color: #3e302b;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.news-hero-title::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin: 24px 0 0;
  background: #005eea;
}

.news-hero-lead {
  margin: 34px 0 0;
  color: #5b514d;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 2.1;
}

/* =====================================================
  Sticky Navigation
===================================================== */
.page-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1050;

  width: min(920px, calc(100% - 380px));
  height: 86px;

  margin-top: -34px;
  margin-right: auto;
  margin-left: calc(300px + ((100% - 300px - min(920px, calc(100% - 380px))) / 2));

  display: grid;
  grid-template-columns: repeat(6, 1fr);

  background: #fff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.page-sticky-nav__item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-width: 0;
  padding: 10px 8px;

  color: #5b514d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;

  transition: 0.25s ease;
}

.page-sticky-nav__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  width: 1px;
  height: 56%;
  background: rgba(0, 0, 0, 0.06);
}

.page-sticky-nav__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.page-sticky-nav__item span {
  line-height: 1.4;
}

.page-sticky-nav__item:hover,
.page-sticky-nav__item.is-active {
  color: #005eea;
  background: #f3f7ff;
}

/* =====================================================
  Breadcrumb
===================================================== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid rgba(62, 48, 43, 0.08);
}

.breadcrumb-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  color: #7a746f;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.breadcrumb-inner a {
  color: #005eea;
  text-decoration: none;
}

.breadcrumb-inner a::after {
  content: ">";
  margin-left: 8px;
  color: #aaa;
}

.breadcrumb-inner span {
  color: #5b514d;
}

/* =====================================================
  Layout
===================================================== */
.news-section {
  padding: 92px 0 120px;
  background:
    linear-gradient(
      180deg,
      #f7fbff 0%,
      #ffffff 100%
    );
}

.news-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 72px;
  align-items: start;
}

/* =====================================================
  List Page
===================================================== */
.news-main {
  min-width: 0;
}

.news-list-item {
  border-bottom: 1px dotted rgba(62, 48, 43, 0.32);
}

.news-list-item:first-child {
  border-top: 1px dotted rgba(62, 48, 43, 0.32);
}

.news-list-link {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;

  padding: 34px 0;

  color: inherit;
  text-decoration: none;
}

.news-list-date {
  color: #8a8580;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.news-list-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 12px;

  color: #005eea;
  background: #f3f7ff;
  border: 1px solid rgba(0, 94, 234, 0.18);
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-list-body h2 {
  margin: 0 0 12px;
  color: #005eea;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.news-list-body p {
  margin: 0;
  color: #4f4641;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 2;
}

.news-list-link:hover .news-list-body h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* =====================================================
  Sidebar
===================================================== */
.news-sidebar {
  display: grid;
  gap: 28px;
}

.news-archive {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid rgba(0, 94, 234, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 42, 102, 0.06);
}

.news-archive h2 {
  margin: 0 0 18px;
  color: #005eea;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.news-archive ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-archive li {
  border-top: 1px solid rgba(62, 48, 43, 0.1);
}

.news-archive li:first-child {
  border-top: none;
}

.news-archive a {
  display: block;
  padding: 13px 0;
  color: #3e302b;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.news-archive a:hover {
  color: #005eea;
}

/* =====================================================
  Detail Page
===================================================== */
.news-article {
  min-width: 0;
  padding: 52px 56px;
  background: #fff;
  border: 1px solid rgba(0, 94, 234, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(0, 42, 102, 0.08);
}

.news-article-head {
  margin-bottom: 34px;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.news-article-meta time {
  color: #8a8580;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.news-article-meta span {
  display: inline-flex;
  padding: 5px 12px;
  color: #005eea;
  background: #f3f7ff;
  border: 1px solid rgba(0, 94, 234, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-article-head h1 {
  margin: 0;
  color: #3e302b;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.news-article-image {
  margin: 0 0 40px;
  overflow: hidden;
  border-radius: 22px;
}

.news-article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-article-body p {
  margin: 0;
  color: #4f4641;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 2.15;
}

.news-article-body p + p {
  margin-top: 22px;
}

.news-article-body h2 {
  margin: 46px 0 20px;
  padding-left: 20px;
  border-left: 3px solid #005eea;
  color: #005eea;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.news-article-nav {
  margin-top: 52px;
  text-align: center;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  min-height: 52px;
  padding: 12px 28px;

  color: #005eea;
  background: #fff;
  border: 1px solid rgba(0, 94, 234, 0.5);
  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;

  transition: 0.25s ease;
}

.news-back-link:hover {
  color: #fff;
  background: #005eea;
}

/* =====================================================
  Responsive
===================================================== */
@media (max-width: 1199px) {
  .page-sticky-nav {
    width: calc(100% - 300px);
    height: auto;
    margin-top: -34px;
    margin-right: 20px;
    margin-left: 280px;
    grid-template-columns: repeat(3, 1fr);
  }

  .page-sticky-nav__item {
    min-height: 74px;
  }
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .news-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .news-hero {
    padding: 122px 0 82px;
    min-height: 62vh;
  }

  .news-hero-inner,
  .news-inner,
  .breadcrumb-inner {
    width: min(100% - 32px, 560px);
  }

  .news-hero-label {
    font-size: 12px;
  }

  .news-hero-title {
    font-size: 31px;
    letter-spacing: 0.12em;
  }

  .news-hero-lead {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.95;
  }

  .page-sticky-nav {
    display: none;
  }

  .news-section {
    padding: 72px 0 84px;
  }

  .news-list-link {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }

  .news-list-body h2 {
    font-size: 18px;
  }

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

  .news-article {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .news-article-head h1 {
    font-size: 24px;
    line-height: 1.6;
  }

  .news-article-image {
    border-radius: 18px;
  }

  .news-article-body p {
    font-size: 14px;
    line-height: 2;
  }

  .news-article-body h2 {
    font-size: 21px;
  }
}