/* Scoped, theme-neutral styling. No third-party fonts, scripts or CSS frameworks. */
.mgd-directory, .mgd-profile-facts{box-sizing:border-box;color:#233028;font-family:inherit}
.mgd-directory *,.mgd-profile-facts *{box-sizing:border-box}
.mgd-directory{width:100%;background:#fff;padding:48px 0 76px}
.mgd-container{max-width:1320px;margin:0 auto;padding:0 28px}
.mgd-head{max-width:780px;margin:0 0 34px}
.mgd-eyebrow{color:#617765;font-size:11px!important;letter-spacing:2px!important;font-weight:700!important;margin:0 0 14px!important}
.mgd-head h2{font-family:inherit;font-size:clamp(30px,4vw,52px);line-height:1.13;letter-spacing:-.035em;font-weight:500;color:#1c2921;margin:0 0 16px!important}
.mgd-head>p:last-child{color:#5a665d;line-height:1.7;font-size:16px;max-width:670px;margin:0!important}
.mgd-regions{display:flex;gap:9px;overflow-x:auto;flex-wrap:wrap;border-bottom:1px solid #e7eae4;margin:0 0 28px;padding:0 0 18px}
.mgd-regions a{display:inline-block;white-space:nowrap;text-decoration:none!important;color:#4b5c50!important;font-size:13px;padding:8px 12px;border:1px solid #e2e7e1;border-radius:3px;transition:background .2s}
.mgd-regions a:hover,.mgd-regions a.is-active{background:#eaf0e8;color:#253b2a!important;border-color:#d2dfcf}
.mgd-search{background:#f5f7f4;border:1px solid #e8ede7;padding:26px 24px;margin:0 0 37px;border-radius:5px}
.mgd-search-top{margin-bottom:16px}
.mgd-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mgd-field{min-width:0}
.mgd-field label{display:block;color:#344b39;font-size:12px;letter-spacing:.02em;font-weight:600;margin:0 0 7px}
.mgd-directory .mgd-field input,.mgd-directory .mgd-field select{display:block;width:100%;min-width:0;max-width:100%;height:45px;margin:0;padding:0 12px;border:1px solid #d6dfd5;border-radius:3px;background-color:#fff;color:#29342d;font-size:14px;font-family:inherit;box-shadow:none;line-height:1.3}
.mgd-directory .mgd-field input:focus,.mgd-directory .mgd-field select:focus{outline:2px solid #66886b;outline-offset:1px}
.mgd-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:19px 0 0}
.mgd-directory .mgd-button{background:#354e3b!important;border:1px solid #354e3b!important;border-radius:3px!important;color:#fff!important;min-height:44px;padding:10px 20px!important;font-size:13px;font-weight:600;letter-spacing:.01em;text-decoration:none;cursor:pointer}
.mgd-directory .mgd-button:hover{background:#233a28!important}
.mgd-button span{margin-left:10px}
.mgd-clear{font-size:13px;color:#516b57!important;text-decoration:underline!important;text-underline-offset:3px}
.mgd-result-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 20px}
.mgd-result-title h3{font-size:22px!important;font-weight:500!important;letter-spacing:-.02em;color:#253228;margin:0!important}
.mgd-result-title>span{font-size:13px;color:#647067;white-space:nowrap}
.mgd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.mgd-card{min-width:0;border:1px solid #e7ebe6;border-radius:4px;background:#fff;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s}
.mgd-card:hover{box-shadow:0 6px 28px rgba(21,51,24,.08)}
.mgd-image{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#edf0eb;text-decoration:none!important}
.mgd-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%;transition:transform .25s}
.mgd-image:hover img{transform:scale(1.025)}
.mgd-photo-placeholder{height:100%;display:grid;place-items:center;font-size:37px;color:#899a8a;letter-spacing:.04em;font-family:Georgia,serif}
.mgd-card-body{padding:20px;display:flex;flex-direction:column;flex:1}
.mgd-card-region{font-size:11px!important;letter-spacing:1.2px;text-transform:uppercase;color:#6a806c;font-weight:700;margin:0 0 6px!important}
.mgd-card h4{font-size:21px!important;font-weight:550!important;line-height:1.25;letter-spacing:-.018em;margin:0 0 6px!important;color:#26342a}
.mgd-card h4 a{color:inherit!important;text-decoration:none!important}
.mgd-card-role{font-size:14px!important;color:#5f6a61;margin:0 0 12px!important}
.mgd-card-place{font-size:13px!important;line-height:1.5;color:#5a675d;margin:0 0 16px!important}
.mgd-card-place strong{color:#3b5140;font-weight:600}
.mgd-card-bottom{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:12px;color:#637266;border-top:1px solid #eef0ec;padding:12px 0 0;margin-top:auto}
.mgd-card-cert{font-weight:600;color:#4c6852}
.mgd-profile-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;text-decoration:none!important;margin-top:16px;font-size:13px;font-weight:700;color:#355b3b!important}
.mgd-profile-link:hover{text-decoration:underline!important}
.mgd-pages{display:flex;gap:8px;align-items:center;justify-content:center;margin:32px auto 0}
.mgd-pages a{display:grid;place-items:center;min-width:36px;min-height:36px;padding:5px;border:1px solid #e3e9e2;text-decoration:none!important;color:#3e5843!important}
.mgd-pages a.is-active{background:#344f3a;color:#fff!important;border-color:#344f3a}
.mgd-empty{padding:42px 24px;background:#f5f7f4;color:#536456;border:1px solid #e2e9e0;text-align:center}
.mgd-note{font-size:12px!important;color:#788179;line-height:1.65;margin:28px 0 0!important}
.mgd-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0 34px;border-top:1px solid #e4e9e3;border-bottom:1px solid #e4e9e3;padding:18px 0}
.mgd-profile-facts>div{display:flex;flex-direction:column;gap:5px}
.mgd-profile-facts span{font-size:11px;color:#7a877a;text-transform:uppercase;letter-spacing:.08em}
.mgd-profile-facts strong{font-weight:500;font-size:15px;color:#304636}
@media(max-width:1050px){.mgd-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mgd-cards{gap:18px}}
@media(max-width:780px){.mgd-directory{padding:30px 0 52px}.mgd-container{padding:0 18px}.mgd-search{padding:20px 16px}.mgd-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgd-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mgd-card-body{padding:16px}.mgd-head h2{font-size:35px}}
@media(max-width:550px){.mgd-container{padding:0 16px}.mgd-regions{flex-wrap:nowrap;margin-bottom:20px}.mgd-head{margin-bottom:22px}.mgd-head h2{font-size:31px}.mgd-head>p:last-child{font-size:14px}.mgd-search{padding:16px 14px;margin-bottom:26px}.mgd-filter-grid{grid-template-columns:1fr;gap:12px}.mgd-actions{gap:14px}.mgd-directory .mgd-button{width:100%}.mgd-cards{grid-template-columns:1fr;gap:20px}.mgd-image{aspect-ratio:5/3}.mgd-result-title h3{font-size:19px!important}.mgd-result-title>span{font-size:11px}.mgd-profile-facts{grid-template-columns:1fr 1fr;gap:13px 9px}}
@media(prefers-reduced-motion:reduce){.mgd-image img,.mgd-card{transition:none}}

/* v1.1 portfolio and Indian peak ascent records. Uses no images or icons from CDNs. */
.mgd-icon{display:inline-block;flex:none;vertical-align:middle;color:inherit}
.mgd-card-peaks{display:flex;align-items:flex-start;gap:7px;font-size:12px!important;color:#486650;line-height:1.5;margin:0 0 12px!important}
.mgd-card-peaks .mgd-icon{width:16px;height:16px;margin-top:2px}
.mgd-card-peaks strong{color:#263e2a}
.mgd-portfolio,.mgd-portfolio *{box-sizing:border-box}
.mgd-portfolio{width:100%;color:#253327;font-family:inherit;margin:15px 0 38px}
.mgd-portfolio-hero{display:grid;grid-template-columns:210px minmax(0,1fr);gap:30px;align-items:center;padding:30px;background:#f2f5f0;border:1px solid #e2e8df;border-radius:7px}
.mgd-profile-photo{aspect-ratio:4/5;width:100%;overflow:hidden;background:#e0e9dd;border-radius:5px}
.mgd-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.mgd-profile-photo-empty{width:100%;height:100%;display:grid;place-items:center;color:#71866f}
.mgd-profile-photo-empty .mgd-icon{width:90px;height:90px}
.mgd-kicker{font-size:11px!important;font-weight:700!important;letter-spacing:1.8px!important;color:#63816a!important;margin:0 0 14px!important}
.mgd-profile-intro h2{font-family:inherit;font-size:clamp(30px,4.2vw,45px)!important;letter-spacing:-.035em!important;line-height:1.08!important;font-weight:500!important;color:#1b2c21!important;margin:0 0 10px!important}
.mgd-subtitle{font-size:17px!important;color:#3f5b44!important;margin:0 0 8px!important}
.mgd-home{display:flex;align-items:center;gap:7px;color:#657467!important;font-size:13px!important;margin:0 0 16px!important}
.mgd-home .mgd-icon{width:16px;height:16px}
.mgd-summary{font-size:15px!important;line-height:1.7!important;color:#4d5a51!important;max-width:670px;margin:0!important}
.mgd-quick-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #e2e9e0;margin-top:19px;border-radius:5px;overflow:hidden}
.mgd-quick-fact{display:flex;flex-direction:column;gap:6px;padding:19px 21px;border-right:1px solid #e2e9e0;border-bottom:1px solid #e2e9e0;min-width:0}
.mgd-quick-fact:nth-child(3n){border-right:0}
.mgd-quick-fact .mgd-icon{width:22px;height:22px;color:#526e55;margin-bottom:4px}
.mgd-quick-fact span{font-size:11px;color:#6c7b6f;text-transform:uppercase;letter-spacing:.06em}
.mgd-quick-fact strong{font-size:14px;line-height:1.5;font-weight:550;color:#283c2d;overflow-wrap:anywhere}
.mgd-peak-section{margin-top:36px;padding:28px;background:#f8f9f6;border:1px solid #e5e9e2;border-radius:5px}
.mgd-peaks-heading{display:flex;gap:15px;align-items:end;justify-content:space-between;margin-bottom:20px}
.mgd-peaks-heading .mgd-kicker{margin-bottom:8px!important}
.mgd-peaks-heading h3{font-size:25px!important;font-weight:500!important;margin:0!important;letter-spacing:-.025em!important;color:#26362a!important;display:flex;align-items:center;gap:12px}
.mgd-peaks-heading h3 .mgd-icon{width:28px;height:28px;color:#506f54}
.mgd-peaks-heading>span{color:#6d7c71;font-size:12px;white-space:nowrap}
.mgd-peak-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mgd-peak-card{display:flex;gap:15px;align-items:flex-start;padding:18px;border:1px solid #e4e8e0;background:#fff;border-radius:4px;min-width:0}
.mgd-peak-icon{display:grid;place-items:center;flex:none;background:#edf3eb;color:#4a6b4b;width:46px;height:46px;border-radius:3px}
.mgd-peak-icon .mgd-icon{width:28px;height:28px}
.mgd-peak-data{min-width:0}
.mgd-peak-data h4{font-size:18px!important;font-weight:550!important;color:#283c2e!important;margin:0 0 10px!important;line-height:1.2!important}
.mgd-peak-meta{display:flex;gap:7px 13px;flex-wrap:wrap;margin:0 0 11px;color:#647267}
.mgd-peak-meta span{display:flex;gap:5px;align-items:center;font-size:12px}
.mgd-peak-meta .mgd-icon{width:14px;height:14px}
.mgd-peak-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:650;padding:4px 8px;border-radius:3px}
.mgd-peak-status .mgd-icon{width:14px;height:14px}
.mgd-peak-summited{color:#345c38;background:#e9f1e6}
.mgd-peak-other{color:#6b5c3d;background:#f5f1e7}
.mgd-peak-route{font-size:12px!important;line-height:1.5!important;margin:8px 0 0!important;color:#5a675c}
.mgd-peak-disclaimer{font-size:11px!important;color:#788479!important;line-height:1.5!important;margin:16px 0 0!important}
@media(max-width:800px){.mgd-portfolio-hero{grid-template-columns:150px minmax(0,1fr);gap:20px;padding:21px}.mgd-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.mgd-quick-fact:nth-child(3n){border-right:1px solid #e2e9e0}.mgd-quick-fact:nth-child(2n){border-right:0}.mgd-peak-grid{grid-template-columns:1fr}}
@media(max-width:560px){.mgd-portfolio-hero{display:block;padding:18px}.mgd-profile-photo{width:120px;aspect-ratio:1;margin:0 0 17px}.mgd-profile-intro h2{font-size:30px!important}.mgd-profile-intro .mgd-kicker{font-size:10px!important}.mgd-quick-fact{padding:15px 13px}.mgd-quick-fact strong{font-size:12px}.mgd-peak-section{padding:18px 14px}.mgd-peaks-heading{align-items:start}.mgd-peaks-heading h3{font-size:22px!important}.mgd-peak-card{padding:14px;gap:11px}.mgd-peak-icon{width:38px;height:38px}.mgd-peak-icon .mgd-icon{width:23px;height:23px}}


/* v1.2: editorial linked Peak Journal cards; responsive, font-safe, no paid assets. */
.mgd-peak-with-journal{align-items:stretch}
.mgd-peak-thumb{display:block;flex:none;width:88px;min-height:110px;background:#e7eee5;overflow:hidden;border-radius:3px;align-self:stretch}
.mgd-peak-thumb img{width:100%;height:100%;min-height:110px;object-fit:cover;display:block}
.mgd-peak-title-link{color:#244930!important;text-decoration:none!important;border-bottom:1px solid transparent}
.mgd-peak-title-link:hover,.mgd-peak-title-link:focus{border-color:currentColor}
.mgd-peak-journal-link{display:inline-flex;align-items:center;gap:7px;margin-top:13px;color:#30583b!important;font-size:12px;font-weight:700;text-decoration:none!important}
.mgd-peak-journal-link:hover{text-decoration:underline!important;text-underline-offset:3px}
.mgd-peak-role{font-size:12px!important;line-height:1.5!important;color:#566757!important;margin:8px 0 0!important}
.mgd-peak-section .mgd-peak-data{flex:1;min-width:0}
.mgd-peak-section .mgd-peak-grid{align-items:stretch}
.mgd-peak-section .mgd-peak-data h4{overflow-wrap:anywhere}
@media(max-width:550px){.mgd-peak-thumb{width:70px;min-height:94px}.mgd-peak-thumb img{min-height:94px}.mgd-peak-with-journal{gap:10px}}
