.page-news {
  --news-bd: rgba(108, 124, 138, 0.30);
  --news-bd-strong: rgba(31, 224, 192, 0.42);
  --news-glass: rgba(11, 46, 71, 0.66);
  --news-gap: clamp(18px, 3vw, 34px);
  --news-card: linear-gradient(180deg, rgba(18, 63, 90, 0.94), rgba(11, 46, 71, 0.90));
  color: var(--silver-2);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.page-news .news-top {
  padding-top: clamp(18px, 3vw, 30px);
}

.page-news .news-hero {
  position: relative;
  padding-block: clamp(16px, 3vw, 28px) clamp(30px, 5vw, 56px);
}

.page-news .hero-frame {
  position: relative;
  border: 1px solid var(--news-bd);
  background:
    radial-gradient(130% 150% at 88% 0%, rgba(31, 224, 192, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(18, 63, 90, 0.56), rgba(6, 26, 43, 0.32));
  padding: clamp(20px, 3.4vw, 48px);
}

.page-news .hero-frame::before,
.page-news .hero-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid var(--aqua);
  opacity: 0.55;
  pointer-events: none;
}

.page-news .hero-frame::before {
  left: -1px;
  top: -1px;
  border-right: 0;
  border-bottom: 0;
}

.page-news .hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.page-news .hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-news .hero-copy h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.2vw, 4.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--white);
}

.page-news .hero-lede {
  margin: 18px 0 0;
  max-width: 36ch;
  color: var(--silver-2);
  font-size: clamp(0.96rem, 1.4vw, 1.06rem);
  line-height: 1.8;
}

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

.page-news .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--news-bd);
}

.page-news .hero-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .hero-fact dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-news .hero-fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
}

.page-news .hero-media {
  position: relative;
  margin: 0;
}

.page-news .hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--news-bd);
  background: linear-gradient(140deg, rgba(31, 224, 192, 0.12), rgba(139, 108, 255, 0.10));
}

.page-news .hero-media-tag {
  position: absolute;
  right: 12px;
  bottom: -18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: var(--deep-2);
  border: 1px solid rgba(255, 107, 74, 0.5);
  box-shadow: 0 16px 40px rgba(6, 26, 43, 0.55);
}

.page-news .hero-media-tag .mono {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.page-news .hero-media-tag strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.page-news .console {
  display: grid;
  gap: 18px;
  margin-top: clamp(18px, 2.8vw, 30px);
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--news-bd-strong);
  background: var(--news-glass);
  backdrop-filter: blur(14px);
}

.page-news .console-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .console-note {
  margin: 0;
  max-width: 52ch;
  color: var(--silver-2);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-news .console-fields {
  display: grid;
  gap: 18px;
}

.page-news .console-field {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--news-bd);
}

.page-news .console-k {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--aqua);
}

.page-news .chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--news-bd);
  border-radius: 3px;
  color: var(--silver-2);
  font-size: 0.78rem;
  line-height: 1.4;
}

.page-news .chip-aqua {
  border-color: rgba(31, 224, 192, 0.55);
  color: var(--aqua);
  background: rgba(31, 224, 192, 0.08);
}

.page-news .console-cta {
  justify-self: start;
}

.page-news .news-sec {
  padding-block: clamp(36px, 6vw, 80px);
}

.page-news .news-head {
  display: grid;
  gap: 8px;
  margin-bottom: var(--news-gap);
}

.page-news .news-num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(31, 224, 192, 0.26);
}

.page-news .news-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-news .news-head p {
  margin: 10px 0 0;
  max-width: 58ch;
  color: var(--silver-2);
  font-size: 0.96rem;
  line-height: 1.8;
}

.page-news .case-layout {
  display: grid;
  gap: var(--news-gap);
}

.page-news .filter-panel {
  padding: 18px;
  border: 1px solid var(--news-bd);
  background: var(--news-glass);
  backdrop-filter: blur(14px);
}

.page-news .panel-label {
  margin: 0 0 10px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.page-news .filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-news .filter-group-sort {
  margin-bottom: 18px;
}

.page-news .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--news-bd);
  border-radius: 3px;
  color: var(--silver-2);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .filter-btn:hover {
  border-color: var(--news-bd-strong);
}

.page-news .filter-radio:checked + .filter-btn {
  border-color: var(--aqua);
  background: rgba(31, 224, 192, 0.13);
  color: var(--aqua);
}

.page-news .filter-radio:focus-visible + .filter-btn {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}

.page-news:has(#f-swap:checked) .case-item:not([data-cat="swap"]),
.page-news:has(#f-install:checked) .case-item:not([data-cat="install"]),
.page-news:has(#f-repair:checked) .case-item:not([data-cat="repair"]),
.page-news:has(#f-clean:checked) .case-item:not([data-cat="clean"]),
.page-news:has(#f-net:checked) .case-item:not([data-cat="net"]),
.page-news:has(#f-data:checked) .case-item:not([data-cat="data"]) {
  display: none;
}

.page-news:has(#sort-feedback:checked) .case-item[data-fb="1"] {
  order: -3;
}

.page-news:has(#sort-feedback:checked) .case-item[data-fb="2"] {
  order: -2;
}

.page-news:has(#sort-feedback:checked) .case-item[data-fb="3"] {
  order: -1;
}

.page-news .side-media {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--news-bd);
}

.page-news .side-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--news-bd);
  background: linear-gradient(150deg, rgba(31, 224, 192, 0.10), rgba(6, 26, 43, 0.5));
}

.page-news .side-media figcaption {
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--silver);
}

.page-news .case-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-bd);
}

.page-news .case-summary .mono {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.page-news .state-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 107, 74, 0.42);
  background: rgba(255, 107, 74, 0.10);
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-news .state-new::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--coral);
  flex: none;
}

.page-news .case-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .case-item {
  position: relative;
  display: grid;
  gap: 8px;
}

.page-news .case-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--aqua);
}

.page-news .case-time::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--aqua);
  border-radius: 50%;
  background: var(--deep);
  flex: none;
}

.page-news .case-body {
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--news-bd);
  background: var(--news-card);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-news .case-body:hover {
  border-color: rgba(31, 224, 192, 0.5);
}

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

.page-news .case-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-news .case-body p {
  margin: 0;
  color: var(--silver-2);
  font-size: 0.94rem;
  line-height: 1.75;
}

.page-news .case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--news-bd);
}

.page-news .case-facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .case-facts dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-news .case-facts dd {
  margin: 0;
  font-size: 0.8rem;
  color: var(--silver-2);
}

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

.page-news .topic-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--news-bd);
  background: var(--news-card);
}

.page-news .topic-card figure {
  margin: 0;
  overflow: hidden;
}

.page-news .topic-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .topic-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 24px);
}

.page-news .topic-body .mono {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--aqua);
}

.page-news .topic-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-news .topic-body p {
  margin: 0;
  color: var(--silver-2);
  font-size: 0.92rem;
  line-height: 1.78;
}

.page-news .topic-body a {
  margin-top: auto;
  padding-top: 8px;
  color: var(--aqua);
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 224, 192, 0.28);
  align-self: flex-start;
}

.page-news .topic-body a:hover {
  border-bottom-color: var(--aqua);
}

.page-news .topic-lead .topic-body {
  border-top: 3px solid var(--coral);
}

.page-news .log-wrap {
  display: grid;
  gap: var(--news-gap);
}

.page-news .log-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .log-item {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 0 0 24px 22px;
}

.page-news .log-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--aqua);
  background: var(--deep);
  transform: rotate(45deg);
}

.page-news .log-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: var(--news-bd);
}

.page-news .log-item:last-child {
  padding-bottom: 0;
}

.page-news .log-item:last-child::after {
  display: none;
}

.page-news .log-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.page-news .log-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-news .log-item p {
  margin: 0;
  max-width: 52ch;
  color: var(--silver-2);
  font-size: 0.9rem;
  line-height: 1.75;
}

.page-news .log-media {
  margin: 0;
}

.page-news .log-media img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid var(--news-bd);
  background: linear-gradient(160deg, rgba(139, 108, 255, 0.14), rgba(6, 26, 43, 0.7));
}

.page-news .log-media figcaption {
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--silver);
}

.page-news .news-cta {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--news-bd-strong);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 107, 74, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(18, 63, 90, 0.86), rgba(6, 26, 43, 0.96));
}

.page-news .news-cta h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-news .news-cta p {
  margin: 12px 0 0;
  max-width: 48ch;
  color: var(--silver-2);
  font-size: 0.96rem;
  line-height: 1.8;
}

.page-news .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-news .next-links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .next-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: var(--silver-2);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--news-bd);
}

.page-news .next-links a::after {
  content: "→";
  color: var(--aqua);
}

.page-news .next-links a:hover {
  color: var(--white);
}

@media (min-width: 720px) {
  .page-news .news-head {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-num {
    padding-top: 6px;
  }

  .page-news .case-item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
  }

  .page-news .case-item::before {
    content: "";
    position: absolute;
    left: 118px;
    top: 8px;
    bottom: -18px;
    width: 1px;
    background: linear-gradient(180deg, rgba(31, 224, 192, 0.34), rgba(108, 124, 138, 0.16));
  }

  .page-news .case-item:last-child::before {
    display: none;
  }

  .page-news .case-time {
    align-items: flex-start;
    padding-top: 14px;
  }

  .page-news .console-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
  }

  .page-news .console {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-news .console-fields {
    grid-column: 1 / -1;
  }

  .page-news .console-cta {
    justify-self: end;
  }

  .page-news .topic-grid {
    grid-template-columns: 1.15fr 0.9fr 0.9fr;
  }

  .page-news .log-wrap {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: start;
  }

  .page-news .news-cta {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .page-news .case-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .filter-panel {
    position: sticky;
    top: calc(var(--strip-h) + 18px);
  }

  .page-news .case-item:nth-child(even) .case-body {
    margin-left: clamp(10px, 2.4vw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .case-body,
  .page-news .filter-btn {
    transition: none;
  }
}
</main>
