.author-profile-hero {
  background: #f2f5fb;
  border-bottom: 1px solid rgba(5, 41, 98, 0.1);
}

.author-profile-hero .page-header,
.author-profile-hero .author-info {
  margin: 0;
}

.author-profile-card {
  padding: 40px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border-top: 4px solid #004295;
  box-shadow: 0 14px 36px rgba(5, 41, 98, 0.09);
}

.author-profile-card::after {
  width: 180px;
  height: 180px;
  position: absolute;
  top: -90px;
  right: -60px;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 104, 0, 0.08);
}

.author-profile-avatar {
  width: 180px;
  height: 180px;
  padding: 6px;
  border: 1px solid rgba(5, 41, 98, 0.16);
  border-radius: 50%;
  background: #fff;
}

.author-profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.author-profile-content {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.author-profile-eyebrow {
  margin: 0 0 6px;
  color: #c65000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.author-profile-name {
  margin: 0;
  color: #052962;
  font-family: "Merriweather", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.author-profile-role {
  margin: 8px 0 0;
  color: #334f78;
  font-family: "Merriweather", serif;
  font-size: 17px;
  line-height: 1.5;
}

.author-profile-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.author-profile-meta-item {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #52647f;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.author-profile-meta-item:hover,
a.author-profile-meta-item:focus {
  color: #004295;
  text-decoration: underline;
}

.author-profile-meta-item i {
  color: #004295;
  font-size: 18px;
}

.author-profile-biography,
.author-profile-specialties {
  max-width: 850px;
  margin-top: 24px;
}

.author-profile-biography h2,
.author-profile-specialties h2 {
  margin: 0 0 8px;
  color: #052962;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.author-profile-biography p {
  margin: 0 0 10px;
  color: #263850;
  font-family: "Merriweather", serif;
  font-size: 16px;
  line-height: 1.75;
}

.author-profile-biography p:last-child {
  margin-bottom: 0;
}

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

.author-specialty-list li {
  padding: 6px 12px;
  color: #052962;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border: 1px solid rgba(0, 66, 149, 0.16);
  border-radius: 999px;
  background: #f2f5fb;
}

.author-profile-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-profile-links a {
  min-height: 42px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #004295;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid rgba(0, 66, 149, 0.22);
  border-radius: 3px;
  background: #fff;
}

.author-profile-links a:hover,
.author-profile-links a:focus {
  color: #fff;
  border-color: #004295;
  background: #004295;
}

.author-profile-links .ohoje-social-icon,
.author-profile-links i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  font-size: 18px;
}

.author-stories-title {
  margin: 0 0 24px;
  padding-bottom: 12px;
  position: relative;
  color: #052962;
  font-family: "Merriweather", serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  border-bottom: 1px solid rgba(5, 41, 98, 0.14);
}

.author-stories-title::after {
  width: 64px;
  height: 3px;
  position: absolute;
  bottom: -1px;
  left: 0;
  content: "";
  background: #ff6800;
}

@media (max-width: 767.98px) {
  .author-profile-card {
    padding: 28px 22px;
  }

  .author-profile-avatar {
    width: 132px;
    height: 132px;
  }

  .author-profile-name {
    font-size: 30px;
  }

  .author-profile-role {
    font-size: 15px;
  }

  .author-profile-biography p {
    font-size: 15px;
    line-height: 1.65;
  }

  .author-profile-meta {
    display: grid;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .author-profile-card *,
  .author-profile-card *::before,
  .author-profile-card *::after {
    transition: none !important;
  }
}
