/* CHARME premium instructor directory / privacy-first approved public fields */
body .cm20-directory{max-width:1280px;margin:0 auto 64px;color:#183b30}
body .cm20-directory *{box-sizing:border-box}
body .cm20-directory-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;padding:20px 0 28px}
body .cm20-dir-eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:#a8834b;margin:0 0 17px}
body .cm20-directory-heading h2{font-size:clamp(28px,3.1vw,46px);font-family:'Noto Serif KR',serif;line-height:1.32;letter-spacing:-.045em;margin:0 0 15px;font-weight:650}
body .cm20-directory-heading h2 em{font-style:normal;color:#af8650}
body .cm20-directory-heading p:not(.cm20-dir-eyebrow){margin:0;color:#53685c;font-size:15px;line-height:1.8;max-width:760px;word-break:keep-all}
body .cm20-dir-stat{border:1px solid #dce5dc;border-radius:22px;background:#f5f7f1;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 184px;min-height:156px;padding:18px;color:#245543}
body .cm20-dir-stat span{font-size:13px;font-weight:750}body .cm20-dir-stat strong{font-family:'Noto Serif KR',serif;font-size:42px;line-height:1.25;color:#123e30}body .cm20-dir-stat small{font-size:12px;color:#61776a}
body .cm20-dir-search{padding:24px;background:#fff;border-radius:22px;border:1px solid #dce5dd;box-shadow:0 12px 30px rgba(19,56,42,.05);display:grid;grid-template-columns:minmax(0,2fr) minmax(175px,1fr) auto;align-items:end;gap:16px}
body .cm20-dir-field{min-width:0;display:flex;flex-direction:column;gap:9px}body .cm20-dir-field label{font-size:14px;font-weight:800;color:#234c3c}
body .cm20-dir-field :is(input,select){display:block;width:100%;min-width:0;height:53px;border:1px solid #cbd7cf;border-radius:12px;padding:0 14px;font-size:15px;background:#fff;color:#183b30;outline-offset:3px}
body .cm20-dir-field :is(input,select):focus-visible{border-color:#2c7658;outline:2px solid #c4dace}
body .cm20-dir-submit{border:0;background:#174535;color:#fff;border-radius:12px;min-height:53px;padding:0 24px;font-size:15px;font-weight:800;cursor:pointer;white-space:nowrap}
body .cm20-dir-resultbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 2px 18px;color:#63756a;font-size:14px}body .cm20-dir-resultbar p{margin:0}body .cm20-dir-resultbar strong{color:#154b36;font-weight:850}body .cm20-dir-resultbar span{font-variant-numeric:tabular-nums}
body .cm20-dir-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body .cm20-dir-card{display:grid;grid-template-columns:minmax(150px,37%) minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid #dfe7df;border-radius:22px;background:white;box-shadow:0 14px 36px rgba(29,61,45,.055);transition:transform .2s ease,box-shadow .2s ease}
body .cm20-dir-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(29,61,45,.11)}
body .cm20-dir-image{position:relative;aspect-ratio:4/5;min-height:272px;background:linear-gradient(145deg,#e4ece6,#d0e1d2);overflow:hidden}
body .cm20-dir-image>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 22%!important;aspect-ratio:4/5;border-radius:0!important}
body .cm20-dir-photo-fallback{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#8caa94}
body .cm20-dir-photo-fallback span{font-size:64px;color:#b5a278}body .cm20-dir-photo-fallback small{color:#577462;text-align:center;letter-spacing:.18em;font-weight:800;font-size:11px;line-height:1.6}
body .cm20-dir-approved{position:absolute;top:14px;left:14px;font-size:12px;font-weight:800;background:#143d32;color:white;padding:8px 12px;border-radius:30px;box-shadow:0 3px 18px rgba(0,0,0,.12)}
body .cm20-dir-detail{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(18px,2.3vw,30px);gap:18px}
body .cm20-dir-reg{margin:0!important;font:650 clamp(22px,2vw,29px)/1.35 'Noto Serif KR',serif;color:#143e31;letter-spacing:-.02em;overflow-wrap:anywhere}
body .cm20-dir-detail dl{display:flex;flex-direction:column;gap:14px;margin:0}body .cm20-dir-detail dl>div{display:flex;flex-direction:column;min-width:0;gap:5px;padding-bottom:12px;border-bottom:1px solid #e9eeea}body .cm20-dir-detail dl>div:last-child{border-bottom:0;padding-bottom:0}
body .cm20-dir-detail dt{font-size:12px;font-weight:850;color:#8c774d}body .cm20-dir-detail dd{margin:0;font-size:15px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere;color:#28473b}
body .cm20-dir-contact{border:1px solid #cadbce;color:#205d43;border-radius:11px;display:inline-flex;align-items:center;justify-content:space-between;text-decoration:none;font-weight:800;font-size:13px;min-height:44px;padding:10px 13px;gap:12px}
body .cm20-dir-contact:hover{background:#edf5ee}
body .cm20-dir-empty{background:#fff;border:1px solid #dce5dd;border-radius:22px;text-align:center;padding:48px 18px}
body .cm20-dir-empty h3{font-size:22px;margin:0 0 9px;color:#204839}body .cm20-dir-empty p{margin:0 0 15px;color:#62736a}body .cm20-dir-empty a{font-weight:800;color:#195f40}
body .cm20-dir-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:34px 0}
body .cm20-dir-pagination :is(a,span){display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 13px;border:1px solid #d7e2d9;border-radius:11px;background:#fff;color:#214a3a;text-decoration:none;font-weight:800;font-size:15px}
body .cm20-dir-pagination a:hover{background:#edf4ee}body .cm20-dir-pagination .cm20-dir-current{background:#184635;color:white;border-color:#184635}
body .cm20-dir-privacy{font-size:13px;color:#6a7a70;line-height:1.8;margin:25px 0 0;word-break:keep-all}
/* Premium 4:5 photos in the homepage swipe. Override old 88x107 thumbnail rules. */
body.homepage .cm20-slider-track{align-items:stretch;gap:18px}
body.homepage .cm20-slider-person.cm20-new-slider-card{flex:0 0 min(342px,85vw);max-width:none;min-height:0;padding:0!important;border-radius:23px;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:0 18px 40px rgba(31,63,42,.08);border:1px solid #dfe5dc;gap:0}
body.homepage .cm20-new-slider-card .cm20-person-main{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important}
body.homepage .cm20-new-slider-card .cm20-person-avatar{position:relative;display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;border-radius:0!important;overflow:hidden!important;background:#e4ebe4!important;max-width:none!important}
body.homepage .cm20-new-slider-card .cm20-person-avatar img,body.homepage .cm20-new-slider-card .cm20-person-avatar .cm20-slider-placeholder{display:block!important;position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border-radius:0!important;object-fit:cover!important;object-position:center 21%!important;margin:0!important}
body.homepage .cm20-new-slider-card .cm20-person-avatar .cm20-slider-placeholder{display:grid!important;place-items:center;color:#a89b78;font-size:60px;background:linear-gradient(145deg,#e4eae2,#c7d8cc)}
body.homepage .cm20-new-photo-badge{position:absolute;top:15px;left:15px;background:#173c30;color:#fff;padding:8px 12px;border-radius:40px;font-size:11px;font-weight:850;letter-spacing:.025em}
body.homepage .cm20-new-slider-card .cm20-person-summary{padding:20px 22px 10px}
body.homepage .cm20-new-slider-card .cm20-person-summary h3{font:650 24px/1.25 'Noto Serif KR',serif!important;letter-spacing:-.03em;display:block!important;margin:0 0 16px!important;color:#173f32}
body.homepage .cm20-new-person-fields{margin:0;display:flex;flex-direction:column;gap:11px}
body.homepage .cm20-new-person-fields>div{display:grid;grid-template-columns:89px minmax(0,1fr);gap:8px;align-items:start}
body.homepage .cm20-new-person-fields dt{color:#a28353;font-size:12px;font-weight:850;line-height:1.65}
body.homepage .cm20-new-person-fields dd{margin:0;color:#345445;font-size:14px;line-height:1.65;overflow-wrap:anywhere;word-break:keep-all}
body.homepage .cm20-new-slider-card .cm20-person-bottom{margin:auto 22px 0;padding:15px 0 19px;border-top:1px solid #e8eee9;justify-content:flex-end}
body.homepage .cm20-new-slider-card .cm20-person-bottom a{margin:0!important;font-size:13px;color:#155640;white-space:normal;min-height:32px;display:inline-flex;align-items:center}
@media(max-width:1100px){body .cm20-dir-card{grid-template-columns:minmax(135px,35%) minmax(0,1fr)}}
@media(max-width:850px){body .cm20-dir-grid{grid-template-columns:1fr}body .cm20-dir-search{grid-template-columns:minmax(0,1fr) 195px}body .cm20-dir-submit{grid-column:1/-1}body .cm20-dir-image{min-height:280px}}
@media(max-width:610px){body .cm20-directory-heading{align-items:start;flex-direction:column;gap:18px}body .cm20-dir-stat{width:100%;flex:auto;min-height:85px;flex-direction:row;gap:16px}body .cm20-dir-stat strong{font-size:30px}body .cm20-dir-search{grid-template-columns:1fr;padding:18px}body .cm20-dir-submit{grid-column:auto}body .cm20-dir-card{grid-template-columns:minmax(125px,39%) minmax(0,1fr)}body .cm20-dir-image{min-height:248px}body .cm20-dir-detail{padding:18px;gap:12px}body .cm20-dir-reg{font-size:20px}body .cm20-dir-detail dl{gap:7px}body .cm20-dir-detail dt{font-size:11px}body .cm20-dir-detail dd{font-size:13px}body .cm20-dir-contact{font-size:12px}body.homepage .cm20-new-slider-card .cm20-person-avatar{aspect-ratio:4/5!important}}
@media(max-width:390px){body .cm20-dir-card{grid-template-columns:1fr}body .cm20-dir-image{min-height:0;aspect-ratio:5/4}body .cm20-dir-image img{object-position:center 18%!important}body .cm20-dir-detail{padding:18px}body .cm20-dir-detail dl{gap:10px}}
@media(prefers-reduced-motion:reduce){body .cm20-dir-card{transition:none}}
/* Extra navigation item: switch to the existing accessible menu before desktop links overflow. */
@media(max-width:1330px){
 body:is(.homepage,.subpage) .top .nav{display:none!important}
 body:is(.homepage,.subpage) .top .menu-btn{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-left:auto}
}

/* Public keyword and locale finder with visible hashtag filters */
body .cm20-dir-search{grid-template-columns:minmax(0,2.1fr) minmax(155px,1fr) minmax(165px,1fr) auto;align-items:end}
body .cm20-dir-card-actions{display:grid;gap:8px}
body .cm20-dir-card-actions a{font-size:14px;justify-content:center}
body .cm20-dir-card-actions .cm20-dir-invite{background:#174535;color:#fff;border-color:#174535}
body .cm20-dir-card-actions .cm20-dir-invite:hover{background:#226449;color:#fff}
body .cm20-dir-tags{display:flex;gap:6px;flex-wrap:wrap;margin:0}
body .cm20-dir-tags a,body .cm20-dir-synonyms a{font-size:13px;border:1px solid #bad5c4;background:#edf6f0;color:#19553c;border-radius:24px;text-decoration:none;padding:5px 9px;line-height:1.4;font-weight:750}
body .cm20-dir-synonyms{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:13px 4px 0;color:#37614b;font-size:13px;line-height:1.8}
@media(max-width:980px){body .cm20-dir-search{grid-template-columns:repeat(2,minmax(0,1fr))}body .cm20-dir-search .cm20-dir-keywords{grid-column:1/-1}}
@media(max-width:610px){body .cm20-dir-search{grid-template-columns:1fr}body .cm20-dir-search .cm20-dir-keywords{grid-column:auto}body .cm20-dir-card-actions .cm20-dir-contact{min-height:46px}}
/* Approved instructor detail (never exposes private fields). */
body .cm20-profile-detail{max-width:1110px;margin:15px auto 65px;color:#153b30}
body .cm20-profile-back{color:#245f48;display:inline-flex;font-weight:850;font-size:15px;margin:0 0 22px;text-decoration:none}
body .cm20-profile-frame{display:grid;grid-template-columns:minmax(240px,35%) minmax(0,1fr);border:1px solid #d5e3d8;border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 19px 49px #143e3014}
body .cm20-profile-portrait{aspect-ratio:4/5;background:#e2ece4;min-height:410px}
body .cm20-profile-portrait>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 20%}
body .cm20-profile-no-photo{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(150deg,#dbe8dd,#bcd3c3);color:#315a44}
body .cm20-profile-no-photo>span{font-size:70px;color:#a88e5f}body .cm20-profile-no-photo>b{font-size:27px;letter-spacing:.15em}
body .cm20-profile-info{padding:clamp(24px,4vw,49px);min-width:0}
body .cm20-profile-approved{display:inline-flex;border-radius:25px;background:#e9f5ee;color:#174c35;padding:8px 12px;font-weight:850;font-size:13px}
body .cm20-profile-info h2{font-size:clamp(29px,4vw,44px);margin:18px 0;color:#153b30!important;line-height:1.25}
body .cm20-profile-headline{font-size:clamp(17px,2.3vw,22px);color:#315947;font-weight:700;line-height:1.65;word-break:keep-all}
body .cm20-profile-attributes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}
body .cm20-profile-attributes div{border:1px solid #dbe6dc;background:#f5f8f4;border-radius:12px;padding:14px;display:grid;gap:6px}
body .cm20-profile-attributes strong{font-size:13px;color:#42644e}body .cm20-profile-attributes span{font-size:16px;color:#204835;font-weight:700}
body .cm20-profile-info h3{font-size:19px;color:#153b30!important;margin:24px 0 13px}
body .cm20-profile-tags{gap:8px}
body .cm20-profile-tags a{padding:9px 13px;font-size:14px}
body .cm20-profile-calltoaction{margin-top:28px}
body .cm20-profile-calltoaction>a{display:flex;justify-content:center;align-items:center;min-height:58px;text-decoration:none!important;background:#154a37;color:#fff!important;border-radius:12px;font-size:16px;font-weight:900;text-align:center;padding:12px}
body .cm20-profile-calltoaction>p,body .cm20-profile-privacy{line-height:1.8;font-size:13px;color:#4d6858;margin:10px 0}
body .cm20-profile-privacy{margin:21px 0}
@media(max-width:710px){body .cm20-profile-frame{grid-template-columns:1fr}body .cm20-profile-portrait{min-height:0;max-height:540px;aspect-ratio:5/4}body .cm20-profile-portrait>img{object-position:center 20%}}
@media(max-width:430px){body .cm20-profile-attributes{grid-template-columns:1fr}body .cm20-profile-info{padding:22px 18px}}
