
/* =========================================================
   SOCHO SONS LLC. — GLOBAL DESIGN SYSTEM
   Clean consolidated version — 2026-09-20
   ========================================================= */

:root{
  --ss-gold:#d7ad52;
  --ss-gold-hi:#f3d783;
  --ss-gold-dark:#b9842f;
  --ss-bg:#050505;
  --ss-panel:#0d0d0d;
  --ss-panel-2:#141414;
  --ss-text:#ffffff;
  --ss-muted:#d7d0c5;
  --ss-line:rgba(215,173,82,.30);
  --ss-radius:12px;
}

html,body{
  margin:0!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  background:var(--ss-bg)!important;
  color:var(--ss-text)!important;
  -webkit-text-size-adjust:100%;
}

body{
  font-family:Arial,Helvetica,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

*,*::before,*::after{box-sizing:border-box}
img{max-width:100%;height:auto}

/* ---------- GLOBAL CONTENT ---------- */
.entry-content,
.wp-block-post-content,
main,
.site-main{
  max-width:100%!important;
  overflow-x:hidden!important;
}

body .ss-page,
body .ss-home,
body .ss-wl{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  overflow:hidden!important;
}

body .ss-wrap,
body .ss-home .wrap,
body .ss-wl-wrap{
  width:min(1160px,calc(100% - 40px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* ---------- TYPOGRAPHY ---------- */
body .ss-h1,
body .ss-home h1{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(3rem,7vw,5.25rem)!important;
  line-height:.98!important;
  letter-spacing:-.03em!important;
  font-weight:900!important;
  text-align:center!important;
}

body .ss-h2,
body .ss-home h2,
body .ss-wl-title{
  font-family:Georgia,"Times New Roman",serif!important;
  line-height:1.04!important;
  font-weight:800!important;
}

body .ss-kicker,
body .ss-home .kicker{
  color:var(--ss-gold-hi)!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
}

body .ss-lead,
body .ss-copy,
body .ss-home .lead,
body .ss-home p,
body .ss-wl-intro{
  color:var(--ss-muted)!important;
}

/* ---------- PANELS / CARDS ---------- */
body .ss-card,
body .ss-home .card,
body .ss-list,
body .ss-home .standard,
body .ss-login-wrap,
body .ss-dl{
  background:linear-gradient(180deg,var(--ss-panel-2) 0%,#0b0b0b 100%)!important;
  border:1px solid var(--ss-line)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.28)!important;
}

/* ---------- BUTTONS ---------- */
body .ss-btn,
body .home-gold-btn,
body .ss-home .btn,
body .ss-login button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  padding:13px 22px!important;
  border:1px solid #f3d783!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#f6dd94 0%,var(--ss-gold) 58%,var(--ss-gold-dark) 100%)!important;
  color:#070707!important;
  font-size:.82rem!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  box-shadow:0 7px 22px rgba(215,173,82,.18)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}

body .ss-btn:hover,
body .home-gold-btn:hover,
body .ss-home .btn:hover,
body .ss-login button:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.06)!important;
  box-shadow:0 10px 28px rgba(215,173,82,.28)!important;
}

/* =========================================================
   HEADER — DESKTOP
   ========================================================= */
body header,
body .site-header,
body .wp-site-blocks>header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  width:100%!important;
  padding:14px 28px!important;
  background:#050505!important;
  color:#fff!important;
  border-bottom:1px solid rgba(215,173,82,.42)!important;
}

body header .site-branding,
body .site-header .site-branding{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:14px!important;
  align-items:center!important;
  flex:0 0 auto!important;
  margin:0!important;
}

body header .custom-logo-link,
body .site-header .custom-logo-link,
body header .site-logo,
body .site-header .site-logo,
body .wp-block-site-logo{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  margin:0!important;
}

body header .custom-logo,
body .site-header .custom-logo,
body header .site-logo img,
body .site-header .site-logo img,
body .wp-block-site-logo img{
  display:block!important;
  width:78px!important;
  max-width:78px!important;
  height:64px!important;
  object-fit:contain!important;
  margin:0!important;
}

body header .site-title,
body .site-header .site-title,
body .wp-block-site-title{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  align-self:end!important;
}

body header .site-title a,
body .site-header .site-title a,
body .wp-block-site-title a{
  display:block!important;
  color:#fff!important;
  font-size:1.08rem!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

body header .site-description,
body .site-header .site-description,
body .wp-block-site-tagline{
  grid-column:2!important;
  grid-row:2!important;
  margin:5px 0 0!important;
  color:var(--ss-gold-hi)!important;
  font-size:.72rem!important;
  line-height:1.12!important;
  font-weight:800!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}

body header nav,
body .site-header nav,
body #site-navigation,
body .main-navigation,
body .primary-navigation,
body .site-navigation{
  display:block!important;
  position:static!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

body header nav ul,
body .site-header nav ul,
body #site-navigation ul,
body .main-navigation ul,
body .primary-navigation ul,
body .site-navigation ul,
body ul.menu,
body .nav-menu{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body header nav li,
body .site-header nav li,
body #site-navigation li,
body .main-navigation li,
body .primary-navigation li,
body .site-navigation li,
body ul.menu>li,
body .nav-menu>li{
  display:block!important;
  margin:0!important;
  padding:0 6px!important;
}

body header nav a,
body .site-header nav a,
body #site-navigation a,
body .main-navigation a,
body .primary-navigation a,
body .site-navigation a,
body ul.menu a,
body .nav-menu a{
  display:block!important;
  color:var(--ss-gold-hi)!important;
  font-size:.72rem!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

/* No hamburger — full navigation is intentionally visible */
body .menu-toggle,
body .mobile-menu-toggle,
body .mobile-navigation-toggle,
body .hamburger,
body .hamburger-menu,
body .nav-toggle,
body .navbar-toggler,
body .wp-block-navigation__responsive-container-open,
body .wp-block-navigation__responsive-container-close{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* =========================================================
   MOBILE / TABLET HEADER — EXACT TWO ROWS (4 + 3)
   ========================================================= */
@media(max-width:899px){
  body header,
  body .site-header,
  body .wp-site-blocks>header{
    display:block!important;
    width:100%!important;
    padding:14px 14px 12px!important;
  }

  body header .site-branding,
  body .site-header .site-branding{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:12px!important;
    width:100%!important;
    max-width:100%!important;
  }

  body header .custom-logo,
  body .site-header .custom-logo,
  body header .site-logo img,
  body .site-header .site-logo img,
  body .wp-block-site-logo img{
    width:72px!important;
    max-width:72px!important;
    height:72px!important;
  }

  body header .site-title a,
  body .site-header .site-title a,
  body .wp-block-site-title a{
    font-size:1.08rem!important;
    white-space:normal!important;
    overflow:visible!important;
  }

  body header .site-description,
  body .site-header .site-description,
  body .wp-block-site-tagline{
    font-size:.73rem!important;
    white-space:normal!important;
  }

  body header nav,
  body .site-header nav,
  body #site-navigation,
  body .main-navigation,
  body .primary-navigation,
  body .site-navigation,
  body .navigation,
  body .mobile-navigation,
  body .wp-block-navigation{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    margin:13px 0 0!important;
    padding:11px 0 0!important;
    border-top:1px solid rgba(215,173,82,.30)!important;
    background:transparent!important;
  }

  body .menu-content-container,
  body .menu-primary-container,
  body .menu-main-menu-container,
  body .primary-menu-container,
  body .nav-menu-container,
  body .wp-block-navigation__responsive-container,
  body .wp-block-navigation__responsive-container:not(.is-menu-open),
  body .wp-block-navigation__responsive-container.is-menu-open,
  body .wp-block-navigation__responsive-container-content{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
  }

  body header nav ul,
  body .site-header nav ul,
  body #site-navigation ul,
  body .main-navigation ul,
  body .primary-navigation ul,
  body .site-navigation ul,
  body ul.menu,
  body .nav-menu,
  body .primary-menu,
  body .wp-block-navigation__container{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    grid-auto-flow:row!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }

  body header nav li,
  body .site-header nav li,
  body #site-navigation li,
  body .main-navigation li,
  body .primary-navigation li,
  body .site-navigation li,
  body ul.menu>li,
  body .nav-menu>li,
  body .wp-block-navigation-item{
    display:block!important;
    float:none!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  body header nav a,
  body .site-header nav a,
  body #site-navigation a,
  body .main-navigation a,
  body .primary-navigation a,
  body .site-navigation a,
  body ul.menu a,
  body .nav-menu a,
  body .wp-block-navigation-item__content{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:44px!important;
    padding:7px 4px!important;
    background:#0b0b0b!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    color:var(--ss-gold-hi)!important;
    font-size:.61rem!important;
    line-height:1.13!important;
    font-weight:900!important;
    letter-spacing:.025em!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Exact row placement for current 7-item menu */
  body header .menu-item-160,
  body .site-header .menu-item-160{grid-column:1!important;grid-row:1!important}
  body header .menu-item-199,
  body .site-header .menu-item-199{grid-column:2!important;grid-row:1!important}
  body header .menu-item-162,
  body .site-header .menu-item-162{grid-column:3!important;grid-row:1!important}
  body header .menu-item-163,
  body .site-header .menu-item-163{grid-column:4!important;grid-row:1!important}
  body header .menu-item-164,
  body .site-header .menu-item-164{grid-column:1!important;grid-row:2!important}
  body header .menu-item-414,
  body .site-header .menu-item-414{grid-column:2!important;grid-row:2!important}
  body header .menu-item-228,
  body .site-header .menu-item-228{grid-column:3 / 5!important;grid-row:2!important}

  /* ---------- MOBILE CONTENT ---------- */
  body .ss-hero,
  body .ss-home .intro{
    padding:54px 0 46px!important;
  }

  body .ss-section,
  body .ss-home .section,
  body .ss-wl-section{
    padding:48px 0!important;
  }

  body .ss-h1,
  body .ss-home h1{
    font-size:clamp(2.65rem,12vw,4rem)!important;
    line-height:.96!important;
    margin-top:10px!important;
    margin-bottom:20px!important;
  }

  body .ss-h2,
  body .ss-home h2,
  body .ss-wl-title{
    font-size:clamp(2rem,8vw,2.75rem)!important;
    line-height:1.02!important;
  }

  body .ss-lead,
  body .ss-copy,
  body .ss-home .lead,
  body .ss-home p,
  body .ss-wl-intro{
    font-size:1rem!important;
    line-height:1.68!important;
  }

  body .ss-values,
  body .ss-grid,
  body .ss-home .cards,
  body .ss-commit,
  body .ss-home .split{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  body .ss-card,
  body .ss-home .card,
  body .ss-list,
  body .ss-home .standard{
    border-radius:14px!important;
  }

  body .ss-card{padding:24px!important}
  body .ss-home .card-body{padding:22px!important}

  body .ss-home .actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:440px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body .ss-btn,
  body .home-gold-btn,
  body .ss-home .btn{
    width:100%!important;
    max-width:440px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Work Log */
  body .ss-features{grid-template-columns:1fr 1fr!important}
  body .ss-f{padding:18px 10px!important}
  body .ss-f h3{font-size:.72rem!important;line-height:1.25!important}
  body .ss-f p{font-size:.78rem!important;line-height:1.45!important}

  body .ss-login-wrap{grid-template-columns:1fr!important}
  body .ss-login+.ss-login{
    border-left:0!important;
    border-top:1px solid var(--ss-line)!important;
  }

  body .ss-download{
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
  }

  /* Footer nav */
  body .ss-footer-nav{
    padding:24px 12px 20px!important;
    border-top:1px solid var(--ss-line)!important;
    background:#050505!important;
  }

  body .ss-footer-nav .ss-footer-nav-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px 6px!important;
    max-width:760px!important;
    margin:0 auto!important;
  }

  body .ss-footer-nav .row2{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px 6px!important;
  }

  body .ss-footer-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    padding:7px 4px!important;
    border:1px solid rgba(215,173,82,.22)!important;
    border-radius:7px!important;
    background:#0b0b0b!important;
    color:#fff!important;
    font-size:.62rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
body footer,
body .site-footer,
body .wp-site-blocks>footer{
  position:relative!important;
  width:100%!important;
  padding:30px 16px 24px!important;
  background:#050505!important;
  color:#fff!important;
  text-align:center!important;
  border-top:1px solid rgba(215,173,82,.25)!important;
}

body footer::before,
body .site-footer::before,
body .wp-site-blocks>footer::before{
  content:""!important;
  display:block!important;
  width:min(760px,92vw)!important;
  aspect-ratio:1913/822!important;
  margin:0 auto 18px!important;
  background-image:url('https://sochosons.com/wp-content/uploads/2026/09/Socho-Sons-LLC-Footer-Logo.webp')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}

body footer a,
body .site-footer a,
body .wp-site-blocks>footer a{
  color:var(--ss-gold-hi)!important;
}

/* =========================================================
   SMALL PHONES
   ========================================================= */
@media(max-width:480px){
  body .ss-wrap,
  body .ss-home .wrap,
  body .ss-wl-wrap{
    width:calc(100% - 24px)!important;
  }

  body header,
  body .site-header,
  body .wp-site-blocks>header{
    padding:12px 10px 10px!important;
  }

  body header .site-branding,
  body .site-header .site-branding{
    grid-template-columns:64px minmax(0,1fr)!important;
    column-gap:10px!important;
  }

  body header .custom-logo,
  body .site-header .custom-logo,
  body header .site-logo img,
  body .site-header .site-logo img,
  body .wp-block-site-logo img{
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
  }

  body header .site-title a,
  body .site-header .site-title a,
  body .wp-block-site-title a{
    font-size:.96rem!important;
  }

  body header .site-description,
  body .site-header .site-description,
  body .wp-block-site-tagline{
    font-size:.66rem!important;
  }

  body header nav a,
  body .site-header nav a,
  body #site-navigation a,
  body .main-navigation a,
  body .primary-navigation a,
  body .site-navigation a,
  body ul.menu a,
  body .nav-menu a,
  body .wp-block-navigation-item__content{
    min-height:42px!important;
    padding:6px 3px!important;
    font-size:.57rem!important;
  }

  body .ss-h1,
  body .ss-home h1{
    font-size:clamp(2.4rem,12vw,3.55rem)!important;
  }

  body .ss-h2,
  body .ss-home h2,
  body .ss-wl-title{
    font-size:clamp(1.85rem,8.5vw,2.35rem)!important;
  }

  body .ss-card,
  body .ss-list,
  body .ss-home .standard,
  body .ss-home .card-body{
    padding:20px!important;
  }

  body .ss-footer-nav a{
    min-height:38px!important;
    font-size:.58rem!important;
  }

  body footer::before,
  body .site-footer::before,
  body .wp-site-blocks>footer::before{
    width:min(94vw,560px)!important;
  }
}


/* --- WPWriter addition --- */

/* ===== WORK LOG REFINEMENT — 2026-09-20 ===== */

/* Login cards stay side by side, including mobile */
body .ss-wl .ss-login-wrap{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  align-items:stretch!important;
}

body .ss-wl .ss-login{
  padding:22px 18px!important;
}

body .ss-wl .ss-login+.ss-login{
  border-left:1px solid rgba(215,173,82,.34)!important;
  border-top:0!important;
}

/* Smaller login text on mobile so both columns fit cleanly */
body .ss-wl .ss-login h3{
  color:#f3d783!important;
  font-size:clamp(.82rem,2.8vw,1.02rem)!important;
  letter-spacing:.14em!important;
  text-shadow:
    0 0 5px rgba(243,215,131,.35),
    0 0 12px rgba(215,173,82,.18)!important;
}

body .ss-wl .ss-login .role{
  font-size:.88rem!important;
  line-height:1.35!important;
}

body .ss-wl .ss-login-icon svg{
  fill:url(#none)!important;
  filter:
    drop-shadow(0 0 3px rgba(255,229,150,.45))
    drop-shadow(0 0 9px rgba(215,173,82,.22))!important;
}

/* Inputs slightly more compact */
body .ss-wl .ss-field{
  height:42px!important;
  margin:7px 0!important;
  padding:0 10px!important;
}

body .ss-wl .ss-field input{
  font-size:.88rem!important;
}

body .ss-wl .ss-login button{
  min-height:44px!important;
  height:44px!important;
  margin-top:12px!important;
  font-size:.82rem!important;
  letter-spacing:.12em!important;
}

/* Remember/Forgot layout remains compact */
body .ss-wl .ss-login-meta{
  gap:8px!important;
  font-size:.72rem!important;
  align-items:flex-start!important;
}

body .ss-wl .ss-login-meta label,
body .ss-wl .ss-login-meta a{
  line-height:1.25!important;
}

/* 10 feature items — smaller, cleaner and more premium */
body .ss-wl .ss-features{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;
  border-top:1px solid rgba(215,173,82,.28)!important;
  border-bottom:1px solid rgba(215,173,82,.28)!important;
}

body .ss-wl .ss-f{
  padding:14px 8px 13px!important;
  text-align:center!important;
  border-right:1px solid rgba(215,173,82,.16)!important;
  border-top:0!important;
}

body .ss-wl .ss-f:nth-child(5n){
  border-right:0!important;
}

body .ss-wl .ss-f:nth-child(n+6){
  border-top:1px solid rgba(215,173,82,.16)!important;
}

/* Shiny gold icon rings */
body .ss-wl .ss-ico{
  width:46px!important;
  height:46px!important;
  margin:0 auto 8px!important;
  border:1.5px solid #f2cf73!important;
  background:
    radial-gradient(circle at 32% 24%,rgba(255,245,193,.22),transparent 32%),
    linear-gradient(145deg,#17130a,#0b0905)!important;
  box-shadow:
    inset 0 0 7px rgba(255,231,153,.12),
    0 0 7px rgba(242,207,115,.22),
    0 0 16px rgba(215,173,82,.10)!important;
}

body .ss-wl .ss-ico svg{
  width:22px!important;
  height:22px!important;
  stroke:#f3d783!important;
  filter:
    drop-shadow(0 0 2px rgba(255,236,173,.55))
    drop-shadow(0 0 5px rgba(215,173,82,.25))!important;
}

/* Shiny gold feature titles */
body .ss-wl .ss-f h3{
  margin:0 0 5px!important;
  color:#f3d783!important;
  font-size:.62rem!important;
  line-height:1.16!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  text-shadow:
    0 0 4px rgba(243,215,131,.30),
    0 0 10px rgba(215,173,82,.12)!important;
}

body .ss-wl .ss-f p{
  margin:0!important;
  color:#e8e1d6!important;
  font-size:.66rem!important;
  line-height:1.34!important;
}

/* Work Log page titles use metallic gold */
body .ss-wl .ss-wl-title{
  color:#f3d783!important;
  text-shadow:
    0 0 5px rgba(243,215,131,.24),
    0 0 14px rgba(215,173,82,.10)!important;
}

/* Mobile tuning */
@media(max-width:760px){
  body .ss-wl .ss-login-wrap{
    grid-template-columns:1fr 1fr!important;
  }

  body .ss-wl .ss-login{
    padding:18px 10px 16px!important;
  }

  body .ss-wl .ss-login-icon{
    width:44px!important;
    height:44px!important;
  }

  body .ss-wl .ss-login h3{
    font-size:.72rem!important;
    letter-spacing:.09em!important;
  }

  body .ss-wl .ss-login .role{
    font-size:.74rem!important;
  }

  body .ss-wl .ss-field{
    height:38px!important;
    padding:0 8px!important;
  }

  body .ss-wl .ss-field span{
    font-size:.82rem!important;
  }

  body .ss-wl .ss-field input{
    font-size:.76rem!important;
    min-width:0!important;
  }

  body .ss-wl .ss-login button{
    height:42px!important;
    min-height:42px!important;
    font-size:.72rem!important;
  }

  body .ss-wl .ss-login-meta{
    display:block!important;
    text-align:left!important;
    font-size:.65rem!important;
  }

  body .ss-wl .ss-login-meta a{
    display:block!important;
    margin-top:5px!important;
  }

  body .ss-wl .ss-features{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  body .ss-wl .ss-f{
    padding:11px 4px!important;
  }

  body .ss-wl .ss-ico{
    width:38px!important;
    height:38px!important;
    margin-bottom:6px!important;
  }

  body .ss-wl .ss-ico svg{
    width:18px!important;
    height:18px!important;
  }

  body .ss-wl .ss-f h3{
    font-size:.48rem!important;
    line-height:1.1!important;
  }

  body .ss-wl .ss-f p{
    font-size:.50rem!important;
    line-height:1.22!important;
  }
}

/* Very small phones: keep login side by side, features 2 rows of 5 */
@media(max-width:480px){
  body .ss-wl .ss-login{
    padding:16px 8px 14px!important;
  }

  body .ss-wl .ss-login h3{
    font-size:.66rem!important;
  }

  body .ss-wl .ss-login .role{
    font-size:.68rem!important;
  }

  body .ss-wl .ss-field input{
    font-size:.70rem!important;
  }

  body .ss-wl .ss-login button{
    font-size:.68rem!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }

  body .ss-wl .ss-features{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  body .ss-wl .ss-f{
    padding:9px 2px!important;
  }

  body .ss-wl .ss-ico{
    width:34px!important;
    height:34px!important;
  }

  body .ss-wl .ss-ico svg{
    width:16px!important;
    height:16px!important;
  }

  body .ss-wl .ss-f h3{
    font-size:.43rem!important;
  }

  body .ss-wl .ss-f p{
    font-size:.45rem!important;
  }
}


/* --- WPWriter addition --- */

/* ===== FOOTER CLEANUP — 2026-09-20 ===== */
/* Remove all legacy / duplicated footer blocks shown in mobile screenshot */
body footer,
body .site-footer,
body .wp-site-blocks > footer,
body .ss-footer-nav,
body .home-footer-brand,
body .ss-footer-brand{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Remove pseudo-image footer artwork too */
body footer::before,
body footer::after,
body .site-footer::before,
body .site-footer::after,
body .wp-site-blocks > footer::before,
body .wp-site-blocks > footer::after{
  display:none!important;
  content:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
}


/* --- WPWriter addition --- */

/* ===== SOCHO SONS LIVE FOOTER FIX — 2026-09-20 ===== */
body footer.ss-footer{
  display:block!important;
  visibility:visible!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:34px 18px 28px!important;
  overflow:visible!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.35)!important;
}

body footer.ss-footer .ss-footer-tagline{
  color:#f6d97f!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:800!important;
  letter-spacing:.22em!important;
  text-shadow:
    0 0 4px rgba(255,235,170,.70),
    0 0 10px rgba(243,215,131,.48),
    0 0 20px rgba(215,173,82,.28)!important;
}

body footer.ss-footer .ss-footer-detail svg{
  stroke:#ffd56a!important;
  filter:
    drop-shadow(0 0 4px rgba(255,213,106,.95))
    drop-shadow(0 0 10px rgba(212,170,85,.65))
    drop-shadow(0 0 16px rgba(184,137,47,.35))!important;
}

body footer.ss-footer .ss-footer-detail a,
body footer.ss-footer .ss-footer-detail span{
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif!important;
}

@media(max-width:760px){
  body footer.ss-footer{
    padding:26px 14px 22px!important;
  }
  body footer.ss-footer .ss-footer-tagline{
    font-size:16px!important;
    letter-spacing:.15em!important;
    line-height:1.5!important;
  }
}


/* --- WPWriter addition --- */

/* ===== FOOTER DEDUP + NAV TOP — 2026-09-20 ===== */

/* Keep legacy/duplicate footer brands hidden */
body .site-footer:not(.ss-footer),
body .home-footer-brand,
body .ss-footer-brand{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* Show the real footer navigation again, styled as the top of the footer */
body .ss-footer-nav{
  display:block!important;
  visibility:visible!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:18px 14px 16px!important;
  overflow:visible!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
  border-bottom:1px solid rgba(215,173,82,.22)!important;
}

/* Main footer stays visible directly under the page links */
body footer.ss-footer{
  display:block!important;
  visibility:visible!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:26px 18px 28px!important;
  overflow:visible!important;
  background:#050505!important;
}

/* Remove duplicate Contact/Careers links from inside the footer */
body footer.ss-footer .ss-footer-links{
  display:none!important;
}

/* Footer page links — elegant gold */
body .ss-footer-nav a{
  color:#f6d97f!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:700!important;
  letter-spacing:.055em!important;
  text-decoration:none!important;
  text-shadow:
    0 0 4px rgba(255,235,170,.40),
    0 0 10px rgba(215,173,82,.20)!important;
}

body .ss-footer-nav a:hover{
  color:#fff1b5!important;
}

/* Desktop: all footer pages in one clean row */
body .ss-footer-nav .ss-footer-nav-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px 18px!important;
  max-width:1100px!important;
  margin:0 auto!important;
}

body .ss-footer-nav .row2{
  display:contents!important;
}

/* Mobile: clean two-row grid */
@media(max-width:760px){
  body .ss-footer-nav{
    padding:14px 10px 13px!important;
  }

  body .ss-footer-nav .ss-footer-nav-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }

  body .ss-footer-nav .row2{
    display:contents!important;
  }

  body .ss-footer-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    padding:6px 4px!important;
    border:1px solid rgba(215,173,82,.26)!important;
    border-radius:7px!important;
    background:#0b0b0b!important;
    font-size:.58rem!important;
    line-height:1.15!important;
    text-align:center!important;
  }
}


/* --- WPWriter addition --- */

/* ===== REMOVE LEGACY FOOTER CONTENT — 2026-09-20 ===== */

/* Hide legacy footer text/content blocks matching the old footer */
body .ss-footer .ss-footer-logo,
body .ss-footer .ss-footer-tagline,
body .ss-footer .ss-footer-details,
body .ss-footer .ss-footer-bottom,
body .ss-footer .footer-logo,
body .ss-footer .footer-tagline,
body .ss-footer .footer-contact,
body .ss-footer .footer-meta,
body .ss-footer .footer-copy,
body .ss-footer .footer-brand,
body .ss-footer .footer-company,
body .ss-footer .footer-address{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Remove old footer pseudo-elements/logos if any remain */
body .ss-footer::before,
body .ss-footer::after{
  display:none!important;
  content:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
}

/* Keep only the footer navigation area visible */
body footer.ss-footer{
  min-height:0!important;
  padding:0!important;
  border-top:0!important;
  background:#050505!important;
}


/* --- WPWriter addition --- */

/* ===== REMOVE DUPLICATE THEME FOOTER — 2026-09-20 ===== */
/* The old theme footer shown above the new footer is removed completely. */
body > footer.ss-footer,
body .site > footer.ss-footer,
body #page > footer.ss-footer,
body .site-content + footer.ss-footer{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Keep the page navigation visible directly above the new custom footer */
body .ss-footer-nav{
  display:block!important;
  visibility:visible!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  overflow:visible!important;
}


/* --- WPWriter addition --- */

/* ===== FINAL: REMOVE OLD GLOBAL FOOTER — 2026-09-20 ===== */
html body footer.ss-footer{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* Keep footer page navigation visible */
html body .ss-footer-nav{
  display:block!important;
  visibility:visible!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  opacity:1!important;
  overflow:visible!important;
}


/* --- WPWriter addition --- */

/* ===== FOOTER LOGO REPLACEMENT — 2026-09-20 ===== */
body img.ss-footer-logo,
body .ss-footer-logo img,
body .footer-logo img,
body img[src*="Socho-Sons-LLC-Footer-Logo"],
body img[src*="Socho-Sons-Footer-Logo"]{
  content:url("https://sochosons.com/wp-content/uploads/2026/09/socho-sons-llc-footer-logo-new.webp")!important;
  width:min(100%,760px)!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body footer::before,
body .site-footer::before,
body .wp-site-blocks>footer::before{
  background-image:url("https://sochosons.com/wp-content/uploads/2026/09/socho-sons-llc-footer-logo-new.webp")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}


/* --- WPWriter addition --- */

/* ===== KEEP ONLY NEW FOOTER CONTACT — 2026-09-20 ===== */

/* Old theme contact block stays hidden */
html body footer.ss-footer .ss-footer-details,
html body footer.ss-footer .ss-footer-detail{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* Keep the new page-level footer/contact area visible */
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer .ss-contact-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

html body .ss-contact-icons-footer{
  width:100%!important;
  justify-content:center!important;
}

html body .ss-contact-icons-footer .ss-contact-icons{
  align-items:center!important;
  justify-content:center!important;
}


/* --- WPWriter addition --- */

/* ===== FOOTER: LOGO + ICONS ONLY — 2026-09-20 ===== */

/* Footer logo image */
html body .home-footer-brand{
  display:block!important;
  visibility:visible!important;
  width:100%!important;
  margin:0!important;
  padding:20px 14px 8px!important;
  background:#050505!important;
  text-align:center!important;
}

html body .home-footer-brand img{
  content:url("https://sochosons.com/wp-content/uploads/2026/09/socho-sons-llc-footer-logo-new.webp")!important;
  display:block!important;
  width:min(100%,760px)!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}

/* Gold contact icons directly below logo */
html body .home-footer-brand + .ss-contact-icons-footer,
html body .ss-contact-icons-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:10px 14px 22px!important;
  justify-content:center!important;
  background:#050505!important;
  border-top:0!important;
}

html body .ss-contact-icons-footer .ss-contact-icons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(34px,10vw,110px)!important;
  width:100%!important;
  max-width:760px!important;
  margin:0 auto!important;
}

html body .ss-contact-icons-footer a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:64px!important;
  height:64px!important;
  border:1px solid rgba(215,173,82,.62)!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 35% 30%,rgba(255,229,154,.18),rgba(215,173,82,.05) 45%,rgba(0,0,0,.2) 72%)!important;
  box-shadow:0 0 18px rgba(215,173,82,.20),inset 0 0 10px rgba(255,229,154,.06)!important;
}

html body .ss-contact-icons-footer svg{
  width:30px!important;
  height:30px!important;
  stroke:#f3d783!important;
  fill:none!important;
  filter:drop-shadow(0 0 4px rgba(255,220,120,.55))!important;
}

/* Remove written contact details from every footer variant */
html body footer .ss-footer-details,
html body footer .ss-footer-detail,
html body footer .footer-contact,
html body footer .contact-details,
html body footer .contact-info,
html body footer .footer-details,
html body footer .footer-address,
html body footer .footer-phone,
html body footer .footer-email{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* The old global footer remains disabled */
html body footer.ss-footer{
  display:none!important;
}

@media(max-width:560px){
  html body .home-footer-brand{
    padding:14px 10px 6px!important;
  }
  html body .ss-contact-icons-footer{
    padding:8px 10px 18px!important;
  }
  html body .ss-contact-icons-footer .ss-contact-icons{
    gap:clamp(28px,12vw,64px)!important;
  }
  html body .ss-contact-icons-footer a{
    width:58px!important;
    height:58px!important;
  }
  html body .ss-contact-icons-footer svg{
    width:27px!important;
    height:27px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== FINAL UNIFIED FOOTER — 2026-09-20 ===== */
body .ss-footer-nav,
body footer.ss-footer,
body .site-footer,
body .wp-site-blocks>footer,
body .home-footer-brand,
body .ss-footer-brand,
body .ss-footer-icon-row,
body .ss-contact-icons-footer,
body .ss-contact-icons-footer-removed,
body .footer-contact,
body .contact-details,
body .contact-info,
body .footer-details{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
body .ss-final-footer{
  display:block!important;
  visibility:visible!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  background:#050505!important;
  color:#fff!important;
  padding:20px 14px 26px!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
  text-align:center!important;
}
body .ss-final-footer-nav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  max-width:900px!important;
  margin:0 auto 24px!important;
}
body .ss-final-footer-nav a{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:52px!important;padding:9px 6px!important;
  border:1px solid rgba(215,173,82,.38)!important;border-radius:9px!important;
  background:#0a0a0a!important;color:#fff!important;text-decoration:none!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:.72rem!important;
  font-weight:800!important;text-transform:uppercase!important;
}
body .ss-final-footer-nav a:last-child{grid-column:3 / 5!important}
body .ss-final-footer-logo{
  display:block!important;width:min(100%,780px)!important;height:auto!important;
  margin:0 auto 18px!important;object-fit:contain!important
}
body .ss-final-footer-icons{
  display:flex!important;justify-content:center!important;align-items:center!important;
  gap:clamp(44px,11vw,120px)!important;margin:0 auto 24px!important
}
body .ss-final-footer-icons a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:68px!important;height:68px!important;border:1px solid rgba(215,173,82,.68)!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 35% 30%,rgba(255,229,154,.18),rgba(215,173,82,.05) 45%,rgba(0,0,0,.2) 72%)!important;
  box-shadow:0 0 20px rgba(215,173,82,.24),inset 0 0 10px rgba(255,229,154,.06)!important;
  text-decoration:none!important
}
body .ss-final-footer-icons svg{
  width:31px!important;height:31px!important;fill:none!important;stroke:#f3d783!important;
  stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.62))!important
}
body .ss-final-footer-tagline{
  margin:0!important;padding:22px 10px!important;border-top:1px solid rgba(215,173,82,.24)!important;
  color:#f6d97f!important;font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1rem,3vw,1.35rem)!important;font-weight:800!important;letter-spacing:.14em!important;
  text-transform:uppercase!important;text-shadow:0 0 5px rgba(243,215,131,.34),0 0 13px rgba(215,173,82,.16)!important
}
body .ss-final-footer-copy{
  margin:0!important;padding:20px 10px 0!important;border-top:1px solid rgba(215,173,82,.18)!important;
  color:#ddd!important;font-size:.83rem!important;line-height:1.45!important;letter-spacing:.08em!important;text-transform:uppercase!important
}
@media(max-width:560px){
  body .ss-final-footer{padding:16px 10px 22px!important}
  body .ss-final-footer-nav{gap:8px!important;margin-bottom:20px!important}
  body .ss-final-footer-nav a{min-height:48px!important;font-size:.63rem!important}
  body .ss-final-footer-logo{margin-bottom:14px!important}
  body .ss-final-footer-icons{gap:clamp(34px,12vw,70px)!important;margin-bottom:18px!important}
  body .ss-final-footer-icons a{width:60px!important;height:60px!important}
  body .ss-final-footer-icons svg{width:28px!important;height:28px!important}
  body .ss-final-footer-tagline{font-size:.95rem!important;letter-spacing:.1em!important}
  body .ss-final-footer-copy{font-size:.72rem!important}
}


/* --- WPWriter addition --- */

/* ===== V3 FOOTER ICON ROW ===== */
body .ss-v3-icons{
  display:flex!important;
  visibility:visible!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(44px,11vw,120px)!important;
  width:100%!important;
  margin:0 auto 24px!important;
  padding:8px 10px 0!important;
  background:#050505!important;
}
body .ss-v3-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:68px!important;
  height:68px!important;
  border:1px solid rgba(215,173,82,.72)!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 35% 30%,rgba(255,229,154,.18),rgba(215,173,82,.05) 45%,rgba(0,0,0,.2) 72%)!important;
  box-shadow:0 0 20px rgba(215,173,82,.25),inset 0 0 10px rgba(255,229,154,.06)!important;
  text-decoration:none!important;
}
body .ss-v3-icons svg{
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.62))!important;
}
@media(max-width:560px){
  body .ss-v3-icons{gap:clamp(34px,12vw,70px)!important;margin-bottom:18px!important}
  body .ss-v3-icons a{width:60px!important;height:60px!important}
  body .ss-v3-icons svg{width:28px!important;height:28px!important}
}


/* --- WPWriter addition --- */
/* ===== REMOVE HEADER PAGE-TITLE BOX — 2026-09-20 ===== */
body.page header .page-header,
body.page .site-header .page-header,
body.page header .entry-header,
body.page .site-header .entry-header,
body.page header .page-title,
body.page .site-header .page-title,
body.page header .entry-title,
body.page .site-header .entry-title,
body.page header .wp-block-post-title,
body.page .site-header .wp-block-post-title,
body.page header h1:not(.site-title):not(.wp-block-site-title),
body.page .site-header h1:not(.site-title):not(.wp-block-site-title),
body.page header h2:not(.site-title):not(.wp-block-site-title),
body.page .site-header h2:not(.site-title):not(.wp-block-site-title){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* remove empty title-wrapper spacing if theme keeps the container */
body.page header .page-header:empty,
body.page .site-header .page-header:empty,
body.page header .entry-header:empty,
body.page .site-header .entry-header:empty{
  display:none!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}


/* --- WPWriter addition --- */
/* ===== REMOVE DUPLICATE TOP PAGE MENU ROW — FINAL ===== */
body header > nav:first-of-type:not(:last-of-type),
body .site-header > nav:first-of-type:not(:last-of-type),
body header .site-navigation:first-of-type:not(:last-of-type),
body .site-header .site-navigation:first-of-type:not(:last-of-type),
body header .main-navigation:first-of-type:not(:last-of-type),
body .site-header .main-navigation:first-of-type:not(:last-of-type){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */
/* ===== FOOTER ORDER: MENU > BRAND IMAGE > 3 GOLD ICONS — 2026-09-20 ===== */
html body .ss-final-footer{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  padding:18px 12px 24px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
}

html body .ss-final-footer-nav{
  order:1!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 20px!important;
}

html body .ss-final-footer-nav a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:7px 5px!important;
  border:1px solid rgba(215,173,82,.40)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.64rem!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}

html body .ss-final-footer-nav a:nth-child(1){grid-column:1;grid-row:1}
html body .ss-final-footer-nav a:nth-child(2){grid-column:2;grid-row:1}
html body .ss-final-footer-nav a:nth-child(3){grid-column:3;grid-row:1}
html body .ss-final-footer-nav a:nth-child(4){grid-column:4;grid-row:1}
html body .ss-final-footer-nav a:nth-child(5){grid-column:1;grid-row:2}
html body .ss-final-footer-nav a:nth-child(6){grid-column:2;grid-row:2}
html body .ss-final-footer-nav a:nth-child(7){grid-column:3 / 5;grid-row:2}

html body .ss-final-footer-logo{
  order:2!important;
  content:url("https://sochosons.com/wp-content/uploads/2026/09/socho-sons-llc-footer-logo-new.webp")!important;
  display:block!important;
  width:min(100%,760px)!important;
  height:auto!important;
  object-fit:contain!important;
  margin:6px auto 12px!important;
}

html body .ss-final-footer-icons,
html body .ss-v3-icons{
  order:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(42px,12vw,100px)!important;
  width:100%!important;
  margin:0 auto!important;
  padding:10px 0 4px!important;
}

html body .ss-final-footer-icons a,
html body .ss-v3-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}

html body .ss-final-footer-icons svg,
html body .ss-v3-icons svg{
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* keep only the requested three-part footer */
html body .ss-final-footer-tagline,
html body .ss-final-footer-copy{
  display:none!important;
}

@media(max-width:560px){
  html body .ss-final-footer{padding:14px 10px 20px!important}
  html body .ss-final-footer-nav{gap:7px!important;margin-bottom:16px!important}
  html body .ss-final-footer-nav a{min-height:46px!important;font-size:.60rem!important}
  html body .ss-final-footer-logo{width:min(100%,520px)!important;margin:4px auto 8px!important}
  html body .ss-final-footer-icons,
  html body .ss-v3-icons{gap:clamp(34px,12vw,70px)!important;padding-top:8px!important}
}


/* --- WPWriter addition --- */
/* ===== FINAL FOOTER LAYOUT FORCE — MENU > LOGO > ICONS ===== */
html body .ss-final-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:16px 10px 22px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
  overflow:visible!important;
}

html body .ss-final-footer-nav{
  order:1!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 18px!important;
  padding:0!important;
  overflow:visible!important;
}

html body .ss-final-footer-nav a{
  display:flex!important;
  visibility:visible!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:7px 4px!important;
  border:1px solid rgba(215,173,82,.42)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  font:800 .60rem/1.15 Arial,Helvetica,sans-serif!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
html body .ss-final-footer-nav a:nth-child(1){grid-column:1!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(2){grid-column:2!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(3){grid-column:3!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(4){grid-column:4!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(5){grid-column:1!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(6){grid-column:2!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(7){grid-column:3/5!important;grid-row:2!important}

html body .ss-final-footer-logo{
  order:2!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  content:url("https://sochosons.com/wp-content/uploads/2026/09/socho-sons-llc-footer-logo-new.webp")!important;
  width:min(100%,760px)!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 10px!important;
  padding:0!important;
  object-fit:contain!important;
}

html body .ss-final-footer-icons{
  order:3!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(34px,12vw,78px)!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:8px 0 0!important;
}

html body .ss-final-footer-icons a{
  display:inline-flex!important;
  visibility:visible!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .ss-final-footer-icons svg{
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* hide all competing/legacy icon-only rows */
html body .ss-footer-icon-row,
html body .ss-v3-icons,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed{
  display:none!important;
}

/* no extra footer text */
html body .ss-final-footer-tagline,
html body .ss-final-footer-copy{
  display:none!important;
}


/* --- WPWriter addition --- */
/* ===== FOOTER FINAL CLEANUP — MENU > LOGO > 3 ICONS ONLY ===== */

/* Keep the desired footer structure visible */
html body .ss-final-footer{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  padding:16px 10px 22px!important;
  margin:0!important;
  overflow:visible!important;
  background:#050505!important;
}

/* 2-row page navigation */
html body .ss-final-footer-nav{
  order:1!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 18px!important;
  padding:0!important;
}
html body .ss-final-footer-nav a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:7px 4px!important;
  border:1px solid rgba(215,173,82,.42)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  font:800 .60rem/1.15 Arial,Helvetica,sans-serif!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
html body .ss-final-footer-nav a:nth-child(1){grid-column:1!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(2){grid-column:2!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(3){grid-column:3!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(4){grid-column:4!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(5){grid-column:1!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(6){grid-column:2!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(7){grid-column:3/5!important;grid-row:2!important}

/* Brand image */
html body .ss-final-footer-logo{
  order:2!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:min(100%,760px)!important;
  height:auto!important;
  margin:0 auto 12px!important;
  object-fit:contain!important;
}

/* Only the 3 gold icons below the logo */
html body .ss-final-footer-icons{
  order:3!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(42px,12vw,90px)!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:10px 0 2px!important;
}
html body .ss-final-footer-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .ss-final-footer-icons svg{
  width:32px!important;
  height:32px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.75))!important;
}

/* Hide every legacy written contact block */
html body .ss-footer-details,
html body .ss-footer-detail,
html body .footer-contact,
html body .contact-details,
html body .contact-info,
html body .footer-details,
html body .footer-address,
html body .footer-phone,
html body .footer-email,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed,
html body .ss-footer-icon-row,
html body .ss-v3-icons{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Hide extra footer text under the icons */
html body .ss-final-footer-tagline,
html body .ss-final-footer-copy{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */
/* ===== SOCHO SONS FOOTER MASTER LAYOUT v6 ===== */
html body .ss-final-footer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;
  grid-template-areas:
    "nav nav"
    "license license"
    "meta logo"
    "icons icons"!important;
  align-items:center!important;
  column-gap:18px!important;
  row-gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:16px 14px 24px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
  overflow:visible!important;
}

/* 2-row page navigation */
html body .ss-final-footer-nav{
  grid-area:nav!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  height:auto!important;
  margin:0 auto 14px!important;
  padding:0!important;
}
html body .ss-final-footer-nav a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:45px!important;
  padding:7px 4px!important;
  border:1px solid rgba(215,173,82,.42)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  font:800 .60rem/1.15 Arial,Helvetica,sans-serif!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
html body .ss-final-footer-nav a:nth-child(1){grid-column:1!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(2){grid-column:2!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(3){grid-column:3!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(4){grid-column:4!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(5){grid-column:1!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(6){grid-column:2!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(7){grid-column:3/5!important;grid-row:2!important}

/* Handwritten-looking license heading */
html body .ss-final-footer-tagline{
  grid-area:license!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  margin:2px 0 0!important;
  padding:0!important;
  text-align:center!important;
  font-size:0!important;
  line-height:1!important;
  overflow:visible!important;
}
html body .ss-final-footer-tagline::before{
  content:"Licenced by.:"!important;
  display:block!important;
  font-family:"Segoe Script","Brush Script MT","Snell Roundhand","URW Chancery L",cursive!important;
  font-size:clamp(1.8rem,6vw,3.7rem)!important;
  font-style:italic!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
  background:linear-gradient(105deg,#8b641c 0%,#d5a238 24%,#fff0ad 46%,#fff8dc 53%,#d7a63a 72%,#8c631a 100%)!important;
  background-size:220% auto!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
  text-shadow:0 0 11px rgba(255,218,112,.2)!important;
  animation:ssGoldShine 5s linear infinite!important;
}

/* Date + location on the left */
html body .ss-final-footer-copy{
  grid-area:meta!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  margin:0!important;
  padding:4px 0 4px 6px!important;
  border:0!important;
  overflow:visible!important;
  text-align:center!important;
  font-size:0!important;
  line-height:1!important;
}
html body .ss-final-footer-copy::before{
  content:"2026.09.20.\A New Jersey"!important;
  white-space:pre-line!important;
  display:block!important;
  font-family:"Segoe Script","Brush Script MT","Snell Roundhand","URW Chancery L",cursive!important;
  font-size:clamp(1.25rem,4.3vw,2.65rem)!important;
  line-height:1.38!important;
  font-style:italic!important;
  font-weight:600!important;
  background:linear-gradient(105deg,#8b641c 0%,#d5a238 24%,#fff0ad 46%,#fff8dc 53%,#d7a63a 72%,#8c631a 100%)!important;
  background-size:220% auto!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
  text-shadow:0 0 10px rgba(255,218,112,.18)!important;
  animation:ssGoldShine 5s linear infinite!important;
}

/* Large logo on the right */
html body .ss-final-footer-logo{
  grid-area:logo!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  max-width:560px!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  content:url("https://sochosons.com/wp-content/uploads/2026/09/socho-sons-llc-footer-logo-new.webp")!important;
}

/* 3 gold icons at the bottom */
html body .ss-final-footer-icons{
  grid-area:icons!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(38px,12vw,92px)!important;
  width:100%!important;
  height:auto!important;
  margin:4px 0 0!important;
  padding:10px 0 0!important;
}
html body .ss-final-footer-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:56px!important;
  height:56px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .ss-final-footer-icons svg{
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* Kill all legacy footer variants */
html body .ss-footer-icon-row,
html body .ss-v3-icons,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed,
html body .home-footer-brand,
html body .ss-footer-details,
html body .ss-footer-detail,
html body .footer-contact,
html body .contact-details,
html body .contact-info,
html body .footer-details,
html body .footer-address,
html body .footer-phone,
html body .footer-email{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

@media(max-width:640px){
  html body .ss-final-footer{
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;
    column-gap:10px!important;
    padding:14px 10px 22px!important;
  }
  html body .ss-final-footer-tagline::before{
    font-size:clamp(1.7rem,8vw,2.6rem)!important;
  }
  html body .ss-final-footer-copy::before{
    font-size:clamp(1.1rem,5.5vw,1.7rem)!important;
    line-height:1.42!important;
  }
  html body .ss-final-footer-logo{
    max-width:100%!important;
  }
  html body .ss-final-footer-icons{
    gap:42px!important;
    padding-top:8px!important;
  }
}


/* --- WPWriter addition --- */
/* ===== SOCHO SONS FOOTER FINAL v7 — NAV > USER LOGO > 3 ICONS ===== */
html body .ss-final-footer{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:16px 12px 22px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
  overflow:visible!important;
}

/* 2-row navigation */
html body .ss-final-footer-nav{
  order:1!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  height:auto!important;
  margin:0 auto 18px!important;
  padding:0!important;
}
html body .ss-final-footer-nav a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:7px 4px!important;
  border:1px solid rgba(215,173,82,.42)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  font:800 .60rem/1.15 Arial,Helvetica,sans-serif!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
html body .ss-final-footer-nav a:nth-child(1){grid-column:1!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(2){grid-column:2!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(3){grid-column:3!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(4){grid-column:4!important;grid-row:1!important}
html body .ss-final-footer-nav a:nth-child(5){grid-column:1!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(6){grid-column:2!important;grid-row:2!important}
html body .ss-final-footer-nav a:nth-child(7){grid-column:3/5!important;grid-row:2!important}

/* Exact horizontal logo matching the supplied image */
html body .ss-final-footer-logo{
  order:2!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  content:url("https://sochosons.com/wp-content/uploads/2026/09/Socho-Sons-Footer-Logo.webp")!important;
  width:min(100%,900px)!important;
  max-width:900px!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 12px!important;
  padding:0!important;
  object-fit:contain!important;
}

/* 3 gold contact icons */
html body .ss-final-footer-icons{
  order:3!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(40px,12vw,96px)!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:8px 0 0!important;
}
html body .ss-final-footer-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .ss-final-footer-icons svg{
  width:32px!important;
  height:32px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* Remove all previous license/date/location/extra footer text */
html body .ss-final-footer-tagline,
html body .ss-final-footer-copy,
html body .ss-final-footer-tagline::before,
html body .ss-final-footer-copy::before,
html body .ss-footer-details,
html body .ss-footer-detail,
html body .footer-contact,
html body .contact-details,
html body .contact-info,
html body .footer-details,
html body .footer-address,
html body .footer-phone,
html body .footer-email,
html body .home-footer-brand,
html body .ss-footer-icon-row,
html body .ss-v3-icons,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed{
  display:none!important;
  visibility:hidden!important;
  content:none!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

@media(max-width:640px){
  html body .ss-final-footer{padding:14px 10px 20px!important}
  html body .ss-final-footer-logo{width:100%!important;max-width:100%!important;margin-bottom:8px!important}
  html body .ss-final-footer-icons{gap:42px!important}
}


/* --- WPWriter addition --- */
/* ===== MASTER FOOTER v8 — exact final structure ===== */
html body footer:not(#ss-master-footer),
html body .ss-final-footer,
html body .ss-footer-icon-row,
html body .ss-v3-icons,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed,
html body .home-footer-brand{
  display:none!important;
}

html body #ss-master-footer{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:16px 12px 22px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.35)!important;
}

#ss-master-footer .ssm-nav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 18px!important;
}
#ss-master-footer .ssm-nav a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:7px 4px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(215,173,82,.42)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  font:800 .60rem/1.15 Arial,Helvetica,sans-serif!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
}
#ss-master-footer .ssm-nav a:nth-child(1){grid-column:1;grid-row:1}
#ss-master-footer .ssm-nav a:nth-child(2){grid-column:2;grid-row:1}
#ss-master-footer .ssm-nav a:nth-child(3){grid-column:3;grid-row:1}
#ss-master-footer .ssm-nav a:nth-child(4){grid-column:4;grid-row:1}
#ss-master-footer .ssm-nav a:nth-child(5){grid-column:1;grid-row:2}
#ss-master-footer .ssm-nav a:nth-child(6){grid-column:2;grid-row:2}
#ss-master-footer .ssm-nav a:nth-child(7){grid-column:3/5;grid-row:2}

#ss-master-footer .ssm-logo{
  display:block!important;
  width:min(100%,900px)!important;
  max-width:900px!important;
  height:auto!important;
  margin:0 auto 12px!important;
  object-fit:contain!important;
}

#ss-master-footer .ssm-icons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(40px,12vw,96px)!important;
  width:100%!important;
  padding-top:8px!important;
}
#ss-master-footer .ssm-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  text-decoration:none!important;
}
#ss-master-footer .ssm-icons svg{
  width:32px!important;
  height:32px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.75))!important;
}

@media(max-width:640px){
  html body #ss-master-footer{padding:14px 10px 20px!important}
  #ss-master-footer .ssm-nav{gap:6px!important;margin-bottom:14px!important}
  #ss-master-footer .ssm-nav a{min-height:44px!important;font-size:.58rem!important}
  #ss-master-footer .ssm-logo{width:100%!important;max-width:100%!important;margin-bottom:8px!important}
  #ss-master-footer .ssm-icons{gap:42px!important}
}


/* --- WPWriter addition --- */
/* ===== HOME + CAREERS HERO GOLD BOOST ===== */
@keyframes ssHeroGoldShine{
  0%{background-position:0% 50%}
  100%{background-position:240% 50%}
}

/* Home + Careers hero gold highlights */
body.page-id-2 .ss-page h1 span,
body.page-id-413 .ss-page h1 span,
body.page-id-2 .ss-page h2 span,
body.page-id-413 .ss-page h2 span{
  background-image:linear-gradient(
    110deg,
    #7e5715 0%,
    #b98222 14%,
    #e6b84f 28%,
    #fff0a9 42%,
    #fff9dd 50%,
    #f1cb69 60%,
    #c08b28 74%,
    #8a5f17 88%,
    #f7dc8c 100%
  )!important;
  background-size:240% auto!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
  animation:ssHeroGoldShine 4.8s linear infinite!important;
  text-shadow:
    0 0 8px rgba(255,226,140,.28),
    0 0 18px rgba(215,173,82,.20),
    0 0 30px rgba(215,173,82,.10)!important;
}

/* Small gold labels / kickers */
body.page-id-2 .ss-page div[style*="color:#d7ad52"],
body.page-id-413 .ss-page div[style*="color:#d7ad52"],
body.page-id-2 .ss-page h3[style*="color:#d7ad52"],
body.page-id-413 .ss-page h3[style*="color:#d7ad52"]{
  background-image:linear-gradient(
    105deg,
    #8b641c 0%,
    #d5a238 22%,
    #fff0ad 45%,
    #fff8dc 52%,
    #d7a63a 72%,
    #8c631a 100%
  )!important;
  background-size:220% auto!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
  animation:ssHeroGoldShine 5.2s linear infinite!important;
  text-shadow:0 0 10px rgba(255,218,112,.16)!important;
}

/* Make hero title typography match the other premium pages */
body.page-id-2 .ss-page h1,
body.page-id-413 .ss-page h1{
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:700!important;
  letter-spacing:.015em!important;
}

/* Gold buttons get subtle glow */
body.page-id-2 .ss-page a[style*="linear-gradient"],
body.page-id-413 .ss-page a[style*="linear-gradient"]{
  box-shadow:
    0 0 14px rgba(215,173,82,.24),
    inset 0 0 8px rgba(255,244,190,.08)!important;
}

body.page-id-2 .ss-page a[style*="linear-gradient"]:hover,
body.page-id-413 .ss-page a[style*="linear-gradient"]:hover{
  filter:brightness(1.08)!important;
  box-shadow:
    0 0 24px rgba(215,173,82,.38),
    inset 0 0 10px rgba(255,244,190,.12)!important;
}


/* --- WPWriter addition --- */
/* ===== SOCHO SONS FOOTER FINAL POLISH v9 ===== */
html body #ss-master-footer{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:18px 12px 24px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.38)!important;
  overflow:visible!important;
}

/* NAV — exactly 2 rows */
html body #ss-master-footer .ssm-nav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 18px!important;
  padding:0!important;
}
html body #ss-master-footer .ssm-nav a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:45px!important;
  padding:7px 4px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(215,173,82,.45)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#0c0c0c,#070707)!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.60rem!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.02em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(1){grid-column:1;grid-row:1}
html body #ss-master-footer .ssm-nav a:nth-child(2){grid-column:2;grid-row:1}
html body #ss-master-footer .ssm-nav a:nth-child(3){grid-column:3;grid-row:1}
html body #ss-master-footer .ssm-nav a:nth-child(4){grid-column:4;grid-row:1}
html body #ss-master-footer .ssm-nav a:nth-child(5){grid-column:1;grid-row:2}
html body #ss-master-footer .ssm-nav a:nth-child(6){grid-column:2;grid-row:2}
html body #ss-master-footer .ssm-nav a:nth-child(7){grid-column:3/5;grid-row:2}
html body #ss-master-footer .ssm-nav a:hover{
  border-color:#f3d783!important;
  box-shadow:0 0 14px rgba(215,173,82,.18)!important;
}

/* LOGO — user-selected horizontal image */
html body #ss-master-footer .ssm-logo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:min(100%,860px)!important;
  max-width:860px!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 8px!important;
  padding:0!important;
  object-fit:contain!important;
  filter:drop-shadow(0 0 8px rgba(215,173,82,.10))!important;
}

/* ICONS — only these three */
html body #ss-master-footer .ssm-icons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:clamp(40px,12vw,92px)!important;
  width:100%!important;
  margin:0!important;
  padding:8px 0 0!important;
}
html body #ss-master-footer .ssm-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:56px!important;
  height:56px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
html body #ss-master-footer .ssm-icons svg{
  display:block!important;
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* Permanently hide all legacy footers / leftovers */
html body .ss-final-footer,
html body .ss-footer-icon-row,
html body .ss-v3-icons,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed,
html body .home-footer-brand,
html body .ss-footer-details,
html body .ss-footer-detail,
html body .ss-footer-tagline,
html body .ss-footer-bottom,
html body .footer-contact,
html body .footer-details,
html body .footer-address,
html body .footer-phone,
html body .footer-email{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

@media(max-width:640px){
  html body #ss-master-footer{
    padding:14px 10px 20px!important;
  }
  html body #ss-master-footer .ssm-nav{
    gap:6px!important;
    margin-bottom:14px!important;
  }
  html body #ss-master-footer .ssm-nav a{
    min-height:43px!important;
    padding:6px 3px!important;
    font-size:.56rem!important;
  }
  html body #ss-master-footer .ssm-logo{
    width:100%!important;
    max-width:100%!important;
    margin-bottom:6px!important;
  }
  html body #ss-master-footer .ssm-icons{
    gap:40px!important;
    padding-top:6px!important;
  }
  html body #ss-master-footer .ssm-icons a{
    width:52px!important;
    height:52px!important;
  }
  html body #ss-master-footer .ssm-icons svg{
    width:29px!important;
    height:29px!important;
  }
}


/* --- WPWriter addition --- */
/* ===== FOOTER MOBILE FINAL v10: 2 ROW NAV + LOGO ONLY ===== */
html body #ss-master-footer .ssm-nav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 16px!important;
  padding:0!important;
}
html body #ss-master-footer .ssm-nav a{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  min-height:44px!important;
  padding:7px 3px!important;
  margin:0!important;
  font-size:.58rem!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(1){grid-column:1!important;grid-row:1!important}
html body #ss-master-footer .ssm-nav a:nth-child(2){grid-column:2!important;grid-row:1!important}
html body #ss-master-footer .ssm-nav a:nth-child(3){grid-column:3!important;grid-row:1!important}
html body #ss-master-footer .ssm-nav a:nth-child(4){grid-column:4!important;grid-row:1!important}
html body #ss-master-footer .ssm-nav a:nth-child(5){grid-column:1!important;grid-row:2!important}
html body #ss-master-footer .ssm-nav a:nth-child(6){grid-column:2!important;grid-row:2!important}
html body #ss-master-footer .ssm-nav a:nth-child(7){grid-column:3/5!important;grid-row:2!important}

/* Remove contact icons from footer completely */
html body #ss-master-footer .ssm-icons{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* Logo is now the final footer element */
html body #ss-master-footer .ssm-logo{
  display:block!important;
  width:min(100%,860px)!important;
  max-width:860px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
}

@media(max-width:900px){
  html body #ss-master-footer{
    padding:14px 10px 18px!important;
  }
  html body #ss-master-footer .ssm-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    margin-bottom:14px!important;
  }
  html body #ss-master-footer .ssm-nav a{
    min-height:42px!important;
    padding:6px 2px!important;
    font-size:clamp(.43rem,2.3vw,.58rem)!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }
  html body #ss-master-footer .ssm-logo{
    width:100%!important;
    max-width:100%!important;
  }
}


/* --- WPWriter addition --- */
/* ===== FOOTER NAV EXACTLY 2 ROWS v11 ===== */
html body #ss-master-footer .ssm-nav{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:7px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 16px!important;
  padding:0!important;
}

/* Row 1 — 4 equal buttons */
html body #ss-master-footer .ssm-nav a:nth-child(1){
  grid-column:1 / span 3!important;
  grid-row:1!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(2){
  grid-column:4 / span 3!important;
  grid-row:1!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(3){
  grid-column:7 / span 3!important;
  grid-row:1!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(4){
  grid-column:10 / span 3!important;
  grid-row:1!important;
}

/* Row 2 — 3 equal buttons */
html body #ss-master-footer .ssm-nav a:nth-child(5){
  grid-column:1 / span 4!important;
  grid-row:2!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(6){
  grid-column:5 / span 4!important;
  grid-row:2!important;
}
html body #ss-master-footer .ssm-nav a:nth-child(7){
  grid-column:9 / span 4!important;
  grid-row:2!important;
}

html body #ss-master-footer .ssm-nav a{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:7px 3px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  text-align:center!important;
}

@media(max-width:900px){
  html body #ss-master-footer .ssm-nav{
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    gap:6px!important;
  }
  html body #ss-master-footer .ssm-nav a{
    min-height:42px!important;
    padding:6px 2px!important;
    font-size:clamp(.42rem,2vw,.56rem)!important;
  }
}


/* --- WPWriter addition --- */
/* ===== FOOTER NAV ROW FIX v12 ===== */
html body #ss-master-footer .ssm-nav{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 16px!important;
  padding:0!important;
}

html body #ss-master-footer .ssm-nav-row{
  display:grid!important;
  width:100%!important;
  gap:8px!important;
}

html body #ss-master-footer .ssm-nav-row-1{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

html body #ss-master-footer .ssm-nav-row-2{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

html body #ss-master-footer .ssm-nav-row a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:46px!important;
  margin:0!important;
  padding:8px 4px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(215,173,82,.45)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#0c0c0c,#070707)!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.60rem!important;
  font-weight:800!important;
  line-height:1.1!important;
  letter-spacing:.01em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  text-align:center!important;
  white-space:nowrap!important;
}

@media(max-width:640px){
  html body #ss-master-footer .ssm-nav{
    gap:6px!important;
    margin-bottom:14px!important;
  }
  html body #ss-master-footer .ssm-nav-row{
    gap:6px!important;
  }
  html body #ss-master-footer .ssm-nav-row a{
    min-height:42px!important;
    padding:6px 2px!important;
    font-size:clamp(.40rem,2vw,.54rem)!important;
    letter-spacing:0!important;
  }
}


/* --- WPWriter addition --- */
/* ===== FOOTER NAV = HEADER NAV EXACT MATCH v13 ===== */
html body #ss-master-footer{
  width:100%!important;
  max-width:100%!important;
  padding:14px 14px 18px!important;
  margin:0!important;
  box-sizing:border-box!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.30)!important;
}

/* same two-row geometry as mobile header */
html body #ss-master-footer .ssm-nav{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:100%!important;
  gap:7px!important;
  margin:0 0 14px!important;
  padding:0!important;
}

html body #ss-master-footer .ssm-nav-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}

html body #ss-master-footer .ssm-nav-row-1 a:nth-child(1){grid-column:1!important}
html body #ss-master-footer .ssm-nav-row-1 a:nth-child(2){grid-column:2!important}
html body #ss-master-footer .ssm-nav-row-1 a:nth-child(3){grid-column:3!important}
html body #ss-master-footer .ssm-nav-row-1 a:nth-child(4){grid-column:4!important}

html body #ss-master-footer .ssm-nav-row-2 a:nth-child(1){grid-column:1!important}
html body #ss-master-footer .ssm-nav-row-2 a:nth-child(2){grid-column:2!important}
html body #ss-master-footer .ssm-nav-row-2 a:nth-child(3){grid-column:3 / 5!important}

/* exact header button style */
html body #ss-master-footer .ssm-nav-row a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:7px 4px!important;
  box-sizing:border-box!important;
  background:#0b0b0b!important;
  border:1px solid rgba(215,173,82,.34)!important;
  border-radius:8px!important;
  color:var(--ss-gold-hi,#f3d783)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.61rem!important;
  line-height:1.13!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  text-align:center!important;
  white-space:normal!important;
  box-shadow:none!important;
}

/* no duplicated contact icons */
html body #ss-master-footer .ssm-icons{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* logo below the matching menu */
html body #ss-master-footer .ssm-logo{
  display:block!important;
  width:100%!important;
  max-width:900px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
}

@media(min-width:900px){
  html body #ss-master-footer{
    padding:18px 28px 22px!important;
  }
  html body #ss-master-footer .ssm-nav{
    max-width:1180px!important;
    margin:0 auto 16px!important;
  }
  html body #ss-master-footer .ssm-nav-row a{
    min-height:52px!important;
    font-size:.72rem!important;
  }
}


/* --- WPWriter addition --- */
/* ===== FOOTER NAV HARD FIX — TWO HORIZONTAL ROWS v14 ===== */
html body #ss-master-footer .ssm-nav{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto 14px!important;
  padding:0!important;
}

html body #ss-master-footer .ssm-nav-row{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

/* 4 equal horizontal buttons in row 1 */
html body #ss-master-footer .ssm-nav-row-1 a{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}

/* 3 equal horizontal buttons in row 2 */
html body #ss-master-footer .ssm-nav-row-2 a{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}

/* button appearance */
html body #ss-master-footer .ssm-nav-row a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:7px 4px!important;
  box-sizing:border-box!important;
  margin:0!important;
  background:#0b0b0b!important;
  border:1px solid rgba(215,173,82,.34)!important;
  border-radius:8px!important;
  color:var(--ss-gold-hi,#f3d783)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.61rem!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* make sure old grid placement cannot interfere */
html body #ss-master-footer .ssm-nav-row a:nth-child(n){
  grid-column:auto!important;
  grid-row:auto!important;
}

/* mobile: still exactly two horizontal rows */
@media(max-width:640px){
  html body #ss-master-footer .ssm-nav{
    gap:6px!important;
    margin-bottom:12px!important;
  }
  html body #ss-master-footer .ssm-nav-row{
    gap:6px!important;
  }
  html body #ss-master-footer .ssm-nav-row a{
    min-height:40px!important;
    padding:6px 2px!important;
    font-size:clamp(.38rem,2vw,.52rem)!important;
    letter-spacing:0!important;
  }
}


/* --- WPWriter addition --- */
/* ===== HOME + CAREERS: REMOVE LEGACY THEME FOOTER v15 ===== */

/* Keep only our approved custom footer on Home and Careers */
body.page-id-2 footer,
body.page-id-413 footer,
body.page-id-2 .site-footer,
body.page-id-413 .site-footer,
body.page-id-2 #colophon,
body.page-id-413 #colophon,
body.page-id-2 .wp-site-blocks > footer,
body.page-id-413 .wp-site-blocks > footer,
body.page-id-2 .footer-widgets,
body.page-id-413 .footer-widgets,
body.page-id-2 .footer-widget-area,
body.page-id-413 .footer-widget-area,
body.page-id-2 .site-info,
body.page-id-413 .site-info,
body.page-id-2 .footer-contact,
body.page-id-413 .footer-contact,
body.page-id-2 .footer-details,
body.page-id-413 .footer-details,
body.page-id-2 .footer-address,
body.page-id-413 .footer-address,
body.page-id-2 .footer-phone,
body.page-id-413 .footer-phone,
body.page-id-2 .footer-email,
body.page-id-413 .footer-email,
body.page-id-2 .ss-footer,
body.page-id-413 .ss-footer,
body.page-id-2 .ss-contact-icons-footer,
body.page-id-413 .ss-contact-icons-footer,
body.page-id-2 .ss-final-footer,
body.page-id-413 .ss-final-footer,
body.page-id-2 .home-footer-brand,
body.page-id-413 .home-footer-brand{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Our approved footer must remain visible */
body.page-id-2 #ss-master-footer,
body.page-id-413 #ss-master-footer{
  display:flex!important;
  visibility:visible!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  margin:0!important;
  padding:14px 14px 18px!important;
  overflow:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}


/* --- WPWriter addition --- */
/* ===== HOME + CAREERS APPROVED FOOTER ICONS v16 ===== */
body.page-id-2 #ss-master-footer .ssm-icons,
body.page-id-413 #ss-master-footer .ssm-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:36px!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:12px 0 0!important;
  padding:0!important;
  overflow:visible!important;
}
body.page-id-2 #ss-master-footer .ssm-icons a,
body.page-id-413 #ss-master-footer .ssm-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:52px!important;
  height:52px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
body.page-id-2 #ss-master-footer .ssm-icons svg,
body.page-id-413 #ss-master-footer .ssm-icons svg{
  display:block!important;
  width:29px!important;
  height:29px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* hide common legacy written footer containers on Home/Careers only */
body.page-id-2 :is(.footer-contact,.footer-details,.footer-address,.footer-phone,.footer-email,.site-info,.ss-footer-details,.ss-footer-tagline,.ss-footer-copy),
body.page-id-413 :is(.footer-contact,.footer-details,.footer-address,.footer-phone,.footer-email,.site-info,.ss-footer-details,.ss-footer-tagline,.ss-footer-copy){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */
/* ===== HOME + CAREERS FINAL FOOTER MATCH v17 ===== */
body.page-id-2 #ss-master-footer,
body.page-id-413 #ss-master-footer{
  display:flex!important;
  flex-direction:column!important;
  background:#050505!important;
  color:#fff!important;
}

body.page-id-2 #ss-master-footer .ssm-icons,
body.page-id-413 #ss-master-footer .ssm-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:52px!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:center!important;
  justify-content:center!important;
  gap:36px!important;
  margin:12px 0 0!important;
  padding:0!important;
}

body.page-id-2 #ss-master-footer .ssm-icons a,
body.page-id-413 #ss-master-footer .ssm-icons a{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:52px!important;
  height:52px!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

body.page-id-2 #ss-master-footer .ssm-icons svg,
body.page-id-413 #ss-master-footer .ssm-icons svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:29px!important;
  height:29px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}


/* --- WPWriter addition --- */
/* ===== HARD REMOVE OLD UNIFIED FOOTER — HOME + CAREERS v18 ===== */
html body.page-id-2 #socho-unified-footer,
html body.page-id-413 #socho-unified-footer,
html body.page-id-2 div#socho-unified-footer,
html body.page-id-413 div#socho-unified-footer{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* approved footer stays visible */
html body.page-id-2 #ss-master-footer,
html body.page-id-413 #ss-master-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

/* approved 3-icon row stays visible */
html body.page-id-2 #ss-master-footer .ssm-icons,
html body.page-id-413 #ss-master-footer .ssm-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}


/* --- WPWriter addition --- */
/* ===== SOCHO SONS GLOBAL RESPONSIVE FINAL v20 ===== */

/* ---------- GLOBAL LAYOUT ---------- */
html,body{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
body,
body .site,
body .site-content,
body #content,
body main,
body .site-main,
body .entry-content,
body .wp-block-post-content{
  box-sizing:border-box!important;
}
body img,
body video,
body iframe{
  max-width:100%!important;
  height:auto!important;
}

/* Main custom page wrappers */
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl){
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow-x:hidden!important;
}

/* Sensible inner content width on laptop/desktop */
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section > div,
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .inner,
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .wrap,
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .container{
  width:min(100% - 40px,1180px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* ---------- TYPOGRAPHY ---------- */
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h1{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h2,
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h3,
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) p{
  max-width:100%!important;
}
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) p{
  line-height:1.65!important;
}

/* ---------- BUTTONS ---------- */
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) a[class*="btn"],
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) button,
body .ss-btn,
body .home-gold-btn{
  box-sizing:border-box!important;
  max-width:100%!important;
  min-height:48px!important;
}

/* ---------- CARDS / GRIDS ---------- */
body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) :is(.ss-grid,.ss-values,.cards,.ss-commit){
  width:100%!important;
  box-sizing:border-box!important;
}
body :is(.ss-card,.card,.ss-list,.standard){
  min-width:0!important;
  box-sizing:border-box!important;
}

/* ---------- HEADER ---------- */
@media(min-width:900px){
  body header,
  body .site-header,
  body .wp-site-blocks>header{
    padding-left:clamp(24px,4vw,54px)!important;
    padding-right:clamp(24px,4vw,54px)!important;
  }
  body header nav,
  body .site-header nav,
  body #site-navigation{
    min-width:0!important;
  }
}

@media(max-width:899px){
  body header,
  body .site-header,
  body .wp-site-blocks>header{
    width:100%!important;
    max-width:100%!important;
    padding:12px!important;
    overflow:hidden!important;
  }
  body header .site-branding,
  body .site-header .site-branding{
    width:100%!important;
    min-width:0!important;
  }
  body header nav,
  body .site-header nav,
  body #site-navigation,
  body .main-navigation{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
}

/* ---------- TABLET ---------- */
@media(max-width:899px){
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section{
    padding-left:0!important;
    padding-right:0!important;
  }
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section > div,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .inner,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .wrap,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .container{
    width:calc(100% - 28px)!important;
    max-width:100%!important;
  }
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h1{
    font-size:clamp(2.15rem,8.5vw,3.7rem)!important;
    line-height:.98!important;
  }
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h2{
    font-size:clamp(1.75rem,6.5vw,2.8rem)!important;
    line-height:1.04!important;
  }
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) p{
    font-size:clamp(.98rem,2.7vw,1.12rem)!important;
  }
}

/* ---------- MOBILE ---------- */
@media(max-width:640px){
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section > div,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .inner,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .wrap,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .container{
    width:calc(100% - 24px)!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) section{
    max-width:100%!important;
  }

  body :is(.ss-grid,.ss-values,.cards,.ss-commit,.split,.message-box,.ss-login-wrap){
    grid-template-columns:1fr!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) a[class*="btn"],
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) button,
  body .ss-btn,
  body .home-gold-btn{
    width:100%!important;
    max-width:100%!important;
  }

  body :is(.ss-card,.card,.ss-list,.standard){
    padding-left:18px!important;
    padding-right:18px!important;
  }
}

/* ---------- FOOTER: ONE CONSISTENT VERSION EVERYWHERE ---------- */
html body #ss-master-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:20!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:14px!important;
  box-sizing:border-box!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.30)!important;
}

/* kill only obsolete old injected footer */
html body #socho-unified-footer{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* Two true horizontal rows */
html body #ss-master-footer .ssm-nav{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto 14px!important;
  padding:0!important;
}
html body #ss-master-footer .ssm-nav-row{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
html body #ss-master-footer .ssm-nav-row a{
  display:flex!important;
  flex:1 1 0!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:7px 4px!important;
  box-sizing:border-box!important;
  background:#0b0b0b!important;
  border:1px solid rgba(215,173,82,.34)!important;
  border-radius:8px!important;
  color:#f3d783!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.61rem!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-align:center!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

/* logo */
html body #ss-master-footer .ssm-logo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:min(100%,900px)!important;
  max-width:900px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
}

/* three gold icons */
html body #ss-master-footer .ssm-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:36px!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:12px 0 0!important;
  padding:0!important;
  overflow:visible!important;
}
html body #ss-master-footer .ssm-icons a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:52px!important;
  height:52px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
html body #ss-master-footer .ssm-icons svg{
  display:block!important;
  width:29px!important;
  height:29px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}

/* footer laptop */
@media(min-width:900px){
  html body #ss-master-footer{
    padding:18px 28px 24px!important;
  }
  html body #ss-master-footer .ssm-nav-row a{
    min-height:52px!important;
    font-size:.72rem!important;
  }
}

/* footer mobile */
@media(max-width:640px){
  html body #ss-master-footer{
    padding:12px 10px 18px!important;
  }
  html body #ss-master-footer .ssm-nav{
    gap:6px!important;
    margin-bottom:12px!important;
  }
  html body #ss-master-footer .ssm-nav-row{
    gap:6px!important;
  }
  html body #ss-master-footer .ssm-nav-row a{
    min-height:40px!important;
    padding:6px 2px!important;
    font-size:clamp(.38rem,2vw,.52rem)!important;
    letter-spacing:0!important;
  }
  html body #ss-master-footer .ssm-logo{
    width:100%!important;
    max-width:100%!important;
  }
  html body #ss-master-footer .ssm-icons{
    gap:30px!important;
    margin-top:8px!important;
  }
  html body #ss-master-footer .ssm-icons a{
    width:46px!important;
    height:46px!important;
  }
  html body #ss-master-footer .ssm-icons svg{
    width:26px!important;
    height:26px!important;
  }
}

/* prevent accidental oversized fixed-width elements */
@media(max-width:899px){
  body [style*="width: 1200"],
  body [style*="width:1200"],
  body [style*="width: 1000"],
  body [style*="width:1000"],
  body [style*="width: 900"],
  body [style*="width:900"]{
    max-width:100%!important;
  }
}


/* --- WPWriter addition --- */
/* ===== REMOVE DUPLICATE TOP FOOTER ICONS v21 ===== */
/* Keep ONLY the icon row inside the new global footer */
html body .ssm-icons,
html body .ss-final-footer-icons,
html body .ss-v3-icons,
html body .ss-footer-icon-row,
html body .ss-contact-icons-footer,
html body .ss-contact-icons-footer-removed,
html body .home-footer-icons,
html body .footer-icons:not(#socho-global-footer .footer-icons){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* The correct bottom icon row stays visible */
html body #socho-global-footer .footer-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:center!important;
  justify-content:center!important;
  gap:30px!important;
  margin:8px 0 0!important;
  padding:0!important;
}


/* --- WPWriter addition --- */
/* ===== HOME + CAREERS SHINY GOLD ALIGNMENT v22 ===== */
@keyframes ssHCShine{
  0%{background-position:0% 50%}
  100%{background-position:220% 50%}
}

/* Main headings */
body.page-id-2 .ss-page h1,
body.page-id-2 .ss-page h2,
body.page-id-2 .ss-page h3,
body.page-id-413 .ss-page h1,
body.page-id-413 .ss-page h2,
body.page-id-413 .ss-page h3{
  font-family:Georgia,"Times New Roman",serif!important;
}

/* Gold-highlighted title text */
body.page-id-2 .ss-page :is(h1,h2,h3) span,
body.page-id-413 .ss-page :is(h1,h2,h3) span,
body.page-id-2 .ss-page .gold,
body.page-id-413 .ss-page .gold,
body.page-id-2 .ss-page .kicker,
body.page-id-413 .ss-page .kicker,
body.page-id-2 .ss-page .eyebrow,
body.page-id-413 .ss-page .eyebrow,
body.page-id-2 .ss-page .section-title,
body.page-id-413 .ss-page .section-title{
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  background:linear-gradient(105deg,#9b6b16 0%,#d7ad52 18%,#fff1b0 38%,#d7ad52 54%,#a8741d 72%,#f6dc8b 88%,#9b6b16 100%)!important;
  background-size:220% 100%!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  animation:ssHCShine 5.2s linear infinite!important;
  text-shadow:0 0 12px rgba(215,173,82,.16)!important;
}

/* Plain main title text stays premium white */
body.page-id-2 .ss-page h1,
body.page-id-2 .ss-page h2,
body.page-id-413 .ss-page h1,
body.page-id-413 .ss-page h2{
  color:#fff!important;
  text-shadow:0 0 10px rgba(255,255,255,.04)!important;
}

/* Cards and panels */
body.page-id-2 .ss-page :is(.card,.ss-card,.standard),
body.page-id-413 .ss-page :is(.card,.ss-card,.standard){
  background:linear-gradient(180deg,#111 0%,#0a0a0a 100%)!important;
  border:1px solid rgba(215,173,82,.34)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.30), inset 0 0 18px rgba(215,173,82,.025)!important;
}

/* Body text */
body.page-id-2 .ss-page p,
body.page-id-413 .ss-page p{
  color:#d8d1c6!important;
}

/* Premium gold buttons */
body.page-id-2 .ss-page :is(.ss-btn,.btn,.home-gold-btn,a[style*="background:#d7ad52"],a[style*="background: #d7ad52"]),
body.page-id-413 .ss-page :is(.ss-btn,.btn,.home-gold-btn,a[style*="background:#d7ad52"],a[style*="background: #d7ad52"]){
  background:linear-gradient(180deg,#f7df91 0%,#d7ad52 52%,#b77e24 100%)!important;
  color:#070707!important;
  -webkit-text-fill-color:#070707!important;
  border:1px solid #f5dc8d!important;
  box-shadow:0 8px 24px rgba(215,173,82,.20), inset 0 1px 0 rgba(255,255,255,.35)!important;
  font-weight:900!important;
}

body.page-id-2 .ss-page :is(.ss-btn,.btn,.home-gold-btn):hover,
body.page-id-413 .ss-page :is(.ss-btn,.btn,.home-gold-btn):hover{
  filter:brightness(1.07)!important;
  box-shadow:0 10px 30px rgba(215,173,82,.32), inset 0 1px 0 rgba(255,255,255,.4)!important;
}

/* Gold border/glow accents */
body.page-id-2 .ss-page :is(.card,.ss-card,.standard,.actions a,.btn),
body.page-id-413 .ss-page :is(.card,.ss-card,.standard,.actions a,.btn){
  border-color:rgba(215,173,82,.42)!important;
}

/* Keep layout responsive */
@media(max-width:640px){
  body.page-id-2 .ss-page h1,
  body.page-id-413 .ss-page h1{
    font-size:clamp(2.15rem,10vw,3.4rem)!important;
    line-height:.98!important;
  }
  body.page-id-2 .ss-page h2,
  body.page-id-413 .ss-page h2{
    font-size:clamp(1.8rem,7.5vw,2.6rem)!important;
    line-height:1.02!important;
  }
}


/* --- WPWriter addition --- */
/* ===== SOCHO SONS — GLOBAL MOBILE OPTIMIZATION v23 ===== */

/* ---------- SAFE MOBILE FOUNDATION ---------- */
@media (max-width: 899px){

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%!important;
  }

  *,*::before,*::after{
    box-sizing:border-box!important;
  }

  img,video,iframe,svg{
    max-width:100%!important;
  }

  body .site,
  body #page,
  body .site-content,
  body #content,
  body main,
  body .site-main,
  body .entry-content,
  body .wp-block-post-content{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow-x:hidden!important;
  }

  /* ---------- GLOBAL PAGE WRAPPERS ---------- */
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl){
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    overflow-x:hidden!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) section{
    width:100%!important;
    max-width:100%!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section > div,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .wrap,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .inner,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .container{
    width:calc(100% - 24px)!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  /* ---------- TYPOGRAPHY ---------- */
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h1{
    max-width:100%!important;
    font-size:clamp(2.15rem,10vw,3.5rem)!important;
    line-height:.98!important;
    letter-spacing:-.02em!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h2{
    max-width:100%!important;
    font-size:clamp(1.8rem,7.5vw,2.75rem)!important;
    line-height:1.02!important;
    overflow-wrap:anywhere!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h3{
    max-width:100%!important;
    font-size:clamp(1.05rem,4.5vw,1.35rem)!important;
    line-height:1.2!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) p,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) li{
    max-width:100%!important;
    font-size:clamp(.98rem,3.8vw,1.08rem)!important;
    line-height:1.62!important;
    overflow-wrap:anywhere!important;
  }

  body :is(.ss-kicker,.kicker,.eyebrow,.section-title){
    font-size:clamp(.67rem,2.8vw,.82rem)!important;
    line-height:1.25!important;
    letter-spacing:.11em!important;
  }

  /* ---------- SECTION SPACING ---------- */
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) section{
    padding-top:44px!important;
    padding-bottom:44px!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .hero{
    padding-top:48px!important;
    padding-bottom:44px!important;
  }

  /* ---------- GRIDS / CARDS ---------- */
  body :is(.ss-grid,.ss-values,.cards,.ss-commit,.split,.top-grid,.message-box,.ss-login-wrap){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    width:100%!important;
  }

  body :is(.ss-card,.card,.ss-list,.standard,.pro){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:20px!important;
    border-radius:14px!important;
  }

  /* ---------- BUTTONS ---------- */
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) :is(.ss-btn,.btn,.home-gold-btn,button,input[type="submit"]){
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:50px!important;
    padding:12px 16px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.15!important;
  }

  body :is(.actions,.ss-actions){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }

  /* ---------- FORMS ---------- */
  body input,
  body textarea,
  body select{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:16px!important;
  }

  body textarea{
    min-height:150px!important;
    resize:vertical!important;
  }

  body .wpcf7-form,
  body .wpcf7-form-control-wrap{
    width:100%!important;
    max-width:100%!important;
  }

  body .wpcf7-form p{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* ---------- HEADER ---------- */
  body header,
  body .site-header,
  body .wp-site-blocks>header{
    width:100%!important;
    max-width:100%!important;
    padding:12px 10px 10px!important;
    overflow:hidden!important;
  }

  body header .site-branding,
  body .site-header .site-branding{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body header .custom-logo,
  body .site-header .custom-logo,
  body .wp-block-site-logo img{
    width:64px!important;
    max-width:64px!important;
    height:64px!important;
    object-fit:contain!important;
  }

  body header .site-title a,
  body .site-header .site-title a,
  body .wp-block-site-title a{
    font-size:1rem!important;
    line-height:1.05!important;
    white-space:normal!important;
  }

  body header .site-description,
  body .site-header .site-description,
  body .wp-block-site-tagline{
    font-size:.68rem!important;
    line-height:1.1!important;
    white-space:normal!important;
  }

  body header nav,
  body .site-header nav,
  body #site-navigation,
  body .main-navigation,
  body .primary-navigation,
  body .site-navigation{
    width:100%!important;
    max-width:100%!important;
    margin-top:10px!important;
  }

  body header nav ul,
  body .site-header nav ul,
  body #site-navigation ul,
  body .main-navigation ul,
  body .primary-navigation ul,
  body .site-navigation ul,
  body ul.menu,
  body .nav-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
  }

  body header nav li,
  body .site-header nav li,
  body #site-navigation li,
  body .main-navigation li,
  body .primary-navigation li,
  body .site-navigation li,
  body ul.menu>li,
  body .nav-menu>li{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  body header nav a,
  body .site-header nav a,
  body #site-navigation a,
  body .main-navigation a,
  body .primary-navigation a,
  body .site-navigation a,
  body ul.menu a,
  body .nav-menu a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    padding:6px 2px!important;
    font-size:clamp(.42rem,2vw,.54rem)!important;
    line-height:1.08!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Keep current 4 + 3 header layout */
  body header .menu-item-160,
  body .site-header .menu-item-160{grid-column:1!important;grid-row:1!important}
  body header .menu-item-199,
  body .site-header .menu-item-199{grid-column:2!important;grid-row:1!important}
  body header .menu-item-162,
  body .site-header .menu-item-162{grid-column:3!important;grid-row:1!important}
  body header .menu-item-163,
  body .site-header .menu-item-163{grid-column:4!important;grid-row:1!important}
  body header .menu-item-164,
  body .site-header .menu-item-164{grid-column:1!important;grid-row:2!important}
  body header .menu-item-414,
  body .site-header .menu-item-414{grid-column:2!important;grid-row:2!important}
  body header .menu-item-228,
  body .site-header .menu-item-228{grid-column:3 / 5!important;grid-row:2!important}

  /* ---------- WORK LOG ---------- */
  body .ss-wl .ss-features{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  body .ss-wl .ss-f{
    min-width:0!important;
    padding:16px 10px!important;
  }

  body .ss-wl .ss-f h3{
    font-size:.72rem!important;
    line-height:1.18!important;
  }

  body .ss-wl .ss-f p{
    font-size:.76rem!important;
    line-height:1.42!important;
  }

  body .ss-wl .ss-download{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }

  body .ss-wl .ss-login-wrap{
    grid-template-columns:1fr!important;
  }

  body .ss-wl .ss-login{
    width:100%!important;
    padding:18px 14px!important;
  }

  /* ---------- CONTACT ---------- */
  body .ss-contact .top-grid,
  body .ss-contact .message-box{
    grid-template-columns:1fr!important;
  }

  body .ss-contact .card,
  body .ss-contact .form-side{
    width:100%!important;
  }

  body .ss-contact .contact-row{
    display:flex!important;
    align-items:flex-start!important;
    gap:8px!important;
    flex-wrap:wrap!important;
    overflow-wrap:anywhere!important;
  }

  /* ---------- FOOTER ---------- */
  body #socho-global-footer{
    width:100%!important;
    max-width:100%!important;
    padding:12px 10px 18px!important;
    overflow:hidden!important;
  }

  body #socho-global-footer .nav{
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    margin-bottom:12px!important;
  }

  body #socho-global-footer .row{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    width:100%!important;
  }

  body #socho-global-footer .row a{
    min-width:0!important;
    min-height:40px!important;
    padding:6px 2px!important;
    font-size:clamp(.38rem,2vw,.52rem)!important;
    white-space:nowrap!important;
  }

  body #socho-global-footer .logo{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
  }

  body #socho-global-footer .icons{
    gap:30px!important;
    margin-top:8px!important;
  }

  body #socho-global-footer .icons a{
    width:46px!important;
    height:46px!important;
  }

  body #socho-global-footer .icons svg{
    width:26px!important;
    height:26px!important;
  }

  /* ---------- REMOVE COMMON OVERFLOW CAUSES ---------- */
  body [style*="min-width:"],
  body [style*="width: 900px"],
  body [style*="width:900px"],
  body [style*="width: 1000px"],
  body [style*="width:1000px"],
  body [style*="width: 1200px"],
  body [style*="width:1200px"]{
    max-width:100%!important;
  }
}

/* ---------- SMALL PHONES ---------- */
@media(max-width:430px){
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) > section > div,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .wrap,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .inner,
  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) .container{
    width:calc(100% - 18px)!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h1{
    font-size:clamp(1.95rem,10.5vw,3rem)!important;
  }

  body :is(.ss-page,.ss-home,.ss-contact,.ss-wl,.wl) h2{
    font-size:clamp(1.6rem,7.8vw,2.25rem)!important;
  }

  body .ss-wl .ss-download{
    grid-template-columns:1fr!important;
  }

  body #socho-global-footer .row a{
    font-size:clamp(.34rem,1.95vw,.48rem)!important;
    padding-left:1px!important;
    padding-right:1px!important;
  }
}


/* --- WPWriter addition --- */
/* ===== WORK LOG LOGIN — SIDE BY SIDE MOBILE v24 ===== */
@media(max-width:899px){
  body.page-id-222 .ss-wl .ss-login-wrap,
  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start!important;
    width:100%!important;
  }

  body.page-id-222 .ss-wl .ss-login,
  body.page-id-222 .ss-login{
    width:100%!important;
    min-width:0!important;
    padding:14px 10px!important;
    border-radius:16px!important;
  }

  body.page-id-222 .ss-wl .ss-login h3,
  body.page-id-222 .ss-login h3{
    font-size:clamp(.82rem,3.2vw,1rem)!important;
    line-height:1.15!important;
    margin-bottom:4px!important;
  }

  body.page-id-222 .ss-wl .ss-login .role,
  body.page-id-222 .ss-login .role,
  body.page-id-222 .ss-wl .ss-login p,
  body.page-id-222 .ss-login p{
    font-size:clamp(.72rem,2.7vw,.88rem)!important;
    line-height:1.3!important;
  }

  body.page-id-222 .ss-wl .ss-field,
  body.page-id-222 .ss-field{
    width:100%!important;
    min-width:0!important;
  }

  body.page-id-222 .ss-wl .ss-field input,
  body.page-id-222 .ss-field input{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:9px 8px!important;
    font-size:13px!important;
  }

  body.page-id-222 .ss-wl .ss-login button,
  body.page-id-222 .ss-login button,
  body.page-id-222 .ss-wl .ss-login input[type="submit"],
  body.page-id-222 .ss-login input[type="submit"]{
    width:100%!important;
    min-height:44px!important;
    padding:10px 6px!important;
    font-size:.86rem!important;
    letter-spacing:.08em!important;
  }

  body.page-id-222 .ss-wl .ss-login .remember,
  body.page-id-222 .ss-login .remember,
  body.page-id-222 .ss-wl .ss-login .forgot,
  body.page-id-222 .ss-login .forgot{
    font-size:.72rem!important;
  }
}

@media(max-width:430px){
  body.page-id-222 .ss-wl .ss-login-wrap,
  body.page-id-222 .ss-login-wrap{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-222 .ss-wl .ss-login,
  body.page-id-222 .ss-login{
    padding:12px 7px!important;
  }

  body.page-id-222 .ss-wl .ss-field input,
  body.page-id-222 .ss-field input{
    font-size:12px!important;
    padding:8px 6px!important;
  }

  body.page-id-222 .ss-wl .ss-login button,
  body.page-id-222 .ss-login button{
    font-size:.78rem!important;
  }
}


/* --- WPWriter addition --- */
/* ===== WORK LOG DOWNLOAD + 10 FEATURES COMPACT MOBILE v25 ===== */
@media(max-width:899px){

  /* 4 software download cards: always one horizontal row */
  html body.page-id-222 .ss-wl .ss-download{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
  }

  html body.page-id-222 .ss-wl .ss-dl{
    width:100%!important;
    min-width:0!important;
    min-height:96px!important;
    padding:8px 3px!important;
    border-radius:9px!important;
  }

  html body.page-id-222 .ss-wl .ss-dl svg{
    width:27px!important;
    height:27px!important;
    margin-bottom:5px!important;
  }

  html body.page-id-222 .ss-wl .ss-dl strong{
    display:block!important;
    font-size:clamp(.58rem,2.2vw,.72rem)!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }

  html body.page-id-222 .ss-wl .ss-dl .ss-pill{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin-top:6px!important;
    padding:3px 4px!important;
    font-size:clamp(.42rem,1.7vw,.54rem)!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  /* 10 feature cards: compact 5 + 5 */
  html body.page-id-222 .ss-wl .ss-features{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
  }

  html body.page-id-222 .ss-wl .ss-f{
    width:100%!important;
    min-width:0!important;
    min-height:118px!important;
    padding:8px 4px!important;
    border-radius:9px!important;
    justify-content:flex-start!important;
  }

  html body.page-id-222 .ss-wl .ss-ico{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    min-height:31px!important;
    margin:0 auto 5px!important;
  }

  html body.page-id-222 .ss-wl .ss-ico svg{
    width:15px!important;
    height:15px!important;
  }

  html body.page-id-222 .ss-wl .ss-f h3{
    margin:0 0 4px!important;
    font-size:clamp(.43rem,1.75vw,.56rem)!important;
    line-height:1.08!important;
    letter-spacing:0!important;
    overflow-wrap:anywhere!important;
  }

  html body.page-id-222 .ss-wl .ss-f p{
    margin:0!important;
    font-size:clamp(.39rem,1.55vw,.50rem)!important;
    line-height:1.18!important;
    overflow-wrap:anywhere!important;
  }
}

@media(max-width:430px){
  html body.page-id-222 .ss-wl .ss-download{
    gap:4px!important;
  }
  html body.page-id-222 .ss-wl .ss-dl{
    min-height:88px!important;
    padding:7px 2px!important;
  }
  html body.page-id-222 .ss-wl .ss-dl svg{
    width:23px!important;
    height:23px!important;
  }
  html body.page-id-222 .ss-wl .ss-dl strong{
    font-size:.54rem!important;
  }
  html body.page-id-222 .ss-wl .ss-dl .ss-pill{
    font-size:.39rem!important;
    padding:3px 2px!important;
  }

  html body.page-id-222 .ss-wl .ss-features{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:4px!important;
  }
  html body.page-id-222 .ss-wl .ss-f{
    min-height:108px!important;
    padding:7px 2px!important;
  }
  html body.page-id-222 .ss-wl .ss-ico{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
  }
  html body.page-id-222 .ss-wl .ss-f h3{
    font-size:.40rem!important;
  }
  html body.page-id-222 .ss-wl .ss-f p{
    font-size:.36rem!important;
    line-height:1.15!important;
  }
}


/* --- WPWriter addition --- */

/* ÁdI floating assistant button text — white */
body .adi-float-widget a[href*="/adi-ai/"]{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.45)!important;
}


/* --- WPWriter addition --- */

/* ===== HEADER CLEANUP — remove stray single-item row ===== */
body header nav:has(ul > li:only-child),
body .site-header nav:has(ul > li:only-child),
body header .menu:has(> li:only-child),
body .site-header .menu:has(> li:only-child),
body header .nav-menu:has(> li:only-child),
body .site-header .nav-menu:has(> li:only-child){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */

/* ===== HEADER NAV REMOVAL — 2026-09-22 =====
   Remove the full HOME / COMPANY / SERVICES / PROJECTS / CONTACT / CAREERS menu block from the header.
   Footer navigation remains untouched.
*/
body header nav,
body .site-header nav,
body header .main-navigation,
body .site-header .main-navigation,
body header .site-navigation,
body .site-header .site-navigation,
body header .primary-navigation,
body .site-header .primary-navigation,
body header .wp-block-navigation,
body .site-header .wp-block-navigation{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */

/* ===== REMOVE DUPLICATED PRIMARY MENU BLOCK — 2026-09-22 =====
   Hide the WordPress CONTENT menu everywhere in the upper site area.
   Custom .ss-final-footer navigation is intentionally unaffected.
*/
body .menu-content-container,
body #menu-content,
body ul#menu-content,
body .primary-menu-container,
body #site-navigation,
body .main-navigation,
body .primary-navigation,
body .site-navigation,
body nav[aria-label*="Primary"],
body nav[aria-label*="primary"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */

/* ===== REMOVE DUPLICATED FOOTER NAVIGATION — 2026-09-22 =====
   Keep logo, contact details/icons, copyright, tagline, and ÁdI widget.
   Remove only duplicated footer menu rows.
*/
body .ss-final-footer-nav,
body .ss-footer-nav,
body footer .ss-final-footer-nav,
body footer .ss-footer-nav,
body .site-footer .ss-final-footer-nav,
body .site-footer .ss-footer-nav{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */

/* ===== KEEP ONLY LOWER FOOTER MENU — 2026-09-22 ===== */
/* Upper/legacy footer menu stays hidden */
body .ss-footer-nav,
body footer .ss-footer-nav,
body .site-footer .ss-footer-nav{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Lower final footer menu is restored and remains visible */
body .ss-final-footer-nav,
body footer .ss-final-footer-nav,
body .site-footer .ss-final-footer-nav{
  display:grid!important;
  visibility:visible!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  width:100%!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  max-width:900px!important;
  margin:0 auto 20px!important;
  padding:0!important;
  border:0!important;
}


/* --- WPWriter addition --- */

/* ===== HEADER: KEEP ONLY LOWER WHITE MENU — 2026-09-22 ===== */
/* Hide the upper duplicated navigation row */
body header > nav:first-of-type:not(:last-of-type),
body .site-header > nav:first-of-type:not(:last-of-type){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Restore only the lower/last header navigation */
body header > nav:last-of-type,
body .site-header > nav:last-of-type{
  display:block!important;
  visibility:visible!important;
  position:static!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:12px 0 0!important;
  padding:10px 0 0!important;
  border-top:1px solid rgba(215,173,82,.30)!important;
  background:transparent!important;
  overflow:visible!important;
}

/* Lower header menu items: white text */
body header > nav:last-of-type ul,
body .site-header > nav:last-of-type ul{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body header > nav:last-of-type li,
body .site-header > nav:last-of-type li{
  display:block!important;
  margin:0!important;
  padding:0!important;
}

body header > nav:last-of-type a,
body .site-header > nav:last-of-type a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:8px 12px!important;
  background:#0b0b0b!important;
  border:1px solid rgba(215,173,82,.34)!important;
  border-radius:8px!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-decoration:none!important;
  font-weight:800!important;
  text-transform:uppercase!important;
}

@media(max-width:899px){
  body header > nav:last-of-type ul,
  body .site-header > nav:last-of-type ul{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }
  body header > nav:last-of-type a,
  body .site-header > nav:last-of-type a{
    width:100%!important;
    min-height:44px!important;
    padding:7px 4px!important;
    font-size:.61rem!important;
    line-height:1.13!important;
    text-align:center!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HEADER MENU MATCHES FOOTER PAGE SET — 2026-09-22 ===== */
/* Keep the lower/main header navigation and present the same 7 pages:
   HOME / COMPANY / SERVICES / PROJECTS
   CONTACT / CAREERS / WORK / LOG
*/
body header > nav:last-of-type,
body .site-header > nav:last-of-type,
body #site-navigation,
body .main-navigation,
body .primary-navigation{
  display:block!important;
  visibility:visible!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:12px 0 0!important;
  padding:10px 0 0!important;
  border-top:1px solid rgba(215,173,82,.30)!important;
  background:transparent!important;
  overflow:visible!important;
}

/* Menu layout: 4 items on first row, 3 on second */
body header > nav:last-of-type ul,
body .site-header > nav:last-of-type ul,
body #site-navigation ul,
body .main-navigation ul,
body .primary-navigation ul,
body ul#menu-content{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body header > nav:last-of-type li,
body .site-header > nav:last-of-type li,
body #site-navigation li,
body .main-navigation li,
body .primary-navigation li,
body ul#menu-content > li{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

/* Exact 4 + 3 placement */
body header .menu-item-160,
body .site-header .menu-item-160{grid-column:1!important;grid-row:1!important}
body header .menu-item-199,
body .site-header .menu-item-199{grid-column:2!important;grid-row:1!important}
body header .menu-item-162,
body .site-header .menu-item-162{grid-column:3!important;grid-row:1!important}
body header .menu-item-163,
body .site-header .menu-item-163{grid-column:4!important;grid-row:1!important}
body header .menu-item-164,
body .site-header .menu-item-164{grid-column:1!important;grid-row:2!important}
body header .menu-item-414,
body .site-header .menu-item-414{grid-column:2!important;grid-row:2!important}
body header .menu-item-228,
body .site-header .menu-item-228{grid-column:3 / 5!important;grid-row:2!important}

/* Match the footer button look */
body header > nav:last-of-type a,
body .site-header > nav:last-of-type a,
body #site-navigation a,
body .main-navigation a,
body .primary-navigation a,
body ul#menu-content a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:52px!important;
  padding:9px 6px!important;
  border:1px solid rgba(215,173,82,.40)!important;
  border-radius:9px!important;
  background:#0a0a0a!important;
  color:#f6d97f!important;
  -webkit-text-fill-color:#f6d97f!important;
  text-decoration:none!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.72rem!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  text-align:center!important;
}

@media(max-width:560px){
  body header > nav:last-of-type ul,
  body .site-header > nav:last-of-type ul,
  body #site-navigation ul,
  body .main-navigation ul,
  body .primary-navigation ul,
  body ul#menu-content{
    gap:7px!important;
  }
  body header > nav:last-of-type a,
  body .site-header > nav:last-of-type a,
  body #site-navigation a,
  body .main-navigation a,
  body .primary-navigation a,
  body ul#menu-content a{
    min-height:48px!important;
    font-size:.63rem!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HEADER NAV VISIBILITY HOTFIX — 2026-09-22 ===== */
html body header nav,
html body .site-header nav,
html body #site-navigation,
html body .main-navigation,
html body .primary-navigation,
html body .site-navigation,
html body .wp-block-navigation,
html body header > nav:first-of-type,
html body .site-header > nav:first-of-type,
html body header .site-navigation:first-of-type,
html body .site-header .site-navigation:first-of-type,
html body header .main-navigation:first-of-type,
html body .site-header .main-navigation:first-of-type{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}

html body header nav ul,
html body .site-header nav ul,
html body #site-navigation ul,
html body .main-navigation ul,
html body .primary-navigation ul,
html body .site-navigation ul,
html body .wp-block-navigation__container,
html body ul.menu,
html body .nav-menu{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}

html body header nav a,
html body .site-header nav a,
html body #site-navigation a,
html body .main-navigation a,
html body .primary-navigation a,
html body .site-navigation a,
html body .wp-block-navigation-item__content,
html body ul.menu a,
html body .nav-menu a{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  color:#f3d783!important;
  pointer-events:auto!important;
}

@media(max-width:899px){
  html body header nav,
  html body .site-header nav,
  html body #site-navigation,
  html body .main-navigation,
  html body .primary-navigation,
  html body .site-navigation,
  html body .wp-block-navigation{
    width:100%!important;
    margin-top:12px!important;
  }

  html body header nav ul,
  html body .site-header nav ul,
  html body #site-navigation ul,
  html body .main-navigation ul,
  html body .primary-navigation ul,
  html body .site-navigation ul,
  html body .wp-block-navigation__container,
  html body ul.menu,
  html body .nav-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }

  html body header nav a,
  html body .site-header nav a,
  html body #site-navigation a,
  html body .main-navigation a,
  html body .primary-navigation a,
  html body .site-navigation a,
  html body .wp-block-navigation-item__content,
  html body ul.menu a,
  html body .nav-menu a{
    min-height:42px!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    padding:6px 4px!important;
    background:#0b0b0b!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    font-size:.58rem!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HEADER MENU: 8 ITEMS + ÁdI AI ICON — 2026-09-22 ===== */

/* ÁdI AI item: text + icon at the end */
html body .menu-item-1516 > a,
html body .menu-item-1516 > a:visited{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
}
html body .menu-item-1516 > a::after{
  content:""!important;
  display:inline-block!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  border-radius:50%!important;
  background-image:url("https://sochosons.com/wp-content/uploads/2026/09/adi-ai-how-can-i-help-icon.webp")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:cover!important;
  box-shadow:0 0 10px rgba(243,215,131,.45)!important;
}

/* Mobile/tablet: exact 4 + 4 layout */
@media(max-width:899px){
  html body header .menu-item-160,
  html body .site-header .menu-item-160{grid-column:1!important;grid-row:1!important}
  html body header .menu-item-199,
  html body .site-header .menu-item-199{grid-column:2!important;grid-row:1!important}
  html body header .menu-item-162,
  html body .site-header .menu-item-162{grid-column:3!important;grid-row:1!important}
  html body header .menu-item-163,
  html body .site-header .menu-item-163{grid-column:4!important;grid-row:1!important}

  html body header .menu-item-164,
  html body .site-header .menu-item-164{grid-column:1!important;grid-row:2!important}
  html body header .menu-item-414,
  html body .site-header .menu-item-414{grid-column:2!important;grid-row:2!important}
  html body header .menu-item-228,
  html body .site-header .menu-item-228{grid-column:3!important;grid-row:2!important}
  html body header .menu-item-1516,
  html body .site-header .menu-item-1516{grid-column:4!important;grid-row:2!important}

  html body .menu-item-1516 > a{
    gap:4px!important;
  }
  html body .menu-item-1516 > a::after{
    width:18px!important;
    height:18px!important;
    flex-basis:18px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== FINAL HEADER + ÁdI FLOATING BUTTON FIX — 2026-09-22 ===== */

/* Re-enable every header navigation wrapper previously hidden by older CSS */
html body header nav,
html body .site-header nav,
html body header .main-navigation,
html body .site-header .main-navigation,
html body header .site-navigation,
html body .site-header .site-navigation,
html body header .primary-navigation,
html body .site-header .primary-navigation,
html body header .wp-block-navigation,
html body .site-header .wp-block-navigation,
html body .menu-content-container,
html body #menu-content,
html body ul#menu-content,
html body .primary-menu-container,
html body #site-navigation,
html body .main-navigation,
html body .primary-navigation,
html body .site-navigation,
html body nav[aria-label*="Primary"],
html body nav[aria-label*="primary"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:visible!important;
  pointer-events:auto!important;
}

/* Also undo the old :has(one-item) hiding rule */
html body header nav:has(ul > li:only-child),
html body .site-header nav:has(ul > li:only-child),
html body header .menu:has(> li:only-child),
html body .site-header .menu:has(> li:only-child),
html body header .nav-menu:has(> li:only-child),
html body .site-header .nav-menu:has(> li:only-child){
  display:block!important;
  visibility:visible!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}

/* Desktop navigation */
html body header .wp-block-navigation__container,
html body .site-header .wp-block-navigation__container,
html body header nav ul,
html body .site-header nav ul,
html body #site-navigation ul,
html body ul.menu,
html body .nav-menu{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px 12px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  visibility:visible!important;
  opacity:1!important;
}

html body header .wp-block-navigation-item,
html body .site-header .wp-block-navigation-item,
html body header nav li,
html body .site-header nav li,
html body #site-navigation li,
html body ul.menu>li,
html body .nav-menu>li{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}

html body header .wp-block-navigation-item__content,
html body .site-header .wp-block-navigation-item__content,
html body header nav a,
html body .site-header nav a,
html body #site-navigation a,
html body ul.menu a,
html body .nav-menu a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:7px 8px!important;
  color:#f3d783!important;
  -webkit-text-fill-color:#f3d783!important;
  font-size:.70rem!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  white-space:nowrap!important;
}

/* ÁdI AI header item icon — works with both classic and block navigation */
html body header a[href*="/adi-ai/"]::after,
html body .site-header a[href*="/adi-ai/"]::after{
  content:""!important;
  display:inline-block!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  margin-left:6px!important;
  border-radius:50%!important;
  background:url("https://sochosons.com/wp-content/uploads/2026/09/adi-ai-how-can-i-help-icon.webp") center/cover no-repeat!important;
  box-shadow:0 0 10px rgba(243,215,131,.45)!important;
}

/* Mobile/tablet: 4 + 4 */
@media(max-width:899px){
  html body header nav,
  html body .site-header nav,
  html body header .wp-block-navigation,
  html body .site-header .wp-block-navigation,
  html body #site-navigation,
  html body .main-navigation,
  html body .primary-navigation,
  html body .site-navigation,
  html body .menu-content-container,
  html body .primary-menu-container{
    width:100%!important;
    margin-top:12px!important;
  }

  html body header .wp-block-navigation__container,
  html body .site-header .wp-block-navigation__container,
  html body header nav ul,
  html body .site-header nav ul,
  html body #site-navigation ul,
  html body ul.menu,
  html body .nav-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }

  html body header .wp-block-navigation-item__content,
  html body .site-header .wp-block-navigation-item__content,
  html body header nav a,
  html body .site-header nav a,
  html body #site-navigation a,
  html body ul.menu a,
  html body .nav-menu a{
    width:100%!important;
    min-height:42px!important;
    padding:6px 3px!important;
    background:#0b0b0b!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    font-size:.56rem!important;
    line-height:1.12!important;
    text-align:center!important;
    white-space:normal!important;
  }

  html body header a[href*="/adi-ai/"]::after,
  html body .site-header a[href*="/adi-ai/"]::after{
    width:17px!important;
    height:17px!important;
    flex-basis:17px!important;
    margin-left:4px!important;
  }
}

/* ÁdI floating help widget: force the same new icon on every page */
html body .adi-float-widget{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:99999!important;
}

html body .adi-float-widget img,
html body .adi-float-widget picture img,
html body .adi-float-widget a img{
  content:url("https://sochosons.com/wp-content/uploads/2026/09/adi-ai-how-can-i-help-icon.webp")!important;
  object-fit:cover!important;
  border-radius:50%!important;
}

html body .adi-float-widget a[href*="/adi-ai/"]{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html body .adi-float-widget a[href*="/adi-ai/"]:not(:has(img))::before{
  content:""!important;
  display:inline-block!important;
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  border-radius:50%!important;
  background:url("https://sochosons.com/wp-content/uploads/2026/09/adi-ai-how-can-i-help-icon.webp") center/cover no-repeat!important;
  box-shadow:0 0 14px rgba(243,215,131,.42)!important;
}


/* --- WPWriter addition --- */

/* ===== SINGLE HEADER + NEW ÁdI HELP ICON — 2026-09-22 ===== */

/* Keep ONLY the theme's real PRIMARY menu visible in the header. */
html body header .wp-block-navigation,
html body .site-header .wp-block-navigation,
html body .wp-site-blocks > header .wp-block-navigation,
html body header nav.wp-block-navigation,
html body .site-header nav.wp-block-navigation{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* The single active classic primary menu. */
html body #site-navigation,
html body nav#site-navigation,
html body .main-navigation#site-navigation,
html body header #site-navigation,
html body .site-header #site-navigation{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  pointer-events:auto!important;
}

/* If duplicate generic navs exist beside the real primary menu, keep them hidden. */
html body header nav:not(#site-navigation):not(.main-navigation),
html body .site-header nav:not(#site-navigation):not(.main-navigation){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Primary menu items */
html body #site-navigation ul,
html body .main-navigation ul{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px 12px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

html body #site-navigation li,
html body .main-navigation li{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:0!important;
  padding:0!important;
}

html body #site-navigation a,
html body .main-navigation a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:7px 8px!important;
  color:#f3d783!important;
  -webkit-text-fill-color:#f3d783!important;
  font-size:.70rem!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

/* New ÁdI image: current black/gold robot with question mark */
html body #site-navigation a[href*="/adi-ai/"]::after,
html body .main-navigation a[href*="/adi-ai/"]::after{
  content:""!important;
  display:inline-block!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  margin-left:6px!important;
  border-radius:50%!important;
  background:url("https://sochosons.com/wp-content/uploads/2026/09/1752e4ea-8e67-4900-9fdf-a4d3d6b5b1dc.png") center/cover no-repeat!important;
  box-shadow:0 0 10px rgba(243,215,131,.50)!important;
}

/* Replace the floating Help / ÁdI image everywhere */
html body .adi-float-widget img,
html body .adi-float-widget picture img,
html body .adi-float-widget a img,
html body a[href*="/adi-ai/"].adi-float-widget img{
  content:url("https://sochosons.com/wp-content/uploads/2026/09/1752e4ea-8e67-4900-9fdf-a4d3d6b5b1dc.png")!important;
  border-radius:50%!important;
  object-fit:cover!important;
}

html body .adi-float-widget a[href*="/adi-ai/"]::before{
  content:""!important;
  display:inline-block!important;
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  border-radius:50%!important;
  background:url("https://sochosons.com/wp-content/uploads/2026/09/1752e4ea-8e67-4900-9fdf-a4d3d6b5b1dc.png") center/cover no-repeat!important;
  box-shadow:0 0 15px rgba(243,215,131,.48)!important;
}

/* Mobile: one header menu, exactly 4 + 4 */
@media(max-width:899px){
  html body #site-navigation,
  html body .main-navigation#site-navigation{
    width:100%!important;
    margin-top:12px!important;
  }

  html body #site-navigation ul,
  html body .main-navigation ul{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }

  html body #site-navigation a,
  html body .main-navigation a{
    width:100%!important;
    min-height:42px!important;
    padding:6px 3px!important;
    background:#0b0b0b!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    font-size:.56rem!important;
    line-height:1.12!important;
    text-align:center!important;
    white-space:normal!important;
  }

  html body #site-navigation a[href*="/adi-ai/"]::after,
  html body .main-navigation a[href*="/adi-ai/"]::after{
    width:17px!important;
    height:17px!important;
    flex-basis:17px!important;
    margin-left:4px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== SHOW ÁdI AI AS 8TH HEADER ITEM — 2026-09-22 ===== */
html body #site-navigation .menu-item-1516,
html body .main-navigation .menu-item-1516,
html body #menu-content .menu-item-1516,
html body .menu-content-container .menu-item-1516{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  pointer-events:auto!important;
}

html body #site-navigation .menu-item-1516 > a,
html body .main-navigation .menu-item-1516 > a,
html body #menu-content .menu-item-1516 > a,
html body .menu-content-container .menu-item-1516 > a{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  color:#f3d783!important;
  -webkit-text-fill-color:#f3d783!important;
  text-decoration:none!important;
  pointer-events:auto!important;
}

html body #site-navigation .menu-item-1516 > a::after,
html body .main-navigation .menu-item-1516 > a::after,
html body #menu-content .menu-item-1516 > a::after,
html body .menu-content-container .menu-item-1516 > a::after{
  content:""!important;
  display:inline-block!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  margin-left:5px!important;
  border-radius:50%!important;
  background:url("https://sochosons.com/wp-content/uploads/2026/09/1752e4ea-8e67-4900-9fdf-a4d3d6b5b1dc.png") center/cover no-repeat!important;
}

@media(max-width:899px){
  html body #site-navigation .menu-item-1516,
  html body .main-navigation .menu-item-1516,
  html body #menu-content .menu-item-1516,
  html body .menu-content-container .menu-item-1516{
    grid-column:4!important;
    grid-row:2!important;
    width:100%!important;
  }

  html body #site-navigation .menu-item-1516 > a,
  html body .main-navigation .menu-item-1516 > a,
  html body #menu-content .menu-item-1516 > a,
  html body .menu-content-container .menu-item-1516 > a{
    width:100%!important;
    min-height:42px!important;
    padding:6px 3px!important;
    background:#0b0b0b!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    font-size:.56rem!important;
    line-height:1.12!important;
    text-align:center!important;
    white-space:normal!important;
  }
}


/* --- WPWriter addition --- */

/* ===== ÁdI SERVER-SIDE MENU SNIPPET STYLING — 2026-09-22 ===== */
html body #site-navigation .ss-adi-ai-menu,
html body .main-navigation .ss-adi-ai-menu{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
html body #site-navigation .ss-adi-ai-menu > a,
html body .main-navigation .ss-adi-ai-menu > a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  color:#f3d783!important;
  -webkit-text-fill-color:#f3d783!important;
}
html body .ss-adi-ai-menu-icon{
  display:inline-block!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  border-radius:50%!important;
  background:url("https://sochosons.com/wp-content/uploads/2026/09/1752e4ea-8e67-4900-9fdf-a4d3d6b5b1dc.png") center/cover no-repeat!important;
  box-shadow:0 0 10px rgba(243,215,131,.48)!important;
}
@media(max-width:899px){
  html body #site-navigation .ss-adi-ai-menu,
  html body .main-navigation .ss-adi-ai-menu{
    grid-column:4!important;
    grid-row:2!important;
    width:100%!important;
  }
  html body #site-navigation .ss-adi-ai-menu > a,
  html body .main-navigation .ss-adi-ai-menu > a{
    width:100%!important;
    min-height:42px!important;
    padding:6px 3px!important;
    background:#0b0b0b!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    font-size:.56rem!important;
    line-height:1.12!important;
    white-space:normal!important;
  }
  html body .ss-adi-ai-menu-icon{
    width:17px!important;
    height:17px!important;
    flex-basis:17px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HEADER FIX V2026-09-22 — single menu + ÁdI AI ===== */
/* Keep the real WordPress CONTENT menu and suppress the duplicate fallback/page-list navigation. */
body header nav:not(:has(.menu-content-container)),
body .site-header nav:not(:has(.menu-content-container)){
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

body header nav:has(.menu-content-container),
body .site-header nav:has(.menu-content-container),
body header .menu-content-container,
body .site-header .menu-content-container{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

/* Current main menu has 8 items, including ÁdI AI. */
@media(max-width:899px){
  body header nav:has(.menu-content-container) ul.menu,
  body .site-header nav:has(.menu-content-container) ul.menu,
  body header .menu-content-container ul,
  body .site-header .menu-content-container ul{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }

  body header .menu-content-container li,
  body .site-header .menu-content-container li{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  body header .menu-content-container a,
  body .site-header .menu-content-container a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:44px!important;
    padding:7px 4px!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.58rem!important;
    line-height:1.12!important;
    font-weight:900!important;
    letter-spacing:.02em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    white-space:normal!important;
  }

  body header .menu-item-160,
  body .site-header .menu-item-160{grid-column:1!important;grid-row:1!important}
  body header .menu-item-199,
  body .site-header .menu-item-199{grid-column:2!important;grid-row:1!important}
  body header .menu-item-162,
  body .site-header .menu-item-162{grid-column:3!important;grid-row:1!important}
  body header .menu-item-163,
  body .site-header .menu-item-163{grid-column:4!important;grid-row:1!important}
  body header .menu-item-164,
  body .site-header .menu-item-164{grid-column:1!important;grid-row:2!important}
  body header .menu-item-414,
  body .site-header .menu-item-414{grid-column:2!important;grid-row:2!important}
  body header .menu-item-228,
  body .site-header .menu-item-228{grid-column:3!important;grid-row:2!important}
  body header .menu-item-1516,
  body .site-header .menu-item-1516{grid-column:4!important;grid-row:2!important}
}


/* --- WPWriter addition --- */

/* ===== WORK LOG MOBILE OPTIMIZATION V2026-09-22 ===== */
@media(max-width:640px){
  body.page-id-222 .ss-wl{overflow-x:hidden!important}
  body.page-id-222 .ss-wl .ss-wl-wrap{
    width:calc(100% - 18px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }

  body.page-id-222 .ss-wl-hero{
    padding:18px 0 12px!important;
  }
  body.page-id-222 .ss-wl-hero img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:42vh!important;
    object-fit:cover!important;
    object-position:center!important;
    border-radius:10px!important;
  }
  body.page-id-222 .ss-wl-intro{
    margin:14px auto 0!important;
    max-width:34rem!important;
    padding:0 4px!important;
    font-size:.92rem!important;
    line-height:1.55!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-wl .ss-wl-section{
    padding:30px 0!important;
  }
  body.page-id-222 .ss-wl .ss-wl-title{
    margin:0 0 8px!important;
    font-size:clamp(1.55rem,8vw,2rem)!important;
    line-height:1.08!important;
    letter-spacing:.02em!important;
    text-align:center!important;
  }
  body.page-id-222 .ss-wl .ss-wl-sub{
    margin:0 0 18px!important;
    font-size:.78rem!important;
    line-height:1.4!important;
    letter-spacing:.04em!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-login-wrap{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.page-id-222 .ss-login{
    padding:18px 12px!important;
    border-radius:12px!important;
  }
  body.page-id-222 .ss-login-icon{
    margin-bottom:6px!important;
  }
  body.page-id-222 .ss-login-icon svg{
    width:46px!important;
    height:46px!important;
  }
  body.page-id-222 .ss-login h3{
    margin:6px 0!important;
    font-size:1.05rem!important;
    text-align:center!important;
  }
  body.page-id-222 .ss-login .role{
    margin-bottom:12px!important;
    font-size:.82rem!important;
    text-align:center!important;
  }
  body.page-id-222 .ss-field{
    height:44px!important;
    margin-bottom:8px!important;
    padding:0 10px!important;
  }
  body.page-id-222 .ss-field input{
    min-width:0!important;
    width:100%!important;
    font-size:16px!important;
  }
  body.page-id-222 .ss-login button{
    width:100%!important;
    min-height:44px!important;
  }
  body.page-id-222 .ss-login-meta{
    margin-top:10px!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:6px!important;
    font-size:.78rem!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-download{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.page-id-222 .ss-dl{
    min-height:100px!important;
    padding:10px 6px!important;
    border-radius:10px!important;
  }
  body.page-id-222 .ss-dl svg{
    width:28px!important;
    height:28px!important;
    margin-bottom:2px!important;
  }
  body.page-id-222 .ss-dl strong{
    font-size:.76rem!important;
    line-height:1.15!important;
  }
  body.page-id-222 .ss-pill{
    padding:4px 5px!important;
    font-size:.52rem!important;
    line-height:1.1!important;
    white-space:normal!important;
  }

  body.page-id-222 .ss-features{
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  body.page-id-222 .ss-f{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:11px!important;
    row-gap:2px!important;
    min-height:0!important;
    padding:13px 12px!important;
    align-items:center!important;
  }
  body.page-id-222 .ss-f .ss-ico{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:40px!important;
    height:40px!important;
    margin:0!important;
  }
  body.page-id-222 .ss-f .ss-ico svg{
    width:21px!important;
    height:21px!important;
  }
  body.page-id-222 .ss-f h3{
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
    font-size:.9rem!important;
    line-height:1.2!important;
    text-align:left!important;
  }
  body.page-id-222 .ss-f p{
    grid-column:2!important;
    grid-row:2!important;
    margin:2px 0 0!important;
    font-size:.76rem!important;
    line-height:1.4!important;
    text-align:left!important;
  }

  body.page-id-222 .ss-license{
    padding:20px 10px 24px!important;
    line-height:1.5!important;
  }
  body.page-id-222 .home-footer-brand{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

@media(max-width:390px){
  body.page-id-222 .ss-wl .ss-wl-wrap{width:calc(100% - 14px)!important}
  body.page-id-222 .ss-wl .ss-wl-section{padding:26px 0!important}
  body.page-id-222 .ss-wl .ss-wl-title{font-size:1.45rem!important}
  body.page-id-222 .ss-download{gap:6px!important}
  body.page-id-222 .ss-dl{min-height:94px!important;padding:8px 4px!important}
  body.page-id-222 .ss-dl strong{font-size:.7rem!important}
  body.page-id-222 .ss-pill{font-size:.48rem!important}
  body.page-id-222 .ss-f{grid-template-columns:38px minmax(0,1fr)!important;padding:12px 10px!important}
  body.page-id-222 .ss-f .ss-ico{width:36px!important;height:36px!important}
  body.page-id-222 .ss-f h3{font-size:.84rem!important}
  body.page-id-222 .ss-f p{font-size:.72rem!important}
}


/* --- WPWriter addition --- */

/* WORK LOG: remove obsolete license/contact block shown under content */
body.page-id-222 .ss-license,
body.page-id-222 .ss-footer-icon-row{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */

/* ===== WORK LOG MOBILE FINAL OPTIMIZATION — 2026-09-22 ===== */
@media(max-width:768px){
  body.page-id-222{
    overflow-x:hidden!important;
    background:#050505!important;
  }

  body.page-id-222 .ss-wl,
  body.page-id-222 .ss-wl *{
    box-sizing:border-box!important;
  }

  body.page-id-222 .ss-wl{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  body.page-id-222 .ss-wl .ss-wl-wrap{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }

  /* HERO */
  body.page-id-222 .ss-wl-hero{
    padding:14px 0 10px!important;
  }
  body.page-id-222 .ss-wl-hero img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:36vh!important;
    object-fit:cover!important;
    border-radius:10px!important;
  }
  body.page-id-222 .ss-wl-intro{
    margin:12px auto 0!important;
    padding:0 4px!important;
    font-size:.9rem!important;
    line-height:1.5!important;
    text-align:center!important;
  }

  /* SECTIONS */
  body.page-id-222 .ss-wl .ss-wl-section{
    padding:26px 0!important;
  }
  body.page-id-222 .ss-wl .ss-wl-title{
    margin:0 0 7px!important;
    font-size:clamp(1.45rem,7.5vw,2rem)!important;
    line-height:1.08!important;
    text-align:center!important;
  }
  body.page-id-222 .ss-wl .ss-wl-sub{
    margin:0 0 16px!important;
    font-size:.78rem!important;
    line-height:1.4!important;
    text-align:center!important;
  }

  /* LOGIN */
  body.page-id-222 .ss-login-wrap{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body.page-id-222 .ss-login{
    padding:16px 12px!important;
    border-radius:12px!important;
  }
  body.page-id-222 .ss-login-icon svg{
    width:42px!important;
    height:42px!important;
  }
  body.page-id-222 .ss-login h3{
    margin:5px 0!important;
    font-size:1rem!important;
    text-align:center!important;
  }
  body.page-id-222 .ss-login .role{
    margin-bottom:10px!important;
    font-size:.8rem!important;
    text-align:center!important;
  }
  body.page-id-222 .ss-field{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:44px!important;
    margin-bottom:8px!important;
    padding:0 10px!important;
  }
  body.page-id-222 .ss-field input{
    width:100%!important;
    min-width:0!important;
    font-size:16px!important;
  }
  body.page-id-222 .ss-login button{
    width:100%!important;
    min-height:44px!important;
    font-size:.8rem!important;
  }
  body.page-id-222 .ss-login-meta{
    margin-top:9px!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:5px!important;
    font-size:.76rem!important;
    text-align:center!important;
  }

  /* SOFTWARE DOWNLOAD */
  body.page-id-222 .ss-download{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
  }
  body.page-id-222 .ss-dl{
    min-width:0!important;
    min-height:96px!important;
    padding:9px 5px!important;
    border-radius:10px!important;
  }
  body.page-id-222 .ss-dl svg{
    width:27px!important;
    height:27px!important;
    margin-bottom:3px!important;
  }
  body.page-id-222 .ss-dl strong{
    font-size:.74rem!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
  }
  body.page-id-222 .ss-pill{
    font-size:.5rem!important;
    line-height:1.1!important;
    padding:4px 5px!important;
    white-space:normal!important;
    text-align:center!important;
  }

  /* 10 FEATURE CARDS */
  body.page-id-222 .ss-features{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.page-id-222 .ss-f{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    row-gap:2px!important;
    min-height:0!important;
    padding:12px 11px!important;
    align-items:center!important;
  }
  body.page-id-222 .ss-f .ss-ico{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:38px!important;
    height:38px!important;
    margin:0!important;
  }
  body.page-id-222 .ss-f .ss-ico svg{
    width:20px!important;
    height:20px!important;
  }
  body.page-id-222 .ss-f h3{
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
    font-size:.86rem!important;
    line-height:1.18!important;
    text-align:left!important;
  }
  body.page-id-222 .ss-f p{
    grid-column:2!important;
    grid-row:2!important;
    margin:1px 0 0!important;
    font-size:.73rem!important;
    line-height:1.35!important;
    text-align:left!important;
  }

  /* FOOTER */
  body.page-id-222 .ss-final-footer{
    padding:14px 8px 18px!important;
  }
  body.page-id-222 .ss-final-footer-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin-bottom:16px!important;
  }
  body.page-id-222 .ss-final-footer-nav a{
    min-height:42px!important;
    font-size:.62rem!important;
    padding:6px 4px!important;
  }
  body.page-id-222 .ss-final-footer-nav a:last-child{
    grid-column:1 / -1!important;
  }
  body.page-id-222 .ss-final-footer-logo{
    width:min(100%,620px)!important;
    margin-bottom:12px!important;
  }
  body.page-id-222 .ss-final-footer-icons{
    gap:32px!important;
    margin-bottom:14px!important;
  }
  body.page-id-222 .ss-final-footer-icons a{
    width:54px!important;
    height:54px!important;
  }
  body.page-id-222 .ss-final-footer-icons svg{
    width:25px!important;
    height:25px!important;
  }
  body.page-id-222 .ss-final-footer-tagline{
    font-size:.84rem!important;
    line-height:1.3!important;
    letter-spacing:.08em!important;
    padding:16px 6px!important;
  }
  body.page-id-222 .ss-final-footer-copy{
    font-size:.68rem!important;
    padding-top:14px!important;
  }

  /* FLOATING ÁdI */
  body.page-id-222 .adi-float-widget{
    right:10px!important;
    bottom:10px!important;
    max-width:calc(100vw - 20px)!important;
  }
  body.page-id-222 .adi-float-widget summary{
    padding:6px 10px 6px 6px!important;
    gap:8px!important;
  }
  body.page-id-222 .adi-float-widget summary img{
    width:38px!important;
    height:38px!important;
  }
  body.page-id-222 .adi-float-widget summary span{
    font-size:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-222 .ss-wl .ss-wl-wrap{
    width:calc(100% - 14px)!important;
  }
  body.page-id-222 .ss-wl .ss-wl-section{
    padding:22px 0!important;
  }
  body.page-id-222 .ss-download{
    gap:6px!important;
  }
  body.page-id-222 .ss-dl{
    min-height:90px!important;
    padding:8px 4px!important;
  }
  body.page-id-222 .ss-dl strong{
    font-size:.68rem!important;
  }
  body.page-id-222 .ss-pill{
    font-size:.46rem!important;
  }
  body.page-id-222 .ss-f{
    grid-template-columns:36px minmax(0,1fr)!important;
    padding:11px 9px!important;
  }
  body.page-id-222 .ss-f .ss-ico{
    width:34px!important;
    height:34px!important;
  }
  body.page-id-222 .ss-f h3{
    font-size:.8rem!important;
  }
  body.page-id-222 .ss-f p{
    font-size:.69rem!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HEADER + FOOTER 8 ITEMS / 2 ROWS OF 4 — 2026-09-22 ===== */
@media(max-width:899px){
  body header nav:has(.menu-content-container) ul.menu,
  body .site-header nav:has(.menu-content-container) ul.menu,
  body header .menu-content-container ul,
  body .site-header .menu-content-container ul{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
  }

  body .ss-final-footer-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:8px!important;
    width:100%!important;
    max-width:900px!important;
    margin:0 auto 20px!important;
  }

  body .ss-final-footer-nav a{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
    width:100%!important;
    min-height:44px!important;
    padding:7px 4px!important;
    font-size:.58rem!important;
    line-height:1.12!important;
    text-align:center!important;
  }

  body .ss-final-footer-nav a:last-child{
    grid-column:auto!important;
    grid-row:auto!important;
  }
}

@media(max-width:390px){
  body .ss-final-footer-nav{gap:6px!important}
  body .ss-final-footer-nav a{font-size:.53rem!important;padding:6px 2px!important}
}


/* --- WPWriter addition --- */

/* ===== GLOBAL MOBILE OPTIMIZATION — SOCHO SONS — 2026-09-22 ===== */
@media(max-width:768px){

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%!important;
  }

  body *{
    box-sizing:border-box!important;
  }

  body img,
  body video,
  body iframe,
  body svg{
    max-width:100%!important;
  }

  body input,
  body select,
  body textarea,
  body button{
    max-width:100%!important;
    font-size:16px!important;
  }

  /* HEADER */
  body header,
  body .site-header,
  body .wp-site-blocks>header{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    padding:12px 10px 10px!important;
    overflow:visible!important;
  }

  body header .site-branding,
  body .site-header .site-branding{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:0 10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }

  body header .custom-logo,
  body .site-header .custom-logo,
  body header .site-logo img,
  body .site-header .site-logo img,
  body .wp-block-site-logo img{
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
  }

  body header .site-title a,
  body .site-header .site-title a,
  body .wp-block-site-title a{
    font-size:.96rem!important;
    line-height:1.05!important;
    white-space:normal!important;
  }

  body header .site-description,
  body .site-header .site-description,
  body .wp-block-site-tagline{
    font-size:.65rem!important;
    line-height:1.15!important;
    white-space:normal!important;
  }

  /* HEADER MENU: 8 ITEMS = 4 + 4 */
  body header nav:has(.menu-content-container),
  body .site-header nav:has(.menu-content-container),
  body header .menu-content-container,
  body .site-header .menu-content-container{
    display:block!important;
    visibility:visible!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:10px 0 0!important;
    padding:9px 0 0!important;
    border-top:1px solid rgba(215,173,82,.28)!important;
    overflow:visible!important;
  }

  body header nav:has(.menu-content-container) ul.menu,
  body .site-header nav:has(.menu-content-container) ul.menu,
  body header .menu-content-container ul,
  body .site-header .menu-content-container ul{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }

  body header .menu-content-container li,
  body .site-header .menu-content-container li{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  body header .menu-content-container a,
  body .site-header .menu-content-container a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:6px 3px!important;
    border:1px solid rgba(215,173,82,.34)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.55rem!important;
    line-height:1.12!important;
    font-weight:900!important;
    letter-spacing:.015em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    white-space:normal!important;
  }

  /* MAIN CONTENT */
  body main,
  body .site-main,
  body .entry-content,
  body .wp-block-post-content{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  body .ss-wrap,
  body .wrap,
  body .ss-wl-wrap,
  body .ss-page .ss-wrap,
  body .ss-contact .ss-wrap{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body section{
    max-width:100%!important;
  }

  body h1{
    font-size:clamp(2rem,10vw,3.15rem)!important;
    line-height:1.02!important;
    overflow-wrap:anywhere!important;
  }

  body h2{
    font-size:clamp(1.5rem,7.5vw,2.15rem)!important;
    line-height:1.08!important;
    overflow-wrap:anywhere!important;
  }

  body h3{
    overflow-wrap:anywhere!important;
  }

  body p{
    font-size:.95rem!important;
    line-height:1.6!important;
    overflow-wrap:anywhere!important;
  }

  body a,
  body button{
    -webkit-tap-highlight-color:transparent!important;
  }

  /* CARDS / GRIDS */
  body .ss-values,
  body .ss-commit,
  body .ss-grid,
  body .cards,
  body .split,
  body .top-grid,
  body .message-box{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body .ss-card,
  body .card,
  body .ss-list{
    padding:18px 14px!important;
    border-radius:12px!important;
  }

  /* BUTTONS */
  body .ss-btn,
  body .btn,
  body a[style*="padding"],
  body button{
    min-height:44px!important;
  }

  /* FOOTER: 8 ITEMS = 4 + 4 */
  body .ss-final-footer{
    width:100%!important;
    max-width:100%!important;
    padding:14px 8px 18px!important;
    overflow:hidden!important;
  }

  body .ss-final-footer-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto 16px!important;
  }

  body .ss-final-footer-nav a{
    grid-column:auto!important;
    grid-row:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    padding:6px 2px!important;
    font-size:.54rem!important;
    line-height:1.12!important;
    text-align:center!important;
    white-space:normal!important;
  }

  body .ss-final-footer-nav a:last-child{
    grid-column:auto!important;
    grid-row:auto!important;
  }

  body .ss-final-footer-logo{
    width:min(100%,620px)!important;
    height:auto!important;
    margin:0 auto 12px!important;
  }

  body .ss-final-footer-icons{
    gap:30px!important;
    margin-bottom:14px!important;
  }

  body .ss-final-footer-icons a{
    width:52px!important;
    height:52px!important;
  }

  body .ss-final-footer-icons svg{
    width:24px!important;
    height:24px!important;
  }

  body .ss-final-footer-tagline{
    padding:15px 6px!important;
    font-size:.82rem!important;
    line-height:1.3!important;
    letter-spacing:.08em!important;
  }

  body .ss-final-footer-copy{
    padding-top:12px!important;
    font-size:.66rem!important;
  }

  /* ÁdI FLOAT */
  body .adi-float-widget{
    right:10px!important;
    bottom:10px!important;
    max-width:calc(100vw - 20px)!important;
  }

  body .adi-float-widget summary{
    padding:6px 10px 6px 6px!important;
    gap:7px!important;
  }

  body .adi-float-widget summary img{
    width:38px!important;
    height:38px!important;
  }

  body .adi-float-widget summary span{
    font-size:12px!important;
  }
}

@media(max-width:390px){
  body .ss-wrap,
  body .wrap,
  body .ss-wl-wrap,
  body .ss-page .ss-wrap,
  body .ss-contact .ss-wrap{
    width:calc(100% - 14px)!important;
  }

  body header .menu-content-container a,
  body .site-header .menu-content-container a,
  body .ss-final-footer-nav a{
    font-size:.5rem!important;
    padding:5px 2px!important;
  }

  body .ss-final-footer-nav{
    gap:5px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== WORK LOG MOBILE NAV FIX — 8 LINKS, 4+4 ===== */
body.page-id-222 .ss-mobile-main-nav{display:none!important}

@media(max-width:899px){
  /* remove the theme's oversized/duplicate mobile navigation on Work Log */
  body.page-id-222 header nav,
  body.page-id-222 .site-header nav,
  body.page-id-222 #site-navigation,
  body.page-id-222 .main-navigation,
  body.page-id-222 .primary-navigation,
  body.page-id-222 .site-navigation{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  body.page-id-222 .ss-mobile-main-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin:10px auto 14px!important;
    padding:0!important;
    background:#050505!important;
  }

  body.page-id-222 .ss-mobile-main-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:42px!important;
    padding:6px 3px!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.55rem!important;
    line-height:1.12!important;
    font-weight:900!important;
    letter-spacing:.015em!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Footer stays 8 links in two rows */
  body.page-id-222 .ss-final-footer-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
  }
  body.page-id-222 .ss-final-footer-nav a,
  body.page-id-222 .ss-final-footer-nav a:last-child{
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:42px!important;
    font-size:.55rem!important;
    padding:6px 3px!important;
  }
}

@media(max-width:390px){
  body.page-id-222 .ss-mobile-main-nav{
    width:calc(100% - 14px)!important;
    gap:5px!important;
  }
  body.page-id-222 .ss-mobile-main-nav a,
  body.page-id-222 .ss-final-footer-nav a{
    font-size:.49rem!important;
    padding:5px 2px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== FINAL WORK LOG MOBILE HEADER MENU FIX — 2026-09-22 ===== */
@media(max-width:899px){

  /* Hide every old/duplicate theme navigation on Work Log */
  body.page-id-222 header nav,
  body.page-id-222 .site-header nav,
  body.page-id-222 #site-navigation,
  body.page-id-222 .main-navigation,
  body.page-id-222 .primary-navigation,
  body.page-id-222 .site-navigation,
  body.page-id-222 .menu-content-container{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  /* Show only the custom 8-item mobile menu */
  body.page-id-222 .ss-mobile-main-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
    width:calc(100% - 18px)!important;
    max-width:none!important;
    margin:10px auto 14px!important;
    padding:0!important;
    background:#050505!important;
  }

  body.page-id-222 .ss-mobile-main-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:6px 3px!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.54rem!important;
    line-height:1.12!important;
    font-weight:900!important;
    letter-spacing:.015em!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Force exact horizontal 4 + 4 placement */
  body.page-id-222 .ss-mobile-main-nav a:nth-child(1){grid-column:1!important;grid-row:1!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(2){grid-column:2!important;grid-row:1!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(3){grid-column:3!important;grid-row:1!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(4){grid-column:4!important;grid-row:1!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(5){grid-column:1!important;grid-row:2!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(6){grid-column:2!important;grid-row:2!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(7){grid-column:3!important;grid-row:2!important}
  body.page-id-222 .ss-mobile-main-nav a:nth-child(8){grid-column:4!important;grid-row:2!important}

  /* Footer: same 4 + 4 layout */
  body.page-id-222 .ss-final-footer-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
  }

  body.page-id-222 .ss-final-footer-nav a,
  body.page-id-222 .ss-final-footer-nav a:last-child{
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    padding:6px 3px!important;
    font-size:.53rem!important;
    line-height:1.12!important;
    white-space:normal!important;
  }
}

@media(max-width:390px){
  body.page-id-222 .ss-mobile-main-nav{
    width:calc(100% - 14px)!important;
    gap:5px!important;
  }
  body.page-id-222 .ss-mobile-main-nav a,
  body.page-id-222 .ss-final-footer-nav a{
    font-size:.48rem!important;
    padding:5px 2px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== WORK LOG MOBILE POLISH — 2026-09-22 ===== */
@media(max-width:768px){
  body.page-id-222{
    background:#050505!important;
    overflow-x:hidden!important;
  }

  body.page-id-222 .ss-mobile-main-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    width:calc(100% - 12px)!important;
    margin:8px auto 12px!important;
  }

  body.page-id-222 .ss-mobile-main-nav>a{
    min-height:38px!important;
    padding:5px 2px!important;
    font-size:.49rem!important;
    letter-spacing:.01em!important;
    border-radius:7px!important;
  }

  body.page-id-222 .ss-wl{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  body.page-id-222 .ss-wl .ss-wl-wrap{
    width:calc(100% - 16px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }

  body.page-id-222 .ss-wl-hero{
    padding:10px 0 8px!important;
  }

  body.page-id-222 .ss-wl-hero img{
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    border-radius:10px!important;
    object-fit:contain!important;
  }

  body.page-id-222 .ss-wl-intro{
    margin:14px auto 0!important;
    max-width:34rem!important;
    padding:0 6px!important;
    font-size:.92rem!important;
    line-height:1.5!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-wl .ss-wl-section{
    padding:24px 0!important;
  }

  body.page-id-222 .ss-wl .ss-wl-title{
    margin:0 0 8px!important;
    font-size:clamp(1.4rem,7vw,1.9rem)!important;
    line-height:1.08!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-wl .ss-wl-sub{
    margin:0 0 14px!important;
    font-size:.76rem!important;
    line-height:1.35!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-login-wrap{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:15px 12px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-login-icon svg{
    width:40px!important;
    height:40px!important;
  }

  body.page-id-222 .ss-login h3{
    margin:5px 0!important;
    font-size:1rem!important;
    line-height:1.2!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-login .role{
    margin-bottom:10px!important;
    font-size:.8rem!important;
    line-height:1.35!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-field{
    min-height:44px!important;
    height:44px!important;
    margin-bottom:8px!important;
    padding:0 10px!important;
  }

  body.page-id-222 .ss-field input{
    width:100%!important;
    min-width:0!important;
    font-size:16px!important;
  }

  body.page-id-222 .ss-login button{
    width:100%!important;
    min-height:44px!important;
    font-size:.78rem!important;
  }

  body.page-id-222 .ss-login-meta{
    margin-top:9px!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:5px!important;
    font-size:.74rem!important;
    text-align:center!important;
  }

  body.page-id-222 .ss-download{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
  }

  body.page-id-222 .ss-dl{
    min-height:92px!important;
    padding:9px 5px!important;
    border-radius:10px!important;
  }

  body.page-id-222 .ss-dl svg{
    width:26px!important;
    height:26px!important;
    margin-bottom:2px!important;
  }

  body.page-id-222 .ss-dl strong{
    font-size:.72rem!important;
    line-height:1.15!important;
    white-space:normal!important;
  }

  body.page-id-222 .ss-pill{
    font-size:.48rem!important;
    line-height:1.1!important;
    padding:4px 5px!important;
    white-space:normal!important;
  }

  body.page-id-222 .ss-features{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  body.page-id-222 .ss-f{
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    row-gap:2px!important;
    min-height:0!important;
    padding:11px 10px!important;
    align-items:center!important;
  }

  body.page-id-222 .ss-f .ss-ico{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:34px!important;
    height:34px!important;
    margin:0!important;
  }

  body.page-id-222 .ss-f .ss-ico svg{
    width:18px!important;
    height:18px!important;
  }

  body.page-id-222 .ss-f h3{
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
    font-size:.8rem!important;
    line-height:1.18!important;
    text-align:left!important;
  }

  body.page-id-222 .ss-f p{
    grid-column:2!important;
    grid-row:2!important;
    margin:1px 0 0!important;
    font-size:.69rem!important;
    line-height:1.35!important;
    text-align:left!important;
  }

  body.page-id-222 .ss-final-footer{
    padding:12px 8px 16px!important;
  }

  body.page-id-222 .ss-final-footer-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    margin-bottom:14px!important;
  }

  body.page-id-222 .ss-final-footer-nav a{
    min-height:38px!important;
    font-size:.49rem!important;
    padding:5px 2px!important;
  }

  body.page-id-222 .ss-final-footer-logo{
    margin-bottom:10px!important;
  }

  body.page-id-222 .ss-final-footer-icons{
    gap:28px!important;
    margin-bottom:12px!important;
  }

  body.page-id-222 .ss-final-footer-icons a{
    width:50px!important;
    height:50px!important;
  }

  body.page-id-222 .ss-final-footer-icons svg{
    width:23px!important;
    height:23px!important;
  }

  body.page-id-222 .adi-float-widget{
    right:8px!important;
    bottom:8px!important;
    max-width:calc(100vw - 16px)!important;
  }

  body.page-id-222 .adi-float-widget summary{
    padding:5px 9px 5px 5px!important;
  }

  body.page-id-222 .adi-float-widget summary img{
    width:36px!important;
    height:36px!important;
  }

  body.page-id-222 .adi-float-widget summary span{
    font-size:11px!important;
  }
}

@media(max-width:390px){
  body.page-id-222 .ss-mobile-main-nav{
    width:calc(100% - 8px)!important;
    gap:4px!important;
  }

  body.page-id-222 .ss-mobile-main-nav>a,
  body.page-id-222 .ss-final-footer-nav a{
    font-size:.45rem!important;
    min-height:36px!important;
    padding:4px 1px!important;
  }

  body.page-id-222 .ss-wl .ss-wl-wrap{
    width:calc(100% - 12px)!important;
  }
}


/* --- WPWriter addition --- */

/* ===== WORK LOG HEADER BRAND + SPACING RESTORE — 2026-09-22 ===== */
@media(max-width:899px){
  body.page-id-222 header,
  body.page-id-222 .site-header{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding:12px 10px 8px!important;
    background:#050505!important;
  }

  body.page-id-222 header .site-branding,
  body.page-id-222 .site-header .site-branding{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    width:100%!important;
    height:auto!important;
    margin:0 0 10px!important;
  }

  body.page-id-222 header .custom-logo-link,
  body.page-id-222 .site-header .custom-logo-link{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    grid-column:1!important;
    grid-row:1 / span 2!important;
  }

  body.page-id-222 header .custom-logo,
  body.page-id-222 .site-header .custom-logo{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
  }

  body.page-id-222 header .site-title,
  body.page-id-222 .site-header .site-title,
  body.page-id-222 header .site-description,
  body.page-id-222 .site-header .site-description{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }

  body.page-id-222 header .site-title,
  body.page-id-222 .site-header .site-title{
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    margin:0!important;
  }

  body.page-id-222 header .site-title a,
  body.page-id-222 .site-header .site-title a{
    display:block!important;
    color:#f3d783!important;
    font-size:1rem!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:.035em!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    white-space:normal!important;
  }

  body.page-id-222 header .site-description,
  body.page-id-222 .site-header .site-description{
    grid-column:2!important;
    grid-row:2!important;
    margin:4px 0 0!important;
    color:#fff!important;
    font-size:.64rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.06em!important;
    white-space:normal!important;
  }

  body.page-id-222 .ss-mobile-main-nav{
    margin-top:8px!important;
    margin-bottom:18px!important;
  }

  body.page-id-222 .ss-wl-hero{
    padding-top:12px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== WORK LOG REMOVE LARGE MOBILE GAP — 2026-09-22 ===== */
@media(max-width:899px){
  body.page-id-222 .entry-content,
  body.page-id-222 .wp-block-post-content,
  body.page-id-222 main,
  body.page-id-222 .site-main{
    padding-top:0!important;
    margin-top:0!important;
  }
  body.page-id-222 .ss-mobile-main-nav{
    margin-bottom:12px!important;
  }
  body.page-id-222 .ss-mobile-main-nav + .ss-wl{
    margin-top:0!important;
    padding-top:0!important;
  }
  body.page-id-222 .ss-wl-hero{
    margin-top:0!important;
    padding-top:8px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== UNIFIED MOBILE HEADER — ALL MAIN PAGES — 2026-09-22 ===== */
@media(max-width:899px){
  body.page-id-2 header,
  body.page-id-196 header,
  body.page-id-15 header,
  body.page-id-124 header,
  body.page-id-85 header,
  body.page-id-413 header,
  body.page-id-222 header,
  body.page-id-1398 header,
  body.page-id-2 .site-header,
  body.page-id-196 .site-header,
  body.page-id-15 .site-header,
  body.page-id-124 .site-header,
  body.page-id-85 .site-header,
  body.page-id-413 .site-header,
  body.page-id-222 .site-header,
  body.page-id-1398 .site-header{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:12px 10px 8px!important;
    background:#050505!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    overflow:visible!important;
  }

  body.page-id-2 header .site-branding,
  body.page-id-196 header .site-branding,
  body.page-id-15 header .site-branding,
  body.page-id-124 header .site-branding,
  body.page-id-85 header .site-branding,
  body.page-id-413 header .site-branding,
  body.page-id-222 header .site-branding,
  body.page-id-1398 header .site-branding,
  body.page-id-2 .site-header .site-branding,
  body.page-id-196 .site-header .site-branding,
  body.page-id-15 .site-header .site-branding,
  body.page-id-124 .site-header .site-branding,
  body.page-id-85 .site-header .site-branding,
  body.page-id-413 .site-header .site-branding,
  body.page-id-222 .site-header .site-branding,
  body.page-id-1398 .site-header .site-branding{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    width:100%!important;
    margin:0!important;
  }

  body.page-id-2 header .custom-logo,
  body.page-id-196 header .custom-logo,
  body.page-id-15 header .custom-logo,
  body.page-id-124 header .custom-logo,
  body.page-id-85 header .custom-logo,
  body.page-id-413 header .custom-logo,
  body.page-id-222 header .custom-logo,
  body.page-id-1398 header .custom-logo,
  body.page-id-2 .site-header .custom-logo,
  body.page-id-196 .site-header .custom-logo,
  body.page-id-15 .site-header .custom-logo,
  body.page-id-124 .site-header .custom-logo,
  body.page-id-85 .site-header .custom-logo,
  body.page-id-413 .site-header .custom-logo,
  body.page-id-222 .site-header .custom-logo,
  body.page-id-1398 .site-header .custom-logo{
    display:block!important;
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
  }

  body.page-id-2 header .site-title,
  body.page-id-196 header .site-title,
  body.page-id-15 header .site-title,
  body.page-id-124 header .site-title,
  body.page-id-85 header .site-title,
  body.page-id-413 header .site-title,
  body.page-id-222 header .site-title,
  body.page-id-1398 header .site-title,
  body.page-id-2 .site-header .site-title,
  body.page-id-196 .site-header .site-title,
  body.page-id-15 .site-header .site-title,
  body.page-id-124 .site-header .site-title,
  body.page-id-85 .site-header .site-title,
  body.page-id-413 .site-header .site-title,
  body.page-id-222 .site-header .site-title,
  body.page-id-1398 .site-header .site-title{
    display:block!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    margin:0!important;
  }

  body.page-id-2 header .site-title a,
  body.page-id-196 header .site-title a,
  body.page-id-15 header .site-title a,
  body.page-id-124 header .site-title a,
  body.page-id-85 header .site-title a,
  body.page-id-413 header .site-title a,
  body.page-id-222 header .site-title a,
  body.page-id-1398 header .site-title a,
  body.page-id-2 .site-header .site-title a,
  body.page-id-196 .site-header .site-title a,
  body.page-id-15 .site-header .site-title a,
  body.page-id-124 .site-header .site-title a,
  body.page-id-85 .site-header .site-title a,
  body.page-id-413 .site-header .site-title a,
  body.page-id-222 .site-header .site-title a,
  body.page-id-1398 .site-header .site-title a{
    display:block!important;
    color:#f3d783!important;
    font-size:1rem!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:.035em!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
  }

  body.page-id-2 header .site-description,
  body.page-id-196 header .site-description,
  body.page-id-15 header .site-description,
  body.page-id-124 header .site-description,
  body.page-id-85 header .site-description,
  body.page-id-413 header .site-description,
  body.page-id-222 header .site-description,
  body.page-id-1398 header .site-description,
  body.page-id-2 .site-header .site-description,
  body.page-id-196 .site-header .site-description,
  body.page-id-15 .site-header .site-description,
  body.page-id-124 .site-header .site-description,
  body.page-id-85 .site-header .site-description,
  body.page-id-413 .site-header .site-description,
  body.page-id-222 .site-header .site-description,
  body.page-id-1398 .site-header .site-description{
    display:block!important;
    grid-column:2!important;
    grid-row:2!important;
    margin:4px 0 0!important;
    color:#fff!important;
    font-size:.64rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.06em!important;
  }

  /* Hide the old theme navigation on these pages */
  body.page-id-2 header nav, body.page-id-196 header nav, body.page-id-15 header nav,
  body.page-id-124 header nav, body.page-id-85 header nav, body.page-id-413 header nav,
  body.page-id-222 header nav, body.page-id-1398 header nav,
  body.page-id-2 .site-header nav, body.page-id-196 .site-header nav, body.page-id-15 .site-header nav,
  body.page-id-124 .site-header nav, body.page-id-85 .site-header nav, body.page-id-413 .site-header nav,
  body.page-id-222 .site-header nav, body.page-id-1398 .site-header nav{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  body .ss-global-mobile-nav,
  body.page-id-222 .ss-mobile-main-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:7px!important;
    width:calc(100% - 16px)!important;
    margin:10px auto 14px!important;
    padding:0!important;
    background:#050505!important;
  }

  body .ss-global-mobile-nav>a,
  body.page-id-222 .ss-mobile-main-nav>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:6px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.52rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }
}
@media(min-width:900px){
  body .ss-global-mobile-nav{display:none!important}
}


/* --- WPWriter addition --- */

/* ===== SOCHO SONS GLOBAL MOBILE POLISH — 2026-09-22 ===== */
@media(max-width:768px){

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%!important;
  }

  body{
    background:#050505!important;
  }

  body *,
  body *::before,
  body *::after{
    box-sizing:border-box!important;
  }

  body img,
  body video,
  body iframe,
  body svg{
    max-width:100%!important;
  }

  body input,
  body select,
  body textarea,
  body button{
    max-width:100%!important;
    font-size:16px!important;
  }

  /* Shared content width */
  body.page-id-2 .ss-wrap,
  body.page-id-196 .ss-wrap,
  body.page-id-15 .ss-wrap,
  body.page-id-124 .ss-wrap,
  body.page-id-85 .ss-wrap,
  body.page-id-413 .ss-wrap,
  body.page-id-222 .ss-wl-wrap,
  body.page-id-1398 .ss-wrap,
  body.page-id-2 .wrap,
  body.page-id-196 .wrap,
  body.page-id-15 .wrap,
  body.page-id-124 .wrap,
  body.page-id-85 .wrap,
  body.page-id-413 .wrap,
  body.page-id-1398 .wrap{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Unified header spacing */
  body.page-id-2 header,
  body.page-id-196 header,
  body.page-id-15 header,
  body.page-id-124 header,
  body.page-id-85 header,
  body.page-id-413 header,
  body.page-id-222 header,
  body.page-id-1398 header,
  body.page-id-2 .site-header,
  body.page-id-196 .site-header,
  body.page-id-15 .site-header,
  body.page-id-124 .site-header,
  body.page-id-85 .site-header,
  body.page-id-413 .site-header,
  body.page-id-222 .site-header,
  body.page-id-1398 .site-header{
    padding:10px 10px 8px!important;
  }

  /* Brand sizing */
  body.page-id-2 header .site-branding,
  body.page-id-196 header .site-branding,
  body.page-id-15 header .site-branding,
  body.page-id-124 header .site-branding,
  body.page-id-85 header .site-branding,
  body.page-id-413 header .site-branding,
  body.page-id-222 header .site-branding,
  body.page-id-1398 header .site-branding,
  body.page-id-2 .site-header .site-branding,
  body.page-id-196 .site-header .site-branding,
  body.page-id-15 .site-header .site-branding,
  body.page-id-124 .site-header .site-branding,
  body.page-id-85 .site-header .site-branding,
  body.page-id-413 .site-header .site-branding,
  body.page-id-222 .site-header .site-branding,
  body.page-id-1398 .site-header .site-branding{
    grid-template-columns:58px minmax(0,1fr)!important;
    column-gap:9px!important;
  }

  body.page-id-2 header .custom-logo,
  body.page-id-196 header .custom-logo,
  body.page-id-15 header .custom-logo,
  body.page-id-124 header .custom-logo,
  body.page-id-85 header .custom-logo,
  body.page-id-413 header .custom-logo,
  body.page-id-222 header .custom-logo,
  body.page-id-1398 header .custom-logo,
  body.page-id-2 .site-header .custom-logo,
  body.page-id-196 .site-header .custom-logo,
  body.page-id-15 .site-header .custom-logo,
  body.page-id-124 .site-header .custom-logo,
  body.page-id-85 .site-header .custom-logo,
  body.page-id-413 .site-header .custom-logo,
  body.page-id-222 .site-header .custom-logo,
  body.page-id-1398 .site-header .custom-logo{
    width:56px!important;
    max-width:56px!important;
    height:56px!important;
  }

  body.page-id-2 header .site-title a,
  body.page-id-196 header .site-title a,
  body.page-id-15 header .site-title a,
  body.page-id-124 header .site-title a,
  body.page-id-85 header .site-title a,
  body.page-id-413 header .site-title a,
  body.page-id-222 header .site-title a,
  body.page-id-1398 header .site-title a,
  body.page-id-2 .site-header .site-title a,
  body.page-id-196 .site-header .site-title a,
  body.page-id-15 .site-header .site-title a,
  body.page-id-124 .site-header .site-title a,
  body.page-id-85 .site-header .site-title a,
  body.page-id-413 .site-header .site-title a,
  body.page-id-222 .site-header .site-title a,
  body.page-id-1398 .site-header .site-title a{
    font-size:.93rem!important;
    line-height:1.05!important;
  }

  body.page-id-2 header .site-description,
  body.page-id-196 header .site-description,
  body.page-id-15 header .site-description,
  body.page-id-124 header .site-description,
  body.page-id-85 header .site-description,
  body.page-id-413 header .site-description,
  body.page-id-222 header .site-description,
  body.page-id-1398 header .site-description,
  body.page-id-2 .site-header .site-description,
  body.page-id-196 .site-header .site-description,
  body.page-id-15 .site-header .site-description,
  body.page-id-124 .site-header .site-description,
  body.page-id-85 .site-header .site-description,
  body.page-id-413 .site-header .site-description,
  body.page-id-222 .site-header .site-description,
  body.page-id-1398 .site-header .site-description{
    font-size:.61rem!important;
    line-height:1.14!important;
  }

  /* 8-link mobile navigation */
  body .ss-global-mobile-nav,
  body.page-id-222 .ss-mobile-main-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    width:calc(100% - 12px)!important;
    margin:8px auto 12px!important;
  }

  body .ss-global-mobile-nav>a,
  body.page-id-222 .ss-mobile-main-nav>a{
    min-height:38px!important;
    padding:5px 2px!important;
    font-size:.49rem!important;
    line-height:1.08!important;
    border-radius:7px!important;
  }

  /* Main typography */
  body.page-id-2 h1,
  body.page-id-196 h1,
  body.page-id-15 h1,
  body.page-id-124 h1,
  body.page-id-85 h1,
  body.page-id-413 h1,
  body.page-id-222 h1,
  body.page-id-1398 h1{
    font-size:clamp(2rem,10vw,3rem)!important;
    line-height:1.02!important;
    overflow-wrap:anywhere!important;
  }

  body.page-id-2 h2,
  body.page-id-196 h2,
  body.page-id-15 h2,
  body.page-id-124 h2,
  body.page-id-85 h2,
  body.page-id-413 h2,
  body.page-id-222 h2,
  body.page-id-1398 h2{
    font-size:clamp(1.45rem,7.2vw,2.05rem)!important;
    line-height:1.08!important;
    overflow-wrap:anywhere!important;
  }

  body.page-id-2 p,
  body.page-id-196 p,
  body.page-id-15 p,
  body.page-id-124 p,
  body.page-id-85 p,
  body.page-id-413 p,
  body.page-id-222 p,
  body.page-id-1398 p{
    font-size:.93rem!important;
    line-height:1.58!important;
    overflow-wrap:anywhere!important;
  }

  /* Sections */
  body.page-id-2 section,
  body.page-id-196 section,
  body.page-id-15 section,
  body.page-id-124 section,
  body.page-id-85 section,
  body.page-id-413 section,
  body.page-id-1398 section{
    max-width:100%!important;
  }

  body.page-id-2 .ss-section,
  body.page-id-196 .ss-section,
  body.page-id-15 .ss-section,
  body.page-id-124 .ss-section,
  body.page-id-85 .ss-section,
  body.page-id-413 .ss-section{
    padding-top:38px!important;
    padding-bottom:38px!important;
  }

  /* Grids and cards */
  body .ss-values,
  body .ss-commit,
  body .ss-grid,
  body .cards,
  body .split,
  body .top-grid,
  body .message-box{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body .ss-card,
  body .card,
  body .ss-list{
    padding:18px 14px!important;
    border-radius:12px!important;
  }

  /* CTA and buttons */
  body .ss-btn,
  body .btn,
  body button,
  body a[style*="padding"]{
    min-height:44px!important;
  }

  /* Work Log specifics */
  body.page-id-222 .ss-wl-hero{
    padding:8px 0 8px!important;
  }

  body.page-id-222 .ss-wl-hero img{
    width:100%!important;
    height:auto!important;
    object-fit:contain!important;
    border-radius:10px!important;
  }

  body.page-id-222 .ss-login-wrap{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-download{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-222 .ss-features{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  /* Footer */
  body .ss-final-footer{
    padding:12px 8px 16px!important;
  }

  body .ss-final-footer-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    margin-bottom:14px!important;
  }

  body .ss-final-footer-nav a,
  body .ss-final-footer-nav a:last-child{
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:38px!important;
    padding:5px 2px!important;
    font-size:.49rem!important;
    line-height:1.08!important;
  }

  body .ss-final-footer-logo{
    width:min(100%,620px)!important;
    margin-bottom:10px!important;
  }

  body .ss-final-footer-icons{
    gap:28px!important;
    margin-bottom:12px!important;
  }

  body .ss-final-footer-icons a{
    width:50px!important;
    height:50px!important;
  }

  body .ss-final-footer-icons svg{
    width:23px!important;
    height:23px!important;
  }

  /* Floating ÁdI */
  body .adi-float-widget{
    right:8px!important;
    bottom:8px!important;
    max-width:calc(100vw - 16px)!important;
  }

  body .adi-float-widget summary{
    padding:5px 9px 5px 5px!important;
  }

  body .adi-float-widget summary img{
    width:36px!important;
    height:36px!important;
  }

  body .adi-float-widget summary span{
    font-size:11px!important;
  }
}

@media(max-width:390px){
  body .ss-global-mobile-nav,
  body.page-id-222 .ss-mobile-main-nav{
    width:calc(100% - 8px)!important;
    gap:4px!important;
  }

  body .ss-global-mobile-nav>a,
  body.page-id-222 .ss-mobile-main-nav>a,
  body .ss-final-footer-nav a{
    min-height:36px!important;
    padding:4px 1px!important;
    font-size:.45rem!important;
  }

  body.page-id-2 .ss-wrap,
  body.page-id-196 .ss-wrap,
  body.page-id-15 .ss-wrap,
  body.page-id-124 .ss-wrap,
  body.page-id-85 .ss-wrap,
  body.page-id-413 .ss-wrap,
  body.page-id-222 .ss-wl-wrap,
  body.page-id-1398 .ss-wrap{
    width:calc(100% - 12px)!important;
  }
}


/* --- WPWriter addition --- */

/* ===== NON-WORKLOG PAGES: MATCH WORK LOG MOBILE HEADER EXACTLY — 2026-09-22 ===== */
@media(max-width:899px){
  body.page-id-2 header nav,
  body.page-id-196 header nav,
  body.page-id-15 header nav,
  body.page-id-124 header nav,
  body.page-id-85 header nav,
  body.page-id-413 header nav,
  body.page-id-1398 header nav,
  body.page-id-2 .site-header nav,
  body.page-id-196 .site-header nav,
  body.page-id-15 .site-header nav,
  body.page-id-124 .site-header nav,
  body.page-id-85 .site-header nav,
  body.page-id-413 .site-header nav,
  body.page-id-1398 .site-header nav,
  body.page-id-2 #site-navigation,
  body.page-id-196 #site-navigation,
  body.page-id-15 #site-navigation,
  body.page-id-124 #site-navigation,
  body.page-id-85 #site-navigation,
  body.page-id-413 #site-navigation,
  body.page-id-1398 #site-navigation,
  body.page-id-2 .main-navigation,
  body.page-id-196 .main-navigation,
  body.page-id-15 .main-navigation,
  body.page-id-124 .main-navigation,
  body.page-id-85 .main-navigation,
  body.page-id-413 .main-navigation,
  body.page-id-1398 .main-navigation,
  body.page-id-2 .primary-navigation,
  body.page-id-196 .primary-navigation,
  body.page-id-15 .primary-navigation,
  body.page-id-124 .primary-navigation,
  body.page-id-85 .primary-navigation,
  body.page-id-413 .primary-navigation,
  body.page-id-1398 .primary-navigation,
  body.page-id-2 .menu-content-container,
  body.page-id-196 .menu-content-container,
  body.page-id-15 .menu-content-container,
  body.page-id-124 .menu-content-container,
  body.page-id-85 .menu-content-container,
  body.page-id-413 .menu-content-container,
  body.page-id-1398 .menu-content-container{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  /* Kill old duplicate 7-item footer/menu blocks near page content */
  body.page-id-2 .ss-footer-nav,
  body.page-id-196 .ss-footer-nav,
  body.page-id-15 .ss-footer-nav,
  body.page-id-124 .ss-footer-nav,
  body.page-id-85 .ss-footer-nav,
  body.page-id-413 .ss-footer-nav,
  body.page-id-1398 .ss-footer-nav{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  /* The intended custom mobile nav always wins */
  body.page-id-2 .ss-global-mobile-nav,
  body.page-id-196 .ss-global-mobile-nav,
  body.page-id-15 .ss-global-mobile-nav,
  body.page-id-124 .ss-global-mobile-nav,
  body.page-id-85 .ss-global-mobile-nav,
  body.page-id-413 .ss-global-mobile-nav,
  body.page-id-1398 .ss-global-mobile-nav{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }

  /* Remove accidental plain-text nav copies */
  body.page-id-2 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav),
  body.page-id-196 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav),
  body.page-id-15 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav),
  body.page-id-124 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav),
  body.page-id-85 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav),
  body.page-id-413 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav),
  body.page-id-1398 nav:not(.ss-global-mobile-nav):not(.ss-final-footer-nav){
    display:none!important;
  }

  /* Keep branding identical to Work Log */
  body.page-id-2 header,
  body.page-id-196 header,
  body.page-id-15 header,
  body.page-id-124 header,
  body.page-id-85 header,
  body.page-id-413 header,
  body.page-id-1398 header,
  body.page-id-2 .site-header,
  body.page-id-196 .site-header,
  body.page-id-15 .site-header,
  body.page-id-124 .site-header,
  body.page-id-85 .site-header,
  body.page-id-413 .site-header,
  body.page-id-1398 .site-header{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:auto!important;
    padding:12px 10px 8px!important;
    background:#050505!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    overflow:visible!important;
  }
}


/* --- WPWriter addition --- */

/* ===== RESTORE BRANDING ON ALL MAIN MOBILE PAGES — 2026-09-22 ===== */
@media(max-width:899px){
  body.page-id-2 header.ss-header,
  body.page-id-196 header.ss-header,
  body.page-id-15 header.ss-header,
  body.page-id-124 header.ss-header,
  body.page-id-85 header.ss-header,
  body.page-id-413 header.ss-header,
  body.page-id-1398 header.ss-header{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    background:#050505!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
  }

  body.page-id-2 header.ss-header .ss-header-inner,
  body.page-id-196 header.ss-header .ss-header-inner,
  body.page-id-15 header.ss-header .ss-header-inner,
  body.page-id-124 header.ss-header .ss-header-inner,
  body.page-id-85 header.ss-header .ss-header-inner,
  body.page-id-413 header.ss-header .ss-header-inner,
  body.page-id-1398 header.ss-header .ss-header-inner{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-items:center!important;
    width:100%!important;
    padding:10px 12px!important;
    overflow:visible!important;
  }

  body.page-id-2 header.ss-header .ss-brand,
  body.page-id-196 header.ss-header .ss-brand,
  body.page-id-15 header.ss-header .ss-brand,
  body.page-id-124 header.ss-header .ss-brand,
  body.page-id-85 header.ss-header .ss-brand,
  body.page-id-413 header.ss-header .ss-brand,
  body.page-id-1398 header.ss-header .ss-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    gap:10px!important;
    text-decoration:none!important;
  }

  body.page-id-2 header.ss-header .ss-header-logo,
  body.page-id-196 header.ss-header .ss-header-logo,
  body.page-id-15 header.ss-header .ss-header-logo,
  body.page-id-124 header.ss-header .ss-header-logo,
  body.page-id-85 header.ss-header .ss-header-logo,
  body.page-id-413 header.ss-header .ss-header-logo,
  body.page-id-1398 header.ss-header .ss-header-logo{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:62px!important;
    max-width:62px!important;
    height:62px!important;
    object-fit:contain!important;
    flex:0 0 62px!important;
  }

  body.page-id-2 header.ss-header .ss-brand-copy,
  body.page-id-196 header.ss-header .ss-brand-copy,
  body.page-id-15 header.ss-header .ss-brand-copy,
  body.page-id-124 header.ss-header .ss-brand-copy,
  body.page-id-85 header.ss-header .ss-brand-copy,
  body.page-id-413 header.ss-header .ss-brand-copy,
  body.page-id-1398 header.ss-header .ss-brand-copy{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex-direction:column!important;
    min-width:0!important;
  }

  body.page-id-2 header.ss-header .ss-brand-name,
  body.page-id-196 header.ss-header .ss-brand-name,
  body.page-id-15 header.ss-header .ss-brand-name,
  body.page-id-124 header.ss-header .ss-brand-name,
  body.page-id-85 header.ss-header .ss-brand-name,
  body.page-id-413 header.ss-header .ss-brand-name,
  body.page-id-1398 header.ss-header .ss-brand-name{
    display:block!important;
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:1.15rem!important;
    line-height:1.05!important;
    font-weight:800!important;
    letter-spacing:.025em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }

  body.page-id-2 header.ss-header .ss-brand-subtitle,
  body.page-id-196 header.ss-header .ss-brand-subtitle,
  body.page-id-15 header.ss-header .ss-brand-subtitle,
  body.page-id-124 header.ss-header .ss-brand-subtitle,
  body.page-id-85 header.ss-header .ss-brand-subtitle,
  body.page-id-413 header.ss-header .ss-brand-subtitle,
  body.page-id-1398 header.ss-header .ss-brand-subtitle{
    display:block!important;
    color:#fff!important;
    font-size:.72rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
  }

  /* menu toggle and old theme nav stay hidden; only branding remains */
  body.page-id-2 header.ss-header .ss-menu-toggle,
  body.page-id-196 header.ss-header .ss-menu-toggle,
  body.page-id-15 header.ss-header .ss-menu-toggle,
  body.page-id-124 header.ss-header .ss-menu-toggle,
  body.page-id-85 header.ss-header .ss-menu-toggle,
  body.page-id-413 header.ss-header .ss-menu-toggle,
  body.page-id-1398 header.ss-header .ss-menu-toggle,
  body.page-id-2 header.ss-header .ss-nav,
  body.page-id-196 header.ss-header .ss-nav,
  body.page-id-15 header.ss-header .ss-nav,
  body.page-id-124 header.ss-header .ss-nav,
  body.page-id-85 header.ss-header .ss-nav,
  body.page-id-413 header.ss-header .ss-nav,
  body.page-id-1398 header.ss-header .ss-nav{
    display:none!important;
  }

  body .ss-global-mobile-nav{
    margin-top:8px!important;
  }
}

@media(max-width:390px){
  body header.ss-header .ss-header-logo{
    width:56px!important;
    max-width:56px!important;
    height:56px!important;
    flex-basis:56px!important;
  }
  body header.ss-header .ss-brand-name{
    font-size:1rem!important;
  }
  body header.ss-header .ss-brand-subtitle{
    font-size:.65rem!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME MOBILE BRANDING HARD FIX — 2026-09-22 ===== */
body.page-id-2 .ss-home-mobile-brand{display:none!important}

@media(max-width:899px){
  body.page-id-2 .ss-home-mobile-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    gap:10px!important;
    width:calc(100% - 20px)!important;
    margin:10px auto 6px!important;
    padding:8px 2px 10px!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    background:#050505!important;
  }
  body.page-id-2 .ss-home-mobile-brand img{
    display:block!important;
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
    flex:0 0 60px!important;
  }
  body.page-id-2 .ss-home-mobile-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
  }
  body.page-id-2 .ss-home-mobile-brand-name{
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:1.12rem!important;
    line-height:1.04!important;
    font-weight:800!important;
    letter-spacing:.025em!important;
    white-space:nowrap!important;
  }
  body.page-id-2 .ss-home-mobile-brand-subtitle{
    margin-top:4px!important;
    color:#fff!important;
    font-size:.7rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
  }
  body.page-id-2 .ss-global-mobile-nav{
    margin-top:8px!important;
  }
}

@media(max-width:390px){
  body.page-id-2 .ss-home-mobile-brand{
    width:calc(100% - 14px)!important;
    gap:8px!important;
  }
  body.page-id-2 .ss-home-mobile-brand img{
    width:54px!important;
    max-width:54px!important;
    height:54px!important;
    flex-basis:54px!important;
  }
  body.page-id-2 .ss-home-mobile-brand-name{font-size:1rem!important}
  body.page-id-2 .ss-home-mobile-brand-subtitle{font-size:.64rem!important}
}


/* --- WPWriter addition --- */

/* ===== HOME MOBILE MENU RESTORE — 2026-09-22 ===== */
body.page-id-2 .ss-home-mobile-nav{display:none!important}

@media(max-width:899px){
  body.page-id-2 .ss-home-mobile-nav{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    grid-auto-flow:row!important;
    gap:6px!important;
    width:calc(100% - 12px)!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    margin:8px auto 14px!important;
    padding:0!important;
    background:#050505!important;
    overflow:visible!important;
  }

  body.page-id-2 .ss-home-mobile-nav>a{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:5px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:7px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.49rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  body.page-id-2 .ss-home-mobile-nav>a:nth-child(1){grid-column:1!important;grid-row:1!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(2){grid-column:2!important;grid-row:1!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(3){grid-column:3!important;grid-row:1!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(4){grid-column:4!important;grid-row:1!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(5){grid-column:1!important;grid-row:2!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(6){grid-column:2!important;grid-row:2!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(7){grid-column:3!important;grid-row:2!important}
  body.page-id-2 .ss-home-mobile-nav>a:nth-child(8){grid-column:4!important;grid-row:2!important}

  /* keep legacy theme navigation hidden */
  body.page-id-2 header nav,
  body.page-id-2 .site-header nav,
  body.page-id-2 #site-navigation,
  body.page-id-2 .main-navigation,
  body.page-id-2 .primary-navigation,
  body.page-id-2 .site-navigation,
  body.page-id-2 .menu-content-container{
    display:none!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME: ONE MOBILE NAV ONLY — 2026-09-22 ===== */
@media(max-width:899px){
  body.page-id-2 .ss-home-mobile-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }

  body.page-id-2 .ss-home-mobile-nav{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
    width:calc(100% - 12px)!important;
    margin:8px auto 14px!important;
    padding:0!important;
  }

  body.page-id-2 .ss-home-mobile-nav>a{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    min-height:38px!important;
    padding:5px 2px!important;
    font-size:.49rem!important;
  }

  /* Never let legacy mobile menu blocks show on Home */
  body.page-id-2 .ss-header nav,
  body.page-id-2 .ss-header .ss-menu-toggle,
  body.page-id-2 #ss-primary-nav,
  body.page-id-2 #site-navigation,
  body.page-id-2 .main-navigation,
  body.page-id-2 .primary-navigation,
  body.page-id-2 .site-navigation,
  body.page-id-2 .menu-content-container,
  body.page-id-2 .ss-footer-nav{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME MOBILE NAV VISIBILITY FIX — 2026-09-22 ===== */
@media(max-width:899px){
  html body.page-id-2 nav.ss-home-mobile-nav{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    grid-auto-flow:row!important;
    gap:6px!important;
    width:calc(100% - 12px)!important;
    margin:8px auto 14px!important;
    padding:0!important;
    border:0!important;
    background:#050505!important;
  }

  html body.page-id-2 nav.ss-home-mobile-nav > a{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:5px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:7px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.49rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME CONTENTS BLOCK — 2026-09-22 ===== */
body.page-id-2 .ss-home-contents{
  width:100%!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.28)!important;
  border-bottom:1px solid rgba(215,173,82,.28)!important;
  padding:18px 14px!important;
}
body.page-id-2 .ss-home-contents-inner{
  width:min(1180px,calc(100% - 20px))!important;
  margin:0 auto!important;
}
body.page-id-2 .ss-home-contents-title{
  margin:0 0 12px!important;
  color:#f3d783!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.1rem!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.page-id-2 .ss-home-contents-list{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
body.page-id-2 .ss-home-contents-list a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:8px 6px!important;
  border:1px solid rgba(215,173,82,.38)!important;
  border-radius:8px!important;
  background:#0b0b0b!important;
  color:#fff!important;
  font-size:.72rem!important;
  font-weight:800!important;
  text-decoration:none!important;
  text-align:center!important;
  text-transform:uppercase!important;
}
@media(max-width:768px){
  body.page-id-2 .ss-home-contents{
    padding:14px 10px!important;
  }
  body.page-id-2 .ss-home-contents-inner{
    width:calc(100% - 8px)!important;
  }
  body.page-id-2 .ss-home-contents-title{
    font-size:.95rem!important;
    margin-bottom:10px!important;
  }
  body.page-id-2 .ss-home-contents-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body.page-id-2 .ss-home-contents-list a{
    min-height:40px!important;
    font-size:.66rem!important;
    padding:7px 4px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME CLEAN MOBILE HEADER + CONTENTS — FINAL ===== */
@media(max-width:899px){

  /* Keep the brand visible */
  html body.page-id-2 .ss-home-mobile-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    gap:10px!important;
    width:calc(100% - 20px)!important;
    margin:10px auto 8px!important;
    padding:8px 2px 10px!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    background:#050505!important;
  }

  html body.page-id-2 .ss-home-mobile-brand img{
    display:block!important;
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
    flex:0 0 60px!important;
  }

  html body.page-id-2 .ss-home-mobile-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
  }

  html body.page-id-2 .ss-home-mobile-brand-name{
    display:block!important;
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:1.1rem!important;
    line-height:1.04!important;
    font-weight:800!important;
    letter-spacing:.025em!important;
    white-space:nowrap!important;
  }

  html body.page-id-2 .ss-home-mobile-brand-subtitle{
    display:block!important;
    margin-top:4px!important;
    color:#fff!important;
    font-size:.69rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
  }

  /* Hide the extra old menu block on Home */
  html body.page-id-2 .ss-home-mobile-nav{
    display:none!important;
  }

  /* Show CONTENTS directly under the brand */
  html body.page-id-2 .ss-home-contents{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:12px 8px 14px!important;
    background:#050505!important;
    border-top:0!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    overflow:visible!important;
  }

  html body.page-id-2 .ss-home-contents-inner{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0 auto!important;
  }

  html body.page-id-2 .ss-home-contents-title{
    display:block!important;
    margin:0 0 10px!important;
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:.95rem!important;
    line-height:1.1!important;
    font-weight:800!important;
    letter-spacing:.12em!important;
    text-align:left!important;
    text-transform:uppercase!important;
  }

  html body.page-id-2 .ss-home-contents-list{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  html body.page-id-2 .ss-home-contents-list>a{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:5px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:7px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.49rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Hide theme/legacy navigation only */
  html body.page-id-2 header nav,
  html body.page-id-2 .site-header nav,
  html body.page-id-2 #site-navigation,
  html body.page-id-2 .main-navigation,
  html body.page-id-2 .primary-navigation,
  html body.page-id-2 .site-navigation,
  html body.page-id-2 .menu-content-container,
  html body.page-id-2 .ss-footer-nav{
    display:none!important;
  }
}

@media(max-width:390px){
  html body.page-id-2 .ss-home-mobile-brand{
    width:calc(100% - 14px)!important;
    gap:8px!important;
  }
  html body.page-id-2 .ss-home-mobile-brand img{
    width:54px!important;
    max-width:54px!important;
    height:54px!important;
    flex-basis:54px!important;
  }
  html body.page-id-2 .ss-home-mobile-brand-name{font-size:1rem!important}
  html body.page-id-2 .ss-home-mobile-brand-subtitle{font-size:.63rem!important}
  html body.page-id-2 .ss-home-contents-list{gap:4px!important}
  html body.page-id-2 .ss-home-contents-list>a{
    min-height:36px!important;
    font-size:.45rem!important;
    padding:4px 1px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME FINAL MOBILE CONTENTS LAYOUT — 2026-09-22 ===== */
@media(max-width:899px){
  html body.page-id-2 .ss-home-mobile-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:calc(100% - 20px)!important;
    margin:10px auto 8px!important;
  }

  html body.page-id-2 .ss-home-contents{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:12px 8px 14px!important;
    background:#050505!important;
    border-top:0!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    overflow:visible!important;
  }

  html body.page-id-2 .ss-home-contents-title{
    display:block!important;
    margin:0 0 10px!important;
    padding:0 4px!important;
    color:#f3d783!important;
    font-size:.95rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
  }

  html body.page-id-2 .ss-home-contents-list{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  html body.page-id-2 .ss-home-contents-list>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    width:100%!important;
    min-height:40px!important;
    padding:6px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.5rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Hide the obsolete Home-only mobile nav permanently */
  html body.page-id-2 .ss-home-mobile-nav{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME MOBILE HEADER — USE REAL PRIMARY MENU ONLY ===== */
@media(max-width:899px){

  /* Remove temporary page-level header/menu experiments */
  html body.page-id-2 .ss-home-mobile-brand,
  html body.page-id-2 .ss-home-mobile-nav,
  html body.page-id-2 .ss-home-contents{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  /* Real theme header */
  html body.page-id-2 header.ss-header{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:10px 12px 12px!important;
    background:#050505!important;
    border-top:1px solid rgba(215,173,82,.28)!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    overflow:visible!important;
  }

  html body.page-id-2 header.ss-header .ss-header-inner{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  html body.page-id-2 header.ss-header .ss-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    margin:0 0 10px!important;
    padding:0 0 10px!important;
    border-bottom:1px solid rgba(215,173,82,.28)!important;
    text-decoration:none!important;
  }

  html body.page-id-2 header.ss-header .ss-header-logo{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
    flex:0 0 60px!important;
  }

  html body.page-id-2 header.ss-header .ss-brand-copy{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex-direction:column!important;
    min-width:0!important;
  }

  html body.page-id-2 header.ss-header .ss-brand-name{
    display:block!important;
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:1.1rem!important;
    line-height:1.04!important;
    font-weight:800!important;
    letter-spacing:.025em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }

  html body.page-id-2 header.ss-header .ss-brand-subtitle{
    display:block!important;
    color:transparent!important;
    font-size:0!important;
    line-height:1.15!important;
    margin-top:4px!important;
    white-space:nowrap!important;
  }

  html body.page-id-2 header.ss-header .ss-brand-subtitle::after{
    content:"The premium woodworking.";
    color:#fff!important;
    font-size:.69rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
  }

  html body.page-id-2 header.ss-header .ss-menu-toggle{
    display:none!important;
  }

  /* Hide any other header nav, keep only the actual primary menu */
  html body.page-id-2 header.ss-header nav:not(#ss-primary-nav){
    display:none!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    background:#050505!important;
    overflow:visible!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav::before{
    content:"CONTENTS";
    display:block!important;
    margin:0 0 9px!important;
    padding:0 2px!important;
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:.94rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    grid-auto-flow:row!important;
    gap:6px!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    overflow:visible!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li > a{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    padding:6px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.5rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Ensure the eighth item is visible */
  html body.page-id-2 header.ss-header #ss-primary-nav .ss-menu > li:nth-child(8){
    display:block!important;
  }
}

@media(max-width:390px){
  html body.page-id-2 header.ss-header{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html body.page-id-2 header.ss-header .ss-header-logo{
    width:54px!important;
    max-width:54px!important;
    height:54px!important;
    flex-basis:54px!important;
  }
  html body.page-id-2 header.ss-header .ss-brand-name{
    font-size:1rem!important;
  }
  html body.page-id-2 header.ss-header .ss-brand-subtitle::after{
    font-size:.63rem!important;
  }
  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu{
    gap:4px!important;
  }
  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li > a{
    min-height:36px!important;
    font-size:.45rem!important;
    padding:4px 1px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HOME PRIMARY MENU FORCE 8 ITEMS — 2026-09-22 ===== */
@media(max-width:899px){
  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li,
  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li.ss-menu-worklog,
  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li.ss-menu-adi{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  html body.page-id-2 header.ss-header #ss-primary-nav > ul.ss-menu > li > a{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* --- WPWriter addition --- */

/* ===== ONE UNIFIED MOBILE HEADER ON ALL MAIN PAGES — 2026-09-22 ===== */
.ss-unified-mobile-header{display:none!important}

@media(max-width:899px){
  html body .ss-unified-mobile-header{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:10px 12px 12px!important;
    background:#050505!important;
    border-top:1px solid rgba(215,173,82,.28)!important;
    border-bottom:1px solid rgba(215,173,82,.34)!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  html body .ss-unified-mobile-header .ss-umh-brand{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    margin:0 0 10px!important;
    padding:0 0 10px!important;
    border-bottom:1px solid rgba(215,173,82,.28)!important;
  }

  html body .ss-unified-mobile-header .ss-umh-brand img{
    display:block!important;
    width:60px!important;
    max-width:60px!important;
    height:60px!important;
    object-fit:contain!important;
    flex:0 0 60px!important;
  }

  html body .ss-unified-mobile-header .ss-umh-copy{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
  }

  html body .ss-unified-mobile-header .ss-umh-name{
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:1.1rem!important;
    line-height:1.04!important;
    font-weight:800!important;
    letter-spacing:.025em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }

  html body .ss-unified-mobile-header .ss-umh-tagline{
    margin-top:4px!important;
    color:#fff!important;
    font-size:.69rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
  }

  html body .ss-unified-mobile-header .ss-umh-title{
    margin:0 0 9px!important;
    color:#f3d783!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:.94rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
  }

  html body .ss-unified-mobile-header .ss-umh-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:6px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  html body .ss-unified-mobile-header .ss-umh-grid>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    padding:6px 2px!important;
    margin:0!important;
    border:1px solid rgba(215,173,82,.38)!important;
    border-radius:8px!important;
    background:#0b0b0b!important;
    color:#f3d783!important;
    font-size:.5rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* Hide ALL older mobile header/menu experiments on main pages */
  body.page-id-2 header.ss-header,
  body.page-id-196 header.ss-header,
  body.page-id-15 header.ss-header,
  body.page-id-124 header.ss-header,
  body.page-id-85 header.ss-header,
  body.page-id-413 header.ss-header,
  body.page-id-222 header.ss-header,
  body.page-id-1398 header.ss-header,
  body.page-id-2 .site-header,
  body.page-id-196 .site-header,
  body.page-id-15 .site-header,
  body.page-id-124 .site-header,
  body.page-id-85 .site-header,
  body.page-id-413 .site-header,
  body.page-id-222 .site-header,
  body.page-id-1398 .site-header,
  body.page-id-2 .ss-home-mobile-brand,
  body.page-id-2 .ss-home-mobile-nav,
  body.page-id-2 .ss-home-contents,
  body.page-id-196 .ss-global-mobile-nav,
  body.page-id-15 .ss-global-mobile-nav,
  body.page-id-124 .ss-global-mobile-nav,
  body.page-id-85 .ss-global-mobile-nav,
  body.page-id-413 .ss-global-mobile-nav,
  body.page-id-1398 .ss-global-mobile-nav,
  body.page-id-222 .ss-mobile-main-nav{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }
}

@media(max-width:390px){
  html body .ss-unified-mobile-header{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html body .ss-unified-mobile-header .ss-umh-brand img{
    width:54px!important;
    max-width:54px!important;
    height:54px!important;
    flex-basis:54px!important;
  }
  html body .ss-unified-mobile-header .ss-umh-name{font-size:1rem!important}
  html body .ss-unified-mobile-header .ss-umh-tagline{font-size:.63rem!important}
  html body .ss-unified-mobile-header .ss-umh-grid{gap:4px!important}
  html body .ss-unified-mobile-header .ss-umh-grid>a{
    min-height:36px!important;
    font-size:.45rem!important;
    padding:4px 1px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== ÁdI AI CHAT CONTROLS INLINE — 2026-09-22 ===== */
body.page-id-1398 .adi-inline-controls{
  display:flex!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  margin-top:12px!important;
}

body.page-id-1398 .adi-inline-controls .adi-inline-input{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  min-height:64px!important;
  margin:0!important;
  resize:none!important;
}

body.page-id-1398 .adi-inline-controls .adi-inline-mic{
  flex:0 0 72px!important;
  width:72px!important;
  min-width:72px!important;
  min-height:64px!important;
  margin:0!important;
  padding:0!important;
}

body.page-id-1398 .adi-inline-controls .adi-inline-send{
  flex:0 0 132px!important;
  width:132px!important;
  min-width:132px!important;
  min-height:64px!important;
  margin:0!important;
  padding:0 16px!important;
}

@media(max-width:640px){
  body.page-id-1398 .adi-inline-controls{
    gap:7px!important;
  }
  body.page-id-1398 .adi-inline-controls .adi-inline-input{
    min-height:58px!important;
    font-size:16px!important;
    padding:12px!important;
  }
  body.page-id-1398 .adi-inline-controls .adi-inline-mic{
    flex-basis:56px!important;
    width:56px!important;
    min-width:56px!important;
    min-height:58px!important;
    border-radius:14px!important;
  }
  body.page-id-1398 .adi-inline-controls .adi-inline-send{
    flex-basis:92px!important;
    width:92px!important;
    min-width:92px!important;
    min-height:58px!important;
    padding:0 8px!important;
    font-size:16px!important;
    border-radius:14px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== ÁdI AI MOBILE FRIENDLY POLISH — 2026-09-22 ===== */
@media(max-width:768px){

  body.page-id-1398{
    overflow-x:hidden!important;
    background:#050505!important;
  }

  body.page-id-1398 *{
    box-sizing:border-box!important;
  }

  body.page-id-1398 img,
  body.page-id-1398 video,
  body.page-id-1398 iframe,
  body.page-id-1398 svg{
    max-width:100%!important;
    height:auto;
  }

  body.page-id-1398 section{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  /* HERO */
  body.page-id-1398 section:first-of-type{
    padding-top:30px!important;
    padding-bottom:34px!important;
  }

  body.page-id-1398 section:first-of-type > div{
    width:100%!important;
    max-width:none!important;
  }

  body.page-id-1398 section:first-of-type > div > div{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
  }

  body.page-id-1398 section:first-of-type h1{
    margin-bottom:10px!important;
    font-size:clamp(3rem,16vw,4.7rem)!important;
    line-height:.92!important;
    text-align:center!important;
  }

  body.page-id-1398 section:first-of-type h2{
    margin-bottom:14px!important;
    font-size:clamp(1.55rem,8vw,2.3rem)!important;
    line-height:1.05!important;
    text-align:center!important;
  }

  body.page-id-1398 section:first-of-type p{
    max-width:34rem!important;
    margin-left:auto!important;
    margin-right:auto!important;
    font-size:.92rem!important;
    line-height:1.55!important;
    text-align:center!important;
  }

  body.page-id-1398 section:first-of-type div[style*="display:flex"][style*="flex-wrap:wrap"]{
    justify-content:center!important;
    gap:9px!important;
  }

  body.page-id-1398 section:first-of-type a[href="#assistant"],
  body.page-id-1398 section:first-of-type a[href="#updates"]{
    flex:1 1 100%!important;
    width:100%!important;
    min-height:46px!important;
    padding:11px 14px!important;
    font-size:.76rem!important;
  }

  body.page-id-1398 section:first-of-type img{
    width:min(100%,360px)!important;
    margin:0 auto!important;
    border-radius:16px!important;
  }

  /* CAPABILITIES */
  body.page-id-1398 #assistant{
    padding-top:36px!important;
    padding-bottom:38px!important;
  }

  body.page-id-1398 #assistant > div{
    width:100%!important;
    max-width:none!important;
  }

  body.page-id-1398 #assistant > div > div:last-child{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-1398 #assistant h2{
    font-size:clamp(1.7rem,8vw,2.25rem)!important;
    line-height:1.08!important;
  }

  body.page-id-1398 #assistant h3{
    font-size:1rem!important;
  }

  body.page-id-1398 #assistant p{
    font-size:.84rem!important;
    line-height:1.45!important;
  }

  body.page-id-1398 #assistant > div > div:last-child > div{
    padding:16px!important;
    border-radius:12px!important;
  }

  /* UPDATE CENTER */
  body.page-id-1398 #updates{
    padding-top:36px!important;
    padding-bottom:38px!important;
  }

  body.page-id-1398 #updates > div{
    width:100%!important;
    max-width:none!important;
  }

  body.page-id-1398 #updates h2{
    font-size:clamp(1.65rem,8vw,2.2rem)!important;
  }

  body.page-id-1398 #updates > div > div:first-child{
    display:block!important;
  }

  body.page-id-1398 #updates > div > div:first-child > div:last-child{
    display:inline-block!important;
    margin-top:10px!important;
  }

  body.page-id-1398 #updates > div > div:last-child{
    padding:16px!important;
  }

  body.page-id-1398 #updates div[style*="grid-template-columns:repeat(auto-fit,minmax(210px,1fr))"]{
    grid-template-columns:1fr!important;
    gap:9px!important;
  }

  body.page-id-1398 #updates div[style*="font-size:24px"]{
    font-size:1.2rem!important;
  }

  /* CHAT AREA / EMBEDDED ASSISTANT */
  body.page-id-1398 .adi-inline-controls{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr) 92px!important;
    gap:7px!important;
    width:100%!important;
    align-items:stretch!important;
  }

  body.page-id-1398 .adi-inline-controls .adi-inline-mic{
    width:52px!important;
    min-width:52px!important;
    min-height:56px!important;
    padding:0!important;
    border-radius:14px!important;
  }

  body.page-id-1398 .adi-inline-controls .adi-inline-input{
    width:100%!important;
    min-width:0!important;
    min-height:56px!important;
    padding:12px!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1.35!important;
    border-radius:14px!important;
    resize:none!important;
  }

  body.page-id-1398 .adi-inline-controls .adi-inline-send{
    width:92px!important;
    min-width:92px!important;
    min-height:56px!important;
    padding:0 8px!important;
    margin:0!important;
    font-size:15px!important;
    border-radius:14px!important;
  }

  /* General form controls */
  body.page-id-1398 textarea,
  body.page-id-1398 input,
  body.page-id-1398 button{
    max-width:100%!important;
    font-size:16px!important;
  }

  /* FOOTER */
  body.page-id-1398 section:last-of-type{
    padding-top:28px!important;
    padding-bottom:30px!important;
  }

  body.page-id-1398 section:last-of-type img{
    width:min(260px,76vw)!important;
  }

  body.page-id-1398 section:last-of-type div{
    overflow-wrap:anywhere!important;
  }

  /* Floating helper */
  body.page-id-1398 .adi-float-widget{
    right:8px!important;
    bottom:8px!important;
    max-width:calc(100vw - 16px)!important;
  }
}

@media(max-width:390px){
  body.page-id-1398 section{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  body.page-id-1398 section:first-of-type h1{
    font-size:clamp(2.7rem,15vw,4rem)!important;
  }

  body.page-id-1398 .adi-inline-controls{
    grid-template-columns:48px minmax(0,1fr) 80px!important;
    gap:5px!important;
  }

  body.page-id-1398 .adi-inline-controls .adi-inline-mic{
    width:48px!important;
    min-width:48px!important;
  }

  body.page-id-1398 .adi-inline-controls .adi-inline-send{
    width:80px!important;
    min-width:80px!important;
    font-size:14px!important;
    padding:0 5px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== ÁdI HERO COPY BESIDE IMAGE — 2026-09-22 ===== */
body.page-id-1398 .adi-hero-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  min-height:100%!important;
}

body.page-id-1398 .adi-hero-kicker{
  margin:0 0 12px!important;
  color:#d7ad52!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}

body.page-id-1398 .adi-hero-name{
  margin:0 0 14px!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(3.4rem,8vw,6.2rem)!important;
  line-height:.94!important;
  font-weight:900!important;
  background:linear-gradient(180deg,#fff2b3 0%,#f3d783 38%,#b9842f 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}

body.page-id-1398 .adi-hero-greeting{
  margin:0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(2rem,4.5vw,3.5rem)!important;
  line-height:1.06!important;
  color:#fff!important;
}

@media(max-width:768px){
  body.page-id-1398 .adi-hero-copy{
    align-items:center!important;
    text-align:center!important;
  }
  body.page-id-1398 .adi-hero-kicker{
    font-size:11px!important;
    letter-spacing:.14em!important;
  }
  body.page-id-1398 .adi-hero-name{
    font-size:clamp(3rem,16vw,4.7rem)!important;
  }
  body.page-id-1398 .adi-hero-greeting{
    font-size:clamp(1.55rem,8vw,2.3rem)!important;
  }
}


/* --- WPWriter addition --- */

/* Keep the previous ÁdI hero typography */
body.page-id-1398 .adi-hero-name,
body.page-id-1398 .adi-hero-greeting{
  font-family:Georgia,"Times New Roman",serif!important;
}
body.page-id-1398 .adi-hero-kicker{
  font-family:Arial,Helvetica,sans-serif!important;
}


/* --- WPWriter addition --- */

/* ===== MASTER SITE HEADER + FOOTER NAV — 2026-09-22 ===== */
html body .ss-master-site-header,
html body .ss-master-site-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:9998!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  box-sizing:border-box!important;
  background:#050505!important;
  overflow:visible!important;
}

html body .ss-master-site-header{
  padding:12px 16px 14px!important;
  border-top:1px solid rgba(215,173,82,.28)!important;
  border-bottom:1px solid rgba(215,173,82,.38)!important;
}

html body .ss-master-brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  max-width:1180px!important;
  margin:0 auto 12px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid rgba(215,173,82,.24)!important;
  text-decoration:none!important;
}

html body .ss-master-brand img{
  display:block!important;
  width:64px!important;
  height:64px!important;
  object-fit:contain!important;
  flex:0 0 64px!important;
}

html body .ss-master-brand-copy{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}

html body .ss-master-brand-name{
  color:#f3d783!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.22rem!important;
  line-height:1.05!important;
  font-weight:800!important;
  letter-spacing:.035em!important;
}

html body .ss-master-brand-tagline{
  margin-top:4px!important;
  color:#fff!important;
  font-size:.72rem!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:.06em!important;
}

html body .ss-master-nav-title{
  display:block!important;
  max-width:1180px!important;
  margin:0 auto 9px!important;
  color:#f3d783!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:.9rem!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}

html body menu.ss-master-nav,
html body menu.ss-master-footer-nav{
  list-style:none!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
}

html body menu.ss-master-nav>a,
html body menu.ss-master-footer-nav>a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:40px!important;
  padding:7px 4px!important;
  border:1px solid rgba(215,173,82,.38)!important;
  border-radius:8px!important;
  background:#0b0b0b!important;
  color:#f3d783!important;
  font-size:.68rem!important;
  line-height:1.08!important;
  font-weight:900!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
}

html body .ss-master-site-footer{
  margin-top:0!important;
  padding:20px 16px 22px!important;
  border-top:1px solid rgba(215,173,82,.38)!important;
}

html body .ss-master-footer-brand{
  display:block!important;
  max-width:1180px!important;
  margin:0 auto 12px!important;
  color:#f3d783!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.05rem!important;
  font-weight:800!important;
  letter-spacing:.07em!important;
  text-align:center!important;
  text-decoration:none!important;
}

html body .ss-master-footer-note{
  display:block!important;
  margin:12px auto 0!important;
  color:#fff!important;
  font-size:.72rem!important;
  font-weight:700!important;
  text-align:center!important;
  letter-spacing:.04em!important;
}

/* Hide older competing navigation/header/footer variants */
html body header.ss-header,
html body .site-header,
html body .ss-global-mobile-nav,
html body .ss-mobile-main-nav,
html body .ss-home-mobile-brand,
html body .ss-home-mobile-nav,
html body .ss-home-contents,
html body .ss-final-footer-nav,
html body .ss-footer-nav{
  display:none!important;
}

@media(max-width:899px){
  html body .ss-master-site-header{
    padding:10px 8px 12px!important;
  }
  html body .ss-master-brand{
    gap:9px!important;
    margin-bottom:9px!important;
    padding-bottom:9px!important;
  }
  html body .ss-master-brand img{
    width:56px!important;
    height:56px!important;
    flex-basis:56px!important;
  }
  html body .ss-master-brand-name{
    font-size:1.02rem!important;
  }
  html body .ss-master-brand-tagline{
    font-size:.64rem!important;
  }
  html body .ss-master-nav-title{
    font-size:.82rem!important;
    margin-bottom:8px!important;
  }
  html body menu.ss-master-nav,
  html body menu.ss-master-footer-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:5px!important;
  }
  html body menu.ss-master-nav>a,
  html body menu.ss-master-footer-nav>a{
    min-height:38px!important;
    padding:5px 2px!important;
    font-size:.48rem!important;
    border-radius:7px!important;
  }
  html body .ss-master-site-footer{
    padding:16px 8px 18px!important;
  }
}

@media(max-width:390px){
  html body .ss-master-brand img{
    width:52px!important;
    height:52px!important;
    flex-basis:52px!important;
  }
  html body .ss-master-brand-name{
    font-size:.95rem!important;
  }
  html body menu.ss-master-nav>a,
  html body menu.ss-master-footer-nav>a{
    font-size:.44rem!important;
    min-height:36px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== SITE-WIDE HEADER/FOOTER CLEANUP — ALL PUBLISHED PAGES ===== */
html body > header,
html body > footer,
html body .site-header,
html body .site-footer,
html body #masthead,
html body #colophon,
html body .main-header-bar-wrap,
html body .ast-primary-header-bar,
html body .elementor-location-header,
html body .elementor-location-footer{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

html body .ss-master-site-header,
html body .ss-master-site-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}

/* Desktop header/footer navigation: one clean line of eight */
@media(min-width:900px){
  html body menu.ss-master-nav,
  html body menu.ss-master-footer-nav{
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
  }
}

/* Mobile header/footer navigation: exactly 4 + 4 */
@media(max-width:899px){
  html body menu.ss-master-nav,
  html body menu.ss-master-footer-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    grid-auto-flow:row!important;
  }
}


/* --- WPWriter addition --- */

/* ===== HEADER/FOOTER FINAL STABILIZATION ===== */
html body .ss-master-site-header{
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  position:relative!important;
}
html body .ss-master-site-footer{
  clear:both!important;
  width:100%!important;
  position:relative!important;
}
html body .ss-master-site-header + *{
  margin-top:0!important;
}
html body .ss-global-mobile-nav,
html body .ss-mobile-main-nav,
html body .ss-home-mobile-nav,
html body .ss-home-mobile-brand,
html body .ss-home-contents,
html body .ss-final-footer-nav,
html body .ss-footer-nav,
html body .ss-master-footer-v8,
html body .ss-footer-final,
html body .ss-footer-v3,
html body .ss-contact-icons-footer{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body .ss-master-site-header menu,
html body .ss-master-site-footer menu{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}


/* --- WPWriter addition --- */

/* ===== MASTER HEADER + FOOTER FINAL POLISH — ALL PAGES ===== */
html body .ss-master-site-header,
html body .ss-master-site-footer{
  font-family:Arial,Helvetica,sans-serif!important;
  background:#050505!important;
  color:#fff!important;
}

html body .ss-master-site-header{
  box-shadow:0 8px 26px rgba(0,0,0,.22)!important;
}

html body .ss-master-brand,
html body menu.ss-master-nav,
html body menu.ss-master-footer-nav,
html body .ss-master-nav-title,
html body .ss-master-footer-brand,
html body .ss-master-footer-note{
  width:min(1180px,100%)!important;
}

html body menu.ss-master-nav>a,
html body menu.ss-master-footer-nav>a{
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}

html body menu.ss-master-nav>a:hover,
html body menu.ss-master-nav>a:focus,
html body menu.ss-master-footer-nav>a:hover,
html body menu.ss-master-footer-nav>a:focus{
  background:#14110b!important;
  border-color:#f3d783!important;
  color:#fff2b3!important;
  outline:none!important;
}

html body .ss-master-footer-brand{
  padding-top:2px!important;
}

html body .ss-master-site-footer{
  box-shadow:0 -8px 26px rgba(0,0,0,.18)!important;
}

@media(min-width:900px){
  html body .ss-master-site-header{
    padding:14px 20px 16px!important;
  }

  html body .ss-master-brand{
    margin-bottom:12px!important;
  }

  html body menu.ss-master-nav,
  html body menu.ss-master-footer-nav{
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:8px!important;
  }

  html body menu.ss-master-nav>a,
  html body menu.ss-master-footer-nav>a{
    min-height:42px!important;
    font-size:.7rem!important;
    padding:8px 5px!important;
  }
}

@media(max-width:899px){
  html body .ss-master-site-header{
    padding:10px 8px 12px!important;
  }

  html body .ss-master-brand{
    width:100%!important;
    gap:9px!important;
    margin-bottom:9px!important;
    padding-bottom:9px!important;
  }

  html body .ss-master-brand img{
    width:54px!important;
    height:54px!important;
    flex:0 0 54px!important;
  }

  html body .ss-master-brand-name{
    font-size:1rem!important;
    line-height:1.05!important;
  }

  html body .ss-master-brand-tagline{
    font-size:.64rem!important;
    line-height:1.15!important;
  }

  html body .ss-master-nav-title{
    width:100%!important;
    margin:0 0 8px!important;
    font-size:.8rem!important;
  }

  html body menu.ss-master-nav,
  html body menu.ss-master-footer-nav{
    width:100%!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:5px!important;
  }

  html body menu.ss-master-nav>a,
  html body menu.ss-master-footer-nav>a{
    min-height:38px!important;
    min-width:0!important;
    padding:5px 2px!important;
    font-size:.47rem!important;
    line-height:1.08!important;
    border-radius:7px!important;
  }

  html body .ss-master-site-footer{
    padding:16px 8px 18px!important;
  }

  html body .ss-master-footer-brand{
    font-size:.95rem!important;
    margin-bottom:10px!important;
  }

  html body .ss-master-footer-note{
    margin-top:10px!important;
    font-size:.64rem!important;
  }
}

@media(max-width:390px){
  html body .ss-master-brand img{
    width:50px!important;
    height:50px!important;
    flex-basis:50px!important;
  }

  html body .ss-master-brand-name{
    font-size:.92rem!important;
  }

  html body .ss-master-brand-tagline{
    font-size:.6rem!important;
  }

  html body menu.ss-master-nav,
  html body menu.ss-master-footer-nav{
    gap:4px!important;
  }

  html body menu.ss-master-nav>a,
  html body menu.ss-master-footer-nav>a{
    min-height:36px!important;
    font-size:.43rem!important;
    padding:4px 1px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== SITE-WIDE CONTENT POLISH — ALL PUBLISHED PAGES ===== */
html, body{
  overflow-x:hidden!important;
}

body{
  background:#050505!important;
  color:#f7f3e8!important;
  -webkit-font-smoothing:antialiased!important;
  text-rendering:optimizeLegibility!important;
}

body .entry-content,
body .site-main,
body main{
  max-width:100%!important;
}

/* Consistent typography */
body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body main h1,
body main h2,
body main h3{
  font-family:Georgia,"Times New Roman",serif!important;
  line-height:1.08!important;
  overflow-wrap:anywhere!important;
}

body .entry-content p,
body .entry-content li,
body main p,
body main li{
  line-height:1.62!important;
  overflow-wrap:anywhere!important;
}

body .entry-content a,
body main a{
  text-underline-offset:3px!important;
}

/* Media */
body .entry-content img,
body main img{
  max-width:100%!important;
  height:auto!important;
}

body .entry-content iframe,
body main iframe,
body .entry-content video,
body main video{
  max-width:100%!important;
}

/* Forms */
body .entry-content input,
body .entry-content textarea,
body .entry-content select,
body main input,
body main textarea,
body main select{
  box-sizing:border-box!important;
  max-width:100%!important;
}

body .entry-content input[type="text"],
body .entry-content input[type="email"],
body .entry-content input[type="tel"],
body .entry-content input[type="password"],
body .entry-content input[type="search"],
body .entry-content textarea,
body .entry-content select,
body main input[type="text"],
body main input[type="email"],
body main input[type="tel"],
body main input[type="password"],
body main input[type="search"],
body main textarea,
body main select{
  border-radius:10px!important;
}

body .entry-content button,
body .entry-content input[type="submit"],
body main button,
body main input[type="submit"]{
  min-height:44px!important;
  border-radius:9px!important;
  cursor:pointer!important;
}

/* Tables stay usable on mobile */
body .entry-content table,
body main table{
  max-width:100%!important;
}

@media(max-width:899px){
  body .entry-content table,
  body main table{
    display:block!important;
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  body .entry-content section,
  body main section{
    box-sizing:border-box!important;
    max-width:100%!important;
  }

  body .entry-content h1,
  body main h1{
    font-size:clamp(2rem,11vw,3.3rem)!important;
  }

  body .entry-content h2,
  body main h2{
    font-size:clamp(1.55rem,8vw,2.35rem)!important;
  }

  body .entry-content h3,
  body main h3{
    font-size:clamp(1.1rem,5.5vw,1.55rem)!important;
  }

  body .entry-content p,
  body .entry-content li,
  body main p,
  body main li{
    font-size:.95rem!important;
    line-height:1.55!important;
  }

  body .entry-content input,
  body .entry-content textarea,
  body .entry-content select,
  body main input,
  body main textarea,
  body main select{
    font-size:16px!important;
  }
}

/* Plain SEO/service pages: turn default content into the same black/gold visual system */
body.page-id-1099,
body.page-id-1101,
body.page-id-1102,
body.page-id-1103,
body.page-id-1107{
  background:
    radial-gradient(circle at 50% 0%,rgba(215,173,82,.07),transparent 34%),
    #050505!important;
}

body.page-id-1099 .entry-content,
body.page-id-1101 .entry-content,
body.page-id-1102 .entry-content,
body.page-id-1103 .entry-content,
body.page-id-1107 .entry-content,
body.page-id-1099 main,
body.page-id-1101 main,
body.page-id-1102 main,
body.page-id-1103 main,
body.page-id-1107 main{
  color:#ddd5c8!important;
}

body.page-id-1099 .entry-content > section,
body.page-id-1101 .entry-content > section,
body.page-id-1102 .entry-content > section,
body.page-id-1103 .entry-content > section,
body.page-id-1107 .entry-content > section,
body.page-id-1099 main > section,
body.page-id-1101 main > section,
body.page-id-1102 main > section,
body.page-id-1103 main > section,
body.page-id-1107 main > section{
  width:min(980px,calc(100% - 28px))!important;
  margin:18px auto!important;
  padding:28px!important;
  border:1px solid rgba(215,173,82,.22)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#11100d,#080808)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.2)!important;
}

body.page-id-1099 h1,
body.page-id-1101 h1,
body.page-id-1102 h1,
body.page-id-1103 h1,
body.page-id-1107 h1{
  color:#f3d783!important;
}

body.page-id-1099 h2,
body.page-id-1101 h2,
body.page-id-1102 h2,
body.page-id-1103 h2,
body.page-id-1107 h2,
body.page-id-1099 h3,
body.page-id-1101 h3,
body.page-id-1102 h3,
body.page-id-1103 h3,
body.page-id-1107 h3{
  color:#f0cf73!important;
}

body.page-id-1099 li::marker,
body.page-id-1101 li::marker,
body.page-id-1102 li::marker,
body.page-id-1103 li::marker,
body.page-id-1107 li::marker{
  color:#d7ad52!important;
}

/* Cookie page readability */
body.page-id-44 .entry-content,
body.page-id-44 main{
  color:#ddd5c8!important;
}

body.page-id-44 .entry-content > *,
body.page-id-44 main > *{
  max-width:980px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:899px){
  body.page-id-1099 .entry-content > section,
  body.page-id-1101 .entry-content > section,
  body.page-id-1102 .entry-content > section,
  body.page-id-1103 .entry-content > section,
  body.page-id-1107 .entry-content > section,
  body.page-id-1099 main > section,
  body.page-id-1101 main > section,
  body.page-id-1102 main > section,
  body.page-id-1103 main > section,
  body.page-id-1107 main > section{
    width:calc(100% - 16px)!important;
    margin:10px auto!important;
    padding:18px 15px!important;
    border-radius:12px!important;
  }

  body.page-id-44 .entry-content,
  body.page-id-44 main{
    padding-left:12px!important;
    padding-right:12px!important;
  }
}


/* --- WPWriter addition --- */

/* ===== SITE-WIDE FINAL POLISH PASS — 2026-09-22 ===== */

/* Consistent page canvas */
html body{
  background:#050505!important;
}

html body .site,
html body .site-content,
html body .content-area,
html body .entry-content,
html body main{
  background:#050505!important;
}

/* Remove stray default page-title/header gaps */
html body .entry-header,
html body .page-header,
html body .wp-block-post-title,
html body .entry-title{
  margin-top:0!important;
}

/* Better content rhythm */
html body .entry-content > *:first-child,
html body main > *:first-child{
  margin-top:0!important;
}

html body .entry-content > *:last-child,
html body main > *:last-child{
  margin-bottom:0!important;
}

html body .entry-content section,
html body main section{
  box-sizing:border-box!important;
}

html body .entry-content h1,
html body main h1{
  margin-top:0!important;
  margin-bottom:.5em!important;
}

html body .entry-content h2,
html body main h2{
  margin-top:0!important;
  margin-bottom:.55em!important;
}

html body .entry-content h3,
html body main h3{
  margin-top:0!important;
  margin-bottom:.45em!important;
}

/* Unified gold/white hierarchy */
html body .entry-content h1,
html body main h1{
  color:#f3d783!important;
}

html body .entry-content h2,
html body .entry-content h3,
html body main h2,
html body main h3{
  color:#efd078!important;
}

html body .entry-content p,
html body .entry-content li,
html body main p,
html body main li{
  color:#d8d0c4!important;
}

/* Clean lists */
html body .entry-content ul,
html body .entry-content ol,
html body main ul,
html body main ol{
  padding-left:1.2rem!important;
}

html body .entry-content li,
html body main li{
  margin:.28em 0!important;
}

html body .entry-content li::marker,
html body main li::marker{
  color:#d7ad52!important;
}

/* Unified CTA/button appearance */
html body .entry-content a.button,
html body .entry-content .wp-block-button__link,
html body .entry-content button,
html body .entry-content input[type="submit"],
html body main a.button,
html body main .wp-block-button__link,
html body main button,
html body main input[type="submit"]{
  border:1px solid rgba(243,215,131,.55)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,#f6dd94 0%,#d7ad52 58%,#b9842f 100%)!important;
  color:#070707!important;
  font-weight:900!important;
  letter-spacing:.03em!important;
  text-decoration:none!important;
  box-shadow:0 5px 18px rgba(0,0,0,.22)!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}

@media(hover:hover){
  html body .entry-content a.button:hover,
  html body .entry-content .wp-block-button__link:hover,
  html body .entry-content button:hover,
  html body .entry-content input[type="submit"]:hover,
  html body main a.button:hover,
  html body main .wp-block-button__link:hover,
  html body main button:hover,
  html body main input[type="submit"]:hover{
    transform:translateY(-1px)!important;
    filter:brightness(1.05)!important;
    box-shadow:0 8px 22px rgba(0,0,0,.3)!important;
  }
}

/* Inputs */
html body .entry-content input,
html body .entry-content textarea,
html body .entry-content select,
html body main input,
html body main textarea,
html body main select{
  background:#090909!important;
  color:#fff!important;
  border:1px solid rgba(215,173,82,.3)!important;
  outline:none!important;
}

html body .entry-content input:focus,
html body .entry-content textarea:focus,
html body .entry-content select:focus,
html body main input:focus,
html body main textarea:focus,
html body main select:focus{
  border-color:#f3d783!important;
  box-shadow:0 0 0 2px rgba(243,215,131,.12)!important;
}

/* Header/footer active section highlight */
body.page-id-2 .ss-master-nav>a:nth-child(1),
body.page-id-2 .ss-master-footer-nav>a:nth-child(1),
body.page-id-196 .ss-master-nav>a:nth-child(2),
body.page-id-196 .ss-master-footer-nav>a:nth-child(2),
body.page-id-15 .ss-master-nav>a:nth-child(3),
body.page-id-15 .ss-master-footer-nav>a:nth-child(3),
body.page-id-1099 .ss-master-nav>a:nth-child(3),
body.page-id-1099 .ss-master-footer-nav>a:nth-child(3),
body.page-id-1101 .ss-master-nav>a:nth-child(3),
body.page-id-1101 .ss-master-footer-nav>a:nth-child(3),
body.page-id-1102 .ss-master-nav>a:nth-child(3),
body.page-id-1102 .ss-master-footer-nav>a:nth-child(3),
body.page-id-1103 .ss-master-nav>a:nth-child(3),
body.page-id-1103 .ss-master-footer-nav>a:nth-child(3),
body.page-id-1107 .ss-master-nav>a:nth-child(3),
body.page-id-1107 .ss-master-footer-nav>a:nth-child(3),
body.page-id-124 .ss-master-nav>a:nth-child(4),
body.page-id-124 .ss-master-footer-nav>a:nth-child(4),
body.page-id-85 .ss-master-nav>a:nth-child(5),
body.page-id-85 .ss-master-footer-nav>a:nth-child(5),
body.page-id-413 .ss-master-nav>a:nth-child(6),
body.page-id-413 .ss-master-footer-nav>a:nth-child(6),
body.page-id-222 .ss-master-nav>a:nth-child(7),
body.page-id-222 .ss-master-footer-nav>a:nth-child(7),
body.page-id-218 .ss-master-nav>a:nth-child(7),
body.page-id-218 .ss-master-footer-nav>a:nth-child(7),
body.page-id-154 .ss-master-nav>a:nth-child(7),
body.page-id-154 .ss-master-footer-nav>a:nth-child(7),
body.page-id-1398 .ss-master-nav>a:nth-child(8),
body.page-id-1398 .ss-master-footer-nav>a:nth-child(8){
  background:linear-gradient(180deg,#1b160c,#0d0b08)!important;
  border-color:#f3d783!important;
  color:#fff2b3!important;
  box-shadow:inset 0 0 0 1px rgba(243,215,131,.08),0 0 14px rgba(215,173,82,.08)!important;
}

/* Keep long labels readable */
html body .ss-master-nav>a,
html body .ss-master-footer-nav>a{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* Footer spacing */
html body .ss-master-site-footer{
  margin-top:28px!important;
}

/* Better accessibility */
html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body textarea:focus-visible,
html body select:focus-visible{
  outline:2px solid #f3d783!important;
  outline-offset:2px!important;
}

/* Mobile */
@media(max-width:899px){
  html body .entry-content,
  html body main{
    max-width:100%!important;
  }

  html body .entry-content > section,
  html body main > section{
    scroll-margin-top:16px!important;
  }

  html body .entry-content p,
  html body .entry-content li,
  html body main p,
  html body main li{
    font-size:.94rem!important;
    line-height:1.52!important;
  }

  html body .entry-content h1,
  html body main h1{
    letter-spacing:.01em!important;
  }

  html body .entry-content h2,
  html body main h2{
    letter-spacing:.01em!important;
  }

  html body .ss-master-site-footer{
    margin-top:18px!important;
  }

  html body .ss-master-nav>a,
  html body .ss-master-footer-nav>a{
    min-width:0!important;
    overflow:hidden!important;
  }
}

/* Very small phones */
@media(max-width:360px){
  html body .ss-master-brand-name{
    font-size:.86rem!important;
  }

  html body .ss-master-brand-tagline{
    font-size:.56rem!important;
  }

  html body menu.ss-master-nav>a,
  html body menu.ss-master-footer-nav>a{
    font-size:.4rem!important;
    min-height:34px!important;
  }
}

/* Respect reduced-motion preferences */
@media(prefers-reduced-motion:reduce){
  html body *,
  html body *::before,
  html body *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* --- WPWriter addition --- */

/* ===== FOOTER BRAND UPGRADE + SITE SPACING PASS ===== */
html body .ss-master-footer-brand{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  text-decoration:none!important;
}
html body .ss-master-footer-brand img{
  display:block!important;
  width:min(220px,62vw)!important;
  height:auto!important;
  max-height:86px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
html body .ss-master-footer-brand span{
  display:block!important;
  color:#f3d783!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1rem!important;
  font-weight:800!important;
  line-height:1.05!important;
  letter-spacing:.08em!important;
  text-align:center!important;
}
html body .entry-content img,
html body main img{
  max-width:100%!important;
  height:auto!important;
  border-radius:12px!important;
}
html body .entry-content figure,
html body main figure{
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body .entry-content > div,
html body main > div{
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:899px){
  html body .ss-master-footer-brand{
    gap:7px!important;
    margin-bottom:11px!important;
  }
  html body .ss-master-footer-brand img{
    width:min(190px,58vw)!important;
    max-height:72px!important;
  }
  html body .ss-master-footer-brand span{
    font-size:.9rem!important;
  }
  body.page-id-196 .entry-content,
  body.page-id-15 .entry-content,
  body.page-id-124 .entry-content,
  body.page-id-85 .entry-content,
  body.page-id-413 .entry-content,
  body.page-id-44 .entry-content,
  body.page-id-1099 .entry-content,
  body.page-id-1101 .entry-content,
  body.page-id-1102 .entry-content,
  body.page-id-1103 .entry-content,
  body.page-id-1107 .entry-content{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
}


/* --- WPWriter addition --- */

/* ===== TARGETED MOBILE/CONTENT POLISH — CORE PAGES ===== */

/* COMPANY */
body.page-id-196 .ss-hero,
body.page-id-196 .ss-section{
  overflow:hidden!important;
}

body.page-id-196 .ss-wrap{
  width:min(1160px,calc(100% - 28px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.page-id-196 .ss-values,
body.page-id-196 .ss-grid{
  gap:14px!important;
}

body.page-id-196 .ss-card{
  min-width:0!important;
  height:auto!important;
  border-radius:14px!important;
}

body.page-id-196 .ss-btn{
  min-height:46px!important;
}

/* CONTACT */
body.page-id-85 .ss-contact .wrap{
  width:min(1160px,calc(100% - 28px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.page-id-85 .ss-contact .top-grid,
body.page-id-85 .ss-contact .message-box{
  gap:16px!important;
}

body.page-id-85 .ss-contact .card{
  min-width:0!important;
  border-radius:14px!important;
}

body.page-id-85 .ss-contact .contact-row{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}

body.page-id-85 .ss-contact .actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}

body.page-id-85 .ss-contact .actions .btn{
  min-height:44px!important;
}

/* MANAGEMENT */
body.page-id-218 .ssm2{
  overflow-x:hidden!important;
}

body.page-id-218 .ssm2-primary,
body.page-id-218 .ssm2-module,
body.page-id-218 .ssm2-panel{
  min-width:0!important;
}

body.page-id-218 .ssm2-kpis,
body.page-id-218 .ssm2-grid,
body.page-id-218 .ssm2-toolgrid,
body.page-id-218 .ssm2-reportgrid{
  gap:12px!important;
}

body.page-id-218 .ssm2-row{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}

/* EMPLOYEE */
body.page-id-154 .wl,
body.page-id-154 .wl-wrap{
  max-width:100%!important;
  overflow-x:hidden!important;
}

body.page-id-154 .wl-card,
body.page-id-154 .wl-login,
body.page-id-154 .wl-dl{
  min-width:0!important;
}

/* HOME / CAREERS general canvas */
body.page-id-2 .ss-page,
body.page-id-413 .ss-page{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}

/* ÁdI */
body.page-id-1398 .adi-hero-copy{
  min-width:0!important;
}

/* WORK LOG */
body.page-id-222 .ss-wl-wrap{
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.page-id-222 .ss-login,
body.page-id-222 .ss-dl{
  min-width:0!important;
}

/* Mobile layouts */
@media(max-width:899px){

  body.page-id-196 .ss-wrap,
  body.page-id-85 .ss-contact .wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-196 .ss-hero,
  body.page-id-196 .ss-section{
    padding-left:0!important;
    padding-right:0!important;
  }

  body.page-id-196 .ss-story,
  body.page-id-196 .ss-values,
  body.page-id-196 .ss-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-196 .ss-card{
    padding:16px!important;
  }

  body.page-id-196 .ss-cta{
    padding:18px!important;
    border-radius:12px!important;
  }

  body.page-id-196 .ss-btn{
    width:100%!important;
    justify-content:center!important;
  }

  body.page-id-85 .ss-contact .top-grid,
  body.page-id-85 .ss-contact .message-box{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-85 .ss-contact .card{
    padding:16px!important;
  }

  body.page-id-85 .ss-contact .actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-85 .ss-contact .actions .btn{
    width:100%!important;
    min-width:0!important;
    padding:10px 7px!important;
    font-size:.75rem!important;
  }

  body.page-id-85 .ss-contact .form-side,
  body.page-id-85 .ss-contact .visual-side{
    width:100%!important;
    min-width:0!important;
  }

  body.page-id-218 .ssm2{
    padding-left:8px!important;
    padding-right:8px!important;
  }

  body.page-id-218 .ssm2-kpis{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-218 .ssm2-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-218 .ssm2-toolgrid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-218 .ssm2-reportgrid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  body.page-id-218 .ssm2-panel,
  body.page-id-218 .ssm2-module{
    padding:14px!important;
    border-radius:12px!important;
  }

  body.page-id-154 .wl-wrap{
    width:calc(100% - 16px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.page-id-154 .wl-auth{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-154 .wl-downloads{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}


/* ===== WORK LOG: REMOVE LEGACY BOTTOM NAV — 2026-09-23 ===== */
html body.page-id-222 .ss-final-footer-nav,
html body.page-id-222 .ss-footer-nav,
html body.page-id-222 .ss-master-footer-nav,
html body.page-id-222 footer nav,
html body.page-id-222 footer menu,
html body.page-id-222 .site-footer nav,
html body.page-id-222 .site-footer menu,
html body.page-id-222 .wp-site-blocks>footer nav,
html body.page-id-222 .wp-site-blocks>footer .wp-block-navigation{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-222 .ss-final-footer{
  padding-top:18px!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}


/* ===== WORK LOG: REMOVE LEGACY BOTTOM NAV — 2026-09-23 ===== */
html body.page-id-222 .ss-final-footer-nav,
html body.page-id-222 .ss-footer-nav,
html body.page-id-222 .ss-master-footer-nav,
html body.page-id-222 footer nav,
html body.page-id-222 footer menu,
html body.page-id-222 .site-footer nav,
html body.page-id-222 .site-footer menu,
html body.page-id-222 .wp-site-blocks>footer nav,
html body.page-id-222 .wp-site-blocks>footer .wp-block-navigation{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-222 .ss-final-footer{
  padding-top:18px!important;
}


/* ===== WORK LOG STANDARD FOOTER VISIBLE — FINAL ===== */
html body.page-id-222 .ss-final-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:16px 10px 22px!important;
  overflow:visible!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
}
html body.page-id-222 .ss-final-footer-nav{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}
html body.page-id-222 .ss-final-footer-logo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:min(100%,780px)!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 14px!important;
  object-fit:contain!important;
}
html body.page-id-222 .ss-final-footer-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(34px,12vw,78px)!important;
  width:100%!important;
  height:auto!important;
  min-height:58px!important;
  max-height:none!important;
  margin:0!important;
  padding:8px 0 0!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
html body.page-id-222 .ss-final-footer-icons a{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:auto!important;
}
html body.page-id-222 .ss-final-footer-icons svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}
html body.page-id-222 .ss-final-footer-tagline,
html body.page-id-222 .ss-final-footer-copy{
  display:none!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}


/* ===== WORK LOG: REMOVE LEGACY BOTTOM NAV — 2026-09-23 ===== */
html body.page-id-222 .ss-final-footer-nav,
html body.page-id-222 .ss-footer-nav,
html body.page-id-222 .ss-master-footer-nav,
html body.page-id-222 footer nav,
html body.page-id-222 footer menu,
html body.page-id-222 .site-footer nav,
html body.page-id-222 .site-footer menu,
html body.page-id-222 .wp-site-blocks>footer nav,
html body.page-id-222 .wp-site-blocks>footer .wp-block-navigation{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-222 .ss-final-footer{
  padding-top:18px!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}
{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card,
  body.page-id-154 .wl-login{
    padding:15px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-222 .ss-login-wrap{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.page-id-222 .ss-login{
    padding:16px!important;
    border-radius:12px!important;
  }
}

@media(max-width:390px){
  body.page-id-85 .ss-contact .actions{
    grid-template-columns:1fr!important;
  }

  body.page-id-218 .ssm2-kpis,
  body.page-id-218 .ssm2-toolgrid,
  body.page-id-154 .wl-downloads{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOME: REMOVE LEGACY SECOND HEADER / CONTENTS BLOCK — 2026-09-23 ===== */
html body.page-id-2 header.ss-header,
html body.page-id-2 .ss-home-mobile-brand,
html body.page-id-2 .ss-home-mobile-nav,
html body.page-id-2 .ss-home-contents{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-2 header.ss-header #ss-primary-nav::before{
  content:none!important;
  display:none!important;
}


/* ===== WORK LOG: REMOVE LEGACY BOTTOM NAV — 2026-09-23 ===== */
html body.page-id-222 .ss-final-footer-nav,
html body.page-id-222 .ss-footer-nav,
html body.page-id-222 .ss-master-footer-nav,
html body.page-id-222 footer nav,
html body.page-id-222 footer menu,
html body.page-id-222 .site-footer nav,
html body.page-id-222 .site-footer menu,
html body.page-id-222 .wp-site-blocks>footer nav,
html body.page-id-222 .wp-site-blocks>footer .wp-block-navigation{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
html body.page-id-222 .ss-final-footer{
  padding-top:18px!important;
}


/* ===== WORK LOG STANDARD FOOTER VISIBLE — FINAL ===== */
html body.page-id-222 .ss-final-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:16px 10px 22px!important;
  overflow:visible!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
}
html body.page-id-222 .ss-final-footer-nav{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}
html body.page-id-222 .ss-final-footer-logo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:min(100%,780px)!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto 14px!important;
  object-fit:contain!important;
}
html body.page-id-222 .ss-final-footer-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(34px,12vw,78px)!important;
  width:100%!important;
  height:auto!important;
  min-height:58px!important;
  max-height:none!important;
  margin:0!important;
  padding:8px 0 0!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
html body.page-id-222 .ss-final-footer-icons a{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:auto!important;
}
html body.page-id-222 .ss-final-footer-icons svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:31px!important;
  height:31px!important;
  fill:none!important;
  stroke:#f3d783!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 0 5px rgba(255,220,120,.72))!important;
}
html body.page-id-222 .ss-final-footer-tagline,
html body.page-id-222 .ss-final-footer-copy{
  display:none!important;
}


/* ===== WORK LOG: FORCE STANDARD FOOTER VISIBLE, NAV HIDDEN — 2026-09-23 ===== */
html body.page-id-222 .ss-final-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:20px 14px 26px!important;
  background:#050505!important;
  border-top:1px solid rgba(215,173,82,.34)!important;
  text-align:center!important;
}
html body.page-id-222 .ss-final-footer-logo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:min(100%,780px)!important;
  height:auto!important;
  margin:0 auto 18px!important;
}
html body.page-id-222 .ss-final-footer-icons{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(44px,11vw,120px)!important;
  margin:0 auto 24px!important;
  height:auto!important;
  overflow:visible!important;
}
html body.page-id-222 .ss-final-footer-icons a{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:68px!important;
  height:68px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(215,173,82,.68)!important;
  border-radius:50%!important;
}
html body.page-id-222 .ss-final-footer-tagline,
html body.page-id-222 .ss-final-footer-copy{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  overflow:visible!important;
}
html body.page-id-222 .ss-final-footer-nav,
html body.page-id-222 .ss-footer-nav,
html body.page-id-222 .ss-master-footer-nav{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}


/* --- WPWriter addition --- */

/* =========================================================
   SOCHO SONS — MOBILE UX + PERFORMANCE PASS — 2026-09-23
   ========================================================= */

/* Render below-the-fold sections only when needed */
body main section:not(:first-child),
body .entry-content > section:not(:first-child),
body .entry-content > div > section:not(:first-child){
  content-visibility:auto;
  contain-intrinsic-size:700px;
}

/* ÁdI AI is a first-class navigation item */
body .menu-item-1516 > a,
body .menu-item-1516 > .wp-block-navigation-item__content{
  border-color:rgba(243,215,131,.62)!important;
  background:linear-gradient(180deg,rgba(215,173,82,.17),rgba(12,12,12,.96))!important;
  box-shadow:0 0 18px rgba(215,173,82,.10)!important;
}

/* Faster, tighter mobile interface */
@media(max-width:899px){
  body header,
  body .site-header,
  body .wp-site-blocks>header{
    padding:10px 10px 9px!important;
  }

  body header .site-branding,
  body .site-header .site-branding{
    grid-template-columns:56px minmax(0,1fr)!important;
    column-gap:9px!important;
  }

  body header .custom-logo,
  body .site-header .custom-logo,
  body header .site-logo img,
  body .site-header .site-logo img,
  body .wp-block-site-logo img{
    width:54px!important;
    max-width:54px!important;
    height:54px!important;
  }

  body header nav,
  body .site-header nav,
  body #site-navigation,
  body .main-navigation,
  body .primary-navigation,
  body .site-navigation{
    margin-top:8px!important;
    padding-top:8px!important;
  }

  body header nav ul,
  body .site-header nav ul,
  body #site-navigation ul,
  body .main-navigation ul,
  body .primary-navigation ul,
  body .site-navigation ul,
  body ul.menu,
  body .nav-menu,
  body .primary-menu,
  body .wp-block-navigation__container{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }

  body header nav a,
  body .site-header nav a,
  body #site-navigation a,
  body .main-navigation a,
  body .primary-navigation a,
  body .site-navigation a,
  body ul.menu a,
  body .nav-menu a,
  body .wp-block-navigation-item__content{
    min-height:38px!important;
    padding:5px 3px!important;
    font-size:.57rem!important;
    border-radius:7px!important;
  }

  /* Current 8-item navigation = clean 4 + 4 grid */
  body header .menu-item-160,
  body .site-header .menu-item-160{grid-column:1!important;grid-row:1!important}
  body header .menu-item-199,
  body .site-header .menu-item-199{grid-column:2!important;grid-row:1!important}
  body header .menu-item-162,
  body .site-header .menu-item-162{grid-column:3!important;grid-row:1!important}
  body header .menu-item-163,
  body .site-header .menu-item-163{grid-column:4!important;grid-row:1!important}
  body header .menu-item-164,
  body .site-header .menu-item-164{grid-column:1!important;grid-row:2!important}
  body header .menu-item-414,
  body .site-header .menu-item-414{grid-column:2!important;grid-row:2!important}
  body header .menu-item-1707,
  body .site-header .menu-item-1707,
  body header .menu-item-228,
  body .site-header .menu-item-228{grid-column:3!important;grid-row:2!important}
  body header .menu-item-1516,
  body .site-header .menu-item-1516{grid-column:4!important;grid-row:2!important}

  /* Less dead space site-wide */
  body .ss-hero,
  body .ss-home .intro{
    padding:34px 0 30px!important;
  }

  body .ss-section,
  body .ss-home .section,
  body .ss-wl-section{
    padding:32px 0!important;
  }

  body .ss-card{padding:18px!important}
  body .ss-home .card-body{padding:18px!important}

  body .ss-h1,
  body .ss-home h1{
    margin-top:6px!important;
    margin-bottom:14px!important;
  }

  body .ss-lead,
  body .ss-copy,
  body .ss-home .lead,
  body .ss-home p,
  body .ss-wl-intro{
    line-height:1.52!important;
  }

  /* Softer effects = less mobile GPU work */
  body .ss-card,
  body .ss-home .card,
  body .ss-list,
  body .ss-home .standard,
  body .ss-login-wrap,
  body .ss-dl{
    box-shadow:0 8px 18px rgba(0,0,0,.22)!important;
  }
}

@media(max-width:480px){
  body header .site-title a,
  body .site-header .site-title a,
  body .wp-block-site-title a{
    font-size:.90rem!important;
  }

  body header .site-description,
  body .site-header .site-description,
  body .wp-block-site-tagline{
    font-size:.60rem!important;
    margin-top:2px!important;
  }

  body .ss-wrap,
  body .ss-home .wrap,
  body .ss-wl-wrap{
    width:calc(100% - 20px)!important;
  }

  body .ss-h1,
  body .ss-home h1{
    font-size:clamp(2.2rem,11vw,3.15rem)!important;
  }

  body .ss-h2,
  body .ss-home h2,
  body .ss-wl-title{
    font-size:clamp(1.65rem,7.8vw,2.15rem)!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   ÁdI AI — SITE-WIDE FLOATING ASSISTANT LAUNCHER
   ========================================================= */
body .menu-item-1516{
  width:auto!important;
  min-width:0!important;
}

body .menu-item-1516 > a,
body .menu-item-1516 > .wp-block-navigation-item__content{
  position:fixed!important;
  right:18px!important;
  bottom:18px!important;
  z-index:999999!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:92px!important;
  min-height:46px!important;
  padding:10px 15px!important;
  border:1px solid #f3d783!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#f5d87d 0%,#d7ad52 58%,#9e6d22 100%)!important;
  color:#050505!important;
  font-size:.72rem!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.045em!important;
  text-transform:none!important;
  text-decoration:none!important;
  box-shadow:0 10px 28px rgba(0,0,0,.48),0 0 22px rgba(215,173,82,.26)!important;
  transform:translateZ(0)!important;
}

body .menu-item-1516 > a::before,
body .menu-item-1516 > .wp-block-navigation-item__content::before{
  content:"✦"!important;
  display:inline-block!important;
  font-size:1rem!important;
  line-height:1!important;
}

body .menu-item-1516 > a:hover,
body .menu-item-1516 > .wp-block-navigation-item__content:hover{
  filter:brightness(1.07)!important;
  transform:translateY(-1px)!important;
}

@media(max-width:899px){
  body .menu-item-1516{
    grid-column:auto!important;
    grid-row:auto!important;
  }
  body .menu-item-1516 > a,
  body .menu-item-1516 > .wp-block-navigation-item__content{
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    min-width:82px!important;
    min-height:42px!important;
    padding:9px 12px!important;
    font-size:.66rem!important;
  }
}

/* Keep the regular mobile header grid balanced after ÁdI becomes floating */
@media(max-width:899px){
  body header nav ul,
  body .site-header nav ul,
  body #site-navigation ul,
  body .main-navigation ul,
  body .primary-navigation ul,
  body .site-navigation ul,
  body ul.menu,
  body .nav-menu,
  body .primary-menu,
  body .wp-block-navigation__container{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body header .menu-item-1707,
  body .site-header .menu-item-1707,
  body header .menu-item-228,
  body .site-header .menu-item-228{
    grid-column:3 / 5!important;
    grid-row:2!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   WORK / LOG — MOBILE APP UX PASS — 2026-09-23
   ========================================================= */
body.page-id-222 .ss-wl{
  --wl-app-radius:18px;
}

@media(max-width:760px){
  body.page-id-222 .ss-wl-hero{
    padding:16px 0 22px!important;
  }

  body.page-id-222 .ss-wl-hero img{
    width:min(88vw,560px)!important;
    margin:0 auto 14px!important;
  }

  body.page-id-222 .ss-wl-intro{
    max-width:640px!important;
    padding:0 8px!important;
    font-size:.98rem!important;
    line-height:1.42!important;
  }

  body.page-id-222 .ss-wl-section{
    padding:24px 0!important;
  }

  body.page-id-222 .ss-wl-title{
    margin-bottom:6px!important;
    font-size:1.55rem!important;
    line-height:1.05!important;
  }

  body.page-id-222 .ss-wl-sub{
    margin-bottom:16px!important;
    font-size:.72rem!important;
    line-height:1.35!important;
  }

  /* Login becomes two clear app panels */
  body.page-id-222 .ss-login-wrap{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:8px!important;
    border-radius:var(--wl-app-radius)!important;
    overflow:visible!important;
    background:#070707!important;
  }

  body.page-id-222 .ss-login{
    padding:14px 10px 12px!important;
    border:1px solid rgba(232,198,111,.35)!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#11100d,#080808)!important;
  }

  body.page-id-222 .ss-login + .ss-login{
    border-top:1px solid rgba(232,198,111,.35)!important;
    border-left:1px solid rgba(232,198,111,.35)!important;
  }

  body.page-id-222 .ss-login-icon{
    width:42px!important;
    height:42px!important;
    margin-bottom:4px!important;
  }

  body.page-id-222 .ss-login h3{
    margin:5px 0 3px!important;
    font-size:.75rem!important;
    letter-spacing:.10em!important;
  }

  body.page-id-222 .ss-login .role{
    margin-bottom:8px!important;
    font-size:.66rem!important;
    line-height:1.25!important;
  }

  body.page-id-222 .ss-field{
    height:40px!important;
    margin:6px 0!important;
    padding:0 8px!important;
    border-radius:8px!important;
  }

  body.page-id-222 .ss-field span{
    font-size:.75rem!important;
  }

  body.page-id-222 .ss-field input{
    min-width:0!important;
    font-size:.75rem!important;
  }

  body.page-id-222 .ss-login button{
    height:42px!important;
    min-height:42px!important;
    margin-top:8px!important;
    border-radius:8px!important;
    font-size:.72rem!important;
    letter-spacing:.10em!important;
  }

  body.page-id-222 .ss-login-meta{
    margin-top:7px!important;
    gap:4px!important;
    font-size:.58rem!important;
    line-height:1.2!important;
  }

  /* Feature area = compact app dashboard cards */
  body.page-id-222 .ss-features{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    border:0!important;
    background:transparent!important;
  }

  body.page-id-222 .ss-f{
    min-height:118px!important;
    padding:12px 8px!important;
    border:1px solid rgba(216,173,78,.24)!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,#10100e,#080808)!important;
    justify-content:center!important;
  }

  body.page-id-222 .ss-ico{
    width:38px!important;
    height:38px!important;
    margin-bottom:4px!important;
  }

  body.page-id-222 .ss-ico svg{
    width:19px!important;
    height:19px!important;
  }

  body.page-id-222 .ss-f h3{
    margin:5px 0 4px!important;
    font-size:.58rem!important;
    letter-spacing:.08em!important;
  }

  body.page-id-222 .ss-f p{
    font-size:.62rem!important;
    line-height:1.25!important;
  }

  /* Downloads look like app shortcuts */
  body.page-id-222 .ss-download{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }

  body.page-id-222 .ss-dl{
    min-height:86px!important;
    padding:8px 3px!important;
    border-radius:12px!important;
  }

  body.page-id-222 .ss-dl svg{
    width:24px!important;
    height:24px!important;
    margin-bottom:2px!important;
  }

  body.page-id-222 .ss-dl strong{
    font-size:.58rem!important;
    line-height:1.1!important;
  }

  body.page-id-222 .ss-pill{
    margin-top:3px!important;
    padding:3px 4px!important;
    font-size:.44rem!important;
    line-height:1.05!important;
  }

  /* Keep form controls comfortably tappable */
  body.page-id-222 input,
  body.page-id-222 button,
  body.page-id-222 a{
    touch-action:manipulation;
  }
}

@media(max-width:430px){
  body.page-id-222 .ss-login-wrap{
    gap:6px!important;
    padding:6px!important;
  }

  body.page-id-222 .ss-login{
    padding:12px 7px 10px!important;
  }

  body.page-id-222 .ss-login-icon{
    width:36px!important;
    height:36px!important;
  }

  body.page-id-222 .ss-field{
    height:38px!important;
    padding:0 6px!important;
  }

  body.page-id-222 .ss-field input{
    font-size:.68rem!important;
  }

  body.page-id-222 .ss-login button{
    font-size:.64rem!important;
  }

  body.page-id-222 .ss-f{
    min-height:108px!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   WORK / LOG MANAGEMENT — MOBILE DASHBOARD PASS — 2026-09-23
   ========================================================= */
@media(max-width:820px){
  body.page-id-218{
    padding-bottom:78px!important;
  }

  body.page-id-218 #ss-mgmt-v2{
    margin:10px auto 16px!important;
    padding:0 10px!important;
  }

  body.page-id-218 .ssm2-head{
    padding:16px!important;
    gap:12px!important;
    border-radius:14px!important;
  }

  body.page-id-218 .ssm2-head h2{
    font-size:2rem!important;
    margin:4px 0!important;
  }

  body.page-id-218 .ssm2-head p{
    font-size:.78rem!important;
    line-height:1.35!important;
  }

  body.page-id-218 .ssm2-primary{
    min-height:42px!important;
    padding:0 12px!important;
    font-size:.72rem!important;
    border-radius:9px!important;
  }

  body.page-id-218 .ssm2-kpis{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    margin:8px 0!important;
  }

  body.page-id-218 .ssm2-kpi{
    min-width:0!important;
    padding:10px 6px!important;
    border-radius:10px!important;
    text-align:center!important;
    align-items:center!important;
  }

  body.page-id-218 .ssm2-kpi-value{
    font-size:1.35rem!important;
    line-height:1!important;
  }

  body.page-id-218 .ssm2-kpi-label{
    font-size:.48rem!important;
    line-height:1.15!important;
    letter-spacing:.035em!important;
  }

  body.page-id-218 .ssm2-grid{
    gap:8px!important;
  }

  body.page-id-218 .ssm2-panel,
  body.page-id-218 .ssm2-module{
    padding:14px!important;
    border-radius:12px!important;
  }

  body.page-id-218 .ssm2-panel-head,
  body.page-id-218 .ssm2-module-head{
    margin-bottom:10px!important;
    gap:8px!important;
  }

  body.page-id-218 .ssm2-panel h3,
  body.page-id-218 .ssm2-module h3{
    font-size:1.05rem!important;
    line-height:1.1!important;
  }

  body.page-id-218 .ssm2-tag,
  body.page-id-218 .ssm2-eyebrow{
    font-size:.54rem!important;
    letter-spacing:.12em!important;
  }

  body.page-id-218 .ssm2-status-ok,
  body.page-id-218 .ssm2-count{
    font-size:.52rem!important;
    padding:4px 6px!important;
  }

  body.page-id-218 .ssm2-empty{
    padding:11px!important;
  }

  body.page-id-218 .ssm2-empty strong{
    font-size:.78rem!important;
  }

  body.page-id-218 .ssm2-empty span{
    font-size:.66rem!important;
    line-height:1.3!important;
  }

  body.page-id-218 .ssm2-actions{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }

  body.page-id-218 .ssm2-actions a{
    min-height:40px!important;
    padding:5px!important;
    font-size:.58rem!important;
    border-radius:8px!important;
    text-align:center!important;
  }

  body.page-id-218 .ssm2-shortcuts{
    margin-top:8px!important;
  }

  body.page-id-218 .ssm2-toolgrid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }

  body.page-id-218 .ssm2-toolgrid a{
    min-height:92px!important;
    padding:8px 5px!important;
    gap:4px!important;
    align-items:center!important;
    text-align:center!important;
    border-radius:10px!important;
  }

  body.page-id-218 .ssm2-toolgrid a>span{
    font-size:1rem!important;
  }

  body.page-id-218 .ssm2-toolgrid strong{
    font-size:.66rem!important;
  }

  body.page-id-218 .ssm2-toolgrid small{
    display:none!important;
  }

  body.page-id-218 .ssm2-module{
    margin:8px 10px!important;
  }

  body.page-id-218 .ssm2-row{
    padding:10px!important;
    gap:8px!important;
  }

  body.page-id-218 .ssm2-row strong{
    font-size:.76rem!important;
  }

  body.page-id-218 .ssm2-row small{
    font-size:.62rem!important;
  }

  body.page-id-218 .ssm2-badge{
    font-size:.5rem!important;
    padding:4px 6px!important;
  }

  body.page-id-218 .ssm2-reportgrid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  body.page-id-218 .ssm2-reportgrid>div{
    padding:10px 6px!important;
    text-align:center!important;
  }

  body.page-id-218 .ssm2-reportgrid strong{
    font-size:1.2rem!important;
  }

  body.page-id-218 .ssm2-reportgrid span{
    font-size:.48rem!important;
    line-height:1.15!important;
  }

  body.page-id-218 .ssm2-module-copy{
    font-size:.72rem!important;
    line-height:1.35!important;
  }

  body.page-id-218 .ssm2-manage-link{
    margin-top:9px!important;
    font-size:.68rem!important;
  }

  body.page-id-218 .ssm2-mobile-nav{
    left:6px!important;
    right:6px!important;
    bottom:calc(6px + env(safe-area-inset-bottom))!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:5px!important;
    border-radius:13px!important;
  }

  body.page-id-218 .ssm2-mobile-nav a{
    min-height:44px!important;
    padding:5px 2px!important;
    font-size:.51rem!important;
    line-height:1.1!important;
  }
}

@media(max-width:430px){
  body.page-id-218 .ssm2-kpi{
    padding:8px 3px!important;
  }
  body.page-id-218 .ssm2-kpi-value{
    font-size:1.2rem!important;
  }
  body.page-id-218 .ssm2-actions a{
    font-size:.52rem!important;
  }
  body.page-id-218 .ssm2-toolgrid a{
    min-height:82px!important;
    padding:7px 3px!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   WORK / LOG EMPLOYEE — MOBILE APP UX PASS — 2026-09-23
   ========================================================= */
@media(max-width:820px){
  body.page-id-154 .wl-hero{
    max-height:210px!important;
    overflow:hidden!important;
  }

  body.page-id-154 .wl-hero img{
    width:100%!important;
    height:210px!important;
    object-fit:cover!important;
    object-position:center!important;
  }

  body.page-id-154 .wl-sec{
    padding:24px 0!important;
  }

  body.page-id-154 .wl-head{
    margin-bottom:16px!important;
  }

  body.page-id-154 .wl-k{
    font-size:.58rem!important;
    letter-spacing:.13em!important;
  }

  body.page-id-154 .wl-h2{
    margin:5px 0 7px!important;
    font-size:1.55rem!important;
    line-height:1.05!important;
  }

  body.page-id-154 .wl-head p{
    font-size:.76rem!important;
    line-height:1.35!important;
  }

  body.page-id-154 .wl-points{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:14px!important;
  }

  body.page-id-154 .wl-point{
    grid-template-columns:34px 1fr!important;
    gap:7px!important;
    padding:8px!important;
    border:1px solid rgba(215,173,82,.16)!important;
    border-radius:10px!important;
    background:#0a0908!important;
  }

  body.page-id-154 .wl-num{
    width:30px!important;
    height:30px!important;
    font-size:.62rem!important;
  }

  body.page-id-154 .wl-point h3{
    font-size:.67rem!important;
    line-height:1.15!important;
    margin-bottom:2px!important;
  }

  body.page-id-154 .wl-point p{
    font-size:.58rem!important;
    line-height:1.22!important;
  }

  body.page-id-154 .wl-login{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.page-id-154 .wl-card{
    padding:12px 8px!important;
    border-radius:14px!important;
  }

  body.page-id-154 .wl-logo{
    width:min(125px,72%)!important;
  }

  body.page-id-154 .wl-mini{
    font-size:.45rem!important;
    line-height:1.15!important;
    letter-spacing:.08em!important;
  }

  body.page-id-154 .wl-card h3{
    margin:8px 0 2px!important;
    font-size:1.15rem!important;
  }

  body.page-id-154 .wl-role{
    margin:2px 0 7px!important;
    font-size:.72rem!important;
    letter-spacing:.10em!important;
  }

  body.page-id-154 .wl-desc{
    margin-bottom:9px!important;
    font-size:.48rem!important;
    line-height:1.2!important;
    letter-spacing:.05em!important;
  }

  body.page-id-154 .wl-form{
    gap:7px!important;
  }

  body.page-id-154 .wl-form label span{
    margin-bottom:3px!important;
    font-size:.5rem!important;
    letter-spacing:.06em!important;
  }

  body.page-id-154 .wl-form input[type=text],
  body.page-id-154 .wl-form input[type=password]{
    height:40px!important;
    padding:0 8px!important;
    font-size:.72rem!important;
    border-radius:7px!important;
  }

  body.page-id-154 .wl-btn{
    min-height:42px!important;
    margin-top:2px!important;
    border-radius:8px!important;
    font-size:.62rem!important;
    letter-spacing:.07em!important;
  }

  body.page-id-154 .wl-foot{
    margin-top:9px!important;
    padding-top:8px!important;
    font-size:.45rem!important;
    letter-spacing:.08em!important;
  }

  body.page-id-154 .wl-downloads{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }

  body.page-id-154 .wl-dl{
    min-height:86px!important;
    padding:8px 3px!important;
    border-radius:11px!important;
  }

  body.page-id-154 .wl-dl .ico{
    margin-bottom:4px!important;
    font-size:1.35rem!important;
  }

  body.page-id-154 .wl-dl strong{
    font-size:.6rem!important;
  }

  body.page-id-154 .wl-dl span{
    margin-top:2px!important;
    font-size:.43rem!important;
    letter-spacing:.05em!important;
  }

  /* Logged-in employee portal: compact app surface */
  body.page-id-154.logged-in .wl-portal{
    padding:14px 0 24px!important;
  }

  body.page-id-154.logged-in .wl-portal .wl-wrap{
    width:calc(100% - 16px)!important;
  }

  body.page-id-154 button,
  body.page-id-154 input,
  body.page-id-154 a{
    touch-action:manipulation;
  }
}

@media(max-width:430px){
  body.page-id-154 .wl-hero{
    max-height:170px!important;
  }
  body.page-id-154 .wl-hero img{
    height:170px!important;
  }
  body.page-id-154 .wl-points{
    gap:6px!important;
  }
  body.page-id-154 .wl-point{
    padding:7px 5px!important;
  }
  body.page-id-154 .wl-point p{
    display:none!important;
  }
  body.page-id-154 .wl-point h3{
    font-size:.61rem!important;
  }
  body.page-id-154 .wl-card{
    padding:10px 6px!important;
  }
  body.page-id-154 .wl-form input[type=text],
  body.page-id-154 .wl-form input[type=password]{
    height:38px!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   PUBLIC SITE CLEANUP + HOME MOBILE COMPACTION — 2026-09-23
   ========================================================= */

/* Old per-page ÁdI widget is redundant now that ÁdI is global */
body .adi-float-widget{
  display:none!important;
}

/* HOME — tighter, faster mobile composition */
@media(max-width:768px){
  body.page-id-2 .ss-page > section:first-child{
    min-height:auto!important;
  }

  body.page-id-2 .ss-page > section:first-child > div{
    padding:30px 0!important;
    width:min(100%,calc(100% - 4px))!important;
  }

  body.page-id-2 .ss-page > section:first-child h1{
    margin-bottom:10px!important;
    font-size:clamp(2.35rem,11vw,3.35rem)!important;
  }

  body.page-id-2 .ss-page > section:first-child p{
    margin-bottom:16px!important;
    max-width:620px!important;
    font-size:.94rem!important;
    line-height:1.45!important;
  }

  body.page-id-2 .ss-page > section:first-child a{
    min-height:42px!important;
    padding:10px 14px!important;
    font-size:.68rem!important;
  }

  body.page-id-2 .ss-page > section{
    padding-top:30px!important;
    padding-bottom:30px!important;
  }

  body.page-id-2 .ss-page > section h2{
    margin-top:5px!important;
    margin-bottom:9px!important;
  }

  body.page-id-2 .ss-page > section p{
    line-height:1.48!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(2) > div > div:last-child,
  body.page-id-2 .ss-page > section:nth-of-type(5) > div > div:last-child{
    gap:8px!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(2) > div > div:last-child > div,
  body.page-id-2 .ss-page > section:nth-of-type(5) > div > div:last-child > div{
    padding:14px!important;
    border-radius:10px!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(2) h3,
  body.page-id-2 .ss-page > section:nth-of-type(5) h3{
    font-size:.92rem!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(2) p,
  body.page-id-2 .ss-page > section:nth-of-type(5) p{
    font-size:.78rem!important;
    line-height:1.38!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(3) ul{
    line-height:1.55!important;
    padding-left:18px!important;
    font-size:.82rem!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(4) > div{
    gap:14px!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(4) img{
    max-height:260px!important;
    object-fit:cover!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(7) > div > div:last-child{
    gap:8px!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(7) > div > div:last-child > div{
    padding:14px!important;
  }

  body.page-id-2 .ss-page > section:last-child{
    padding-top:30px!important;
    padding-bottom:30px!important;
  }
}

@media(max-width:430px){
  body.page-id-2 .ss-page > section:first-child > div{
    padding:24px 0!important;
  }

  body.page-id-2 .ss-page > section{
    padding-top:24px!important;
    padding-bottom:24px!important;
  }

  body.page-id-2 .ss-page > section:nth-of-type(2) > div > div:last-child,
  body.page-id-2 .ss-page > section:nth-of-type(5) > div > div:last-child{
    grid-template-columns:1fr!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   COMPANY + SERVICES — MOBILE COMPACTION — 2026-09-23
   ========================================================= */
@media(max-width:768px){

  /* COMPANY */
  body.page-id-196 .ss-hero{
    padding:30px 0 26px!important;
  }
  body.page-id-196 .ss-h1{
    margin:6px 0 12px!important;
    font-size:clamp(2.2rem,10.8vw,3.3rem)!important;
  }
  body.page-id-196 .ss-lead{
    font-size:.9rem!important;
    line-height:1.45!important;
  }
  body.page-id-196 .ss-section{
    padding:28px 0!important;
  }
  body.page-id-196 .ss-h2{
    margin:6px 0 10px!important;
    font-size:clamp(1.6rem,7.8vw,2.2rem)!important;
  }
  body.page-id-196 .ss-copy{
    font-size:.86rem!important;
    line-height:1.48!important;
  }
  body.page-id-196 .ss-copy p{
    margin-bottom:11px!important;
  }
  body.page-id-196 .ss-values{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:16px!important;
  }
  body.page-id-196 .ss-card{
    padding:12px 9px!important;
    border-radius:10px!important;
  }
  body.page-id-196 .ss-card h3{
    margin-bottom:5px!important;
    font-size:.68rem!important;
    letter-spacing:.04em!important;
  }
  body.page-id-196 .ss-card p{
    font-size:.65rem!important;
    line-height:1.3!important;
  }
  body.page-id-196 .ss-commit{
    gap:12px!important;
  }
  body.page-id-196 .ss-list{
    padding:12px!important;
  }
  body.page-id-196 .ss-list div{
    padding:8px 0!important;
    font-size:.76rem!important;
  }
  body.page-id-196 .ss-cta{
    padding:30px 0!important;
  }
  body.page-id-196 .ss-cta p{
    margin-bottom:14px!important;
    font-size:.84rem!important;
    line-height:1.4!important;
  }
  body.page-id-196 .ss-btn{
    min-height:42px!important;
    padding:10px 14px!important;
    font-size:.68rem!important;
  }

  /* SERVICES — generic compression for current page structure */
  body.page-id-15 section{
    padding-top:28px!important;
    padding-bottom:28px!important;
  }
  body.page-id-15 h1{
    margin-top:4px!important;
    margin-bottom:10px!important;
    font-size:clamp(2.2rem,10.8vw,3.3rem)!important;
  }
  body.page-id-15 h2{
    margin-top:5px!important;
    margin-bottom:9px!important;
    font-size:clamp(1.6rem,7.8vw,2.2rem)!important;
  }
  body.page-id-15 h3{
    font-size:.9rem!important;
    margin-bottom:5px!important;
  }
  body.page-id-15 p{
    font-size:.84rem!important;
    line-height:1.45!important;
  }
  body.page-id-15 [style*="grid-template-columns"]{
    gap:8px!important;
  }
  body.page-id-15 [style*="padding:24px"],
  body.page-id-15 [style*="padding: 24px"],
  body.page-id-15 [style*="padding:28px"],
  body.page-id-15 [style*="padding: 28px"]{
    padding:14px!important;
  }
  body.page-id-15 a[style*="padding"]{
    min-height:42px!important;
    padding:10px 14px!important;
    font-size:.68rem!important;
  }
}

@media(max-width:430px){
  body.page-id-196 .ss-values{
    grid-template-columns:1fr!important;
  }
  body.page-id-196 .ss-card{
    padding:13px!important;
  }
  body.page-id-196 .ss-card h3{
    font-size:.76rem!important;
  }
  body.page-id-196 .ss-card p{
    font-size:.7rem!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   PROJECTS + CAREERS + CONTACT — MOBILE COMPACTION — 2026-09-23
   ========================================================= */
@media(max-width:768px){

  /* Shared section rhythm */
  body.page-id-124 section,
  body.page-id-413 section,
  body.page-id-85 section{
    padding-top:26px!important;
    padding-bottom:26px!important;
  }

  body.page-id-124 h1,
  body.page-id-413 h1,
  body.page-id-85 h1{
    margin-top:5px!important;
    margin-bottom:10px!important;
    font-size:clamp(2.1rem,10.5vw,3.15rem)!important;
  }

  body.page-id-124 h2,
  body.page-id-413 h2,
  body.page-id-85 h2{
    margin-top:5px!important;
    margin-bottom:9px!important;
    font-size:clamp(1.55rem,7.6vw,2.15rem)!important;
  }

  body.page-id-124 h3,
  body.page-id-413 h3,
  body.page-id-85 h3{
    font-size:.88rem!important;
    line-height:1.2!important;
  }

  body.page-id-124 p,
  body.page-id-413 p,
  body.page-id-85 p{
    font-size:.82rem!important;
    line-height:1.42!important;
  }

  /* PROJECTS */
  body.page-id-124 section:first-of-type{
    padding-top:28px!important;
    padding-bottom:20px!important;
  }

  body.page-id-124 article{
    border-radius:10px!important;
  }

  body.page-id-124 article > div:first-child{
    aspect-ratio:16/10!important;
  }

  body.page-id-124 article > div:last-child{
    padding:10px 11px!important;
  }

  body.page-id-124 article > div:last-child > div:first-child{
    font-size:.66rem!important;
    line-height:1.15!important;
  }

  body.page-id-124 article p{
    margin-top:4px!important;
    font-size:.7rem!important;
    line-height:1.28!important;
  }

  body.page-id-124 [style*="grid-template-columns"]{
    gap:8px!important;
  }

  /* CAREERS */
  body.page-id-413 [style*="padding:24px"],
  body.page-id-413 [style*="padding: 24px"],
  body.page-id-413 [style*="padding:28px"],
  body.page-id-413 [style*="padding: 28px"]{
    padding:14px!important;
  }

  body.page-id-413 [style*="grid-template-columns"]{
    gap:8px!important;
  }

  body.page-id-413 a[style*="padding"],
  body.page-id-413 button{
    min-height:42px!important;
    padding:10px 14px!important;
    font-size:.68rem!important;
  }

  /* CONTACT */
  body.page-id-85 [style*="grid-template-columns"]{
    gap:10px!important;
  }

  body.page-id-85 [style*="padding:24px"],
  body.page-id-85 [style*="padding: 24px"],
  body.page-id-85 [style*="padding:28px"],
  body.page-id-85 [style*="padding: 28px"],
  body.page-id-85 [style*="padding:32px"],
  body.page-id-85 [style*="padding: 32px"]{
    padding:14px!important;
  }

  body.page-id-85 input,
  body.page-id-85 select,
  body.page-id-85 textarea{
    font-size:16px!important;
    min-height:42px!important;
    border-radius:8px!important;
  }

  body.page-id-85 textarea{
    min-height:110px!important;
  }

  body.page-id-85 button,
  body.page-id-85 a[style*="padding"]{
    min-height:42px!important;
    padding:10px 14px!important;
    font-size:.68rem!important;
  }
}

@media(max-width:430px){
  body.page-id-124 article > div:first-child{
    aspect-ratio:3/2!important;
  }

  body.page-id-124 [style*="grid-template-columns"]{
    grid-template-columns:1fr!important;
  }

  body.page-id-413 [style*="grid-template-columns"],
  body.page-id-85 [style*="grid-template-columns"]{
    grid-template-columns:1fr!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   GLOBAL MOBILE FOOTER COMPACTION — 2026-09-23
   ========================================================= */
@media(max-width:768px){
  body footer,
  body .site-footer,
  body .wp-site-blocks>footer{
    padding:16px 10px 14px!important;
  }

  body footer::before,
  body .site-footer::before,
  body .wp-site-blocks>footer::before{
    width:min(210px,58vw)!important;
    margin:0 auto 10px!important;
  }

  body footer nav,
  body .site-footer nav,
  body .wp-site-blocks>footer nav,
  body .ss-footer-nav,
  body .ss-master-footer-nav{
    margin-top:8px!important;
    padding-top:8px!important;
  }

  body footer nav ul,
  body .site-footer nav ul,
  body .wp-site-blocks>footer ul,
  body .ss-master-footer-nav{
    gap:5px!important;
  }

  body footer nav a,
  body .site-footer nav a,
  body .wp-site-blocks>footer a,
  body .ss-master-footer-nav a{
    min-height:34px!important;
    padding:5px 4px!important;
    font-size:.56rem!important;
    line-height:1.1!important;
  }

  body .ss-final-footer,
  body .ss-master-site-footer{
    padding-top:14px!important;
    padding-bottom:14px!important;
  }

  body .ss-final-footer-logo,
  body .ss-master-footer-brand img{
    width:min(190px,54vw)!important;
    height:auto!important;
  }

  body .ss-final-footer-icons,
  body .ss-contact-icons-footer{
    margin-top:8px!important;
  }

  body .ss-final-footer-tagline,
  body .ss-final-footer-copy,
  body .ss-master-footer-note{
    font-size:.58rem!important;
    line-height:1.2!important;
    margin-top:6px!important;
  }
}

@media(max-width:430px){
  body footer::before,
  body .site-footer::before,
  body .wp-site-blocks>footer::before{
    width:min(175px,52vw)!important;
  }

  body footer,
  body .site-footer,
  body .wp-site-blocks>footer{
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   SITE-WIDE MOBILE PERFORMANCE PASS — 2026-09-23
   ========================================================= */

/* Respect reduced-motion preferences everywhere */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto!important}
  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* Mobile: keep the gold look, remove constant GPU-heavy movement */
@media(max-width:768px){
  body [style*="animation:ssGoldShine"],
  body .ss-kicker,
  body .gold,
  body .section-title,
  body .eyebrow,
  body .ss-card h3,
  body .ss-h1 span,
  body .ss-h2 span,
  body .ss-wl-title,
  body .ss-login h3,
  body .ss-f h3{
    animation:none!important;
    background-position:50% center!important;
  }

  /* Lighter shadows on phones */
  body .ss-card,
  body .ss-list,
  body .ss-login-wrap,
  body .ss-dl,
  body .wl-card,
  body .ssm2-panel,
  body .ssm2-module,
  body .ssm2-head,
  body article{
    box-shadow:0 6px 14px rgba(0,0,0,.20)!important;
  }

  /* Avoid expensive blur compositing on fixed mobile controls */
  body .ssm2-mobile-nav{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Hint browser to skip rendering off-screen sections */
  body main section:not(:first-child),
  body .entry-content > section:not(:first-child),
  body .ss-page > section:not(:first-child),
  body .wl > section:not(:first-child){
    content-visibility:auto;
    contain-intrinsic-size:600px;
  }

  /* Prevent oversized images from decoding beyond their visual box */
  body img{
    max-width:100%!important;
    height:auto!important;
  }

  /* Faster tap response */
  body a,
  body button,
  body input,
  body select,
  body textarea{
    touch-action:manipulation;
  }
}

/* Small phones: simplify glow effects further */
@media(max-width:430px){
  body svg,
  body .ico,
  body .ss-ico,
  body .ss-login-icon{
    filter:none!important;
  }

  body .menu-item-1516 > a,
  body .menu-item-1516 > .wp-block-navigation-item__content{
    box-shadow:0 6px 16px rgba(0,0,0,.34)!important;
  }
}


/* --- WPWriter addition --- */

/* =========================================================
   ACCESSIBILITY + INTERACTION PASS — 2026-09-23
   ========================================================= */
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body summary:focus-visible{
  outline:2px solid #f3d783!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 4px rgba(215,173,82,.18)!important;
}

body input,
body select,
body textarea,
body button{
  font:inherit;
}

body input::placeholder,
body textarea::placeholder{
  color:#9f988d!important;
  opacity:1!important;
}

body a{
  text-underline-offset:2px;
}

body img{
  image-rendering:auto;
}

@media(max-width:768px){
  body a,
  body button,
  body input,
  body select,
  body textarea,
  body summary{
    -webkit-tap-highlight-color:rgba(215,173,82,.16);
  }

  body input,
  body select,
  body textarea{
    font-size:16px!important;
  }

  body button,
  body [role="button"],
  body a[style*="background"],
  body .ss-btn,
  body .wl-btn,
  body .ssm2-primary{
    min-height:44px!important;
  }
}
