/* KBD fixes and additions, loaded after site.css. */

/* [kbd_buttons] CTA button pair (moved from the CTA Button code snippet, which printed it inside the page). */

.cta-section .vc_column-inner {
padding: 100px !important;
}
.cta-section { margin-bottom: 80px !important; padding-top: 0 !important; }
.cta-section .heading-text-box h2 {
    color: #ffffff;
    font-size: 33px;
    font-weight: 700;
    margin: 0; padding-bottom: 30px; text-align: center}
	.cta-section .heading-text-box p {
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400; text-align: center; }
	.cta-section .kbd-btns { margin-top:50px; }
.kbd-btns{--kbd-btn-h:48px;--kbd-btn-px:30px;--kbd-btn-radius:30px;--kbd-btn-gap:10px;--kbd-blue:#1B79AC;--kbd-blue-hover:#15628B;--kbd-outline:#FFFFFF;display:flex;flex-wrap:wrap;gap:var(--kbd-btn-gap);opacity:1;    margin: 0 auto 50px;}
.kbd-btns--row{flex-direction:row;align-items:center}
.kbd-btns--stack{flex-direction:column}
.kbd-btns--row.kbd-btns--left{justify-content:flex-start}
.kbd-btns--row.kbd-btns--center{justify-content:center}
.kbd-btns--row.kbd-btns--right{justify-content:flex-end}
.kbd-btns--stack.kbd-btns--left{align-items:flex-start}
.kbd-btns--stack.kbd-btns--center{align-items:center}
.kbd-btns--stack.kbd-btns--right{align-items:flex-end}
.kbd-btns .kbd-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:var(--kbd-btn-h);padding:0 var(--kbd-btn-px);border:1px solid transparent;border-radius:var(--kbd-btn-radius);font-family:"Poppins",sans-serif;font-size:14px;font-weight:700;line-height:1.1;letter-spacing:.6px;text-transform:uppercase;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .25s ease,color .25s ease,border-color .25s ease}
.kbd-btns .kbd-btn:hover,.kbd-btns .kbd-btn:focus{text-decoration:none}
.kbd-btns .kbd-btn--primary{min-width:246px}
.kbd-btns .kbd-btn--secondary{min-width:210px}
.kbd-btns .kbd-btn--blue{background:var(--kbd-blue);border-color:var(--kbd-blue);color:#fff}
.kbd-btns .kbd-btn--blue:hover,.kbd-btns .kbd-btn--blue:focus{background:var(--kbd-blue-hover);border-color:var(--kbd-blue-hover);color:#fff}
.kbd-btns .kbd-btn--white{background:#FFFFFF;border-color:#FFFFFF;color:#555555}
.kbd-btns .kbd-btn--white:hover,.kbd-btns .kbd-btn--white:focus{background:#F1F1F1;border-color:#F1F1F1;color:#555555}
.kbd-btns .kbd-btn--outline{background:transparent;border-color:var(--kbd-outline);color:var(--kbd-outline)}
.kbd-btns .kbd-btn--outline:hover,.kbd-btns .kbd-btn--outline:focus{background:var(--kbd-outline);color:var(--kbd-blue)}
.kbd-btns--full .kbd-btn{width:100%;min-width:0}
@media (max-width:575px){.kbd-btns{flex-direction:column;align-items:stretch}.kbd-btns .kbd-btn{width:100%;min-width:0;white-space:normal;padding:12px 20px}

}
@media (min-width: 768px) and (max-width:1024px) {
.cta-section {
padding-top: 0 !important;
}
.cta-section .vc_column-inner {
padding: 50px !important;
} }
@media (max-width:480px) {
.cta-section {
padding: 0 !important;
}
.cta-section .vc_column-inner {
padding: 30px !important;
} }


/* Skip link: hidden until focused (keyboard users). */
.skip-link.sr-only-focusable:focus,.skip-link.sr-only-focusable:active{position:fixed;top:8px;left:8px;z-index:100000;width:auto;height:auto;margin:0;clip:auto;overflow:visible;padding:10px 16px;background:#fff;color:#1b79ac;font:600 14px/1.2 Poppins,sans-serif;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.25);text-decoration:none}

/* Gallery lightbox: the close control is a real button now (was a span). */
#lightbox-overlay .lightbox-close{background:none;border:0;padding:0;font:inherit;line-height:1;cursor:pointer}

/* Visible keyboard focus where the old styles removed it. */
a:focus-visible,button:focus-visible,[role="button"]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #1b79ac;outline-offset:2px}

/* Hero slider dots: 10px dots 20px apart were too small to tap and had their focus outline removed. Same dots,
   24px tap areas (14px gaps), focus ring back. */
.hero-section .slick-dots{gap:14px}
.hero-section .slick-dots li button{position:relative}
.hero-section .slick-dots li button::after{content:"";position:absolute;inset:-7px}
.hero-section .slick-dots li button:focus-visible{outline:2px solid #fff!important;outline-offset:2px}

/* Phone menu: an opened sub-menu now pushes the items below it down instead of covering them. */
@media (max-width: 768px) {
	.navbar .navbar-nav > li.sub.open { height: auto !important; flex-wrap: wrap; }
	.navbar .navbar-nav > li.sub.open > .dropdown-menu { width: 100%; flex-basis: 100%; }
}

/* Footer logo: kept in proportion (it was squashed to 230x139 once the image got its size attributes). */
.footer-logo img { height: auto; }


/* Author box on posts (Molongui): its meta line was faded to 70%, leaving the grey text at about 2:1. */
.m-a-box .m-a-box-data .m-a-box-meta{opacity:1}

/* Header drop-downs (user's request, 28 Oct): they opened 36px below the link text (the item's 26px of space
   under the link, then a 10px gap) and closed while the pointer crossed it. They now open where the link's box
   ends; the invisible strip above keeps hover through any remaining gap. */
.navbar .navbar-nav > li.sub > .dropdown-menu{top:calc(100% - 26px);margin-top:0}
.navbar-nav > li.sub > .dropdown-menu::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:12px}

/* Search results: "Read More" was an h4 on live (a heading for a link label); now a span with the h4's look. */
.read-more > a > span.black{display:block;margin:10px 0;font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase}
.blog-article-image img{height:auto}

/* Search results: the heading is an H1 naming the search (live: an H2 "Search"); same size as live's. */
.search .hero-content .title-service h1.white{font-size:72px;line-height:.92;letter-spacing:1px}
@media (max-width: 767px){.search .hero-content .title-service h1.white{font-size:50px}}
.search .blog-article > p, .search .blog-article-date > p{margin:10px 0 15px}

/* Logo (user's decision, 25 Nov 2026): live stretched it on most pages (297x139 image shown at 200x139; in proportion
   only on category/search pages). Now in proportion everywhere, as on those pages (200x94 desktop, 150x70 phone). */
.navbar .nt-img-logo img{height:auto}
/* The page layout is pinned to the old header height (content offsets tuned for the stretched logo), so the
   content moves up by what the header lost: 139px - 94px with the 200px logo, 139px - 70px with the 150px one. */
#main{margin-top:-45px}
@media (max-width: 1400px){#main{margin-top:-69px}}

/* YouTube click-to-play previews (inc/performance.php): WP Rocket's styles from the old build, icon in the theme. */
.rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%}
.rll-youtube-player:focus-within{outline:2px solid currentColor;outline-offset:5px}
.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0}
.rll-youtube-player img{bottom:0;display:block;left:0;margin:auto;max-width:100%;width:100%;position:absolute;right:0;top:0;border:none;height:auto;transition:.4s all}
.rll-youtube-player img:hover{filter:brightness(75%)}
.rll-youtube-player .play{height:100%;width:100%;left:0;top:0;position:absolute;background:url(../img/youtube-play.png) no-repeat center;background-color:transparent!important;cursor:pointer;border:none}

/* Get an Estimate on the Contact page (live too): the menu's current-page rule (blue text, ID selector)
   outranked the button's white text, so the label was blue on blue. Button labels stay white. */
#menu-header-menu > li.contact-button.current-menu-item > a,
#menu-header-menu > li.contact-button.current_page_item > a,
#menu-header-menu > li.contact-button.active > a,
#menu-header-menu > li.kbd-m-estimate.current-menu-item > a,
#menu-header-menu > li.kbd-m-estimate.current_page_item > a,
#menu-header-menu > li.kbd-m-estimate.active > a { color: #fff !important; }

/* Countertops estimate form (form 7, live too): Project Type / Preferred Material showed blank. 38px box,
   12px top/bottom padding and a 38px line height pushed the chosen option out of view. */
.gform_wrapper .gform_fields select { padding-top: 0 !important; padding-bottom: 0 !important; line-height: 36px !important; }

/* In-text links on the dark photo overlays (Quartz / Quartzite / Granite hero, Countertops CTA; live too):
   mid-blue on near-black was barely readable. White and underlined, light blue on hover. */
.hero-image-section .countertop-heading p a:not([class]),
.cta-section .heading-text-box p a:not([class]) { color: #fff !important; text-decoration: underline; }
.hero-image-section .countertop-heading p a:not([class]):hover,
.cta-section .heading-text-box p a:not([class]):hover { color: #a9dcf5 !important; }

/* White page headings over bright photos (Contact, Thank You, Kitchen Remodels, Blog, …; live too) were hard to
   read where the photo is light. A soft shadow keeps them legible; dark photos look the same. */
.hero-heading h1 { text-shadow: 0 2px 14px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .35); }

/* From live's Additional CSS, 30 Nov 2026 (team, pagespeed task): fixed 2-line phone top bar (stops header CLS). */
@media only screen and (max-width: 650px) {
	#header-topbar .kbd-util-mobile { min-height: 36px; }
	#header-topbar .kbd-util-mobile .phone-n { display: block; margin-left: 0; }
}

/* Video testimonials (Kitchen/Bathroom Remodels, Kitchen Remodels FAQs; live too): WPBakery's 16:9 box (padding-top) plus
   the click-to-play preview, which sizes itself, left an empty video-sized gap above every video. The preview fills the box. */
.wpb_video_widget .wpb_video_wrapper:has(> .rll-youtube-player),
.video-section.video-row .wpb_video_widget .wpb_video_wrapper:has(> .rll-youtube-player) { padding-top: 0 !important; }

/* Archive, search and 404 banners (live too). The old theme gave the content under the banner the extra top padding meant
   for pages without one (250 px), and pushed the 404 banner's heading 260 px down, out of the dark banner onto white
   (white text, invisible). Content now starts a normal distance under the banner; the 404 heading sits in it, at live's size. */
.blog-hero-off #hero + #blog-post .pt150 { padding-top: 80px !important; }
@media (max-width: 767px) { .blog-hero-off #hero + #blog-post .pt150 { padding-top: 50px !important; } }
.error404 .hero-fullwidth { padding-top: 0 !important; }
.error404 .hero-fullwidth .title-service h1 { font-size: 48px !important; }
@media (max-width: 767px) { .error404 .hero-fullwidth .title-service h1 { font-size: 50px !important; } }
