﻿/* Sakolenter homepage reference V4 */

/* ===== Reference header ===== */
.sak-reference-header { position:relative; z-index:100; width:100%; background:#fff; }
.sak-reference-topbar { min-height:42px; padding:7px 0; border-bottom:1px solid #edf0f3; background:#f7f8fa; }
.sak-reference-topbar-inner { display:flex; min-height:28px; align-items:center; justify-content:space-between; gap:24px; direction:ltr; }
.sak-reference-trust { display:inline-flex; align-items:center; gap:7px; color:#7b8490; font-size:12px; white-space:nowrap; direction:rtl; }
.sak-reference-trust i { color:#19a85f; font-size:18px; }
.sak-reference-header-info { display:flex; flex:1 1 auto; align-items:center; justify-content:flex-start; direction:rtl; }
.sak-reference-header-info > * { margin:0 !important; }
.sak-reference-mainbar { background:#fff; box-shadow:0 7px 24px rgba(33,43,54,.045); }
.sak-reference-mainbar-grid { display:grid; grid-template-columns:220px 360px minmax(470px,1fr) 180px; grid-template-areas:"actions search nav logo"; min-height:90px; align-items:center; column-gap:22px; direction:ltr; }
.sak-reference-actions{grid-area:actions;min-width:0}.sak-reference-search{grid-area:search;min-width:0}.sak-reference-nav{grid-area:nav;min-width:0;direction:rtl}.sak-reference-logo{grid-area:logo;min-width:0}
.sak-reference-logo,.sak-reference-logo a{display:flex!important;align-items:center!important;justify-content:flex-end!important}.sak-reference-logo img{width:auto!important;max-width:150px!important;max-height:55px!important;margin:0!important}
.sak-reference-nav .main-menu-wrap,.sak-reference-nav #menu,.sak-reference-nav .main-menu{width:100%!important;margin:0!important;padding:0!important}.sak-reference-nav .main-menu{display:flex!important;align-items:center!important;justify-content:center!important;gap:34px!important;list-style:none!important}.sak-reference-nav .main-menu>li{margin:0!important;padding:0!important}.sak-reference-nav .main-menu>li>a{display:inline-flex!important;min-height:46px!important;padding:0!important;align-items:center!important;color:#171a1f!important;font-size:14px!important;font-weight:700!important;white-space:nowrap!important}
.sak-reference-search>.mb-2{display:block!important;width:100%!important;margin:0!important}.sak-reference-search #small-search-box-form{display:flex!important;width:100%!important;height:52px!important;direction:rtl!important}.sak-reference-search #small-searchterms{flex:1 1 auto!important;height:52px!important;min-height:52px!important;margin:0!important;padding:0 16px!important;border:1px solid #dce1e8!important;border-left:0!important;border-radius:0 9px 9px 0!important;background:#fafbfc!important;color:#606977!important;font-size:13px!important;box-shadow:none!important}.sak-reference-search #small-search-box-form>button{flex:0 0 58px!important;width:58px!important;height:52px!important;margin:0!important;padding:0!important;border:0!important;border-radius:9px 0 0 9px!important;background:#f5223d!important;color:#fff!important;font-size:20px!important;box-shadow:none!important}
.sak-reference-actions>.col-xl-7,.sak-reference-actions .mobile-bar-wrap,.sak-reference-actions .mobile-top-bar,.sak-reference-actions .mobile-menu{display:none!important}.sak-reference-actions>.col-xl-3{display:block!important;width:100%!important;max-width:none!important;padding:0!important;flex:none!important}.sak-reference-actions .header-bottom-right{display:flex!important;width:100%!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row-reverse!important;gap:18px!important;direction:ltr!important}.sak-reference-actions .shopcart{position:relative!important;margin:0!important}.sak-reference-actions .btn.style1,.sak-reference-actions .top-login{min-height:52px!important;padding:0 22px!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important}

/* ===== Hero driven only by admin slider image ===== */
.sak-home-hero{--hero-h:clamp(650px,46vw,805px);position:relative;width:100%;height:var(--hero-h);min-height:var(--hero-h);margin:0;padding:0;overflow:hidden;background:#f4f6f8}
.sak-home-hero-widget,.sak-home-hero-stage,.sak-home-hero-slide{position:absolute;inset:0;width:100%;height:100%}.sak-home-hero-widget:not(.sak-home-hero-ready){overflow:hidden;opacity:0}.sak-home-hero-widget.sak-home-hero-ready{opacity:1}.sak-home-hero-slide{opacity:0;visibility:hidden;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;transition:opacity .55s ease,visibility .55s ease}.sak-home-hero-slide.is-active{z-index:2;opacity:1;visibility:visible}
.sak-home-hero-content{position:relative;width:min(1450px,calc(100% - 64px));height:100%;margin:0 auto}.sak-home-hero-copy{position:absolute;z-index:4;top:14%;right:0;width:min(47%,690px);direction:rtl;text-align:right}.sak-home-hero-title{margin:0 0 20px!important;color:#10131a!important;font-size:clamp(42px,3.35vw,66px)!important;font-weight:900!important;line-height:1.3!important;letter-spacing:-.7px}.sak-home-hero-description{max-width:650px;margin:0 0 28px!important;color:#555e6c!important;font-size:clamp(16px,1.22vw,21px)!important;font-weight:500!important;line-height:1.95!important}.sak-home-hero-button{display:inline-flex!important;min-height:58px;padding:13px 28px!important;align-items:center;justify-content:center;gap:10px;border-radius:9px!important;background:#f5223d!important;color:#fff!important;font-size:17px!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 8px 20px rgba(245,34,61,.18)}.sak-home-hero-button:hover{background:#e31632!important;color:#fff!important}.sak-home-hero-button-arrow{font-size:20px;line-height:1}.sak-home-hero-dots{position:absolute;z-index:10;right:50%;bottom:24px;display:flex;transform:translateX(50%);align-items:center;justify-content:center;gap:7px}.sak-home-hero-dot{width:25px;height:5px;padding:0;border:0;border-radius:20px;background:rgba(141,150,162,.26);cursor:pointer}.sak-home-hero-dot.is-active{width:38px;background:#f5223d}

@media(max-width:1199px){.sak-reference-mainbar-grid{grid-template-columns:205px 315px minmax(320px,1fr) 150px;column-gap:16px}.sak-reference-nav .main-menu{gap:20px!important}.sak-home-hero{--hero-h:650px}.sak-home-hero-slide{background-position:38% center!important}.sak-home-hero-copy{width:52%}}
@media(max-width:991px){.sak-reference-topbar{display:none}.sak-reference-mainbar-grid{grid-template-columns:1fr 1fr;grid-template-areas:"logo actions" "search search" "nav nav";min-height:auto;padding:12px 0;row-gap:12px}.sak-reference-logo,.sak-reference-logo a{justify-content:flex-start!important}.sak-reference-actions .header-bottom-right{justify-content:flex-start!important}.sak-reference-nav .main-menu{flex-wrap:wrap}.sak-home-hero{--hero-h:610px}.sak-home-hero-content{width:calc(100% - 36px)}.sak-home-hero-copy{top:10%;width:58%}}
@media(max-width:767px){.sak-reference-nav{display:none}.sak-reference-mainbar-grid{grid-template-columns:1fr 1fr;grid-template-areas:"logo actions" "search search"}.sak-reference-actions .btn.style1,.sak-reference-actions .top-login{min-height:46px!important;padding:0 14px!important;font-size:12px!important}.sak-home-hero{--hero-h:650px}.sak-home-hero-slide{background-position:25% center!important}.sak-home-hero-content{width:calc(100% - 28px)}.sak-home-hero-copy{top:22px;width:100%;padding:18px;border:1px solid rgba(255,255,255,.72);border-radius:16px;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 8px 28px rgba(28,39,56,.06)}.sak-home-hero-title{font-size:29px!important;line-height:1.5!important;margin-bottom:10px!important}.sak-home-hero-description{font-size:15px!important;line-height:1.8!important;margin-bottom:16px!important}.sak-home-hero-button{min-height:49px;width:100%;padding:10px 18px!important;font-size:15px!important}}


/* =========================================================
   V5 — Header locked to approved reference image
   ========================================================= */

/* Use a much wider desktop container like the approved reference. */
.html-home-page .sak-reference-header .container {
  width: calc(100% - 96px) !important;
  max-width: 1760px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* ----- Upper information bar ----- */
.html-home-page .sak-reference-topbar {
  min-height: 42px !important;
  padding: 0 !important;
  border-bottom: 1px solid #edf0f3 !important;
  background: #f7f8fa !important;
}

.html-home-page .sak-reference-topbar-inner {
  display: flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
  direction: ltr !important;
}

.html-home-page .sak-reference-trust {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  align-items: center !important;
  gap: 7px !important;
  color: #8b939f !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  direction: rtl !important;
}

.html-home-page .sak-reference-trust i {
  color: #19a85f !important;
  font-size: 17px !important;
}

.html-home-page .sak-reference-header-info {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 30px !important;
  color: #646d79 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  direction: rtl !important;
}

.html-home-page .sak-reference-header-info > *,
.html-home-page .sak-reference-header-info .contact-item,
.html-home-page .sak-reference-header-info .contact-item p,
.html-home-page .sak-reference-header-info .contact-item a {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.html-home-page .sak-reference-header-info .contact-item {
  display: inline-flex !important;
  min-height: 42px !important;
  margin-left: 0 !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}

.html-home-page .sak-reference-header-info .contact-item i {
  margin: 0 !important;
  color: #f5223d !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

.html-home-page .sak-reference-header-info .contact-item p,
.html-home-page .sak-reference-header-info .contact-item a[href^="tel:"] {
  color: #606875 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

/* The approved reference has only working hours + phone on the right. */
.html-home-page .sak-reference-header-info .sak-topbar-extra-link,
.html-home-page .sak-reference-header-info a.sak-topbar-extra-link,
.html-home-page .sak-reference-header-info > a[href]:not([href^="tel:"]) {
  display: none !important;
}

/* ----- Main header row ----- */
.html-home-page .sak-reference-mainbar {
  position: relative !important;
  background: #fff !important;
  border-radius: 0 0 18px 18px !important;
  box-shadow: 0 7px 24px rgba(33,43,54,.045) !important;
}

.html-home-page .sak-reference-mainbar-grid {
  display: grid !important;
  grid-template-columns: 240px 370px minmax(520px, 1fr) 185px !important;
  grid-template-areas: "actions search nav logo" !important;
  min-height: 92px !important;
  align-items: center !important;
  column-gap: 48px !important;
  direction: ltr !important;
}

/* Logo: move it farther right and create clear separation from menu. */
.html-home-page .sak-reference-logo,
.html-home-page .sak-reference-logo a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.html-home-page .sak-reference-logo img {
  display: block !important;
  width: auto !important;
  max-width: 155px !important;
  max-height: 58px !important;
  margin: 0 !important;
}

/* Navigation: center it between logo and search; home item is active on homepage. */
.html-home-page .sak-reference-nav {
  min-width: 0 !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
  direction: rtl !important;
}

.html-home-page .sak-reference-nav .main-menu {
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 38px !important;
}

.html-home-page .sak-reference-nav .main-menu > li:first-child > a {
  position: relative !important;
  color: #f5223d !important;
  font-weight: 800 !important;
}

.html-home-page .sak-reference-nav .main-menu > li:first-child > a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 1px !important;
  width: 100% !important;
  height: 2px !important;
  border-radius: 3px !important;
  background: #f5223d !important;
}

/* Search: move it left and keep a clear gap from the menu. */
.html-home-page .sak-reference-search {
  min-width: 0 !important;
  margin-left: 0 !important;
}

.html-home-page .sak-reference-search #small-search-box-form {
  width: 100% !important;
  height: 54px !important;
}

.html-home-page .sak-reference-search #small-searchterms {
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 18px !important;
  border-color: #d9dfe7 !important;
  border-radius: 0 9px 9px 0 !important;
  background: #fff !important;
  color: #7a8390 !important;
  font-size: 13px !important;
}

.html-home-page .sak-reference-search #small-search-box-form > button {
  flex-basis: 60px !important;
  width: 60px !important;
  height: 54px !important;
  border-radius: 9px 0 0 9px !important;
  background: #f5223d !important;
}

/* Account / cart area aligns to the far left just like the reference. */
.html-home-page .sak-reference-actions .header-bottom-right {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: row-reverse !important;
  gap: 22px !important;
  direction: ltr !important;
}

.html-home-page .sak-reference-actions .btn.style1,
.html-home-page .sak-reference-actions .top-login {
  min-height: 54px !important;
  padding: 0 24px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
}

.html-home-page .sak-reference-actions .shopcart i {
  font-size: 30px !important;
}

@media (max-width: 1500px) {
  .html-home-page .sak-reference-header .container {
    width: calc(100% - 64px) !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    grid-template-columns: 220px 340px minmax(430px, 1fr) 165px !important;
    column-gap: 30px !important;
  }

  .html-home-page .sak-reference-nav .main-menu {
    gap: 26px !important;
  }
}

@media (max-width: 1199px) {
  .html-home-page .sak-reference-header .container {
    width: calc(100% - 40px) !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    grid-template-columns: 205px 300px minmax(320px, 1fr) 150px !important;
    column-gap: 20px !important;
  }

  .html-home-page .sak-reference-nav .main-menu {
    gap: 18px !important;
  }
}


/* =========================================================
   V6 — exact desktop horizontal spacing from approved reference
   ========================================================= */
.html-home-page .sak-reference-shell {
  width: calc(100% - 96px) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Top bar spans almost the full viewport like the reference. */
.html-home-page .sak-reference-topbar-inner {
  width: 100% !important;
}

/* Main row: reduce outside margins and preserve deliberate internal gaps. */
.html-home-page .sak-reference-mainbar-grid {
  width: 100% !important;
  grid-template-columns: 230px 385px minmax(540px, 1fr) 175px !important;
  column-gap: 34px !important;
}

/* Push logo to the extreme right edge of the wide shell. */
.html-home-page .sak-reference-logo,
.html-home-page .sak-reference-logo a {
  justify-content: flex-end !important;
}

.html-home-page .sak-reference-logo img {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Search stays farther left from the menu, matching the reference. */
.html-home-page .sak-reference-search {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Keep account/cart aligned to the left edge of the same shell. */
.html-home-page .sak-reference-actions .header-bottom-right {
  justify-content: flex-start !important;
}

@media (min-width: 1600px) {
  .html-home-page .sak-reference-shell {
    width: calc(100% - 96px) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .html-home-page .sak-reference-shell {
    width: calc(100% - 72px) !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    grid-template-columns: 220px 350px minmax(430px, 1fr) 165px !important;
    column-gap: 26px !important;
  }
}

@media (max-width: 1199px) {
  .html-home-page .sak-reference-shell {
    width: calc(100% - 36px) !important;
  }
}


/* =========================================================
   V7 — header safe margins + responsive hero copy position
   ========================================================= */

/* Give the logo a deliberate breathing space from the right viewport edge. */
.html-home-page .sak-reference-logo {
  padding-right: 30px !important;
}

/* Keep the trust line away from the far-left edge of the viewport. */
.html-home-page .sak-reference-trust {
  margin-left: 30px !important;
}

/* Keep the right-side top-bar info off the edge as well. */
.html-home-page .sak-reference-header-info {
  padding-right: 18px !important;
}

/* Slightly protect the left action/search side on very wide screens. */
.html-home-page .sak-reference-actions {
  padding-left: 8px !important;
}

@media (min-width: 1600px) {
  .html-home-page .sak-reference-logo {
    padding-right: 38px !important;
  }
  .html-home-page .sak-reference-trust {
    margin-left: 38px !important;
  }
  .html-home-page .sak-reference-header-info {
    padding-right: 28px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .html-home-page .sak-reference-logo {
    padding-right: 26px !important;
  }
  .html-home-page .sak-reference-trust {
    margin-left: 26px !important;
  }
  .html-home-page .sak-reference-header-info {
    padding-right: 14px !important;
  }
}

@media (max-width: 1199px) {
  .html-home-page .sak-reference-logo {
    padding-right: 18px !important;
  }
  .html-home-page .sak-reference-trust {
    margin-left: 18px !important;
  }
  .html-home-page .sak-reference-header-info {
    padding-right: 10px !important;
  }
}

/* Tablet: keep header items inside the viewport with predictable side gutters. */
@media (max-width: 991px) {
  .html-home-page .sak-reference-shell {
    width: calc(100% - 28px) !important;
  }

  .html-home-page .sak-reference-logo {
    padding-right: 0 !important;
    padding-left: 8px !important;
  }

  .html-home-page .sak-reference-logo img {
    max-width: 138px !important;
  }

  .html-home-page .sak-reference-actions {
    padding-left: 0 !important;
    padding-right: 8px !important;
  }

  .html-home-page .sak-reference-search {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* Mobile: lower the slider copy so it no longer covers the character's face. */
@media (max-width: 767px) {
  .html-home-page .sak-reference-shell {
    width: calc(100% - 20px) !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    row-gap: 10px !important;
  }

  .html-home-page .sak-reference-logo {
    padding: 0 6px 0 0 !important;
  }

  .html-home-page .sak-reference-logo img {
    max-width: 128px !important;
    max-height: 48px !important;
  }

  .html-home-page .sak-reference-actions {
    padding: 0 0 0 6px !important;
  }

  .html-home-page .sak-reference-actions .header-bottom-right {
    gap: 10px !important;
  }

  .html-home-page .sak-reference-actions .btn.style1,
  .html-home-page .sak-reference-actions .top-login {
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .html-home-page .sak-reference-search #small-search-box-form,
  .html-home-page .sak-reference-search #small-searchterms,
  .html-home-page .sak-reference-search #small-search-box-form > button {
    height: 50px !important;
    min-height: 50px !important;
  }

  .html-home-page .sak-home-hero {
    --hero-h: 690px !important;
  }

  .html-home-page .sak-home-hero-content {
    width: calc(100% - 24px) !important;
  }

  .html-home-page .sak-home-hero-copy {
    top: auto !important;
    bottom: 28px !important;
    right: 0 !important;
    width: 100% !important;
    padding: 18px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.9) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
  }

  .html-home-page .sak-home-hero-title {
    font-size: 27px !important;
    line-height: 1.45 !important;
    margin-bottom: 9px !important;
  }

  .html-home-page .sak-home-hero-description {
    font-size: 14px !important;
    line-height: 1.75 !important;
    margin-bottom: 14px !important;
  }

  .html-home-page .sak-home-hero-button {
    min-height: 48px !important;
  }
}

@media (max-width: 480px) {
  .html-home-page .sak-reference-shell {
    width: calc(100% - 14px) !important;
  }

  .html-home-page .sak-reference-logo img {
    max-width: 118px !important;
  }

  .html-home-page .sak-home-hero {
    --hero-h: 650px !important;
  }

  .html-home-page .sak-home-hero-copy {
    bottom: 20px !important;
    padding: 16px 14px !important;
  }

  .html-home-page .sak-home-hero-title {
    font-size: 24px !important;
  }
}


/* =========================================================
   V8 — deterministic header gutters + responsive hero copy
   Loaded under a NEW filename to bypass old CDN/browser CSS.
   ========================================================= */

/* Wide desktop: reproduce the approved reference gutters. */
.html-home-page .sak-reference-mainbar-shell,
.html-home-page .sak-reference-topbar-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 52px !important;
  padding-right: 52px !important;
  box-sizing: border-box !important;
}

.html-home-page .sak-reference-mainbar-grid {
  width: 100% !important;
  grid-template-columns: 220px 360px minmax(460px, 1fr) 170px !important;
  column-gap: 28px !important;
}

/* Physical gap from right edge: don't let the logo touch the viewport. */
.html-home-page .sak-reference-logo,
.html-home-page .sak-reference-logo a {
  justify-content: flex-end !important;
}
.html-home-page .sak-reference-logo {
  transform: translateX(-18px) !important;
}

/* Physical gap from left edge for the trust line. */
.html-home-page .sak-reference-trust {
  transform: translateX(18px) !important;
}

/* Keep menu/search clearly separated. */
.html-home-page .sak-reference-search {
  transform: translateX(-8px) !important;
}
.html-home-page .sak-reference-nav {
  padding-right: 4px !important;
  padding-left: 4px !important;
}

/* 1200–1399: stop menu/logo collisions while keeping desktop layout. */
@media (min-width: 1200px) and (max-width: 1399px) {
  .html-home-page .sak-reference-mainbar-shell,
  .html-home-page .sak-reference-topbar-shell {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
  .html-home-page .sak-reference-mainbar-grid {
    grid-template-columns: 190px 300px minmax(430px, 1fr) 142px !important;
    column-gap: 16px !important;
  }
  .html-home-page .sak-reference-logo {
    transform: translateX(-10px) !important;
  }
  .html-home-page .sak-reference-logo img {
    max-width: 136px !important;
  }
  .html-home-page .sak-reference-trust {
    transform: translateX(10px) !important;
  }
  .html-home-page .sak-reference-nav .main-menu {
    gap: 16px !important;
  }
  .html-home-page .sak-reference-nav .main-menu > li > a {
    font-size: 13px !important;
  }
  .html-home-page .sak-reference-search {
    transform: none !important;
  }
}

/* Tablet: two clean rows, no menu collision. */
@media (max-width: 1199px) {
  .html-home-page .sak-reference-mainbar-shell,
  .html-home-page .sak-reference-topbar-shell {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 991px) {
  .html-home-page .sak-reference-topbar {
    display: none !important;
  }
  .html-home-page .sak-reference-mainbar-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "logo actions"
      "search search" !important;
    min-height: auto !important;
    padding: 12px 0 !important;
    row-gap: 12px !important;
    column-gap: 12px !important;
  }
  .html-home-page .sak-reference-nav {
    display: none !important;
  }
  .html-home-page .sak-reference-logo {
    grid-area: logo !important;
    transform: none !important;
    padding: 0 !important;
  }
  .html-home-page .sak-reference-logo,
  .html-home-page .sak-reference-logo a {
    justify-content: flex-start !important;
  }
  .html-home-page .sak-reference-logo img {
    max-width: 140px !important;
    max-height: 52px !important;
  }
  .html-home-page .sak-reference-actions {
    grid-area: actions !important;
    padding: 0 !important;
  }
  .html-home-page .sak-reference-actions .header-bottom-right {
    justify-content: flex-end !important;
    gap: 12px !important;
  }
  .html-home-page .sak-reference-search {
    grid-area: search !important;
    transform: none !important;
    padding: 0 !important;
  }
}

/* Mobile: copy must sit LOW in the hero, away from the person's face. */
@media (max-width: 767px) {
  .html-home-page .sak-reference-mainbar-shell {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .html-home-page .sak-reference-mainbar-grid {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
    row-gap: 8px !important;
  }
  .html-home-page .sak-reference-logo img {
    max-width: 126px !important;
  }
  .html-home-page .sak-reference-actions .btn.style1,
  .html-home-page .sak-reference-actions .top-login {
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
  .html-home-page .sak-reference-search #small-search-box-form,
  .html-home-page .sak-reference-search #small-searchterms,
  .html-home-page .sak-reference-search #small-search-box-form > button {
    height: 50px !important;
    min-height: 50px !important;
  }

  .html-home-page .sak-home-hero {
    --hero-h: 690px !important;
  }
  .html-home-page .sak-home-hero-content {
    width: calc(100% - 20px) !important;
  }
  .html-home-page .sak-home-hero-copy {
    top: auto !important;
    right: 0 !important;
    bottom: 24px !important;
    width: 100% !important;
    transform: none !important;
    padding: 16px 14px !important;
    border: 1px solid rgba(255,255,255,.8) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.92) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
    box-shadow: 0 8px 28px rgba(28,39,56,.08) !important;
  }
  .html-home-page .sak-home-hero-title {
    font-size: 25px !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
  .html-home-page .sak-home-hero-description {
    font-size: 14px !important;
    line-height: 1.75 !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 480px) {
  .html-home-page .sak-home-hero {
    --hero-h: 660px !important;
  }
  .html-home-page .sak-home-hero-copy {
    bottom: 18px !important;
  }
  .html-home-page .sak-home-hero-title {
    font-size: 23px !important;
  }
}


/* =========================================================
   V9 — 1200–1399 compact search icon + modal
   Frees the navigation from the full search field.
   ========================================================= */

.sak-reference-search-trigger-wrap {
  display: none;
  min-width: 0;
}

.sak-reference-search-trigger {
  display: inline-flex;
  width: 52px;
  height: 52px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: #f5223d;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(245,34,61,.14);
}

.sak-reference-search-trigger:hover,
.sak-reference-search-trigger:focus {
  background: #e31632;
  color: #fff;
  outline: none;
}

.sak-reference-search-modal-card {
  position: relative;
}

.sak-reference-search-close,
.sak-reference-search-modal-title {
  display: none;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .html-home-page .sak-reference-mainbar-shell,
  .html-home-page .sak-reference-topbar-shell {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    grid-template-columns: 190px 52px minmax(620px, 1fr) 150px !important;
    grid-template-areas: "actions searchtrigger nav logo" !important;
    column-gap: 18px !important;
  }

  .html-home-page .sak-reference-search-trigger-wrap {
    grid-area: searchtrigger !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .html-home-page .sak-reference-search-trigger {
    display: inline-flex !important;
  }

  .html-home-page .sak-reference-nav {
    padding-right: 2px !important;
    padding-left: 2px !important;
  }

  .html-home-page .sak-reference-nav .main-menu {
    gap: 24px !important;
    flex-wrap: nowrap !important;
  }

  .html-home-page .sak-reference-nav .main-menu > li > a {
    font-size: 13px !important;
  }

  .html-home-page .sak-reference-logo {
    transform: none !important;
    padding-right: 10px !important;
  }

  /* Same search form, but moved into a modal only at this range. */
  .html-home-page .sak-reference-search {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;
    display: flex !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 24px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background: rgba(17,24,39,.48) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;
  }

  .html-home-page .sak-reference-search.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .html-home-page .sak-reference-search-modal-card {
    width: min(620px, calc(100vw - 48px)) !important;
    margin-top: 96px !important;
    padding: 28px 28px 26px !important;
    border: 1px solid #e5e9ef !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(17,24,39,.22) !important;
    direction: rtl !important;
  }

  .html-home-page .sak-reference-search-modal-title {
    display: block !important;
    margin: 0 0 18px !important;
    padding-left: 42px !important;
    color: #171a1f !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    text-align: right !important;
  }

  .html-home-page .sak-reference-search-close {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    font-size: 20px !important;
    cursor: pointer !important;
  }

  .html-home-page .sak-reference-search > .sak-reference-search-modal-card > .mb-2 {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .html-home-page .sak-reference-search #small-search-box-form {
    display: flex !important;
    width: 100% !important;
    height: 56px !important;
  }

  .html-home-page .sak-reference-search #small-searchterms {
    height: 56px !important;
    min-height: 56px !important;
    font-size: 14px !important;
    background: #fafbfc !important;
  }

  .html-home-page .sak-reference-search #small-search-box-form > button {
    flex-basis: 62px !important;
    width: 62px !important;
    height: 56px !important;
  }

  html.sak-search-modal-open,
  body.sak-search-modal-open {
    overflow: hidden !important;
  }
}

/* At all other sizes the current inline/full-width responsive search remains unchanged. */
@media (min-width: 1400px), (max-width: 1199px) {
  .html-home-page .sak-reference-search-trigger-wrap {
    display: none !important;
  }
  .html-home-page .sak-reference-search {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* =========================================================
   V10 — deterministic 1200–1399 compact header
   The sak-compact-desktop class is set by HeaderInt JS.
   ========================================================= */
html.sak-compact-desktop .html-home-page .sak-reference-search-trigger-wrap,
html.sak-compact-desktop .sak-reference-search-trigger-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.sak-compact-desktop .html-home-page #sak-reference-search-panel:not(.is-open),
html.sak-compact-desktop #sak-reference-search-panel:not(.is-open) {
  display: none !important;
}

html.sak-compact-desktop #sak-reference-search-panel.is-open {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 24px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  background: rgba(17,24,39,.48) !important;
}

html.sak-compact-desktop #sak-reference-search-panel .sak-reference-search-modal-card {
  width: min(620px, calc(100vw - 48px)) !important;
  margin-top: 88px !important;
  padding: 28px !important;
  border: 1px solid #e5e9ef !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(17,24,39,.22) !important;
}

html.sak-compact-desktop #sak-reference-search-panel .sak-reference-search-close,
html.sak-compact-desktop #sak-reference-search-panel .sak-reference-search-modal-title {
  display: flex !important;
}

html.sak-compact-desktop #sak-reference-search-panel .sak-reference-search-modal-title {
  display: block !important;
  margin: 0 0 18px !important;
  padding-left: 42px !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  text-align: right !important;
}

html.sak-compact-desktop #sak-reference-search-panel .sak-reference-search-close {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  width: 34px !important;
  height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f3f4f6 !important;
  color: #4b5563 !important;
}


/* =========================================================
   V12 — 992–1199 visible menu + search icon/modal
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199px) {
  .html-home-page .sak-reference-mainbar-shell,
  .html-home-page .sak-reference-topbar-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box !important;
  }

  .html-home-page .sak-reference-topbar {
    display: block !important;
  }

  /* Keep a clear physical gutter at the left edge. */
  .html-home-page .sak-reference-topbar-inner {
    padding-left: 10px !important;
    padding-right: 4px !important;
  }

  .html-home-page .sak-reference-trust {
    transform: none !important;
    margin-left: 10px !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    grid-template-columns: 160px 52px minmax(0, 1fr) 140px !important;
    grid-template-areas: "actions searchtrigger nav logo" !important;
    column-gap: 10px !important;
    min-height: 88px !important;
  }

  .html-home-page .sak-reference-nav {
    display: block !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .html-home-page .sak-reference-nav .main-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .html-home-page .sak-reference-nav .main-menu > li > a {
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }

  .html-home-page .sak-reference-search-trigger-wrap {
    grid-area: searchtrigger !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .html-home-page .sak-reference-search-trigger {
    display: inline-flex !important;
    width: 50px !important;
    height: 50px !important;
  }

  .html-home-page .sak-reference-logo {
    grid-area: logo !important;
    transform: none !important;
    padding-right: 14px !important;
  }

  .html-home-page .sak-reference-logo,
  .html-home-page .sak-reference-logo a {
    justify-content: flex-end !important;
  }

  .html-home-page .sak-reference-logo img {
    max-width: 132px !important;
    max-height: 52px !important;
  }

  .html-home-page .sak-reference-actions {
    grid-area: actions !important;
  }

  .html-home-page .sak-reference-actions .header-bottom-right {
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .html-home-page .sak-reference-actions .btn.style1,
  .html-home-page .sak-reference-actions .top-login {
    min-height: 48px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  /* Search exists only as a modal in this range. */
  .html-home-page #sak-reference-search-panel:not(.is-open) {
    display: none !important;
  }

  .html-home-page #sak-reference-search-panel.is-open {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 24px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background: rgba(17,24,39,.48) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .html-home-page #sak-reference-search-panel .sak-reference-search-modal-card {
    position: relative !important;
    width: min(620px, calc(100vw - 48px)) !important;
    margin-top: 80px !important;
    padding: 28px 28px 26px !important;
    border: 1px solid #e5e9ef !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(17,24,39,.22) !important;
    direction: rtl !important;
  }

  .html-home-page #sak-reference-search-panel .sak-reference-search-modal-title {
    display: block !important;
    margin: 0 0 18px !important;
    padding-left: 42px !important;
    color: #171a1f !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    text-align: right !important;
  }

  .html-home-page #sak-reference-search-panel .sak-reference-search-close {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    font-size: 20px !important;
    cursor: pointer !important;
  }

  .html-home-page #sak-reference-search-panel > .sak-reference-search-modal-card > .mb-2 {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .html-home-page #sak-reference-search-panel #small-search-box-form {
    display: flex !important;
    width: 100% !important;
    height: 56px !important;
  }

  .html-home-page #sak-reference-search-panel #small-searchterms {
    height: 56px !important;
    min-height: 56px !important;
    font-size: 14px !important;
    background: #fafbfc !important;
  }

  .html-home-page #sak-reference-search-panel #small-search-box-form > button {
    flex-basis: 62px !important;
    width: 62px !important;
    height: 56px !important;
  }
}

/* Guarantee physical gutters at the two problem edges in 992–1399. */
@media (min-width: 992px) and (max-width: 1399px) {
  .html-home-page .sak-reference-logo {
    padding-right: 16px !important;
  }
  .html-home-page .sak-reference-trust {
    margin-left: 10px !important;
  }
}

/* =========================================================
   V13 FINAL — 992–1199 desktop menu restored + top-left gutter
   This block deliberately overrides the theme's max-width:1199
   mobile/off-canvas menu rules.
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199px) {
  .html-home-page .sak-reference-mainbar-shell,
  .html-home-page .sak-reference-topbar-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box !important;
  }

  /* Physical left spacing for the trust message, independent of flex/layout rules. */
  .html-home-page .sak-reference-trust {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: translateX(20px) !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    display: grid !important;
    grid-template-columns: 168px 50px minmax(0, 1fr) 138px !important;
    grid-template-areas: "actions searchtrigger nav logo" !important;
    column-gap: 10px !important;
    min-height: 88px !important;
    align-items: center !important;
  }

  /* Undo Sakolenter's max-width:1199 off-canvas menu conversion. */
  .html-home-page .sak-reference-nav {
    grid-area: nav !important;
    display: block !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .html-home-page .sak-reference-nav .main-menu-wrap {
    display: block !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: auto !important;
    background: transparent !important;
    transform: none !important;
    transition: none !important;
  }

  .html-home-page .sak-reference-nav .menu-close,
  .html-home-page .sak-reference-nav .menu-expand {
    display: none !important;
  }

  .html-home-page .sak-reference-nav #menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .html-home-page .sak-reference-nav .main-menu {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    list-style: none !important;
  }

  .html-home-page .sak-reference-nav .main-menu > li {
    display: block !important;
    position: relative !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .html-home-page .sak-reference-nav .main-menu > li > a {
    display: inline-flex !important;
    min-height: 42px !important;
    padding: 0 3px !important;
    align-items: center !important;
    border: 0 !important;
    color: #171a1f !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* Restore desktop dropdown behavior in this intermediate desktop range. */
  .html-home-page .sak-reference-nav .main-menu > li.has-children > .sub-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: 220px !important;
    height: auto !important;
    padding: 10px 0 !important;
    overflow: visible !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(30,42,58,.12) !important;
    transform: translateY(8px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .html-home-page .sak-reference-nav .main-menu > li.has-children:hover > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .html-home-page .sak-reference-search-trigger-wrap {
    grid-area: searchtrigger !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .html-home-page .sak-reference-search-trigger {
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
  }

  .html-home-page #sak-reference-search-panel:not(.is-open) {
    display: none !important;
  }

  .html-home-page .sak-reference-logo {
    grid-area: logo !important;
    padding-right: 10px !important;
    transform: none !important;
  }

  .html-home-page .sak-reference-logo img {
    max-width: 130px !important;
    max-height: 50px !important;
  }
}

/* =========================================================
   V14 definitive header fix: 992–1199 menu + topbar gutter
   ========================================================= */

/* Topbar gutters are physical, not dependent on Bootstrap/container direction. */
.html-home-page .sak-reference-topbar-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
}
.html-home-page .sak-reference-topbar-inner {
  position: relative !important;
  width: 100% !important;
}
.html-home-page .sak-reference-trust {
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.html-home-page .sak-medium-nav {
  display: none !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .html-home-page .sak-reference-mainbar-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .html-home-page .sak-reference-mainbar-grid {
    display: grid !important;
    grid-template-columns: 160px 50px minmax(0, 1fr) 132px !important;
    grid-template-areas: "actions searchtrigger mediumnav logo" !important;
    column-gap: 10px !important;
    min-height: 88px !important;
    align-items: center !important;
    direction: ltr !important;
  }

  /* Hide the off-canvas theme TopMenu and use a clean clone of its UL. */
  .html-home-page .sak-reference-nav {
    display: none !important;
  }
  .html-home-page .sak-medium-nav {
    grid-area: mediumnav !important;
    display: block !important;
    min-width: 0 !important;
    direction: rtl !important;
    overflow: visible !important;
  }
  .html-home-page .sak-medium-nav > .main-menu {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    list-style: none !important;
    overflow: visible !important;
  }
  .html-home-page .sak-medium-nav > .main-menu > li {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .html-home-page .sak-medium-nav > .main-menu > li > a {
    display: inline-flex !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    align-items: center !important;
    border: 0 !important;
    color: #171a1f !important;
    font-family: "estedad", sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  .html-home-page .sak-medium-nav .sub-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 210px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 2000 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(28,39,56,.13) !important;
    transform: translateY(7px) !important;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
  }
  .html-home-page .sak-medium-nav li.has-children:hover > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  .html-home-page .sak-medium-nav .sub-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .html-home-page .sak-medium-nav .sub-menu a {
    display: block !important;
    padding: 10px 15px !important;
    border: 0 !important;
    color: #222 !important;
    font-size: 12px !important;
    text-align: right !important;
    white-space: normal !important;
  }

  .html-home-page .sak-reference-search-trigger-wrap {
    grid-area: searchtrigger !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .html-home-page .sak-reference-search-trigger {
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
  }
  .html-home-page #sak-reference-search-panel:not(.is-open) {
    display: none !important;
  }

  .html-home-page .sak-reference-actions {
    grid-area: actions !important;
    min-width: 0 !important;
  }
  .html-home-page .sak-reference-actions > .col-xl-7,
  .html-home-page .sak-reference-actions .mobile-bar-wrap,
  .html-home-page .sak-reference-actions .mobile-top-bar,
  .html-home-page .sak-reference-actions .mobile-menu {
    display: none !important;
  }
  .html-home-page .sak-reference-actions > .col-xl-3 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    flex: none !important;
  }
  .html-home-page .sak-reference-actions .header-bottom-right {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row-reverse !important;
    gap: 10px !important;
  }

  .html-home-page .sak-reference-logo {
    grid-area: logo !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 10px !important;
    transform: none !important;
  }
  .html-home-page .sak-reference-logo img {
    width: auto !important;
    max-width: 128px !important;
    max-height: 50px !important;
  }

  /* Guaranteed 28px left gutter for the left-side trust message. */
  .html-home-page .sak-reference-topbar-shell {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}
