/* ═══════════════════════════════════════════════════════════
   PAGE: Monk Biography (single-tac_monk.php)
═══════════════════════════════════════════════════════════ */
.monk-page { max-width: 1080px; margin: 0 auto; padding: 48px 24px 80px; }

/* ── HERO ──────────────────────────────────────────────── */
.monk-hero { display: grid; grid-template-columns: 240px 1fr; gap: 40px; margin-bottom: 56px; align-items: start; }
/* No portrait: single-column, wider text */
.monk-hero--no-portrait { grid-template-columns: 1fr; max-width: 720px; }
.portrait {
  aspect-ratio: 3/4; width: 100%; background: var(--bg2);
  border-radius: var(--r-xl); border: .5px solid var(--br);
  overflow: hidden; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 8px; color: var(--t3);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.portrait span { font-size: 11px; }

.info-col { display: flex; flex-direction: column; }
.monk-eyebrow {
  font-size: 10.5px; font-weight: 500; letter-spacing: .10em;
  text-transform: uppercase; color: var(--t3); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.monk-eyebrow::before { content: ''; width: 20px; height: .5px; background: var(--t3); flex-shrink: 0; }
.monk-h1 {
  font-family: var(--font-d); font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400; color: var(--t1); line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 4px;
}
.monk-thai { font-size: 18px; color: var(--t3); margin-bottom: 16px; letter-spacing: .01em; }

/* Identity strip */
.monk-identity {
  display: flex; align-items: center; flex-wrap: wrap;
  margin-bottom: 20px; padding: 12px 0;
  border-top: .5px solid var(--br); border-bottom: .5px solid var(--br);
}
/* Identity strip (.id-item etc.) moved to components.css */

.monk-lead {
  font-family: var(--font-i); font-size: 15.5px; color: var(--t2);
  line-height: 1.82; font-style: italic; margin-bottom: 24px;
}

.monk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* .btn-ghost moved to components.css */
.btn-icon { padding: 10px; width: 42px; height: 42px; justify-content: center; }
.btn-wa--monk { padding: 10px 18px; font-size: 13px; border-radius: var(--r); }
.btn-share--monk { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); }
.btn-share--monk svg { width: 15px; height: 15px; }

/* ── SECTIONS ──────────────────────────────────────────── */
.monk-section { margin-bottom: 52px; }
.monk-sh {
  font-family: var(--font-d); font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400; color: var(--t1); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: .5px solid var(--br);
  letter-spacing: -.01em; display: flex; align-items: baseline; gap: 12px;
}
.monk-sh-sub { font-family: var(--font-b); font-size: 13px; color: var(--t3); font-weight: 400; }
.monk-prose p {
  font-size: 14.5px; color: var(--t2); line-height: 1.82; margin-bottom: 14px;
}
.monk-prose p:last-child { margin-bottom: 0; }
.monk-prose strong { color: var(--t1); font-weight: 500; }
.monk-prose a { color: var(--gold-dim); border-bottom: 1px solid var(--gold-b); }
.monk-prose a:hover { color: var(--gold); }

/* Amulets grid (reuses .amulet-grid from components) */
.grid-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.grid-count { font-size: 13px; color: var(--t2); }
.grid-avail { color: var(--price); }
.grid-link { font-size: 13px; color: var(--gold-dim); border-bottom: 1px solid var(--gold-b); }
.amulet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.view-all {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 16px; font-size: 13.5px; font-weight: 500;
  color: var(--t1); border: .5px solid var(--br-md);
  border-radius: var(--r-lg); padding: 12px; background: var(--bg0);
  transition: background .15s; cursor: pointer; width: 100%;
  text-align: center; text-decoration: none;
}
.view-all:hover { background: var(--bg2); }
.view-all svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Related monks */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rm-card {
  background: var(--bg0); border: .5px solid var(--br);
  border-radius: var(--r-xl); padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
}
.rm-card:hover { border-color: var(--br-md); box-shadow: 0 2px 10px rgba(0,0,0,.06); transform: translateY(-2px); }
.rm-portrait {
  width: 44px; height: 52px; border-radius: 9px;
  background: var(--bg2); border: .5px solid var(--br);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.rm-portrait img { width: 100%; height: 100%; object-fit: cover; }
.rm-portrait svg { width: 18px; height: 18px; stroke: var(--t3); fill: none; stroke-width: 1.5; }
.rm-name { font-size: 13.5px; font-weight: 500; color: var(--t1); margin-bottom: 2px; }
.rm-temple { font-size: 12px; color: var(--t3); margin-bottom: 6px; }
.rm-count { font-size: 12px; color: var(--gold-dim); border-bottom: 1px solid var(--gold-b); width: fit-content; }

/* ── BENTO STATS ──────────────────────────────────────── */
.monk-bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 40px;
}
.bento-cell {
  background: var(--bg1); border: .5px solid var(--br);
  border-radius: var(--r-lg); padding: 18px 16px; text-align: center;
}
.bento-num {
  font-family: var(--font-d); font-size: 20px; font-weight: 400;
  color: var(--t1); margin-bottom: 4px; line-height: 1.2;
}
.bento-num--avail { color: var(--price); }
.bento-label { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .05em; }

/* ── INLINE CTA ──────────────────────────────────────── */
.monk-inline-cta { margin-bottom: 40px; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 860px) {
  .monk-hero { grid-template-columns: 180px 1fr; gap: 28px; }
  .monk-bento { grid-template-columns: repeat(2, 1fr); }
  .amulet-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .monk-hero { grid-template-columns: 1fr; gap: 20px; }
  .portrait { max-height: 300px; }
  .monk-identity { flex-wrap: wrap; gap: 10px; border: none; padding: 0; }
  .monk-bento { grid-template-columns: 1fr 1fr; }
  .bento-num { font-size: 16px; }
  .amulet-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
}
