
@font-face {
		font-family: 'procoreSans';
src: url('../fonts/77011b20c10ab581-s.p.woff2') format('woff2');
font-weight:bold;
font-style:normal; 
}

@font-face {
font-family: 'Inter Tight';
 src: url('../fonts/inter-tight-cyrillic-ext-400-normal.9936a138.woff2') format('woff2');
font-weight: 400;
font-style:normal;
}

/* ============ Global + fixes for width stability ============ */
    *,*::before,*::after{ box-sizing:border-box; }
    html{ height:100%; scrollbar-gutter: stable; } /* prevents page width from changing when vertical scrollbar appears */
    body{
      margin:0;
      color:#000;
      font:400 16px/1.5 "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
      background:#fff;
      min-height:100%;
    }
    img{ max-width:350px; height:auto; display:block; }

    /* ================================
       Page-scoped CSS (namespaced with .alp)
       ================================= */
    :root{
      --brand:#ff5201;        /* primary brand (orange) */
      --brand-strong:#e14504; /* hover/darker */
      --accent:#007ac9;       /* links/accents */
      --text:#4d4f53;         /* body text */
      --muted:#ececec;        /* borders */
      --bg:#ECE0D6;           /* hero background */
      --heading-font:'procoreSans',system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
      --body-font:"Inter Tight",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
      --radius:10px;
      --pageMax: 1200px;
    }
    @media (min-width:1400px){ :root{ --pageMax: 1320px; } }
    @media (min-width:1600px){ :root{ --pageMax: 1540px; } }

    /* A11y helpers */
    .skip-link{ position:absolute; left:-9999px; }
    .skip-link:focus{ left:16px; top:16px; background:#000; color:#fff; padding:8px 12px; border-radius:6px; z-index:1000; }
    .visually-hidden{ position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

    /* Layout */
    .alp{ min-height:100dvh; display:grid; grid-template-rows:auto 1fr auto; }
    .alp-header{ border-bottom:1px solid var(--muted); background:#fff; }
    .alp-header .bar,
    .alp-hero-inner,
    .alp-shell,
    .alp-footer-inner{ max-width:var(--pageMax); margin-inline:auto; }
    .alp-header .bar{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 20px; }
    .alp-brand img{ height:auto; max-width:350px; }

    .alp-btn{ appearance:none; border:0; border-radius:5px; background:var(--brand); color:#fff; font-weight:700; padding:10px 16px; cursor:pointer; }
    .alp-btn:hover,.alp-btn:focus{ background:var(--brand-strong); }

    .alp-hero{ background:var(--bg); }
    .alp-hero-inner{ padding:20px; }
    .hero-content{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; }
    .alp-hero h1{ font-family:var(--heading-font); font-weight:700; font-size:clamp(28px,5vw,44px); margin:0 0 8px; color:#000; }
    .alp-hero p{ margin:0; color:#000; }

    .alp-shell{ display:grid; gap:20px; padding:20px; }
    @media (min-width:1024px){ .alp-shell{ grid-template-columns: 2fr 1fr; align-items:start; } }
    @media (min-width:1280px){ .alp-shell{ grid-template-columns: 3fr 1fr; } }

    /* IMPORTANT for width: allow grid items to shrink/expand */
    .alp-main,.alp-panels,.alp-panel,.alp-agenda-grid,.alp-agenda-card{ min-width:0; }

    /* Tabs */
    .alp-tabs{ display:flex; gap:8px; flex-wrap:wrap; }
    .alp-tab{ border:1px solid var(--muted); background:#fff; border-radius:5px; padding:8px 14px; font-weight:600; cursor:pointer; }
    .alp-tab[aria-selected="true"]{ background:var(--brand); color:#fff; border-color:var(--brand); }
    .alp-panels{ margin-top:12px; }
    .alp-panel[hidden]{ display:none; }

    /* Video: width follows the column width */
    mux-player{
      width:100%;
      max-width:100%;
      display:block;
      aspect-ratio:16/9;
      border-radius:var(--radius);
      overflow:hidden;
      background:#000;
    }

    /* Agenda (shared styles) — fixed layout to prevent overflow growth */
    .alp-agenda{
      border-collapse:collapse;
      width:100%;
      background:#fff;
      border-radius:var(--radius);
      overflow:hidden;
      table-layout: fixed;            /* keep width stable */
    }
    .alp-agenda td{
      padding:12px;
      vertical-align:middle;
      border-top:1px solid var(--muted);
      overflow-wrap:anywhere;         /* long strings won’t overflow */
      word-break:break-word;
		
    }
    .alp-agenda td:first-child{ white-space:nowrap; width:120px; border-width:5px;}
    .alp-agenda img.avatar{ width:64px; height:64px; border-radius:50%; object-fit:cover; }

    .alp-time{ color:var(--brand); font-weight:700; font-family:var(--heading-font); font-size:1.5em;}

    /* Track agenda under each video */
    .alp-track-agenda{ margin-top:12px; }
    .alp-track-agenda .alp-agenda{ margin:0; }

    /* 3-column Agenda tab */
    .alp-agenda-grid{ display:grid; grid-template-columns:1fr; gap:16px; }
    @media (min-width:900px){ .alp-agenda-grid{ grid-template-columns: repeat(3, 1fr); } }
    .alp-agenda-card{ background:#fff; border:1px solid var(--muted); border-radius:var(--radius); overflow:hidden; }
    .alp-agenda-card h3{ margin:0; padding:12px; border-bottom:1px solid var(--muted); font-family:var(--heading-font); }

    /* Sidebar (Slido) */
    .alp-sidebar .cta{
      background:#000; /* orange backdrop */
      border:0;
      border-radius:var(--radius);
      overflow:hidden;
      padding:5px;
      width:100%;
    }
    .alp-sidebar iframe{
      display:block;
      width:100%;
      height:70vh;
      border:0;
      border-radius:8px;
      background:#fff;
    }

    /* Footer */
    .alp-footer{ background:#3b3c3e; color:#b2b4b3; }
    .alp-footer-inner{ padding:16px 20px; }
    .alp-footer .menu{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:8px; }
    .alp-footer .menu a{ color:#ececec; text-decoration:underline; }

    /* Focus styles */
    .alp :focus-visible{ outline:3px solid var(--accent); outline-offset:2px; border-radius:6px; }

 h3{ font-family:var(--heading-font); font-weight:700; font-size:clamp(18px,5vw,24px); margin:0 0 8px; color:#000; }

/* === Collapsible agenda under each video === */
.agenda-row { border-top: 1px solid var(--muted, #ececec); }
.alp-agenda .agenda-row:first-child { border-top: 0; }

.agenda-main { display: grid; gap: 6px; }
.agenda-title { margin: 0; font-family: var(--heading-font, "procoreSans", system-ui); font-weight: 700; }
.agenda-meta { opacity: .95; line-height: 1.4; }

.speakers-toggle {
  appearance: none;
  border: 1px solid var(--muted, #ececec);
  background: #fff;
  border-radius: 5px;
  padding: 6px 12px 6px 34px;  /* caret space */
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  position: relative;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.agenda-toggle:hover, .agenda-toggle:focus {
  background: #fafafa;
  border-color: var(--brand, #ff5201);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #ff5201) 20%, transparent);
}
/* caret */
.agenda-toggle::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(-45deg);
  transition: transform .2s ease;
  opacity: .9;
}
.agenda-toggle.is-open::before { transform: translateY(-30%) rotate(45deg); }

.agenda-desc { 
  overflow: hidden;
  max-height: 0;               /* baseline (collapsed) */
  transition: max-height .25s ease;
  margin-top: 8px;
  border-left: 3px solid var(--brand, #ff5201);
  padding-left: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 0 0 var(--muted, #ececec) inset;
  color: var(--text, #4d4f53);
}
.agenda-desc[hidden] { display: block; }  /* keep flow for measuring */
.agenda-desc.open { /* marker class for open state */ }

/* Table spacing */
.alp-agenda td { padding: 12px; vertical-align: top; }
.alp-agenda { table-layout: fixed; width: 100%; }
.alp-agenda td { overflow-wrap: anywhere; }
.alp-agenda td:first-child { white-space: nowrap; width: 120px; }

/* === Main Agenda matrix (time shown once on the left) === */
.alp-agenda-matrix-wrap { overflow: auto; }
.alp-agenda-matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.alp-agenda-matrix th,
.alp-agenda-matrix td {
  padding: 12px;
  border-top: 2px solid var(--muted, #ececec);
  vertical-align: top;
  text-align: left;
  word-break: break-word;
}
.alp-agenda-matrix thead th {
  background: #fafafa;
  font-weight: 700;
}
.alp-agenda-matrix .time-col { width: 120px; white-space: nowrap; }
.alp-agenda-matrix .alp-time { color: var(--brand, #ff5201); font-weight: 700; }

/* Keep agenda tabs from widening the page */
.alp-panel { max-width: 100%; }
.alp-panel .alp-agenda,
.alp-agenda-matrix { width: 100%; }



/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .agenda-desc, .agenda-toggle::before { transition: none; }
}

/* Inline track title + CTA under each video */
.track-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 15px;
  flex-wrap: wrap;            /* allows natural wrap on smaller screens */
}

.track-bar .track-subtitle {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.25;
}

.track-bar .alp-btn {
  white-space: nowrap;        /* keeps button on one line when space allows */
}

/* Optional: ensure no stray floats affect layout */
.hero-cta { float: none !important; margin: 0 !important; }

   /* Track header (title + CTA inline) */
    .track-head {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; margin: 10px 0 12px;
    }
    .track-title {
      margin: 0; font-weight: 700; font-size: clamp(18px, 2.2vw, 22px);
    }

    /* Shared collapsible for speakers */
    .collapsible-content { overflow: hidden; max-height: 0; transition: max-height 0.28s ease; }
    .collapsible-content.open { padding-top: 8px; }
    .speakers-toggle::after { content: " ▼"; font-size: .85em; }
    .speakers-toggle.is-open::after { content: " ▲"; }

    /* Optional tidy list */
    .speaker-list-inline { margin: 0; padding-left: 1rem; }
    .speaker-list-inline li { margin: 4px 0; }

/* 16:9 responsive wrapper with rounded corners */
.video-16x9 {
  width: 100%;
  aspect-ratio: 16 / 9;  /* modern browsers */
  border-radius: 6px;
  overflow: hidden;      /* keeps rounded corners on player */
  background: #000;
  position: relative;
}
.video-16x9 mux-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-16x9 { position: relative; height: 0; padding-top: 56.25%; }
  .video-16x9 mux-player { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* Under-form helper */
.reg-helper { margin-top: 10px; }
.linklike { background: none; border: 0; color: var(--accent, #007ac9); text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }
.linklike:hover, .linklike:focus { text-decoration: none; }

/* Modal (namespaced to avoid Bootstrap) */
.alp-modal[hidden] { display: none; }
.alp-modal { position: fixed; inset: 0; z-index: 2000; display: block; }
.alp-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.alp-modal-dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 32px));
  background: #fff; border-radius: 10px;
  padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.alp-modal-close { position: absolute; top: 8px; right: 8px; background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }

/* Result styles */


.lookup-result { margin-top: 12px; padding: 10px; border-radius: 8px; }
.lookup-result.success { background: #eef9f0; color: #0b6b2e; border: 1px solid #bfe7c8; }
.lookup-result.error { background: #fff3f3; color: #a30000; border: 1px solid #f0bcbc; }
.lookup-result .break { word-break: break-all; }
.reg-helper { margin-top: 12px; }
.linklike { text-decoration: underline; cursor: pointer; }

