/* 1.5.17: Icon-only social links beside the fixed menu button and below streaming. */
.sg-header-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.sg-site-header .sg-brand{flex:1 1 auto;min-width:0}
.sg-site-header .sg-site-title{min-width:0;overflow-wrap:anywhere}
.sg-social-links{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.sg-social-links .sg-social-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:50%;color:inherit;background:transparent;text-decoration:none;line-height:1}
.sg-social-link svg{display:block;width:24px;height:24px;flex:none}
.sg-site-header .sg-social-link{color:var(--sg-ivory)}
.sg-social-links .sg-social-link:hover{color:inherit;background:rgba(179,159,112,.16)}
.sg-social-links .sg-social-link:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.sg-footer-main .sg-social-links--footer{margin:0;align-self:flex-start}
.sg-footer .sg-social-links{color:inherit}
@media screen and (max-width:760px){
 .sg-header-actions,.sg-social-links--header{gap:0}
 .sg-site-header .sg-header{gap:8px}
 .sg-site-header .sg-brand{gap:8px}
 .sg-site-header .sg-site-title{font-size:.8125rem;line-height:1.4;letter-spacing:.01em}
}
@media screen and (max-width:480px){
 .sg-site-header .sg-header{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
 .sg-site-header .sg-brand{gap:6px}
 .sg-site-header .sg-site-title{font-size:.75rem;letter-spacing:0}
}
@media print{.sg-social-links{display:none}}

/* 1.5.19: Social icons below the expanded navigation, including short viewports. */
.sg-navigation .wp-block-navigation__responsive-container-content{flex-shrink:0}
.sg-navigation .wp-block-navigation__responsive-container-close{flex-shrink:0}
.sg-navigation .sg-social-links--menu{gap:16px;margin-top:20px;padding-top:24px;border-top:1px solid var(--sg-line);color:var(--sg-ivory)}
.sg-navigation .sg-social-links--menu .sg-social-link{font:inherit;letter-spacing:normal}

/* QA proposal: retain the full brand and all 44px controls on narrow screens.
   site.js replaces this conservative no-JS clearance with the measured height. */
@media screen and (max-width:480px){
 :root{--sg-header-height:calc(128px + env(safe-area-inset-top,0px))}
 .sg-site-header .sg-header{flex-wrap:wrap}
 .sg-site-header .sg-brand{flex-basis:100%}
 .sg-site-header .sg-header-actions{margin-left:auto}
}
