/* Figma node 557:6584 — Experts block with intro and three-column cards */
.expertsBlock {
  width: 100%;
  background: #5c7f9e;
  box-sizing: border-box;
}

.expertsBlock *,
.expertsBlock *::before,
.expertsBlock *::after {
  box-sizing: border-box;
}

.eb__container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 112px clamp(24px, 5vw, 80px) 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 43px;
}

/* ----- Intro ----- */
.eb__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.eb__title {
  margin: 0;
  width: 100%;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.eb__text {
  margin: 0;
  width: 100%;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.eb__text p {
  margin: 0;
}

/* ----- Grid ----- */
.eb__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  width: 100%;
}

.eb__card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 10px;
  background: rgba(10, 39, 64, 0.3);
  border-radius: 16px;
  min-width: 0;
}

.eb__cardMedia {
  flex: 0 0 164px;
  width: 164px;
  height: 164px;
}

.eb__cardImage {
  display: block;
  width: 164px;
  height: 164px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.eb__cardBody {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 185px;
  height: 138px;
  display: flex;
  align-items: flex-end;
}

.eb__cardCopy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 108px;
}

.eb__cardHead {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eb__cardName {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.eb__cardRole {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.eb__cardLinks {
  display: flex;
  align-items: center;
  gap: 6px;
}

.eb__iconLink {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

.eb__iconLink svg {
  display: block;
  width: 24px;
  height: 24px;
}

.eb__iconLink:hover svg rect {
  fill: #fff;
}

.eb__iconLink:hover svg path {
  stroke: #0a2740;
}

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

@media (max-width: 900px) {
  .eb__title {
    font-size: 40px;
  }

  .eb__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eb__card {
    padding-right: 16px;
  }

  .eb__cardBody {
    max-width: none;
    height: auto;
    padding: 16px 0;
  }

  .eb__cardCopy {
    min-height: 0;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .eb__container {
    padding-top: 80px;
    padding-bottom: 48px;
    gap: 32px;
  }

  .eb__title {
    font-size: 32px;
  }

  .eb__text {
    font-size: 16px;
  }

  .eb__card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
  }

  .eb__cardMedia,
  .eb__cardImage {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: none;
  }

  .eb__cardBody {
    padding: 0;
  }
}
