/* Information Hub — editorial knowledge system. */
.wl-hub-tools { margin-top: 34px; padding: 24px 0; display: grid; grid-template-columns: minmax(300px,.75fr) minmax(0,1.25fr); gap: clamp(28px,4vw,60px); align-items: end; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wl-hub-tools form { display: grid; grid-template-columns: 1fr 48px; border: 1px solid var(--line); background: var(--surface); }
.wl-hub-tools label { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; }
.wl-hub-tools label span { padding-left: 14px; color: var(--mid); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wl-hub-tools input { min-width: 0; height: 48px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); outline: 0; }
.wl-hub-tools button { border: 0; border-left: 1px solid var(--line); background: var(--blue); color: var(--inverse-text); cursor: pointer; transition: background .18s, transform .14s; }
.wl-hub-tools button:hover,.wl-hub-tools button:focus-visible { background: var(--mid); }
.wl-hub-tools button:active { transform: translateY(1px); }
.wl-hub-tools nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 18px; }
.wl-hub-tools nav a { padding: 6px 0; border-bottom: 1px solid transparent; color: var(--gray); font-size: calc(9px * var(--text-scale)); }
.wl-hub-tools nav a:hover,.wl-hub-tools nav a:focus-visible { border-color: var(--mid); color: var(--ink); }
.wl-hub-managed-content { padding: clamp(54px,6vw,86px) 0 0; max-width: min(900px,var(--page)); }


.wl-hub-card { grid-column: span 4; min-width: 0; display: flex; flex-direction: column; background: var(--surface); transition: transform .22s, box-shadow .22s; }
.wl-hub-card:nth-child(7n/**/+1) { grid-column: span 8; }
.wl-hub-card:nth-child(7n/**/+1) .wl-hub-card-media { aspect-ratio: 16/8.2; }
.wl-hub-card:hover { z-index: 2; transform: translateY(-3px); box-shadow: 0 20px 46px rgba(var(--shadow-ink-rgb),.1); }
.wl-hub-card-media { aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,var(--blue),var(--mid)); color: var(--inverse-text); }
.wl-hub-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.wl-hub-card:hover .wl-hub-card-media img { transform: scale(1.025); }
.wl-hub-card-media > span { display: grid; gap: 5px; text-align: center; letter-spacing: .12em; }
.wl-hub-card-media b { font-size: 22px; }
.wl-hub-card-media small { color: var(--sky); font-size: 8px; }
.wl-hub-card-body {  display: flex; flex: 1; flex-direction: column; }
.wl-hub-card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--mid); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.wl-hub-card-meta time { color: var(--gray); }
.wl-hub-card h2 {   line-height: 1.08; letter-spacing: -.045em; font-weight: 610; }
.wl-hub-card p { margin: 0; color: var(--gray); font-size: calc(12px * var(--text-scale)); line-height: 1.72; }
.wl-hub-card footer { margin-top: auto;  display: flex; justify-content: space-between; gap: 18px; align-items: center; border-top: 1px solid var(--line); color: var(--gray); font-size: calc(9px * var(--text-scale)); }
.wl-hub-card footer a { color: var(--blue); font-weight: 650; }
.wl-hub-pagination { margin-top: 42px; }
.wl-hub-pagination ul { margin: 0; padding: 0; display: flex; gap: 6px; list-style: none; }
.wl-hub-pagination a,.wl-hub-pagination span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--blue); }
.wl-hub-pagination .current { background: var(--blue); border-color: var(--blue); color: var(--inverse-text); }

/* Article detail. */
.wl-article-head { min-height: 640px; padding: clamp(96px,11vw,170px) 0 clamp(70px,8vw,110px); display: grid; grid-template-columns: minmax(110px,.28fr) minmax(0,1.48fr) minmax(180px,.45fr); gap: clamp(28px,4vw,70px); align-items: end; }
.wl-article-index { align-self: stretch; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; color: var(--mid); font-size: 8px; letter-spacing: .12em; }
.wl-article-index i { width: 1px; background: linear-gradient(var(--mid),var(--line)); }
.wl-article-title h1 { max-width: 1080px; margin: 20px 0 28px; font-size: clamp(calc(46px * var(--title-scale)),calc(5.5vw * var(--title-scale)),calc(84px * var(--title-scale))); line-height: .99; letter-spacing: -.065em; font-weight: 610; text-wrap: balance; }
.wl-article-title > p:last-child { max-width: 780px; margin: 0; color: var(--gray); font-size: calc(17px * var(--subtitle-scale)); line-height: 1.7; }
.wl-article-meta { display: grid; border-top: 1px solid var(--line); }
.wl-article-meta span { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--gray); font-size: 9px; }
.wl-article-featured { margin-bottom: clamp(80px,9vw,130px); }
.wl-article-featured img { width: 100%; max-height: 760px; object-fit: cover; display: block; }
.wl-article-layout { display: grid; grid-template-columns: minmax(180px,.38fr) minmax(0,1fr) minmax(0,.28fr); gap: clamp(30px,5vw,76px); align-items: start; }
.wl-article-aside { position: sticky; top: calc(var(--header-h) + 34px); display: grid; gap: 20px; color: var(--gray); font-size: calc(10px * var(--text-scale)); line-height: 1.65; }
.wl-article-aside > span { color: var(--mid); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wl-article-aside p { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.wl-article-aside nav { display: grid; }
.wl-article-aside nav a { padding: 9px 0; border-bottom: 1px solid var(--line); }
.wl-article-content { width: auto; margin: 0; padding: 0; font-size: clamp(calc(17px * var(--text-scale)),calc(1.35vw * var(--text-scale)),calc(20px * var(--text-scale))); }
.wl-article-content > :first-child { margin-top: 0; }
.wl-article-content h2 { margin-top: 2.6em; font-size: clamp(calc(30px * var(--title-scale)),calc(3vw * var(--title-scale)),calc(46px * var(--title-scale))); }
.wl-article-content h3 { margin-top: 2em; }
.wl-related { padding-top: clamp(100px,11vw,160px); }
[data-theme="dark"] .wl-hub-card p,[data-theme="dark"] .wl-hub-card-meta time,[data-theme="dark"] .wl-article-title>p:last-child,[data-theme="dark"] .wl-article-meta span,[data-theme="dark"] .wl-article-aside { color: var(--dark-text-muted); }

@media (max-width: 1050px) {
  .wl-hub-tools { grid-template-columns: 1fr; }
  .wl-hub-tools nav { justify-content: flex-start; }
  .wl-hub-card { grid-column: span 6; }
  .wl-hub-card:nth-child(7n/**/+1) { grid-column: span 12; }
  .wl-article-head { grid-template-columns: 64px minmax(0,1fr); }
  .wl-article-meta { grid-column: 2; grid-template-columns: repeat(3,1fr); }
  .wl-article-layout { grid-template-columns: minmax(160px,.32fr) minmax(0,1fr); }
}
@media (max-width: 680px) {
  .wl-hub-tools label { grid-template-columns: 1fr; }
  .wl-hub-tools label span { padding: 8px 12px 0; }
  .wl-hub-card,.wl-hub-card:nth-child(7n/**/+1) { grid-column: span 12; }
  .wl-hub-card:nth-child(7n/**/+1) .wl-hub-card-media,.wl-hub-card-media { aspect-ratio: 16/10; }
  .wl-article-head { min-height: 0; padding: 76px 0 60px; grid-template-columns: 1fr; gap: 26px; }
  .wl-article-index { min-height: 0; grid-template-columns: auto 1fr auto; grid-template-rows: auto; align-items: center; }
  .wl-article-index i { width: 100%; height: 1px; }
  .wl-article-title h1 { font-size: clamp(calc(40px * var(--title-scale)),calc(12vw * var(--title-scale)),calc(60px * var(--title-scale))); }
  .wl-article-meta { grid-column: auto; grid-template-columns: 1fr; }
  .wl-article-layout { grid-template-columns: 1fr; }
  .wl-article-aside { position: static; }
}

/* v1.8.2 — balanced Hub archive: one editorial lead + fluid latest grid. */
.wl-hub-feed { padding-top: clamp(54px,6vw,86px); }
.wl-hub-feature-zone { display:grid; gap:clamp(42px,5vw,72px); }
.wl-hub-featured {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);
  min-height:520px;
  border:1px solid var(--line);
  background:var(--surface);
}
.wl-hub-featured-media { min-width:0; min-height:520px; display:grid; place-items:center; overflow:hidden; background:var(--blue); color:var(--inverse-text); }
.wl-hub-featured-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .48s cubic-bezier(.22,.61,.36,1),filter .25s; }
.wl-hub-featured:hover .wl-hub-featured-media img { transform:scale(1.018); filter:contrast(1.02); }
.wl-hub-featured-fallback { position:relative; width:100%; height:100%; min-height:520px; display:grid; place-content:center; justify-items:center; gap:10px; background:linear-gradient(135deg,var(--blue),var(--mid)); }
.wl-hub-featured-fallback i { position:absolute; inset:9%; border:1px solid rgba(var(--inverse-text-rgb),.18); }
.wl-hub-featured-fallback b { font-size:clamp(42px,6vw,84px); font-weight:500; letter-spacing:-.06em; }
.wl-hub-featured-fallback small { color:var(--sky); font-size:8px; letter-spacing:.12em; }
.wl-hub-featured-body { min-width:0; padding:clamp(34px,4vw,58px); display:flex; flex-direction:column; }
.wl-hub-featured-body>.eyebrow { margin:clamp(50px,6vw,86px) 0 0; color:var(--mid); }
.wl-hub-featured h2 { max-width:680px; margin:18px 0 20px; font-size:clamp(calc(32px * var(--title-scale)),calc(3.4vw * var(--title-scale)),calc(54px * var(--title-scale))); line-height:1.04; letter-spacing:calc(-.052em + var(--title-letter-spacing-adjust)); font-weight:610; text-wrap:balance; }
.wl-hub-featured-body>p:not(.eyebrow) { max-width:620px; margin:0; color:var(--gray); font-size:calc(13px * var(--text-scale)); line-height:1.72; }
.wl-hub-featured footer { margin-top:auto; padding-top:24px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); color:var(--gray); font-size:calc(9px * var(--text-scale)); }
.wl-hub-featured footer a { color:var(--blue); font-weight:680; }
.wl-hub-latest-head { display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center; color:var(--mid); font-size:8px; font-weight:700; letter-spacing:.1em; }
.wl-hub-latest-head i { height:1px; background:var(--line); }
.wl-hub-latest-head small { color:var(--gray); }
.wl-hub-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:1px;
  padding:1px;
  background:var(--line);
}
.wl-hub-card,.wl-hub-card:nth-child(7n/**/+1) { grid-column:auto; }
.wl-hub-card:nth-child(7n/**/+1) .wl-hub-card-media,.wl-hub-card-media { aspect-ratio:16/9.5; }
.wl-hub-card h2 { margin:34px 0 14px; font-size:clamp(calc(22px * var(--title-scale)),calc(2vw * var(--title-scale)),calc(32px * var(--title-scale))); }
.wl-hub-card-body { padding:clamp(22px,2.4vw,34px); }
.wl-hub-card footer { padding-top:24px; }
[data-theme="dark"] .wl-hub-featured-body>p:not(.eyebrow),[data-theme="dark"] .wl-hub-featured footer { color:var(--dark-text-muted); }
@media (max-width:900px) {
  .wl-hub-featured { grid-template-columns:1fr; }
  .wl-hub-featured-media,.wl-hub-featured-fallback { min-height:360px; }
  .wl-hub-featured-body>.eyebrow { margin-top:34px; }
}
@media (max-width:680px) {
  .wl-hub-feed { padding-top:44px; }
  .wl-hub-featured-media,.wl-hub-featured-fallback { min-height:260px; }
  .wl-hub-featured-body { padding:26px 22px 30px; }
  .wl-hub-featured footer { flex-direction:column; }
  .wl-hub-grid { grid-template-columns:1fr; }
}
