/* /assets/css/update-notes.v2.css */

:root{
  --jz-orange:#FF7A00;
  --jz-text:#111;
  --jz-muted:#6B7280;
  --jz-border:#EDEDED;
  --jz-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.update-hero{ background:#fff; padding:64px 0; }
.update-container{ width:min(1100px, calc(100% - 32px)); margin:0 auto; }

.update-title{
  margin:0;
  text-align:center;
  font-size:44px;
  font-weight:900;
  letter-spacing:-.04em;
  color:var(--jz-orange);
}

.update-subtitle{
  margin:14px auto 34px;
  max-width:820px;
  text-align:center;
  font-size:16px;
  line-height:1.7;
  color:var(--jz-orange);
  opacity:.9;
}

.update-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 auto 22px;
}

.update-tabs{ display:flex; align-items:center; gap:10px; }

.update-tab{
  appearance:none;
  border:1px solid var(--jz-border);
  background:#fff;
  color:#111;
  height:40px;
  padding:0 18px;
  border-radius:9999px;
  font-weight:800;
  font-size:14px;
  letter-spacing:-.02em;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}

.update-tab.is-active{
  background:var(--jz-orange);
  border-color:var(--jz-orange);
  color:#fff;
}

.update-search{
  display:flex;
  align-items:center;
  gap:10px;
  width:min(520px, 100%);
  justify-content:flex-end;
}

.update-search-input{
  width:100%;
  height:44px;
  border:1px solid var(--jz-border);
  border-radius:8px;
  padding:0 14px;
  font-size:14px;
  outline:none;
  background:#fff;
}

.update-search-input:focus{
  border-color:rgba(255,122,0,.65);
  box-shadow:0 0 0 4px rgba(255,122,0,.12);
}

.update-search-btn{
  height:44px;
  padding:0 18px;
  border-radius:8px;
  border:1px solid var(--jz-orange);
  background:var(--jz-orange);
  color:#fff;
  font-weight:900;
  font-size:14px;
  letter-spacing:-.02em;
  white-space:nowrap;
}

.update-list{ display:flex; flex-direction:column; gap:18px; margin-top:10px; }

.update-card{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:18px;
  border:1px solid var(--jz-border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--jz-shadow);
}

.update-thumb{
  min-height:160px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.update-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.update-thumb-fallback{
  width:100%;
  height:100%;
  min-height:160px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,122,0,.10), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255,122,0,.08), transparent 55%),
    linear-gradient(135deg, #FFF5EA, #FFF);
}

.update-body{
  padding:20px 20px 20px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
}

.update-meta{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

.update-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:22px;
  padding:0 10px;
  border-radius:9999px;
  border:1px solid var(--jz-orange);
  color:var(--jz-orange);
  font-weight:900;
  font-size:12px;
  letter-spacing:-.02em;
  background:#fff;
}

.update-date{
  color:var(--jz-orange);
  font-weight:800;
  font-size:13px;
  letter-spacing:-.01em;
}

.update-headline{
  margin:0;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--jz-text);
}

.update-desc{
  margin:0;
  font-size:14px;
  color:#4B5563;
  letter-spacing:-.01em;
}

.update-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:26px;
}

.update-pages{ display:flex; gap:8px; align-items:center; }

.update-page{
  width:30px;
  height:30px;
  border-radius:6px;
  border:1px solid var(--jz-border);
  background:#fff;
  font-weight:900;
  font-size:13px;
  color:#111;
}

.update-page.is-active{
  background:var(--jz-orange);
  border-color:var(--jz-orange);
  color:#fff;
}

.update-next{
  width:30px;
  height:30px;
  border-radius:6px;
  border:1px solid var(--jz-border);
  background:#fff;
  font-weight:900;
  font-size:16px;
}

.update-empty{
  padding:22px 16px;
  border:1px dashed rgba(0,0,0,.12);
  border-radius:12px;
  text-align:center;
  color:var(--jz-muted);
  background:#FAFAFA;
}

/* Mobile */
@media (max-width: 900px){
  .update-title{ font-size:36px; }
  .update-controls{ flex-direction:column; align-items:stretch; }
  .update-search{ width:100%; justify-content:stretch; }
  .update-card{ grid-template-columns: 1fr; }
  .update-body{ padding:16px; }
  .update-thumb{ min-height:180px; }
}
