.sgm-archive{max-width:1200px;margin:40px auto;padding:20px;font-family:inherit}
.sgm-archive-head{text-align:center;margin-bottom:28px}.sgm-eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;opacity:.65}
.sgm-archive-head h2{font-size:38px;margin:8px 0}.sgm-archive-head p{opacity:.7}
.sgm-search{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:25px 0}
.sgm-search input,.sgm-search select,.sgm-search button{min-height:44px;padding:10px 12px;border:1px solid #ddd;border-radius:8px;background:#fff;box-sizing:border-box}
.sgm-search button{cursor:pointer;font-weight:700}.sgm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px}
.sgm-card{border:1px solid #e5e5e5;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}
.sgm-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.1)}
.sgm-photo{display:block;aspect-ratio:4/3;background:#f2f2f2}.sgm-photo img{width:100%;height:100%;object-fit:cover;display:block}
.sgm-placeholder{height:100%;display:grid;place-items:center;font-size:42px;font-weight:800;letter-spacing:.12em;opacity:.3}
.sgm-card-body{padding:18px}.sgm-label{font-size:10px;letter-spacing:.15em;font-weight:800;opacity:.5}.sgm-card h3{margin:5px 0;font-size:22px}.sgm-card h3 a{text-decoration:none;color:inherit}
.sgm-position{font-weight:700;margin-top:6px}.sgm-company{margin-top:3px;opacity:.75}.sgm-meta{font-size:13px;opacity:.55;margin-top:10px}
.sgm-scores{display:flex;gap:12px;margin-top:16px}.sgm-scores span{display:flex;flex-direction:column;border-left:2px solid #ddd;padding-left:10px}.sgm-scores b{font-size:20px}.sgm-scores small{font-size:10px;opacity:.6}
.sgm-empty{padding:40px;text-align:center;grid-column:1/-1;opacity:.6}
.sgm-admin-fields p{margin:12px 0}.sgm-admin-fields label{display:block;margin-bottom:5px}.sgm-admin-fields input,.sgm-admin-fields textarea{width:100%;box-sizing:border-box}

/* v1.0.4 standalone archive/profile presentation */
.sgm-page{max-width:1180px;margin:0 auto;padding:70px 24px;font-family:inherit}
.sgm-hero{text-align:center;margin-bottom:36px}.sgm-kicker{font-size:11px;font-weight:800;letter-spacing:.2em;opacity:.55}.sgm-hero h1{font-size:48px;margin:10px 0}.sgm-hero p{opacity:.65;font-size:16px}
.sgm-search-panel{background:#fff;border:1px solid #e7e7e7;border-radius:18px;padding:18px;box-shadow:0 10px 35px rgba(0,0,0,.06);margin-bottom:28px}
.sgm-search-main{display:grid;grid-template-columns:1fr auto;gap:10px}.sgm-search-main input,.sgm-filters input,.sgm-filters select{width:100%;height:48px;border:1px solid #ddd;border-radius:10px;padding:0 14px;box-sizing:border-box;background:#fff}.sgm-search-main button{height:48px;padding:0 26px;border:0;border-radius:10px;font-weight:700;cursor:pointer}.sgm-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.sgm-results-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 14px;font-size:14px}.sgm-results-head a,.sgm-back{font-size:13px;text-decoration:none}
.sgm-manager-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.sgm-manager-card{background:#fff;border:1px solid #e6e6e6;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.05);transition:.2s}.sgm-manager-card:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(0,0,0,.09)}
.sgm-manager-photo{display:block;aspect-ratio:4/3;background:#f3f3f3}.sgm-manager-photo img{width:100%;height:100%;object-fit:cover;display:block}.sgm-photo-placeholder{height:100%;display:grid;place-items:center;font-size:38px;font-weight:800;letter-spacing:.18em;opacity:.25}
.sgm-manager-info{padding:20px}.sgm-card-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;opacity:.5}.sgm-manager-info h2{font-size:24px;line-height:1.1;margin:7px 0}.sgm-manager-info h2 a{color:inherit;text-decoration:none}.sgm-card-position{font-weight:700}.sgm-card-company{margin-top:4px;opacity:.75}.sgm-card-country{margin-top:5px;font-size:12px;opacity:.5}.sgm-card-scores{display:flex;gap:10px;margin-top:17px}.sgm-card-scores span{border-left:2px solid #ddd;padding-left:10px;display:flex;flex-direction:column}.sgm-card-scores b{font-size:20px}.sgm-card-scores small{font-size:9px;opacity:.55}.sgm-view-profile{display:inline-block;margin-top:17px;font-size:12px;font-weight:700;text-decoration:none}
.sgm-no-results{grid-column:1/-1;text-align:center;padding:70px 20px;border:1px dashed #ddd;border-radius:18px}
.sgm-profile{padding-top:10px}.sgm-back{display:inline-block;margin-bottom:24px}.sgm-profile-top{display:grid;grid-template-columns:380px 1fr;gap:50px;align-items:center}.sgm-profile-photo{aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:#f3f3f3}.sgm-profile-photo img{width:100%;height:100%;object-fit:cover}.sgm-profile-intro h1{font-size:52px;line-height:1.02;margin:10px 0 12px}.sgm-profile-position{font-size:20px;font-weight:700}.sgm-profile-company{font-size:18px;opacity:.7;margin-top:4px}.sgm-parent{font-size:13px;opacity:.6;margin-top:18px}.sgm-score-row{display:flex;gap:14px;margin-top:28px}.sgm-score-row div{min-width:150px;padding:15px 18px;border:1px solid #e4e4e4;border-radius:13px}.sgm-score-row b{display:block;font-size:30px}.sgm-score-row span{font-size:10px;opacity:.55}.sgm-profile-details{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:45px}.sgm-profile-details section{border:1px solid #e6e6e6;border-radius:16px;padding:24px;background:#fff}.sgm-profile-details h2{font-size:18px;margin-top:0}.sgm-profile-details p{line-height:1.8}.sgm-wide{grid-column:1/-1}
@media(max-width:900px){.sgm-manager-grid{grid-template-columns:repeat(2,1fr)}.sgm-filters{grid-template-columns:repeat(2,1fr)}.sgm-profile-top{grid-template-columns:280px 1fr}}
@media(max-width:650px){.sgm-page{padding:40px 16px}.sgm-hero h1{font-size:36px}.sgm-search-main{grid-template-columns:1fr}.sgm-filters,.sgm-manager-grid,.sgm-profile-details{grid-template-columns:1fr}.sgm-profile-top{grid-template-columns:1fr}.sgm-profile-intro h1{font-size:38px}.sgm-wide{grid-column:auto}}

.sgm-archive{width:100%;max-width:1180px;margin:0 auto;padding:20px 0 50px}
.sgm-archive .sgm-archive-head{text-align:center;margin:0 0 32px}
.sgm-archive .sgm-archive-head h1{font-size:48px;line-height:1.1;margin:8px 0}
.sgm-archive .sgm-archive-head p{opacity:.65}
.sgm-archive .sgm-search-panel{background:#fff;border:1px solid #e5e5e5;border-radius:18px;padding:18px;margin:0 0 26px;box-shadow:0 8px 28px rgba(0,0,0,.05)}
.sgm-archive .sgm-search-main{display:grid;grid-template-columns:1fr auto;gap:10px}
.sgm-archive .sgm-search-main input,.sgm-archive .sgm-filters input,.sgm-archive .sgm-filters select{height:48px;border:1px solid #ddd;border-radius:10px;padding:0 13px;box-sizing:border-box}
.sgm-archive .sgm-search-main button{height:48px;border:0;border-radius:10px;padding:0 28px;font-weight:700;cursor:pointer}
.sgm-archive .sgm-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.sgm-archive .sgm-manager-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:900px){.sgm-archive .sgm-manager-grid{grid-template-columns:repeat(2,1fr)}.sgm-archive .sgm-filters{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.sgm-archive .sgm-search-main{grid-template-columns:1fr}.sgm-archive .sgm-filters,.sgm-archive .sgm-manager-grid{grid-template-columns:1fr}.sgm-archive .sgm-archive-head h1{font-size:36px}}

/* v1.0.6: ensure the archive fills the theme content area cleanly */
.sgm-page-archive{width:100%;box-sizing:border-box}
.sgm-page-archive .sgm-archive{width:100%;box-sizing:border-box}
.sgm-page-archive .sgm-manager-grid{list-style:none;margin-left:0;margin-right:0}

.sgm-archive,.sgm-archive *{box-sizing:border-box}
.sgm-archive ul,.sgm-archive ol{list-style:none;margin:0;padding:0}
.sgm-archive a{text-decoration:none}
.sgm-archive img{max-width:100%}

/* v1.1.0 profile output matches the live SGM profile renderer */
.sgm-profile{padding-top:10px}
.sgm-back{display:inline-block;margin-bottom:24px}
.sgm-profile-top{display:grid;grid-template-columns:380px 1fr;gap:50px;align-items:center}
.sgm-profile-photo{aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:#f3f3f3}
.sgm-profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
.sgm-profile-intro h1{font-size:52px;line-height:1.02;margin:10px 0 12px}
.sgm-profile-position{font-size:20px;font-weight:700}
.sgm-profile-company{font-size:18px;opacity:.7;margin-top:4px}
.sgm-parent{font-size:13px;opacity:.6;margin-top:18px}
.sgm-score-row{display:flex;gap:14px;margin-top:28px}
.sgm-score-row div{min-width:150px;padding:15px 18px;border:1px solid #e4e4e4;border-radius:13px}
.sgm-score-row b{display:block;font-size:30px}
.sgm-score-row span{font-size:10px;opacity:.55}
.sgm-profile-details{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:45px}
.sgm-profile-details section{border:1px solid #e6e6e6;border-radius:16px;padding:24px;background:#fff}
.sgm-profile-details h2{font-size:18px;margin-top:0}
.sgm-profile-details p{line-height:1.8}
.sgm-wide{grid-column:1/-1}
@media(max-width:900px){.sgm-profile-top{grid-template-columns:280px 1fr}}
@media(max-width:650px){.sgm-profile-top{grid-template-columns:1fr}.sgm-profile-intro h1{font-size:38px}.sgm-wide{grid-column:auto}}

/* v1.1.1 dedicated SGM taxonomy archives */
.sgm-taxonomy-page{max-width:1180px;margin:0 auto;padding:65px 24px}
.sgm-taxonomy-head{text-align:center;margin-bottom:38px}
.sgm-taxonomy-head h1{font-size:48px;line-height:1.05;margin:8px 0 10px}
.sgm-taxonomy-head p{opacity:.65;margin:0}
.sgm-taxonomy-count{display:inline-block;margin-top:16px;padding:7px 13px;border:1px solid #e5e5e5;border-radius:999px;font-size:12px;opacity:.7}
.sgm-taxonomy-page .sgm-manager-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:900px){.sgm-taxonomy-page .sgm-manager-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.sgm-taxonomy-page{padding:42px 16px}.sgm-taxonomy-head h1{font-size:36px}.sgm-taxonomy-page .sgm-manager-grid{grid-template-columns:1fr}}
