/* ============================================
   LOCAL WISDOM — EVENT AMPLIFY
   Talk Page Stylesheet
   Layout follows past-events/unite-2025.html.
   Load after shared.css.
   ============================================ */

/* HERO */
.cs-hero { position: relative; height: 90vh; min-height: 600px; overflow: hidden; }
.cs-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cs-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,12,20,0.88) 0%, rgba(15,12,20,0.6) 40%, rgba(15,12,20,0.1) 68%, transparent 100%), linear-gradient(to top, rgba(15,12,20,0.6) 0%, transparent 50%); }
.cs-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 var(--pad) 80px; }
.cs-hero-content-inner { max-width: var(--max); margin: 0 auto; }
.cs-hero-back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 24px; transition: color 0.2s; }
.cs-hero-back:hover { color: var(--white); }
.cs-hero-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.cs-hero-title { font-size: clamp(44px, 6vw, 80px); font-weight: 700; line-height: 1; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; }
.cs-hero-sub { font-size: clamp(18px, 2vw, 24px); font-weight: 300; line-height: 1.3; color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 24px; }
.cs-hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cs-hero-meta-item { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 8px; }
.cs-hero-meta-item::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); flex-shrink: 0; }
.cs-hero-meta-item:first-child::before { display: none; }

/* OVERVIEW */
.cs-overview { padding: 80px var(--pad); max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cs-overview-body { font-size: 17px; font-weight: 400; line-height: 1.8; color: var(--mid); }
.cs-overview-body p { margin-bottom: 16px; }
.cs-overview-body p:last-child { margin-bottom: 0; }
.cs-overview-list { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.cs-overview-list li { margin-bottom: 4px; }
.cs-overview-lead { font-size: 22px; font-weight: 300; line-height: 1.4; color: var(--black); }
.cs-video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: var(--black); }
.cs-video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* AT A GLANCE (right column of the overview) */
.cs-glance { background: var(--light); border-radius: 4px; padding: 32px 40px; }
.cs-glance-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.5; }
.cs-glance-row:last-child { border-bottom: none; }
.cs-glance-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); padding-top: 3px; }
.cs-glance-value { color: var(--black); }

/* ANCHOR TABS */
.cs-anchorbar { position: sticky; top: 64px; z-index: 90; background: var(--white); border-bottom: 1px solid var(--border); }
.cs-anchorbar-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; overflow-x: auto; scrollbar-width: none; }
.cs-anchorbar-inner::-webkit-scrollbar { display: none; }
.cs-anchortab { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); text-decoration: none; padding: 16px 20px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; }
.cs-anchortab:hover { color: var(--black); }
.cs-anchortab.active { color: var(--pink); border-bottom-color: var(--pink); font-weight: 600; }

/* TAKEAWAYS */
.cs-takeaways { padding: 100px var(--pad); background: var(--white); }
.cs-takeaways-inner { max-width: var(--max); margin: 0 auto; }
.cs-takeaways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.cs-takeaways-col h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.cs-takeaway { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--border); }
.cs-takeaway-num { font-size: 28px; font-weight: 700; line-height: 1; color: var(--pink); min-width: 36px; letter-spacing: -0.02em; }
.cs-takeaways-col:last-child .cs-takeaway-num { color: var(--blue); }
.cs-takeaway-title { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--black); margin-bottom: 4px; }
.cs-takeaway-body { font-size: 15px; line-height: 1.6; color: var(--mid); }
.cs-takeaways-single { grid-template-columns: 1fr; }
.cs-takeaways-single .cs-takeaway-num { color: var(--pink); }
.cs-takeaways-list2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }

/* SPEAKERS (Unite's team block) */
.cs-team { padding: 80px var(--pad); background: #35393e; }
.cs-team-inner { max-width: var(--max); margin: 0 auto; }
.cs-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.cs-team-grid-2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.cs-team-member { display: flex; align-items: center; gap: 16px; }
.cs-team-photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--border); }
.cs-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cs-team-name { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.cs-team-role { font-size: 13px; color: rgba(255,255,255,0.6); }
.cs-team-tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; margin-top: 4px; }
.cs-team-tag-pink { background: rgba(234,40,118,0.08); color: var(--pink); }
.cs-team-tag-blue { background: rgba(0,166,216,0.08); color: var(--blue); }
.cs-team-link { display: inline-block; margin-top: 6px; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); transition: color 0.2s; }
.cs-team-link:hover { color: var(--pink); }

/* MASONRY GALLERY */
.cs-gallery { padding: 100px var(--pad); background: var(--light); }
.cs-gallery-inner { max-width: var(--max); margin: 0 auto; }
.cs-gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.cs-gallery-count { font-size: 13px; color: var(--gray); }
.cs-masonry { columns: 3; gap: 6px; }
.cs-masonry-item { break-inside: avoid; margin-bottom: 6px; overflow: hidden; cursor: pointer; position: relative; }
.cs-masonry-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.cs-masonry-item:hover img { transform: scale(1.03); }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img-wrap { max-width: 90vw; max-height: 90vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; }
.lightbox-close { position: fixed; top: 24px; right: 28px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 32px; cursor: pointer; line-height: 1; padding: 8px; transition: color 0.2s; z-index: 1001; }
.lightbox-close:hover { color: var(--white); }
.lightbox-btn { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; z-index: 1001; }
.lightbox-btn:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,0.5); z-index: 1001; }

/* ATTENDEE VOICES */
.cs-voices { padding: 100px var(--pad); background: var(--white); }
.cs-voices-inner { max-width: var(--max); margin: 0 auto; }
.cs-quote { max-width: 880px; margin-top: 40px; border-left: 3px solid var(--pink); padding: 8px 0 8px 40px; }
.cs-quote-secondary { margin-top: 48px; border-left-color: var(--blue); }
.cs-quote-secondary .cs-quote-text { font-size: clamp(19px, 1.8vw, 24px); }
.cs-quote-text { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; line-height: 1.35; color: var(--black); letter-spacing: -0.01em; margin-bottom: 24px; }
/* Supporting quotes under a lead quote — use when a talk has 3+ testimonials */
.cs-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.cs-quote-grid .cs-quote { margin-top: 0; max-width: none; padding: 4px 0 4px 24px; border-left-color: var(--blue); display: flex; flex-direction: column; justify-content: space-between; }
.cs-quote-grid .cs-quote-text { font-size: 17px; line-height: 1.6; margin-bottom: 20px; }
.cs-quote-grid .cs-quote-cite { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
.cs-quote-cite { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--mid); }
.cs-quote-cite strong { font-weight: 600; color: var(--black); }
.cs-post-link { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.cs-post-link:hover { color: var(--pink); }
.cs-post-link svg { transition: transform 0.2s; }
.cs-post-link:hover svg { transform: translateX(3px); }

/* RECAP VIDEO (optional — omit the section and its tab when there is no video) */
.cs-video { padding: 100px var(--pad); max-width: var(--max); margin: 0 auto; }
.cs-video-header { margin-bottom: 24px; }

/* STATS */
.cs-stats { padding: 80px var(--pad); background: #35393e; }
.cs-stats-inner { max-width: var(--max); margin: 0 auto; }
.cs-stats-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 48px; display: flex; align-items: center; gap: 10px; }
.cs-stats-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--blue); }
.cs-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.cs-stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cs-stat { background: var(--black); padding: 40px 32px; }
.cs-stat-num { font-size: clamp(36px, 4vw, 52px); font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px; }
.cs-stat-num span { color: var(--pink); }
.cs-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.4; }
.cs-stats-note { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 20px; }

@media (max-width: 768px) {
  .cs-hero { height: 70vh; min-height: 460px; }
  .cs-hero img { object-position: 42% 30%; }
  .cs-hero-content { padding-bottom: 48px; }
  .cs-hero-title { font-size: 38px; }
  .cs-overview { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; }
  .cs-glance { padding: 24px 24px; }
  .cs-glance-row { grid-template-columns: 1fr; gap: 4px; }
  .cs-takeaways { padding: 60px 20px; }
  .cs-takeaways-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-takeaways-list2 { grid-template-columns: 1fr; }
  .cs-masonry { columns: 2; }
  .cs-gallery { padding: 60px 20px; }
  .cs-gallery-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cs-voices { padding: 60px 20px; }
  .cs-quote { padding-left: 24px; }
  .cs-quote-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .cs-stats { padding: 48px 20px; }
  .cs-stats-grid, .cs-stats-grid-4 { grid-template-columns: 1fr 1fr; }
  .cs-stat { padding: 28px 20px; }
  .cs-team { padding: 48px 20px; }
  .cs-team-grid, .cs-team-grid-2 { grid-template-columns: 1fr; }
  .cs-video { padding: 60px 20px; }
}
