/* Trainer and institution profiles: canonical professional layout. */
body.single-tk_institution{background:var(--msid-white);color:var(--msid-ink);}
.msid-profile-page{background:var(--msid-white);color:var(--msid-ink);direction:rtl;}
.profile-container{width:min(1180px,calc(100% - 40px));margin-inline:auto;}

/* Hero */
.profile-hero{padding:34px 0 18px;background:var(--msid-white);}
.profile-hero-frame{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);gap:48px;align-items:center;padding:42px 48px;background:var(--msid-aubergine);border:2px solid var(--msid-aubergine);border-radius:var(--msid-radius-hero);color:var(--msid-white);overflow:hidden;}
.profile-hero-copy{min-width:0;text-align:right;}
.profile-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px;color:var(--msid-subtle);font-size:var(--msid-type-ui);font-weight:700;}
.profile-breadcrumb a{color:var(--msid-line);text-decoration:none;}.profile-breadcrumb a:hover{color:var(--msid-white);}
.profile-kickers{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.profile-kickers span{display:inline-flex;align-items:center;min-height:31px;padding:0 10px;border:1px solid var(--msid-white);border-radius:var(--msid-radius-pill);background:var(--msid-aubergine);color:var(--msid-white);font-size:var(--msid-type-sm);font-weight:800;}
.profile-kickers .is-verified{background:var(--msid-white);color:var(--msid-ink);border-color:var(--msid-white);}
.profile-hero h1{max-width:780px;margin:0 0 10px;color:var(--msid-white);font-size:clamp(2.5rem,4.5vw,4.5rem);line-height:1.08;letter-spacing:-1.4px;font-weight:850;overflow-wrap:anywhere;}
.profile-hero-role{margin:0 0 14px;color:var(--msid-white);font-size:1.12rem;font-weight:800;}
.profile-hero-intro{max-width:730px;margin:0 0 20px;color:var(--msid-line);font-size:1rem;line-height:1.9;}
.profile-meta-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;}
.profile-meta-pills span{padding:7px 10px;border:1px solid var(--msid-white);border-radius:var(--msid-radius-sm);background:var(--msid-aubergine);color:var(--msid-white);font-size:var(--msid-type-sm);font-weight:750;}
.profile-hero-actions{display:flex;flex-wrap:wrap;gap:10px;}
.profile-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:var(--msid-radius-control);font-size:var(--msid-type-meta);font-weight:850;text-decoration:none;transition:.16s ease;}
.profile-btn-light{background:var(--msid-white);color:var(--msid-ink);border:1px solid var(--msid-white);}.profile-btn-light:hover{background:var(--msid-white);}
.profile-btn-outline{background:transparent;color:var(--msid-white);border:1px solid var(--msid-subtle);}.profile-btn-outline:hover{background:var(--msid-white);color:var(--msid-ink);border-color:var(--msid-white);}
.profile-btn-dark{background:var(--msid-aubergine);color:var(--msid-white);border:1px solid var(--msid-aubergine);}.profile-btn-dark:hover{background:var(--msid-aubergine);color:var(--msid-white);}
.profile-btn-white{background:var(--msid-white);color:var(--msid-ink);border:1px solid var(--msid-aubergine);}.profile-btn-white:hover{background:var(--msid-white);}
.profile-btn-full{width:100%;}

/* Trainer media card */
.profile-person-card{align-self:stretch;min-height:360px;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--msid-radius-panel);background:var(--msid-white);color:var(--msid-ink);border:1px solid var(--msid-line-soft);}
.profile-person-media{flex:1;min-height:290px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--msid-white);}
.profile-person-media img{width:100%;height:100%;min-height:290px;object-fit:cover;filter:none;}
.profile-person-initials{font-size:5rem;font-weight:900;letter-spacing:-.08em;color:var(--msid-ink);}
.profile-person-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-top:1px solid var(--msid-line);}
.profile-person-caption strong{color:var(--msid-ink);font-size:var(--msid-type-body-sm);}.profile-person-caption span{color:var(--msid-muted);font-size:var(--msid-type-ui);}

/* Institution media card */
.profile-org-card{align-self:stretch;min-height:330px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--msid-line-soft);border-radius:var(--msid-radius-panel);background:var(--msid-white);color:var(--msid-ink);}
.profile-org-cover{flex:1;min-height:230px;overflow:hidden;background:var(--msid-white);}
.profile-org-cover img{width:100%;height:100%;min-height:230px;object-fit:cover;filter:none;}
.profile-org-identity{flex:1;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:28px;text-align:center;}
.profile-org-identity.has-cover{min-height:0;flex:0 0 auto;display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;text-align:right;gap:14px;padding:15px 18px;}
.profile-org-logo{width:92px;height:92px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--msid-line);border-radius:var(--msid-radius-card);background:var(--msid-white);color:var(--msid-ink);font-size:1.7rem;font-weight:900;}
.profile-org-identity.has-cover .profile-org-logo{width:68px;height:68px;border-radius:var(--msid-radius-card);}
.profile-org-logo img{width:100%;height:100%;object-fit:contain;filter:none;}
.profile-org-identity strong{display:block;color:var(--msid-ink);font-size:1.05rem;margin-bottom:3px;}.profile-org-identity span{display:block;color:var(--msid-muted);font-size:var(--msid-type-ui);}

/* Facts & static navigation */
.profile-facts{padding:0 0 18px;background:var(--msid-white);}
.profile-facts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));border:1px solid var(--msid-line);border-radius:var(--msid-radius-card);overflow:hidden;background:var(--msid-white);}
.profile-facts-grid>div{padding:17px 20px;border-left:1px solid var(--msid-line-soft);}.profile-facts-grid>div:last-child{border-left:0;}
.profile-facts-grid span{display:block;margin-bottom:5px;color:var(--msid-muted);font-size:var(--msid-type-sm);font-weight:750;}.profile-facts-grid strong{display:block;color:var(--msid-ink);font-size:1rem;line-height:1.4;}
.profile-anchor-nav{display:flex;align-items:center;gap:22px;overflow-x:auto;padding:16px 2px;border-top:1px solid var(--msid-line-soft);border-bottom:1px solid var(--msid-line-soft);white-space:nowrap;scrollbar-width:none;}
.profile-anchor-nav::-webkit-scrollbar{display:none;}.profile-anchor-nav a{color:var(--msid-text-secondary);text-decoration:none;font-size:var(--msid-type-ui);font-weight:750;}.profile-anchor-nav a:hover{color:var(--msid-ink);}

/* Main layout */
.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start;padding:26px 0 64px;}
.profile-main{min-width:0;}
.profile-aside{position:static;top:auto;display:grid;gap:16px;}
.profile-section{scroll-margin-top:90px;margin-bottom:18px;padding:30px 28px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-panel);background:var(--msid-white);}
.profile-section-head{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:18px;align-items:start;margin-bottom:24px;}
.profile-section-head>span{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--msid-aubergine);color:var(--msid-white);font-size:var(--msid-type-ui);font-weight:850;}
.profile-section-head>div{min-width:0;padding-top:2px;}.profile-section-head h2{margin:0 0 7px;color:var(--msid-ink);font-size:1.55rem;line-height:1.25;}.profile-section-head p{max-width:680px;margin:0;color:var(--msid-muted);font-size:var(--msid-type-meta);line-height:1.75;}
.profile-rich-text{max-width:850px;color:var(--msid-text);font-size:1rem;line-height:2;}.profile-rich-text p{color:var(--msid-text);margin:0 0 1em;}.profile-rich-text p:last-child{margin-bottom:0;}.profile-rich-text h2,.profile-rich-text h3,.profile-rich-text h4{color:var(--msid-ink);}

/* Skills / services / credentials */
.profile-skill-grid{display:flex;flex-wrap:wrap;gap:8px;}.profile-skill-grid span{padding:9px 13px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-pill);background:var(--msid-white);color:var(--msid-text);font-size:var(--msid-type-ui);font-weight:750;}
.profile-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.profile-service-grid>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:11px;align-items:center;padding:16px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-control);background:var(--msid-white);}.profile-service-grid>div>span{width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--msid-aubergine);color:var(--msid-white);font-size:var(--msid-type-sm);font-weight:900;}.profile-service-grid strong{color:var(--msid-text);font-size:var(--msid-type-meta);}
.profile-credential-list{display:grid;gap:0}.profile-credential-list>div{padding:12px 0;border-bottom:1px solid var(--msid-line-soft);background:transparent}.profile-credential-list>div:last-child{border-bottom:0}.profile-credential-list strong{display:block;color:var(--msid-ink);font-size:var(--msid-type-body-sm)}.profile-credential-list span{display:block;margin-top:3px;color:var(--msid-muted);font-size:var(--msid-type-ui)}

/* Timeline */
.profile-timeline{position:relative;display:grid;gap:0;}.profile-timeline article{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:14px;padding:0 0 24px;}.profile-timeline article:last-child{padding-bottom:0;}.profile-timeline article:before{content:"";position:absolute;right:8px;top:15px;bottom:-1px;width:1px;background:var(--msid-aubergine);}.profile-timeline article:last-child:before{display:none;}.timeline-dot{width:17px;height:17px;margin-top:3px;border:5px solid var(--msid-ink);border-radius:50%;background:var(--msid-white);z-index:1;}.profile-timeline h3{margin:0 0 4px;color:var(--msid-ink);font-size:var(--msid-type-body-sm);}.profile-timeline p{margin:0;color:var(--msid-text-secondary);font-size:var(--msid-type-ui);}.profile-timeline small{display:block;margin-top:4px;color:var(--msid-subtle);font-size:var(--msid-type-sm);}

/* Course cards */
.profile-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}.profile-course-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--msid-line);border-radius:var(--msid-radius-card);background:var(--msid-white);color:var(--msid-ink);text-decoration:none;transition:.16s ease;}.profile-course-card:hover{border-color:var(--msid-subtle);transform:translateY(-2px);}.profile-course-media{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--msid-white);color:var(--msid-ink);font-weight:900;letter-spacing:.12em;}.profile-course-media img{width:100%;height:100%;object-fit:cover;filter:none;}.profile-course-body{display:flex;flex:1;flex-direction:column;padding:16px;}.profile-course-body h3{margin:0 0 10px;color:var(--msid-ink);font-size:1rem;line-height:1.5;}.profile-course-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;}.profile-course-meta span{padding:5px 7px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-sm);color:var(--msid-text-secondary);font-size:var(--msid-type-sm);font-weight:700;}.profile-course-foot{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid var(--msid-line-soft);}.profile-course-foot strong{color:var(--msid-ink);font-size:var(--msid-type-meta);}.profile-course-foot span{color:var(--msid-text-secondary);font-size:var(--msid-type-sm);font-weight:800;}.profile-section-link{margin-top:18px;text-align:left;}.profile-section-link a,.profile-text-link{color:var(--msid-ink);font-size:var(--msid-type-ui);font-weight:800;text-decoration:none;border-bottom:1px solid var(--msid-ink);}

/* Trainer cards */
.profile-trainer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.profile-trainer-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center;padding:15px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-card);background:var(--msid-white);color:var(--msid-ink);text-decoration:none;transition:.16s ease;}.profile-trainer-card:hover{border-color:var(--msid-subtle);}.profile-trainer-avatar{width:70px;height:70px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:var(--msid-aubergine);color:var(--msid-white);font-size:1rem;font-weight:900;}.profile-trainer-avatar img{width:100%;height:100%;object-fit:cover;filter:none;}.profile-trainer-card h3{margin:0 0 3px;color:var(--msid-ink);font-size:var(--msid-type-meta);}.profile-trainer-card p{margin:0 0 5px;color:var(--msid-muted);font-size:var(--msid-type-ui);}.profile-trainer-card>div:last-child>span{color:var(--msid-ink);font-size:var(--msid-type-sm);font-weight:800;}

/* Gallery */
.profile-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}.profile-gallery-grid figure{aspect-ratio:4/3;margin:0;overflow:hidden;border:1px solid var(--msid-line);border-radius:var(--msid-radius-control);background:var(--msid-white);}.profile-gallery-grid img{width:100%;height:100%;object-fit:cover;filter:none;}

/* Sidebar */
.profile-action-card,.profile-side-card{padding:22px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-card);background:var(--msid-white);}
.profile-action-card{border:1.5px solid var(--msid-ink);}.profile-card-kicker{display:block;margin-bottom:9px;color:var(--msid-muted);font-size:var(--msid-type-sm);font-weight:800;}.profile-action-card h3,.profile-side-card h3{margin:0 0 12px;color:var(--msid-ink);font-size:1.02rem;line-height:1.45;}.profile-action-card p{margin:0 0 18px;color:var(--msid-text-secondary);font-size:var(--msid-type-ui);line-height:1.75;}
.profile-price{display:flex;align-items:baseline;gap:7px;margin:0 0 12px;}.profile-price strong{color:var(--msid-ink);font-size:2rem;line-height:1;font-weight:900;}.profile-price span{color:var(--msid-muted);font-size:var(--msid-type-ui);font-weight:700;}.profile-price-text strong{font-size:1.25rem;line-height:1.4;}.profile-availability{margin:0 0 16px;padding:8px 10px;border-radius:var(--msid-radius-sm);background:var(--msid-white);color:var(--msid-text);font-size:var(--msid-type-sm);font-weight:750;}.profile-action-card .profile-btn+.profile-btn{margin-top:9px;}
.profile-info-list{margin:0;}.profile-info-list>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--msid-line-soft);}.profile-info-list>div:last-child{border-bottom:0;}.profile-info-list dt{color:var(--msid-muted);font-size:var(--msid-type-sm);font-weight:700;}.profile-info-list dd{margin:0;color:var(--msid-ink);font-size:var(--msid-type-ui);font-weight:800;text-align:left;overflow-wrap:anywhere;}
.profile-contact-list{display:grid;}.profile-contact-list>a,.profile-contact-list>div{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid var(--msid-line-soft);color:var(--msid-ink);text-decoration:none;}.profile-contact-list>a:last-child,.profile-contact-list>div:last-child{border-bottom:0;}.profile-contact-list span{color:var(--msid-muted);font-size:var(--msid-type-sm);font-weight:700;}.profile-contact-list strong{color:var(--msid-ink);font-size:var(--msid-type-ui);line-height:1.55;overflow-wrap:anywhere;}.profile-social-links{display:flex;flex-wrap:wrap;gap:8px;}.profile-social-links a{padding:8px 10px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-sm);color:var(--msid-ink);text-decoration:none;font-size:var(--msid-type-sm);font-weight:750;}

/* Reviews: adapt the shared real-review component to the profile language. */
.profile-reviews-section .reviews-section{margin:0;padding:0;background:transparent;}
.profile-reviews-section .reviews-summary{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;padding:20px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-card);background:var(--msid-white);box-shadow:none;}
.profile-reviews-section .reviews-avg{text-align:center;}.profile-reviews-section .avg-num{color:var(--msid-ink);font-size:2.5rem;font-weight:900;}.profile-reviews-section .avg-stars,.profile-reviews-section .stars{color:var(--msid-ink);}.profile-reviews-section .avg-count{color:var(--msid-muted);}
.profile-reviews-section .rating-bar-track{background:var(--msid-white);}.profile-reviews-section .rating-bar-fill{background:var(--msid-aubergine);}
.profile-reviews-section .review-card,.profile-reviews-section .add-review-card{margin-top:12px;padding:17px;border:1px solid var(--msid-line);border-radius:var(--msid-radius-control);background:var(--msid-white);box-shadow:none;}.profile-reviews-section .review-author-avatar{background:var(--msid-aubergine);color:var(--msid-white);}.profile-reviews-section .review-card p{color:var(--msid-text-secondary);}.profile-reviews-section .add-review-card h4{color:var(--msid-ink);}.profile-reviews-section .star-pick{color:var(--msid-ink);cursor:pointer;}.profile-reviews-section .form-input{width:100%;border:1px solid var(--msid-line);border-radius:var(--msid-radius-control);background:var(--msid-white);color:var(--msid-ink);}.profile-reviews-section .btn-primary{background:var(--msid-aubergine);color:var(--msid-white);border:1px solid var(--msid-aubergine);}.profile-reviews-section .btn-outline{background:var(--msid-white);color:var(--msid-ink);border:1px solid var(--msid-aubergine);}


/* Trainer-specific decision UX. */





































/* Canonical compact hero shared by trainer and institution profiles. */
body.single-tk_institution .profile-hero{padding:20px 0 12px;background:var(--msid-white)}
body.single-tk_institution .profile-hero-frame{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:center;padding:24px 28px;border:2px solid var(--msid-aubergine);border-radius:var(--msid-radius-panel);background:var(--msid-aubergine);color:var(--msid-white);overflow:hidden;box-shadow:none}
body.single-tk_institution .profile-breadcrumb{margin-bottom:10px;color:rgba(255,255,255,.72)}
body.single-tk_institution .profile-breadcrumb a{color:rgba(255,255,255,.8)}
body.single-tk_institution .profile-kickers{margin-bottom:10px}
body.single-tk_institution .profile-kickers span,body.single-tk_institution .profile-meta-pills span{background:var(--msid-aubergine);color:var(--msid-white);border-color:var(--msid-white)}
body.single-tk_institution .profile-kickers .is-verified{background:var(--msid-white);color:var(--msid-ink);border-color:var(--msid-white)}
body.single-tk_institution .profile-hero h1{max-width:560px;margin:0 0 8px;color:var(--msid-white);font-size:clamp(2rem,3.35vw,3.3rem);line-height:1.08;letter-spacing:-.8px}
body.single-tk_institution .profile-hero-role{margin:0 0 10px;color:var(--msid-white);font-size:1rem}
body.single-tk_institution .profile-hero-intro{max-width:560px;margin:0 0 14px;color:rgba(255,255,255,.78);font-size:var(--msid-type-meta);line-height:1.8}
body.single-tk_institution .profile-btn{min-height:44px;padding:0 18px;font-size:var(--msid-type-meta)}

body.single-tk_institution .profile-org-card{width:100%;max-width:360px;min-height:auto;align-self:center;border-radius:var(--msid-radius-panel);background:var(--msid-white);color:var(--msid-ink)}






body.single-tk_institution .profile-org-cover,body.single-tk_institution .profile-org-cover img{min-height:165px;max-height:185px}
body.single-tk_institution .profile-org-identity{min-height:235px;padding:22px}
body.single-tk_institution .profile-org-identity.has-cover{min-height:0;grid-template-columns:60px minmax(0,1fr);gap:12px;padding:14px 16px}
body.single-tk_institution .profile-org-logo{width:84px;height:84px}
body.single-tk_institution .profile-org-identity.has-cover .profile-org-logo{width:56px;height:56px;border-radius:var(--msid-radius-control)}
body.single-tk_institution .profile-anchor-nav{border-top:0;background:var(--msid-white)}
body.single-tk_institution .profile-layout{padding-top:18px;background:var(--msid-white)}
body.single-tk_institution .profile-layout,body.single-tk_institution .profile-main,body.single-tk_institution .profile-aside,body.single-tk_institution .profile-facts{background:var(--msid-white)}

@media(max-width:1000px){
  body.single-tk_institution .profile-hero-frame{grid-template-columns:1fr;gap:18px;padding:22px 20px}
  body.single-tk_institution .profile-org-card{max-width:420px;justify-self:center}
  .profile-layout{grid-template-columns:1fr}.profile-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-action-card{grid-column:1/-1}.profile-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-facts-grid>div{border-bottom:1px solid var(--msid-line-soft)}
  
}
@media(max-width:700px){
  .profile-container{width:min(100% - 22px,1180px)}
  body.single-tk_institution .profile-hero{padding:16px 0 10px}
  body.single-tk_institution .profile-hero-frame{padding:18px 16px;border-radius:var(--msid-radius-panel);gap:16px}
  
  
  body.single-tk_institution .profile-hero h1{max-width:none;font-size:2rem}
  body.single-tk_institution .profile-hero-intro{max-width:none;font-size:var(--msid-type-meta)}
  
  body.single-tk_institution .profile-org-cover,body.single-tk_institution .profile-org-cover img{min-height:200px;max-height:220px}
  .profile-facts-grid{grid-template-columns:1fr 1fr;border-radius:var(--msid-radius-control)}.profile-facts-grid>div{border-left:0;border-bottom:1px solid var(--msid-line-soft)}.profile-facts-grid>div:nth-child(odd){border-left:1px solid var(--msid-line-soft)}.profile-facts-grid>div:nth-last-child(-n+2){border-bottom:0}.profile-anchor-nav{gap:16px;padding:13px 0}
  .profile-layout{gap:18px;padding-top:18px}.profile-section{padding:22px 18px;border-radius:var(--msid-radius-card);margin-bottom:14px}.profile-section-head{grid-template-columns:minmax(0,1fr) 42px;gap:12px;margin-bottom:18px}.profile-section-head>span{width:42px;height:42px;font-size:var(--msid-type-sm)}.profile-section-head h2{font-size:1.22rem}.profile-section-head p{font-size:var(--msid-type-ui)}.profile-service-grid,.profile-credential-list,.profile-course-grid,.profile-trainer-grid{grid-template-columns:1fr}.profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-aside{grid-template-columns:1fr}.profile-action-card{grid-column:auto}.profile-reviews-section .reviews-summary{grid-template-columns:1fr}.profile-hero-actions{display:grid;grid-template-columns:1fr}.profile-btn{width:100%}
  
  
  
}
@media(max-width:440px){
  .profile-facts-grid{grid-template-columns:1fr}.profile-facts-grid>div,.profile-facts-grid>div:nth-child(odd){border-left:0;border-bottom:1px solid var(--msid-line-soft)}.profile-facts-grid>div:last-child{border-bottom:0}.profile-gallery-grid{grid-template-columns:1fr}.profile-info-list>div{grid-template-columns:86px minmax(0,1fr)}.profile-person-caption{align-items:flex-start;flex-direction:column;gap:3px}
  
}












/* Trainer media + bio enhancements without changing hero */



/* Trainer quick facts live in the sidebar to keep the main profile flow focused. */

/* Institution public/profile parity */
.profile-hero-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.profile-hero-facts>div{display:flex;align-items:baseline;gap:7px;padding:9px 12px;border:1px solid var(--msid-border);border-radius:var(--msid-radius-sm);background:var(--msid-surface)}.profile-hero-facts strong{font-size:var(--msid-type-sm);font-weight:800}.profile-hero-facts span{font-size:var(--msid-type-xs);color:var(--msid-muted)}

/* 6.6.51 - verified profile identity and public/private institution sector. */
.profile-hero h1.profile-verified-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.profile-org-identity strong.profile-org-name-line{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}
.profile-org-identity.has-cover strong.profile-org-name-line{justify-content:flex-start}
.profile-org-identity .profile-org-name-line .msid-verified-mark{display:inline-flex;color:var(--msid-blue);font-size:.95rem;margin:0;line-height:1}
body.single-tk_institution .profile-kickers span.profile-sector-public{background:var(--msid-blue-soft);border-color:var(--msid-blue-line);color:var(--msid-blue-dark)}
body.single-tk_institution .profile-kickers span.profile-sector-private{background:var(--msid-white);border-color:var(--msid-white);color:var(--msid-ink)}

/* 6.6.58 — parent-focused childcare facts */
.profile-childcare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-childcare-grid>div{padding:16px;border:1px solid var(--msid-line);border-radius:14px;background:#fbfefd}.profile-childcare-grid>div>span{display:inline-flex;margin-bottom:8px;font-size:1.25rem}.profile-childcare-grid strong{display:block;margin-bottom:5px;color:var(--msid-text)}.profile-childcare-grid p{margin:0;color:var(--msid-text-mid);line-height:1.7}.profile-childcare-programs{margin-top:16px;padding-top:15px;border-top:1px solid var(--msid-line)}.profile-childcare-programs>strong{display:block;margin-bottom:10px}.profile-childcare-programs>div{display:flex;flex-wrap:wrap;gap:7px}.profile-childcare-programs span{padding:7px 10px;border:1px solid #d8e8e1;border-radius:999px;background:#f4fbf7;color:#24513f;font-size:.78rem;font-weight:750}@media(max-width:760px){.profile-childcare-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.profile-childcare-grid{grid-template-columns:1fr}}
