.hub-collection,.hub-feature { max-width:1100px; margin:2rem auto; padding:clamp(1rem,4vw,2.5rem); border:1px solid #734950; border-radius:1rem; background:radial-gradient(ellipse at top right,#47202b,#171923 65%); }
.hub-hero { display:grid; grid-template-columns:minmax(120px,240px) minmax(0,1fr); gap:2rem; align-items:center; }
.hub-cover { width:100%; height:auto; max-height:320px; object-fit:contain; border-radius:.7rem; }
.hub-subtitle { font-size:1.3rem; color:#e8b1bb; }
.hub-titles { padding-left:2rem; }
.hub-titles>li { padding:.8rem .5rem; border-bottom:1px solid #ffffff20; }
.hub-editorial { white-space:pre-line; }
.hub-archive { margin:0 auto; }
.hub-archive h1 { font-size:clamp(2rem,4vw,2.8rem); margin-bottom:.5rem; }
.hub-archive-intro { color:var(--muted); margin-bottom:1.5rem; }
.hub-card { min-width:0; }
.hub-card-status { display:flex; align-items:center; min-height:64px; margin-bottom:22px; color:var(--home-card-accent); }
.hub-card :is(h3,p) { overflow-wrap:anywhere; }
@media(max-width:650px) { .hub-card-status { min-height:52px; margin-bottom:18px; } }
.hub-link-output textarea { width:100%; min-height:8rem; }
.hub-feature .hub-cover { float:right; max-width:170px; margin:0 0 1rem 1.5rem; }
.hub-feature::after { content:''; display:block; clear:both; }
.hub-runtime { display:block; margin:.35rem 0; }
.has-hub-header .hub-hero { grid-template-columns:1fr; }
.has-hub-header .hub-header { width:100%; max-width:none; height:auto; max-height:none; aspect-ratio:16/9; object-fit:cover; margin:0 0 1rem; float:none; }
.hub-titles>li { display:list-item; }
.hub-movie-poster { float:left; width:64px; height:96px; object-fit:cover; border-radius:.4rem; margin:0 1rem .5rem 0; }
.hub-movie-poster[hidden] { display:none; }
.hub-titles>li::after { content:''; display:block; clear:both; }
@media(max-width:600px) { .hub-hero { grid-template-columns:1fr; gap:1rem; } .hub-cover { max-width:180px; margin:auto; } }

/* Standard site typography for collection headings; Hub News has its own typeface. */
.hub-collection :is(h1,h2), .hub-feature :is(h1,h2), .hub-archive :is(h1,h2) {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .005em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hub-collection h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.14; }
.hub-feature h2, .hub-archive h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

/* Hub List action links are a separate toolbar, not the personal watchlist
   editor. Avoid squeezing four long buttons into narrow mobile columns. */
.hub-collection .hub-list-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:stretch;
}
.hub-collection .hub-list-actions > .button {
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  min-height:44px;
  box-sizing:border-box;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  text-align:center;
}
@media(max-width:700px) {
  .hub-collection .hub-list-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  .hub-collection .hub-list-actions > .button {
    width:100%;
    justify-content:center;
    min-width:0;
    padding:12px 16px;
  }
}
