/* LNC Home — front page. Builds on the .bb28 design tokens (bb28.css). */

/* ---- page-level: the shortcode supplies the H1 and the width ---- */
body.lnc-home-page .entry-title,
body.lnc-home-page .wp-block-post-title,
body.lnc-home-page .page-title{display:none}
body.lnc-home-page .entry-content,
body.lnc-home-page .wp-block-post-content{max-width:none}
body.lnc-home-page .wp-block-post-content > *{max-width:none !important}

.bb28.lnc-home{
  --lnc-pad:clamp(14px,3vw,28px);
  max-width:1320px;margin:0 auto;
  padding:clamp(12px,2vw,24px) var(--lnc-pad) clamp(44px,6vw,80px);
}
.lnc-sr{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bb28.lnc-home a:hover{text-decoration:none}
.bb28.lnc-home a:focus-visible,
.bb28.lnc-home button:focus-visible{outline:2px solid var(--bb-cyan);outline-offset:3px;border-radius:4px}

.bb28.lnc-home h2{font-family:var(--bb-disp);font-weight:600;font-size:clamp(20px,2.1vw,25px);line-height:1.2;letter-spacing:.005em;color:var(--bb-text);margin:0;padding:0;text-transform:none}
.bb28.lnc-home h3{text-transform:none}
.lnc-sec{margin-top:clamp(40px,6vw,76px)}
.lnc-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.lnc-more{font-size:14.5px;font-weight:500}
.lnc-more:hover{text-decoration:underline !important}

/* ---- hero: stage + next-show panel ---- */
.lnc-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:clamp(16px,2.2vw,28px);align-items:stretch}
@media (max-width:1000px){.lnc-hero{grid-template-columns:minmax(0,1fr)}}

.lnc-stage{border-radius:10px}
.lnc-stage .bb28-chead{padding:13px 16px}
.lnc-badge-off{color:var(--bb-mut);border:1px solid var(--bb-line-hi)}
.lnc-badge-off .bb28-dot{background:var(--bb-dim);animation:none;box-shadow:none}
.lnc-slate{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:clamp(20px,5vw,56px);text-align:center;background:radial-gradient(120% 90% at 50% 0%,#0d1b27 0%,#05090e 70%)}
.lnc-slate-title{margin:0;font-family:var(--bb-disp);font-weight:600;font-size:clamp(22px,3.2vw,38px);line-height:1.2;color:var(--bb-text);max-width:20ch}
.lnc-slate-text{margin:0;font-size:clamp(14.5px,1.5vw,17px);color:var(--bb-mut);max-width:44ch}

.lnc-room{background:var(--bb-panel);border:1px solid var(--bb-line);border-radius:10px;padding:clamp(18px,2vw,26px);display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.lnc-show-title{font-family:var(--bb-disp);font-weight:600;font-size:clamp(20px,2vw,24px);line-height:1.25;margin:0;color:var(--bb-text)}
.lnc-when{margin:0;color:var(--bb-mut);font-size:15px}
.lnc-text{margin:0;color:var(--bb-mut);font-size:14.5px}
.lnc-sched,.lnc-nosched{display:flex;flex-direction:column;gap:12px}
.lnc-sched[hidden],.lnc-nosched[hidden],.lnc-count[hidden],.lnc-now[hidden]{display:none}
.lnc-count{display:flex;gap:10px}
.lnc-count > span{flex:1;background:var(--bb-raised);border:1px solid var(--bb-line-hi);border-radius:8px;padding:12px 6px 10px;text-align:center;color:var(--bb-mut);font-size:12.5px;line-height:1.2}
.lnc-count b{display:block;font-family:var(--bb-disp);font-weight:700;font-size:clamp(26px,2.6vw,34px);line-height:1.05;color:var(--bb-text);font-variant-numeric:tabular-nums;margin-bottom:5px}
.lnc-now{margin:0;font-family:var(--bb-disp);font-weight:700;font-size:20px;color:var(--bb-red)}
.lnc-room-action{margin-top:auto;padding-top:16px;border-top:1px solid var(--bb-line)}
.lnc-soon{margin:0;color:var(--bb-mut);font-size:14.5px}

.lnc-btn{display:flex;align-items:center;justify-content:center;font-family:var(--bb-disp);font-weight:700;font-size:15px;letter-spacing:.03em;border-radius:7px;padding:14px 20px;border:1.5px solid transparent;text-align:center;transition:filter .15s}
.lnc-btn:hover{filter:brightness(1.12)}
.bb28.lnc-home .lnc-btn-primary{background:var(--bb-cyan);color:#041116}

/* ---- latest articles: one lead story, three beside it ---- */
.lnc-articles .bb28-art-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.lnc-articles .bb28-art-title{font-size:17px}
.lnc-articles .bb28-art-title a{color:var(--bb-text)}
.lnc-articles .bb28-art-title a:hover{color:var(--bb-cyan)}
.lnc-date{display:block;font-size:12.5px;color:var(--bb-dim);margin:0 0 8px}
.lnc-articles .bb28-art-chip{text-transform:none;letter-spacing:.03em;font-size:11.5px;background:rgba(6,10,15,.86);color:var(--bb-text);border:1px solid var(--bb-line-hi);padding:3px 9px}
.lnc-articles .bb28-art-card:not(:first-child){display:grid;grid-template-columns:clamp(112px,30vw,190px) minmax(0,1fr)}
.lnc-articles .bb28-art-card:not(:first-child) .bb28-art-thumb{aspect-ratio:auto;height:100%;min-height:104px}
.lnc-articles .bb28-art-card:not(:first-child) .bb28-art-excerpt{display:none}
.lnc-articles .bb28-art-card:not(:first-child) .bb28-art-chip{top:8px;left:8px}
.lnc-articles .bb28-art-card:not(:first-child) .bb28-art-body{display:flex;align-items:center;padding:12px 14px}
.lnc-articles .bb28-art-card:not(:first-child) .bb28-log-bodywrap{width:100%;margin-top:0}
.lnc-articles .bb28-art-card:not(:first-child) .bb28-art-title{font-size:15.5px;margin-bottom:6px}
.lnc-articles .bb28-art-card:not(:first-child) .lnc-date{margin-bottom:0}
@media (max-width:520px){.lnc-articles .bb28-art-card:not(:first-child) .bb28-art-chip{display:none}}
@media (min-width:900px){
  .lnc-articles .bb28-art-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .lnc-articles .bb28-art-card:first-child{grid-row:span 3;display:flex;flex-direction:column}
  .lnc-articles .bb28-art-card:first-child .bb28-art-thumb{aspect-ratio:16/9}
  .lnc-articles .bb28-art-card:not(:first-child){grid-template-columns:44% minmax(0,1fr)}
  .lnc-articles .bb28-art-card:first-child .bb28-art-title{font-size:clamp(21px,2vw,27px);line-height:1.25}
  .lnc-articles .bb28-art-card:first-child .bb28-art-body{flex:1}
}

/* ---- doors ---- */
.lnc-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:560px){.lnc-doors{grid-template-columns:minmax(0,1fr)}}
.bb28.lnc-home .lnc-door{--c:var(--bb-cyan);display:flex;flex-direction:column;gap:4px;background:var(--bb-panel);border:1px solid var(--bb-line);border-left:3px solid var(--c);border-radius:8px;padding:14px 16px 13px;color:var(--bb-text);transition:border-color .15s}
.lnc-door-red{--c:var(--bb-red) !important}
.lnc-door-gold{--c:var(--bb-gold) !important}
.bb28.lnc-home .lnc-door:hover{border-color:var(--c)}
.lnc-door h3{font-family:var(--bb-disp);font-weight:600;font-size:clamp(16px,1.6vw,19px);line-height:1.2;margin:0;color:var(--bb-text)}
.lnc-door p{margin:0;color:var(--bb-mut);font-size:13.5px}
.lnc-door-cta{margin-top:auto;padding-top:8px;font-family:var(--bb-disp);font-weight:700;font-size:14px;color:var(--c)}

.lnc-support .bb28{margin:0}

@media (prefers-reduced-motion:reduce){
  .lnc-door,.lnc-btn{transition:none !important}
}

/* ---- stream page: the player inside the stage ---- */
.lnc-stage-wide{max-width:1100px;margin:0 auto}
.lnc-player{position:absolute;inset:0}
.lnc-player mux-player{display:block;position:absolute;inset:0;width:100%;height:100%;background:#000}
/* "Tap for sound": over the top of the video while it plays without sound */
.lnc-unmute{position:absolute;z-index:3;top:clamp(8px,2.2%,16px);left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;margin:0;padding:10px 18px;background:#fff;color:#041116;border:0;border-radius:999px;font:700 15px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.55)}
.lnc-unmute[hidden]{display:none}
.lnc-unmute svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lnc-unmute:hover{background:#dff9ff}
.bb28.lnc-home .lnc-unmute:focus-visible{outline:3px solid var(--bb-cyan);outline-offset:3px;border-radius:999px}
/* "Go live" (3.14.0): over the top right of the video, only while the viewer is well behind the live moment */
.lnc-golive{position:absolute;z-index:3;top:clamp(8px,2.2%,16px);right:clamp(8px,2.2%,16px);display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 14px;background:rgba(4,17,22,.88);color:#fff;border:1px solid rgba(255,255,255,.6);border-radius:999px;font:700 14px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.55)}
.lnc-golive[hidden]{display:none}
.lnc-golive-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--bb-red,#ff3d4e);box-shadow:0 0 0 3px rgba(255,61,78,.3)}
.lnc-golive:hover{background:#000;border-color:#fff}
/* both can be up at once (sound off and behind): Go live moves down under "Tap for sound" so they never touch */
.lnc-unmute:not([hidden]) ~ .lnc-golive{top:calc(clamp(8px,2.2%,16px) + 48px)}
.bb28.lnc-home .lnc-golive:focus-visible{outline:3px solid var(--bb-cyan);outline-offset:3px}
@media (pointer:coarse){.lnc-golive{padding:11px 16px}}
.lnc-slate[hidden]{display:none}
.lnc-stage.is-live .lnc-slate{display:none}

/* Watch on TV (3.13.0): a small button in the header of the player, and the help box it opens */
.lnc-tv{margin:0 0 0 auto;display:inline-flex;align-items:center;gap:7px;flex:none;padding:4px 10px;background:transparent;color:var(--bb-mut);border:1px solid var(--bb-line-hi);border-radius:999px;font:600 12px/1 var(--bb-mono);letter-spacing:.02em;cursor:pointer}
.lnc-tv:hover{color:var(--bb-text);border-color:var(--bb-cyan)}
.lnc-tv[hidden]{display:none}
.lnc-tv svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bb28.lnc-home .lnc-tv:focus-visible{outline:3px solid var(--bb-cyan);outline-offset:2px}
@media (max-width:420px){.lnc-tv-pre{display:none}}
.lnc-tvbox{box-sizing:border-box;width:min(440px,calc(100vw - 28px));max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow:auto;margin:auto;padding:20px 22px 18px;background:var(--bb-panel);color:var(--bb-text);border:1px solid var(--bb-line-hi);border-radius:12px;box-shadow:0 24px 80px rgba(0,0,0,.6);font:14.5px/1.5 var(--bb-body)}
.lnc-tvbox:not([open]){display:none}
.lnc-tvbox::backdrop{background:rgba(2,5,9,.72)}
.lnc-tv-h{margin:0 0 6px;font:600 20px/1.25 var(--bb-disp);color:var(--bb-text)}
.lnc-tv-lead{margin:0 0 12px;color:var(--bb-mut)}
.lnc-tv-list{margin:0 0 12px;padding:0;list-style:none}
.lnc-tv-list li{margin:0 0 10px;padding:10px 12px;background:var(--bb-raised);border:1px solid var(--bb-line);border-radius:8px;color:var(--bb-text)}
.lnc-tv-list strong{display:block;margin:0 0 3px;color:var(--bb-cyan);font-weight:600}
.lnc-tv-note{margin:0 0 14px;font-size:13px;color:var(--bb-dim)}
.lnc-tv-close{display:block;width:100%;min-height:46px;margin:0;padding:12px 14px;background:var(--bb-cyan);color:#041116;border:0;border-radius:8px;font:700 15px/1.2 var(--bb-body);cursor:pointer}
.lnc-tv-close:hover{background:#7aeeff}
.bb28.lnc-home .lnc-tv-close:focus-visible{outline:3px solid #fff;outline-offset:2px}
