/* body.author で絞り込み、既存テーマには干渉しない */
body.author .author-head { margin: 12px 0 24px; }
body.author .author-head__wrap { display:flex; gap:16px; align-items:flex-start; }
body.author .author-head__avatar img { border-radius:50%; width:120px; height:120px; object-fit:cover; }
body.author .author-head__bio p { margin:0; line-height:1.7; }

body.author .author-posts__grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style:none;
  margin: 20px 0 0;
  padding: 0;
}
@media (max-width: 1024px) { body.author .author-posts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { body.author .author-posts__grid { grid-template-columns: 1fr; } }

body.author .author-posts__card {
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
body.author .author-posts__card:hover { transform: translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,.08); }
body.author .author-posts__link { display:block; text-decoration:none; color:inherit; height:100%; }
body.author .author-posts__thumb { aspect-ratio: 16/9; background:#f7f7f7; overflow:hidden; }
body.author .author-posts__thumb img { width:100%; height:100%; object-fit:cover; display:block; }

body.author .author-posts__meta {
  display:flex; gap:10px; align-items:center;
  padding: 10px 14px 0;
  font-size: 12px; color:#777;
}
body.author .author-posts__cat { background:#f0f0f0; padding:2px 6px; border-radius:4px; }
body.author .author-posts__title { font-size:18px; line-height:1.5; margin:8px 14px 6px; }
body.author .author-posts__excerpt { font-size:14px; color:#444; margin:0 14px 12px; }
body.author .author-posts__more { display:inline-block; margin:0 14px 14px; font-size:13px; border-bottom:1px solid currentColor; }

body.author .author-posts__link:hover { text-decoration: none; }

/* ===========================
   著者ページのスタイル調整
   目的：
   - リンク色を青＋下線に
   - アバターを大きく、下に名前
   - 本文や抜粋の文字をやや大きく
   - Cocoonカードのアクセス数（PV）を非表示
   ※ body.author でスコープを限定（他ページに干渉しない）
   =========================== */

/* 全体の文字サイズをややアップ */
body.author .inner { font-size: 16px; }

/* リンク：青＋下線（Cocoonに負けない程度に強め） */
body.author a { color: #0066cc; text-decoration: underline; }
body.author a:hover { text-decoration: underline; opacity: .9; }

/* 著者ヘッダのレイアウト */
body.author .author-head__wrap { display: flex; gap: 20px; align-items: flex-start; }
body.author .author-head__avatar { text-align: center; }
body.author .author-avatar-img,
body.author .author-head__avatar img {
  width: 120px;         /* ここを 140px, 160px と好みで調整可 */
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
}
/* アイコン下の名前 */
body.author .author-head__name { font-weight: 700; font-size: 16px; line-height: 1.2; }

/* プロフィール本文の可読性アップ */
body.author .author-head__bio { font-size: 15px; line-height: 1.9; }
body.author .author-head__bio p { margin: 0 0 10px; }

/* Cocoonのカード部分（タイトル・抜粋を少し大きく） */
body.author .entry-card-title,            /* Cocoon */
body.author .entry-card-title a {
  font-size: 20px;
  line-height: 1.5;
}
body.author .entry-card-snippet {         /* 抜粋 */
  font-size: 15px;
}

/* PV（アクセス数）を非表示。
   Cocoonの環境差に備えて複数セレクタで潰す */
body.author .post-views,
body.author .fa-eye,
body.author .entry-card-meta .entry-post-views,
body.author .entry-card-meta .post-views, 
body.author .entry-post-views,
body.author .pv, 
body.author .eye {
  display: none !important;
}

/* ===== Author ページ仕上げパッチ（Hanako PRESS）===== */

/* 1) 全体の文字を少し大きく（author ページ限定） */
body.author .inner { font-size: 16.5px; }

/* 2) プロフのリンクは青＋下線を強制 */
body.author .author-head__bio a { color: #0066cc !important; text-decoration: underline !important; }
body.author .author-head__bio a:hover { opacity: .9; }

/* 3) アバターをもう少し大きく、下の名前も強調 */
body.author .author-avatar-img,
body.author .author-head__avatar img {
  width: 140px;   /* ← 好みで 160 などに調整可 */
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
}
body.author .author-head__name { font-weight: 700; font-size: 17px; line-height: 1.2; }

/* 4) Cocoon の「アーカイブタイトル（人アイコン＋名前）」を非表示
      ※ ヘッダに自前のH1があるので重複を消す */
body.author .archive-title,
body.author .archive-title .fa,
body.author .archive-title .fa-user { display: none !important; }

/* 5) カードのタイトル・抜粋を少しだけ大きく */
body.author .entry-card-title,
body.author .entry-card-title a { font-size: 20px; line-height: 1.5; }
body.author .entry-card-snippet { font-size: 15px; }

/* 6) PV（アクセス数）表示を非表示
   環境差に備えて広めに潰す。残る場合は該当要素の class 名を教えてくれ。 */
body.author .post-views,
body.author .entry-post-views,
body.author .entry-card-meta .post-views,
body.author .entry-card-meta .entry-post-views,
body.author .entry-card-meta .fa-eye,
body.author .entry-card-meta .icon-post-views,
body.author .entry-card-meta .entry-meta-items .post-views { display: none !important; }

/* 7) PV削除で区切りが余る場合に備えて、メタの余分な区切りを薄く */
body.author .entry-card-meta .meta-sep { opacity: .3; }

/* 8) プロフィール本文の可読性 */
body.author .author-head__bio { font-size: 15.5px; line-height: 1.9; }
body.author .author-head__bio p { margin: 0 0 10px; }

.author-head__wrap{
    display: flex;
}

.author-head__bio {
    padding-left: 28px;
    font-size: 14px;
}
.author-head__avatar {
    vertical-align: top;
    width: 40%;
}