/* Homepage compact explorer + paginated social-style news feed */
body[data-page="home"] .home-explore-section{padding-bottom:48px}
body[data-page="home"] .explore{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:10px}
body[data-page="home"] .tile{min-height:158px;padding:14px;border-radius:16px}
body[data-page="home"] .card-visual{height:58px;margin:-2px -2px 0}
body[data-page="home"] .card-svg{max-width:112px}
body[data-page="home"] .tile small{font-size:.66rem}
body[data-page="home"] .tile h3{font-size:.91rem;line-height:1.25;margin-top:6px}
body[data-page="home"] .tile span{font-size:.73rem}

.news-feed-section{width:100%;max-width:none;padding-bottom:84px}
.news-feed-head{margin-bottom:18px}
.news-feed-title{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.82rem;line-height:1.2;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--accent)}

.news-feed-list{display:grid;gap:22px;width:100%}
.news-feed-loading{min-height:120px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:18px;color:var(--muted);background:color-mix(in srgb,var(--panel) 80%,transparent);font-size:.86rem}
.news-date-group{display:grid;gap:10px;width:100%}
.news-date-separator{display:grid;grid-template-columns:minmax(14px,1fr) auto minmax(14px,1fr);align-items:center;gap:12px;margin:2px 2px 0}
.news-date-line{height:1px;background:linear-gradient(90deg,transparent,var(--line))}
.news-date-line:last-child{background:linear-gradient(90deg,var(--line),transparent)}
.news-date-separator time{padding:5px 11px;border:1px solid rgba(73,214,163,.25);border-radius:999px;background:linear-gradient(135deg,var(--panel-soft),var(--panel));color:var(--text);font-size:.72rem;font-weight:800;letter-spacing:.035em;white-space:nowrap;box-shadow:0 7px 20px rgba(0,0,0,.08)}
.news-date-items{display:grid;gap:10px;width:100%}
.news-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;width:100%;padding:17px 18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);transition:.2s;position:relative;overflow:hidden}
.news-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--accent);opacity:.65}
.news-card:hover{transform:translateY(-2px);border-color:rgba(73,214,163,.38)}
.news-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--panel-soft);border:1px solid var(--line);color:var(--accent);font-size:1rem}
.news-publication .news-icon{color:var(--accent)}
.news-preprint .news-icon{color:var(--warm)}
.news-project .news-icon{color:var(--coral)}
.news-linkedin .news-icon{color:#0a66c2}
.news-video .news-icon{color:#ff5e5e}
.news-preprint:before{background:var(--warm)}
.news-project:before{background:var(--coral)}
.news-linkedin:before{background:#0a66c2}
.news-video:before{background:#ff5e5e}
.news-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:.69rem;letter-spacing:.04em}
.news-kind{font-weight:800;color:var(--accent);text-transform:uppercase}
.news-preprint .news-kind{color:var(--warm)}
.news-project .news-kind{color:var(--coral)}
.news-linkedin .news-kind{color:#3f8ed8}
.news-video .news-kind{color:#ff7777}
.news-project-name{padding:2px 7px;border:1px solid var(--line);border-radius:999px;color:var(--text);font-weight:700}
.news-card h3{font-size:.98rem;line-height:1.35;margin:6px 0 5px;letter-spacing:-.015em}
.news-card p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.55}
.news-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:9px}
.news-credit{color:var(--muted);font-size:.67rem;font-style:italic;opacity:.84}
.news-credit a{color:var(--accent-2);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent-2) 45%,transparent);text-underline-offset:2px}
.news-credit a:hover{color:var(--text)}
.news-open{margin-left:auto;color:var(--accent);font-size:.77rem;font-weight:800;white-space:nowrap}

.news-pagination{margin:22px 0 0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.news-page-numbers{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}
.news-page-btn,.news-page-nav{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);cursor:pointer;transition:.18s}
.news-page-btn{min-width:34px;height:34px;padding:0 9px;border-radius:10px;font-size:.74rem;font-weight:800}
.news-page-btn:hover,.news-page-nav:hover:not(:disabled){border-color:rgba(73,214,163,.42);color:var(--text);transform:translateY(-1px)}
.news-page-btn.is-current{background:var(--accent);border-color:var(--accent);color:#032018}
.news-page-nav{height:36px;padding:0 12px;border-radius:11px;display:inline-flex;align-items:center;gap:8px;font-size:.73rem;font-weight:800}
.news-page-nav:disabled{opacity:.38;cursor:default}
.news-page-ellipsis{color:var(--muted);padding:0 2px}
.news-page-status{grid-column:1/-1;text-align:center;color:var(--muted);font-size:.66rem;letter-spacing:.04em}

@media(max-width:1100px){
  body[data-page="home"] .explore{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  body[data-page="home"] .explore{grid-template-columns:1fr}
  body[data-page="home"] .tile{min-height:150px}
  body[data-page="home"] .card-visual{height:58px}
  .news-card{grid-template-columns:42px minmax(0,1fr);padding:14px;gap:11px}
  .news-icon{width:38px;height:38px}
  .news-card-footer{align-items:flex-start;flex-direction:column}
  .news-open{margin-left:0}
  .news-date-separator{gap:8px}
  .news-date-separator time{font-size:.67rem;padding:4px 8px}
  .news-pagination{grid-template-columns:1fr 1fr;padding:12px;gap:10px}
  .news-page-numbers{grid-column:1/-1;grid-row:1;order:-1}
  .news-page-nav{justify-content:center;width:100%}
  .news-page-status{grid-column:1/-1}
  .news-page-nav span{display:none}
}
