.search-profile-map{height:280px;position:relative;background:#a9d3df;overflow:hidden}.search-profile-map:after{content:none}.search-profile-map>[data-profile-map]{position:absolute;inset:0;width:100%;height:100%}.search-profile-location{position:absolute;bottom:12px;left:12px;right:60px;z-index:650;width:fit-content;max-width:calc(100% - 85px);background:#fffef7;padding:8px 12px;border-radius:5px;font-size:12px;box-shadow:0 2px 10px #0002}.search-profile-open-map{position:absolute;top:12px;right:12px;z-index:650}.search-profile-map .leaflet-control-zoom{margin-bottom:58px}.seminar-instructor-grid{display:grid;gap:18px}.seminar-instructor-grid .teacher-card{display:flex;align-items:center;gap:20px;padding:20px;min-height:120px}.seminar-instructor-grid a.teacher-card:not(.instructor-card):hover{background:#f0fbfd;box-shadow:0 4px 15px #142d3620}.seminar-instructor-grid .avatar{flex:0 0 82px;width:82px;height:82px;font-size:22px;background:#eaf6f8;color:#16829b}.seminar-person-choice{display:inline-block;margin-right:14px;margin-top:6px}.seminar-profile [hidden]{display:none!important}.seminar-profile .profile-tabs{margin:16px 0 32px}.seminar-profile .profile-grid{align-items:start}.seminar-profile-content{padding-bottom:45px}.teacher-hero{margin-top:0}.search-profile-map .leaflet-container{font-family:inherit}@media(max-width:760px){.search-profile-map{height:220px}.seminar-instructor-grid .teacher-card{gap:12px;padding:16px}.seminar-instructor-grid .avatar{flex-basis:64px;width:64px;height:64px}.search-profile-location{font-size:11px}}

.search-profile-pin span{display:block;width:22px;height:22px;background:#159bb5;border:4px solid white;border-radius:50%;box-shadow:0 1px 7px #142d3655}

.seminar-summary{margin-bottom:38px;padding-bottom:26px;border-bottom:1px solid var(--line)}.seminar-summary-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px;margin:22px 0}.seminar-summary-fields>div{min-width:0}.seminar-summary-fields dt{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin-bottom:5px}.seminar-summary-fields dd{margin:0;font-size:14px;overflow-wrap:anywhere;white-space:pre-line}.seminar-summary-description{white-space:pre-line;line-height:1.8}.seminar-summary-links{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:18px 0}.seminar-summary .seminar-affiliations{margin-bottom:20px}.seminar-summary .note{margin-top:20px}@media(max-width:760px){.seminar-summary-fields{grid-template-columns:1fr;gap:16px}}

/* Keep Leaflet's high internal z-index inside the map, behind overlapping portraits. */
.search-profile-map{isolation:isolate;z-index:0}
.profile-heading{position:relative;z-index:2}
.profile-heading .profile-picture{position:relative;z-index:2}
.teacher-card,.dojo-card,.seminar-profile-card,.result-card[data-dojo-card]{background:#f3fafc}
.teacher-card:not(.instructor-card):hover,.dojo-card:hover,.seminar-profile-card:hover,.result-card[data-dojo-card]:hover{background:#e4f4f8}
.teacher-profile-card:focus-visible,.dojo-card:has(a:focus-visible),.seminar-profile-card:has(a:focus-visible){outline:2px solid #1599b5;outline-offset:3px;background:#e4f4f8}

/* Leave the portrait overlap clear of the map's location label and zoom controls. */
.search-profile-location{bottom:48px}
.search-profile-map .leaflet-control-zoom{margin-bottom:96px}

.recorded-teacher-links{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.recorded-teacher-links p{line-height:1.9}.recorded-teacher-links a{white-space:normal}

/* Approved front-page cards: matching compact dojo and teacher dimensions. */
.home-clean-content .home-teacher-story .compact-home-card{display:flex;align-items:center;gap:16px;width:100%;min-width:0;min-height:140px;height:140px;padding:18px 22px;border-radius:22px;text-decoration:none;border:1px solid #ffffffac;box-shadow:inset 0 1px 0 #ffffffdd,0 2px 4px #263c4907,0 10px 24px #263c4910;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.home-clean-content .home-teacher-story .compact-home-card .compact-card-portrait{display:block;position:relative;overflow:hidden;width:66px;height:66px;min-width:66px;flex:0 0 66px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 0 4px #ffffff75,0 4px 10px #21384b12;aspect-ratio:1}
.home-clean-content .home-teacher-story .compact-home-card .compact-card-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}
.home-clean-content .home-teacher-story .compact-home-card .compact-card-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1}
.home-clean-content .home-teacher-story .compact-home-card h3{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-.25px;margin:0;color:var(--card-ink,#293e4c)}
.home-clean-content .home-teacher-story .compact-home-card p{font-size:12px;line-height:1.3;margin:0;color:var(--card-muted,#72808c);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-clean-content .home-teacher-story .compact-home-card .instructor-title{font-size:9px;font-weight:600;letter-spacing:.25px;line-height:1.3;padding:3px 8px;border-radius:20px;background:var(--card-pill,#ffffff85);border:1px solid var(--card-border,#ffffff80);color:var(--card-ink,#536875)}
.home-clean-content .home-teacher-story .compact-home-card .compact-card-action{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--card-link,#176b8f);margin-top:2px;line-height:1.4}
.home-clean-content .home-teacher-story .compact-home-card .compact-card-action>span{display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:var(--card-pill,#ffffff75);border:1px solid var(--card-border,#2534490e);font-size:15px}
.home-clean-content .home-teacher-story .compact-dojo-card{background:linear-gradient(145deg,#f6f7f9,#e0e6eb);color:#293e4c}
.home-clean-content .home-teacher-story .compact-home-card:focus-visible{outline:3px solid #24afce;outline-offset:4px}
@media(max-width:599px){.home-clean-content .home-teacher-story .compact-home-card{padding:16px;gap:14px;height:auto;min-height:140px}.home-clean-content .home-teacher-story .compact-home-card .compact-card-portrait{width:58px;height:58px;min-width:58px;flex-basis:58px}.home-clean-content .home-teacher-story .compact-home-card h3{font-size:14px}.home-clean-content .home-teacher-story .compact-home-card .instructor-title{font-size:8px}.home-clean-content .home-teacher-story .compact-home-card p{font-size:11px}}

.home-clean-content .home-teacher-story .compact-seminar-card{background:linear-gradient(145deg,#f6f7f9,#e0e6eb);color:#293e4c}
.home-clean-content .home-teacher-story .compact-seminar-card .instructor-title{color:#176b8f;background:#ffffff9c}

/* Compact teacher cards on dojo and seminar profiles, including Teachers tabs. */
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card{display:flex;align-items:center;gap:16px;width:100%;max-width:500px;min-width:0;height:140px;min-height:140px;padding:18px 22px;border-radius:22px;box-shadow:inset 0 1px 0 #ffffff80,0 2px 4px #263c4907,0 10px 24px #263c4910}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .avatar{width:66px;height:66px;min-width:66px;flex:0 0 66px;box-shadow:0 0 0 4px #ffffff75,0 4px 10px #21384b12}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .compact-dojo-teacher-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .instructor-title{font-size:9px;line-height:1.3;padding:3px 8px;letter-spacing:.25px}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card h3{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-.25px;margin:0}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card p{font-size:12px;line-height:1.3;margin:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .compact-dojo-teacher-action{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;line-height:1.4;color:var(--card-link);margin-top:2px}
.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .instructor-chevron{width:17px;height:17px;font-size:15px}
@media(max-width:599px){.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card{padding:16px;gap:14px;height:auto;min-height:140px;flex-wrap:nowrap}.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .avatar{width:58px;height:58px;min-width:58px;flex-basis:58px}.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card h3{font-size:14px}.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card p{font-size:11px}.teacher-card.teacher-profile-card.instructor-card.compact-dojo-teacher-card .instructor-title{font-size:8px}}
