/* Academy workshops page (/academy/workshops/), loads after scale.css. */

/* hero: back link + the agenda card on the right */
.ws-back { font-size: 0.9rem; font-weight: 550; color: var(--ink-3); transition: color .2s; }
.ws-back:hover { color: var(--ink); }
.ws-hero .uh-title { font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.8rem); }
.ws-agenda { display: grid; gap: 18px; padding: 30px 28px 26px; border-radius: 28px; background: var(--dark); color: var(--on-dark-2); box-shadow: 0 60px 100px -60px rgba(14,14,13,.6); }
.ws-agenda-head { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.05rem; color: var(--on-dark); }
.ws-agenda-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.ws-agenda-list { list-style: none; display: grid; gap: 10px; }
.ws-agenda-list a { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #1D1C1A; border: 1px solid #2A2926; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.ws-agenda-list a:hover { border-color: #4A4844; background: #22211F; }
.ws-agenda-list b { font-family: var(--display); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; color: var(--on-dark); }
.ws-agenda-list .arrow { color: var(--on-dark-2); transition: transform .3s var(--ease); }
.ws-agenda-list a:hover .arrow { transform: translateX(4px); color: var(--on-dark); }
.ws-when { white-space: nowrap; font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: 0.02em; }
.ws-agenda-foot { font-size: 0.9rem; }
.ws-agenda-foot a { color: var(--on-dark); border-bottom: 1px solid #4A4844; }

/* in-company: one row per halte, its workshops as cards */
.ws-offer { padding: clamp(96px, 12vw, 160px) 0; }
.ws-halts { display: grid; }
.ws-halt { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(24px, 4vw, 64px); padding: 36px 0; border-top: 1px solid var(--line); }
.ws-halt-head { display: grid; gap: 6px; align-content: start; }
.ws-halt-head h3 { font-size: 1.6rem; letter-spacing: -0.025em; }
.ws-halt-head p:last-child { color: var(--ink-3); }
.ws-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ws-mod { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: var(--r); background: var(--bg-soft); transition: background-color .3s var(--ease), transform .4s var(--ease); }
.ws-mod:hover { background: #EEECE7; transform: translateY(-4px); }
.ws-badge { align-self: start; font-size: 0.75rem; font-weight: 600; color: var(--coral-ink); background: var(--coral-tint); border-radius: 999px; padding: 4px 10px; }
.ws-badge:empty { display: none; }
.ws-mod-title { font-family: var(--display); font-size: 1.35rem; font-weight: 550; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.ws-mod-desc { color: var(--ink-2); line-height: 1.45; }
.ws-mod-tag { margin-top: auto; padding-top: 12px; font-size: 0.85rem; color: var(--ink-3); }
.ws-mod-link { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.ws-mod-link .arrow { display: inline-block; transition: transform .3s var(--ease); }
.ws-mod:hover .ws-mod-link .arrow { transform: translateX(4px); }

/* open academy: session cards */
.ws-session { scroll-margin-top: 100px; }
.ws-session-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.ws-logo { height: 24px; width: auto; }
.ws-date { font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--coral-ink); text-transform: uppercase; letter-spacing: 0.02em; }
.ws-session .track-name { font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); }

.ws-final-title { max-width: 20ch; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem); }

@media (max-width: 900px) {
  .ws-halt { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ws-agenda { padding: 22px 18px; }
  .ws-agenda-list a { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; gap: 4px 12px; }
  .ws-when { grid-column: 1 / -1; }
}
