/* Candidate only. HUAGE icon, bold name and complete tagline remain in flow. */
body.huage-static[data-huage-site="UK"] header.site-header .huage-brand{
 display:flex!important;align-items:center!important;gap:6px!important;
 inline-size:max-content!important;max-inline-size:none!important;line-height:1!important;
}
body.huage-static[data-huage-site="UK"] header.site-header .huage-brand>img{
 inline-size:24px!important;block-size:24px!important;flex:0 0 24px!important;object-fit:contain!important;
}
body.huage-static[data-huage-site="UK"] header.site-header .huage-brand>span{
 display:flex!important;flex-direction:column!important;gap:0!important;min-inline-size:0!important;line-height:1!important;
}
body.huage-static[data-huage-site="UK"] header.site-header .huage-brand strong{
 display:block!important;font-size:20px!important;font-weight:800!important;line-height:20px!important;margin:0!important;
}
body.huage-static[data-huage-site="UK"] header.site-header .huage-brand small{
 display:block!important;font-size:8px!important;line-height:9px!important;margin:1px 0 0!important;white-space:nowrap!important;
}
body.huage-static[data-huage-site="UK"] .top-header-bar .huage-search input,
body.huage-static[data-huage-site="UK"] .top-header-bar .huage-search button {
 font-size:inherit!important;line-height:inherit!important;padding-block:0!important;
 min-block-size:0!important;block-size:auto!important;
}
body.huage-static[data-huage-site="UK"] .top-header-bar .huage-search button {
 white-space:nowrap!important;flex-shrink:0!important;
}

/* Match the homepage hero paragraph to its source container width. */
html body.huage-static[data-huage-site="UK"] main.elementor-1518 .elementor-element-9ae5ea0 .elementor-widget-text-editor p{max-inline-size:none;}

/* The native sidebar is -100%, 180 ms, ease-in-out. */
body.huage-static[data-huage-site="UK"] aside#huage-catalogue-sidebar.shop-sidebar.off-canvas {
 transform:translateX(-100%);
 transition:transform .18s ease-in-out,visibility .18s ease-in-out;
}
body.huage-static[data-huage-site="UK"] aside#huage-catalogue-sidebar.shop-sidebar.off-canvas.open {
 transform:translateX(0);
}
@media(prefers-reduced-motion:reduce) {
 body.huage-static[data-huage-site="UK"] aside#huage-catalogue-sidebar.shop-sidebar.off-canvas {transition:none;}
}

/* Keep the existing HUAGE menu content, hit areas and focus handler. */
@media(max-width:1199px) {
 body.huage-static[data-huage-site="UK"] .mobile-menu.mobile-menu--fullscreen {
  display:block!important;position:fixed!important;inset:0!important;
  width:100%!important;height:100dvh!important;max-height:100dvh!important;
  margin:0!important;padding:88px 24px 28px!important;
  background:#ebe8e2!important;color:#30281f!important;z-index:20000!important;
  overflow:auto!important;overscroll-behavior:contain;
  visibility:hidden!important;opacity:0!important;transform:none!important;pointer-events:none!important;
  transition:visibility .18s ease-in-out,opacity .18s ease-in-out,transform .18s ease-in-out!important;
 }
 body.huage-static[data-huage-site="UK"].huage-menu-open .mobile-menu.mobile-menu--fullscreen {
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 }
}
@media(max-width:1199px) and (prefers-reduced-motion:reduce) {
 body.huage-static[data-huage-site="UK"] .mobile-menu.mobile-menu--fullscreen {transition:none!important;}
}

/* Native geometry/motion; preserve the approved warm HUAGE colours, border and shadow. */
body.huage-static[data-huage-site="UK"] button.huage-back-top {
 display:grid!important;place-items:center;
 width:32px!important;height:32px!important;
 right:20px!important;left:auto!important;bottom:20px!important;
 opacity:1;visibility:visible;scale:1;
 transition:opacity .18s ease-in-out,visibility .18s ease-in-out,scale .18s ease-in-out,background-color .18s ease-in-out,box-shadow .18s ease-in-out;
}
body.huage-static[data-huage-site="UK"] button.huage-back-top>svg {
 width:14.4px!important;height:14.4px!important;overflow:visible;
}
body.huage-static[data-huage-site="UK"] button.huage-back-top[hidden] {
 opacity:0;visibility:hidden;scale:.9;pointer-events:none;
}
@media(prefers-reduced-motion:reduce) {
 body.huage-static[data-huage-site="UK"] button.huage-back-top {transition:none!important;}
}

/* UK added project-detail pages: source article type hierarchy and reading/media widths. */
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"]>.vg-shell{width:100%;max-inline-size:1200px;margin-inline:auto;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-heading{max-inline-size:800px;margin-inline:auto;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-heading h1{font-family:Fraunces,Georgia,serif;font-size:72px;line-height:1;font-weight:300;letter-spacing:normal;}
@media(max-width:767.98px){html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-heading h1{font-size:43.2px!important;line-height:1!important;}}

html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-heading p,html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-section>p{font-size:16px;line-height:24px;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] :is(h2,h3){font-family:Fraunces,Georgia,serif!important;font-weight:300!important;letter-spacing:normal!important;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-section>h2{font-size:52px;line-height:1.2;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-section:has(>.vg-grid)>h2{font-size:30px;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-grid .vg-card :is(h2,h3){font-size:22px!important;line-height:1.2!important;}
@media(max-width:767.98px){
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-section>h2{font-size:32px;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-section:has(>.vg-grid)>h2{font-size:22px;}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-grid .vg-card :is(h2,h3){font-size:20px!important;}
}
html body.huage-static[data-huage-site="UK"] main.vg-case-main[data-huage-editorial="case"] .vg-source-copy :is(h2,h3){font-size:24px!important;line-height:1.2!important;}

/* Source-size utility row at intermediate widths; original duplicate links stay in the DOM and in the existing navigation. */
@media(min-width:576px) and (max-width:1199.98px){
html body.huage-static[data-huage-site="UK"] header.site-header .top-header-bar__row{gap:24px;}
html body.huage-static[data-huage-site="UK"] header.site-header .top-header-bar__column--content-left{flex:1 1 auto;min-inline-size:0;}
html body.huage-static[data-huage-site="UK"] header.site-header .top-header-bar__column--content-right{flex:0 0 auto;flex-wrap:nowrap;gap:24px;}
html body.huage-static[data-huage-site="UK"] header.site-header .top-header-bar__column--content-right>a{display:none;}
html body.huage-static[data-huage-site="UK"] header.site-header .top-header-bar .huage-search{inline-size:140px;min-inline-size:0;flex:0 0 140px;}
html body.huage-static[data-huage-site="UK"] header.site-header .top-header-bar .huage-search input{inline-size:0!important;min-inline-size:0!important;flex:1 1 0;}
}
/* Source gallery starts at the product summary origin; remove the legacy 3vw margin from the retained photo group. */
html body.huage-static[data-huage-site="UK"] main.huage-source-product .single-product__gallery>.huage-product-images{margin-block:0!important;}
