/* -------------------------------------------------------
   Global Summit Speakers – match existing page styling
-------------------------------------------------------- */

:root{
  --gss-burgundy: #5b1f3f;
  --gss-text: #1a1a1a;
  --gss-black: #151515;
}

/* Keep everything inheriting the site font */
.gss-list,
.gss-grid{
  font-family: "Montserrat", sans-serif;
  color: var(--gss-text);
}

/* ---------- CURRENT SPEAKERS (accordion list) ---------- */

.gss-list{
  max-width: 1200px;
  margin: 0 auto;
}

/* Two main columns: LEFT (headshot+text) | RIGHT (Read Bio + rule + panel) */
.gss-item{
  display: flex;
  flex-direction: row;
  padding: 36px 20px;
}

/* LEFT column internal layout: headshot | text */
.gss-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 385px;
  flex-shrink: 0;
}

.gss-headshot{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.gss-headshot-img{
  width: 150px;
  height: 150px;
  border-radius: 999px !important;
  object-fit: cover;
  display: block;
}

.gss-headshot-img img{ 
  border-radius: 999px !important;
}

.gss-left-text{
  padding-top: 6px;
}

/* RIGHT column */
.gss-right{
  flex: 1;
  padding: 10px 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
}

/* Name + meta */
.gss-name{
  margin: 10px 0 0;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1em;
  color: var(--gss-burgundy);
}

.gss-meta{
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.1em;
  font-weight: 500;
  color: #222;
}

/* Read Bio row */
.gss-toggle-row{
  display: flex;
  flex-direction: column;
  padding-top: 14px;
}

.gss-toggle{
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0 0 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font: inherit;
  gap: 6px;
  color: var(--gss-burgundy);
}

.gss-toggle:focus{
  outline: none;
}

.gss-toggle-icon{
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  width: 18px;
  display: inline-block;
  text-align: center;
  color: var(--gss-burgundy);
}

.gss-toggle-label{
  font-size: 16px;
  font-weight: 400;
  color: var(--gss-burgundy);
}

.gss-rule{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gss-burgundy);
}

/* Bio panel */
.gss-panel{
  padding: 20px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.4em;
  color: var(--gss-black);
}

.gss-panel p{ margin: 0 0 14px; }
.gss-panel p:last-child{ margin-bottom: 0; }

/* ---------- PAST SPEAKERS (grid cards) ---------- */

.gss-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.gss-card{
  border-radius: 22px;
  padding: 18px;
  background: transparent;
  border: 1px solid rgba(120, 90, 160, .20);
}

.gss-card-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.gss-card-name{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3em;
  font-weight: 600;
  color: var(--gss-black);
}

.gss-card-meta{
  margin: 0;
  font-size: 16px;
  line-height: 1.3em;
  font-weight: 500;
  color: var(--gss-black);
}

.past-speaker-img-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.past-speaker-img-wrap::after{
  content: '';
  position: absolute;
  bottom: 0;
  inset: 0;

  background-image: linear-gradient(
    180deg,
    rgba(255,210,210,0) 56%,
    #F1F1F1 90%
  );

  pointer-events: none;
  z-index: 2;
}

.past-speaker-img-wrap img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-info {
  position: relative; 
  top: -15px;
  z-index: 3;
}

.fuzzy-container{
  position: relative !important;
  overflow: visible !important;
  border-radius: 20px;
}

/* glow layer */
.fuzzy-container::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;

  /* soft inset glow */
  box-shadow: inset 0 0 30px rgba(124,101,158, 0.7);

  /* “fuzzy” blur without blocking clicks */
  filter: blur(6px);
  opacity: .85;

  pointer-events: none; /* important */
  z-index: 1;

  transition: all 300ms ease-in-out;
}

.fuzzy-container:hover::after{
  box-shadow: inset 0 0 50px rgba(90,128,184, 0.7);
  opacity: .95;
}

/* ensure inner content sits above glow */
.fuzzy-container > *{
  position: relative;
  z-index: 2;
}


/* ---------- Responsive (tablet + mobile) ---------- */
/* DO NOT change desktop sizing; only stack on smaller screens */

@media (max-width: 1024px){
  .gss-item{
    flex-direction: column;
  }

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

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


  /* center the left column */
  .gss-left{
    width: 100%;
    flex-shrink: 0;
    align-items: center;
    text-align: center;
  }

  .gss-headshot{
    align-items: center;
  }

  .gss-left-text{
    width: 100%;
  }

  .gss-right{
    width: 100%;
    justify-content: flex-end;
  }

  /* keep toggle/rule full width */
  .gss-toggle-row,
  .gss-rule{
    width: 100%;
  }

  /* center the Read Bio button contents on smaller screens */
  .gss-toggle{
    justify-content: center;
  }
}

@media (max-width: 600px){
  /* keep the same spacing + font sizes, just ensure nothing overflows */
  .gss-headshot-img{
    max-width: 150px;
  }

  .gss-panel{
    max-width: 100%;
  }
}
