/* Personal content. Shell, tokens and scrolling are owned by WebTintKit. */
.profileContent {
  display: grid;
  gap: var(--wtk-layout-desktop-content-gap);
  min-width: 0;
}

.profileSectionCard {
  padding: var(--wtk-layout-desktop-content-gap);

}

.profileSectionCard p,
.profileSectionCard blockquote {
  color: var(--wtk-color-page-text);
}

.profileSectionCard p {
  margin: 0;
}

.profileSectionHeader {
  display: grid;
  gap: 8px;
  margin-bottom: 1em;
}

.profileSectionHeader h2,
.profileIntroCard h1 {
  margin: 0;
  color: var(--wtk-color-page-title);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.profileSectionHeader h2 {
  font-size: var(--wtk-type-h2);
}

.profileIntroCard h1 {
  font-size: var(--wtk-type-h1);
}

.profileIntroTitleBlock {
  display: grid;
  gap: 0.3em;
}

.profileIntroLocation {
  width: fit-content;
  color: var(--wtk-color-page-muted);
  font-size: 0.84375rem;
  line-height: 1.2;
  margin: 0;
}

.profileIntroCard {
  display: grid;
  gap: 1.25em;
}

.profileIntroHeader {
  display: grid;
  grid-template-columns: minmax(128px, 160px) minmax(0, 1fr);
  gap: 1.25em;
  align-items: start;
}

.profileIntroHeaderBody {
  display: grid;
  gap: 1.25em;
  min-width: 0;
}

.profileIntroCopy {
  display: grid;
  gap: 0.75em;
}

.profileIntroCopy h2 {
  margin: 0;
  color: var(--wtk-color-page-title);
  font-size: var(--wtk-type-h2);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.profileLinkList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profileLinkList a,
.profileButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.375rem;
  border: 1px solid var(--wtk-color-contents-active-border);
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.84375rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.profileLinkList a,
.profileButton:not(.wtk-primary-action) {
  background: var(--wtk-color-contents-active-bg);
  color: var(--wtk-color-page-title);
}

.profileLinkList a:hover,
.profileLinkList a:focus,
.profileButton:hover,
.profileButton:focus {
  border-color: var(--wtk-color-settings-active-border);
  text-decoration: none;
}

.profileLinkList a:hover,
.profileLinkList a:focus,
.profileButton:not(.wtk-primary-action):hover,
.profileButton:not(.wtk-primary-action):focus {
  background: var(--wtk-color-settings-active-bg);
  color: var(--wtk-color-page-title);
}

.profileLinkList a:active,
.profileButton:active {
  transform: scale(0.98);
}

.profileButtonPrimary {
  min-height: 2.75rem;
  padding: 0 18px;
  border-color: color-mix(in srgb, var(--wtk-color-accent) 70%, transparent);
}


.profileButtonRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin-top: 0.95em;
}


.profilePortrait {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 8px;
}

.profileSkillList {
  display: grid;
  gap: 0;
  margin: 0;
}

.profileSkillGroup {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 1.25em;
  border-top: 1px solid var(--wtk-color-page-rule);
  padding-top: 1em;
}

.profileSkillGroup + .profileSkillGroup {
  margin-top: 1em;
}

.profileSkillGroup dt {
  color: var(--wtk-color-page-title);
  font-size: 0.90625rem;
  font-weight: 650;
  line-height: 1.35;
}

.profileSkillGroup dd {
  min-width: 0;
  margin: 0;
  color: var(--wtk-color-page-text);
  font-size: var(--wtk-type-card-excerpt);
  line-height: 1.7;
}

.profileItemList {
  display: grid;
  gap: 0;
}

.profileItem,
.profileQuote {
  border-top: 1px solid var(--wtk-color-page-rule);
  margin: 0;
  padding: 1em 0 0;
}

.profileItem + .profileItem,
.profileQuote + .profileQuote {
  margin-top: 1em;
}

.profileItemHeader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
}

.profileItemHeader h3 {
  margin: 0;
  color: var(--wtk-color-page-title);
  font-size: var(--wtk-type-h3);
  line-height: 1.18;
}


.profileItemHeader p {
  color: var(--wtk-color-page-muted);
  font-size: 0.90625rem;
  font-weight: 650;
  line-height: 1.35;
  margin-top: 4px;
}

.profileItemHeader span {
  flex: 0 0 auto;
  color: var(--wtk-color-page-tertiary);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

.profileItem > p,
.profileQuote blockquote {
  margin-top: 0.85em;
}

.profileItem > .profileButton {
  margin-top: 0.95em;
}

.profileQuote blockquote {
  border-left: 4px solid var(--wtk-color-page-rule);
  margin-left: 0;
  padding-left: 1em;
}

.profileQuote figcaption {
  display: grid;
  gap: 2px;
  margin-top: 0.85em;
  color: var(--wtk-color-page-muted);
  font-size: 0.84375rem;
  line-height: 1.3;
}

.profileQuote figcaption strong {
  color: var(--wtk-color-page-title);
}


@media (max-width: 768px) {
  .profileContent {
    display: grid;
    gap: var(--wtk-layout-mobile-page-gap);
  }

  .profileSectionCard {
    padding: 1em;

  }

  .profileIntroHeader {
    grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
    gap: 1em;
  }

  .profileIntroHeaderBody {
    display: contents;
  }

  .profileIntroHeaderBody > div {
    grid-column: 2;
  }

  .profileItemHeader,
  .profileSkillGroup {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profileSkillGroup {
    gap: 0.35em;
  }

  .profileItemHeader span {
    text-align: left;
  }

  .profilePortrait {
    max-width: 108px;
  }

}
