.ghe{--ghe-blue:#0950aa;--ghe-orange:#fa8226;--ghe-radius:12px;--ghe-text:#1d2329;--ghe-muted:#596170;--ghe-line:#dce3ef;font-family:Roboto,Arial,sans-serif;color:var(--ghe-text);font-size:15px;line-height:1.55}.ghe *{box-sizing:border-box}.ghe h1,.ghe h2,.ghe h3,.ghe-button,.ghe-outline{font-family:'Inter Tight',Roboto,Arial,sans-serif;font-weight:600}.ghe h2{font-size:26px;margin:0 0 12px}.ghe h3{font-size:19px;margin:0 0 7px;line-height:1.25}.ghe p{margin:0 0 12px}.ghe-panel{background:#fff;border:1px solid var(--ghe-line);border-radius:var(--ghe-radius);padding:26px;box-shadow:0 8px 24px rgba(9,80,170,.06);margin:0 0 20px}.ghe-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;color:var(--ghe-blue);margin-bottom:8px}.ghe-eyebrow:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ghe-orange);margin-right:8px}.ghe label{display:block;font-weight:500;margin:12px 0}.ghe input:not([type=checkbox]):not([type=hidden]),.ghe select,.ghe textarea{display:block;width:100%;max-width:100%;background:white;border:1px solid #cdd7e4;border-radius:8px;padding:10px 12px;min-height:42px;font:inherit;color:var(--ghe-text);margin-top:5px}.ghe input:focus,.ghe select:focus,.ghe textarea:focus{outline:2px solid var(--ghe-blue);outline-offset:1px}.ghe input[type=color]{padding:4px;height:46px}.ghe input[type=checkbox]{margin-right:8px;accent-color:var(--ghe-blue)}.ghe .ghe-check{display:flex;align-items:flex-start;gap:4px;font-weight:400;margin:10px 0}.ghe .ghe-check input{margin-top:5px;flex-shrink:0}.ghe fieldset{border:1px solid var(--ghe-line);border-radius:10px;padding:14px 18px;margin:18px 0;min-width:0}.ghe legend{font-weight:600;padding:0 6px}.ghe-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.ghe-photo-field{padding:16px;border:1px dashed #b8c9e2;border-radius:10px;background:#f6f8fd;margin:18px 0}.ghe-photo-field img{display:block;width:100px;height:100px;object-fit:cover;border-radius:8px}.ghe small,.ghe-muted{color:var(--ghe-muted)}.ghe-button,.ghe-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:10px 18px;min-height:42px;cursor:pointer;text-decoration:none!important;line-height:1.25;font-size:14px;white-space:normal}.ghe-button{background:var(--ghe-blue)!important;color:#fff!important;border:1px solid var(--ghe-blue)}.ghe-outline{background:white!important;color:var(--ghe-blue)!important;border:1px solid #c9d6e8}.ghe-button:hover{filter:brightness(.88)}.ghe-outline:hover{background:#edf1fe!important}.ghe-button:disabled{opacity:.6;cursor:wait}.ghe-link-row{display:flex;align-items:center;gap:10px;margin:8px 0}.ghe-link-row input{flex:1;min-width:0}.ghe-link-row input:first-child{flex:.65}.ghe-notice{border-left:3px solid var(--ghe-blue);padding:12px 16px;background:#edf1fe;margin:16px 0;border-radius:5px}.ghe-notice p:last-child{margin-bottom:0}.ghe-grid{display:grid;grid-template-columns:repeat(var(--ghe-columns,4),minmax(0,1fr));gap:24px}.ghe-card{overflow:hidden;background:#fff;border:1px solid #e3e8ef;border-radius:var(--ghe-radius);box-shadow:0 6px 20px rgba(9,80,170,.08);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;min-width:0}.ghe-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(9,80,170,.13)}.ghe-card-media{position:relative;width:100%;aspect-ratio:1;background:linear-gradient(180deg,#fbfcff 0%,#edf1fe 100%);padding:14px 14px 0;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}.ghe-card .ghe-card-photo{width:100%;height:100%;object-fit:contain;object-position:top center;display:block;background:transparent;margin:0}.ghe-card-content{padding:17px;display:flex;flex-direction:column;flex:1}.ghe-card-content h3{text-transform:uppercase;overflow-wrap:anywhere}.ghe-card-content p{font-size:14px;color:var(--ghe-muted);overflow-wrap:anywhere}.ghe-social{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:9px}.ghe-social a{font-size:12px;font-weight:500;color:var(--ghe-blue);background:#edf1fe;padding:5px 9px;border-radius:20px;text-decoration:none;overflow-wrap:anywhere;max-width:100%}.ghe-social a:hover{background:#fff0e3;color:#8b420c}.ghe-card details{font-size:13px;margin:0 0 8px}.ghe-card summary{color:var(--ghe-blue);cursor:pointer}.ghe-load{text-align:center;margin:30px 0}.ghe-count{font-size:13px;color:var(--ghe-muted)}.ghe-admin{max-width:1400px;margin-right:22px}.ghe-admin-head{background:linear-gradient(115deg,#edf1fe,#fff 75%);border:1px solid var(--ghe-line);border-radius:14px;padding:25px;margin:20px 0 14px}.ghe-admin-head h1{font-size:30px;font-weight:700;color:#0950aa}.ghe-admin-nav{display:flex;flex-wrap:wrap;gap:5px;background:#fff;border:1px solid var(--ghe-line);border-radius:10px;padding:7px;margin:0 0 20px}.ghe-admin-nav a{padding:10px 13px;border-radius:6px;color:var(--ghe-muted);text-decoration:none;font-weight:500}.ghe-admin-nav a.active,.ghe-admin-nav a:hover{background:#edf1fe;color:var(--ghe-blue)}.ghe-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ghe-stats strong{display:block;font-size:36px;color:var(--ghe-blue);margin-top:8px}.ghe-table{overflow-x:auto;background:#fff;border-radius:10px;border:1px solid var(--ghe-line)}.ghe-table table{border:0;min-width:650px}.ghe-table th,.ghe-table td{padding:14px;vertical-align:middle}.ghe-person{display:flex;align-items:center;gap:12px}.ghe-person img{width:48px;height:48px;object-fit:cover;border-radius:6px}.ghe-status{display:inline-block;background:#edf1fe;color:#0950aa;border-radius:20px;padding:5px 10px;font-size:12px}.ghe-filter,.ghe-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}.ghe-filter input,.ghe-filter select{width:auto!important;flex:1;min-width:130px;margin:0!important}.ghe-admin .page-numbers{display:inline-block;padding:8px 12px;margin-top:12px;background:white;border:1px solid var(--ghe-line)}@media(max-width:900px){.ghe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ghe-panel{padding:20px}.ghe-card-media{padding:12px 12px 0}}@media(max-width:520px){.ghe-grid,.ghe-fields,.ghe-stats{grid-template-columns:1fr}.ghe-panel{padding:15px}.ghe-link-row{flex-wrap:wrap}.ghe-link-row input{flex-basis:100%!important}.ghe-admin-nav a{padding:7px 9px}.ghe-admin{margin-right:10px}.ghe-card-media{padding:10px 10px 0;aspect-ratio:1/.96}.ghe-card-content{padding:14px}.ghe-card-content p{font-size:13px;line-height:1.55}}@media(prefers-reduced-motion:reduce){.ghe-card{transition:none}.ghe-card:hover{transform:none}}

/* v1.0.1: isolate directory controls from theme/Elementor border resets. */
body .ghe:not(.ghe-admin) form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
body .ghe:not(.ghe-admin) form select,
body .ghe:not(.ghe-admin) form textarea {
  border: 1px solid #aebccc !important;
  background-color: #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body .ghe:not(.ghe-admin) form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):focus,
body .ghe:not(.ghe-admin) form select:focus,
body .ghe:not(.ghe-admin) form textarea:focus {
  border-color: var(--ghe-blue) !important;
  outline: 2px solid var(--ghe-blue) !important;
  outline-offset: 1px;
}
body .ghe:not(.ghe-admin) form input[type="checkbox"] { appearance: auto !important; accent-color: var(--ghe-blue); }
body .ghe .ghe-card .ghe-card-content .ghe-member-name {
  font-family: Roboto, sans-serif !important;
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  color: #000 !important;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  margin: 0 0 7px;
}

.ghe .ghe-bulk-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;padding:14px;background:#fff;border:1px solid #d9e2f2;border-radius:10px}.ghe .ghe-bulk-toolbar select{width:auto;min-width:180px}.ghe .ghe-bulk-count{font-weight:600;color:var(--ghe-blue)}.ghe .ghe-bulk-toolbar small{color:#657385}.ghe .ghe-table input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0}


/* v1.2.1: portrait-friendly top-center image framing for member cards. */
body .ghe .ghe-card .ghe-card-media{border-bottom:1px solid #eef2f8}
body .ghe .ghe-card .ghe-card-photo{max-width:100%;max-height:100%}

/* 1.2.3: fixed portrait frame with bottom-aligned, uncropped portraits. */
body .ghe.ghe-directory .ghe-card > .ghe-card-media {
 position:relative !important; display:block !important; width:100% !important;
 height:auto !important; aspect-ratio:1 / 1 !important; padding:0 !important;
 overflow:hidden !important; flex:none !important; box-sizing:border-box !important;
}
body .ghe.ghe-directory .ghe-card > .ghe-card-media > img.ghe-card-photo {
 position:absolute !important; inset: auto 7% 0 7% !important;
 width:86% !important; height:93% !important; max-width:none !important; max-height:none !important;
 min-width:0 !important; min-height:0 !important; aspect-ratio:auto !important;
 object-fit:contain !important; object-position:center bottom !important;
 margin:0 !important; padding:0 !important; display:block !important; transform:none !important;
 border:0 !important; border-radius:0 !important; background:transparent !important;
}
@media(max-width:520px){
 body .ghe.ghe-directory .ghe-card > .ghe-card-media {aspect-ratio:1 / 0.9 !important;}
 body .ghe.ghe-directory .ghe-card > .ghe-card-media > img.ghe-card-photo {inset:auto 9% 0 9% !important;width:82% !important;height:94% !important;}
}
