/*
Theme Name: Bob's Emergency Plumbing Blog - Kadence Child
Theme URI: https://www.bobsemergencyplumbing.com/
Description: Branded Kadence child theme for Bob's Emergency Plumbing blog.
Author: Bob's Emergency Plumbing
Template: kadence
Version: 1.0.0
Text Domain: bobs-emergency-plumbing
*/
:root{
 --bep-navy:#0a1a2f;
 --bep-red:#d0202f;
 --bep-red-hover:#b91b2a;
 --bep-blue:#0f4b83;
 --bep-text:#21354b;
 --bep-muted:#718399;
 --bep-border:#dfe5ea;
 --bep-light:#f5f7f9;
}
html{margin-top:0!important;scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--bep-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
body.admin-bar .bep-header{top:32px}
*,*:before,*:after{box-sizing:border-box}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
a{text-decoration:none;transition:color .2s ease,background-color .2s ease,border-color .2s ease}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--bep-red);outline-offset:2px}
::selection{background:var(--bep-red);color:#fff}

/* Header */
.bep-header{position:sticky;top:0;z-index:99999;width:100%;background:#fff;border-bottom:1px solid #d9e0e6;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.bep-header-main{height:68px;background:#fff}
.bep-header-inner{width:100%;max-width:930px;height:68px;margin:0 auto;display:flex;align-items:center}
.bep-header-logo{display:flex;align-items:center;width:125px;min-width:125px;height:58px}
.bep-header-logo img{display:block;width:112px;height:auto;max-height:58px;object-fit:contain}
.bep-nav{margin-left:auto;display:flex;align-items:center;gap:16px}
.bep-nav a{color:#101b2b;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}
.bep-nav a:hover{color:var(--bep-red)}
.bep-phone-area{margin-left:20px;display:flex;align-items:center;gap:10px}
.bep-phone-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.15;white-space:nowrap}
.bep-phone-copy small{font-size:11px;color:#667689}
.bep-phone-copy strong{font-size:13px;color:#101b2b;font-weight:700}
.bep-call{height:40px;min-width:96px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:4px;background:var(--bep-red);color:#fff!important;font-size:13px;font-weight:700;white-space:nowrap}
.bep-call:hover{background:var(--bep-red-hover);color:#fff!important}
.bep-call svg{width:14px;height:14px;fill:currentColor}
.bep-menu-toggle{display:none;width:44px;height:44px;margin-left:12px;padding:0;border:1px solid #d5dde4;border-radius:5px;background:#fff;color:#101b2b;align-items:center;justify-content:center;cursor:pointer}
.bep-menu-toggle svg{width:23px;height:23px}
.bep-mobile-nav{display:none}

/* Content / Kadence-safe */
#inner-wrap{width:100%;max-width:100%;margin:0;padding:0}
#inner-wrap > .content-area,#inner-wrap > .content-wrap{width:100%;max-width:1100px;margin-left:auto;margin-right:auto}
.site-main{width:100%}
.entry-content,.wp-block-post-content,.single-content,.entry-summary,.archive-description{color:var(--bep-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.75}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.wp-block-post-content h1,.wp-block-post-content h2,.wp-block-post-content h3,.wp-block-post-content h4,.wp-block-post-content h5,.wp-block-post-content h6,.single-content h1,.single-content h2,.single-content h3,.single-content h4,.single-content h5,.single-content h6{color:var(--bep-navy);font-family:Arial,Helvetica,sans-serif;font-weight:700;line-height:1.25}
.entry-content h1,.wp-block-post-content h1,.single-content h1{font-size:42px;line-height:1.18;margin:0 0 22px}
.entry-content h2,.wp-block-post-content h2,.single-content h2{font-size:32px;margin:38px 0 17px}
.entry-content h3,.wp-block-post-content h3,.single-content h3{font-size:27px;margin:30px 0 14px}
.entry-content h4,.wp-block-post-content h4,.single-content h4{font-size:22px;margin:25px 0 12px}
.entry-content h5,.wp-block-post-content h5,.single-content h5{font-size:19px;margin:22px 0 11px}
.entry-content h6,.wp-block-post-content h6,.single-content h6{font-size:17px;margin:20px 0 10px}
.entry-content p,.wp-block-post-content p,.single-content p{margin:0 0 18px;font-size:16px;line-height:1.75}
.entry-content ul,.entry-content ol,.wp-block-post-content ul,.wp-block-post-content ol,.single-content ul,.single-content ol{margin:0 0 22px;padding-left:28px}
.entry-content ul,.wp-block-post-content ul,.single-content ul{list-style:disc}
.entry-content ol,.wp-block-post-content ol,.single-content ol{list-style:decimal}
.entry-content li,.wp-block-post-content li,.single-content li{margin:0 0 8px;padding-left:3px;line-height:1.65}
.entry-content a,.wp-block-post-content a,.single-content a{color:var(--bep-red)}
.entry-content a:hover,.wp-block-post-content a:hover,.single-content a:hover{color:var(--bep-red-hover);text-decoration:underline}
blockquote,.entry-content blockquote,.wp-block-post-content blockquote,.single-content blockquote,.wp-block-quote{margin:28px 0;padding:20px 24px;border-left:4px solid var(--bep-red);background:var(--bep-light);color:var(--bep-text);font-size:18px;line-height:1.65;font-style:italic}
blockquote p:last-child,.wp-block-quote p:last-child{margin-bottom:0}
.wp-block-pullquote{margin:35px 0;padding:25px 0;border-top:3px solid var(--bep-red);border-bottom:3px solid var(--bep-red)}
.entry-content table,.wp-block-post-content table,.single-content table,.wp-block-table table{width:100%;margin:25px 0 30px;border-collapse:collapse;font-size:16px}
.entry-content th,.entry-content td,.wp-block-post-content th,.wp-block-post-content td,.single-content th,.single-content td,.wp-block-table th,.wp-block-table td{padding:12px 15px;border:1px solid var(--bep-border);text-align:left;vertical-align:top}
.entry-content th,.wp-block-post-content th,.single-content th,.wp-block-table th{background:var(--bep-light);font-weight:700}
.wp-block-image{margin:25px 0 28px}
.wp-block-image img{display:block}
.wp-block-image figcaption,.wp-caption-text,.wp-element-caption{margin-top:9px;color:var(--bep-muted);font-size:14px;line-height:1.5;text-align:center}
.entry-content code,.wp-block-post-content code,.single-content code{padding:2px 6px;border-radius:3px;background:#f0f3f6;font:14px/1.5 Consolas,Monaco,monospace}
.entry-content pre,.wp-block-post-content pre,.single-content pre,.wp-block-code{margin:25px 0;padding:20px;overflow-x:auto;border:1px solid var(--bep-border);border-radius:4px;background:#f4f6f8;font:14px/1.6 Consolas,Monaco,monospace}
.wp-block-button__link,.wp-element-button,.entry-content .button{display:inline-block;padding:11px 23px;border:1px solid var(--bep-red);border-radius:4px;background:var(--bep-red);color:#fff!important;font-size:16px;font-weight:700;line-height:1.4}
.wp-block-button__link:hover,.wp-element-button:hover,.entry-content .button:hover{background:var(--bep-red-hover);border-color:var(--bep-red-hover);text-decoration:none}
.entry-title,.single-entry-title,.wp-block-post-title{color:var(--bep-navy);font-weight:700;line-height:1.2}
.entry-meta,.posted-on,.byline,.cat-links,.tags-links{color:var(--bep-muted);font-size:14px}

/* Footer */
.bep-footer{width:100%;background:var(--bep-navy);color:#b8c8d9;border-top:1px solid var(--bep-red)}
.bep-footer-main{width:100%;max-width:930px;margin:0 auto;padding:42px 0 30px;display:grid;grid-template-columns:260px 185px 185px 190px;gap:25px;align-items:start}
.bep-footer-brand img{display:block;width:180px;height:auto;max-height:92px;object-fit:contain;object-position:left center;margin:0 0 12px}
.bep-footer-brand p{margin:0 0 16px;max-width:275px;color:#aebfd0;font-size:13px;line-height:1.55}
.bep-footer-phone{color:#fff!important;font-size:14px;font-weight:700}
.bep-footer-phone:hover{color:#fff!important}
.bep-footer-column h3{margin:0 0 15px;color:#fff;font-size:13px;line-height:1.3;font-weight:700}
.bep-footer-column ul{margin:0;padding:0;list-style:none}
.bep-footer-column li{margin:0 0 9px;padding:0;line-height:1.35}
.bep-footer-column a{color:#b8c8d9;font-size:13px}
.bep-footer-column a:hover{color:#fff}
.bep-footer-subhead{margin:17px 0 10px!important}
.bep-footer-disclaimer{width:100%;max-width:930px;margin:0 auto;padding:0 0 22px;color:#71869b;font-size:10px;line-height:1.55}
.bep-footer-disclaimer p{margin:0 0 15px}
.bep-footer-bottom{width:100%;max-width:930px;margin:0 auto;border-top:1px solid rgba(255,255,255,.12);padding:16px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#71869b;font-size:11px}
.bep-footer-bottom p{margin:0}
.bep-footer-bottom-links{display:flex;gap:16px}
.bep-footer-bottom a{color:#71869b}
.bep-footer-bottom a:hover{color:#fff}
.bep-mobile-cta{display:none}

@media(max-width:1000px){
 .bep-header-inner{padding:0 18px}
 .bep-nav{gap:12px}
 .bep-phone-area{margin-left:14px}
 .bep-footer-main,.bep-footer-disclaimer,.bep-footer-bottom{padding-left:20px;padding-right:20px}
 .bep-footer-main{grid-template-columns:1.35fr 1fr 1fr 1fr;gap:25px}
}
@media(max-width:760px){
 body.admin-bar .bep-header{top:46px}
 body{padding-bottom:67px}
 .bep-header-main,.bep-header-inner{height:85px}
 .bep-header-inner{padding:0 18px}
 .bep-header-logo{width:150px;min-width:150px;height:70px}
 .bep-header-logo img{width:145px;max-height:70px}
 .bep-nav,.bep-phone-area{display:none}
 .bep-call{order:2;margin-left:auto;min-width:117px;height:47px;border-radius:4px;font-size:16px}
 .bep-menu-toggle{order:3;display:flex}
 .bep-mobile-nav{background:#fff;border-top:1px solid var(--bep-border);padding:7px 18px 17px}
 .bep-mobile-nav.is-open{display:block}
 .bep-mobile-nav a{display:block;padding:12px 4px;border-bottom:1px solid #edf0f3;color:#111d2d;font-size:15px;font-weight:600}
 .bep-mobile-nav a:hover{color:var(--bep-red)}
 #inner-wrap{padding:0}
 #inner-wrap > .content-area,#inner-wrap > .content-wrap{max-width:100%;padding-left:20px;padding-right:20px}
 .entry-content h1,.wp-block-post-content h1,.single-content h1{font-size:34px}
 .entry-content h2,.wp-block-post-content h2,.single-content h2{font-size:28px}
 .entry-content h3,.wp-block-post-content h3,.single-content h3{font-size:24px}
 .entry-content h4,.wp-block-post-content h4,.single-content h4{font-size:21px}
 .entry-content h5,.wp-block-post-content h5,.single-content h5{font-size:18px}
 .entry-content h6,.wp-block-post-content h6,.single-content h6{font-size:16px}
 .entry-content table,.wp-block-post-content table,.single-content table{display:block;overflow-x:auto;white-space:nowrap}
 .bep-footer-main{display:block;max-width:none;padding:42px 20px 28px}
 .bep-footer-brand{margin-bottom:34px}
 .bep-footer-brand img{width:230px;max-height:110px;margin-bottom:16px}
 .bep-footer-brand p{max-width:360px;font-size:16px;line-height:1.55}
 .bep-footer-phone{font-size:16px}
 .bep-footer-column{margin-bottom:34px}
 .bep-footer-column h3{font-size:16px;margin-bottom:16px}
 .bep-footer-column a{font-size:16px}
 .bep-footer-column li{margin-bottom:11px}
 .bep-footer-disclaimer{max-width:none;padding:0 20px 25px;font-size:10px}
 .bep-footer-bottom{max-width:none;display:block;padding:16px 20px 24px;font-size:11px}
 .bep-footer-bottom-links{margin-top:10px;gap:15px}
 .bep-mobile-cta{position:fixed;left:0;right:0;bottom:0;z-index:100000;height:63px;display:flex;align-items:center;justify-content:center;background:var(--bep-red);color:#fff}
 .bep-mobile-cta a{height:63px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff!important;font-size:17px;font-weight:700}
 .bep-mobile-cta svg{width:17px;height:17px;fill:currentColor}
}
@media(max-width:430px){
 .bep-header-inner{padding:0 18px}
 .bep-header-logo{width:150px;min-width:150px}
 .bep-header-logo img{width:145px}
 .bep-call{min-width:117px}
 .bep-menu-toggle{width:44px;height:44px}
}
