/* =========================================================
   CORPORATE BRIEFING — the video, vote and comment block that
   sits under each financial year. Loads AFTER components.css
   and only on corporate-briefing.html. Namespaced .cb-*.

   Everything here is additive: the FY headings, the PDF rows
   and their View buttons keep the markup and styling they
   already had.
========================================================= */

.cb-engage{margin:.9rem 0 2.6rem;padding:1.4rem 0 0;border-top:1px dashed var(--line)}

/* ---- video ---- */
.cb-video{margin-bottom:1.1rem}
.cb-frame{position:relative;aspect-ratio:16/9;background:#0b1524;border-radius:3px;
  overflow:hidden;width:100%;max-width:760px}
.cb-frame iframe,.cb-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}

/* Click-to-play cover: nothing is requested from the video host until the
   visitor asks for it, so the page does not carry third-party cookies for
   people who never press play. */
.cb-cover{position:absolute;inset:0;display:grid;place-items:center;cursor:pointer;
  border:0;padding:0;width:100%;background:#0b1524}
.cb-cover img{width:100%;height:100%;object-fit:cover;opacity:.72;transition:opacity .25s}
.cb-cover:hover img{opacity:.85}
.cb-play{position:absolute;width:64px;height:64px;border-radius:50%;
  background:rgba(255,255,255,.94);display:grid;place-items:center;
  box-shadow:0 6px 24px rgba(0,0,0,.35);transition:transform .25s}
.cb-cover:hover .cb-play{transform:scale(1.07)}
.cb-play::after{content:"";width:0;height:0;margin-left:5px;
  border-left:20px solid var(--navy);border-top:12px solid transparent;
  border-bottom:12px solid transparent}
.cb-cover .lbl{position:absolute;left:0;right:0;bottom:0;padding:.7rem 1rem;
  color:#fff;font-size:.82rem;font-weight:700;text-align:left;
  background:linear-gradient(180deg,rgba(8,16,30,0),rgba(8,16,30,.86))}

/* No recording published for that year yet. */
.cb-none{display:flex;align-items:center;gap:.7rem;padding:1rem 1.1rem;
  background:var(--wash,#f4f6f8);border-radius:3px;color:var(--muted);
  font-size:.88rem;max-width:760px}
.cb-none b{color:var(--navy);font-weight:700}

/* ---- like / dislike ---- */
.cb-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.4rem}
.cb-vote{appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);
  font:inherit;font-size:.85rem;font-weight:700;padding:.5rem .95rem;border-radius:999px;
  cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;
  transition:border-color .2s,background .2s,color .2s}
.cb-vote:hover{border-color:var(--blue-deep);color:var(--blue-deep)}
.cb-vote[aria-pressed="true"]{background:var(--blue-deep);border-color:var(--blue-deep);color:#fff}
.cb-vote i{font-style:normal;font-size:1rem;line-height:1}
.cb-vote b{font-weight:700;font-variant-numeric:tabular-nums}
.cb-vote[disabled]{opacity:.55;cursor:default}
.cb-say{font-size:.8rem;color:var(--muted)}
.cb-say.bad{color:#a3272b}

/* ---- comments ---- */
.cb-comments{margin-top:1rem;max-width:760px}
.cb-comments>summary{cursor:pointer;font-size:.82rem;font-weight:800;letter-spacing:1.4px;
  text-transform:uppercase;color:var(--blue-deep);padding:.5rem 0;list-style:none}
.cb-comments>summary::-webkit-details-marker{display:none}
.cb-comments>summary::before{content:"+";display:inline-block;width:1.1em;font-weight:700}
.cb-comments[open]>summary::before{content:"\2212"}

.cb-form{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:.6rem 0 1.4rem}
.cb-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.78rem;
  font-weight:700;color:var(--navy)}
.cb-form .wide{grid-column:1 / -1}
.cb-form input,.cb-form textarea{font:inherit;font-size:.9rem;padding:.6rem .7rem;
  border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--ink);
  width:100%}
.cb-form textarea{min-height:110px;resize:vertical}
.cb-form input:focus,.cb-form textarea:focus{outline:2px solid var(--blue-deep);
  outline-offset:1px;border-color:var(--blue-deep)}
.cb-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cb-send{appearance:none;border:0;background:var(--navy);color:#fff;font:inherit;
  font-size:.82rem;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;
  padding:.7rem 1.4rem;border-radius:3px;cursor:pointer;justify-self:start}
.cb-send:hover{background:var(--blue-deep)}
.cb-send[disabled]{opacity:.6;cursor:default}
.cb-priv{grid-column:1 / -1;margin:0;font-size:.76rem;color:var(--muted);line-height:1.55}

.cb-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.cb-list li{padding:.95rem 0;border-bottom:1px solid var(--line)}
.cb-list .who{display:flex;gap:.6rem;align-items:baseline;flex-wrap:wrap}
.cb-list .who b{font-size:.88rem;color:var(--navy)}
.cb-list .who time{font-size:.74rem;color:var(--muted)}
.cb-list p{margin:.35rem 0 0;font-size:.9rem;line-height:1.65;color:var(--ink);
  overflow-wrap:anywhere}
.cb-empty{padding:.9rem 0;font-size:.86rem;color:var(--muted)}

@media (max-width:620px){
  .cb-form{grid-template-columns:1fr}
  .cb-send{justify-self:stretch;text-align:center}
}

/* =========================================================
   CBS category sections — Notices / Presentations / Videos.
   The three anchors (#notices, #presentations, #videos) are
   the targets of the Corporate Briefing menu flyout, so they
   need a scroll offset to clear the sticky header.
========================================================= */
.cbs-subnav{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 2.4rem}
.cbs-subnav a{display:inline-flex;align-items:center;font-size:.82rem;font-weight:800;
  letter-spacing:.6px;text-transform:uppercase;color:var(--navy);
  padding:.55rem 1.05rem;border:1px solid var(--line);border-radius:999px;
  background:#fff;transition:background .18s,color .18s,border-color .18s}
.cbs-subnav a:hover,.cbs-subnav a:focus-visible{background:var(--navy);color:#fff;border-color:var(--navy)}

.cbs-h3{scroll-margin-top:96px;margin:2.8rem 0 .3rem;font-size:1.5rem;color:var(--navy);
  padding-bottom:.55rem;border-bottom:2px solid var(--navy)}
.cbs-h3:first-of-type{margin-top:.4rem}
.cbs-lead{margin:.1rem 0 1.3rem;color:var(--muted);font-size:.95rem;line-height:1.6;max-width:62ch}
.cbs-note{margin:1rem 0 .4rem;padding:.85rem 1.05rem;background:var(--wash,#f4f6f8);
  border-radius:3px;color:var(--muted);font-size:.86rem;line-height:1.6;max-width:760px}
.cbs-note a{color:var(--blue-deep,var(--navy));font-weight:700}
