.page-news {
  background: var(--cream-bg);
  color: var(--dark-brown);
  font-family: var(--body-font);
  overflow-x: hidden;
}

.page-news .section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-news .breadcrumb {
  margin-bottom: 32px;
}

.page-news .section-kicker {
  color: var(--leaf-green);
}

.page-news [hidden] {
  display: none !important;
}

.news-page-head {
  padding-top: 40px;
  position: relative;
}

.news-head-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.news-head-copy .section-kicker {
  margin-bottom: 8px;
}

.news-head-title {
  font-family: var(--title-font);
  font-size: var(--h1-size);
  font-weight: 800;
  line-height: var(--title-line-height);
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
}

.news-head-intro {
  font-size: 1.0625rem;
  line-height: var(--body-line-height);
  color: var(--dark-gray);
  max-width: 36em;
  margin: 0;
}

.news-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.news-head-visual {
  position: relative;
  justify-self: start;
}

.news-head-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.news-vertical-note {
  position: absolute;
  top: -8px;
  right: 10px;
  color: var(--warm-gold);
  font-family: var(--annotation-font);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.news-latest {
  padding-top: 24px;
}

.news-latest-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.news-section-title {
  font-family: var(--title-font);
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: var(--title-line-height);
  margin: 8px 0 0;
}

.news-latest-lead {
  color: var(--dark-gray);
  max-width: 34em;
  line-height: var(--body-line-height);
  margin: 0;
  font-size: 0.9375rem;
}

.news-filter-tabs {
  display: grid;
  gap: 20px;
}

.news-tabs-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}

.news-tabs-rail::-webkit-scrollbar {
  display: none;
}

.news-rail-label {
  display: none;
}

.news-tab-btn {
  flex: 0 0 auto;
  appearance: none;
  background: var(--white);
  border: 1px solid rgba(43, 41, 38, 0.12);
  color: var(--dark-gray);
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  min-height: 44px;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.news-tab-btn:hover {
  border-color: var(--kiwi-green);
  color: var(--leaf-green);
}

.news-tab-btn[aria-selected="true"] {
  background: var(--dark-brown);
  border-color: var(--dark-brown);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.news-tabs-panels {
  min-width: 0;
}

.news-tab-panel {
  animation: news-fade-in 0.2s var(--ease);
}

@keyframes news-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 22px 22px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-item-bar {
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--kiwi-green);
  transition: width var(--duration) var(--ease);
}

.news-item:hover .news-item-bar {
  width: 9px;
}

.news-item-bar-func {
  background: var(--kiwi-green);
}

.news-item-bar-data {
  background: var(--kiwi-yellow);
}

.news-item-bar-guide {
  background: var(--warm-gold);
}

.news-item-bar-service {
  background: var(--tomato);
}

.news-item-content {
  position: relative;
  min-width: 0;
}

.news-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.news-item-cat {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.news-item-cat-func {
  background: rgba(139, 195, 74, 0.18);
  color: var(--leaf-green);
}

.news-item-cat-data {
  background: rgba(255, 193, 7, 0.20);
  color: var(--warm-gold);
}

.news-item-cat-guide {
  background: rgba(184, 134, 11, 0.14);
  color: var(--warm-gold);
}

.news-item-cat-service {
  background: rgba(232, 93, 61, 0.14);
  color: var(--tomato);
}

.news-item-time {
  font-size: 0.8125rem;
  color: var(--dark-gray);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-item-time::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kiwi-yellow);
}

.news-item-title {
  font-family: var(--title-font);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
}

.news-item-title a {
  color: var(--dark-brown);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.news-item-title a:hover {
  color: var(--leaf-green);
}

.news-item-desc {
  margin: 0 0 12px;
  color: var(--dark-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.news-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--leaf-green);
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
}

.news-item-link::after {
  content: "→";
  transition: transform var(--duration) var(--ease);
}

.news-item-link:hover::after {
  transform: translateX(4px);
}

.news-topics-intro {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.news-topics-desc {
  color: var(--dark-gray);
  line-height: var(--body-line-height);
  max-width: 36em;
  margin: 12px 0 0;
}

.news-topics-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.news-topic-grid {
  display: grid;
  gap: 16px;
}

.news-accordion {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 41, 38, 0.06);
  transition: box-shadow var(--duration) var(--ease);
}

.news-accordion[open] {
  box-shadow: var(--shadow-md);
}

.news-accordion summary {
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--dark-brown);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.news-accordion summary::-webkit-details-marker {
  display: none;
}

.news-accordion summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--kiwi-green);
  font-weight: 800;
  transition: transform var(--duration) var(--ease);
  line-height: 1;
}

.news-accordion[open] summary::after {
  transform: rotate(45deg);
}

.news-accordion .accordion-content {
  padding: 0 22px 22px;
  color: var(--dark-gray);
  line-height: var(--body-line-height);
}

.news-inline-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--leaf-green);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(139, 195, 74, 0.45);
}

.news-inline-link:hover {
  color: var(--kiwi-green);
  border-bottom-color: var(--kiwi-green);
}

.news-quarter-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.news-quarter-intro {
  color: var(--dark-gray);
  line-height: var(--body-line-height);
  max-width: 42em;
  margin: 12px 0 0;
}

.news-quarter-content {
  display: grid;
  gap: 32px;
}

.news-version-track {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 36px;
}

.news-version-track::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 10px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--warm-gold), var(--kiwi-yellow), var(--kiwi-green), var(--leaf-green));
}

.news-version-stage {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px 52px;
  box-shadow: var(--shadow-sm);
}

.news-version-mark {
  position: absolute;
  top: 26px;
  left: 7px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--kiwi-green);
  color: var(--white);
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border: 3px solid var(--cream-bg);
}

.news-version-mark-gold {
  background: var(--warm-gold);
}

.news-version-mark-yellow {
  background: var(--kiwi-yellow);
  color: var(--dark-brown);
}

.news-version-mark-green {
  background: var(--kiwi-green);
}

.news-version-mark-leaf {
  background: var(--leaf-green);
}

.news-version-phase {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(139, 195, 74, 0.16);
  color: var(--leaf-green);
  margin-bottom: 10px;
}

.news-version-title {
  font-family: var(--title-font);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}

.news-version-desc {
  color: var(--dark-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin: 0 0 12px;
}

.news-version-link {
  color: var(--leaf-green);
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
}

.news-version-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-quarter-figure {
  display: flex;
  justify-content: center;
}

.news-quarter-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.news-subscribe {
  background: linear-gradient(115deg, var(--leaf-green) 0%, var(--kiwi-green) 100%);
  color: var(--white);
  margin-top: 16px;
}

.news-subscribe-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  position: relative;
}

.news-subscribe .section-kicker {
  color: rgba(255, 255, 255, 0.80);
}

.news-subscribe .news-section-title {
  color: var(--white);
}

.news-subscribe-desc {
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--body-line-height);
  max-width: 40em;
  margin: 12px 0 0;
}

.news-subscribe-details {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  margin-top: 20px;
  max-width: 40em;
}

.news-subscribe-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.news-subscribe-details summary::-webkit-details-marker {
  display: none;
}

.news-subscribe-details summary::after {
  content: "+";
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform var(--duration) var(--ease);
}

.news-subscribe-details[open] summary::after {
  transform: rotate(45deg);
}

.news-subscribe-details .accordion-content {
  padding: 0 20px 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--body-line-height);
}

.news-subscribe-details .accordion-content strong {
  color: var(--white);
}

.news-subscribe-details .btn {
  margin-top: 14px;
}

.news-subscribe-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.news-subscribe-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .page-news .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .news-page-head {
    padding-top: 56px;
  }

  .news-head-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 48px;
  }

  .news-head-visual {
    justify-self: end;
  }

  .news-head-img {
    max-width: 400px;
  }

  .news-vertical-note {
    top: -12px;
    right: 24px;
  }

  .news-filter-tabs {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: start;
  }

  .news-tabs-rail {
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-pill-h) + 24px);
    overflow: visible;
  }

  .news-rail-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 4px 6px;
    font-family: var(--title-font);
  }

  .news-tab-btn {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }

  .news-topics-intro {
    grid-template-columns: minmax(0, 1fr) 480px;
    column-gap: 48px;
    margin-bottom: 36px;
  }

  .news-topics-img {
    justify-self: end;
  }

  .news-topic-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .news-quarter-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
  }

  .news-quarter-intro {
    margin: 0;
  }

  .news-version-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-left: 0;
    padding-top: 48px;
  }

  .news-version-track::before {
    top: 24px;
    bottom: auto;
    left: 8%;
    right: 8%;
    width: auto;
    height: 4px;
    background: linear-gradient(90deg, var(--warm-gold), var(--kiwi-yellow), var(--kiwi-green), var(--leaf-green));
  }

  .news-version-stage {
    padding: 64px 22px 22px;
  }

  .news-version-mark {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    border-width: 4px;
  }

  .news-quarter-content {
    gap: 40px;
  }

  .news-subscribe-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 48px;
  }

  .news-subscribe-img {
    justify-self: end;
  }
}
