/* v1.3.3 – founder media is a clipped, fixed-size frame even with Gutenberg shortcode wrappers. */
@media (min-width:1101px) {
 body.gr-site main.gr-editorial .gr-about .founder-section,
 body.gr-site main.gr-page--unified .gr-about .founder-section {
   grid-template-columns:minmax(0,420px) minmax(0,1fr)!important;
   gap:clamp(24px,3vw,48px)!important;align-items:center!important;
 }
}
@media (min-width:761px) and (max-width:1100px) {
 body.gr-site main.gr-editorial .gr-about .founder-section,
 body.gr-site main.gr-page--unified .gr-about .founder-section {
   grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;
   gap:24px!important;align-items:center!important;
 }
}
body.gr-site .gr-about .founder-section .founder-portrait-frame,
body.gr-site main.gr-editorial .gr-about .founder-section .founder-portrait-frame,
body.gr-site main.gr-page--unified .gr-about .founder-section .founder-portrait-frame {
  display:block!important;position:relative!important;isolation:isolate!important;
  overflow:hidden!important;box-sizing:border-box!important;
  padding:12px!important;margin:0!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:440px!important;min-height:440px!important;max-height:440px!important;
  align-self:center!important;background:#102117!important;
}
body.gr-site .gr-about .founder-portrait-frame :is(.wp-block-shortcode,.wp-block-gr-founder-photo,.gr-founder-photo-wrapper,figure,p):not(.years-badge) {display:contents!important;margin:0!important;padding:0!important;}
body.gr-site .gr-about .founder-portrait-frame img,
body.gr-site main.gr-editorial .gr-about .founder-portrait-frame img,
body.gr-site main.gr-page--unified .gr-about .founder-portrait-frame img,
body.gr-site .gr-about .founder-portrait-frame .gr-founder-photo {
  position:absolute!important;inset:12px auto auto 12px!important;
  display:block!important;float:none!important;
  width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;
  height:calc(100% - 24px)!important;min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:cover!important;object-position:center 44%!important;
  margin:0!important;transform:none!important;z-index:0!important;
}
body.gr-site .gr-about .founder-portrait-frame .gr-founder-no-photo {
  position:absolute!important;inset:12px!important;width:auto!important;height:auto!important;
}
body.gr-site .gr-about .founder-portrait-frame .years-badge,
body.gr-site .gr-about .founder-portrait-frame .years-badge * {
  position:relative;z-index:2;
}
body.gr-site .gr-about .founder-portrait-frame .years-badge {
  position:absolute!important;bottom:12px!important;right:12px!important;left:auto!important;
  transform:none!important;margin:0!important;
}
@media(max-width:760px) {
 body.gr-site .gr-about .founder-section .founder-portrait-frame,
 body.gr-site main.gr-editorial .gr-about .founder-section .founder-portrait-frame,
 body.gr-site main.gr-page--unified .gr-about .founder-section .founder-portrait-frame {
   height:320px!important;min-height:320px!important;max-height:320px!important;
 }
}
/* Mobile catalog filters: fixed left rail tab at screen center + off-canvas drawer. */
.gr-filter-drawer-backdrop {display:none!important;}
@media(max-width:760px) {
 body.gr-site .gr-catalog-layout {display:block!important;min-width:0;}
 body.gr-site .gr-catalog-products {width:100%;min-width:0;}
 body.gr-site .gr-filter-panel {width:0!important;height:0!important;min-height:0!important;
   padding:0!important;margin:0!important;display:block!important;border:0!important;
   background:transparent!important;overflow:visible!important;}
 body.gr-site .gr-filter-panel .gr-mobile-filter {
   display:block!important;position:fixed!important;left:0!important;top:0!important;
   bottom:0!important;height:100dvh!important;width:min(345px,calc(100vw - 56px))!important;
   background:#f9f7f1!important;box-shadow:6px 0 28px rgba(0,0,0,.18);
   border-right:2px solid #b89655!important;transform:translateX(-100%)!important;
   transition:transform .25s ease!important;z-index:12051!important;overflow:visible!important;
 }
 body.gr-site .gr-filter-panel .gr-mobile-filter[open] {transform:translateX(0)!important;}
 body.gr-site .gr-filter-panel .gr-mobile-filter > summary {
   display:flex!important;position:absolute!important;left:100%!important;right:auto!important;
   top:50%!important;transform:translateY(-50%)!important;z-index:3!important;
   padding:14px 11px!important;margin:0!important;min-height:110px;min-width:42px;
   background:#102117!important;color:#dfbd78!important;border:1px solid #b89655!important;
   border-left:0!important;box-shadow:2px 3px 9px rgba(0,0,0,.22);
   align-items:center!important;justify-content:center!important;gap:7px!important;
   writing-mode:vertical-rl!important;letter-spacing:.1em!important;text-transform:uppercase;
   font-size:11px!important;font-weight:700!important;cursor:pointer;list-style:none!important;
   border-radius:0 5px 5px 0;
 }
 body.gr-site .gr-filter-panel .gr-mobile-filter > summary::-webkit-details-marker {display:none!important;}
 body.gr-site .gr-filter-panel .gr-mobile-filter > summary::marker {content:'';}
 body.gr-site .gr-filter-panel .gr-mobile-filter > summary .gr-filter-tab-icon {font-size:17px;line-height:1;}
 body.gr-site .gr-filter-panel .gr-mobile-filter > #gr-filter-form {
   height:100%!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;
   box-sizing:border-box!important;padding:20px 16px 42px!important;margin:0!important;
   overscroll-behavior:contain;background:#f9f7f1!important;
 }
 body.gr-site .gr-filter-panel .gr-mobile-filter .gr-filter-heading {justify-content:space-between!important;}
 body.gr-site .gr-filter-panel .gr-mobile-filter .gr-filter-heading h2 {display:block!important;font-size:23px!important;}
 body.gr-site .gr-filter-drawer-backdrop {
   display:none!important;position:fixed!important;inset:0!important;z-index:12050!important;
   border:0!important;background:rgba(7,15,10,.58)!important;cursor:pointer;
 }
 body.gr-site.gr-filter-drawer-open .gr-filter-drawer-backdrop {display:block!important;}
 body.gr-site.gr-filter-drawer-open {overflow:hidden;}
}
@media(prefers-reduced-motion:reduce){body.gr-site .gr-filter-panel .gr-mobile-filter{transition:none!important;}}
