/*
Theme Name: CDL Express Delivery
Theme URI: https://example.com/
Author: CDL Express Delivery
Description: Editable Gutenberg-friendly delivery company website.
Version: 1.2.0
Requires at least: 6.0
Text Domain: cdl-express
*/
:root{--navy:#071d43;--blue:#1254a4;--red:#d40b19;--light:#f3f6fa}*{box-sizing:border-box}body{margin:0;color:#16243a;font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:var(--blue)}.wrap{max-width:1200px;margin:auto;padding:0 24px}.site-header{background:white;box-shadow:0 3px 15px #0a204019;position:relative;z-index:2}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:94px}.brand{text-decoration:none;font-weight:900;font-size:30px;line-height:1;color:var(--navy);font-style:italic}.brand b{color:var(--red)}.brand small{display:block;font-size:12px;letter-spacing:1.4px;font-style:normal;margin-top:6px}.site-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.site-nav a{text-decoration:none;color:var(--navy);font-weight:700}.site-nav a:hover{color:var(--red)}.hero{background:linear-gradient(90deg,#061832bf 0%,#08234b91 55%,#08234b3d 100%),url(assets/hero-truck.jpg) center/cover;min-height:490px;color:white;display:flex;align-items:center}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.08;margin:0 0 16px;font-style:italic;max-width:750px}.hero p{font-size:21px;max-width:620px}.btn,.wp-block-button__link{display:inline-block;background:var(--red);border-radius:5px;color:#fff!important;text-decoration:none;padding:13px 25px;font-weight:700}.btn:hover,.wp-block-button__link:hover{background:#a50713}.content{padding:55px 0}.content h2{color:var(--navy);font-size:34px;line-height:1.2}.content h3{color:var(--navy)}.content .wp-block-columns{gap:24px}.content .wp-block-column{background:#f5f7fa;padding:24px;border-radius:8px}.site-footer{background:var(--navy);color:#fff;padding:35px 0}.site-footer a{color:#fff}.footer-inner{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.page-heading{background:var(--navy);color:white;padding:50px 0}.page-heading h1{margin:0;font-size:42px}.entry-content{max-width:1100px;margin:auto;padding:40px 24px 65px}.entry-content h2{color:var(--navy)}.entry-content input,.entry-content textarea{max-width:100%;padding:12px;border:1px solid #bbc7d8;border-radius:4px}@media(max-width:760px){.header-inner{display:block;padding-top:18px;padding-bottom:18px}.site-nav ul{margin-top:20px;gap:14px}.hero{min-height:430px}.content{padding:30px 0}}

/* CDL.business brand URL */
.site-footer a{color:#fff;text-decoration:underline;text-underline-offset:3px}


.header-inner { padding-block: 12px; }
.header-inner > .brand,
.header-inner > .custom-logo-link { flex: 0 0 auto; }
.custom-logo-link { display: inline-block; }
.custom-logo { display: block; width: auto; height: auto; max-width: min(230px, 100%); max-height: 76px; object-fit: contain; }
.header-links { display: grid; gap: 8px; justify-items: end; }
.cdl-contact-details { list-style: none; margin: 0; padding: 0; }
.header-links .cdl-contact-details { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 0.9rem; }
.entry-content > .cdl-contact-details { margin-bottom: 24px; }
.hero h1,
.hero p { text-shadow: 0 1px 4px #061832; }

@media (max-width: 760px) {
    .header-inner { padding-block: 18px; }
    .header-links { justify-items: start; margin-top: 12px; }
    .header-links .site-nav ul { margin-top: 0; }
    .hero { background-image: linear-gradient(90deg, #061832bf, #08234b85), url(assets/hero-truck.jpg); }
}
