/* =====================================
   Linglobe News Archive
===================================== */

.news-page {
  background: #f8fafc;
  color: #111827;
}

/* Hero */
.news-hero {
  padding: 110px 24px 80px;
  background: #fff;
}

.news-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.news-breadcrumb {
  position: absolute;
  right: 0;
  top: 12px;
  margin: 0;
  display: flex;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.85rem;
}

.news-breadcrumb a {
  color: #64748b;
}

.news-breadcrumb a:hover {
  color: #1E90FF;
}

.news-hero h1 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.news-subtitle {
  margin: 24px 0 0;
  color: #334155;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.8;
}

/* Archive */
.news-archive {
  padding: 80px 24px 110px;
}

.news-archive-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Tabs */
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 34px;
}

.news-tabs button {
  position: relative;
  border: none;
  background: transparent;
  padding: 0 0 10px;
  color: #111827;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.news-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #1E90FF;
  transition: width 0.2s ease;
}

.news-tabs button.is-active {
  color: #1E90FF;
}

.news-tabs button.is-active::after,
.news-tabs button:hover::after {
  width: 100%;
}

/* Years */
.news-years {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
  color: #94a3b8;
}

.news-years button {
  border: none;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.news-years button.is-active {
  color: #1E90FF;
}

.news-years span {
  color: #cbd5e1;
}

/* List */
.news-archive-list {
  background: #f5f5f5;
  border-top: 1px solid #cbd5e1;
}

.news-archive-item {
  display: grid;
  grid-template-columns: 130px 130px minmax(0, 1fr) 70px;
  gap: 22px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #cbd5e1;
  color: inherit;
}

.news-archive-date {
  color: #001635;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-left:20px;
}

.news-archive-label {
  justify-self: start;
  min-width: 96px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1E90FF;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-archive-label.is-update {
  background: #ecfdf5;
  color: #059669;
}

.news-archive-label.is-video {
  background: #fff1f2;
  color: #e11d48;
}

.news-archive-label.is-slide {
  background: #f5f3ff;
  color: #7c3aed;
}

.news-archive-title {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.8;
}

.news-archive-arrow {
  justify-self: end;
  width: 44px;
  height: 1px;
  background: #111827;
  position: relative;
  margin-right: 20px;
}

.news-archive-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border-left: 9px solid #111827;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.news-archive-item:hover .news-archive-title {
  color: #1E90FF;
}

.news-archive-item:hover .news-archive-arrow {
  background: #1E90FF;
}

.news-archive-item:hover .news-archive-arrow::after {
  border-left-color: #1E90FF;
}

.news-empty {
  padding: 44px 0;
  color: #64748b;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .news-hero {
    padding: 88px 20px 56px;
  }

  .news-breadcrumb {
    position: static;
    margin-bottom: 24px;
  }

  .news-subtitle {
    font-size: 1rem;
  }

  .news-archive {
    padding: 56px 20px 80px;
  }

  .news-tabs {
    gap: 22px;
  }

  .news-years {
    gap: 10px;
  }

  .news-archive-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .news-archive-label {
    justify-self: start;
  }

  .news-archive-arrow {
    display: none;
  }
}