main {
  background-color: #131b2f;
}

.attorney-profile {
  background: var(--page-hero-shell, #131b2f);
  padding: clamp(3rem, 6vw, 5rem) 48px;
  color: #ffffff;
}

.attorney-profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.attorney-profile__figure {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}

.attorney-profile__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.attorney-profile__label {
  position: absolute;
  bottom: -1rem;
  left: -2rem;
  background-color: #b91c1c;
  color: #ffffff;
  padding: 1.25rem 2rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 6px 15px rgba(185, 28, 28, 0.3);
  z-index: 2;
}

.attorney-profile__label-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.attorney-profile__label-title {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
}

.attorney-profile__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.attorney-profile__title {
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
}

.attorney-profile__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.attorney-profile__body p {
  margin: 0;
}

.attorney-profile__body p + p {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .attorney-profile__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .attorney-profile__figure {
    width: 50%;
    margin: 0 auto 1.5rem;
  }

  .attorney-profile__label {
    left: -1rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .attorney-profile__label-name {
    font-size: 1.1rem;
  }
  .attorney-profile__label-title {
    font-size: 0.85rem;
  }
}
