.page-news {
  --log-blue: var(--grass-blue);
  --log-blue-deep: var(--grass-blue-dark);
  --log-orange: var(--sunset-orange);
  --log-green: var(--grass-green);
  --log-gold: var(--dune-gold);
  --log-ink: var(--ink-core);
  --log-paper: var(--paper-warm);
  --log-cloud: var(--cloud-white);
  --log-night: var(--night-blue);
  --log-mist: var(--mist-gray);
  --log-radius: var(--radius);
  --log-shadow: var(--shadow-card);
  --log-shadow-hover: var(--shadow-hover);
  --log-font-head: var(--font-display);
  --log-font-body: var(--font-body);
}

.page-news .container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-news .log-breadcrumbs {
  margin: 18px 0 22px;
  font-size: 14px;
  color: var(--log-ink);
}

.page-news .log-hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(30, 111, 186, 0.10) 0, transparent 240px),
    linear-gradient(160deg, var(--log-cloud) 0%, #ffffff 48%, rgba(247, 241, 232, 0.75) 100%);
  padding-bottom: 48px;
}

.page-news .log-hero-frame {
  position: relative;
  border: 1px solid rgba(30, 111, 186, 0.32);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--log-shadow);
  padding: 26px 20px 20px;
  margin-bottom: 14px;
}

.page-news .log-hero-frame .frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.92;
}

.page-news .log-hero-frame .frame-corner--tl {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--log-blue);
  border-left: 3px solid var(--log-blue);
}

.page-news .log-hero-frame .frame-corner--tr {
  top: -1px;
  right: -1px;
  border-top: 3px solid var(--log-blue);
  border-right: 3px solid var(--log-blue);
}

.page-news .log-hero-frame .frame-corner--bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 3px solid var(--log-blue);
  border-left: 3px solid var(--log-blue);
}

.page-news .log-hero-frame .frame-corner--br {
  bottom: -1px;
  right: -1px;
  border-bottom: 3px solid var(--log-blue);
  border-right: 3px solid var(--log-blue);
}

.page-news .log-hero-frame::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: 22px;
  width: 126px;
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--log-gold) 0 2px, transparent 2px 6px);
  opacity: 0.72;
}

.page-news .log-hero-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-news .log-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-news .log-hero-copy .section-kicker {
  color: var(--log-orange);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.page-news .log-hero-copy h1 {
  font-family: var(--log-font-head);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.16;
  margin: 0 0 18px;
  color: var(--log-ink);
  letter-spacing: -0.01em;
}

.page-news .log-hero-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(26, 43, 60, 0.82);
  margin: 0 0 24px;
  max-width: 34em;
}

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

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

.page-news .log-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: calc(var(--log-radius) - 2px);
  border: 1px solid var(--log-mist);
  box-shadow: 0 18px 40px rgba(16, 42, 67, 0.16);
}

.page-news .log-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed rgba(217, 160, 102, 0.7);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(26, 43, 60, 0.72);
}

.page-news .log-hero-meta span::before {
  content: "✦";
  color: var(--log-blue);
  margin-right: 7px;
  font-size: 11px;
}

.page-news .log-section-head {
  max-width: 720px;
}

.page-news .log-section-head .section-kicker {
  color: var(--log-blue);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-news .log-section-head h2 {
  font-family: var(--log-font-head);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 8px 0 10px;
  color: var(--log-ink);
}

.page-news .log-section-head .section-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(26, 43, 60, 0.76);
}

.page-news .log-filter-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--log-cloud) 40%, rgba(247, 241, 232, 0.4) 100%);
  border-top: 1px solid var(--log-mist);
  border-bottom: 1px solid var(--log-mist);
  padding: 56px 0 42px;
}

.page-news .log-filter-section::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 44px;
  background: linear-gradient(90deg, var(--log-blue) 0 58%, var(--log-orange) 58% 80%, var(--log-gold) 80% 100%);
}

.page-news .log-filter-wrap {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-news .log-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .log-filter-name {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(26, 43, 60, 0.6);
  background: var(--log-mist);
  border-radius: 999px;
  padding: 6px 14px;
}

.page-news .log-filter-name::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--log-blue);
}

.page-news .log-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .log-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--log-mist);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  line-height: 1.2;
  color: var(--log-ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.page-news .log-radio-label .log-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--log-mist);
  transition: background 0.2s ease;
}

.page-news .log-radio-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(26, 43, 60, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.page-news .log-radio-label:hover {
  border-color: rgba(30, 111, 186, 0.5);
  box-shadow: 0 4px 14px rgba(30, 111, 186, 0.12);
}

.page-news .log-radio:checked + .log-radio-label {
  background: var(--log-blue);
  border-color: var(--log-blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(30, 111, 186, 0.24);
}

.page-news .log-radio:checked + .log-radio-label .log-radio-dot {
  background: var(--white);
}

.page-news .log-radio:checked + .log-radio-label .log-radio-count {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.page-news .log-radio:focus-visible + .log-radio-label {
  outline: 2px solid var(--log-orange);
  outline-offset: 2px;
}

.page-news .log-filter-group:has(#cat-adapt ~ .log-radio:checked) ~ .log-filter-hint {
}

.page-news .log-radio:checked + .log-radio-label:has(.log-radio-dot) {
}

.page-news .log-filter-group + .log-filter-group .log-radio:checked + .log-radio-label {
}

.page-news .log-cat-group .log-radio:checked + .log-radio-label {
}

.page-news .log-filter-group .log-radio:checked + .log-radio-label:has(+ input:checked) {
}

.page-news .log-filter-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
}

.page-news .log-filter-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--log-gold) 30%, var(--log-gold) 70%, transparent);
}

.page-news .log-filter-hint {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(26, 43, 60, 0.62);
  padding-left: 4px;
  border-left: 3px solid var(--log-gold);
  padding-left: 12px;
}

.page-news .log-archive {
  background:
    repeating-linear-gradient(0deg, rgba(30, 111, 186, 0.018) 0 1px, transparent 1px 34px),
    var(--log-paper);
  padding: 64px 0 58px;
}

.page-news .log-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 24px;
}

.page-news .log-card {
  position: relative;
  background: var(--white);
  border-radius: var(--log-radius);
  box-shadow: var(--log-shadow);
  border-left: 6px solid transparent;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  scroll-margin-top: 28px;
}

.page-news .log-card:hover {
  box-shadow: var(--log-shadow-hover);
  transform: translateY(-2px);
}

.page-news .log-card--update {
  border-left-color: var(--log-blue);
}

.page-news .log-card--adapt {
  border-left-color: var(--log-orange);
}

.page-news .log-card--optimize {
  border-left-color: var(--log-green);
}

.page-news .log-card--maintain {
  border-left-color: var(--log-gold);
}

.page-news .log-card-main {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 18px 20px;
}

.page-news .log-card-index {
  font-family: var(--log-font-head);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: rgba(26, 43, 60, 0.18);
  position: relative;
  top: 4px;
  transition: color 0.25s ease;
}

.page-news .log-card:hover .log-card-index {
  color: rgba(30, 111, 186, 0.6);
}

.page-news .log-card-body {
  min-width: 0;
}

.page-news .log-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.page-news .card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
}

.page-news .card-tag--update {
  background: var(--grass-blue-soft);
  color: var(--log-blue-deep);
}

.page-news .card-tag--adapt {
  background: rgba(244, 162, 97, 0.18);
  color: #b2621f;
}

.page-news .card-tag--optimize {
  background: rgba(60, 141, 90, 0.16);
  color: #256b3f;
}

.page-news .card-tag--maintain {
  background: rgba(217, 160, 102, 0.2);
  color: #8a5a1f;
}

.page-news .card-tag--date {
  background: var(--log-mist);
  color: rgba(26, 43, 60, 0.7);
}

.page-news .log-card-title {
  font-family: var(--log-font-head);
  font-size: 1.22rem;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--log-ink);
  letter-spacing: -0.01em;
}

.page-news .log-card-summary {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(26, 43, 60, 0.72);
  margin: 0;
}

.page-news .log-card-toggle {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: stretch;
  justify-content: flex-end;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 2px 0;
  margin-top: 4px;
  border-top: 1px dashed rgba(26, 43, 60, 0.14);
  cursor: pointer;
  font-family: var(--log-font-body);
  color: var(--log-blue-deep);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-news .log-card-toggle:hover {
  color: var(--log-blue);
}

.page-news .log-card-toggle .accordion-arrow {
  border-color: var(--log-blue-deep);
}

.page-news .log-card-detail {
  padding: 20px 20px 22px 78px;
}

.page-news .log-card-detail-lead {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(26, 43, 60, 0.84);
  margin: 0 0 18px;
  max-width: 62em;
}

.page-news .log-card-extra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 43, 60, 0.08);
}

.page-news .log-card-figure {
  margin: 0;
}

.page-news .log-card-figure img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: calc(var(--log-radius) - 2px);
  box-shadow: var(--log-shadow);
  border: 1px solid var(--log-mist);
}

.page-news .log-card-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-news .log-card-links-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(26, 43, 60, 0.5);
}

.page-news .btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.page-news .log-steps {
  margin: 0;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(26, 43, 60, 0.8);
}

.page-news .log-steps li + li {
  margin-top: 4px;
}

.page-news .log-list-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px dashed var(--log-gold);
  font-size: 13px;
  color: rgba(26, 43, 60, 0.65);
}

.page-news .log-list-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-news .log-list-actions a {
  color: var(--log-blue-deep);
  text-decoration: none;
  border-bottom: 1px dotted rgba(30, 111, 186, 0.4);
  transition: color 0.2s ease;
}

.page-news .log-list-actions a:hover {
  color: var(--log-orange);
}

.page-news .log-list-actions-sep {
  color: var(--log-gold);
}

.page-news .log-subscribe {
  background:
    linear-gradient(135deg, var(--log-blue) 0%, var(--log-night) 72%);
  padding: 64px 0 60px;
  color: var(--white);
  overflow: hidden;
}

.page-news .log-subscribe-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.page-news .log-subscribe-copy .section-kicker {
  color: var(--log-orange);
  font-weight: 600;
  letter-spacing: 0.09em;
}

.page-news .log-subscribe-copy h2 {
  font-family: var(--log-font-head);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 10px 0 14px;
  color: var(--white);
}

.page-news .log-subscribe-lead {
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 34em;
  color: rgba(249, 249, 247, 0.82);
  margin: 0 0 28px;
}

.page-news .log-subscribe-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .log-subscribe-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--log-radius) - 2px);
  backdrop-filter: blur(2px);
}

.page-news .log-subscribe-index {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-family: var(--log-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  background: rgba(244, 162, 97, 0.28);
}

.page-news .log-subscribe-item-body h3 {
  font-size: 1.04rem;
  margin: 0 0 6px;
  color: var(--white);
}

.page-news .log-subscribe-item-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(249, 249, 247, 0.72);
}

.page-news .log-subscribe-btn {
  background: var(--log-orange);
  border-color: var(--log-orange);
  color: var(--white);
}

.page-news .log-subscribe-btn:hover {
  background: #e0904e;
  border-color: #e0904e;
}

.page-news .log-subscribe-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-news .log-subscribe-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: calc(var(--log-radius) - 2px);
  box-shadow: 0 22px 50px rgba(16, 42, 67, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.page-news:has(#date-week:checked) .log-list .log-card:not(.log-card--week),
.page-news:has(#date-15d:checked) .log-list .log-card:not(.log-card--15d),
.page-news:has(#date-30d:checked) .log-list .log-card:not(.log-card--30d),
.page-news:has(#cat-home:checked) .log-list .log-card:not(.log-card--update),
.page-news:has(#cat-adapt:checked) .log-list .log-card:not(.log-card--adapt),
.page-news:has(#cat-opt:checked) .log-list .log-card:not(.log-card--optimize),
.page-news:has(#cat-maintain:checked) .log-list .log-card:not(.log-card--maintain) {
  display: none;
}

@media (min-width: 700px) {
  .page-news .log-hero {
    padding-bottom: 56px;
  }

  .page-news .log-hero-frame {
    padding: 34px 34px 26px;
  }

  .page-news .log-hero-main {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
  }

  .page-news .log-hero-meta {
    margin-top: 28px;
    padding-top: 20px;
  }

  .page-news .log-card-main {
    grid-template-columns: 54px 1fr auto;
    padding: 26px 26px 20px;
  }

  .page-news .log-card-toggle {
    grid-column: auto;
    justify-self: end;
    width: auto;
    border-top: 0;
    padding: 6px 0;
    margin-top: 0;
  }

  .page-news .log-card-extra {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  }

  .page-news .log-filter-wrap {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
  }

  .page-news .log-filter-group {
    flex: 1 1 420px;
  }

  .page-news .log-filter-divider {
    flex: 0 0 100%;
  }

  .page-news .log-subscribe-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 44px;
  }
}

@media (min-width: 1080px) {
  .page-news .log-list {
    gap: 20px;
  }

  .page-news .log-card-detail {
    padding-right: 32px;
  }

  .page-news .log-filter-divider {
    flex: 1 1 100%;
  }

  .page-news .log-hero-copy h1 {
    font-size: 3.35rem;
  }

  .page-news .log-hero-lead {
    font-size: 1.05rem;
  }

  .page-news .log-subscribe {
    padding: 76px 0 72px;
  }
}
