.iim-page{--iim-navy:var(--ibjj-ink,#162435);--iim-accent:var(--ibjj-blue,#087fbf);--iim-pale:var(--ibjj-pale,#eaf6fe);color:var(--iim-navy);font-family:Inter,Arial,sans-serif}.iim-page .wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}.iim-archive-heading{background:linear-gradient(105deg,var(--iim-pale),#fff,var(--iim-pale));padding:56px 20px 42px;text-align:center}.iim-archive-heading h1,.iim-profile h1,.iim-profile h2,.iim-card h2{font-family:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;font-weight:800;line-height:1.02}.iim-archive-heading h1{font-size:clamp(40px,5.3vw,70px);margin:0}.iim-archive-heading p{font-size:clamp(15px,1.8vw,22px);margin:0}.iim-underline{width:88px;height:4px;background:var(--iim-accent);margin:16px auto 19px}.iim-listings{padding-block:38px 70px}.iim-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.iim-card{overflow:hidden;border-radius:9px;box-shadow:0 6px 18px #1a344522;border:1px solid #e1e9ef;background:#fff;display:flex;flex-direction:column}.iim-card-photo{display:block;aspect-ratio:3/2;overflow:hidden;background:#d5e7f1}.iim-photo{width:100%;height:100%;object-fit:cover;display:block}.iim-card-photo .iim-photo{transition:transform .2s}.iim-card-photo:hover .iim-photo{transform:scale(1.04)}.iim-portrait-placeholder{width:100%;height:100%;min-height:180px;display:grid;place-items:center;color:#3d6d83;background:linear-gradient(130deg,#e3f0f8,#cadfec)}.iim-portrait-placeholder .dashicons{font-size:66px;width:66px;height:66px}.iim-card-body{padding:21px 23px 24px;display:flex;flex-direction:column;flex:1}.iim-card h2{font-size:33px;margin:0 0 13px}.iim-card h2 a{color:var(--iim-navy);text-decoration:none}.iim-belt-holder{max-width:240px;margin-bottom:5px}.iim-belt-holder svg{width:100%;height:auto;display:block}.iim-rank-name{text-transform:uppercase;font-weight:800;font-size:13px}.iim-position{color:var(--iim-accent);font-size:13px;font-weight:800;margin:4px 0!important;text-transform:uppercase}.iim-card-body>p{font-size:14px;line-height:1.5;margin:10px 0 16px}.iim-profile-link{font-family:'Barlow Condensed',Impact,sans-serif;font-size:19px;font-weight:800;color:var(--iim-accent);text-decoration:none;margin-top:auto}.iim-profile-link span{margin-left:8px}.iim-back{padding-top:30px}.iim-back a{font-size:14px;font-weight:700;color:var(--iim-accent);text-decoration:none}.iim-profile{padding-block:26px 85px;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,70px);align-items:start}.iim-profile-photo{position:sticky;top:25px;background:#e4eef5;border-radius:9px;overflow:hidden;min-height:370px}.iim-profile-photo .iim-photo{height:auto;aspect-ratio:3/4;object-fit:cover}.iim-profile h1{font-size:clamp(44px,5vw,77px);margin:0 0 8px}.iim-profile-eyebrow{color:var(--iim-accent);font-size:12px;font-weight:800;letter-spacing:.19em;margin:0 0 14px}.iim-profile-role{font-weight:800;color:var(--iim-accent);letter-spacing:.035em;text-transform:uppercase;margin:0 0 24px}.iim-profile-rank{display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:#f1f6fa;padding:16px;border-radius:7px;margin-bottom:20px}.iim-profile-rank svg{width:240px;max-width:100%}.iim-profile-rank strong{text-transform:uppercase}.iim-profile-specialties{font-size:14px}.iim-profile h2{font-size:38px;margin:27px 0 13px}.iim-biography{font-size:16px;line-height:1.75}.iim-biography p{margin:0 0 17px}.iim-biography img{max-width:100%;height:auto}.iim-biography a{color:var(--iim-accent)}
@media(max-width:900px){.iim-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.iim-profile{grid-template-columns:1fr 1.15fr;gap:26px}.iim-profile-photo{min-height:0}.iim-card h2{font-size:28px}}
@media(max-width:650px){.iim-page .wrap{width:calc(100% - 32px)}.iim-grid{grid-template-columns:1fr}.iim-archive-heading{padding:35px 12px}.iim-card-photo{aspect-ratio:4/3}.iim-profile{grid-template-columns:1fr;gap:24px;padding-bottom:56px}.iim-profile-photo{position:static}.iim-profile-photo .iim-photo{aspect-ratio:4/3}.iim-profile h1{font-size:45px}}

/* v1.1: independent BJJ / Judo belts; omit all rank markup for no-rank instructors */
.iim-directory-ranks{display:flex;flex-direction:column;gap:9px;margin:2px 0 11px}
.iim-rank-row{display:flex;flex-direction:column;gap:4px}
.iim-rank-row .iim-belt-holder{max-width:240px;margin-bottom:0}
.iim-rank-row .iim-rank-name{display:block}
.iim-discipline-label{text-transform:uppercase;letter-spacing:.09em;font-size:11px;font-weight:800;color:var(--iim-accent)}
.iim-profile-rank{align-items:flex-start;flex-direction:column}
.iim-profile-rank .iim-rank-row{width:100%}
.iim-profile-rank .iim-rank-row svg{width:240px}

/* v1.2: clear discipline labels and responsive side-by-side profile belts. */
.iim-back {display:flex;justify-content:flex-end;align-items:center;padding-top:28px;position:relative;z-index:1}
.iim-back a {display:inline-flex;align-items:center;justify-content:center;text-align:right;min-height:32px}
.iim-profile-rank {display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:18px 22px}
.iim-profile-rank .iim-rank-row {flex:1 1 235px;width:auto;min-width:0}
.iim-profile-rank .iim-rank-row svg {width:100%;max-width:240px}
@media(max-width:650px) {
  .iim-back {padding-top:18px}
  .iim-profile-rank {gap:14px}
}

/* v1.3: accessible background-check badge anchored to the instructor image. */
.iim-card-photo-wrap{position:relative;isolation:isolate}
.iim-card-photo-wrap .iim-card-photo{display:block}
.iim-profile-photo{isolation:isolate}
.iim-verification{position:absolute;top:12px;right:12px;z-index:4;display:block;line-height:1}
.iim-verification-trigger{appearance:none;display:grid;place-items:center;width:47px;height:47px;padding:0;background:#073e64;color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 10px #0005;cursor:pointer;touch-action:manipulation}
.iim-verification-trigger svg{width:29px;height:29px;display:block}
.iim-verification-trigger:hover,.iim-verification-trigger:focus-visible{background:#095783}
.iim-verification-trigger:focus-visible{outline:3px solid #fff;outline-offset:3px}
.iim-verification-tooltip{position:absolute;top:calc(100% + 8px);right:0;max-width:220px;width:max-content;padding:9px 12px;border-radius:5px;background:#142b42;color:#fff;font:600 12px/1.3 Inter,Arial,sans-serif;letter-spacing:0;text-align:center;box-shadow:0 6px 18px #0004;opacity:0;visibility:hidden;transform:translateY(-4px);pointer-events:none;transition:opacity .12s ease,transform .12s ease,visibility .12s ease}
.iim-verification:hover .iim-verification-tooltip,.iim-verification:focus-within .iim-verification-tooltip,.iim-verification.is-open .iim-verification-tooltip{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:650px){.iim-verification{top:10px;right:10px}.iim-verification-trigger{width:42px;height:42px}.iim-verification-trigger svg{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.iim-verification-tooltip{transition:none}}

/* v1.4: use the saved directory crop, without a second crop on individual pages. */
.iim-profile-photo{position:relative;min-height:0;height:auto;overflow:hidden}
.iim-profile-photo .iim-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center center}
.iim-profile-photo .iim-verification{position:absolute;top:12px;right:12px;z-index:5}
@media(max-width:650px){
 .iim-profile-photo{min-height:0;height:auto}
 .iim-profile-photo .iim-photo{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center center}
 .iim-profile-photo .iim-verification{top:10px;right:10px}
}

/* v1.5: original uncropped profile photo on desktop, saved edited 3:2 image on mobile. */
.iim-profile-photo .iim-profile-picture{display:block;width:100%;height:auto}
.iim-profile-photo .iim-photo{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
@media(max-width:650px){
 .iim-profile-photo .iim-photo{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
}
