/* Green Kow Core: spacing tidy (21 Oct 2026). Additive only: vertical padding of the page sections, nothing else.
   Every hand built page repeats its own section class (gkl home, gka about, gkc contact, gki insights, gkp pricing, gks services,
   gkd herd and location pages, gkx the newer sections). Their padding was 80 to 90 px top AND bottom on desktop, so two sections were
   160 to 180 px apart, and 56 px on a phone. Horizontal padding, headings, copy and colours are not touched (padding-block only). */
@media (min-width: 861px) {
  body .gkl-sec, body .gka-sec, body .gkc-sec, body .gki-sec, body .gkd-sec { padding-block: 60px; }
  body .gkp-sec, body .gks-sec { padding-block: 56px; }
  body .gkx-sec { padding-block: 44px; }
}
@media (max-width: 860px) {
  body .gkl-sec, body .gka-sec, body .gkc-sec, body .gki-sec, body .gkd-sec, body .gkp-sec, body .gks-sec { padding-block: 40px; }
  body .gkx-sec { padding-block: 34px; }
}
/* the "load an example" box was a tall empty white panel before anything is picked */
body .gkx-demo { min-height: 110px; }

/* Video cards ([gk_videos]): the page reset ".gkl-root *{padding:0}" came later than the plugin's stylesheet and zeroed the card padding,
   so the text touched the card edge and the "Try ..." button was clipped at the left. Put the plugin's own padding back (same values). */
body .gkv-body { padding: 16px 18px 18px; }
body .gkv-foot { padding-top: 8px; }
body .gkv-cta { padding: 10px 18px; }
body .gkv-noposter { padding: 0 20px 14px; }
body .gkv-media-ph { padding: 16px; }

/* Header and floating badge (02/11/2026, Kerry: header narrower than the page, menu crowded and running off the
   right edge below 1500px, Locations dropdown cut off with a Moo! badge over it, stack pill floating over the content).
   The glass header itself is styled in Additional CSS (database); these rules only override its size and placement. */
html body #masthead.site-header{width:min(1680px,calc(100% - 64px))!important;left:0!important;right:0!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:640px){html body #masthead.site-header{width:calc(100% - 32px)!important}}
/* logo left, menu fills the rest and ends on the right edge of the same container as the page */
html body #masthead .site-top-header-inner-wrap{grid-template-columns:min-content minmax(0,1fr) auto!important;column-gap:24px}
html body #masthead .site-header-top-section-center{justify-content:flex-end!important;min-width:0}
/* the menu wraps to a second row inside the header when it does not fit, never runs off screen or under the logo */
html body #masthead .main-navigation .menu{gap:2px!important;flex-wrap:wrap!important;justify-content:flex-end!important;row-gap:2px!important}
html body #masthead .main-navigation .menu>li>a{padding:10px 12px!important}
@media(max-width:1700px){html body #masthead .main-navigation .menu>li>a{padding:10px 9px!important;font-size:15px!important}}
@media(max-width:1500px){html body #masthead .main-navigation .menu>li>a{padding:8px 7px!important;font-size:14px!important}}
@media(max-width:1360px){html body #masthead .main-navigation .menu>li>a{padding:6px 7px!important}}
/* no Moo! badge over the dropdowns; the last items open their dropdown towards the page, never off the right edge */
html body #masthead .main-navigation ul.sub-menu::before{content:none!important;display:none!important}
html body #masthead .main-navigation .menu>li:nth-last-child(-n+4)>ul.sub-menu{left:auto!important;right:0!important;transform:none!important}
html body #masthead .main-navigation .menu>li:nth-last-child(-n+4)>ul.sub-menu::after{left:auto!important;right:28px!important;transform:rotate(45deg)!important}
/* stack cost badge (mu-plugin gk-stack-cta.php): docked bottom right above the WhatsApp button, its label shows only on hover or focus */
html body #gk-cta{top:auto!important;bottom:118px!important;right:26px!important;transform:none!important;max-width:calc(100vw - 52px);pointer-events:none}
html body #gk-cta .gk-badge{pointer-events:auto}
html body #gk-cta .gk-label{opacity:0!important;pointer-events:none!important}
html body #gk-cta:hover .gk-label,html body #gk-cta:focus-within .gk-label{opacity:1!important;transform:none!important;pointer-events:auto!important}
@media(max-width:600px){html body #gk-cta{bottom:104px!important;right:16px!important}}

/* Menu B (03/11/2026). gk-header.css is not loaded on the front end, so these live here.
   1. The old lime Herd pill (class gk-cta on the menu item, now "Find a business") is a normal item like the others. */
html body #masthead .main-navigation ul.menu > li.gk-cta > a, #masthead .main-navigation li.gk-cta > a,
#masthead .main-navigation li.gk-cta > .drawer-nav-drop-wrap > a { background: transparent !important; background-image: none !important; color: #fff !important; box-shadow: none !important; text-shadow: none !important; font-weight: 600 !important; border-radius: 11px; }
/* 2. The WhatsApp button: forest pill with a thin lime ring so it reads on the dark bar. */
#masthead .main-navigation li.gk-nav-wa > a { background: #0B5D34; color: #fff !important; border-radius: 999px; padding-left: 16px; padding-right: 16px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(183,243,58,.7); }
#masthead .main-navigation li.gk-nav-wa > a:hover { background: #094a2a; color: #fff !important; }

/* Header full width (Kerry 03/11/2026: "menu all squashed, move logo left, padding too much").
   The theme's inner site-container sat at about 1025px in the middle of the 1680px header. It now fills the header,
   the logo sits at the left edge and the menu spreads to the right. */
html body #masthead .site-header-row-container-inner { padding-left: 20px !important; padding-right: 20px !important; }
html body #masthead .site-header-row-container-inner > .site-container { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
html body #masthead .site-header-row-container-inner > .site-container > .site-header-row { width: 100% !important; justify-content: space-between !important; }
html body #masthead .site-header-main-section-left { justify-content: flex-start !important; }
html body #masthead .site-header-main-section-right { justify-content: flex-end !important; margin-left: auto !important; }

/* Sign in: an outlined pill beside WhatsApp so it is easy to find. */
#masthead .main-navigation li.gk-nav-signin > a { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding-left: 16px !important; padding-right: 16px !important; font-weight: 600; color: #fff !important; }

/* Menu centred in the header with more space between items (Kerry 03/11/2026: "menu can be centre aligned, it's all left and squashed").
   The visible bar is the theme's top row; its centre section was flex-end, which pushed the menu right. Logo stays at the left edge. */
html body #masthead .site-header-top-section-center { justify-content: center !important; }
html body #masthead .site-header-item-main-navigation .primary-menu-container > ul > li > a { padding-left: 14px !important; padding-right: 14px !important; }
html body #masthead li.gk-nav-signin { margin-left: 18px !important; }

/* Header gap (Kerry 03/11/2026: "sign in and whatsapp touching"). */
html body #masthead li.gk-nav-wa { margin-left: 12px !important; }

/* Platform cards in 3D (Kerry 03/11/2026: "i liked the tilt, add animations for 3d, i dont want boring").
   The tilt stays, the screenshot fills the card, floats gently, swings in when it scrolls into view, follows the mouse
   (assets/gk-shots.js sets --rx/--ry) and lifts on hover. Tap opens it full size. Motion is off for reduced-motion users. */
.gkv2 .tilt3 { perspective: 1200px; display: flex; flex-direction: column; }
.gkv2 .tilt3 img { --rx: 5deg; --ry: -14deg; --lift: 0px; width: 100% !important; margin-top: auto; border-radius: 12px; cursor: zoom-in;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)) !important; transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; box-shadow: 26px 40px 60px -26px rgba(15,26,20,.6);
  animation: gkFloat 6s ease-in-out infinite; will-change: transform; }
.gkv2 .b4.tilt3 img { animation-delay: -2s; } .gkv2 .b5.tilt3 img { animation-delay: -4s; }
.gkv2 .tilt3:hover img { --lift: -10px; animation-play-state: paused; box-shadow: 34px 56px 80px -30px rgba(15,26,20,.7), 0 0 0 1px rgba(183,243,58,.6); }
.gkv2 .tilt3 img.gk-in-wait { opacity: 0; transform: translateY(40px) rotateX(24deg) rotateY(-30deg) !important; }
.gkv2 .tilt3 img.gk-in { opacity: 1; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s ease; }
.gkv2 .bt.tilt3 { padding-bottom: 30px; overflow: visible; }
@keyframes gkFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .gkv2 .tilt3 img { animation: none; transition: none; } .gkv2 .tilt3 img.gk-in-wait { opacity: 1; } }
.gk-shot-box { position: fixed; inset: 0; z-index: 99999; background: rgba(8,14,10,.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.gk-shot-box img { max-width: 96vw; max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #fff; }

/* Black Friday band in red (Kerry 03/11/2026: "make black friday red background not green"). */
html body .gkbf { background: #D7141A !important; color: #fff !important; border-top-color: #7A0A0D !important; border-bottom-color: #7A0A0D !important; }
html body .gkbf h2, html body .gkbf p { color: #fff !important; }
html body .gkbf .gkbf-tag { background: #fff !important; color: #D7141A !important; }
html body .gkbf .gkbf-cd div { background: #7A0A0D !important; color: #fff !important; }
html body .gkbf .gkbf-cd b { color: #fff !important; }
html body .gkbf .gkbf-cd span { color: #FFD9DA !important; }
html body .gkbf .gkbf-go { background: #fff !important; color: #D7141A !important; }
