/* The Click - Fallout 76 Hub v1.1.0
 * Important: this hub is injected as the first item inside the existing archive grid.
 * grid-column:1/-1 makes it span the full archive width instead of behaving like one article card.
 */
.tc-fo76-hub{
  --tc-navy:#08162d;
  --tc-navy-2:#0d203d;
  --tc-panel:#0b1321;
  --tc-panel-2:#101c2f;
  --tc-text:#f7f9fc;
  --tc-muted:#9ba8bb;
  --tc-pink:#ff3b9d;
  --tc-pink-soft:#ff79bd;
  --tc-cream:#f3dda1;
  --tc-green:#9ab56d;
  --tc-line:rgba(255,255,255,.10);
  --tc-shadow:0 20px 60px rgba(0,0,0,.28);

  /* Kadence's archive is a multi-column grid. Without this, the whole hub becomes one card-width column. */
  grid-column:1 / -1 !important;
  flex:0 0 100% !important;
  width:100% !important;
  min-width:0 !important;
  max-width:1320px !important;
  justify-self:stretch !important;

  margin:0 auto 44px !important;
  color:var(--tc-text);
  font-family:inherit;
}
.tc-fo76-hub *{box-sizing:border-box}
.tc-fo76-hub a{text-decoration:none}

/* HERO */
.tc-fo76-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr);
  gap:28px;
  overflow:hidden;
  padding:38px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  background:
    radial-gradient(circle at 8% 12%,rgba(154,181,109,.15),transparent 32%),
    radial-gradient(circle at 76% 22%,rgba(255,59,157,.13),transparent 34%),
    linear-gradient(135deg,#071126 0%,#0c1f3c 60%,#101827 100%);
  box-shadow:var(--tc-shadow);
  color:#fff;
}
.tc-fo76-hero:before{
  content:"76";
  position:absolute;
  left:-24px;
  bottom:-82px;
  font-size:250px;
  font-weight:900;
  line-height:1;
  color:rgba(255,255,255,.028);
  pointer-events:none;
}
.tc-fo76-hero-copy{position:relative;z-index:2;align-self:center;padding:8px 0}
.tc-fo76-kicker,.tc-fo76-section-kicker{
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.tc-fo76-kicker{color:var(--tc-pink-soft);margin-bottom:13px}
.tc-fo76-title{font-size:clamp(48px,6vw,82px);font-weight:900;letter-spacing:-.055em;line-height:.92;margin:0 0 19px;color:#fff}
.tc-fo76-intro{max-width:680px;margin:0;color:rgba(255,255,255,.78);font-size:17px;line-height:1.7}
.tc-fo76-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.tc-fo76-stats span{display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border:1px solid var(--tc-line);border-radius:999px;background:rgba(255,255,255,.055);font-size:13px;color:rgba(255,255,255,.86)}
.tc-fo76-stats strong{color:#fff}
.tc-fo76-fresh i{width:7px;height:7px;border-radius:50%;background:var(--tc-green);box-shadow:0 0 0 5px rgba(154,181,109,.12)}
.tc-fo76-hero-story{position:relative;display:block;min-height:355px;border-radius:20px;overflow:hidden;background:#0f2036;color:#fff;isolation:isolate;border:1px solid rgba(255,255,255,.07)}
.tc-fo76-hero-story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.tc-fo76-hero-story:hover img{transform:scale(1.035)}
.tc-fo76-hero-story-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(3,10,22,.94) 100%);z-index:1}
.tc-fo76-hero-story-copy{position:absolute;left:23px;right:23px;bottom:21px;z-index:2;display:flex;flex-direction:column;gap:7px}
.tc-fo76-story-label{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--tc-cream)}
.tc-fo76-hero-story-copy strong{font-size:clamp(21px,2.4vw,31px);line-height:1.13;letter-spacing:-.025em;color:#fff}
.tc-fo76-read{font-size:13px;font-weight:900;color:#fff}
.tc-fo76-read b{color:var(--tc-pink-soft)}

/* JUMP PILLS */
.tc-fo76-jump{display:flex;gap:9px;flex-wrap:wrap;padding:17px 4px 7px;margin:0 0 9px}
.tc-fo76-jump a{padding:9px 13px;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:#101827;color:#f7f9fc;font-size:13px;font-weight:850;box-shadow:0 5px 18px rgba(0,0,0,.16);transition:.2s ease}
.tc-fo76-jump a:hover{transform:translateY(-1px);border-color:rgba(255,59,157,.52);color:var(--tc-pink-soft)}

/* SECTIONS */
.tc-fo76-section{padding:35px 4px 8px;scroll-margin-top:110px;color:var(--tc-text)}
.tc-fo76-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.tc-fo76-section-kicker{color:var(--tc-pink);margin-bottom:7px}
.tc-fo76-section h2,.tc-fo76-all h2{margin:0;color:#f7f9fc !important;font-size:clamp(27px,3vw,38px);font-weight:850;letter-spacing:-.035em;line-height:1.08}
.tc-fo76-section-head p,.tc-fo76-all p{margin:8px 0 0;color:var(--tc-muted) !important;font-size:14px;line-height:1.65;max-width:760px}
.tc-fo76-section-link{flex:0 0 auto;color:#f7f9fc !important;font-size:13px;font-weight:850;padding-bottom:4px;border-bottom:2px solid var(--tc-pink)}
.tc-fo76-section-link span{color:var(--tc-pink)}

/* CURRENT / MAGAZINE LEAD */
.tc-fo76-current-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);gap:14px}
.tc-fo76-current-stack{display:grid;grid-template-rows:repeat(3,1fr);gap:14px}
.tc-fo76-feature{position:relative;display:block;overflow:hidden;border-radius:18px;background:var(--tc-navy);color:#fff;min-height:150px;isolation:isolate;border:1px solid rgba(255,255,255,.07)}
.tc-fo76-feature-large{min-height:445px}
.tc-fo76-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.tc-fo76-feature:hover img{transform:scale(1.035)}
.tc-fo76-feature-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,13,29,.02) 15%,rgba(3,13,29,.95) 100%);z-index:1}
.tc-fo76-feature-copy{position:absolute;left:18px;right:18px;bottom:16px;z-index:2;display:flex;flex-direction:column;gap:5px}
.tc-fo76-feature-copy small{color:var(--tc-cream);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.tc-fo76-feature-copy strong{color:#fff;font-size:17px;line-height:1.22}
.tc-fo76-feature-large .tc-fo76-feature-copy{left:25px;right:25px;bottom:24px}
.tc-fo76-feature-large .tc-fo76-feature-copy strong{font-size:clamp(24px,3vw,36px);max-width:760px;letter-spacing:-.025em}
.tc-fo76-feature-copy span{font-size:12px;font-weight:850;color:#fff}
.tc-fo76-feature-copy b{color:var(--tc-pink-soft)}

/* STANDARD SHELF CARDS - dark, to belong on The Click's black archive background */
.tc-fo76-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.tc-fo76-card{min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.085);border-radius:18px;background:linear-gradient(180deg,#101827 0%,#0b1321 100%);box-shadow:0 10px 28px rgba(0,0,0,.19);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.tc-fo76-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,0,0,.28);border-color:rgba(255,59,157,.26)}
.tc-fo76-card-image{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,var(--tc-navy),var(--tc-navy-2))}
.tc-fo76-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.tc-fo76-card:hover .tc-fo76-card-image img{transform:scale(1.035)}
.tc-fo76-card-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:66px;font-weight:900;color:rgba(255,255,255,.08)}
.tc-fo76-card-body{padding:15px 16px 17px}
.tc-fo76-card-meta{font-size:10px;line-height:1.4;font-weight:850;letter-spacing:.05em;text-transform:uppercase;color:#8d9aae}
.tc-fo76-card-meta span{color:var(--tc-pink);margin:0 3px}
.tc-fo76-card h3{margin:8px 0 13px;font-size:17px;line-height:1.28;letter-spacing:-.018em}
.tc-fo76-card h3 a{color:#fff !important}
.tc-fo76-card-read{font-size:12px;font-weight:900;color:#f7f9fc !important}
.tc-fo76-card-read span{color:var(--tc-pink)}

/* TROUBLESHOOTING PANEL */
.tc-fo76-help{margin-top:32px;padding:30px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:linear-gradient(135deg,#071226 0%,#0c203d 100%);color:#fff;box-shadow:0 16px 45px rgba(0,0,0,.17)}
.tc-fo76-help .tc-fo76-section-kicker{color:var(--tc-pink-soft)}
.tc-fo76-help h2{color:#fff !important}
.tc-fo76-help .tc-fo76-section-head p{color:rgba(255,255,255,.63) !important}
.tc-fo76-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tc-fo76-help-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.05);color:#fff;transition:.2s ease}
.tc-fo76-help-item:hover{background:rgba(255,255,255,.085);transform:translateY(-1px)}
.tc-fo76-help-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(255,59,157,.14);color:var(--tc-pink-soft);font-weight:900}
.tc-fo76-help-item strong{display:block;color:#fff;font-size:14px;line-height:1.3}
.tc-fo76-help-item small{display:block;margin-top:3px;color:rgba(255,255,255,.48);font-size:11px}
.tc-fo76-help-item>b{color:var(--tc-pink-soft)}

/* HANDOFF TO ORIGINAL ARCHIVE */
.tc-fo76-all{margin:40px 4px 13px;padding:28px 29px;border:1px solid rgba(255,255,255,.08);border-left:4px solid var(--tc-pink);border-radius:0 18px 18px 0;background:linear-gradient(90deg,#0d1728 0%,#090e17 100%);color:#fff}
.tc-fo76-all .tc-fo76-section-kicker{color:var(--tc-pink)}

/* Guard against theme archive/grid rules leaking into hub internals. */
.tc-fo76-hub article.tc-fo76-card,
.tc-fo76-hub .tc-fo76-feature,
.tc-fo76-hub .tc-fo76-hero-story{margin:0 !important;max-width:none !important;width:auto}

@media (max-width:1100px){
  .tc-fo76-hub{max-width:100% !important}
  .tc-fo76-hero{grid-template-columns:1fr;padding:29px}
  .tc-fo76-hero-story{min-height:310px}
  .tc-fo76-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tc-fo76-current-grid{grid-template-columns:1fr}
  .tc-fo76-current-stack{grid-template-columns:repeat(3,1fr);grid-template-rows:none}
  .tc-fo76-feature-small{min-height:205px}
}
@media (max-width:700px){
  .tc-fo76-hub{margin-bottom:26px !important}
  .tc-fo76-hero{padding:22px;border-radius:19px;gap:20px}
  .tc-fo76-title{font-size:48px}
  .tc-fo76-intro{font-size:15px}
  .tc-fo76-hero-story{min-height:270px}
  .tc-fo76-section{padding-top:28px}
  .tc-fo76-section-head{align-items:flex-start;flex-direction:column;gap:9px}
  .tc-fo76-current-stack{grid-template-columns:1fr}
  .tc-fo76-feature-large{min-height:325px}
  .tc-fo76-feature-small{min-height:195px}
  .tc-fo76-card-grid,.tc-fo76-help-grid{grid-template-columns:1fr}
  .tc-fo76-help{padding:22px 17px;border-radius:18px}
  .tc-fo76-jump{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;scrollbar-width:thin}
  .tc-fo76-jump a{white-space:nowrap}
}
