/* Coach portraits retain the complete uploaded photograph. */
.public-page .coach-card { height: 100%; overflow: hidden; border-radius: 18px; border-color: #dce3ed; }
.coach-card-portrait { display: block; background: #edf1f7; border-bottom: 3px solid var(--club-pink, #ff2994); }
.public-page .coach-card .coach-image { display: block; width: 100%; height: 340px; aspect-ratio: auto; object-fit: contain; background: #edf1f7; }
.public-page .coach-card .coach-initial { height: 340px; }
.public-page .coach-card .content { display: flex; flex-direction: column; flex: 1; align-items: flex-start; gap: 16px; padding: 28px; }
.public-page .coach-card h2 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); }
.public-page .coach-card h2 a { color: inherit; text-decoration: none; }
.public-page .coach-card .tag { color: #99205d; background: #fff0f7; }
.coach-excerpt { margin: 0; line-height: 1.7; }
.coach-profile-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; margin-top: auto; padding-top: 18px; border-top: 1px solid #e5e9f1; color: #12264b; font-weight: 700; text-decoration: none; }
.coach-profile-link span { color: #c21869; font-size: 24px; }
.coach-profile-link:hover, .coach-card h2 a:hover, .coach-back-link:hover { color: #b91562; }
.coach-profile-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.coach-profile-portrait { background: #edf1f7; border-radius: 20px; overflow: hidden; border-bottom: 5px solid var(--club-pink, #ff2994); }
.coach-profile-portrait img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; }
.coach-portrait-link { display: block; color: #173047; text-decoration: none; cursor: zoom-in; }
.coach-portrait-link > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: #eaf0ff; font-size: 13px; }
.coach-portrait-link > span svg { width: 18px; height: 18px; }
.coach-portrait-link:focus-visible { outline: 3px solid var(--club-pink); outline-offset: -3px; }
.coach-profile-portrait .coach-initial { min-height: 340px; }
.coach-profile-body { min-width: 0; }
.coach-profile-heading { padding: 8px 0 24px; border-bottom: 1px solid #dce3ed; }
.coach-profile-heading h1 { margin: 12px 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; overflow-wrap: anywhere; }
.coach-qualification { color: #af185d; font-size: 18px; font-weight: 650; margin: 0; }
.coach-biography { padding-block: 28px; }
.coach-profile-body h2 { font-size: 21px; margin: 0 0 16px; }
.coach-biography .plaintext { color: #42536e; line-height: 1.85; overflow-wrap: anywhere; }
.coach-contacts { background: #fff; border: 1px solid #e1e5ee; border-radius: 14px; padding: 24px; }
.coach-contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.coach-contact-links a { display: flex; flex-direction: column; gap: 4px; color: #14264b; text-decoration: none; overflow-wrap: anywhere; min-height: 44px; }
.coach-contact-links a span { font-size: 13px; color: #5d6c83; }
.coach-contact-links a:hover strong { color: #b91562; text-decoration: underline; }
.coach-profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 28px; }
.coach-back-link { color: #314666; font-weight: 650; text-underline-offset: 5px; padding-block: 12px; }
@media (max-width: 760px) {
    .coach-profile-portrait img { max-height: 360px; }
    .coach-profile-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .coach-profile-portrait { max-width: 540px; width: 100%; margin-inline: auto; }
    .public-page .coach-card .coach-image, .public-page .coach-card .coach-initial { height: 280px; }
    .public-page .coach-card .content { padding: 22px; }
}
@media (max-width: 420px) {
    .coach-contact-links { grid-template-columns: minmax(0, 1fr); }
    .coach-contacts { padding: 20px; }
}
