/* Global event header strip and event hub. */
.tc-event-header{position:relative;z-index:35;border-bottom:1px solid rgba(57,83,160,.12);background:linear-gradient(90deg,#edf2ff 0%,#f7f8ff 46%,#f0edff 100%);color:#172343}
.tc-event-header-inner{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:16px;max-width:1240px;min-height:48px;margin:0 auto;padding:0 22px}
.tc-event-header-label,.tc-event-header-all{display:inline-flex;align-items:center;gap:7px;color:#263b7b;text-decoration:none;font-size:12px;font-weight:950;white-space:nowrap}.tc-event-header-label>span{font-size:16px}.tc-event-header-label em{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#315bea;color:#fff;font-size:10px;font-style:normal}.tc-event-header-all{color:#315bea}.tc-event-header-all b{font-size:15px;line-height:1}
.tc-event-header-track{position:relative;height:34px;min-width:0;overflow:hidden}.tc-event-header-item{position:absolute;inset:0;display:flex;align-items:center;gap:9px;min-width:0;color:#1b294c;text-decoration:none;opacity:0;transform:translateY(7px);transition:opacity .22s ease,transform .22s ease;pointer-events:none}.tc-event-header-item.is-active{opacity:1;transform:translateY(0);pointer-events:auto}.tc-event-header-item img,.tc-event-header-item>i{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#315bea,#7850e7);color:#fff;font-style:normal;object-fit:cover}.tc-event-header-item span{display:flex;align-items:baseline;gap:8px;min-width:0}.tc-event-header-item small{flex:0 0 auto;color:#6c79a0;font-size:10px;font-weight:850}.tc-event-header-item span>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.tc-event-header-item>em{margin-left:auto;color:#315bea;font-size:11px;font-style:normal;font-weight:900;white-space:nowrap}

.tc-event-hub{max-width:1120px;margin:0 auto;padding:34px 22px 72px}.tc-event-hub-hero{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-bottom:34px;padding:34px;border:1px solid #dce4fb;border-radius:28px;background:linear-gradient(135deg,#edf3ff,#f8f3ff);overflow:hidden}.tc-event-hub-hero .eyebrow{color:#315bea}.tc-event-hub-hero h1{margin:8px 0 12px;font-size:38px;line-height:1.12;letter-spacing:-2px;color:#172343}.tc-event-hub-hero h1 strong{color:#315bea}.tc-event-hub-hero p{margin:0;color:#697796;font-size:14px;line-height:1.65}.tc-event-hub-hero-mark{display:grid;place-items:center;flex:0 0 126px;width:126px;height:126px;border-radius:34px;background:linear-gradient(135deg,#335dec,#7c55e8);box-shadow:0 18px 38px rgba(66,71,193,.25);font-size:54px}
.tc-event-hub-section{margin-top:34px}.tc-event-hub-section>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:15px}.tc-event-hub-section>header .eyebrow{color:#5f73bd}.tc-event-hub-section>header h2{margin:5px 0;font-size:24px;letter-spacing:-1px;color:#1d2948}.tc-event-hub-section>header p{margin:0;color:#75829d;font-size:13px}.tc-event-hub-section>header>b{display:grid;place-items:center;min-width:42px;height:28px;padding:0 9px;border-radius:999px;background:#ecf1ff;color:#315bea;font-size:12px}.tc-event-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tc-event-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e2e7f3;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(33,51,101,.06)}.tc-event-card.is-ended{opacity:.72}.tc-event-card-image{position:relative;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#315bea,#7c55e8)}.tc-event-card-image.is-empty{display:grid;place-items:center}.tc-event-card-image.is-empty>span{font-size:46px;color:#fff}.tc-event-card-image img{display:block;width:100%;height:100%;object-fit:cover}.tc-event-status{position:absolute;top:11px;left:11px;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.92);color:#1c2d5a;font-size:10px;font-style:normal;font-weight:950;box-shadow:0 5px 13px rgba(0,0,0,.1)}.tc-event-status.live{color:#1f55d3}.tc-event-status.upcoming{color:#7143ce}.tc-event-status.ended{color:#68738b}.tc-event-card-copy{display:grid;align-content:start;gap:9px;padding:18px}.tc-event-card-copy>small{color:#6a79a2;font-size:11px;font-weight:850}.tc-event-card-copy h3{margin:0;color:#1b2948;font-size:18px;line-height:1.28;letter-spacing:-.6px}.tc-event-card-copy p{display:-webkit-box;overflow:hidden;margin:0;color:#65728f;font-size:12px;line-height:1.55;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical}.tc-event-card-copy a{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;padding:10px 12px;border-radius:11px;background:#eff3ff;color:#315bea;font-size:12px;font-weight:900;text-decoration:none}.tc-event-card-copy a:hover{background:#315bea;color:#fff}.tc-event-card-copy a b{font-size:16px;line-height:1}.tc-event-hub-empty{display:grid;justify-items:center;gap:8px;padding:70px 20px;border:1px dashed #d7deee;border-radius:22px;color:#72809b;text-align:center}.tc-event-hub-empty>span{font-size:38px}.tc-event-hub-empty h2{margin:0;color:#34415c;font-size:20px}.tc-event-hub-empty p{margin:0;font-size:13px}

html.tinstar-cinema-ready .tc-event-header{display:none!important}
@media(max-width:900px){.tc-event-header-inner{min-height:44px;padding:0 12px;gap:9px}.tc-event-header-label b{display:none}.tc-event-header-label{gap:4px}.tc-event-header-label>span{font-size:15px}.tc-event-header-item{gap:7px}.tc-event-header-item img,.tc-event-header-item>i{flex-basis:25px;width:25px;height:25px;border-radius:7px}.tc-event-header-item span{display:block;min-width:0}.tc-event-header-item small{display:block;margin-bottom:1px;font-size:9px}.tc-event-header-item span>b{display:block;font-size:11px}.tc-event-header-item>em{display:none}.tc-event-header-all{font-size:11px}.tc-event-hub{padding:22px 14px 94px}.tc-event-hub-hero{align-items:flex-start;margin-bottom:25px;padding:24px 20px;border-radius:22px}.tc-event-hub-hero h1{font-size:29px;letter-spacing:-1.5px}.tc-event-hub-hero p{font-size:13px}.tc-event-hub-hero-mark{flex-basis:66px;width:66px;height:66px;border-radius:20px;font-size:29px}.tc-event-hub-section{margin-top:28px}.tc-event-hub-section>header h2{font-size:21px}.tc-event-hub-section>header p{font-size:12px}.tc-event-card-grid{grid-template-columns:1fr;gap:12px}.tc-event-card{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:138px;border-radius:17px}.tc-event-card-image{aspect-ratio:auto;min-height:138px}.tc-event-card-copy{padding:14px}.tc-event-card-copy h3{font-size:16px}.tc-event-card-copy p{-webkit-line-clamp:2}.tc-event-card-copy a{padding:8px 10px;font-size:11px}}
@media(max-width:380px){.tc-event-header-inner{grid-template-columns:max-content minmax(0,1fr) max-content}.tc-event-header-all{font-size:0}.tc-event-header-all b{font-size:16px}.tc-event-hub-hero-mark{display:none}.tc-event-card{grid-template-columns:110px minmax(0,1fr)}}

/* Event hub v2: compact mobile cards + in-site detail page. */
.tc-event-card-grid{align-items:stretch}
.tc-event-card{display:flex;flex-direction:column;gap:13px;padding:12px;border-radius:20px}
.tc-event-card-image{width:100%;aspect-ratio:1 / 1;min-height:0;border-radius:14px}
.tc-event-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px;padding:0 2px 2px}
.tc-event-card-copy>small{line-height:1.35}
.tc-event-card-copy h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.tc-event-card-detail{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:36px;margin-top:auto!important;padding:8px 12px!important;border-radius:10px!important;background:#eff3ff!important;color:#315bea!important;font-size:12px!important;font-weight:900!important;text-decoration:none!important}
.tc-event-card-detail:hover{background:#315bea!important;color:#fff!important}
.tc-event-card-detail b{font-size:15px;line-height:1}

.tc-event-detail{max-width:900px;margin:0 auto;padding:32px 22px 82px}
.tc-event-detail-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:16px;color:#536483;font-size:13px;font-weight:850;text-decoration:none}
.tc-event-detail-back:hover{color:#315bea}
.tc-event-detail-card{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);overflow:hidden;border:1px solid #e1e7f4;border-radius:26px;background:#fff;box-shadow:0 18px 46px rgba(31,48,98,.08)}
.tc-event-detail-image{position:relative;display:grid;place-items:center;aspect-ratio:1 / 1;overflow:hidden;background:linear-gradient(135deg,#315bea,#7c55e8)}
.tc-event-detail-image img{display:block;width:100%;height:100%;object-fit:cover}
.tc-event-detail-image.is-empty>span{font-size:62px;color:#fff}
.tc-event-detail-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:34px}
.tc-event-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:13px}
.tc-event-detail-meta .tc-event-status{position:static;box-shadow:none}
.tc-event-detail-meta small{color:#6a79a2;font-size:12px;font-weight:850}
.tc-event-detail-copy h1{margin:0;color:#172343;font-size:31px;line-height:1.22;letter-spacing:-1.3px}
.tc-event-detail-body{width:100%;margin-top:20px;color:#586783;font-size:14px;line-height:1.8;white-space:normal;word-break:keep-all}
.tc-event-detail-empty{margin:20px 0 0;color:#73809a;font-size:14px}
.tc-event-detail-go{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:28px;padding:13px 15px;border-radius:13px;background:linear-gradient(135deg,#315bea,#6949df);color:#fff;font-size:14px;font-weight:900;text-decoration:none}
.tc-event-detail-go:hover{filter:brightness(.98)}
.tc-event-detail-go b{font-size:18px;line-height:1}

@media(max-width:900px){
  .tc-event-card-grid{grid-template-columns:1fr!important;gap:11px}
  .tc-event-card{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:12px;min-height:116px;padding:10px;border-radius:18px}
  .tc-event-card-image{width:96px;height:96px;min-height:96px;aspect-ratio:1 / 1;border-radius:13px}
  .tc-event-status{top:7px;left:7px;padding:4px 6px;font-size:9px}
  .tc-event-card-copy{min-height:96px;gap:4px;padding:1px 2px 1px 0}
  .tc-event-card-copy>small{font-size:10px;line-height:1.3}
  .tc-event-card-copy h3{font-size:16px;line-height:1.28}
  .tc-event-card-detail{min-height:30px;margin-top:auto!important;padding:6px 9px!important;font-size:11px!important}
  .tc-event-detail{padding:20px 14px calc(94px + env(safe-area-inset-bottom))}
  .tc-event-detail-back{margin-bottom:12px}
  .tc-event-detail-card{display:block;border-radius:21px}
  .tc-event-detail-image{aspect-ratio:1 / 1}
  .tc-event-detail-copy{padding:22px 18px}
  .tc-event-detail-copy h1{font-size:25px;letter-spacing:-1px}
  .tc-event-detail-body{margin-top:16px;font-size:14px;line-height:1.75}
  .tc-event-detail-go{margin-top:23px;padding:12px 14px;font-size:13px}
}

/* TC_UI4_EVENT_HEADER_REPAIR_V1 */
/* Keep the global event strip in normal document flow and below the primary header. */
.site-shell > .topbar{position:relative;z-index:80}
.site-shell > .tc-event-header{position:relative;z-index:20;clear:both;isolation:isolate;margin:0}
@media(min-width:901px){
  .tc-event-header-inner{max-width:1120px;min-height:40px;padding:0 18px;gap:12px}
  .tc-event-header-track{height:30px}
  .tc-event-header-label,.tc-event-header-all{font-size:11px}
  .tc-event-header-label>span{font-size:15px}
  .tc-event-header-label em{min-width:18px;height:18px;font-size:9px}
  .tc-event-header-item{gap:8px}
  .tc-event-header-item img,.tc-event-header-item>i{flex-basis:25px;width:25px;height:25px;border-radius:7px}
  .tc-event-header-item small{font-size:9px}
  .tc-event-header-item span>b{font-size:11px}
  .tc-event-header-item>em{font-size:10px}
}


/* Stage 94: desktop event strip is slimmer; event detail gets a real full canvas. */
@media(min-width:760px){
  .tc-event-header-inner{max-width:1120px!important;min-height:40px!important;padding:0 18px!important}
  .tc-event-header-track{height:30px!important}
  .tc-event-header-item img,.tc-event-header-item>i{flex-basis:24px!important;width:24px!important;height:24px!important;border-radius:7px!important}
  .tc-event-header-label,.tc-event-header-all{font-size:11px!important}
  .tc-event-header-item span>b{font-size:11px!important}
  .page-events .main-content:has(.tc-event-detail){max-width:none!important;padding:0!important}
  .tc-event-detail{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 72px!important}
  .tc-event-detail-back{display:flex!important;align-items:center!important;width:100%!important;max-width:1360px!important;margin:0 auto!important;padding:18px max(24px,calc((100vw - 1360px)/2))!important}
  .tc-event-detail-card{width:100%!important;min-height:calc(100svh - 132px)!important;border-right:0!important;border-left:0!important;border-radius:0!important;grid-template-columns:minmax(42%,55vw) minmax(0,1fr)!important}
  .tc-event-detail-image{min-height:calc(100svh - 132px)!important;border-radius:0!important}
  .tc-event-detail-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:clamp(34px,5vw,86px)!important}
  .tc-event-detail-body{max-width:720px!important;font-size:15px!important;line-height:1.85!important}
}
@media(max-width:759px){
  .page-events .main-content:has(.tc-event-detail){padding:0!important}
  .tc-event-detail{width:100%!important;margin:0!important;padding:0 0 42px!important}
  .tc-event-detail-card{border-right:0!important;border-left:0!important;border-radius:0!important}
}


/* Final fix 20260714: event detail keeps tall images fully visible. */
.tc-event-detail{max-width:1280px!important;width:100%!important;margin:0 auto!important;padding:28px 22px 82px!important;}
.tc-event-detail-card{grid-template-columns:minmax(280px,520px) minmax(0,1fr)!important;align-items:stretch!important;overflow:visible!important;}
.tc-event-detail-image{aspect-ratio:auto!important;min-height:min(78svh,820px)!important;height:auto!important;overflow:visible!important;background:#f4f6ff!important;border-radius:26px 0 0 26px!important;}
.tc-event-detail-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#f4f6ff!important;}
.tc-event-detail-copy{justify-content:center!important;}
@media(max-width:900px){
  .tc-event-detail{padding:16px 12px calc(78px + env(safe-area-inset-bottom))!important;}
  .tc-event-detail-card{display:block!important;border-radius:22px!important;overflow:hidden!important;}
  .tc-event-detail-image{min-height:0!important;aspect-ratio:auto!important;border-radius:0!important;padding:0!important;background:#f4f6ff!important;}
  .tc-event-detail-image img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;}
  .tc-event-detail-copy{padding:22px 18px!important;}
}
