/* Mentour Core — component styles for the HTML emitted by the custom dynamic tags
   ({mentour_embed}, {mentour_key_points}, {mentour_chapters}) and a few shared
   single-video helpers. Editorial: hairlines + whitespace, not boxes. */

/* Responsive 16:9 privacy-first player */
.mentour-embed{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden}
.mentour-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@supports not (aspect-ratio:16/9){
  .mentour-embed{height:0;padding-bottom:56.25%}
}

/* Auto-generated section wrapper (key points / chapters) — self-hides when empty */
.mentour-auto{margin:0 0 34px}
.mentour-auto__title{font-family:var(--cond,sans-serif);font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:14px;color:var(--muted,#9aa6ac);margin:0 0 10px}

/* Key points — hairline-divided list, no bullets, no box */
.mentour-keypoints{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.mentour-keypoints li{padding:14px 0;border-top:1px solid var(--line,rgba(255,255,255,.08));color:var(--ink,#EAF1F2);font-size:16px;line-height:1.55}
.mentour-keypoints li:first-child{border-top:0}
.mentour-keypoints li::before{content:"";display:inline-block;width:14px;height:2px;margin:0 12px 5px 0;background:var(--acc,#19E3E3);vertical-align:middle}

/* Chapters — timecode + label, accent timecodes */
.mentour-chapters{list-style:none;margin:0;padding:0;counter-reset:ch}
.mentour-chapters li{border-top:1px solid var(--line,rgba(255,255,255,.08))}
.mentour-chapters li:first-child{border-top:0}
.mentour-chapters a,.mentour-chapters li>span.l{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:baseline;padding:11px 0;text-decoration:none;color:var(--ink,#EAF1F2)}
.mentour-chapters a:hover{color:var(--acc,#19E3E3)}
.mentour-chapters .t{font-family:var(--mono,monospace);font-size:13px;color:var(--acc,#19E3E3);font-variant-numeric:tabular-nums}
.mentour-chapters .l{font-size:15px;line-height:1.45}

/* Ad slots — unobtrusive, labelled, reserve space to avoid layout shift.
   Ad Inserter targets these by class for actual creative insertion. */
.mentour-ad{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:0 auto;color:var(--muted-2,#68747b)}
.mentour-ad::before{content:"Advertisement";font-family:var(--mono,monospace);font-size:10px;letter-spacing:.14em;text-transform:uppercase}
.mentour-ad--leader{width:100%;max-width:728px;min-height:90px}
.mentour-ad--mpu{width:300px;min-height:600px}

/* ===== Global header (Bricks header template) ===== */
.mentour-promo{background:#07090b;border-bottom:1px solid var(--line,rgba(255,255,255,.08));text-align:center;font-size:13px;color:var(--muted,#9aa6ac);padding:9px 16px;letter-spacing:.01em}
.mentour-promo b{color:var(--ink,#EAF1F2);font-weight:600}
.mentour-hdr{position:sticky;top:0;z-index:100;background:var(--ground,#0B0E10);border-bottom:1px solid var(--line,rgba(255,255,255,.08))}
.mentour-hdr__row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;height:80px;max-width:var(--maxw,1240px);margin:0 auto;padding:0 20px;box-sizing:border-box}
.mentour-brand{display:flex;align-items:center;gap:11px;font-family:var(--cond,sans-serif);font-weight:600;text-transform:uppercase;letter-spacing:.16em;font-size:18px;white-space:nowrap;color:var(--ink,#EAF1F2);text-decoration:none}
.mentour-brand svg{width:30px;height:30px;flex:none;color:var(--acc,#19E3E3)}
.mentour-brand img{height:38px;width:38px;object-fit:contain;flex:none;display:block}
.mentour-brand a{color:inherit;text-decoration:none}
.mentour-brand a:hover,.mentour-brand a:focus{color:inherit;text-decoration:none}
.mentour-ftr .mentour-brand img{height:32px;width:32px}
.mentour-pill{justify-self:center;display:flex;align-items:center;gap:4px;background:rgba(20,26,30,.7);border:1px solid var(--line-2,rgba(255,255,255,.15));border-radius:999px;padding:6px}
.mentour-pill a{font-family:var(--sans,sans-serif);font-size:15px;font-weight:500;color:var(--muted,#9aa6ac);border:1.5px solid transparent;border-radius:999px;padding:9px 20px;white-space:nowrap;transition:.2s;text-decoration:none}
.mentour-pill a:hover{color:var(--ink,#EAF1F2)}
/* active pill — glow in the current channel's accent (matches the Alt prototype .pill a.active) */
.mentour-pill a.is-active,
body.home .mentour-pill a[href="/"],
body.term-mentour-pilot .mentour-pill a[href="/channel/mentour-pilot/"],
body.term-mentour-black-box .mentour-pill a[href="/channel/mentour-black-box/"],
body.term-mentour-now .mentour-pill a[href="/channel/mentour-now/"],
body.term-captains-speaking .mentour-pill a[href="/channel/captains-speaking/"],
body.mentour-ch-mentour-pilot .mentour-pill a[href="/channel/mentour-pilot/"],
body.mentour-ch-mentour-black-box .mentour-pill a[href="/channel/mentour-black-box/"],
body.mentour-ch-mentour-now .mentour-pill a[href="/channel/mentour-now/"],
body.mentour-ch-captains-speaking .mentour-pill a[href="/channel/captains-speaking/"]{color:var(--ink,#EAF1F2);border-color:var(--acc,#19E3E3);background:rgba(255,255,255,.03);box-shadow:0 0 18px -6px var(--acc,#19E3E3)}
body.term-mentour-pilot,body.mentour-ch-mentour-pilot{--acc:var(--cyan,#19E3E3)}
body.term-mentour-black-box,body.mentour-ch-mentour-black-box{--acc:var(--amber,#FF8A3D)}
body.term-mentour-now,body.mentour-ch-mentour-now{--acc:var(--pink,#FF3F8F)}
body.term-captains-speaking,body.mentour-ch-captains-speaking{--acc:var(--cyan,#19E3E3)}
.mentour-util{justify-self:end;display:flex;align-items:center;gap:26px}
.mentour-util a{font-size:15px;font-weight:500;color:var(--ink,#EAF1F2);white-space:nowrap;transition:.2s;text-decoration:none}
.mentour-util a:hover{color:var(--acc,#19E3E3)}
@media (max-width:1100px){
  .mentour-hdr__row{grid-template-columns:auto 1fr auto;height:70px}
  .mentour-util{display:none}
  .mentour-pill{justify-self:end;overflow-x:auto;max-width:100%;scrollbar-width:none}
  .mentour-pill::-webkit-scrollbar{display:none}
  .mentour-pill a{padding:8px 14px;font-size:14px}
}
@media (max-width:620px){.mentour-brand span{display:none}}

/* ===== Global footer (Bricks footer template) ===== */
.mentour-ftr{border-top:1px solid var(--line,rgba(255,255,255,.08));padding:44px 0 56px;background:var(--ground,#0B0E10)}
.mentour-ftr__wrap{max-width:var(--maxw,1240px);margin:0 auto;padding:0 20px;box-sizing:border-box}
.mentour-ftr__grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.mentour-ftr__brand{max-width:280px}
.mentour-ftr__tag{color:var(--muted,#9aa6ac);font-size:13.5px;margin:12px 0 0}
.mentour-fcol h4{font-family:var(--mono,monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2,#68747b);margin:0 0 14px}
.mentour-fcol a{display:block;font-size:14px;color:var(--muted,#9aa6ac);padding:5px 0;text-decoration:none}
.mentour-fcol a:hover{color:var(--acc,#19E3E3)}
.mentour-ftr__bottom{margin-top:38px;padding-top:22px;border-top:1px solid var(--line,rgba(255,255,255,.08));font-family:var(--mono,monospace);font-size:11px;color:var(--muted-2,#68747b);letter-spacing:.05em}

/* ===== Single video template layout ===== */
.mentour-sv-hero{background:var(--ground,#0B0E10);padding:46px 0 20px}
.mentour-sv-hero__inner,.mentour-sv-body__inner,.mentour-sv-related__inner{width:100%;max-width:1060px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.mentour-sv-eyebrow,.mentour-sv-eyebrow a{font-family:var(--cond,sans-serif);font-weight:600;text-transform:uppercase;letter-spacing:.16em;font-size:13px;color:var(--acc,#19E3E3);text-decoration:none;margin:0 0 10px}
.mentour-sv-title{font-family:var(--poster,sans-serif);font-weight:400;text-transform:uppercase;line-height:.98;letter-spacing:.01em;color:#fff;font-size:clamp(30px,5.2vw,58px);margin:0 0 12px}
.mentour-sv-byline{font-family:var(--mono,monospace);font-size:12px;letter-spacing:.03em;color:var(--muted,#9aa6ac);margin:0 0 22px}
.mentour-sv-player{max-width:1000px}
.mentour-sv-adwrap{display:flex;justify-content:center;padding:22px 20px;background:var(--ground,#0B0E10)}
.mentour-sv-body{background:var(--ground,#0B0E10);padding:12px 0 48px}
.mentour-sv-cols{display:flex;gap:44px;align-items:flex-start}
.mentour-sv-main{flex:1 1 auto;min-width:0;max-width:720px}
.mentour-sv-rail{flex:0 0 300px;position:sticky;top:90px}
.mentour-sv-excerpt{font-size:19px;line-height:1.7;color:var(--ink,#EAF1F2);margin:0 0 28px}
.mentour-sv-excerpt p{margin:0 0 1em}.mentour-sv-excerpt p:last-child{margin-bottom:0}
.mentour-sv-watch{margin:2px 0 32px}
.mentour-sv-watch a{display:inline-flex;align-items:center;gap:8px;font-family:var(--cond,sans-serif);font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:13px;color:var(--acc,#19E3E3);text-decoration:none;border-bottom:1px solid var(--acc,#19E3E3);padding-bottom:3px}
.mentour-sv-tags{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.mentour-sv-tags a{font-size:12px;color:var(--muted,#9aa6ac);text-decoration:none;border:1px solid var(--line-2,rgba(255,255,255,.15));border-radius:999px;padding:4px 11px}
.mentour-sv-tags a:hover{color:var(--ink,#EAF1F2);border-color:var(--ink,#EAF1F2)}
.mentour-sv-related{background:var(--ground-2,#0e1215);padding:40px 0 60px;border-top:1px solid var(--line,rgba(255,255,255,.08))}
.mentour-sv-related__h{font-family:var(--poster,sans-serif);font-weight:400;text-transform:uppercase;font-size:24px;letter-spacing:.01em;color:var(--ink,#EAF1F2);margin:0 0 20px}

/* Related cards — ported from the Alt prototype (.rcard): 16:9 thumb with duration
   badge + play overlay, title, date. Grid cells are the looped text-basic wrappers. */
.mentour-sv-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mentour-rcard{display:block;text-decoration:none;color:inherit;transition:transform .2s}
.mentour-rcard:hover{transform:translateY(-3px)}
.mentour-rthumb{position:relative;display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;border:1px solid var(--line,rgba(255,255,255,.08));background:#0a1114}
.mentour-rthumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mentour-rdur{position:absolute;bottom:8px;right:8px;font-family:var(--mono,monospace);font-size:10.5px;line-height:1.4;background:rgba(0,0,0,.8);padding:2px 6px;border-radius:4px;color:#e6eef0;z-index:2}
.mentour-rplay{position:absolute;inset:0;margin:auto;width:46px;height:46px;border-radius:50%;background:rgba(6,10,12,.5);border:1.5px solid rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;z-index:3;transition:.2s}
.mentour-rcard:hover .mentour-rplay{background:var(--acc,#19E3E3);border-color:var(--acc,#19E3E3)}
.mentour-rtri{display:block;width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent #eafafa;margin-left:2px}
.mentour-rcard:hover .mentour-rtri{border-left-color:#04181b}
.mentour-rtitle{display:block;font-size:14px;font-weight:700;line-height:1.32;margin-top:10px;color:var(--ink,#EAF1F2)}
.mentour-rmeta{display:block;font-family:var(--mono,monospace);font-size:10.5px;color:var(--muted-2,#68747b);margin-top:6px;letter-spacing:.05em}
@media (max-width:760px){.mentour-sv-related__grid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.mentour-sv-related__grid{grid-template-columns:1fr}}
@media (max-width:860px){
  .mentour-sv-cols{flex-direction:column;gap:0}
  .mentour-sv-rail{position:static;flex-basis:auto;width:100%;display:flex;justify-content:center;margin-top:8px}
  .mentour-sv-hero{padding-top:34px}
}

/* Merch strip (Fourthwall) — horizontal, scrollable, no hard box */
.mentour-merch{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch}
.mentour-merch::-webkit-scrollbar{height:6px}
.mentour-merch::-webkit-scrollbar-thumb{background:var(--line-2,rgba(255,255,255,.15));border-radius:3px}
.mentour-merch a{flex:0 0 160px;scroll-snap-align:start;text-decoration:none;color:var(--ink,#EAF1F2)}
.mentour-merch img,.mentour-merch__noimg{width:160px;height:160px;object-fit:cover;border-radius:12px;display:block}
.mentour-merch__noimg{background:linear-gradient(150deg,var(--panel,#13181c),var(--ground,#0B0E10))}
.mentour-merch .name{display:block;margin-top:8px;font-size:13px;line-height:1.35}
.mentour-merch .price{display:block;color:var(--muted,#9aa6ac);font-size:12px}
