/* =========================================================================
   ENISHI — NEWS / BLOG page (news.html)
   Uses shared tokens from style.css (do not redefine).
   ========================================================================= */

/* ---- Section -------------------------------------------------------- */
.news-section{ background:var(--surface); }
.news-section .wrap{ padding-block:72px 80px; }

/* ---- Category chips (static) --------------------------------------- */
.news-chips{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:20px;
}
.news-chip{
  display:inline-flex; align-items:center;
  padding:8px 18px; border-radius:999px;
  background:var(--bg); border:1px solid var(--line);
  font-family:var(--font-body); font-size:13px; font-weight:500;
  color:var(--muted); line-height:1;
  transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.news-chip:hover{ color:var(--accent); border-color:var(--accent); }
.news-chip--active{
  background:var(--accent-soft); border-color:var(--accent-soft); color:var(--accent);
}

/* ---- Sample note ---------------------------------------------------- */
.news-note{
  font-size:12px; color:var(--muted);
  margin-bottom:28px;
}

/* ---- News list ------------------------------------------------------ */
.news-list{
  display:flex; flex-direction:column; gap:0;
  border-top:1px solid var(--line);
}

.news-item{
  display:flex; align-items:flex-start; gap:32px;
  padding:24px 0;
  border-bottom:1px solid var(--line);
  transition:background .15s ease;
}
.news-item:hover{ background:rgba(255,122,0,.03); }

.news-item__meta{
  flex:0 0 160px;
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  padding-top:2px;
}
.news-item__date{
  font-family:var(--font-en); font-size:14px; font-weight:500;
  color:var(--muted); letter-spacing:.5px;
}
.news-item__tag{
  font-family:var(--font-body); font-size:11px; font-weight:600;
  padding:5px 12px; letter-spacing:.5px;
}

.news-item__body{ flex:1 1 auto; min-width:0; }
.news-item__title{
  font-family:var(--font-heading); font-size:18px; font-weight:700;
  color:var(--ink); line-height:1.5; letter-spacing:.3px;
  margin-bottom:8px;
  transition:color .15s ease;
}
.news-item:hover .news-item__title{ color:var(--accent); }
.news-item__excerpt{
  font-size:14px; line-height:1.7; color:var(--muted);
}

.news-item__arrow{
  flex:0 0 auto; align-self:center;
  color:var(--muted);
  transition:color .15s ease, transform .15s ease;
}
.news-item:hover .news-item__arrow{
  color:var(--accent); transform:translateX(4px);
}

/* ---- Responsive ----------------------------------------------------- */
@media (max-width:760px){
  .news-section .wrap{ padding-block:48px 56px; }
  .news-item{ flex-wrap:wrap; gap:14px; padding:20px 0; }
  .news-item__meta{
    flex-basis:100%;
    flex-direction:row; align-items:center; gap:12px;
  }
  .news-item__body{ flex-basis:calc(100% - 36px); }
  .news-item__arrow{ align-self:center; }
}
