:root {
  --lmdl-ink: #25231f;
  --lmdl-muted: #6e6a62;
  --lmdl-line: #d8d3c9;
  --lmdl-accent: #49301f;
  --lmdl-soft: #f1efe9;
}

.lmdl-directory,
.lmdl-profile {
  box-sizing: border-box;
  color: var(--lmdl-ink);
  font: inherit;
}

.lmdl-directory *,
.lmdl-profile * {
  box-sizing: border-box;
}

.lmdl-group {
  margin: 0 0 clamp(3rem, 7vw, 7rem);
}

.lmdl-group__title {
  margin: 0 0 1.8rem;
  color: var(--lmdl-ink);
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1.2;
}

.lmdl-group__intro {
  max-width: 760px;
  margin: -0.75rem 0 2rem;
  color: var(--lmdl-muted);
  line-height: 1.7;
}

.lmdl-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(var(--lmdl-columns, 2), minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 5.5rem);
  row-gap: clamp(2.5rem, 5vw, 4.5rem);
}

.lmdl-group--featured .lmdl-grid {
  grid-template-columns: minmax(0, 1fr);
}

.lmdl-card {
  display: grid;
  grid-template-columns: minmax(130px, var(--lmdl-image-width, 42%)) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.6rem);
  min-width: 0;
  align-items: stretch;
  overflow: hidden;
}

.lmdl-card--featured {
  grid-template-columns: minmax(220px, var(--lmdl-image-width, 34%)) minmax(0, 1fr);
  max-width: 1000px;
}

.lmdl-card__image-link {
  display: block;
  min-height: 250px;
  overflow: hidden;
  background: var(--lmdl-soft);
}

.lmdl-card--featured .lmdl-card__image-link {
  min-height: 360px;
}

.lmdl-card__image,
.lmdl-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.lmdl-card__placeholder::after {
  display: grid;
  height: 100%;
  min-height: inherit;
  place-items: center;
  color: #aaa59c;
  content: "Profile photo";
  font-size: 0.85rem;
}

.lmdl-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.8rem 0 0.3rem;
}

.lmdl-card__name {
  margin: 0 0 0.8rem;
  color: var(--lmdl-ink);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

.lmdl-card__name a {
  color: inherit;
  text-decoration: none;
}

.lmdl-card__pst,
.lmdl-card__credentials,
.lmdl-card__specialty {
  margin: 0 0 0.55rem;
  line-height: 1.55;
}

.lmdl-card__pst {
  color: var(--lmdl-muted);
  font-style: italic;
}

.lmdl-card__credentials {
  font-size: 0.92em;
}

.lmdl-card__specialty {
  margin-top: 0.75rem;
}

.lmdl-card__excerpt {
  margin-top: 0.5rem;
  color: var(--lmdl-muted);
  line-height: 1.65;
}

.lmdl-card__excerpt p {
  margin: 0;
}

.lmdl-card__button {
  margin-top: auto;
  padding: 1.4rem 0 0.2rem;
  border-bottom: 1px solid currentColor;
  color: var(--lmdl-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.lmdl-card__button:hover,
.lmdl-card__button:focus-visible,
.lmdl-card__name a:hover,
.lmdl-card__name a:focus-visible {
  opacity: 0.68;
}

.lmdl-group__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 0;
  background: var(--lmdl-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
}

.lmdl-group__icon::before {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
}

.lmdl-group__toggle[aria-expanded="true"] .lmdl-group__icon::before {
  content: "−";
}

.lmdl-directory--accordion .lmdl-group {
  margin-bottom: 0.65rem;
}

.lmdl-directory--accordion .lmdl-group__panel {
  padding: 2rem 0 2.5rem;
}

.lmdl-directory--accordion .lmdl-group__panel[hidden] {
  display: none;
}

.lmdl-single-page {
  background: #f5f4ee;
}

.lmdl-profile-hero {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: center;
  overflow: hidden;
  background: #b7bdba;
}

.lmdl-profile-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(241, 242, 239, 0.52);
  content: "";
}

.lmdl-profile-hero__image {
  position: absolute;
  inset: -25px;
  width: calc(100% + 50px);
  height: calc(100% + 50px);
  object-fit: cover;
  object-position: center 35%;
  filter: blur(15px);
  opacity: 0.46;
}

.lmdl-profile-hero__content {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.lmdl-profile-hero__title {
  margin: 0 0 22px;
  color: #211f1c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
}

.lmdl-profile-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: #45443f;
  font-size: 0.85rem;
}

.lmdl-profile-hero__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.lmdl-profile-hero__breadcrumbs a:hover,
.lmdl-profile-hero__breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.lmdl-single-page__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 7rem) 1.5rem 6rem;
}

.lmdl-profile {
  display: grid;
  grid-template-columns: minmax(240px, 29%) minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  align-items: start;
}

.lmdl-profile__aside {
  position: sticky;
  top: 2rem;
}

.lmdl-profile-nav {
  margin-bottom: 2.5rem;
}

.lmdl-profile-nav__groups,
.lmdl-profile-nav__members {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lmdl-profile-nav__group {
  margin-bottom: 0.55rem;
}

.lmdl-profile-nav summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #604b3c;
  color: #fff;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.lmdl-profile-nav summary::-webkit-details-marker {
  display: none;
}

.lmdl-profile-nav__group.is-current > details > summary {
  background: #c1bcae;
  color: #26231e;
}

.lmdl-profile-nav__icon::before {
  content: "+";
  font-size: 1rem;
  font-weight: 400;
}

.lmdl-profile-nav details[open] .lmdl-profile-nav__icon::before {
  content: "\2212";
}

.lmdl-profile-nav__members {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 1rem 0.5rem;
}

.lmdl-profile-nav__members a {
  display: block;
  padding: 0.25rem 0;
  color: #28241f;
  font-size: 0.94rem;
  line-height: 1.4;
  text-decoration: none;
}

.lmdl-profile-nav__members a:hover,
.lmdl-profile-nav__members a:focus-visible,
.lmdl-profile-nav__members a[aria-current="page"] {
  color: #604b3c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lmdl-profile__main {
  min-width: 0;
}

.lmdl-profile__intro-row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: center;
  margin-bottom: 1.5rem;
}

.lmdl-profile__intro-row.lmdl-profile__intro-row--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.lmdl-profile__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: center top;
}

.lmdl-profile__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: flex-start;
  padding-top: 1.4rem;
}

.lmdl-profile__socials a,
.lmdl-profile__contact a {
  color: var(--lmdl-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lmdl-profile__contact {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lmdl-line);
}

.lmdl-profile__header {
  min-width: 0;
}

.lmdl-profile__name {
  margin: 0 0 1.15rem;
  color: var(--lmdl-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 2.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.lmdl-profile__position {
  margin: 0 0 1.5rem;
  color: var(--lmdl-muted);
  font-size: 1rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.lmdl-profile__credentials,
.lmdl-profile__specialty {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.lmdl-profile__lead {
  margin-top: 1.5rem;
  font-size: 1.06rem;
  line-height: 1.8;
}

.lmdl-profile__section {
  padding: 2rem 0;
  border-top: 1px solid var(--lmdl-line);
  font-size: 1.06rem;
  line-height: 1.8;
}

.lmdl-profile__section--biography {
  margin-top: 1.4rem;
  padding: 0;
  border-top: 0;
}

.lmdl-profile__section h2 {
  margin: 0 0 1rem;
  color: var(--lmdl-ink);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 500;
}

.lmdl-profile__section > :last-child,
.lmdl-profile__lead > :last-child {
  margin-bottom: 0;
}

.lmdl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lmdl-empty {
  padding: 1rem;
  border: 1px solid var(--lmdl-line);
  background: var(--lmdl-soft);
}

@media (max-width: 900px) {
  .lmdl-grid {
    --lmdl-columns: 1;
  }

  .lmdl-profile {
    grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .lmdl-profile__intro-row {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .lmdl-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmdl-card,
  .lmdl-card--featured,
  .lmdl-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmdl-card,
  .lmdl-card--featured {
    width: 100%;
  }

  .lmdl-card__image-link,
  .lmdl-card--featured .lmdl-card__image-link {
    min-height: 0;
  }

  .lmdl-card__image,
  .lmdl-card__placeholder {
    aspect-ratio: 4 / 4.7;
  }

  .lmdl-card__content {
    min-height: 245px;
    padding-top: 0;
  }

  .lmdl-profile__aside {
    position: static;
  }

  .lmdl-single-page__inner {
    padding: 3rem 1.25rem 4rem;
  }

  .lmdl-profile-hero {
    min-height: 210px;
  }

  .lmdl-profile-hero__content {
    width: calc(100% - 40px);
  }

  .lmdl-profile-nav {
    margin-bottom: 0;
  }

  .lmdl-profile__intro-row {
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  }

}

@media (max-width: 620px) {
  .lmdl-profile__intro-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmdl-profile__image {
    width: min(320px, 100%);
  }

  .lmdl-profile__header {
    padding-top: 0.25rem;
  }

}
