.site-author {
  --author-red: var(--red, #d9103a);
  --author-ink: var(--ink, #19151a);
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
  padding: 0 1.5rem 2rem;
  color: var(--author-ink);
}

.site-author-inner {
  width: min(100%, 73.75rem);
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(25, 21, 26, 0.12);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 16, 58, 0.10), transparent 34%),
    #fff;
  box-shadow: 0 1.25rem 3.5rem rgba(25, 21, 26, 0.08);
}

.site-author-photo {
  width: clamp(5.5rem, 10vw, 7.5rem);
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(217, 16, 58, 0.18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.45rem rgba(217, 16, 58, 0.07);
}

.site-author-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-author-copy h2 {
  margin: 0.2rem 0 0.15rem;
  color: var(--author-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.site-author-copy p {
  max-width: 47rem;
  margin: 0.65rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.site-author-copy .site-author-role {
  margin-top: 0;
  color: var(--author-red);
  font-weight: 800;
}

.site-author-eyebrow {
  color: #746b70;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-author-link {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  background: #0a66c2;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-author-link:hover,
.site-author-link:focus-visible {
  background: #084f96;
  transform: translateY(-1px);
}

.site-author-link span {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.2rem;
  background: #fff;
  color: #0a66c2;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.site-footer-enhanced .footer-grid {
  grid-template-columns: minmax(17rem, 1.5fr) repeat(3, minmax(9rem, 1fr));
}

.site-footer-enhanced .footer-about p {
  max-width: 34rem;
  line-height: 1.65;
}

.site-footer-enhanced .footer-trust-links a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.8em;
}

@media (max-width: 900px) {
  .site-author-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-author-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .site-footer-enhanced .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .site-author {
    padding-inline: 1rem;
  }

  .site-author-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-author-photo,
  .site-author-link {
    justify-self: center;
  }

  .site-footer-enhanced .footer-grid {
    grid-template-columns: 1fr;
  }
}

[dir="rtl"] .site-author-link span {
  order: 2;
}
