/* Director Education schedule: /director-education (calendar section), the diploma
   pages /director-education/{diploma} and the module pages. Scoped to .de-sched.
   Tokens come from gbi-tokens.css (loaded globally). */

.de-sched .de-crumbs{font-size:14px;color:rgba(255,255,255,.8);margin-bottom:18px}
.de-sched .de-crumbs a{color:#fff;text-decoration:underline}
.de-sched .de-facts{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 28px;color:rgba(255,255,255,.9);font-size:16px;list-style:none}
.de-sched .de-facts li{padding:0}
.de-sched .de-flash{background:var(--cream);border-left:4px solid var(--crimson);border-radius:var(--rad);padding:16px 20px;margin:0 0 22px}
.de-sched .de-note{color:var(--muted);font-size:14.5px;margin-top:14px;max-width:760px}
.de-sched .de-outcomes{margin:18px 0 0 20px;color:var(--ink)}
.de-sched .de-outcomes li{margin:0 0 8px;padding-left:4px}

.de-sched .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* One row per date */
.de-sched .de-dates{display:grid;gap:14px;margin-top:26px}
.de-sched .de-date{display:grid;grid-template-columns:1.4fr 1.2fr auto;gap:16px;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:var(--rad);padding:18px 22px;box-shadow:var(--shadow)}
.de-sched .de-date h3{font-size:18px;margin:0 0 2px}
.de-sched .de-date .de-when{color:var(--muted);font-size:14.5px}
.de-sched .de-local{display:block;color:var(--brand);font-weight:600;font-size:14px;margin-top:2px}
.de-sched .de-who{font-size:15px}
.de-sched .de-who strong{display:block}
.de-sched .de-tbc{color:var(--muted);font-style:italic}
.de-sched .de-seats{display:block;font-size:13.5px;color:var(--crimson);font-weight:600;margin-top:2px}
.de-sched .de-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.de-sched .de-actions .btn{padding:11px 20px;font-size:15px;white-space:nowrap}
.de-sched .de-ics{font-size:13.5px;font-weight:600}
.de-sched .de-full{color:var(--muted);font-weight:600}
.de-sched .de-tag{display:inline-block;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--crimson);margin-bottom:4px}

/* Tables: the diploma schedule and the overview calendar */
.de-sched .de-table-wrap{overflow-x:auto;margin-top:24px}
.de-sched table.de-table{border-collapse:collapse;width:100%;font-size:15px;background:var(--white)}
.de-sched .de-table th,.de-sched .de-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.de-sched .de-table thead th{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700;background:var(--cream)}
.de-sched .de-table td a{font-weight:600}
.de-sched .de-table .de-mod{min-width:220px}
.de-sched .de-table .de-next{min-width:240px}
.de-sched .de-table ul{list-style:none;margin:0;padding:0}
.de-sched .de-table ul li{padding:1px 0}

/* Start dates for the full diploma */
.de-sched .de-starts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin-top:24px}
.de-sched .de-start{background:var(--white);border:1px solid var(--line);border-radius:var(--rad);padding:20px 22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px}
.de-sched .de-start strong{font-size:17px}
.de-sched .de-start .btn{margin-top:10px;padding:11px 18px;font-size:15px;text-align:center}

/* Facilitator card */
.de-sched .de-person{display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:start;background:var(--white);border:1px solid var(--line);border-radius:var(--rad);padding:24px;margin-top:22px;max-width:820px}
.de-sched .de-person img{width:120px;height:120px;object-fit:cover;border-radius:50%}
.de-sched .de-person h3{font-size:20px;margin-bottom:2px}
.de-sched .de-person .role{color:var(--crimson);font-weight:600;margin-bottom:10px}
.de-sched .de-person p{color:var(--muted)}
.de-sched .de-person.no-photo{grid-template-columns:1fr}

/* Other modules */
.de-sched .de-mods{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 22px}
.de-sched .de-mods a{font-weight:600}
.de-sched .de-mods .current{color:var(--muted);font-weight:600}

/* Times table */
.de-sched .de-times{border-collapse:collapse;width:100%;max-width:640px;font-size:15.5px;margin-top:10px}
.de-sched .de-times caption{text-align:left;color:var(--ink);font-weight:700;font-size:15px;padding:16px 0 6px;caption-side:top}
.de-sched .de-times th,.de-sched .de-times td{text-align:left;padding:9px 14px 9px 0;border-bottom:1px solid var(--line)}
.de-sched .de-times th[scope=row]{font-weight:600}

/* Diploma tabs on the overview calendar */
.de-sched .de-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.de-sched .de-tabs button{border:1px solid var(--brand);background:transparent;color:var(--brand);border-radius:999px;padding:8px 16px;font-weight:600;font-size:14.5px;cursor:pointer}
.de-sched .de-tabs button[aria-pressed=true]{background:var(--brand);color:#fff}

@media (max-width:860px){
  .de-sched .de-date{grid-template-columns:1fr}
  .de-sched .de-actions{align-items:flex-start;flex-direction:row;flex-wrap:wrap}
  .de-sched .de-mods{grid-template-columns:1fr}
  .de-sched .de-person{grid-template-columns:1fr}
}
