/* Only plugin-created, still-managed brand pages. Astra header/footer remain intact. */
body.gbms-brand-page #content > .ast-container{max-width:none!important;width:100%!important;padding:0!important;display:block!important}
body.gbms-brand-page #primary{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;float:none!important}
body.gbms-brand-page #secondary{display:none!important}
body.gbms-brand-page #primary article,body.gbms-brand-page #primary .ast-article-single{margin:0!important;padding:0!important;border:0!important;background:transparent!important;max-width:none!important;width:100%!important}
body.gbms-brand-page #primary .entry-header{display:none!important}
body.gbms-brand-page #primary .entry-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
body.gbms-brand-page .gbms3{width:100%;max-width:none!important;margin:0!important;color:var(--ast-global-color-3,#222);font-family:inherit;background:#fff;line-height:1.65}
.gbms3 *{box-sizing:border-box}
.gbms3 .gbms3-hero{width:100%;min-height:400px;background-color:#423b3c;background-size:cover;background-position:center;display:flex;justify-content:center;align-items:center;text-align:center;padding:85px 24px 30px;margin:0;border:0;border-radius:0}
.gbms3 .gbms3-hero h1{font-size:clamp(42px,4vw,64px);font-weight:700;line-height:1.15;color:#fff;margin:0;letter-spacing:-.025em}
.gbms3 .gbms3-inner{width:min(100% - 48px,1200px);margin:0 auto;padding:92px 0 80px}
.gbms3 .gbms3-introduction{text-align:center;margin:0 auto 48px;max-width:820px}
.gbms3 h2{color:var(--ast-global-color-2,#1e1e1e);line-height:1.25;font-weight:700;letter-spacing:-.025em;margin:0 0 20px;font-size:clamp(28px,3vw,44px)}
.gbms3 p{font-size:16px;line-height:1.7;margin:0 0 20px}
.gbms3 .gbms3-feature{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,6vw,80px);align-items:center;margin:0 0 75px}
.gbms3 .gbms3-feature.gbms3-noimage{display:block;max-width:850px;margin:0 auto 75px}
.gbms3 .gbms3-photo img{display:block;width:100%;height:auto;aspect-ratio:1.12;object-fit:cover;border-radius:6px}
.gbms3 .gbms3-copy h2{font-size:clamp(24px,2.5vw,32px)}
.gbms3 .gbms3-list{padding:0;margin:0 0 28px;list-style:none}
.gbms3 .gbms3-list li{padding:10px 0;border-bottom:1px solid #ececec;line-height:1.45}
.gbms3 .gbms3-list strong,.gbms3 .gbms3-list span{display:block}.gbms3 .gbms3-list span{font-size:15px;color:#4b4b4b;margin-top:3px}
.gbms3 a.gbms3-button{background:#df1712;color:#fff!important;border:1px solid #df1712;border-radius:5px;display:inline-flex;justify-content:center;align-items:center;padding:14px 24px;min-height:50px;text-decoration:none;font-size:15px;font-weight:600;line-height:1.3}
.gbms3 a.gbms3-button:hover{background:#b9100c;border-color:#b9100c}.gbms3 a:focus-visible{outline:3px solid #666;outline-offset:4px}
.gbms3 .gbms3-contact{text-align:center;border-top:1px solid #eee;padding:55px 0 0;max-width:820px;margin:auto}.gbms3 .gbms3-contact h2{font-size:clamp(28px,3vw,38px)}
.gbms3 .gbms3-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:26px 0}.gbms3 a.gbms3-secondary{background:white;color:#d71916!important}.gbms3 a.gbms3-secondary:hover{background:#fff2f2}.gbms3 .gbms3-small{font-size:13px;color:#666}.gbms3 .gbms3-small a{color:#b9100c}
@media(max-width:921px){.gbms3 .gbms3-hero{min-height:330px;padding-top:85px}.gbms3 .gbms3-inner{padding:64px 0}.gbms3 .gbms3-feature{gap:36px}}
@media(max-width:650px){.gbms3 .gbms3-hero{min-height:280px;padding:90px 20px 25px}.gbms3 .gbms3-inner{width:calc(100% - 36px);padding:48px 0}.gbms3 .gbms3-introduction{margin-bottom:30px}.gbms3 .gbms3-feature{grid-template-columns:1fr;gap:24px;margin-bottom:44px}.gbms3 .gbms3-photo img{aspect-ratio:1.25}.gbms3 .gbms3-contact{padding-top:35px}.gbms3 .gbms3-actions a{width:100%}}

/* V4 — readable typography, preserve existing layout and theme font */
.gbms3 .gbms3-hero{min-height:420px;background-position:center 46%;}
.gbms3 .gbms3-hero h1{font-size:clamp(48px,4.7vw,74px);}
.gbms3 .gbms3-inner{width:min(100% - 48px,1200px);}
.gbms3 .gbms3-introduction{max-width:920px;}
.gbms3 h2{font-size:clamp(32px,3.3vw,48px);}
.gbms3 p{font-size:20px;line-height:1.65;}
.gbms3 .gbms3-copy h2{font-size:clamp(28px,2.8vw,38px);}
.gbms3 .gbms3-list li{padding:12px 0;}
.gbms3 .gbms3-list strong{font-size:20px;line-height:1.4;}
.gbms3 .gbms3-list span{font-size:18px;line-height:1.55;}
.gbms3 .gbms3-photo img{aspect-ratio:1.05;object-fit:cover;object-position:center;}
.gbms3 a.gbms3-button{font-size:17px;}
.gbms3 .gbms3-small{font-size:15px;}
body.gbms-brand-page .ast-builder-menu .sub-menu{background:#fff!important;}
body.gbms-brand-page .ast-builder-menu .sub-menu .menu-link{color:#222!important;}
body.gbms-brand-page .ast-builder-menu .sub-menu .menu-link:hover{color:#df1712!important;background:#f5f5f5!important;}
@media(max-width:921px){.gbms3 .gbms3-hero{min-height:330px;}.gbms3 p{font-size:18px;}.gbms3 .gbms3-list span{font-size:17px;}}
@media(max-width:650px){.gbms3 .gbms3-hero{min-height:280px;}.gbms3 .gbms3-hero h1{font-size:46px;}.gbms3 .gbms3-inner{width:calc(100% - 36px);}.gbms3 .gbms3-list strong{font-size:19px;}.gbms3 .gbms3-photo img{aspect-ratio:1.15;}}

/* V5 only Glasurit and Baslac */
.gbms5 .gbms3-hero{min-height:440px;background-position:center 45%;}
.gbms5 .gbms3-introduction{max-width:1000px;}
.gbms5 .gbms3-introduction h2{font-size:clamp(30px,3.2vw,48px);}
.gbms5 .gbms3-photo img{aspect-ratio:4/3;object-fit:cover;}
.gbms5 .gbms3-copy h2{font-size:clamp(28px,2.8vw,38px);}
.gbms5-gallery{text-align:center;margin:0 0 70px;padding:45px 0;border-top:1px solid #e8e8e8;}
.gbms5-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;margin:30px 0 16px;}
.gbms5-gallery-grid figure{margin:0;background:#f6f6f6;border-radius:6px;overflow:hidden;}
.gbms5-gallery-grid img{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;background:#f1f2f3;}
.gbms5-gallery-grid figcaption{font-size:18px;font-weight:600;padding:14px 8px;}
@media(max-width:650px){.gbms5 .gbms3-hero{min-height:300px}.gbms5-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gbms5-gallery-grid figcaption{font-size:16px}.gbms5-gallery{padding:30px 0;margin-bottom:35px}}

/* Mirka: six landscape photographs; existing page layout unchanged. */
.gbms6-mirka .gbms5-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.gbms6-mirka .gbms5-gallery-grid img{aspect-ratio:16/10;object-fit:cover;}
.gbms6-mirka .gbms5-gallery-grid figcaption{font-size:17px;line-height:1.4;}
@media(max-width:650px){.gbms6-mirka .gbms5-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.gbms6-mirka .gbms5-gallery-grid figcaption{font-size:15px;}}


/* V7 — make Glasurit and Baslac match Mirka's 6-card section more closely */
.gbms5 .gbms3-hero{min-height:420px;background-position:center 42%;}
.gbms5 .gbms3-feature{align-items:center;}
.gbms5 .gbms3-photo img{aspect-ratio:4/3;object-fit:cover;object-position:center;}
.gbms5-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.gbms5-gallery-grid figure{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;}
.gbms5-gallery-grid img{aspect-ratio:16/10;object-fit:contain;padding:10px;background:#f3f4f5;}
.gbms5-gallery-grid figcaption{font-size:17px;line-height:1.4;padding:14px 10px 16px;}
.gbms5 .gbms3-introduction h2{font-size:clamp(32px,3.1vw,46px);}
@media(max-width:921px){.gbms5-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}.gbms5 .gbms3-hero{min-height:360px;}}
@media(max-width:650px){.gbms5-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.gbms5-gallery-grid figcaption{font-size:15px;}.gbms5 .gbms3-hero{min-height:290px;}}


/* V8 hero logo update */
.gbms3 .gbms3-hero{position:relative;overflow:hidden;}
.gbms3 .gbms3-brand-logo{display:block;max-width:min(72vw,420px);width:100%;height:auto;filter:drop-shadow(0 10px 28px rgba(0,0,0,.45));}
.gbms3 .gbms3-brand-logo--mirka{max-width:min(62vw,340px);}
.gbms3 .gbms3-brand-logo--baslac{max-width:min(70vw,360px);}
.gbms3 .gbms3-brand-logo--glasurit{max-width:min(74vw,430px);}
@media(max-width:650px){
  .gbms3 .gbms3-brand-logo{max-width:78vw;}
  .gbms3 .gbms3-brand-logo--mirka{max-width:64vw;}
}

/* V9 genuine logo artwork; original proportions retained. */
.gbms3 .gbms-logo-heading{margin:0;line-height:0;display:flex;align-items:center;justify-content:center;width:100%;}
.gbms3 .gbms3-brand-logo{width:auto;height:auto;max-height:160px;max-width: min(70vw,340px);object-fit:contain;filter:none;}
.gbms3 .gbms3-brand-logo--glasurit{max-height:165px;}
.gbms3 .gbms3-brand-logo--baslac{max-height:180px;background:#fff;}
.gbms3 .gbms3-brand-logo--mirka{max-height:160px;}
@media(max-width:650px){.gbms3 .gbms3-brand-logo{max-height:115px;max-width:65vw;}}

/* V9.1: supplied original artwork, no distortion. */
.gbms3 .gbms3-brand-logo--baslac{max-width:min(60vw,210px);max-height:180px;background:transparent;}
.gbms3 .gbms3-brand-logo--mirka{max-width:min(72vw,420px);max-height:160px;}
@media(max-width:650px){.gbms3 .gbms3-brand-logo--baslac{max-height:125px;max-width:55vw;}.gbms3 .gbms3-brand-logo--mirka{max-width:72vw;max-height:115px;}}
