/* Section styles — about */

.about.site-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(var(--color-primary-rgb), 0.055), transparent 58%),
    radial-gradient(ellipse 50% 45% at 0% 80%, rgba(77, 184, 220, 0.04), transparent 60%),
    linear-gradient(
      180deg,
      var(--section-surface-light, #f4f7fa) 0%,
      var(--section-surface-light, #f4f7fa) 100%
    );
}

.about-figure {
  position: relative;
  width: 100%;
  padding-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .about-figure {
    flex: 1 1 0%;
    min-width: 0;
    padding-bottom: 3.5rem;
  }
}

.about-figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1084 / 1378;
  border-radius: 2rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(var(--color-primary-rgb), 0.07) 0%, transparent 55%),
    linear-gradient(175deg, #dce8f0 0%, #e8eff5 42%, #dde8ee 100%);
}

.about-figure__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 768px) {
  .about-figure__media {
    border-radius: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .about-figure__media {
    border-radius: 3rem;
    max-width: 32rem;
    margin-inline: auto;
  }
}

.about-figure__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -0.75rem;
  width: auto;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
}

@media (min-width: 640px) {
  .about-figure__badge {
    left: auto;
    right: 1rem;
    bottom: -1rem;
    width: min(16rem, calc(100% - 2rem));
  }
}

@media (min-width: 1024px) {
  .about-figure__badge {
    right: 1rem;
    bottom: -2rem;
    width: 18rem;
    padding: 2.5rem;
    border-radius: 2rem;
  }
}

.about-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .about-content {
    flex: 1 1 0%;
    min-width: 0;
  }
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 4px solid var(--color-background);
  box-shadow: var(--shadow-sm);
}

.team-avatar__inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
