.hes-social-menu{position:relative;color:#294867;font-size:13px;text-align:left;flex-shrink:0}
.hes-social-menu[open]{z-index:1400}
.hes-social-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:4px 6px;border-radius:4px;line-height:1.4}
.hes-social-menu summary::-webkit-details-marker{display:none}
/* Draw the chevron independently of the text font and its baseline. */
.hes-social-menu summary>span[aria-hidden="true"]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 14px;width:14px;height:14px;margin:0;font-size:0;line-height:0}
.hes-social-menu summary>span[aria-hidden="true"]::before{content:"";display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-1.5px) rotate(45deg)}
.hes-social-menu[open] summary>span[aria-hidden="true"]::before{transform:translateY(1.5px) rotate(225deg)}
.hes-social-menu summary:hover,.hes-social-menu[open] summary{background:#eaf0f7;color:#153960}
.hes-social-menu summary:focus-visible,.hes-social-options a:focus-visible{outline:2px solid #007bb9;outline-offset:2px}
.hes-social-options{position:absolute;right:0;top:calc(100% + 6px);width:256px;max-width:calc(100vw - 32px);max-height:min(420px,65vh);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 10px 30px #183d6b26;padding:7px;z-index:1400;box-sizing:border-box}
.hes-social-options a{display:flex!important;align-items:center;gap:12px;padding:10px;min-height:44px;box-sizing:border-box;color:#223e59!important;border-radius:5px;text-decoration:none!important;font-size:14px;line-height:1.5}
.hes-social-options a:hover{background:#f0f5fa}
.hes-social-options img,.hes-social-options .hes-social-fallback{display:flex;width:24px!important;height:24px!important;flex:0 0 24px;object-fit:contain;border-radius:4px;align-items:center;justify-content:center;background:#edf3f8;color:#245079;font-weight:600}
.hes-social-menu .hes-social-name{min-width:0;overflow-wrap:anywhere;white-space:normal;flex:1}
.hes-social-external{color:#788da3;font-size:14px}
/* Keep the dropdown above the sticky primary navigation. */
.secondary-nav:has(.hes-social-menu[open]){position:relative;z-index:1500;overflow:visible}
html[data-hes-view="mobile"] .secondary-nav .hes-social-menu{display:none!important}
.hm-header .hes-social-menu{font-size:12px;min-width:0}
.hm-header .hes-social-menu summary{min-height:44px;box-sizing:border-box}
html[data-hes-view="mobile"] .hm-header:has(.hes-social-menu) .hes-language-picker{position:static}
html[data-hes-view="mobile"] .hm-header:has(.hes-social-menu) .hes-language-options{top:100%;right:20px}
@media(max-width:600px){
 html[data-hes-view="desktop"] .secondary-nav .icons>.hes-social-menu{display:block!important}
 html[data-hes-view="desktop"] .secondary-nav .icons{flex-wrap:wrap}
 html[data-hes-view="mobile"] .hm-header-actions{flex-wrap:wrap;justify-content:flex-end}
 .hm-header .hes-social-menu{order:3;flex-basis:100%;flex-shrink:1}
 .hm-header .hes-social-menu summary{justify-content:flex-end;text-align:right;min-height:32px;overflow-wrap:anywhere}
}
.hes-social-admin{max-width:1000px}
.hes-social-card{background:#fff;border:1px solid #dce3eb;border-radius:8px;padding:20px;margin:16px 0}
.hes-social-card-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.hes-social-fields{display:grid;grid-template-columns:160px minmax(120px,1fr) minmax(180px,2fr);gap:20px;align-items:start}
.hes-social-fields>label{display:flex;flex-direction:column;gap:8px;font-weight:600}
.hes-social-fields input[type=text],.hes-social-fields input[type=url]{width:100%;min-height:38px;font-weight:400}
.hes-social-icon-editor{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.hes-social-icon-editor img{width:48px;height:48px;object-fit:contain;border:1px solid #dce3eb;border-radius:6px}
.hes-social-icon-editor img[hidden]{display:none}
.hes-social-card-actions{display:flex;align-items:center;gap:12px;border-top:1px solid #edf0f3;margin-top:16px;padding-top:12px}
.hes-social-card-actions .button-link-delete{margin-left:auto}
.hes-social-toolbar{position:sticky;bottom:0;display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#f0f0f1;padding:16px 0;z-index:2}
#hes-social-status{color:#73520b}
@media(max-width:782px){.hes-social-fields{grid-template-columns:1fr}.hes-social-card{padding:16px}.hes-social-card-heading{flex-wrap:wrap}}
