/*
Theme Name: Liberty Lake Juice Company
Theme URI: https://libertylakejuice.com/
Author: WunderTRE
Author URI: https://wundertre.com
Description: Classic theme rebuilt to match the previous libertylakejuice.com look (centered logo, black navigation bar with yellow active marker, black footer) from the Sep 11, 2026 archive capture. Page content is built with the Divi Builder plugin.
Version: 1.2.9
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lljc-site
*/

:root{--lljc-yellow:#ffe900;--lljc-dark:#121212;--lljc-text:#474747}
*,*:before,*:after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--lljc-text);font-family:"Martel Sans",sans-serif;font-size:14px;line-height:1.7}
img{max-width:100%;height:auto}
a{color:#2b8fd0;text-decoration:none}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.skip-link:focus{background:#fff;clip:auto;clip-path:none;color:#000;display:block;height:auto;left:8px;padding:10px 14px;top:8px;width:auto;z-index:100000}

/* Top bar */
.lljc-topbar{background:var(--lljc-dark);color:#fff;font-size:13px;line-height:1.4}
.lljc-topbar-inner{max-width:1080px;margin:0 auto;padding:8px 20px;display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-wrap:wrap}
.lljc-topbar a{color:#fff}
.lljc-topbar a:hover,.lljc-topbar a:focus{color:var(--lljc-yellow)}
.lljc-topbar .lljc-top-address{margin-right:auto}
.lljc-topbar .lljc-social{gap:12px}
.lljc-topbar .lljc-social svg{width:16px;height:16px}

/* Masthead */
.lljc-logobar{background:#fff;text-align:center;padding:30px 15px 5px}
.lljc-brand{display:inline-block;line-height:0}
.lljc-brand img{width:750px;max-width:100%;height:auto}
.lljc-navbar{background:var(--lljc-dark);border-bottom:1px solid #000;position:relative}
.lljc-nav{list-style:none;margin:0 auto;padding:0;display:flex;justify-content:center;flex-wrap:wrap}
.lljc-nav li{margin:0}
.lljc-nav a{display:block;height:50px;padding:15px 15px 0;font-family:"Lato",sans-serif;font-weight:700;font-size:13px;line-height:13px;letter-spacing:.085em;text-transform:uppercase;color:#d9d9d9}
.lljc-nav a:hover,.lljc-nav a:focus{color:#fff}
.lljc-nav li.is-current a{box-shadow:inset 0 4px 0 0 var(--lljc-yellow);color:#fff}
.lljc-nav-toggle{display:none;background:none;border:0;color:#d9d9d9;font:700 13px/50px "Lato",sans-serif;letter-spacing:.085em;text-transform:uppercase;width:100%;padding:0 15px;cursor:pointer}
.lljc-nav-toggle:before{content:"\2630";margin-right:10px;font-size:18px;vertical-align:-1px}

/* Content */
.lljc-main{min-height:40vh}
.lljc-container{width:100%;max-width:960px;margin:0 auto;padding:40px 20px}
.lljc-container h1{font-size:2em;margin:0 0 .6em;color:#272727}
.lljc-entry-meta{color:#888;font-size:12px}

/* Visit Us band (homepage) */
.lljc-visit{background:var(--lljc-dark);color:#fff;padding:50px 20px}
.lljc-visit-inner{max-width:1080px;margin:0 auto}
.lljc-visit h2{margin:0 0 28px;color:var(--lljc-yellow);font-size:30px;line-height:1.2;text-align:center;font-weight:800}
.lljc-visit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.lljc-visit h3{margin:0 0 8px;color:var(--lljc-yellow);font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.lljc-visit address{font-style:normal;line-height:1.6;font-size:17px}
.lljc-visit .lljc-phone{font-size:17px}
.lljc-visit a{color:#fff}
.lljc-visit a:hover{color:var(--lljc-yellow)}
.lljc-hours{list-style:none;margin:0;padding:0}
.lljc-hours li{margin:0 0 6px}
.lljc-hours span{display:block;font-weight:700}
.lljc-social{list-style:none;margin:0;padding:0;display:flex;gap:14px;flex-wrap:wrap}
.lljc-social a{display:inline-flex;align-items:center;gap:8px}
.lljc-social svg{width:22px;height:22px;fill:currentColor}

/* Footer (colophon) */
.lljc-colophon{background:var(--lljc-dark);color:#666;text-align:center;padding:10px 15px;font-size:10px;line-height:17px;letter-spacing:2px}
.lljc-colophon ul{list-style:none;margin:6px 0 14px;padding:0}
.lljc-colophon li{display:inline-block;margin:0 6px}
.lljc-colophon a{color:var(--lljc-yellow);text-transform:uppercase;letter-spacing:2px}
.lljc-colophon .lljc-info{margin:0 0 10px;color:#fff}
.lljc-colophon .lljc-info a{color:#fff;text-transform:none;letter-spacing:2px}
.lljc-colophon .lljc-info .lljc-line{display:block}
.lljc-colophon .lljc-social{justify-content:center;margin:0 0 12px}
.lljc-colophon .lljc-social a{color:var(--lljc-yellow);letter-spacing:2px}
.lljc-colophon .lljc-legal a{text-transform:none}
.lljc-colophon .lljc-powered{color:#666}
.lljc-colophon .lljc-powered a{text-transform:none}

@media (max-width:979px){
 .lljc-nav-toggle{display:block}
 .lljc-nav{display:none;flex-direction:column}
 .lljc-nav.is-open{display:flex}
 .lljc-nav a{height:auto;padding:14px 15px;text-align:center;border-top:1px solid #000}
 .lljc-nav li.is-current a{box-shadow:inset 4px 0 0 0 var(--lljc-yellow)}
 .lljc-visit-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
 .lljc-topbar-inner{justify-content:center;gap:10px 18px;text-align:center}
 .lljc-topbar .lljc-top-address{margin-right:0;width:100%}
 .lljc-visit-grid{grid-template-columns:1fr;text-align:center}
 .lljc-social{justify-content:center}
 .lljc-logobar{padding-top:20px}
}

/* Divi Builder content: restore the old X theme heading scale it was designed on */
#et-boc h1,#et-boc .h1{font-size:400%;line-height:1.1}
#et-boc h2,#et-boc .h2{font-size:285.7%;line-height:1.2}
#et-boc h3,#et-boc .h3{font-size:228.5%;line-height:1.3}
#et-boc h4,#et-boc .h4{font-size:171.4%;line-height:1.4}
#et-boc h5,#et-boc .h5{font-size:150%;line-height:1.5}
#et-boc h6,#et-boc .h6{font-size:100%;line-height:1.6}
#et-boc h1,#et-boc h2,#et-boc h3,#et-boc h4,#et-boc h5,#et-boc h6{letter-spacing:-.035em}

/* Divi header scroll arrow: hidden, it overlapped the hero headings */
.et_pb_fullwidth_header_scroll{display:none!important}
/* Home callout: address, phone, hours. Doubled selectors beat Divi's #et-boc resets once nav.js moves it inside the builder */
#lljc-callout,#et-boc #lljc-callout{background:#ffe900;color:#121212;padding:34px 20px;margin:0;text-align:center}
#lljc-callout .lljc-callout-inner,#et-boc #lljc-callout .lljc-callout-inner{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;text-align:center}
#lljc-callout h2,#et-boc #lljc-callout h2{margin:0 0 8px;padding:0;font-size:14px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#121212}
#lljc-callout a,#et-boc #lljc-callout a{color:#121212;font-size:19px;font-weight:700;line-height:1.5;text-decoration:none}
#lljc-callout a:hover,#et-boc #lljc-callout a:hover{text-decoration:underline}
#lljc-callout p,#et-boc #lljc-callout p{margin:0;padding:0;font-size:17px;line-height:1.6;color:#121212}
#lljc-callout .lljc-callout-item+.lljc-callout-item,#et-boc #lljc-callout .lljc-callout-item+.lljc-callout-item{border-left:2px solid rgba(18,18,18,.2)}
@media (max-width:760px){
 #lljc-callout .lljc-callout-inner,#et-boc #lljc-callout .lljc-callout-inner{grid-template-columns:1fr;gap:20px}
 #lljc-callout .lljc-callout-item+.lljc-callout-item,#et-boc #lljc-callout .lljc-callout-item+.lljc-callout-item{border-left:0;border-top:2px solid rgba(18,18,18,.2);padding-top:20px}
}
/* Divi headings on phones: scale down so big titles don't wrap word by word */
@media (max-width:767px){
 #et-boc h1,#et-boc .h1{font-size:250%}
 #et-boc h2,#et-boc .h2{font-size:200%}
 #et-boc h3,#et-boc .h3{font-size:170%}
 #et-boc h4,#et-boc .h4{font-size:140%}
}
/* Home hero (Slider Revolution): scroll-down arrow, sized and nudged so it sits just under "Start Your Juice Journey" */
#rev_slider_2_1 rs-layer-wrap:has(#slider-2-slide-4-layer-7){transform-origin:50% 0!important}
#rev_slider_2_1 rs-layer-wrap:has(#slider-2-slide-4-layer-7){transform:translateY(10px) scale(.7)!important}
@media (min-width:768px) and (max-width:1023px){#rev_slider_2_1 rs-layer-wrap:has(#slider-2-slide-4-layer-7){transform:translateY(14px) scale(.6)!important}}
@media (min-width:1024px){#rev_slider_2_1 rs-layer-wrap:has(#slider-2-slide-4-layer-7){transform:translateY(50px) scale(.45)!important}}

/* Home hero: make the YouTube background video cover the slider (no black letterbox on wide screens) */
#rev_slider_2_1 rs-bgvideo{overflow:hidden!important}#rev_slider_2_1 rs-bgvideo iframe{position:absolute!important;top:50%!important;left:50%!important;width:max(100vw,177.78vh)!important;height:max(100vh,56.25vw)!important;max-width:none!important;max-height:none!important;transform:translate(-50%,-50%)!important}
/* Home hero: YouTube background is decoration only. No hover/clicks reach the player, and the iframe is 200px taller (same 16:9) so YouTube's title bar (top) and "More videos"/logo (bottom) sit outside the hero and are clipped */
#rev_slider_2_1 rs-bgvideo iframe{pointer-events:none!important;height:calc(max(100vh,56.25vw) + 200px)!important;width:calc((max(100vh,56.25vw) + 200px)*16/9)!important}

/* About: tighten gap between Our Story and the order banner */
.page-id-69 #et-boc .et_pb_section_1{padding-bottom:0!important}.page-id-69 #et-boc .et_pb_section_1 .et_pb_row_0{padding-bottom:0!important}

/* v1.2.7 (client feedback, Dec 4 2026) */
/* 1) Yellow text -> brand green. #74a600 is the site's own Cleanses-banner green (#5b8500, hue 81deg) lifted to pass WCAG AA on the dark bands (6.4:1 on #121212, 7.2:1 on #000). Yellow backgrounds (callout band) and the nav's active marker bar are not text and stay yellow. */
:root{--lljc-green:#74a600}
.lljc-topbar a:hover,.lljc-topbar a:focus{color:var(--lljc-green)}
.lljc-visit h2,.lljc-visit h3,.lljc-visit a:hover{color:var(--lljc-green)}
.lljc-colophon a,.lljc-colophon .lljc-social a{color:var(--lljc-green)}
.lljc-colophon .lljc-info a{color:#fff}
#et-boc .et_pb_text span[style*="#edf000"],#et-boc .et_pb_text span[style*="#EDF000"],#et-boc [style*="color: #ffe900"],#et-boc [style*="color:#ffe900"]{color:var(--lljc-green)!important}
.et-db #et-boc .et-l .et_pb_gallery .et_overlay:before{color:var(--lljc-green)!important}

/* 2) About: the "Order ready" box was left floating on a 51px white strip above the dark footer. Close that strip so the box sits on the footer like it sits on the next band on Home and Cleanses. */
.page-id-69 #et-boc .et_pb_section_3{padding-bottom:0!important}
.page-id-69 #et-boc .et_pb_section_3 .et_pb_row_1{padding-bottom:0!important;margin-bottom:0!important}
.page-id-69 #et-boc .et_pb_section_3 .et_pb_column_2{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}

/* 3) Cleanses: the "1" badge image is a 256px file and rendered at 256px while "2"/"3" (320px files) rendered at 320px. Same box for all three. */
.page-id-73 #et-boc .et_pb_blurb .et_pb_main_blurb_image .et_pb_image_wrap{width:280px!important;max-width:100%!important}
.page-id-73 #et-boc .et_pb_blurb .et_pb_main_blurb_image img{width:100%!important;height:auto!important;max-width:100%!important}

/* 4) Home gallery: tiles are fixed 400x284 boxes, but the srcset points at full-size originals, so portrait photos were squashed into them. Crop instead of stretch. */
#et-boc .et_pb_gallery_image img{object-fit:cover!important;object-position:50% 50%}
/* 5) Client's new photos (swapped in by lljc_home_gallery_swap in functions.php): keep cups, faces and lettering in frame */
#et-boc .et_pb_gallery_image img[src*="lljc-storefront-toast"]{object-position:50% 45%}
#et-boc .et_pb_gallery_image img[src*="lljc-merch"]{object-position:50% 50%}
#et-boc .et_pb_gallery_image img[src*="lljc-cafe-interior"]{object-position:50% 75%}
#et-boc .et_pb_gallery_image img[src*="lljc-pink-cup-window"]{object-position:50% 85%}

