/*
Theme Name: DCAL LAW PC
Theme URI: https://dcallawpc.com
Author: DCAL LAW PC
Description: Custom lightweight WordPress theme inspired by the firm's Wix design. Replace reference images in Appearance > Customize.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dcal-law
*/
:root{--navy:#0d2944;--ink:#162b3c;--cream:#fffff3;--blue:#d3e2ee;--muted:#536879}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.65 Georgia,'Times New Roman',serif;background:var(--cream)}a{color:inherit}img{max-width:100%;height:auto}.wrap{max-width:1160px;margin:auto;padding:0 28px}.site-header{background:var(--navy);color:#fff;position:relative;z-index:5}.header-inner{min-height:70px;display:flex;align-items:center;gap:30px}.brand{font-size:19px;text-decoration:none;white-space:nowrap}.site-nav{display:flex;align-items:center;gap:25px;margin-left:auto}.site-nav a{text-decoration:none;font:13px Arial,sans-serif}.site-nav a:hover{text-decoration:underline}.nav-cta,.button{display:inline-block;background:#d4e5ee;color:#102c46;padding:12px 22px;text-decoration:none;font:13px Arial,sans-serif;border:0;cursor:pointer}.nav-cta{white-space:nowrap}.hero{min-height:550px;display:flex;align-items:center;justify-content:center;background:linear-gradient(#1723314d,#1723314d),linear-gradient(120deg,#3d4b58,#98806b);background-size:cover;background-position:center;text-align:center;color:white;padding:70px 20px}.hero-panel{background:#0d2944e8;padding:25px 45px;max-width:680px}.hero h1{font-size:clamp(35px,5vw,62px);font-weight:400;line-height:1.08;margin:0 0 10px}.hero p{font-size:16px;margin:0 0 18px}.hero .button{background:#fff}.section{padding:80px 0}.section h2{font-weight:400;font-size:clamp(30px,3vw,43px);line-height:1.15;margin:0 0 25px}.section-title{text-align:center;margin-bottom:34px!important}.section-title:after{content:'';display:block;max-width:800px;margin:20px auto 0;border-bottom:1px solid #b8c5c9}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.practice-card{background:linear-gradient(110deg,#d1e0ec,#f6f7ee);padding:25px;min-height:175px}.practice-card h3{font-size:20px;font-style:italic;font-weight:400;line-height:1.2;margin:0 0 12px}.practice-card p{font:14px/1.6 Arial,sans-serif;margin:0}.story{background:linear-gradient(100deg,#f9faee,#c5d9e9)}.story-inner{display:grid;grid-template-columns:42% 1fr;gap:65px;align-items:center}.portrait{width:100%;min-height:400px;object-fit:cover;background:#b6c5cf}.eyebrow{font:12px Arial,sans-serif;letter-spacing:1px;text-transform:uppercase}.story p{max-width:620px}.feature{min-height:430px;background:linear-gradient(#102a4088,#102a4088),linear-gradient(130deg,#433b32,#7b5e44);background-size:cover;background-position:center;color:white;display:flex;align-items:center}.feature h2{max-width:540px;font-size:clamp(35px,5vw,59px);line-height:1.1}.feature p{max-width:560px}.feature .button{background:#0e3555;color:#fff}.contact-hero{padding:50px 0 12px;background:#fff}.contact-area{background:linear-gradient(#172b3b66,#172b3b66),linear-gradient(110deg,#8b795e,#c6b18c);background-size:cover;background-position:center;padding:65px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.contact-info{background:#526b7c;color:white;padding:35px;min-height:350px}.contact-info h2,.contact-form h2{font-size:30px;font-weight:400}.contact-info a{color:white}.contact-form{background:var(--cream);padding:32px}.contact-form label{display:block;font:13px Arial,sans-serif;margin:0 0 15px}.contact-form input,.contact-form textarea{width:100%;padding:12px;border:0;border-bottom:1px solid #aeb9c0;background:transparent;font:15px Arial,sans-serif}.contact-form textarea{min-height:110px}.contact-form button{background:var(--navy);color:white;width:100%;padding:14px;border:0;cursor:pointer}.fineprint{font:12px/1.6 Arial,sans-serif;color:#516171}.site-footer{background:var(--navy);color:white;padding:45px 0;font:13px/1.8 Arial,sans-serif}.footer-inner{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.site-footer a{color:white}.page-content{background:var(--cream);padding:65px 0;min-height:55vh}.page-content .wrap{max-width:900px}.page-content h1{font-size:42px;font-weight:400}.menu-toggle{display:none}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:800px){.header-inner{flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.menu-toggle{display:block;margin-left:auto;background:transparent;color:white;border:1px solid #a5b4c3;padding:8px 12px}.site-nav{display:none;flex-basis:100%;margin:0;flex-direction:column;align-items:flex-start;padding:12px 0}.site-nav.open{display:flex}.nav-cta{margin-left:0}.practice-grid{grid-template-columns:repeat(2,1fr)}.story-inner,.contact-grid{grid-template-columns:1fr;gap:30px}.portrait{min-height:280px}.section{padding:55px 0}}@media(max-width:520px){.wrap{padding:0 18px}.practice-grid{grid-template-columns:1fr}.hero{min-height:420px}.hero-panel{padding:22px}.contact-area{padding:30px 0}.contact-info,.contact-form{padding:22px}}

.testimonials-page .testimonial-intro{font-size:22px}.testimonial-content{margin:25px 0 45px}.testimonial-content blockquote{border-left:3px solid #0d2944;padding:10px 25px;margin:24px 0;background:#eef3f6}.testimonial-note{padding:24px;background:#eef3f6;margin:24px 0 35px}

/* Original Wix image assets supplied by the site owner */
.testimonials-hero{min-height:320px;background:linear-gradient(#0d294466,#0d294466),linear-gradient(#34495e,#71614d);background-size:cover;background-position:center;display:flex;align-items:center;color:white}.testimonials-hero h1{font-size:clamp(38px,5vw,65px);font-weight:400}.testimonials-page .section{background:#fffff3}.testimonials-page .testimonial-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.testimonials-page .testimonial-content blockquote{margin:0;padding:25px;background:linear-gradient(110deg,#f6f8ed,#c9dceb);border:0;font-style:italic;font-size:21px;line-height:1.35}.testimonials-page .testimonial-content blockquote p{margin:0 0 12px}.testimonials-page .testimonial-content blockquote cite{font:13px Arial,sans-serif;font-style:normal}.testimonials-page .wrap{max-width:1160px}@media(max-width:700px){.testimonials-page .testimonial-content{grid-template-columns:1fr}}

/* v1.3: original Wix testimonial design and completed contact information. */
.testimonials-hero{min-height:340px;align-items:end;padding:26px 0;background-position:center}
.testimonials-hero h1{font-size:clamp(56px,8.8vw,125px);line-height:.82;margin:0 0 12px;letter-spacing:-.035em}
.testimonial-hero-intro{max-width:1090px;color:#fff;font:clamp(13px,1.4vw,17px)/1.4 Arial,sans-serif;font-weight:600;margin:0 0 0}
.testimonials-section{background:var(--cream);padding:38px 0 40px}
.testimonials-section .wrap{max-width:1220px}
.testimonials-page .testimonial-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}
.testimonials-page .testimonial-content blockquote{background:linear-gradient(105deg,#fdfef3 0%,#e2edf2 52%,#bdcee4 100%);color:#152638;padding:23px 25px 25px;min-height:175px;box-sizing:border-box;margin:0;border:0}
.testimonials-page .testimonial-content blockquote:nth-child(4n+3),
.testimonials-page .testimonial-content blockquote:nth-child(4n+4){background:linear-gradient(105deg,#c4d7e9,#eaf3f1 65%,#fcfff0)}
.testimonials-page .testimonial-content blockquote:last-child:nth-child(odd){grid-column:1 / -1}
.testimonials-page .testimonial-content blockquote p{font:italic clamp(18px,2.15vw,27px)/1.13 Georgia,'Times New Roman',serif;margin:0 0 12px}
.testimonials-page .testimonial-content blockquote cite{display:block;font:17px/1.35 Georgia,'Times New Roman',serif;font-style:normal}
.testimonials-page .testimonial-content blockquote cite br{display:block;content:'';margin-top:2px}
.testimonials-page .testimonial-content blockquote cite{color:#192b3b}
.testimonials-bottom{display:flex;align-items:center;min-height:290px;background-size:cover;background-position:center;color:#fff;padding:38px 0}
.testimonials-bottom h2{font-size:clamp(30px,4.3vw,48px);font-weight:400;line-height:1.1;margin:0 0 22px}
.testimonials-bottom .button{background:#163b5d;color:#fff}
.contact-hero{background:linear-gradient(110deg,#f9fcf1,#cedfee);padding:40px 0 20px}
.contact-hero h1{font-size:clamp(32px,4.5vw,52px);font-weight:400;margin:0}
.contact-hero p{margin:0;font-style:italic}
.contact-info p{font:italic 19px/1.55 Georgia,'Times New Roman',serif;overflow-wrap:anywhere}
.contact-info hr{height:1px;border:0;background:#d0dbe2;margin:20px 0}
.contact-info .office-address{margin-top:30px}
.form-honeypot{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
@media(max-width:700px){.testimonials-page .testimonial-content{grid-template-columns:1fr}.testimonials-page .testimonial-content blockquote:last-child:nth-child(odd){grid-column:auto}.testimonials-hero h1{font-size:clamp(45px,13vw,80px)}.testimonials-hero{min-height:280px}}

/* v1.4: legal pages follow the existing firm's navy and cream visual language. */
.legal-page .wrap{max-width:960px}
.legal-page h1{font-size:clamp(36px,5vw,52px);line-height:1.1;margin:0 0 22px}
.legal-content{background:#fff;padding:36px 44px;border-top:5px solid var(--navy);box-shadow:0 5px 24px #0d29440d}
.legal-content .legal-updated{font:13px/1.6 Arial,sans-serif;color:var(--muted);margin:0 0 25px}
.legal-content h2{font-size:clamp(21px,2.6vw,26px);font-weight:400;line-height:1.3;color:var(--navy);margin:31px 0 10px}
.legal-content h2:first-child{margin-top:0}
.legal-content p{margin:0 0 16px}
.legal-content a{color:#154d78;overflow-wrap:anywhere}
.legal-content a:hover{text-decoration:none}
@media(max-width:700px){.legal-content{padding:24px 20px}.legal-page{padding:38px 0}}


/* Logo-only update: preserves the v1.4 site's original colors, layout and spacing. */
.brand{display:inline-flex;align-items:center;flex:0 0 auto;min-width:0}
.brand-logo{display:block;width:205px;max-width:100%;height:auto}
.hero-logo-heading{margin:0 0 14px!important;font-size:inherit!important;line-height:1!important}
.hero-logo{display:block;width:100%;max-width:550px;height:auto;margin:0 auto 16px}
.hero-logo-heading .hero-logo{margin:0 auto}
@media(max-width:800px){.brand-logo{width:205px}}
@media(max-width:520px){.brand-logo{width:185px}.hero-logo{margin-bottom:14px}}
