.single-leweb_author .site-main {
  width: 100%;
  padding: 0;
}

.article-author-card {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 190px;
  color: var(--ink);
}

.article-author-card__image {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 50%;
  background: #e5e8e2;
}

.article-author-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-author-card__name {
  margin: 10px 0 -8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-author-card__position,
.article-author-card__bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.article-author-card__bio {
  color: var(--muted);
}

.leweb-author-linkedin,
.leweb-author-profile__linkedin {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 3px;
  background: #2b2d2f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.leweb-author-profile {
  margin: 0 0 -72px;
  background: #ffffff;
}

.leweb-author-hero {
  overflow: hidden;
  background: #dfe1e2;
}

.leweb-author-hero__inner {
  width: min(calc(100% - 40px), 1000px);
  min-height: 324px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 48px;
  align-items: end;
  margin: 0 auto;
}

.leweb-author-hero__copy {
  align-self: center;
  padding: 64px 0 66px;
}

.leweb-author-hero h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 2rem + 1.05vw, 2.8125rem);
  font-weight: 900;
  line-height: 1.3;
}

.leweb-author-hero p {
  margin: 0 0 20px;
  color: #3a3e3c;
  font-size: 18px;
  line-height: 1.55;
}

.leweb-author-hero__media {
  align-self: end;
  justify-self: center;
  max-height: 324px;
}

.leweb-author-hero__media img {
  width: auto;
  max-height: 324px;
  object-fit: contain;
  object-position: bottom center;
}

.leweb-author-body {
  width: min(calc(100% - 40px), 1000px);
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(240px, 260px);
  gap: 90px;
  align-items: start;
  margin: 54px auto 0;
  padding: 0 0 72px;
}

.leweb-author-content {
  color: #252827;
  font-size: 18px;
  line-height: 1.55;
}

.leweb-author-content h2,
.leweb-author-content h3 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.5;
}

.leweb-author-content h2:first-child,
.leweb-author-content h3:first-child {
  margin-top: 0;
}

.leweb-author-content h2 {
  font-size: 32px;
}

.leweb-author-content h3 {
  font-size: 25px;
}

.leweb-author-content p,
.leweb-author-content ul,
.leweb-author-content ol {
  margin: 0 0 1.45em;
}

.leweb-author-content a {
  color: #6f8f37;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leweb-author-team h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.leweb-author-team__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
}

.leweb-author-team__image {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  background: #e5e8e2;
}

.leweb-author-team__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leweb-author-team strong,
.leweb-author-team small {
  display: block;
}

.leweb-author-skills {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-light);
}

.leweb-author-skills h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.leweb-author-skills__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leweb-author-skills__item {
  margin: 0;
}

.leweb-author-skills__item span {
  display: inline-block;
  padding: 6px 12px;
  background: #f1efe7;
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.leweb-author-skills-repeater {
  margin: 8px 0 12px;
}

.leweb-author-skills-repeater__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 8px;
}

.leweb-author-skills-repeater__row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.leweb-author-skills-repeater__row input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.leweb-author-skills-repeater__remove {
  flex: 0 0 auto;
  min-width: 36px;
  font-size: 18px;
  line-height: 1;
  padding: 0 10px;
  color: #b32d2e;
  border-color: #b32d2e;
}

.leweb-author-skills-repeater__remove:hover,
.leweb-author-skills-repeater__remove:focus {
  background: #b32d2e;
  border-color: #b32d2e;
  color: #fff;
}

.leweb-author-skills-repeater__add {
  margin: 0;
}

.leweb-author-team strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.leweb-author-team small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.leweb-author-latest {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 40px 0 92px;
}

.leweb-author-latest h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.leweb-author-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.leweb-author-latest-card {
  min-width: 0;
}

.leweb-author-latest-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8ebe6;
}

.leweb-author-latest-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.leweb-author-latest-card:hover .leweb-author-latest-card__media img {
  transform: scale(1.025);
}

.leweb-author-latest-card__body {
  padding-top: 18px;
}

.leweb-author-latest-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.leweb-author-latest-card p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.leweb-author-latest-card a {
  text-decoration: none;
}

.leweb-author-latest-card__body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .article-author-card {
    max-width: none;
    padding-top: 26px;
    border-top: 1px solid var(--border-light);
  }

  .article-sidebar--author {
    display: block;
    position: static;
    max-height: none;
    margin-top: 36px;
    overflow: visible;
  }

  .leweb-author-body {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .leweb-author-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .leweb-author-profile {
    margin-top: 0;
  }

  .leweb-author-hero {
    position: relative;
  }

  .leweb-author-hero__inner {
    position: relative;
    min-height: 0;
    width: 100%;
    height: clamp(540px, 72svh, 650px);
    display: block;
    overflow: hidden;
  }

  .leweb-author-hero__copy {
    position: absolute;
    left: 24px;
    bottom: 28px;
    z-index: 2;
    width: min(calc(100% - 48px), 420px);
    padding: 0;
  }

  .leweb-author-hero h1 {
    display: table;
    margin: 0;
    padding: 3px 10px 6px;
    background: rgba(255, 255, 255, 0.76);
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.06;
  }

  .leweb-author-hero p {
    display: table;
    margin: 0;
    padding: 4px 10px 7px;
    background: rgba(255, 255, 255, 0.76);
    color: #202423;
    font-size: 24px;
    line-height: 1.12;
  }

  .leweb-author-profile__linkedin {
    margin: 10px 0 0 10px;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.76);
  }

  .leweb-author-hero__media {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    height: calc(100% - 18px);
    max-height: none;
    transform: translateX(-50%);
  }

  .leweb-author-hero__media img {
    width: auto;
    height: 100%;
    max-width: none;
    max-height: none;
  }

  .leweb-author-body {
    margin-top: 40px;
    padding: 40px 0 64px;
  }

  .leweb-author-content {
    font-size: 17px;
  }

  .leweb-author-content h2 {
    font-size: 30px;
  }

  .leweb-author-latest {
    padding: 16px 0 68px;
  }

  .leweb-author-latest h2 {
    font-size: 30px;
    text-align: left;
  }

  .leweb-author-latest__grid {
    grid-template-columns: 1fr;
  }
}