/* Kontener na prelegentów - 2 kolumny na desktopie, 1 na mobile */
  .speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 15px;
  }

  /* Karta pojedynczego prelegenta */
  .speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf2f7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  }

  /* Stylizacja zdjęcia prelegenta */
  .speaker-avatar-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    position: relative;
  }

  .speaker-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f0f4f8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  /* Stylizacja treści */
  .speaker-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .speaker-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 6px 0;
  }

  .speaker-institution {
    font-size: 14px;
    font-weight: 600;
    color: #004b87; /* Kolor kojarzący się z identyfikacją akademicką */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
  }

  .speaker-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
  }


.section-title-wrapper {
  text-align: center;
  margin: 50px 0 30px;
}

.section-title {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a202c;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #004b87; /* Kolor przewodni konferencji */
  border-radius: 2px;
}

/* Kontener siatki logotypów */
.sponsors {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 15px;
}

.sponsors__row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

/* Pojedyncza karta logo */
.sponsors__cell {
  flex: 1 1 220px;
  max-width: 280px;
  min-height: 120px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px 25px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Efekt najechania (hover) */
.sponsors__cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Wnętrze odnośnika i skalowanie obrazka */
.sponsors__cell a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sponsors__cell img {
  max-width: 100%;
  max-height: 65px; /* Zapobiega dominacji wysokich logotypów */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%); /* Delikatne stonowanie, pełen kolor po hover */
  transition: filter 0.3s ease, transform 0.3s ease;
}

.sponsors__cell:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* Automatyczne ukrycie pustego kafelka z src="/" */
.sponsors__cell:has(img[src="/"]),
.sponsors__cell:has(img[src=""]),
.sponsors__cell:empty {
  display: none !important;
}