/* Firesides: /firesides index and /firesides/<slug> session pages. */

/* Index grid */
/* Intro lines run wide and wrap fluidly: fewer lines on big screens, more as the window narrows. */
.hero .fs-sub { max-width: none; text-wrap: balance; }
@media (min-width: 1100px) { .hero .fs-sub { white-space: nowrap; } }
.fs-upcoming { padding-top: 40px; }
.fs-upcoming h2, .fs-past h2 { font-size: clamp(26px, 2.6vw, 34px); }
/* Contrast's widget can't report its height, so the frame is sized for two events (count=2 in the widget URL). */
.fs-upcoming iframe { display: block; width: 100%; height: 230px; margin-top: 12px; border: 0; }
.fs-past { padding-top: 40px; padding-bottom: 104px; }
.fs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 28px; }
.fs-tile { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.fs-tile__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #161618; box-shadow: 0 24px 48px -28px rgba(40,30,80,.45); }
.fs-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.fs-tile:hover .fs-tile__img img { transform: scale(1.03); }
.fs-tile__time { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(15,15,16,.8); color: #fff; font-size: 13px; }
.fs-tile__date { margin-top: 8px; font-size: 14px; color: var(--grey); }
.fs-tile b { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.fs-tile:hover b { color: var(--lilac-text); }
.fs-tile__card { font-size: 15px; color: var(--grey); }

/* Session page */
.fs-hero .hero__body { padding-top: 48px; }
.fs-hero .hero__body h1 { margin-top: 0; }
.fs-back { display: inline-block; margin-bottom: 18px; font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none; }
.fs-back:hover { color: #fff; }
.fs-hero.hero h1 { max-width: none; font-size: clamp(30px, 3vw, 42px); text-wrap: balance; }
.fs-hero .hero__stage { margin-top: 36px; padding-bottom: 150px; }
.fs-player { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.fs-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.fs-article { max-width: calc(760px + 2 * var(--gutter)); padding-top: 72px; padding-bottom: 96px; }
.fs-article section + section { margin-top: 48px; }
.fs-summary p { font-size: 20px; line-height: 1.55; color: var(--ink); }
.fs-summary p + p { margin-top: 16px; }
.fs-article h2 { font-size: clamp(26px, 2.6vw, 32px); }
.fs-takeaways { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.fs-takeaways li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.55; color: var(--grey); }
.fs-takeaways li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tint, #f6f3fd); color: var(--lilac-text); font-size: 12px; font-weight: 700; }
.fs-transcript { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fs-transcript summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 700; }
.fs-transcript summary::-webkit-details-marker { display: none; }
.fs-transcript summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.fs-transcript[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fs-transcript__body { padding-bottom: 24px; }
.fs-transcript__body p { font-size: 16px; line-height: 1.65; color: var(--grey); }
.fs-transcript__body p + p { margin-top: 14px; }
.fs-transcript__body b { color: var(--ink); }

@media (max-width: 900px) { .fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .fs-grid { grid-template-columns: 1fr; }
  .fs-upcoming { padding-top: 64px; }
  .fs-hero .hero__stage { padding-bottom: 110px; }
  .fs-summary p { font-size: 18px; }
}
