:root{
  --bg: #0b0d0c;           /* общий фон */
  --panel: rgba(17, 20, 19, 0.72);
  --border: rgba(72, 255, 166, 0.18);
  --text: #a9ffcd;         /* зелёный текст */
  --text-strong: #d6ffe8;  /* светлее зелёного */
  --muted: rgba(169, 255, 205, 0.70);

  --accent: #48ffa6;
  --accent-2: #2fdc8c;

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,0.35);
  --container: 1400px;

  --header-h: 78px;
}

.topic-slide__play {
    display: none;
}

.video-modal { z-index: 10000; }
.video-modal.is-open { display: block; }


/* Reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #121212;
  color: var(--text);
  line-height: 1.55;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-main{
  padding-top: calc(var(--header-h) + 10px); /* чтобы контент не прятался под fixed */
}

/* Typography helpers */
.h1{font-size: clamp(28px, 3vw, 46px); margin:0 0 14px; color: var(--text-strong)}
.h2{font-size: clamp(20px, 2vw, 28px); margin:0 0 10px; color: var(--text-strong)}
.lead{font-size: clamp(16px, 1.35vw, 18px); color: var(--muted); margin:0}
.muted{color: var(--muted)}
.section{padding: 56px 0}
.stack{display:grid; gap:16px}
.card{
  border: 1px solid var(--border);
  background: rgba(10, 12, 11, 0.6);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}

/* Header */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(8,10,9,0.72),
    rgba(8,10,9,0.42)
  );
  border-bottom: 1px solid rgba(72,255,166,0.14);
}

.header-inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 200px;
}
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,0.12), transparent 60%),
    linear-gradient(135deg, rgba(72,255,166,1), rgba(47,220,140,0.55));
  box-shadow: 0 16px 40px rgba(72,255,166,0.22);
  border: 1px solid rgba(255,255,255,0.10);
}
.brand-name{
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-strong);
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

.nav-list{
  display:flex;
  align-items:center;
  gap: 18px;
  list-style:none;
  padding:0;
  margin:0;
}

.nav-link{
  display:inline-flex;
  align-items:center;
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover{
  background: rgba(72,255,166,0.08);
  color: var(--text-strong);
  transform: translateY(-1px);
}

/* Button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, rgba(72,255,166,1), rgba(47,220,140,0.85));
  color: #06110c;
  box-shadow: 0 18px 50px rgba(72,255,166,0.20);
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-primary:active{ transform: translateY(0); opacity: .92; }

/* Burger button */
.nav-toggle{
  display:none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(10,12,11,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor:pointer;
  padding:0;
}
.nav-toggle-lines{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle-lines::before{ top: -7px; }
.nav-toggle-lines::after{ top: 7px; }

/* Mobile nav */
@media (max-width: 920px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav{
    position: absolute;
    top: calc(var(--header-h) - 6px);
    right: 24px;
    left: 24px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(8,10,9,0.92);
    border: 1px solid rgba(72,255,166,0.18);
    box-shadow: var(--shadow);
  }

  .nav.is-open{ display:flex; }

  .nav-list{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-link{
    padding: 12px 12px;
    justify-content: space-between;
  }

  .btn{ width:100%; padding: 12px 16px; }
  .brand{ min-width: unset; }
}

/* Burger animation when open */
.site-header.is-open .nav-toggle-lines{
  background: transparent;
}
.site-header.is-open .nav-toggle-lines::before{
  top: 0;
  transform: rotate(45deg);
}
.site-header.is-open .nav-toggle-lines::after{
  top: 0;
  transform: rotate(-45deg);
}

/* Footer */
.site-footer{
  border-top: 1px solid rgba(72,255,166,0.14);
  padding: 26px 0;
  margin-top: 40px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 640px){
  .footer-inner{flex-direction:column; align-items:flex-start}
  .container{ width: min(var(--container), calc(100% - 32px)); }
}


/* Desktop nav stays visible */
.nav-desktop{
  display:flex;
}

/* Mobile off-canvas menu (fullscreen) */
.nav-mobile{
  position: fixed;
  inset: 0;
  z-index: 9999; /* Must be above header and everything */
  pointer-events: none; /* Disabled when closed */
  opacity: 0;
  transition: opacity .25s ease;
  background: rgba(0,0,0,0); /* Overlay background handled below */
}

/* Dark overlay behind the panel */
.nav-mobile::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(5, 7, 6, 0.92); /* Solid-ish overlay */
  opacity: 1; /* Always visible when menu is open (since container becomes visible) */
}

/* The sliding panel */
.nav-mobile-panel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%; /* Full width on small phones */
  background: #070a09; /* Non-transparent solid background */
  border-left: 1px solid rgba(72,255,166,0.18);
  box-shadow: -20px 0 80px rgba(0,0,0,0.55);
  transform: translateX(100%);
  transition: transform .35s ease;
  padding: 28px 22px;
  display:flex;
  flex-direction: column;
}

/* Open state */
.nav-mobile.is-open{
  pointer-events: auto;
  opacity: 1;
}

.nav-mobile.is-open .nav-mobile-panel{
  transform: translateX(0);
}

/* Close button */
.nav-close{
  align-self:flex-end;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(10,12,11,0.55);
  color: var(--text-strong);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Mobile links */
.nav-mobile-list{
  list-style:none;
  padding:0;
  margin: 34px 0 0;
  display:flex;
  flex-direction: column;
  gap: 18px;
}

.nav-mobile-list a{
  display:block;
  padding: 14px 12px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-strong);
}

.nav-mobile-list a:active{
  opacity: .9;
}

/* CTA pinned to bottom */
.nav-mobile-cta{
  margin-top: auto;
  width: 100%;
  justify-content:center;
  padding: 16px 18px;
  font-size: 18px;
}

/* Desktop/mobile switch */
@media (max-width: 920px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}

@media (min-width: 921px){
  .nav-mobile{ display:none !important; }
}


/* Home hero block */
.home-hero{
  padding: 46px 0 72px;
}

.home-hero__head{
  text-align: left;
}

.home-hero__title{
  margin: 0 0 10px;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 800;
  color: var(--text-strong);
}

.home-hero__subtitle{
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  color: var(--muted);
}

/* 50/50 split section (clean layout, no background) */
.home-split{
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50 / 50 */
  gap: 32px;
  align-items: center; /* Vertical centering */
}

/* Left image */
.home-split__media{
  border-radius: 18px;
  overflow: hidden;
}

.home-split__image{
  width: 100%;
  height: clamp(260px, 36vw, 440px);
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Right text */
.home-split__content{
  padding: 0;
}

.home-split__text{
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--text);
}

.home-split__text p{
  margin: 0;
}

/* Responsive */
@media (max-width: 920px){
  .home-split{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-split__image{
    height: clamp(220px, 60vw, 360px);
  }
}


/* Membership block */
.membership{
  padding: 62px 0;
}

.membership__grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.membership__intro{
  position: sticky;
  top: calc(var(--header-h) + 22px); /* Keeps intro visible on scroll (desktop) */
  align-self: start;
}

.membership__title{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  color: var(--text-strong);
}

.membership__subtitle{
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--muted);
}

/* Items grid */
.membership__items{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.membership__item{
  border-radius: 18px;
  padding: 16px 16px 16px 14px;
  background: rgba(72,255,166,0.06);
  border: 1px solid rgba(72,255,166,0.14);
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.membership__item:hover{
  transform: translateY(-2px);
  background: rgba(72,255,166,0.08);
  border-color: rgba(72,255,166,0.20);
}

.membership__icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #06110c;
  background: linear-gradient(135deg, rgba(72,255,166,1), rgba(47,220,140,0.75));
  box-shadow: 0 16px 44px rgba(72,255,166,0.18);
}

.membership__text{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--text-strong);
}

/* Make the last item wider for balance */
.membership__item--wide{
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 920px){
  .membership{
    padding: 52px 0;
  }

  .membership__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .membership__intro{
    position: static; /* Disable sticky on mobile */
  }

  .membership__items{
    grid-template-columns: 1fr;
  }

  .membership__item--wide{
    grid-column: auto;
  }
}


/* Sections must never define their own background */
section{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* Who block */
.who{
  padding: 64px 0;
}

.who__head{
  max-width: 920px;
  margin-bottom: 26px;
}

.who__title{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  color: var(--text-strong);
}

.who__subtitle{
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.7;
}

/* Cards */
.who__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.who__card{
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(72,255,166,0.06);
  border: 1px solid rgba(72,255,166,0.14);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.who__card:hover{
  transform: translateY(-2px);
  background: rgba(72,255,166,0.08);
  border-color: rgba(72,255,166,0.22);
}

.who__card p{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-strong);
}

/* Responsive */
@media (max-width: 980px){
  .who__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .who{
    padding: 54px 0;
  }

  .who__grid{
    grid-template-columns: 1fr;
  }

  .who__card{
    padding: 16px;
  }
}


/* Who block footer */
.who__footer{
  margin-top: 28px;
  max-width: 980px;
}

.who__footer-text{
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 600;
  line-height: 1.75;
  color: var(--muted);
}

/* Industry badges */
.who__badges{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 6px;
  vertical-align: middle;
}

.who__badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  background: rgba(72,255,166,0.10);
  border: 1px solid rgba(72,255,166,0.18);
  white-space: nowrap;
}




/* Topic section: Backend systems and platforms */
.topic-section{
  padding: 45px 0;
}

.topic-section__head{
  max-width: 980px;
  margin-bottom: 18px;
}

.topic-section__title-row{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.topic-section__title{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  color: var(--text-strong);
}

.topic-section__badge{
  display:inline-flex;
  align-items:center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #06110c;
  background: linear-gradient(135deg, rgba(72,255,166,1), rgba(47,220,140,0.78));
  white-space: nowrap;
}

.topic-section__desc{
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 600;
  line-height: 1.75;
  color: var(--muted);
}

/* Slider */
.topic-slider{
  position: relative;
  margin-top: 18px;
}

.topic-slider__controls{
  display:flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.topic-slider__btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.18);
  background: transparent;
  padding: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.topic-slider__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.06);
}

.topic-slider__btn svg{
  width: 18px;
  height: 18px;
}

.topic-slider__btn svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.topic-slider__viewport{
  overflow: hidden;
  cursor: grab;
}

.topic-slider__viewport.is-dragging{
  cursor: grabbing;
}

.topic-slider__track{
  display:flex;
  gap: 14px;
  will-change: transform;
  transition: transform .35s ease;
}

/* Slide: image only + play button */
.topic-slide{
  flex: 0 0 calc((100% - 28px) / 3); /* 3 visible slides */
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(72,255,166,0.04);
}

.topic-slide__media{
  position: relative;
  width: 100%;
  display:block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor:pointer;
}

.topic-slide__img{
  width:100%;
  height: 240px;
  display:block;
  object-fit: cover;
  object-position: center;
}

.topic-slide__img--placeholder{
  height: 240px;
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
}

.topic-slide__play{
  position:absolute;
  inset:0;
  margin:auto;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(7,10,9,0.35);
  border: 1px solid rgba(214,255,232,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

.topic-slide__media:hover .topic-slide__play{
  transform: scale(1.05);
  background: rgba(7,10,9,0.48);
  border-color: rgba(72,255,166,0.55);
}

.topic-slide__play::before{
  content:"";
  position:absolute;
  left: 22px;
  top: 17px;
  width: 0;
  height: 0;
  border-left: 13px solid rgba(214,255,232,0.92);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}


/* Mobile: 1 slide per view */
@media (max-width: 900px){
  .topic-section{
    padding: 58px 0;
  }

  .topic-slide{
    flex: 0 0 100%;
  }

  .topic-slide__img,
  .topic-slide__img--placeholder{
    height: 260px;
  }
}

/* Video modal */
.video-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display:none;
}

.video-modal.is-open{
  display:block;
}

.video-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(5,7,6,0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-modal__panel{
  position:absolute;
  inset: 20px;
  margin:auto;
  width: min(980px, calc(100% - 32px));
  height: min(560px, calc(100% - 32px));
  background: #070a09;
  border: 1px solid rgba(72,255,166,0.18);
  border-radius: 18px;
  box-shadow: 0 30px 120px rgba(0,0,0,0.65);
  overflow:hidden;
}

.video-modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(10,12,11,0.55);
  color: var(--text-strong);
  cursor:pointer;
  font-size: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 1;
}

.video-modal__content{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.video-modal__content video,
.video-modal__content iframe{
  width:100%;
  height:100%;
  border:0;
}

.topic-section__title-row{
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Badge stays near the title */
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}


/* Events page */
.events{
  padding: 15px 0 80px;
}

.events__title{
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 850;
  color: var(--text-strong);
}

/* Collage image */
.events__hero{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.04);
}

.events__hero-img{
  width: 100%;
  height: clamp(220px, 28vw, 420px);
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Two-column layout */
.events__grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.events__text p{
  margin: 0 0 14px;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 600;
  line-height: 1.8;
  color: var(--muted);
}

.events__text p:last-child{
  margin-bottom: 0;
}

.events__aside-title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-strong);
}

.events__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.events__chip{
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-strong);
  background: rgba(72,255,166,0.08);
  border: 1px solid rgba(72,255,166,0.18);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.events__chip:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.10);
  border-color: rgba(72,255,166,0.26);
}

/* Responsive */
@media (max-width: 920px){
  .events{
    padding: 25px 0 64px;
  }

  .events__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .events__hero-img{
    height: clamp(220px, 58vw, 360px);
  }
}


/* Upcoming Livestreams */
.events-upcoming{
  padding: 64px 0 84px;
}

.events-upcoming__head{
  margin-bottom: 18px;
}

.events-upcoming__title{
  margin: 0;
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 850;
  color: var(--text-strong);
}

.events-upcoming__grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* Desktop: 2 columns */
  gap: 18px;
}

/* Event card */
.upcard{
  border-radius: 20px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  overflow: hidden;
}

.upcard__date{
  padding: 14px 16px 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: baseline;
}

.upcard__weekday{
  font-weight: 850;
  color: var(--text-strong);
}

.upcard__date-text{
  font-weight: 650;
  color: var(--muted);
}

.upcard__media{
  overflow: hidden;
}

.upcard__img{
  width: 100%;
  height: clamp(200px, 18vw, 280px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.upcard__img--placeholder{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
}

.upcard__title{
  margin: 0;
  padding: 14px 16px 18px;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-strong);
}

/* Mobile: stack */
@media (max-width: 920px){
  .events-upcoming{
    padding: 52px 0 64px;
  }

  .events-upcoming__grid{
    grid-template-columns: 1fr; /* Mobile: 1 column */
  }

  .upcard__img{
    height: clamp(220px, 56vw, 360px);
  }
}


/* Single Event page */
.event-single{
  padding: 0px 0 84px;
}

.event-single__grid{
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 and 1/3 */
  gap: 26px;
  align-items: start;
}

/* Hero gradient card */
.event-hero{
  border-radius: 22px;
  padding: 22px 22px 26px;
  border: 1px solid rgba(72,255,166,0.14);
  background:
    radial-gradient(900px 420px at 10% 15%, rgba(72,255,166,0.22), transparent 55%),
    radial-gradient(900px 420px at 85% 20%, rgba(154,107,255,0.22), transparent 58%),
    linear-gradient(135deg, rgba(18,22,20,0.92), rgba(10,12,11,0.92));
  box-shadow: 0 30px 120px rgba(0,0,0,0.45);
}

.event-hero__datetime{
  display:inline-flex;
  font-weight: 750;
  color: rgba(214,255,232,0.85);
  font-size: 14px;
}

.event-hero__title{
  margin: 10px 0 12px;
  font-size: clamp(26px, 3.0vw, 44px);
  font-weight: 900;
  color: var(--text-strong);
  line-height: 1.1;
}

.event-hero__speakerline{
  display:flex;
  flex-direction: column;
  gap: 4px;
}

.event-hero__speaker{
  font-weight: 850;
  color: rgba(214,255,232,0.95);
}

.event-hero__role{
  font-weight: 650;
  color: var(--muted);
}

/* Content */
.event-content{
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  padding: 20px 22px;
}

.event-content__h2{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-strong);
}

.event-content__wysiwyg{
  color: var(--muted);
  font-weight: 600;
  line-height: 1.85;
  font-size: 15px;
}

.event-content__wysiwyg p{ margin: 0 0 12px; }
.event-content__wysiwyg p:last-child{ margin-bottom: 0; }
.event-content__wysiwyg ul{ margin: 10px 0 0 18px; }
.event-content__wysiwyg li{ margin: 6px 0; }

.event-divider{
  height: 1px;
  margin: 18px 0 18px;
  background: rgba(72,255,166,0.14);
}

/* Speaker block */
.speaker{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}

.speaker__avatar{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow:hidden;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(10,12,11,0.45);
}

.speaker__avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}

.speaker__avatar-placeholder{
  width:100%;
  height:100%;
  background:
    radial-gradient(240px 140px at 30% 20%, rgba(72,255,166,0.18), transparent 55%),
    rgba(10,12,11,0.55);
}

.speaker__bio{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.75;
  font-size: 15px;
}

.speaker__link{
  display:inline-flex;
  font-weight: 850;
  color: var(--accent);
  border-bottom: 1px solid rgba(72,255,166,0.35);
  padding-bottom: 2px;
}

/* Aside (sticky) */
.event-single__aside{
  position: sticky;
  top: calc(var(--header-h) + 18px); /* Respect sticky header */
}

.event-aside{
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(10,12,11,0.55);
  padding: 16px;
}

.event-aside__status{
  font-weight: 900;
  color: rgba(214,255,232,0.92);
  margin-bottom: 12px;
}

.event-aside__btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(72,255,166,0.10);
  border: 1px solid rgba(72,255,166,0.22);
  color: var(--text-strong);
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  margin-bottom: 14px;
}

.event-aside__btn:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.14);
  border-color: rgba(72,255,166,0.30);
}

.event-aside__btn--disabled{
  opacity: 0.55;
  pointer-events: none;
}

.event-aside__btn-icon svg{
  width: 18px;
  height: 18px;
  margin-top: 7px;
}
.event-aside__btn-icon svg rect,
.event-aside__btn-icon svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-aside__row{
  padding: 12px 10px;
}

/* Divider appears only when there is a recording button above */
.event-aside.has-recording .event-aside__row{
  border-top: 1px solid rgba(72,255,166,0.10);
}

/* But never on the very first row */
.event-aside__row:first-of-type{
  border-top: none !important;
}


.event-aside__label{
  font-size: 12px;
  font-weight: 900;
  color: rgba(169,255,205,0.70);
  margin-bottom: 6px;
  text-transform: none;
}

.event-aside__value{
  font-weight: 800;
  color: rgba(214,255,232,0.92);
  line-height: 1.4;
}

/* Share */
.event-aside__share{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(72,255,166,0.10);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.event-aside__share-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: rgba(214,255,232,0.92);
  font-weight: 600;
    font-family: 'Montserrat';
    font-size: 16px;
  cursor:pointer;
  padding: 10px 10px;
  border-radius: 14px;
  transition: background .18s ease;
}

.event-aside__share-btn:hover{
  background: rgba(72,255,166,0.08);
}

.event-aside__share-btn svg{
  width: 18px;
  height: 18px;
}

.event-aside__share-btn svg path,
.event-aside__share-btn svg circle{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-aside__copied{
  font-size: 12px;
  font-weight: 900;
  color: rgba(72,255,166,0.95);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .18s ease, transform .18s ease;
}

.event-aside__copied.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Make upcoming cards clickable nicely (optional) */
.upcard--link{
  display:block;
  text-decoration:none;
}

/* Responsive */
@media (max-width: 980px){
  .event-single__grid{
    grid-template-columns: 1fr;
  }

  .event-single__aside{
    position: static;
  }

  .event-aside{
    margin-top: 14px;
  }
}


/* Past events slider (single event page) */
.event-past{
  padding: 70px 0 20px;
}

.event-past__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.event-past__title{
  margin: 0;
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 900;
  color: var(--text-strong);
}

.event-past__controls{
  display:flex;
  gap: 10px;
}

.event-past__btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.18);
  background: transparent;
  padding: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.event-past__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.06);
}

.event-past__btn svg{
  width: 18px;
  height: 18px;
}

.event-past__btn svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-past__viewport{
  overflow:hidden;
  cursor: grab;
}

.event-past__viewport.is-dragging{
  cursor: grabbing;
}

.event-past__track{
  display:flex;
  gap: 14px;
  will-change: transform;
  transition: transform .35s ease;
}

/* Cards */
.past-card{
  flex: 0 0 calc((100% - 28px) / 3); /* 3 in a row */
  min-width: 0;
  display:block;
  text-decoration:none;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.past-card:hover{
  border-color: rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.07);
}

.past-card__date{
  padding: 12px 14px 8px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(169,255,205,0.75);
}

.past-card__media{
  overflow:hidden;
}

.past-card__img{
  width:100%;
  height: 190px;
  display:block;
  object-fit: cover;
  object-position: center;
}

.past-card__img--placeholder{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
}

.past-card__title{
  padding: 12px 14px 16px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-strong);
}

/* Mobile */
@media (max-width: 900px){
  .event-past{
    padding: 54px 0 10px;
  }

  .past-card{
    flex: 0 0 100%;
  }

  .past-card__img{
    height: 240px;
  }
}


/* Contact split section */
.contact-split{
  padding: 72px 0;
}

.contact-split__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-split__title{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  color: var(--text-strong);
}

.contact-split__subtitle{
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 650;
  line-height: 1.8;
  color: var(--muted);
  max-width: 56ch;
}

.contact-split__notice{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(72,255,166,0.20);
  background: rgba(72,255,166,0.08);
  color: rgba(214,255,232,0.95);
  font-weight: 800;
}

.contact-split__notice--error{
  border-color: rgba(255,120,120,0.25);
  background: rgba(255,120,120,0.08);
}

/* Form */
.cs-form{
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(10,12,11,0.55);
  padding: 18px;
}

.cs-form__fieldset{
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}

.cs-form__legend{
  font-size: 13px;
  font-weight: 900;
  color: rgba(169,255,205,0.75);
  margin-bottom: 10px;
}

.cs-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  cursor: pointer;
  user-select: none;
}

.cs-check input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cs-check__box{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cs-check__box::after{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(72,255,166,0.95);
  transform: scale(0);
  transition: transform .14s ease;
}

.cs-check input:checked + .cs-check__box::after{
  transform: scale(1);
}

.cs-check__label{
  font-weight: 850;
  color: rgba(214,255,232,0.92);
  font-size: 14px;
}

/* Fields grid */
.cs-form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cs-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-field__label{
  font-size: 12px;
  font-weight: 900;
  color: rgba(169,255,205,0.75);
}

.cs-field__input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(7,10,9,0.55);
  color: rgba(214,255,232,0.95);
  font-weight: 700;
  padding: 12px 12px;
  outline: none;
  font-family: 'Montserrat';
}

.cs-field__input::placeholder{
  color: rgba(214,255,232,0.55);
}

.cs-field__input:focus{
  border-color: rgba(72,255,166,0.30);
  box-shadow: 0 0 0 3px rgba(72,255,166,0.10);
}

.cs-form__submit{
  margin-top: 14px;
  width: 100%;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.12);
  color: rgba(214,255,232,0.95);
  font-weight: 600;
  font-family: Montserrat;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.cs-form__submit:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.16);
  border-color: rgba(72,255,166,0.30);
}

/* Responsive */
@media (max-width: 920px){
  .contact-split{
    padding: 54px 0;
  }

  .contact-split__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cs-form__grid{
    grid-template-columns: 1fr;
  }

  .cs-check{
    margin-bottom: 10px;
  }
}


/* Custom select styling */
.cs-field select.cs-field__input{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(214,255,232,0.9) 50%),
    linear-gradient(135deg, rgba(214,255,232,0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px; /* space for arrow */
  cursor: pointer;
}

/* Hover state */
.cs-field select.cs-field__input:hover{
  border-color: rgba(72,255,166,0.28);
}

/* Focus state */
.cs-field select.cs-field__input:focus{
  border-color: rgba(72,255,166,0.36);
  box-shadow: 0 0 0 3px rgba(72,255,166,0.12);
}

/* Disabled option (placeholder) */
.cs-field select.cs-field__input option[disabled]{
  color: rgba(214,255,232,0.45);
}


/* Mentors section */
.mentors{
  padding: 30px 0;
}

.mentors__title{
  margin: 0 0 16px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  color: var(--text-strong);
}

/* Marquee */
.marquee{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.04);
  padding: 14px 0;
  margin-bottom: 22px;
}

.marquee__fade{
  position:absolute;
  top:0; bottom:0;
  width: 84px;
  z-index: 2;
  pointer-events:none;
}

.marquee__fade--left{
  left:0;
  background: linear-gradient(90deg, rgba(10,12,11,1), rgba(10,12,11,0));
}

.marquee__fade--right{
  right:0;
  background: linear-gradient(270deg, rgba(10,12,11,1), rgba(10,12,11,0));
}

.marquee__track{
  display:flex;
  width: max-content;
  gap: 22px;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

@keyframes marquee{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}

/* Pause on hover for desktop */
@media (hover:hover){
  .marquee:hover .marquee__track{
    animation-play-state: paused;
  }
}

/* Chips */
.marquee__row{
  display:flex;
  gap: 10px;
  padding: 0 18px;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(7,10,9,0.55);
  color: rgba(214,255,232,0.92);
  font-weight: 850;
  font-size: 13px;
  white-space: nowrap;
}

/* Mentors grid */
.mentors__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Card */
.mentor-card{
  border-radius: 20px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  overflow:hidden;
}

.mentor-card__media{
  position: relative;
  overflow: hidden;
}

.mentor-card__img{
  width: 100%;
  height: 290px;
  display:block;
  object-fit: cover;
  object-position: center;
}

/* Read bio pill */
.mentor-card__bio{
  position:absolute;
  left: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214,255,232,0.55);
  background: rgba(7,10,9,0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  font-size: 12px;
}

.mentor-card__name{
  margin: 0;
  padding: 14px 14px 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-strong);
}

.mentor-card__desc{
  margin: 0;
  padding: 0 14px 12px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.65;
  font-size: 14px;
  min-height: 44px; /* keeps cards aligned */
}

/* Bottom row */
.mentor-card__meta{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 14px;
}

.mentor-card__langs{
  min-width: 0;
}

.mentor-card__langs-label{
  font-size: 12px;
  font-weight: 900;
  color: rgba(169,255,205,0.75);
  margin-right: 6px;
}

.mentor-card__langs-list{
  font-size: 12px;
  font-weight: 850;
  color: rgba(214,255,232,0.92);
}

/* LinkedIn icon */
.mentor-card__li{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(7,10,9,0.55);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  flex: 0 0 auto;
}

.mentor-card__li:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.08);
}

.mentor-card__li svg{
  width: 18px;
  height: 18px;
}

.mentor-card__li svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive */
@media (max-width: 1100px){
  .mentors__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px){
  .mentors{
    padding: 54px 0;
  }

  .mentors__grid{
    grid-template-columns: 1fr;
  }

  .mentor-card__img{
    height: 260px;
  }

  /* Reduce marquee speed a bit on mobile */
  .marquee__track{
    animation-duration: 32s;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .marquee__track{
    animation: none;
    transform: none;
  }
}


/* Testimonials */
.testimonials{
  padding: 30px 0;
}

.testimonials__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonials__title{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  color: var(--text-strong);
}

.testimonials__controls{
  display:flex;
  gap: 10px;
}

.testimonials__btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.18);
  background: transparent;
  padding: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.testimonials__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.06);
}

.testimonials__btn svg{
  width: 18px;
  height: 18px;
}

.testimonials__btn svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testimonials__viewport{
  overflow:hidden;
  cursor: grab;
}

.testimonials__viewport.is-dragging{
  cursor: grabbing;
}

.testimonials__track{
  display:flex;
  gap: 14px;
  will-change: transform;
  transition: transform .35s ease;
}

/* Cards: fixed height for uniformity */
.t-card{
  flex: 0 0 calc((100% - 28px) / 3); /* 3 per view */
  min-width: 0;
  border-radius: 20px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  padding: 16px;
  display:flex;
  align-items:flex-start;
}

.t-card__text{
  margin: 0;
  color: rgba(214,255,232,0.88);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
}

/* Mobile */
@media (max-width: 900px){
  .testimonials{
    padding: 54px 0;
  }

  .t-card{
    flex: 0 0 100%;
  }
}






/* Mentorship program page */
.mentorship-page{
  padding: 64px 0 84px;
}

.mentorship-page__title{
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 900;
  color: var(--text-strong);
}

/* Block: latest event */
.mp-latest{
  padding: 54px 0 10px;
}

.mp-latest__title{
  margin: 0 0 14px;
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 900;
  color: var(--text-strong);
}


.mp-mentors-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Mentor card */
.mp-mentor-card{
  border-radius: 20px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  overflow:hidden;
}

.mp-mentor-card__media{
  overflow:hidden;
}

.mp-mentor-card__img{
  width:100%;
  height: 280px;
  display:block;
  object-fit: cover;
  object-position:center;
}

.mp-mentor-card__img--placeholder{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
}

.mp-mentor-card__body{
  padding: 14px;
  position: relative;
}

.mp-mentor-card__name{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-strong);
}

.mp-mentor-card__desc{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.6;
}

.mp-mentor-card__meta{
  font-size: 12px;
  font-weight: 850;
  color: rgba(169,255,205,0.75);
}

/* LinkedIn icon bottom-right */
.mp-mentor-card__li{
  position:absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(7,10,9,0.55);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mp-mentor-card__li:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.08);
}

.mp-mentor-card__li svg{
  width: 18px;
  height: 18px;
}

.mp-mentor-card__li svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Block: history (4 columns) */
.mp-history{
  margin-top: 46px;
}

.mp-history__title{
  margin: 0 0 14px;
  font-size: clamp(18px, 1.8vw, 34px);
  font-weight: 700;
  color: var(--text-strong);
}

.mp-history__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mp-history__card{
  border-radius: 18px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(10,12,11,0.55);
  padding: 14px;
}

.mp-history__event{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(214,255,232,0.92);
  line-height: 1.25;
}

.mp-history__list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-history__item{
  padding: 6px 0;
  border-top: 1px solid rgba(72,255,166,0.10);
  font-size: 13px;
  font-weight: 800;
  color: rgba(214,255,232,0.82);
}

.mp-history__item:first-child{
  border-top: 0;
  padding-top: 0;
}

.mp-history__empty{
  font-size: 13px;
  font-weight: 750;
  color: rgba(214,255,232,0.65);
}

/* Responsive */
@media (max-width: 1100px){
  .mp-mentors-grid{
    grid-template-columns: repeat(1, 1fr);
  }
  .mp-history__grid{
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 900px){
  .mentorship-page{
    padding: 52px 0 64px;
  }
  .mp-mentors-grid{
    grid-template-columns: 1fr;
  }
  .mp-mentor-card__img{
    height: 260px;
  }
  .mp-history__grid{
    grid-template-columns: 1fr;
  }
}


/* Mentorship cards: "Read bio" pill */
.mp-mentor-card__media{
  position: relative;
  overflow:hidden;
}

.mp-mentor-card__bio{
  position:absolute;
  left: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214,255,232,0.55);
  background: rgba(7,10,9,0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  font-size: 12px;
}

/* Make card feel clickable */
.mp-mentor-card[data-mentor-open]{
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.mp-mentor-card[data-mentor-open]:hover{
  transform: translateY(-2px);
  border-color: rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.07);
}
.mp-mentor-card[data-mentor-open]:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(72,255,166,0.12);
}

/* Mentor modal */
.mentor-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10050;
}

.mentor-modal.is-open{
  display: block;
}

.mentor-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.60);
}

.mentor-modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 28px));
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(10,12,11,0.92);
  box-shadow: 0 40px 160px rgba(0,0,0,0.65);
  overflow: hidden;
}

.mentor-modal__close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(7,10,9,0.55);
  color: rgba(214,255,232,0.92);
  font-weight: 900;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  z-index: 2;
}

.mentor-modal__close:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.08);
  border-color: rgba(72,255,166,0.28);
}

.mentor-modal__content{
  padding: 18px;
}

/* Mentor popup content */
.mentor-pop__grid{
  display:grid;
  grid-template-columns: 1fr 3fr; /* 1/4 and 3/4 feel */
  gap: 18px;
  align-items: start;
}

.mentor-pop__img{
  width: 100%;
  height: 280px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  display:block;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
}

.mentor-pop__img--placeholder{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
}

.mentor-pop__top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mentor-pop__name{
  margin: 0;
  font-size: clamp(18px, 2.0vw, 26px);
  font-weight: 900;
  color: var(--text-strong);
}

.mentor-pop__li{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(7,10,9,0.55);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  flex: 0 0 auto;
}

.mentor-pop__li:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.08);
}

.mentor-pop__li svg{
  width: 18px;
  height: 18px;
}
.mentor-pop__li svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mentor-pop__meta{
  margin-top: 6px;
  font-weight: 800;
  color: rgba(214,255,232,0.80);
}

.mentor-pop__meta-dot{
  margin: 0 6px;
  opacity: 0.7;
}

.mentor-pop__bio{
  margin-top: 12px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.85;
  font-size: 14px;
}

.mentor-pop__bio p{ margin: 0 0 10px; }
.mentor-pop__bio p:last-child{ margin-bottom: 0; }

.mentor-pop__chips{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mentor-pop__chip{
  display:inline-flex;
  align-items:center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(72,255,166,0.06);
  color: rgba(214,255,232,0.92);
  font-weight: 850;
  font-size: 12px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 900px){
  .mentor-pop__grid{
    grid-template-columns: 1fr;
  }
  .mentor-pop__img{
    height: 260px;
  }
}


/* Mentor popup testimonials */
.mentor-pop__reviews{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(72,255,166,0.14);
}

.mentor-pop__reviews-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mentor-pop__reviews-title{
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: rgba(214,255,232,0.92);
}

.mentor-pop__reviews-controls{
  display:flex;
  gap: 10px;
}

.mentor-pop__reviews-btn{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.18);
  background: transparent;
  padding: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mentor-pop__reviews-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(72,255,166,0.28);
  background: rgba(72,255,166,0.06);
}

.mentor-pop__reviews-btn svg{
  width: 18px;
  height: 18px;
}
.mentor-pop__reviews-btn svg path{
  fill: none;
  stroke: rgba(214,255,232,0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mentor-pop__reviews-viewport{
  overflow: hidden;
}

.mentor-pop__reviews-track{
  display:flex;
  gap: 14px;
  will-change: transform;
  transition: transform .35s ease;
}

.mentor-pop__review{
  flex: 0 0 100%;
  border-radius: 18px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  padding: 14px;
}

.mentor-pop__review-text{
  margin: 0;
  color: rgba(214,255,232,0.88);
  font-weight: 650;
  line-height: 1.75;
  font-size: 14px;
}

.mentor-pop__review-meta{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.mentor-pop__review-author{
  font-weight: 900;
  color: rgba(214,255,232,0.92);
  font-size: 12px;
}

.mentor-pop__review-occ{
  font-weight: 800;
  color: rgba(169,255,205,0.75);
  font-size: 12px;
}


/* Topic slide: title top, description bottom */
.topic-slide__media{
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.topic-slide__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.topic-slide__overlay{
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* top + bottom */
  z-index: 2;
  pointer-events: none; /* overlay never blocks button/slider */
}

/* Subtle premium gradient for readability */
.topic-slide__overlay::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0.72) 100%);
  z-index: -1;
}

.topic-slide__title{
  font-size: 17px;
  font-weight: 800;
  color: rgba(214,255,232,0.95);
  line-height: 1.2;
  text-shadow: 0 12px 30px rgba(0,0,0,0.55);
  max-width: 92%;
  font-family: Montserrat;
}

.topic-slide__desc{
    font-family: Montserrat;
  font-size: 14px;
  font-weight: 500;
  color: rgba(214,255,232,0.82);
  line-height: 1.5;
  text-shadow: 0 12px 30px rgba(0,0,0,0.55);
  max-width: 96%;

  /* Clamp so cards stay clean */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Make slide media keep a stable size */
.topic-slide__media{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* you can tweak: 4/3, 3/2 etc */
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  overflow: hidden;
  border-radius: 20px; /* if your card uses radius */
  line-height: 0; /* removes extra inline/button spacing */
  font-size: 0;   /* prevents baseline gaps */
}

/* Force image to cover the whole area */
.topic-slide__img,
.topic-slide__img--placeholder{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topic-slide__img{
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Featured mentors (homepage) */
.home-mentors{
  padding: 72px 0;
}

.home-mentors__title{
  margin: 0 0 16px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  color: var(--text-strong);
}

.home-mentors__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-mentor{
  border-radius: 20px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  overflow:hidden;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.home-mentor:hover{
  transform: translateY(-2px);
  border-color: rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.07);
}

.home-mentor:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(72,255,166,0.12);
}

.home-mentor__media{
  position: relative;
  overflow:hidden;
}

.home-mentor__img{
  width: 100%;
  height: 280px;
  display:block;
  object-fit: cover;
  object-position: center;
}

.home-mentor__img--placeholder{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
}

.home-mentor__bio{
  position:absolute;
  left: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214,255,232,0.55);
  background: rgba(7,10,9,0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  font-size: 12px;
}

.home-mentor__body{
  padding: 14px;
}

.home-mentor__name{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-strong);
}

.home-mentor__role{
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1100px){
  .home-mentors__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px){
  .home-mentors{
    padding: 54px 0;
  }
  .home-mentors__grid{
    grid-template-columns: 1fr;
  }
  .home-mentor__img{
    height: 260px;
  }
}

/* Testimonials author block */
.t-card{
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}

.t-card__text{
  margin-bottom: 18px;
}

.t-card__author{
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(72,255,166,0.14);
}

.t-card__name{
  font-size: 14px;
  font-weight: 900;
  color: rgba(214,255,232,0.95);
}

.t-card__role{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(169,255,205,0.75);
}











/* Mentor popup: testimonials "read more" behavior */
.mentor-pop__reviews{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(72,255,166,0.14);
}

.mentor-pop__reviews-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mentor-pop__reviews-title{
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: rgba(214,255,232,0.92);
}

.mentor-pop__reviews-list{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.mentor-pop__review.is-hidden{
  display: none;
}

.mentor-pop__reviews-more{
  margin-top: 12px;
  font-family: Montserrat;
  width: 100%;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.12);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.mentor-pop__reviews-more:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.16);
  border-color: rgba(72,255,166,0.30);
}










/* Modal panel should not grow beyond viewport */
.mentor-modal__panel{
  max-height: calc(100vh - 120px); /* space for header + sticky site header */
  overflow: hidden;               /* important: keep scroll inside content */
}

/* Allow content to scroll if needed (but we’ll mainly scroll reviews) */
.mentor-modal__content{
  max-height: calc(100vh - 160px);
  overflow: auto;
}

/* Reviews block: fixed height + internal scroll */
.mentor-pop__reviews{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(72,255,166,0.14);

  /* Key part */
  max-height: 320px;          /* tweak if you want taller */
  display: flex;
  flex-direction: column;
}

/* Scroll only the list */
.mentor-pop__reviews-list{
  overflow: auto;
  padding-right: 6px;         /* room for scrollbar */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Keep button always visible */
.mentor-pop__reviews-more{
  margin-top: 12px;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

/* Optional: nicer scrollbar (WebKit only) */
.mentor-pop__reviews-list::-webkit-scrollbar{
  width: 8px;
}
.mentor-pop__reviews-list::-webkit-scrollbar-thumb{
  background: rgba(72,255,166,0.18);
  border-radius: 10px;
}
.mentor-pop__reviews-list::-webkit-scrollbar-track{
  background: transparent;
}









/* Mentorship hero */
.mp-hero{
  padding: 10px 0 26px;
}

.mp-hero__title{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 900;
  color: var(--text-strong);
}

.mp-hero__desc{
  margin: 0 0 18px;
  max-width: 78ch;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.9;
  font-size: clamp(14px, 1.2vw, 17px);
}

/* Announcement box */
.mp-announce{
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.14);
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(72,255,166,0.16), transparent 55%),
    rgba(10,12,11,0.55);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.mp-announce__item{
  padding: 18px;
}

.mp-announce__divider{
  width: 1px;
  background: rgba(72,255,166,0.14);
}

.mp-announce__title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(214,255,232,0.95);
}

.mp-announce__text{
  margin: 0 0 14px;
  color: rgba(214,255,232,0.78);
  font-weight: 650;
  line-height: 1.75;
  font-size: 13px;
  max-width: 60ch;
}

.mp-announce__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.12);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.mp-announce__btn:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.16);
  border-color: rgba(72,255,166,0.30);
}

/* Secondary button */
.mp-announce__btn--ghost{
  background: transparent;
}

.mp-announce__btn--ghost:hover{
  background: rgba(72,255,166,0.08);
}

/* Responsive */
@media (max-width: 900px){
  .mp-announce{
    grid-template-columns: 1fr;
  }

  .mp-announce__divider{
    width: 100%;
    height: 1px;
  }
}



/* Mentorship: Selection Criteria (full-width section, no .container) */
.mp-criteria{
  padding: 54px 0 10px;
}

/* This replaces the container usage without using .container class */
.mp-criteria__inner{
  max-width: 1400px;
  margin: 0 auto;
}

.mp-criteria__head{
  margin-bottom: 14px;
}

.mp-criteria__title{
  margin: 0;
  font-size: clamp(18px, 2.0vw, 28px);
  font-weight: 900;
  color: var(--text-strong);
}

.mp-criteria__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch; /* equal height cards */
}

/* Card */
.mp-criteria__card{
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.14);
  background:
    radial-gradient(800px 240px at 15% 0%, rgba(72,255,166,0.14), transparent 55%),
    rgba(10,12,11,0.55);
  padding: 18px;
  overflow: hidden;

  /* Make internal sections equal height */
  display: grid;
  grid-template-rows: 1fr 1px 1fr;
  gap: 14px;
}

/* Badge */
.mp-criteria__badge{
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(72,255,166,0.20);
  background: rgba(72,255,166,0.10);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  font-size: 12px;
}

.mp-criteria__badge--alt{
  border-color: rgba(214,255,232,0.20);
  background: rgba(214,255,232,0.06);
}

/* Part (top/bottom) */
.mp-criteria__part{
  display:flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0; /* helps for consistent stretching */
}

.mp-criteria__lead{
  margin: 0;
  color: rgba(214,255,232,0.85);
  font-weight: 750;
  line-height: 1.75;
  font-size: 14px;
}

.mp-criteria__h{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(214,255,232,0.95);
  width: 90%;
  height: 60px;
}

/* Lists */
.mp-criteria__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.mp-criteria__list li{
  position: relative;
  padding-left: 18px;
  color: rgba(214,255,232,0.78);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
}

.mp-criteria__list li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(72,255,166,0.92);
  box-shadow: 0 0 0 3px rgba(72,255,166,0.10);
}

/* Divider between equal-height parts */
.mp-criteria__divider{
  height: 1px;
  background: rgba(72,255,166,0.14);
  align-self: stretch;
}

/* Notes pinned to the bottom of the part */
.mp-criteria__note{
  margin: auto 0 0; /* pushes note to bottom within its part */
  color: rgba(169,255,205,0.75);
  font-weight: 700;
  line-height: 1.75;
  font-size: 14px;
  padding-top: 2px;
}

/* Responsive */
@media (max-width: 900px){
  .mp-criteria{
    padding: 40px 0 10px;
  }

  .mp-criteria__grid{
    grid-template-columns: 1fr;
  }

  .mp-criteria__badge{
    top: 12px;
    right: 12px;
  }
}

/* Timeline v2 (perfect alignment) */
.mp-tl2{
  padding: 44px 0 10px;
}

.mp-tl2__inner{
  max-width: 1400px;
  margin: 0 auto;
}

.mp-tl2__head{
  margin-bottom: 14px;
}




.mp-tl2__title{
  margin: 0;
  font-size: clamp(18px, 2.0vw, 28px);
  font-weight: 900;
  color: var(--text-strong);
  text-align: center;
}

/* Desktop: 5 columns */
.mp-tl2__grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  padding-top: 10px;
}

/* Horizontal line that goes through dots */
.mp-tl2__grid::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 42px; /* aligns with dot center */
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(72,255,166,0.00),
    rgba(72,255,166,0.24),
    rgba(72,255,166,0.00)
  );
}

.mp-tl2__item{
  position: relative;
  display: grid;
  grid-template-rows: 64px 1fr; /* marker row + card row */
  gap: 10px;
}

/* Marker aligned to center of its column */
.mp-tl2__marker{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2; /* above the line */
  height: 64px;
}

/* Number badge */
.mp-tl2__num{
  width: 28px;
  height: 28px;
  border-radius: 12px;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.10);
  color: rgba(214,255,232,0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 6px;
}

/* Dot */
.mp-tl2__dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(72,255,166,0.92);
  box-shadow:
    0 0 0 5px rgba(72,255,166,0.10),
    0 18px 60px rgba(72,255,166,0.10);
}

/* Card */
.mp-tl2__card{
  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.14);
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(72,255,166,0.12), transparent 55%),
    rgba(10,12,11,0.55);
  padding: 16px;
  min-height: 132px;
}

.mp-tl2__h{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(214,255,232,0.95);
  line-height: 1.25;
}

.mp-tl2__date{
  font-size: 13px;
  font-weight: 850;
  color: rgba(169,255,205,0.80);
  line-height: 1.4;
}

/* Mobile: vertical list (clean, no absolute hacks) */
@media (max-width: 900px){
  .mp-tl2{
    padding: 34px 0 10px;
  }

  .mp-tl2__grid{
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 0;
  }

  .mp-tl2__grid::before{
    display: none;
  }

  .mp-tl2__item{
    grid-template-rows: auto;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: start;
    position: relative;
  }

  /* Vertical line */
  .mp-tl2__item::before{
    content:"";
    position:absolute;
    left: 22px;
    top: 6px;
    bottom: -14px;
    width: 1px;
    background: linear-gradient(
      to bottom,
      rgba(72,255,166,0.00),
      rgba(72,255,166,0.24),
      rgba(72,255,166,0.00)
    );
  }

  .mp-tl2__item:last-child::before{
    display:none;
  }

  .mp-tl2__marker{
    height: auto;
    padding-top: 2px;
  }

  .mp-tl2__num{
    margin-bottom: 8px;
  }

  .mp-tl2__card{
    min-height: auto;
  }
}


.event-aside__btn--primary{
  background: rgba(72,255,166,0.14);
  border: 1px solid rgba(72,255,166,0.35);
  color: rgba(214,255,232,0.95);
  font-weight: 700;
  font-family: Montserrat;
  justify-content: center;
  margin-bottom: 16px;
  transition: all .2s ease;
}

.event-aside__btn--primary:hover{
  background: rgba(72,255,166,0.22);
  border-color: rgba(72,255,166,0.6);
  transform: translateY(-1px);
}


/* Apply modal */
.cs-apply-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cs-apply-modal.is-open{ display: block; }

.cs-apply-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
}

.cs-apply-modal__panel{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, calc(100vw - 24px));

  /* Allow content to fit normally, but never exceed viewport */
  max-height: calc(100vh - 120px);
  overflow: hidden;

  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.16);
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(72,255,166,0.14), transparent 55%),
    rgba(10,12,11,0.92);
  box-shadow: 0 30px 120px rgba(0,0,0,0.55);
}

/* Scroll only when needed, but keep scrollbar hidden */
.cs-apply-modal__content{
  padding: 18px;

  /* Fill the panel height and scroll internally only if needed */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;

  /* Smooth scroll on iOS */
  -webkit-overflow-scrolling: touch;

  /* Hide scrollbar: Firefox */
  scrollbar-width: none;
}

/* Hide scrollbar: Chrome/Safari/Edge */
.cs-apply-modal__content::-webkit-scrollbar{
  width: 0;
  height: 0;
}
.cs-apply-modal__close{
  position:absolute;
  right: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.16);
  background: rgba(72,255,166,0.08);
  color: rgba(214,255,232,0.92);
  font-weight: 900;
  cursor: pointer;
}


/* Hide scrollbar: Chrome/Safari/Edge */
.cs-apply-modal__content::-webkit-scrollbar{
  width: 0;
  height: 0;
}

.cs-apply-modal__title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(214,255,232,0.95);
  letter-spacing: -0.02em;
}

.cs-apply-modal__subtitle{
  margin: 0 0 14px;
  color: rgba(169,255,205,0.78);
  font-weight: 650;
  line-height: 1.7;
}

.cs-apply-form__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cs-field--full{ grid-column: 1 / -1; }
.cs-field__textarea{ resize: vertical; min-height: 110px; }

.cs-apply-form__fieldset{
  border: 0;
  padding: 0;
  margin: 14px 0 0;
}

.cs-apply-form__legend{
  margin: 0 0 10px;
  font-weight: 900;
  color: rgba(214,255,232,0.92);
  font-size: 14px;
}

.cs-apply-form__checks{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.cs-check--other{
  grid-column: 1 / -1;
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-check__other{
  flex: 1 1 260px;
  min-width: 220px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.14);
  background: rgba(72,255,166,0.05);
  color: rgba(214,255,232,0.92);
  padding: 0 12px;
  font-weight: 700;
}

.cs-apply-form__actions{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.cs-apply-form__submit{
  width: 100%;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.12);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
	font-family: Montserrat;
}

.cs-apply-form__submit:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.16);
  border-color: rgba(72,255,166,0.30);
}

.cs-apply-form__submit.is-loading{
  opacity: .7;
  cursor: progress;
}

.cs-apply-form__error{
  color: rgba(255,190,190,0.92);
  font-weight: 750;
  font-size: 13px;
  min-height: 18px;
}

.cs-apply-form__success{
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(72,255,166,0.08);
  padding: 12px 14px;
  color: rgba(214,255,232,0.92);
  font-weight: 800;
  line-height: 1.6;
}

@media (max-width: 900px){
  .cs-apply-form__grid{ grid-template-columns: 1fr; }
  .cs-apply-form__checks{ grid-template-columns: 1fr; }
}



/* Attend modal */
.cs-attend-modal{ position: fixed; inset:0; z-index: 9999; display:none; }
.cs-attend-modal.is-open{ display:block; }

.cs-attend-modal__overlay{ position:absolute; inset:0; background: rgba(0,0,0,0.55); }

.cs-attend-modal__panel{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100vh - 120px);
  overflow: hidden;

  border-radius: 22px;
  border: 1px solid rgba(72,255,166,0.16);
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(72,255,166,0.14), transparent 55%),
    rgba(10,12,11,0.92);
  box-shadow: 0 30px 120px rgba(0,0,0,0.55);
}

.cs-attend-modal__close{
  position:absolute;
  right:14px; top:12px;
  width:36px; height:36px;
  border-radius: 14px;
  border: 1px solid rgba(72,255,166,0.16);
  background: rgba(72,255,166,0.08);
  color: rgba(214,255,232,0.92);
  font-weight: 900;
  cursor:pointer;
}

.cs-attend-modal__content{
  padding: 18px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cs-attend-modal__content::-webkit-scrollbar{ width:0; height:0; }

.cs-attend-modal__title{
  margin:0 0 6px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(214,255,232,0.95);
  letter-spacing: -0.02em;
}
.cs-attend-modal__subtitle{
  margin:0 0 14px;
  color: rgba(169,255,205,0.78);
  font-weight: 650;
  line-height: 1.7;
}

.cs-attend-form__grid{ display:grid; grid-template-columns: 1fr; gap: 12px; }

.cs-attend-form__actions{ margin-top: 14px; display:flex; flex-direction: column; gap:10px; }

.cs-attend-form__submit{
  width: 100%;
  border: 1px solid rgba(72,255,166,0.22);
  background: rgba(72,255,166,0.12);
  color: rgba(214,255,232,0.95);
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.cs-attend-form__submit:hover{
  transform: translateY(-1px);
  background: rgba(72,255,166,0.16);
  border-color: rgba(72,255,166,0.30);
}
.cs-attend-form__submit.is-loading{ opacity:.7; cursor: progress; }

.cs-attend-form__error{
  color: rgba(255,190,190,0.92);
  font-weight: 750;
  font-size: 13px;
  min-height: 18px;
}

.cs-attend-form__success{
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(72,255,166,0.18);
  background: rgba(72,255,166,0.08);
  padding: 12px 14px;
  color: rgba(214,255,232,0.92);
  font-weight: 800;
  line-height: 1.6;
}

/* Voices + sponsors block */
.voices{
  padding: 72px 0;
}

.voices__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* wider text, narrower logos */
  gap: 42px;
  align-items: start;
}

.voices__title{
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.voices__text p{
  margin: 0 0 14px;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 600;
  line-height: 1.8;
  color: var(--muted);
}

.voices__text p:last-child{
  margin-bottom: 0;
}

/* Sponsors grid: 2 per row */
.sponsors{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.sponsor{
  border-radius: 18px;
  border: 1px solid rgba(72,255,166,0.14);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.sponsor:hover{
  transform: translateY(-2px);
  border-color: rgba(72,255,166,0.22);
}

.sponsor__img{
  width: 100%;
  max-width: 180px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
  opacity: 0.96;
}

/* Responsive */
@media (max-width: 980px){
  .voices__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sponsors{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .sponsors{
    grid-template-columns: 1fr;
  }

  .sponsor{
    min-height: 92px;
    padding: 16px;
  }
}