/* 主辦單位 */
.organizers {
  position: relative;
  width: 100%;
  padding: clamp(3rem, 8vw, 10rem) clamp(1.25rem, 4vw, 5rem);
  overflow-x: clip;
}

.organizers__inner {
  position: relative;
  z-index: 1;
  max-width: 90rem;
  margin: 0 auto;
}

.organizers__head {
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
}

.organizers__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.organizers__line--top {
  display: block;
  width: min(7.5rem, 40%);
  height: 3px;
  margin: 0 auto;
  border: none;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #2066b1 0%,
    #63c0ae 45.67%,
    #75c4ec 99.99%
  );
}

.organizers__group {
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.organizers__group:last-of-type {
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.organizers__label {
  margin: 0 0 clamp(1rem, 2.5vw, 1.25rem);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.organizers__label--host {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.organizers__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.organizers__item {
  display: flex;
  flex: 0 1 calc(25% - 0.75rem);
  max-width: calc(25% - 0.75rem);
  min-width: 0;
}

.organizers__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(5.5rem, 14vw, 7rem);
  box-sizing: border-box;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.organizers__logo-card:hover {
  opacity: 0.92;
}

.organizers__logo-card:focus-visible {
  outline: 2px solid #2b7fff;
  outline-offset: 2px;
}

.organizers__logo-card img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.organizers__line--bottom {
  display: block;
  width: min(100%, 15rem);
  height: 2px;
  margin: 0 auto;
  border: none;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    #2b7fff 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.organizers__back-to-top {
  display: block;
  margin: clamp(2rem, 5vw, 2.75rem) auto 0;
  padding: 1.5rem 3.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #2066b1 0%, #63c0ae 45.67%, #75c4ec 99.99%);
  color: #fff;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.organizers__back-to-top:hover {
  filter: brightness(1.08);
}

.organizers__back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .organizers__item {
    flex: 0 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

@media (max-width: 420px) {
  .organizers__item {
    flex: 0 1 100%;
    max-width: 17.5rem;
  }
}
