.author-profile {
  border-top: 3px solid var(--color-primary, #0041bf);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  overflow: hidden;
  background: #fff;
}

.author-profile__head {
  background: color-mix(in srgb, var(--color-primary, #0041bf) 5%, #ffffff);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}

@supports not (background: color-mix(in srgb, red 5%, white)) {
  .author-profile__head { background: #f5f7fd; }
}

.author-profile__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.author-profile__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary, #0041bf);
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.author-profile__name {
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.author-profile__title {
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.author-profile__inner {
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 執筆者略歴セクション */
.author-profile__section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary, #0041bf);
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.author-profile__body p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 0;
}

/* リンク・SNSエリア */
.author-profile__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.author-profile__more {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary, #0041bf);
  text-decoration: none;
}

.author-profile__more:hover {
  text-decoration: underline;
  opacity: 1;
}

/* SNSリンク */
.author-profile__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-profile__social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  transition: background .15s, color .15s, border-color .15s;
}

.author-profile__social-link:hover {
  background: #f5f5f5;
  color: #1a1a1a;
  border-color: #bbb;
  opacity: 1;
}

.author-profile__social-link--facebook {
  color: #1877f2;
  border-color: #c3d8fc;
}

.author-profile__social-link--facebook:hover {
  background: #eef4ff;
  color: #1877f2;
  border-color: #1877f2;
}

.author-profile__social-link--twitter {
  color: #000;
  border-color: #ccc;
}

.author-profile__social-link--twitter:hover {
  background: #f0f0f0;
  color: #000;
  border-color: #888;
}

@media (max-width: 640px) {
  .author-profile {
    border-radius: 0 6px 6px 0;
    margin-left: 0;
    margin-right: 0;
  }
}
