:root{
  --dp-radius: 18px;
  --dp-shadow: 0 10px 30px rgba(15,30,53,.10);
  --dp-navy: #0F1E35;
  --dp-orange: #C2551A;
  --dp-gray: #F7F8FA;
}

/* ===== Practice Areas (Homepage) — CLEAN SINGLE SOURCE ===== */
.dp-pa{
  margin: 18px 0 44px;   /* was 34px */
}

.dp-cred-title{
  margin: 0 0 10px 0;
  color: var(--dp-navy);
  font-size: 1.9rem;
  font-weight: 900;
  text-align: center;
}

.dp-cred-sub{
  margin: 0 auto 28px auto;
  max-width: 70ch;
  opacity: .8;
  text-align: center;
}

/* Practice Areas section container = premium panel */
.dp-pa{
  background: linear-gradient(180deg, rgba(15,30,53,.045) 0%, rgba(15,30,53,0) 70%);
  border: 1px solid rgba(15,30,53,.08);
  border-radius: 22px;
  padding: 26px 22px 28px;
  box-shadow: 0 12px 30px rgba(15,30,53,.06);
}

/* Orange accent line under Practice Areas title */
.dp-pa-title{
  position: relative;
  display: block;              /* change from inline-block */
  text-align: center;          /* center text */
  margin: 0 auto 20px auto;    /* auto left/right */
  padding-bottom: 10px;
}

/* Remove divider line above Practice Areas */
.home .dp-pa-title{
  border-top: 0 !important;
  padding-top: 0 !important;
}

.dp-pa-title::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:60px;
  height:4px;
  border-radius:4px;
  background: linear-gradient(
    90deg,
    var(--dp-orange) 0%,
    #e47b3d 50%,
    var(--dp-orange) 100%
  );
  box-shadow:0 4px 10px rgba(194,85,26,.25);
}

/* Make the header feel intentional */
.dp-pa-title{
  font-size: 2rem;
  letter-spacing: .2px;
}
.dp-pa-sub{
  font-size: 1rem;
}

/* Slightly increase spacing and presence */
.dp-pa-grid{ gap: 20px; }

/* Grid breakpoints: desktop=3, ipad=3, mobile=2, tiny=1 */
.dp-pa-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
@media (max-width:1024px){ .dp-pa-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:680px){ .dp-pa-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:380px){ .dp-pa-grid{ grid-template-columns:1fr; } }

/* Card */
.dp-pa-card{
  position:relative;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  border-radius:18px;
  overflow:hidden;

  border:2px solid var(--dp-navy);
  background: linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);
  box-shadow:var(--dp-shadow);

  min-height:180px;

  transform:translateZ(0);
  transition:
    transform .50s cubic-bezier(.2,.8,.2,1) .06s,
    box-shadow .50s cubic-bezier(.2,.8,.2,1) .06s,
    border-color .22s ease .04s,
    background .22s ease .04s;
}

/* Lifts Card Up */
.dp-pa-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15,30,53,.18);
  border-color: var(--dp-orange);
}

/* Premium underline with soft fade + subtle depth */
.dp-pa-name{
  position: relative;
  color: var(--dp-navy);
}

.dp-pa-card:hover .dp-pa-name{
  letter-spacing: .2px;
}

.dp-pa-name{
  display:inline-block;
  transition: letter-spacing .22s cubic-bezier(.2,.8,.2,1);
}

/* ===== Practice Area card: title bar + BODY image (photo in white area) ===== */

/* TOP BAR: clean gradient only */
.dp-pa-media{
  height:72px;
  position:relative;
  overflow:hidden;
  border-top-left-radius:18px;
  border-top-right-radius:18px;
  background: linear-gradient(135deg,#0F1E35 0%,#162843 45%,#1c2f4f 100%);
}

/* Hover overlay = orange gradient (bar only) */
.dp-pa-media::after{
  content:"";
  position:absolute;
  inset:0;
  border-top-left-radius:18px;
  border-top-right-radius:18px;
  background: linear-gradient(135deg,#C2551A 0%,#b14b17 45%,#9e4013 100%);
  opacity:0;
  transition: opacity .45s cubic-bezier(.2,.8,.2,1);
  z-index:1;
}
.dp-pa-card:hover .dp-pa-media::after{ opacity:1; }

/* Title in the bar */
.dp-pa-media-title{
  position:relative;
  padding-left:60px;
  z-index:3;
  color:#fff;
  font-weight:900;
  font-size:1.2rem;     /* slightly larger */
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  text-align:center;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* WHITE BODY AREA */
.dp-pa-body{
  position:relative;
  padding:0;                 /* remove padding */
  height:140px;              /* control white area height */
  overflow:hidden;
  border-bottom-left-radius:18px;
  border-bottom-right-radius:18px;
}

/* Image fills entire white area */
.dp-pa-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Subtle professional overlay */
.dp-pa-body::after{
  content:"";
  position:absolute;
  inset:0;
	
  background: linear-gradient(
    180deg,
    rgba(15,30,53,.28) 0%,   /* stronger top */
    rgba(15,30,53,.18) 50%,
    rgba(15,30,53,.08) 100%
  );

  pointer-events:none;
}

.dp-pa-body::after{
  z-index:1;
}

.dp-pa-photo{
  z-index:0;
  position:absolute;
}

/* Icon inside top bar — perfectly centered */
.dp-pa-icon{
  position:absolute;

  top:50%;
  left:16px;                    /* left aligned inside bar */
  transform:translateY(-50%);   /* vertical center only */

  width:34px;
  height:34px;

  border-radius:999px;
  background:var(--dp-orange);
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 6px 16px rgba(0,0,0,.18);
  z-index:4;
}

.dp-pa-icon svg{
  width:18px;
  height:18px;
}

.dp-pa-card:hover .dp-pa-icon{
  box-shadow:
    0 10px 26px rgba(15,30,53,.18),
    0 0 0 1px var(--dp-navy),
    0 0 18px rgba(194,85,26,.35);
  transform: translateY(-50%) scale(1.06);
}

.dp-pa-kicker{font-size:.82rem;opacity:.65;letter-spacing:.02em;}
.dp-pa-name{font-weight:900;margin-top:8px;color:var(--dp-navy);line-height:1.2;font-size:1.15rem;}

/* Accessibility focus */
.dp-pa-card:focus-visible{
  outline:3px solid rgba(194,85,26,.55);
  outline-offset:4px;
}

/* Base */
html, body { margin:0; padding:0; }
body{ color:#111827; }
a{ color:inherit; }
a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(194,85,26,.55);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Layout */
.dp-container{max-width:1120px;margin:0 auto;padding:0 1rem;}
.dp-main{padding:2rem 0 3rem;}
.dp-card{background:#fff;border-radius:var(--dp-radius);box-shadow:var(--dp-shadow);padding:1.25rem;}
.dp-muted{background:var(--dp-gray);}
.wp-block-image img{height:auto;}

/* Buttons */
.dp-btn{
  display:inline-block;
  background:var(--dp-orange);
  color:#fff;
  padding:.75rem 1rem;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
}
.dp-btn:hover{filter:brightness(.97)}
.dp-btn-outline{
  background:transparent;
  border:2px solid rgba(255,255,255,.45);
  color:#fff;
}
.dp-btn-outline:hover{border-color:rgba(255,255,255,.7)}

/* Make Gutenberg outline buttons match our CTA style (orange) */
.wp-block-button.is-style-outline .wp-block-button__link{
  background:var(--dp-orange) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:12px !important;
  font-weight:800 !important;
}

/* Header */
.dp-header{
  background:var(--dp-navy);
  color:#fff;
  z-index:9999;
}

.dp-header a { text-decoration: none; }
.dp-header a:hover { text-decoration: none; }

.dp-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.55rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.dp-brand{display:flex;align-items:center;min-width:180px;}
.dp-brand a{display:flex;align-items:center;gap:14px;}
.dp-brand .custom-logo{height:40px;width:auto;display:block;}
.dp-brand-text{font-weight:900;letter-spacing:.2px;line-height:1;}

/* Desktop nav */
.dp-nav{flex:1;display:flex;justify-content:center;}
.dp-nav .dp-nav-list{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:center;gap:1.25rem;
  flex-wrap:nowrap;
}
.dp-nav .dp-nav-list li{margin:0;padding:0;position:relative;}
.dp-nav .dp-nav-list > li > a{
  display:inline-block;
  padding:.28rem .55rem;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  font-size:.90rem;
  opacity:.95;
  white-space:nowrap;
}
.dp-nav .dp-nav-list > li > a:hover{
  background:rgba(255,255,255,.18);
  opacity:1;
}

/* Dropdown */
.dp-nav .dp-nav-list .sub-menu{
  list-style:none;
  margin:0;
  padding:.65rem;
  position:absolute;
  left:0;
  top:100%;
  margin-top:8px;
  min-width:240px;
  background:var(--dp-navy);
  border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  display:none;
  z-index:99999;
}
.dp-nav .dp-nav-list .sub-menu a{
  display:block;
  padding:.45rem .55rem;
  opacity:.95;
}
.dp-nav .dp-nav-list .sub-menu a:hover{color:var(--dp-orange) !important;}
/* Hover bridge so it doesn’t disappear */
.dp-nav .dp-nav-list li::after{
  content:"";
  position:absolute;
  left:0; top:100%;
  height:12px; width:100%;
}
.dp-nav .dp-nav-list li:hover > .sub-menu,
.dp-nav .dp-nav-list li:focus-within > .sub-menu{display:block;}

/* Header right */
.dp-header-right{display:flex;align-items:center;gap:.75rem;justify-content:flex-end;min-width:0;}
.dp-lang{display:flex;gap:.5rem;align-items:center;}
.dp-lang a{
  padding:.35rem .45rem;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.dp-lang a:hover{background:rgba(255,255,255,.18);}
.dp-lang img{height:16px;width:auto;display:block;}

.dp-header-cta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.1rem;
  padding:.55rem .85rem;
  border-radius:14px;
  background:var(--dp-orange);
  color:#fff;
  border:0;
}
.dp-header-cta:hover{filter:brightness(.98)}
.dp-header-cta-label{
  font-size: .88rem;  /* was .82rem */
  opacity: 1;         /* was .95 */
}
.dp-header-cta-phone{font-size:1.18rem;font-weight:900;letter-spacing:.2px;line-height:1.1;}

/* Mobile nav */
.dp-nav-checkbox{
  position:absolute;
  opacity:0;
  pointer-events:auto;
}
.dp-nav-toggle{
  display:none;
  background:rgba(255,255,255,.10);
  border:0;border-radius:999px;
  padding:.45rem .6rem;
  cursor:pointer;
}
.dp-nav-toggle:hover{background:rgba(255,255,255,.18);}
.dp-nav-toggle-lines{display:block;width:22px;height:14px;position:relative;}
.dp-nav-toggle-lines:before,.dp-nav-toggle-lines:after{
  content:"";
  position:absolute;left:0;width:22px;height:2px;background:#fff;border-radius:2px;
}
.dp-nav-toggle-lines:before{top:1px;}
.dp-nav-toggle-lines:after{bottom:1px;}

.dp-mobile-nav{
  display:none;
  position:absolute;
  left:0; right:0; top:100%;
  background:var(--dp-navy);
  z-index:1200;
  border-top:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}
.dp-mobile-nav-list{
  list-style:none;margin:0;padding:.75rem 0;
  display:grid;gap:.25rem;
}
.dp-mobile-nav-list a{
  display:block;
  padding:.6rem 1rem;
  color:#fff;text-decoration:none;
  opacity:.95;
}
.dp-mobile-nav-list a:hover{opacity:1}
.dp-mobile-nav-list .sub-menu{
  list-style:none;margin:.15rem 0 .35rem 0;
  padding:0 0 0 1rem;
  display:grid;gap:.15rem;
}
.dp-mobile-nav-list .sub-menu a{padding:.5rem 1rem;opacity:.9}

@media(max-width:860px){
  .dp-nav{display:none;}
  .dp-header-cta{display:none;} /* keep mobile header clean */
  .dp-nav-toggle{display:inline-flex;align-items:center;justify-content:center;}
  #dpNavToggle:checked ~ .dp-mobile-nav{display:block !important;}
  .dp-header-right{min-width:auto;}
}
@media(min-width:861px){
  .dp-mobile-nav{display:none !important;}
  .dp-nav-toggle{display:none !important;}
}

/* ===== PREMIUM HOMEPAGE HERO ===== */

.dp-hero-premium{
  position:relative;
  width:100%;
  margin:0 0 40px 0;
  border-radius:0;
  overflow:visible;
  box-shadow:none; /* optional — remove if you still want shadow */
}

.home .dp-hero-premium{
  border-radius:0;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  margin-top: 4px !important;
  width:100vw;
}

/* Real image */
.dp-hero-img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== HERO MOBILE TIGHTEN (<= 640px) ===== */
@media (max-width: 640px){

  /* Let height be controlled by content */
  .dp-hero-premium{
    height: auto !important;
  }

  /* Reduce image height so there's no dead space */
  .dp-hero-img{
    height: 460px;                 /* was 520px */
    object-fit: cover;
    object-position: 35% 30%;
  }

  /* Tighten overlay padding */
  .dp-hero-overlay{
    padding: 32px 16px 24px 16px !important;  /* smaller bottom padding */
    align-items: center !important;
  }

  /* Reduce spacing above buttons */
  .dp-hero-text{
    margin-bottom: 14px !important;
  }

  .dp-hero-buttons{
    gap: 8px !important;
  }
}

/* ===== HERO: tiny phones (<= 380px) ===== */
@media (max-width: 380px){

  /* make the hero shorter so content doesn’t float */
  .dp-hero-img{
    min-height: 430px !important;
    object-position: 56% 22%;
  }

  /* tighten overlay spacing + center content */
  .dp-hero-overlay{
    padding: 46px 14px 28px 14px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .dp-hero-inner{
    max-width: 100% !important;
    text-align: center !important;
  }

  /* scale text down */
  .dp-hero-inner h1{
    font-size: 1.9rem !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
  }

  .dp-hero-sub{
    font-size: .98rem !important;
    margin-bottom: 12px !important;
  }

  .dp-hero-text{
    font-size: .98rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  /* buttons: stack and fit */
  .dp-hero-buttons{
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .dp-hero-buttons .dp-btn,
  .dp-hero-buttons .dp-btn-outline{
    width: 100% !important;
    text-align: center !important;
  }
}

/* ===== HERO BUTTON SHRINK (<= 350px) ===== */
@media (max-width: 350px){

  .dp-hero-buttons{
    align-items: center !important;
  }

  .dp-hero-buttons .dp-btn,
  .dp-hero-buttons .dp-btn-outline{
    width: auto !important;          /* stop full width */
    min-width: 220px !important;     /* controlled width */
    max-width: 90% !important;
    padding: 10px 18px !important;   /* slightly tighter */
    font-size: .95rem !important;
  }

}

.dp-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;          /* push content to the right */
  padding:84px 56px;
  background:linear-gradient(
    270deg,                          /* gradient comes from the right now */
    rgba(15,30,53,.95) 0%,
    rgba(15,30,53,.88) 42%,
    rgba(15,30,53,.45) 70%,
    rgba(15,30,53,0) 100%
  );
}

@media (max-width: 680px){
  .dp-hero-overlay{
    justify-content: center;     /* center the text block */
    padding: 78px 16px 22px !important;
    background: linear-gradient(
      180deg,
      rgba(15,30,53,.88) 0%,
      rgba(15,30,53,.82) 45%,
      rgba(15,30,53,.74) 100%
    );
  }

  .dp-hero-inner{
    text-align: center;
    max-width: 620px;
  }
}

.dp-hero-inner{
  max-width: 560px;
  color:#fff;
  text-align:left;
}

.dp-hero-inner h1{
  margin: 0 0 12px 0;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  letter-spacing: .2px;
}

.dp-hero-sub{
  margin: 0 0 18px 0;
  font-size: 1.05rem;
  opacity: .92;
  line-height: 1.4;
}

.dp-hero-text{
  margin: 0 0 28px 0;
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: .92;
}

.dp-hero-buttons{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px){
  .dp-hero-overlay{
    padding: 48px 24px;
  }
}

/* ===== HERO: stop CTA overflow between 680–640 ===== */
@media (max-width: 680px) and (min-width: 641px){

  /* give the content a little less vertical pressure */
  .dp-hero-overlay{
    padding: 72px 16px 18px !important;
    align-items: center !important;
  }

  /* stack the buttons so they can't overflow */
  .dp-hero-buttons{
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .dp-hero-buttons .dp-btn,
  .dp-hero-buttons .dp-btn-outline{
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
  }

  /* tighten spacing above the buttons */
  .dp-hero-text{
    margin-bottom: 14px !important;
  }
}

/* mobile */
@media (max-width: 860px){
  .dp-hero-overlay{ padding: 36px 18px; } /* smaller by default on mobile */
  .dp-hero-inner{ max-width: 100%; }
}

.home .dp-card:has(.dp-hero-premium){
  border-radius:0;
  box-shadow:none;
  padding:0;
  background:transparent;
}

/* ===== Hero center alignment on mobile ===== */
@media (max-width: 860px){

  .dp-hero-overlay{
    justify-content: center !important;
    text-align: center;
  }

  .dp-hero-inner{
    text-align: center;
  }

  .dp-hero-buttons{
    justify-content: center;
  }

}

/* ===== Hero overflow fix (<= 632px) ===== */
@media (max-width: 632px){

  /* Give the text more usable space */
  .dp-hero-overlay{
    padding: 36px 16px !important;   /* was bigger; reduces vertical crowding */
  }

  /* Stop the H1 from blowing out the top */
  .dp-hero-inner h1{
    font-size: clamp(1.75rem, 7vw, 2.35rem) !important;
    line-height: 1.05 !important;
    margin: 0 0 10px 0 !important;
  }

  .dp-hero-sub{
    margin: 0 0 12px 0 !important;
    font-size: 1rem !important;
  }

  .dp-hero-text{
    margin: 0 0 16px 0 !important;
    font-size: .98rem !important;
    line-height: 1.55 !important;
  }

  /* Make CTAs impossible to overflow: stack + cap width */
  .dp-hero-buttons{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .dp-hero-buttons .dp-btn,
  .dp-hero-buttons .dp-btn-outline{
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Hero should be full width INSIDE the page content area (no breakout) */
.dp-hero-fullwrap{
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove top padding on homepage content so hero touches header */
.home .dp-main{
  padding-top: 0 !important;
}

/* Remove any top margin that might be on the hero wrapper/card */
.home .dp-hero-fullwrap,
.home .dp-hero-premium{
  margin-top: 0 !important;
}

/* If WP is adding margin/padding to the container around the hero, kill it */
.home .dp-container{
  padding-top: 0 !important;
}

/* ===== HERO: mobile uses content height, image fills behind ===== */
@media (max-width: 860px){

  .dp-hero-premium{
    position: relative;
    overflow: hidden;        /* clip the image cleanly */
  }

  /* image becomes a background layer */
  .dp-hero-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% 30%;
  }

  /* overlay becomes NORMAL flow so it sets the hero height */
  .dp-hero-overlay{
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;

    /* this is what prevents the bottom cutoff */
    padding: 110px 18px 44px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .dp-hero-inner{
    max-width: 620px;
    text-align: center;
  }

  .dp-hero-buttons{
    justify-content: center;
  }
}

/* tighten just a bit more on <=640 */
@media (max-width: 640px){
  .dp-hero-overlay{
    padding: 96px 16px 34px !important;
  }
}

/* ===== Homepage: Results ===== */
.dp-results{ margin: 44px 0; text-align:center; }
.dp-results-title{ margin:0; }
.dp-results-sub{ margin:10px auto 18px; max-width:70ch; opacity:.85; }

.dp-results-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}
@media (max-width: 860px){
  .dp-results-grid{ grid-template-columns:1fr; }
}

.dp-results-card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--dp-shadow);
  padding:18px 18px 16px;
  text-align:left;
  border:1px solid rgba(15,30,53,.10);
}
.dp-results-amt{
  font-weight:900;
  font-size:1.5rem;
  color:var(--dp-navy);
}
.dp-results-type{
  margin-top:6px;
  font-weight:800;
  color:var(--dp-navy);
}
.dp-results-note{
  margin-top:8px;
  opacity:.8;
  line-height:1.45;
}

.dp-results-cta{ margin-top:18px; display:flex; justify-content:center; }

/* ===== RESULTS BAND TRUE CENTER FIX ===== */

@media (max-width: 860px){

  .dp-results-band{
    max-width: 92%;
    margin: 22px auto 10px auto;
  }

}

@media (max-width: 650px){

  .dp-results-band{
    max-width: 88%;
  }

}

@media (max-width: 480px){

  .dp-results-band{
    max-width: 94%;
  }

}

/* City/Practice layout */
.dp-layout{display:flex;gap:40px;align-items:flex-start;}
.dp-layout-content{flex:1 1 0;min-width:0;}
.dp-layout-sidebar{flex:0 0 260px;border-left:1px solid rgba(0,0,0,.08);padding-left:20px;}
@media (max-width:860px){
  .dp-layout{flex-direction:column;gap:24px;}
  .dp-layout-sidebar{flex:1 1 auto;border-left:0;padding-left:0;border-top:1px solid rgba(0,0,0,.08);padding-top:16px;}
}
.dp-sidebar-list{list-style:none;margin:0;padding:0;display:grid;gap:.45rem;}
.dp-sidebar-hr{margin:16px 0;border:0;border-top:1px solid rgba(0,0,0,.12);}
.dp-sidebar-subhead{margin-top:16px;margin-bottom:8px;}
.dp-layout-sidebar a{color:var(--dp-navy);}
.dp-layout-sidebar a:hover{text-decoration:none;}

/* Sidebar form (single source of truth) */
.dp-sidebar-form{
  display:grid;
  gap:.7rem;
  padding:16px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:var(--dp-gray);
}
.dp-sidebar-form label{display:grid;gap:.35rem;margin:0;}
.dp-sidebar-form span{font-size:.92rem;font-weight:700;color:var(--dp-navy);}
.dp-sidebar-form input, .dp-sidebar-form textarea{
  width:100%;
  box-sizing:border-box;
  padding:.6rem .7rem;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.16);
  font:inherit;
  background:#fff;
}
.dp-sidebar-form textarea{resize:vertical;min-height:92px;}
.dp-sidebar-form input:focus, .dp-sidebar-form textarea:focus{
  outline:3px solid rgba(194,85,26,.30);
  outline-offset:2px;
  border-color:rgba(194,85,26,.55);
}

/* Make Required smaller and italic */
.dp-sidebar-form span em{
  font-style: italic;
  font-weight: 400;
  font-size: .8rem;
  opacity: .75;
}

.dp-hp{display:none !important;}
.dp-btn-block{width:100%;display:inline-flex;justify-content:center;}
.dp-form-note{margin:0;font-size:.88rem;opacity:.9;}

/* FAQ box */
.dp-faq-box{
  background:var(--dp-gray);
  border-radius:18px;
  padding:28px;
  margin-top:40px;
}
.dp-faq-box h2{margin-top:0;}
.dp-faq-box p{margin-bottom:18px;}

/* Headings */
.dp-content h2, .entry-content h2, .wp-block-post-content h2 {
  color:var(--dp-navy);
  margin-top:42px;
  padding-top:18px;
  border-top:1px solid rgba(15,30,53,.12);
}
.dp-content h3, .entry-content h3, .wp-block-post-content h3{
  color:#1F2937;
  margin-top:26px;
}
.dp-content h4, .entry-content h4, .wp-block-post-content h4{
  color:rgba(31,41,55,.85);
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:.95rem;
  margin-top:22px;
}

/* City Practice template heading rules (your preference) */
.page-template-template-city-practice :is(.dp-content, .entry-content) h2{
  text-align: center;
  border: 0;
  padding: 0 0 14px 0;
  margin: 42px 0 18px 0;
  position: relative;
}

.page-template-template-city-practice :is(.dp-content, .entry-content) h2::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  border-radius: 4px;
  background: var(--dp-orange);
}

.page-template-template-city-practice .dp-content h3,
.page-template-template-city-practice .entry-content h3{
  color: var(--dp-navy);
  padding-left: 10px;
  border-left: 3px solid rgba(194,85,26,.35); /* faded orange, not full strength */
}

.page-template-template-city-practice .dp-content h4,
.page-template-template-city-practice .entry-content h4{
  padding-left: 18px;
  margin-left: 12px;
  border-left: 2px solid rgba(15,30,53,.15);  /* very faint navy */
}

.page-template-template-city-practice .dp-content ul li::marker,
.page-template-template-city-practice .entry-content ul li::marker{
  color: var(--dp-orange);
}

/* City Practice: auto-center images */
.page-template-template-city-practice .dp-card .entry-content img{
  display:block;
  margin-left:auto;
  margin-right:auto;
  height:auto;
  max-width:100%;
}
.page-template-template-city-practice .dp-card .entry-content .wp-block-image{
  text-align:center;
}

/* Back to top button (CSS-only) */
.dp-back-to-top{
  position:fixed;
  right:16px; bottom:16px;
  width:44px; height:44px;
  border-radius:999px;
  background:var(--dp-navy);
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 26px rgba(0,0,0,.25);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  opacity:.92;
  z-index:9999;
}
.dp-back-to-top:hover{opacity:1;filter:brightness(.98);}

/* Footer */
.dp-footer{background:var(--dp-navy);color:#fff;padding:2.5rem 0;margin-top:3rem;}
.dp-footer a{color:#fff}
.dp-footer-list{list-style:none;padding:0;margin:0;display:grid;gap:.35rem;}
.dp-footer-list a{opacity:.92}
.dp-footer-list a:hover{opacity:1;text-decoration:underline;}

/* Blog featured image */
.dp-featured-image{margin:16px 0 24px 0;}
.dp-featured-image img{width:100%;height:auto;border-radius:12px;display:block;}

/* Blog grid (aligned cards) */
.dp-blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

.dp-blog-card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--dp-shadow);
  padding:14px;
}

.dp-blog-card img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}

.dp-blog-card h3{
  font-size:1.02rem;
  line-height:1.2;
  margin:12px 0 0 0;
}

/* Blog card enhancement */
.dp-blog-card{
  transition: transform .2s ease, box-shadow .2s ease;
}

.dp-blog-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,30,53,.18);
}

.dp-blog-card h3 a{
  text-decoration:none;
  color: var(--dp-navy);
}

.dp-blog-card h3 a:hover{
  color: var(--dp-orange);
}

/* ===== CTA SHORTCODE (COMPACT CLEAN VERSION) ===== */

.dp-cta-box{
  background: var(--dp-navy);
  color: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 18px auto;
  width: fit-content;
  max-width: 720px;
  text-align: center;
  position: relative;
}

/* Force ALL text inside CTA to white */
.dp-cta-box,
.dp-cta-box .dp-cta-title,
.dp-cta-box .dp-cta-text,
.dp-cta-box a{
  color: #ffffff;
}

/* Inner layout */
.dp-cta-inner{
  display: grid;
  place-items: center;
  row-gap: 6px;                    /* tighter spacing */
  max-width: 65ch;
}

/* Title */
.dp-cta-title{
  margin: 0;
  line-height: 1.15;
  font-size: 1.35rem;
}

/* Supporting text */
.dp-cta-text{
  margin: 0;
  line-height: 1.35;
  font-size: .98rem;
}

/* Buttons wrapper */
.dp-cta-buttons{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

/* BOTH buttons solid orange */
.dp-cta-buttons .dp-btn,
.dp-cta-buttons .dp-btn-outline{
  background: var(--dp-orange);
  color: #ffffff;
  border: 0;
  padding: .5rem .9rem;            /* smaller button height */
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease;
}

.dp-cta-buttons .dp-btn:hover,
.dp-cta-buttons .dp-btn-outline:hover{
  background: #a84717;
}

/* Decorative corner accents */
.dp-cta-inner{
  position: relative;
  padding: 8px 10px;              /* gives the corner lines a home */
}

/* Corner accents attach to inner content (looks balanced) */
.dp-cta-inner::before,
.dp-cta-inner::after{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  pointer-events:none;
}

.dp-cta-inner::before{
  top:-2px;
  left:-2px;
  border-top:2px solid var(--dp-orange);
  border-left:2px solid var(--dp-orange);
}

.dp-cta-inner::after{
  bottom:-2px;
  right:-2px;
  border-bottom:2px solid var(--dp-orange);
  border-right:2px solid var(--dp-orange);
}

/* Mobile sizing */
@media(max-width: 860px){
  .dp-cta-box{
    width: auto;
    max-width: 95%;
  }
}



/* FINAL OVERRIDE — force sticky header */
header.dp-header{
  position: sticky !important;
  top: 0 !important;
  z-index: 999999 !important;
}
body.admin-bar header.dp-header{ top:32px !important; }
@media (max-width:782px){
  body.admin-bar header.dp-header{ top:46px !important; }
}

/* Mobile menu: allow scrolling inside the dropdown */
@media (max-width: 860px){
  .dp-mobile-nav{
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile header: keep hamburger on the right */
@media (max-width: 860px){
  .dp-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .dp-header-right{
    display:flex;
    align-items:center;
    gap:.5rem;
    min-width:auto;
  }
  .dp-nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
  }
  .dp-header-cta{ display:none; }
}

/* ===== HEADER CTA BREAKPOINTS (single source of truth) ===== */

/* defaults */
.dp-header-cta{ display:flex; }
.dp-header-cta--compact{ display:none; }
.dp-mobile-callbar{ display:none; }

/* swap big CTA -> compact at 1200px */
@media (max-width: 1200px){
  .dp-header-cta{ display:none !important; }
  .dp-header-cta--compact{ display:inline-flex !important; }
}

/* below 1105px — hide EVERYTHING, show callbar */
@media (max-width: 1105px){
  .dp-header-cta{ display:none !important; }
  .dp-header-cta--compact{ display:none !important; }
  .dp-mobile-callbar{ display:block !important; }
}

/* below 860px — same, redundant but safe */
@media (max-width: 860px){
  .dp-header-cta{ display:none !important; }
  .dp-header-cta--compact{ display:none !important; }
  .dp-mobile-callbar{ display:block !important; }
}

.dp-header-cta--compact{
  display:none;
  align-items:center;
  justify-content:center;
  padding:.55rem .75rem;
  border-radius:14px;
  background:var(--dp-orange);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
  line-height:1;
}

/* Footer: 3 columns desktop, stacked mobile, column text alignment */
.dp-footer .dp-grid{
  display:grid;
  padding-top: 180px;
  gap:24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items:start;
}
@media (max-width: 860px){
  .dp-footer .dp-grid{
    grid-template-columns: 1fr;
  }
}

.dp-footer .dp-grid > div{ text-align:center; }
@media (max-width: 860px){
  .dp-footer .dp-grid > div{ text-align:center; }
}

/* Sidebar hover behavior */
.dp-layout-sidebar li{ padding:4px 0; }
.dp-layout-sidebar a{ display:inline-block; }
.dp-layout-sidebar a:hover{
  color: var(--dp-orange);
  transform: translateX(3px);
}

/* Sidebar related posts with thumbnails */
.dp-sidebar-posts{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.65rem;
}
.dp-sidebar-post-link{
  display:grid !important;
  grid-template-columns: 56px 1fr;
  gap:.6rem;
  align-items:center;
  text-decoration:none;
}
.dp-sidebar-post-thumb img{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:12px;
  display:block;
  box-shadow:0 10px 26px rgba(15,30,53,.10);
}
.dp-sidebar-post-title{
  font-weight:800;
  line-height:1.2;
  color: var(--dp-navy);
  transition: color .18s ease;
}
.dp-sidebar-post-link:hover .dp-sidebar-post-title{
  color: var(--dp-orange);
}

/* ===== Mobile callbar (no white seam) ===== */
.dp-mobile-callbar{
  display:none; /* default OFF */
  background: var(--dp-navy);
  padding: 8px 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 860px){

  /* measure your real header height (logo row) */
  :root{ --dp-header-h: 64px; } /* adjust if needed: 60–72px */

  /* header stays on top */
  header.dp-header{
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
    background: var(--dp-navy);
  }

  /* callbar sticks DIRECTLY UNDER the header */
  .dp-mobile-callbar{
    display:block;
    position: sticky;
    top: var(--dp-header-h);
    z-index: 999998;
  }

  /* admin bar offset */
  body.admin-bar .dp-mobile-callbar{
    top: calc(var(--dp-header-h) + 46px);
  }

  /* admin bar adjustment */
  body.admin-bar .dp-mobile-callbar{
    top: 46px;
  }
}

.dp-mobile-callbtn{
  display:block;
  max-width:250px;
  width:90%;
  margin:0 auto;
  text-align:center;
  background: var(--dp-orange);
  color:#fff;
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
}

/* ===== BLOG FEATURED STRIP ===== */
.dp-blog-feature{ margin: 18px 0 26px 0; }
.dp-blog-feature-bar{ display:flex; gap:12px; align-items:baseline; margin-bottom:10px; }

.dp-feature-scroll{
  position: relative;
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:16px;
  background: var(--dp-navy);
  border-radius:18px;
  box-shadow: var(--dp-shadow);
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Wrapper for sticky fade edges */
.dp-feature-shell{
  position: relative;
}

/* Edge fade indicators (fixed in place) */
.dp-feature-shell::before,
.dp-feature-shell::after{
  content:"";
  position:absolute;
  top:0;
  width:40px;
  height:100%;
  pointer-events:none;
  z-index:3;
}

.dp-feature-shell::before{
  left:0;
  background:linear-gradient(90deg,var(--dp-navy),rgba(15,30,53,0));
}

.dp-feature-shell::after{
  right:0;
  background:linear-gradient(270deg,var(--dp-navy),rgba(15,30,53,0));
}

.dp-feature-card{
  flex: 0 0 92%;
  max-width: 520px;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color: var(--dp-navy);

  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.dp-feature-media{
  background: var(--dp-navy);
  padding:12px;
}

.dp-feature-media img{
  width:100%;
  height:180px;
  object-fit:contain; /* no stretch */
  display:block;
  border-radius:12px;
  background: var(--dp-navy);
}

.dp-feature-meta{
  padding:14px 14px 16px 14px;
}

.dp-feature-title{
  font-weight:900;
  line-height:1.15;
}

.dp-feature-date{
  margin-top:6px;
  font-size:.9rem;
  opacity:.7;
}

@media(max-width:860px){
  .dp-feature-card{ flex-basis: 92%; }
  .dp-feature-media img{ height:150px; }
}

/* Blog sidebar filter */
.dp-blog-filter{display:grid;gap:.7rem;}
.dp-blog-filter label{display:grid;gap:.35rem;margin:0;}
.dp-blog-filter select{
  width:100%;
  box-sizing:border-box;
  padding:.6rem .7rem;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.16);
  background:#fff;
  font:inherit;
}
.dp-blog-filter select:focus{
  outline:3px solid rgba(194,85,26,.30);
  outline-offset:2px;
  border-color:rgba(194,85,26,.55);
}

/* Make WP search form match style */
.dp-layout-sidebar form.search-form{
  display:flex;
  gap:10px;
}
.dp-layout-sidebar .search-field{
  flex:1;
  padding:.6rem .7rem;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.16);
}
.dp-layout-sidebar .search-submit{
  border:0;
  border-radius:12px;
  padding:.6rem .9rem;
  background:var(--dp-orange);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

/* Blog layout sizing (prevents skinny left column) */
.dp-blog-layout .dp-layout-content{ flex: 1 1 0; min-width: 0; }
.dp-blog-layout .dp-layout-sidebar{ flex: 0 0 320px; }

@media (max-width: 980px){
  .dp-blog-layout{ flex-direction: column; }
  .dp-blog-layout .dp-layout-sidebar{
    flex: 1 1 auto;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(0,0,0,.08);
    padding-top: 16px;
  }
}

/* ===== SUCCESS POPUP OVERLAY ===== */

.dp-success-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,30,53,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.dp-success-box{
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.dp-success-box h3{
  margin: 0 0 10px 0;
  font-size: 1.4rem;
  color: var(--dp-navy);
}

.dp-success-box p{
  margin: 0 0 18px 0;
  color: #374151;
}

.dp-success-box .dp-btn{
  background: var(--dp-orange);
  color: #ffffff;
}

/* Consent checkbox (compact + inline) */
.dp-consent{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;        /* smaller text */
  line-height:1.25;
}

.dp-consent input{
  margin:0;
  accent-color: var(--dp-orange);
  width:16px;
  height:16px;
  flex-shrink:0;
}

.dp-consent span{
  display:inline;
}

.dp-consent span em{
  font-style: italic;
  font-weight: 400;
  font-size:.75rem;
  opacity:.7;
}

/* Override the form-label grid ONLY for the consent line */
.dp-sidebar-form label.dp-consent{
  display:flex !important;
  align-items:flex-start !important;
  gap:8px !important;
}

.dp-sidebar-form label.dp-consent span{
  display:block;
}

/* Consent text: make it readable, not a giant paragraph */
.dp-sidebar-form label.dp-consent{
  padding:10px 10px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  background:#fff;
}

.dp-sidebar-form label.dp-consent span{
  max-width: 36ch;          /* controls wrap width */
  opacity:.9;
}

/* ===== Homepage Results (CPT) ===== */
.dp-results{ margin: 44px 0; text-align:center; }
.dp-results-title{ margin:0; }
.dp-results-sub{ margin:10px auto 18px; max-width:70ch; opacity:.85; }

.dp-results-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}
@media (max-width: 860px){
  .dp-results-grid{ grid-template-columns:1fr; }
}

.dp-results-card{
  display:block;
  text-decoration:none;
  background:#fff;
  border-radius:18px;
  box-shadow:var(--dp-shadow);
  padding:18px 18px 16px;
  text-align:left;
  border:2px solid rgba(15,30,53,.20);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.dp-results-card:hover{
  border-color: var(--dp-orange);
  transform: translateY(-3px);
  box-shadow:0 18px 40px rgba(15,30,53,.16);
}

.dp-results-amt{
  font-weight:900;
  font-size:1.45rem;
  color:var(--dp-navy);
  line-height:1.1;
}

.dp-results-type{
  margin-top:10px;
  opacity:.85;
  line-height:1.4;
}

.dp-results-cta{ margin-top:18px; display:flex; justify-content:center; }

/* ===== ORANGE CASE RESULTS STRIP (3-COLUMN) ===== */

.dp-results-band{
  /* premium: match hero/navy theme */
  background: linear-gradient(135deg, #0F1E35 0%, #0B1628 55%, #07101E 100%);
  padding: 18px 0;              /* slimmer */
  margin: 22px 0 10px 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 34px rgba(15,30,53,.18);
  border: 1px solid rgba(255,255,255,.08);
}

.dp-results-band::before{
  content:"";
  position:absolute;
  inset:0;
  /* soft highlight so it doesn’t look flat */
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.10), transparent 42%),
    radial-gradient(circle at 85% 65%, rgba(194,85,26,.14), transparent 45%);
  pointer-events:none;
}

/* 3 equal columns */
.dp-results-track{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  text-align: center;
}

/* vertical dividers */
.dp-result-item{
  padding: 10px 18px;
  color: #fff;
}

.dp-result-item:not(:last-child){
  border-right: 1px solid rgba(255,255,255,.10);
}

.dp-result-item{
  text-decoration:none;
  display:block;
  transition: transform .18s ease;
}

.dp-result-item:hover{
  transform: translateY(-3px);
}

.dp-result-amount {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .4px;
  color: #FFC6A6;
  text-shadow:
    0 0 40px rgba(194, 85, 26, 0.55),
    0 0 80px rgba(194, 85, 26, 0.25),
    0 1px 0 rgba(0,0,0,.08);
  position: relative;
}

.dp-result-desc{
  margin-top: 7px;
  font-size: .95rem;          /* slightly bigger */
  font-weight: 700;           /* more authoritative */
  opacity: .95;
  color: #ffffff;
}

/* Mobile: stack nicely */
@media (max-width: 860px){
  .dp-results-track{
    grid-template-columns: 1fr;
  }
  .dp-result-item:not(:last-child){
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }
  .dp-result-item{
    padding: 12px 16px;
  }
}

/* ===== TRUST BADGES — MATCH NAVY PREMIUM STYLE ===== */

.dp-cred-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  align-items:stretch;
}

/* Badge container */
.dp-cred-badge{
  display:flex;
  align-items:center;
  gap:12px;

  padding:14px 18px;
  border-radius:16px;

  background: linear-gradient(
    135deg,
    #0F1E35 0%,
    #132642 65%,
    #1a355a 100%
  );

  color:#fff;
  font-weight:900;
  text-decoration:none;

  border:1px solid rgba(15,30,53,.7);
  box-shadow: 0 10px 24px rgba(15,30,53,.25);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

/* Hover */
.dp-cred-badge:hover{
  transform: translateY(-3px);
  border-color: var(--dp-orange);
  box-shadow: 0 18px 40px rgba(15,30,53,.35);
}

/* Icon circle */
.dp-cred-ico{
  width:36px;
  height:36px;
  border-radius:999px;

  background: rgba(194,85,26,.15);
  color: var(--dp-orange);

  display:flex;
  align-items:center;
  justify-content:center;

  flex:0 0 auto;
}

.dp-cred-ico svg{
  width:18px;
  height:18px;
}

/* Text */
.dp-cred-label{
  line-height:1.15;
  letter-spacing:.2px;
}

/* ===== Reviews (CPT) — CLEAN SINGLE SOURCE ===== */

.dp-reviews{ margin: 36px 0 50px; }

/* marquee shell */
.dp-reviews-marquee{ overflow:hidden; position:relative; }

/* track */
.dp-reviews-track{
  display:flex;
  gap:14px;
  width:max-content;
  will-change: transform;
  animation: dpReviewsMarquee 45s linear infinite;
}
.dp-reviews-marquee:hover .dp-reviews-track{ animation-play-state: paused; }

/* ONE keyframes name (unique, no conflict) */
@keyframes dpReviewsMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* card — slimmer so ~5 fit */
.dp-review-card{
  flex: 0 0 240px;      /* change to 220px if you want even tighter */
  max-width: 240px;
  background:#fff;
  border-radius:14px;
  box-shadow:var(--dp-shadow);
  border:1px solid rgba(15,30,53,.10);
  padding:12px 12px 10px;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
}

/* rating row */
.dp-review-rating{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 8px 0;
}

.dp-review-stars{
  font-size:1.25rem;
  line-height:1;
  letter-spacing:2px;
  color:#f5b301; /* GOLD STARS */
}

.dp-review-stars-text{
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--dp-navy);  /* “5-STAR REVIEW” in navy */
  opacity:.9;
}

/* review text */
.dp-review-text{
  margin:0;
  line-height:1.35;
  font-size:.95rem;
  font-weight:500;
  opacity:.92;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* CTA link */
.dp-review-link{
  margin-top:10px;
  font-weight:900;
  color:var(--dp-orange);
}

/* Mobile: stop auto-scroll and allow swipe */
@media (max-width: 860px){

  /* stop marquee + stop horizontal scrolling */
  .dp-reviews-track{
    animation: none !important;
    transform: none !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  /* don't duplicate cards on mobile (your shortcode outputs twice) */
  .dp-reviews-track > .dp-review-card:nth-child(n+4){
    display: none !important;
  }

  /* make cards fit grid */
  .dp-review-card{
    flex: initial !important;
    max-width: none !important;
    width: 100% !important;
    scroll-snap-align: unset !important;
  }
}

@media (max-width: 650px){
  .dp-reviews-track{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .dp-reviews-track > .dp-review-card:nth-child(n+3){
    display:none !important;
  }
}

@media (max-width: 474px){
  .dp-reviews-track{
    grid-template-columns: 1fr !important;
  }
  .dp-reviews-track > .dp-review-card:nth-child(n+2){
    display:none !important;
  }
}

/* ===== Review Author (Initial + Last Name) ===== */
.dp-review-author{
  margin-top: 8px;
  font-weight: 600;          /* lighter than bold */
  font-size: .88rem;
  color: rgba(15,30,53,.65); /* muted navy */
  letter-spacing: .02em;
}

.dp-review-author::before{
  content:"— ";
  opacity:.6;
}

.dp-review-source{
  font-size:.75rem;
  opacity:.6;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* ===== WHY CHOOSE US (courthouse fade + navy vertical line) ===== */
.dp-why{
  position: relative;
  margin: 110px 0 20px 0;
  padding: 70px 60px;
  border-radius: 24px;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 20px 60px rgba(15,30,53,.08);
}

/* Background image layer (decorative) */
.dp-why-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.dp-why-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.38;                 /* faded courthouse */
  filter: grayscale(100%);     /* classy + reduces visual noise */
}

/* Overlay tint so text stays readable (LEFT side only, right side stays visible) */
.dp-why::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.55) 40%,
      rgba(255,255,255,.25) 70%,
      rgba(255,255,255,.10) 100%
    );
  z-index:1;
  pointer-events:none;
}

/* Inner layout */
.dp-why-inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 10px minmax(0, 1fr) minmax(0, 1fr); /* line | left | right */
  gap: 28px;
  align-items: start;
  padding: 34px 28px;
}

.dp-why-aside{
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,30,53,.10);
  box-shadow: 0 14px 34px rgba(15,30,53,.10);
  min-height: 260px;
}

/* Navy vertical line */
.dp-why-line{
  width: 10px;            /* matches your grid column */
  height: 100%;           /* stretch full section height */
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(15,30,53,1) 0%,
    rgba(15,30,53,.75) 55%,
    rgba(15,30,53,.15) 100%
  );
}

/* Typography */
.dp-why-title{
  margin: 0 0 10px 0;
  color: var(--dp-navy);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .2px;
}
.dp-why-sub{
  margin: 0 0 16px 0;
  max-width: 72ch;
  opacity: .9;
  line-height: 1.55;
}

/* Bullet list */
.dp-why-list{
  margin: 0;
  padding-left: 1.15rem;
  display:grid;
  gap: 10px;
  max-width: 78ch;
}
.dp-why-list li{
  line-height: 1.5;
}
.dp-why-list strong{
  color: var(--dp-navy);
}

/* Buttons */
.dp-why-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 860px){

  /* Stack: line on left, portrait above, text below */
  .dp-why-inner{
    grid-template-columns: 8px 1fr;
    grid-template-areas:
      "line portrait"
      "line left";
    gap: 16px;
    padding: 26px 18px;
    align-items: start;
  }

  .dp-why-line{ grid-area: line; }
  .dp-why-left{ grid-area: left; }
  .dp-why-portrait{ grid-area: portrait; }

  /* Make portrait smaller + centered on mobile */
  .dp-why-portrait{
    justify-content: center;
  }

  .dp-why-portrait img{
    width: min(340px, 100%);
    height: auto;
  }

  .dp-why-title{ font-size: 1.65rem; }
  .dp-why-bg img{ opacity:.10; }
}

.dp-why-portrait{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.dp-why-portrait img{
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(15,30,53,.18);
}

/* ===== WHAT HAPPENS NEXT ===== */

.dp-next{
  margin: 20px 0 90px 0;
  padding: 70px 60px;
  text-align:center;
}

.dp-next-title{
  font-size: 2rem;
  font-weight: 900;
  color: var(--dp-navy);
  margin: 0 0 14px 0;
}

.dp-next-sub{
  max-width: 70ch;
  margin: 0 auto 30px auto;
  opacity: .85;
  line-height: 1.6;
  text-align:justify;
}

.dp-next-steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.dp-next-step{
  position: relative;
  padding-top: 20px;
}

.dp-next-number{
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  border-radius: 50%;

  background: linear-gradient(135deg,#C2551A,#a84717); /* orange gradient */
  color:#ffffff;

  font-weight:900;
  font-size:1.15rem;

  display:flex;
  align-items:center;
  justify-content:center;

  /* faint navy ring */
  box-shadow:
    0 0 0 2px rgba(15,30,53,.15),     /* navy ring */
    0 12px 26px rgba(194,85,26,.22);  /* soft depth */
}

.dp-next-step h3{
  font-weight:900;
  margin:0 0 10px 0;
  color: var(--dp-navy);
}

.dp-next-step p{
  margin:0;
  line-height:1.6;
  opacity:.85;
}

@media (max-width: 860px){
  .dp-next{
    padding: 60px 22px;
  }
  .dp-next-steps{
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.dp-authority{
  margin: 80px auto;
  max-width: 850px;
  text-align: center;
}

.dp-authority h2{
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dp-navy);
}

.dp-authority p{
  margin: 0 0 16px 0;
  line-height: 1.65;
  opacity: .9;
  text-align: justify;
}

.dp-authority-links{
  margin-top: 20px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
  font-weight:800;
}

.dp-authority-links a{
  color: var(--dp-navy);
  text-decoration:none;
}

.dp-authority-links a:hover{
  color: var(--dp-orange);
}

/* ===== Home badges (Free consult / No fee / Serious injury) ===== */
.dp-badges{
  padding: 18px 0 6px 0;
  text-align: center;
}

.dp-badges-inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 80px;          /* desktop */
  font-weight: 800;
}

/* Mobile: tighten spacing + stack clean */
@media (max-width: 860px){
  .dp-badges{
    padding: 10px 0 2px 0;
  }
  .dp-badges-inner{
    gap: 14px;
    row-gap: 10px;
  }
  .dp-badges-inner span{
    width: 100%;
  }
}

/* ===== Practice Area Icon Hide (<= 710px) ===== */
@media (max-width: 710px){

  .dp-pa-icon{
    display:none !important;
  }

  .dp-pa-media-title{
    padding-left:0 !important;
    justify-content:center !important;
  }
}

/* Center the Results band like everything else */
.dp-results-band{
  max-width: 1120px;     /* match .dp-container max width */
  margin-left: auto;
  margin-right: auto;
}

/* keep padding consistent with your container on small screens */
@media (max-width: 1152px){
  .dp-results-band{
    max-width: calc(100% - 2rem); /* matches .dp-container padding: 1rem each side */
  }
}

@media (max-width: 860px){
  .dp-header-cta,
  .dp-header-cta--compact{
    display:none !important;
  }
}

/* ===== Badges: force orange check icon (single source of truth) ===== */
.dp-badges-inner span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.dp-badges-inner span::before{
  content:"\2713";
  color: var(--dp-orange);
  font-weight: 700;
  font-size: 1.6rem;   /* increase this */
  line-height:1;
}

@media (max-width: 860px){
  :root{
    --dp-header-h: 64px;     /* your header height */
    --dp-callbar-h: 56px;    /* approx: callbar total height */
  }

  .dp-hero-overlay{
    padding-top: 24px !important;  /* normal spacing */
  }
}

/* City hub: practice area links (city-only) */
.dp-city-practices{ margin: 34px 0; }
.dp-city-practices-title{
  text-align:center;
  margin: 0 0 14px 0;
  color: var(--dp-navy);
  font-weight: 900;
}

.dp-city-practices-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 860px){
  .dp-city-practices-grid{ grid-template-columns: 1fr; }
}

.dp-city-practices-tile{
  display:block;
  text-decoration:none;
  background:#fff;
  border-radius: 14px;
  border: 1px solid rgba(15,30,53,.12);
  box-shadow: var(--dp-shadow);
  padding: 14px 14px;
}

.dp-city-practices-label{
  display:block;
  font-weight: 900;
  color: var(--dp-navy);
  line-height: 1.2;
}

.dp-city-practices-tile:hover .dp-city-practices-label{
  color: var(--dp-orange);
}

/* ======================================
   CITY PRACTICE — ORANGE OUTER / NAVY TILES
   ====================================== */

.dp-citypractice{
  margin: 70px 0;
  padding: 56px 48px;
  border-radius: 24px;

  background: #ffffff;

  /* BIG ORANGE BORDER */
  border: 3px solid var(--dp-navy);

  box-shadow: 0 18px 50px rgba(15,30,53,.08);

  position: relative;
  overflow: hidden;
  text-align: center;
}

.dp-citypractice::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background:
    /* TOP LEFT */
    linear-gradient(var(--dp-orange), var(--dp-orange)) top 18px left 18px / 36px 6px no-repeat,
    linear-gradient(var(--dp-orange), var(--dp-orange)) top 18px left 18px / 6px 36px no-repeat,

    /* TOP RIGHT */
    linear-gradient(var(--dp-orange), var(--dp-orange)) top 18px right 18px / 36px 6px no-repeat,
    linear-gradient(var(--dp-orange), var(--dp-orange)) top 18px right 18px / 6px 36px no-repeat,

    /* BOTTOM LEFT */
    linear-gradient(var(--dp-orange), var(--dp-orange)) bottom 18px left 18px / 36px 6px no-repeat,
    linear-gradient(var(--dp-orange), var(--dp-orange)) bottom 18px left 18px / 6px 36px no-repeat,

    /* BOTTOM RIGHT */
    linear-gradient(var(--dp-orange), var(--dp-orange)) bottom 18px right 18px / 36px 6px no-repeat,
    linear-gradient(var(--dp-orange), var(--dp-orange)) bottom 18px right 18px / 6px 36px no-repeat;
}

.dp-citypractice-title{
  font-size: 2rem;
  font-weight: 900;
  color: var(--dp-navy);
  margin: 0 0 36px 0;
}

.dp-citypractice-title::after{
  display:none !important;
}

/* Grid */
.dp-citypractice .dp-city-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.dp-citypractice .dp-city-tile{
  display:flex;
  align-items:center;
  justify-content:center;

  padding: 22px 26px;
  border-radius: 18px;

  background: linear-gradient(
  135deg,
  #0F1E35 0%,
  #132642 65%,
  #1a355a 100%
);

  color: #ffffff;
  border: 1px solid rgba(15,30,53,.6);

  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 14px 30px rgba(15,30,53,.25);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.dp-citypractice .dp-city-tile:hover{
  transform: translateY(-5px);
  border-color: var(--dp-orange);
  box-shadow: 0 22px 50px rgba(15,30,53,.35);
}

.dp-citypractice-back{
  text-align:center;
  margin-top: 26px;
}

.dp-citypractice-back a{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background: linear-gradient(135deg,#0F1E35 0%,#132642 100%);
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

.dp-citypractice-back a:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,30,53,.18);
}

/* Mobile */
@media (max-width: 860px){
  .dp-citypractice{
    padding: 28px 18px 60px;
  }
  .dp-citypractice-title{
    font-size: 1.55rem;
  }
  .dp-citypractice .dp-city-grid{
    grid-template-columns: 1fr;
  }
}

/* ================================
   LOCATIONS — PREMIUM ORANGE BAND
   ================================ */

/* LOCATIONS — accents */
.dp-locations{
  margin: 40px 0;
    padding: 26px 18px 48px;
  padding-bottom: 80px;
  border-radius: 24px;
  position: relative;   /* REQUIRED for accents */
  overflow: hidden;     /* clips accents cleanly */

  background: linear-gradient(
    135deg,
    #1B2E4D 0%,
    #152744 45%,
    #0F1E35 100%
  );

  border: 1px solid rgba(194,85,26,.18);
  box-shadow: 0 28px 60px rgba(15,30,53,.08);

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* Top-left accent */
.dp-locations::before{
  content:"";
  position:absolute;
  top:18px;
  left:18px;
  width:34px;
  height:34px;
  border-top:5px solid var(--dp-orange);
  border-left:5px solid var(--dp-orange);
  border-top-left-radius:10px;
  pointer-events:none;
}

/* Bottom-right accent */
.dp-locations::after{
  content:"";
  position:absolute;
  bottom:18px;
  right:18px;
  width:34px;
  height:34px;
  border-bottom:5px solid var(--dp-orange);
  border-right:5px solid var(--dp-orange);
  border-bottom-right-radius:10px;
  pointer-events:none;
}

.dp-locations-title{
  text-align:center;
  font-size:2rem;
  font-weight:900;
  color: #ffffff !important;              /* make white */
  margin:0 auto 36px auto;
  position:relative;
  display:inline-block;
  left:50%;
  transform:translateX(-50%);
}

.dp-locations-title::after{
  display:none !important;
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:74px;
  height:4px;
  border-radius:4px;
  background: linear-gradient(90deg, var(--dp-orange), #e47b3d, var(--dp-orange));
  box-shadow:0 4px 10px rgba(194,85,26,.22);
}

/* grid just for dp_locations */
.dp-locations .dp-city-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 22px;  /* better breathing room */
  width: 100%;
}

/* tiles */
.dp-locations .dp-city-tile{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;

  padding: 16px 18px;
  border-radius: 16px;

  background:#ffffff;
  border:1px solid rgba(15,30,53,.12);
  box-shadow: 0 10px 26px rgba(15,30,53,.08);
  color: var(--dp-navy);
  text-decoration:none;
  font-weight: 900;
  line-height: 1.2;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* subtle right arrow */
.dp-locations .dp-city-tile::after{
  content:"→";
  color: var(--dp-orange);
  font-weight: 900;
  opacity: .95;
}

.dp-locations .dp-city-tile:hover{
  transform: translateY(-3px);
  border-color: var(--dp-orange);
  box-shadow: 0 18px 40px rgba(15,30,53,.14);
}

/* Mobile tightening */
@media (max-width: 860px){
  .dp-locations{
    margin: 40px 0;
    padding: 26px 18px 20px;
  }
  .dp-locations-title{
    font-size: 1.55rem;
  }
  .dp-locations .dp-city-grid{
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px){
  .dp-layout{ align-items: stretch; }

  .dp-layout,
  .dp-layout-sidebar{ overflow: visible !important; }

  .dp-layout-content{
    position: relative;
    z-index: 1;
  }

  .dp-layout-sidebar{
    position: relative;
    z-index: 2;
    background: #fff;
  }

  .dp-sidebar-above,
  .dp-sidebar-below{
    position: relative;
    z-index: 1;
    background: #fff;
  }

  .dp-sidebar-stickyblock{
    position: sticky;
    top: 80px;
    z-index: 3;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15,30,53,.10);
    padding: 16px;
  }
}

/* =====================================
   CITY HUBS — MATCH LOCATIONS STYLE
   ===================================== */

.dp-cityhubs{
  margin: 70px 0;
  padding: 60px 48px;
  border-radius: 28px;
  position: relative;  /* REQUIRED for pseudo elements */
  overflow: hidden;    /* keeps accents clipped cleanly */

  background: linear-gradient(
    135deg,
    #1B2E4D 0%,
    #152744 45%,
    #0F1E35 100%
  );

  box-shadow: 0 30px 70px rgba(15,30,53,.25);

  text-align: center;
  color: #fff;
}

/* Title */
.dp-cityhubs-title{
  font-size: 2.1rem;
  font-weight: 900;
  margin: 0 0 14px 0;
  color: #fff !important;
}

/* Remove orange underline */
.dp-cityhubs-title::after{
  display: none !important;
}

/* Subtitle */
.dp-cityhubs-sub{
  max-width: 70ch;
  margin: 0 auto 36px auto;
  opacity: .85;
  font-size: 1rem;
}

/* Grid */
.dp-cityhubs-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* Buttons */
.dp-cityhubs-link{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;   /* center text */
  
  width: 75%;                /* 75% of grid column */
  margin: 0 auto;            /* center the button itself */

  padding: 14px 20px;
  border-radius: 16px;

  background: #ffffff;
  border: 1px solid rgba(15,30,53,.12);

  font-weight: 800;
  color: var(--dp-navy);
  text-decoration: none;

  box-shadow: 0 10px 26px rgba(15,30,53,.08);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

/* Arrow */
.dp-cityhubs-link::after{
  content:"→";
  position: absolute;
  right: 18px;
  color: var(--dp-orange);
  font-weight: 900;
}

/* Hover */
.dp-cityhubs-link:hover{
  transform: translateY(-3px);
  border-color: var(--dp-orange);
  box-shadow: 0 18px 40px rgba(15,30,53,.14);
}

/* Top-left */
.dp-cityhubs::before{
  top:18px;
  left:18px;
  border-top:5px solid var(--dp-orange);
  border-left:5px solid var(--dp-orange);
  border-top-left-radius:6px;
  content:"";
  position:absolute;
  width:34px;
  height:34px;
  pointer-events:none;
}

/* Bottom-right */
.dp-cityhubs::after{
  bottom:18px;
  right:18px;
  border-bottom:5px solid var(--dp-orange);
  border-right:5px solid var(--dp-orange);
  border-bottom-right-radius:6px;
  content:"";
  position:absolute;
  width:34px;
  height:34px;
  pointer-events:none;
}

/* Mobile */
@media (max-width: 860px){
  .dp-cityhubs{
    padding: 36px 22px;
  }

  .dp-cityhubs-title{
    font-size: 1.6rem;
  }

  .dp-cityhubs-grid{
    grid-template-columns: 1fr;
  }
}

/* ==============================
   SIDEBAR PRACTICE LIST (clean)
   ============================== */

/* Title centered */
.dp-layout-sidebar .dp-sidebar-title{
  text-align:center;
  margin:0 0 10px 0;
}

/* Gray panel behind list */
.dp-sidebar-practice-list{
  background: var(--dp-gray);
  border: 1px solid rgba(15,30,53,.10);
  border-radius: 16px;
  padding: 12px;

  list-style: none;
  margin: 0;
  display: grid;
  gap: 6px;
}
.dp-sidebar-practice-list li{ margin:0; padding:0; }

/* Links */
.dp-sidebar-practice-list a{
  position: relative;
  display: block;

  padding: 10px 14px;
  border-radius: 12px;

  background: linear-gradient(135deg,#0F1E35 0%,#132642 70%,#1a355a 100%);
  color: #fff;
  font-weight: 800;
  text-decoration: none;

  border: 1px solid rgba(15,30,53,.70);
  box-shadow: 0 6px 14px rgba(15,30,53,.14);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dp-sidebar-practice-list a:hover{
  transform: translateX(3px);
  border-color: var(--dp-orange);
  box-shadow: 0 10px 22px rgba(15,30,53,.20);
}

/* ACTIVE item (not a link) */
.dp-sidebar-practice-list .dp-sidebar-active{
  position: relative;
  display: block;

  padding: 10px 34px 10px 22px; /* left room for accent, right room for chevron */
  border-radius: 12px;

  background: linear-gradient(135deg,#12233f 0%,#173053 100%);
  color: #fff;
  font-weight: 800;
  font-style: italic;

  border: 1px solid rgba(194,85,26,.95);
  box-shadow: 0 12px 26px rgba(15,30,53,.22);

  transform: translateX(4px);
}

/* ACTIVE left orange accent bar */
.dp-sidebar-practice-list .dp-sidebar-active::before{
  content:"";
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  width:6px;
  height:70%;
  background: var(--dp-orange);
  border-radius: 4px;
}

/* ACTIVE orange chevron (only on active) */
.dp-sidebar-practice-list .dp-sidebar-active::after{
  content:"›";
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:1.25rem;
  font-weight:900;
  color: var(--dp-orange);
  opacity: 1;
}

/* Inactive chevron (light gray) */
.dp-sidebar-practice-list a::after{
  content:"›";
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:1.15rem;
  font-weight:900;
  color: rgba(255,255,255,.55); /* light gray-ish on navy */
}

.dp-sidebar-practice-list a:hover::after{
  color: rgba(255,255,255,.90);
  transform: translateY(-50%) translateX(3px);
  transition: transform .18s ease, color .18s ease;
}

.dp-home-intro{
  max-width: 78ch;
  margin: 10px auto 20px;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: .92;
}

h2.center-text {
  text-align: center;
}

.dp-hero-box {
    background: #f7f8fa;
    padding: 40px;
    border-radius: 18px;
    margin-bottom: 32px;
}

.dp-hero-box p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.dp-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    justify-content: center;
}

/* ===== CALIFORNIA LEVEL PAGES: fix text-align bleed after dp-locations ===== */

/* 1. Reset entry-content to left on default template pages */
.page-template-default .entry-content {
  text-align: left;
}

/* 2. Fix dp-locations-title centering — remove the left/transform trick,
      align-items:center on the flex parent already handles it */
.page-template-default .dp-locations-title {
  left: auto;
  transform: none;
}

/* ============================================================
   CALIFORNIA PRACTICE PAGE TEMPLATE
   target: .page-template-template-california-practice
   Designed to be visually distinct from:
     - Homepage (no hero text overlay)
     - City practice pages (no sidebar, different hero treatment)
   ============================================================ */

/* ── Remove default dp-main padding so hero bleeds to edges ── */
.page-template-template-california-practice .dp-cal-main {
  padding: 0 0 3rem 0;
}

/* ── HERO ─────────────────────────────────────────────────── */
.dp-cal-hero {
  position: relative;
  width: 100vw;
  min-height: 480px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(135deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

/* Hero image fills behind overlay */
.dp-cal-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  z-index: 0;
}

/* Gradient overlay — left-heavy so text reads on any photo */
.dp-cal-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;

  background: linear-gradient(
    105deg,
    rgba(15, 30, 53, 0.96) 0%,
    rgba(15, 30, 53, 0.90) 38%,
    rgba(15, 30, 53, 0.72) 62%,
    rgba(15, 30, 53, 0.30) 100%
  );

  padding: 80px 0 64px;
}

/* Inner container — left-aligned content, max 640px */
.dp-cal-hero-inner {
  max-width: 640px;
}

/* Breadcrumb */
.dp-cal-breadcrumb {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 14px;
  color: #fff;
}

.dp-cal-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.dp-cal-breadcrumb a:hover {
  color: var(--dp-orange);
  text-decoration: underline;
}

.dp-cal-breadcrumb span {
  margin: 0 4px;
  color: rgba(255, 255, 255, 0.55);
}

/* H1 */
.dp-cal-hero-h1 {
  margin: 0 0 14px 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.2px;

  /* orange accent line under H1 — left-aligned, distinct from city pages */
  padding-bottom: 16px;
  position: relative;
}

.dp-cal-hero-h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--dp-orange) 0%, #e47b3d 100%);
  box-shadow: 0 3px 10px rgba(194, 85, 26, 0.45);
}

/* Sub-tagline */
.dp-cal-hero-sub {
  margin: 18px 0 24px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 52ch;
}

/* Hero buttons */
.dp-cal-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dp-cal-btn-primary {
  background: var(--dp-orange);
  color: #fff;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.dp-cal-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.dp-cal-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 0.72rem 1.35rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dp-cal-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.18);
}

/* ── BODY / CONTENT ───────────────────────────────────────── */
.dp-cal-body {
  padding-top: 52px;
  padding-bottom: 20px;
}

/* Full-width content — no sidebar */
.dp-cal-content {
  max-width: 860px;
  margin: 0 auto;
}

/* ── H2 STYLE — centered + orange underline accent ────────── */
/* Matches city practice page treatment but without the border-top */
.page-template-template-california-practice .dp-cal-content h2,
.page-template-template-california-practice .entry-content h2 {
  text-align: center;
  border: 0;
  padding: 0 0 14px 0;
  margin: 52px 0 22px 0;
  position: relative;
  color: var(--dp-navy);

  /* override default h2 border-top from base CSS */
  border-top: 0 !important;
  padding-top: 0 !important;
}

.page-template-template-california-practice .dp-cal-content h2::after,
.page-template-template-california-practice .entry-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 4px;
  border-radius: 4px;
  background: var(--dp-orange);
}

/* H3 — left-aligned with faded orange left border, same as city pages */
.page-template-template-california-practice .dp-cal-content h3,
.page-template-template-california-practice .entry-content h3 {
  color: var(--dp-navy);
  padding-left: 10px;
  border-left: 3px solid rgba(194, 85, 26, 0.35);
}

/* Bullet marker color — match city pages */
.page-template-template-california-practice .dp-cal-content ul li::marker,
.page-template-template-california-practice .entry-content ul li::marker {
  color: var(--dp-orange);
}

/* FAQ box H2 — override: no centered treatment inside FAQ */
.page-template-template-california-practice .dp-faq-box h2 {
  text-align: left !important;
  border-top: 0 !important;
  padding: 0 0 0 0 !important;
  margin-top: 0 !important;
}

.page-template-template-california-practice .dp-faq-box h2::after {
  display: none !important;
}

/* dp-hero-box — visible intro block on california pages
   Styled as a distinct lead-in section below the hero image */
.page-template-template-california-practice .dp-hero-box {
  display: block;
  background: #f7f8fa;
  border-left: 4px solid #C2551A;
  border-radius: 0 6px 6px 0;
  padding: 2rem 2.25rem;
  margin: 0 0 2.5rem 0;
}

.page-template-template-california-practice .dp-hero-box p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1a1a2e;
  margin: 0 0 1rem 0;
}

.page-template-template-california-practice .dp-hero-box p:last-of-type {
  margin-bottom: 0;
}

.page-template-template-california-practice .dp-hero-box strong {
  color: #0F1E35;
}

/* Keep the CTA row inside hero-box styled correctly */
.page-template-template-california-practice .dp-hero-box .dp-cta-row {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e4e8;
}

/* ── CTA row align left on california pages ───────────────── */
.page-template-template-california-practice .dp-cta-row {
  justify-content: flex-start;
}

/* ── Fix dp-locations-title on full-width pages ───────────── */
.page-template-template-california-practice .dp-locations-title {
  left: auto;
  transform: none;
}

/* ── Fix text-align bleed after dp-locations ─────────────── */
.page-template-template-california-practice .entry-content {
  text-align: left;
}

/* ── Results band sits naturally in flow — no top bump ─────── */
.page-template-template-california-practice .dp-results-band {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ── MOBILE ───────────────────────────────────────────────── */
@media (max-width: 860px) {

  .dp-cal-hero {
    min-height: 0;
  }

  .dp-cal-hero-overlay {
    padding: 100px 0 48px;
    /* on mobile gradient goes top-to-bottom */
    background: linear-gradient(
      180deg,
      rgba(15, 30, 53, 0.96) 0%,
      rgba(15, 30, 53, 0.88) 55%,
      rgba(15, 30, 53, 0.70) 100%
    );
  }

  .dp-cal-hero-inner {
    max-width: 100%;
    text-align: center;
  }

  .dp-cal-hero-h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .dp-cal-hero-h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .dp-cal-hero-sub {
    margin: 16px auto 22px;
  }

  .dp-cal-hero-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .dp-cal-btn-primary,
  .dp-cal-btn-outline {
    width: 100%;
    max-width: min(320px, calc(100vw - 48px));
    text-align: center;
    box-sizing: border-box;
  }

  .dp-cal-body {
    padding-top: 36px;
  }

  .dp-cal-content {
    max-width: 100%;
  }

  .page-template-template-california-practice .dp-cta-row {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dp-cal-hero-overlay {
    padding: 90px 0 40px;
  }
}

.page-template-template-california-practice .dp-card:has(.dp-cal-hero) {
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

/* Reset h3 styling inside dp-cta-box — navy text on navy background = invisible */
.page-template-template-california-practice .dp-cta-box h3,
.page-template-template-california-practice .dp-cta-box .dp-cta-title {
  color: #ffffff;
  padding-left: 0;
  border-left: 0;
  margin-top: 0;
}

/* Remove gap between header and hero */
.page-template-template-california-practice main.dp-main {
  padding-top: 0 !important;
}

/* ============================================================
   CITY HUB PAGE TEMPLATE
   target: .page-template-template-city-hub
   Visually distinct from:
     - California practice pages (split-panel hero vs full-bleed)
     - City practice pages (no sidebar, different H2 treatment)
     - Homepage (no hero text overlay)
   ============================================================ */

/* ── Remove default dp-main top padding so hero sits flush ── */
.page-template-template-city-hub main.dp-main {
  padding-top: 0 !important;
}

/* ── SPLIT-PANEL HERO ────────────────────────────────────── */
.dp-hub-hero {
  display: flex;
  min-height: 520px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

/* Left panel — navy gradient content side */
.dp-hub-hero-left {
  flex: 0 0 52%;
  background: linear-gradient(
    150deg,
    #0F1E35 0%,
    #162843 60%,
    #1c3260 100%
  );
  display: flex;
  align-items: center;
  padding: 72px 0;
  position: relative;
}

/* Subtle decorative vertical orange line on right edge of left panel */
.dp-hub-hero-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #C2551A 30%,
    #C2551A 70%,
    transparent 100%
  );
  border-radius: 4px;
}

.dp-hub-hero-inner {
  padding: 0 56px 0 max(32px, calc((100vw - 1120px) / 2));
  max-width: 600px;
}

/* Breadcrumb */
.dp-hub-breadcrumb {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 16px;
  color: #fff;
  display: flex;
  gap: 6px;
  align-items: center;
}

.dp-hub-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.dp-hub-breadcrumb a:hover {
  color: var(--dp-orange);
  text-decoration: underline;
}

.dp-hub-breadcrumb span {
  color: rgba(255,255,255,0.45);
}

/* H1 — city name large, "Injury Lawyer" on second line in orange */
.dp-hub-hero-h1 {
  margin: 0 0 18px 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

/* Sub-tagline */
.dp-hub-hero-sub {
  margin: 0 0 28px 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
}

/* Hero buttons */
.dp-hub-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dp-hub-btn-primary {
  background: var(--dp-orange);
  color: #fff;
  padding: 0.78rem 1.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.97rem;
  text-decoration: none;
  transition: filter 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.dp-hub-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.dp-hub-btn-outline {
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.40);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.97rem;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  display: inline-block;
}

.dp-hub-btn-outline:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.18);
}

/* Right panel — city photo */
.dp-hub-hero-right {
  flex: 0 0 48%;
  position: relative;
  overflow: hidden;
  background: #0F1E35;
}

.dp-hub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.dp-hub-hero-img-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #162843 0%, #1c3260 100%);
}

/* ── STATS STRIP ─────────────────────────────────────────── */
.dp-hub-stats {
  background: #0F1E35;
  border-top: 3px solid var(--dp-orange);
  padding: 20px 0;
}

.dp-hub-stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dp-hub-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
}

.dp-hub-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--dp-orange);
  line-height: 1;
  letter-spacing: -0.5px;
}

.dp-hub-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  text-align: center;
}

/* ── BODY / CONTENT ───────────────────────────────────────── */
.dp-hub-body {
  padding-top: 56px;
  padding-bottom: 24px;
}

.dp-hub-content {
  max-width: 860px;
  margin: 0 auto;
}

/* ============================================================
   CITY HUB PAGE TEMPLATE — Option D: Diagonal Overlay Hero
   target: .page-template-template-city-hub
   ============================================================ */

/* ── Remove default dp-main top padding so hero sits flush ── */
.page-template-template-city-hub main.dp-main {
  padding-top: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   HERO — Full-bleed city photo + diagonal navy overlay
══════════════════════════════════════════════════════════ */
.dp-hub-hero {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 480px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  border-top: 3px solid #C2551A;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F1E35 0%, #162843 100%);
}

/* ── Background city photo ─────────────────────────────── */
.dp-hub-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
  filter: brightness(0.62) saturate(0.85);
}

.dp-hub-hero-bg-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F1E35 0%, #1c3260 100%);
  z-index: 0;
}

/* ── Diagonal navy overlay — cuts across photo left to right ── */
.dp-hub-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(15, 30, 53, 0.97) 0%,
    rgba(15, 30, 53, 0.94) 35%,
    rgba(15, 30, 53, 0.72) 55%,
    rgba(15, 30, 53, 0.18) 75%,
    transparent 100%
  );
  clip-path: polygon(0 0, 72% 0, 58% 100%, 0 100%);
}

/* ── Subtle full-bleed dim for overall readability ─────── */
.dp-hub-hero-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

/* ── Hero content — sits above overlays ────────────────── */
.dp-hub-hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 56px;
  max-width: 560px;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.dp-hub-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.dp-hub-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.dp-hub-breadcrumb a:hover {
  color: #fff;
}

.dp-hub-breadcrumb span {
  color: rgba(255, 255, 255, 0.45);
}

/* ── H1 ──────────────────────────────────────────────────── */
.dp-hub-hero-h1 {
  margin: 0 0 0 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

/* ── Orange accent line under H1 ────────────────────────── */
.dp-hub-accent-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #C2551A, #e47b3d);
  border-radius: 4px;
  margin: 16px 0 18px 0;
  box-shadow: 0 2px 8px rgba(194, 85, 26, 0.45);
}

/* ── Sub-tagline ─────────────────────────────────────────── */
.dp-hub-hero-sub {
  margin: 0 0 28px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 48ch;
}

/* ── Hero buttons ────────────────────────────────────────── */
.dp-hub-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dp-hub-btn-primary {
  display: inline-block;
  background: #C2551A;
  color: #fff;
  padding: 0.78rem 1.5rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.97rem;
  text-decoration: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.dp-hub-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.dp-hub-btn-outline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  border: 2px solid rgba(255, 255, 255, 0.40);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.97rem;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dp-hub-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.18);
}

/* ── Frosted city badge — bottom-right over photo ─────── */
.dp-hub-city-badge {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 3;
  background: rgba(15, 30, 53, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dp-hub-badge-city {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1;
}

.dp-hub-badge-sub {
  font-size: 0.68rem;
  color: #C2551A;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════════════════ */
.dp-hub-stats {
  background: #0F1E35;
  border-top: 3px solid #C2551A;
  padding: 20px 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
}

.dp-hub-stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dp-hub-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
}

.dp-hub-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #C2551A;
  line-height: 1;
  letter-spacing: -0.5px;
}

.dp-hub-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.70);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   BODY / CONTENT
══════════════════════════════════════════════════════════ */
.dp-hub-body {
  padding-top: 56px;
  padding-bottom: 24px;
}

.dp-hub-content {
  max-width: 860px;
  margin: 0 auto;
}

/* ── H2 — left-aligned with orange left-border ─────────── */
.page-template-template-city-hub .dp-hub-content h2,
.page-template-template-city-hub .entry-content h2 {
  text-align: left;
  border: 0;
  border-left: 4px solid #C2551A;
  padding: 4px 0 4px 16px;
  margin: 48px 0 20px 0;
  color: var(--dp-navy, #0F1E35);
}

.page-template-template-city-hub .dp-hub-content h2::after,
.page-template-template-city-hub .entry-content h2::after {
  display: none !important;
}

/* ── H3 ─────────────────────────────────────────────────── */
.page-template-template-city-hub .dp-hub-content h3,
.page-template-template-city-hub .entry-content h3 {
  color: var(--dp-navy, #0F1E35);
  padding-left: 10px;
  border-left: 3px solid rgba(194, 85, 26, 0.35);
}

/* ── Bullet markers ─────────────────────────────────────── */
.page-template-template-city-hub .dp-hub-content ul li::marker,
.page-template-template-city-hub .entry-content ul li::marker {
  color: #C2551A;
}

/* ── Hero-box intro block ───────────────────────────────── */
.page-template-template-city-hub .dp-hero-box {
  display: block;
  background: #f7f8fa;
  border-left: 4px solid #C2551A;
  border-radius: 0 6px 6px 0;
  padding: 2rem 2.25rem;
  margin: 0 0 2.5rem 0;
}

.page-template-template-city-hub .dp-hero-box p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1a1a2e;
  margin: 0 0 1rem 0;
}

.page-template-template-city-hub .dp-hero-box p:last-of-type {
  margin-bottom: 0;
}

.page-template-template-city-hub .dp-hero-box strong {
  color: #0F1E35;
}

.page-template-template-city-hub .dp-hero-box .dp-cta-row {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e4e8;
}

/* ── FAQ box H2 override ────────────────────────────────── */
.page-template-template-city-hub .dp-faq-box h2 {
  text-align: left !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

/* ── CTA box heading overrides ──────────────────────────── */
.page-template-template-city-hub .dp-cta-box h2,
.page-template-template-city-hub .dp-cta-box h3,
.page-template-template-city-hub .dp-cta-box .dp-cta-title {
  color: #ffffff !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

/* ── Text alignment ─────────────────────────────────────── */
.page-template-template-city-hub .entry-content {
  text-align: left;
}

/* ── Results band spacing ───────────────────────────────── */
.page-template-template-city-hub .dp-results-band {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {

  .dp-hub-hero {
    min-height: 420px;
    align-items: flex-end;
    padding-bottom: 80px; /* room for badge */
  }

  /* On mobile, extend the overlay to cover more of the photo */
  .dp-hub-hero-overlay {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(
      180deg,
      rgba(15, 30, 53, 0.92) 0%,
      rgba(15, 30, 53, 0.88) 60%,
      rgba(15, 30, 53, 0.70) 100%
    );
  }

  .dp-hub-hero-content {
    padding: 48px 24px 32px 24px;
    max-width: 100%;
  }

  .dp-hub-hero-h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Move badge to bottom-left on mobile so it doesn't overlap content */
  .dp-hub-city-badge {
    right: auto;
    left: 24px;
    bottom: 20px;
    padding: 10px 16px;
  }

  .dp-hub-badge-city {
    font-size: 1.1rem;
  }

  .dp-hub-hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dp-hub-btn-primary,
  .dp-hub-btn-outline {
    width: 100%;
    max-width: min(320px, calc(100vw - 48px));
    text-align: center;
    box-sizing: border-box;
  }

  .dp-hub-stats-inner {
    justify-content: center;
    gap: 8px;
  }

  .dp-hub-stat {
    flex: 0 0 calc(50% - 16px);
    padding: 10px 8px;
  }

  .dp-hub-stat-num {
    font-size: 1.5rem;
  }

  .dp-hub-body {
    padding-top: 36px;
  }

  .dp-hub-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .dp-hub-hero {
    min-height: 380px;
  }

  .dp-hub-hero-content {
    padding: 40px 20px 28px 20px;
  }
}

.dp-hub-hero-wrap {
  padding: 24px max(24px, calc((100% - 1120px) / 2));
}

@media (max-width: 860px) {
  .page-template-template-city-hub .dp-locations-wrap,
  .page-template-template-city-hub .dp-citypractice-wrap {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
}

.dp-hub-hero-wrap {
  padding: 24px max(24px, calc((100% - 1120px) / 2));
  padding-bottom: 0;
}

.dp-hub-stats {
  margin-top: 6px;
}

@media (max-width: 860px) {

  /* Center the section title */
  .page-template-template-city-hub .dp-citypractice-title,
  .page-template-template-city-hub .dp-locations-title {
    text-align: left;
  }

  /* Push the shortcode block bottom up so orange corners don't clip */
  .page-template-template-city-hub .dp-citypractice-wrap,
  .page-template-template-city-hub .dp-locations-wrap {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }

}

@media (max-width: 860px) {
  .page-template-template-city-hub .dp-citypractice-wrap::after,
  .page-template-template-city-hub .dp-locations-wrap::after {
    bottom: 2rem;
  }
}

/* ── About page bio layout ───────────────────────────── */
.dp-about-wrap {
display: flex;
gap: 60px;
align-items: center;
margin-bottom: 48px;
}

.dp-about-photo {
  flex: 0 0 400px;
  width: 400px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.dp-about-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  display: block !important;
}

.dp-about-bio {
flex: 1;
}
.dp-about-bio h3 {
margin-top: 0;
color: var(--dp-navy, #0F1E35);
font-size: 1.25rem;
}
/* ── Map block ───────────────────────────────────────── */
.dp-map-block {
margin: 32px 0 40px 0;
}

/* Mobile */
@media (max-width: 680px) {
.dp-about-wrap {
flex-direction: column;
}
  .dp-about-photo {
    flex: none;
    width: 100%;
    max-width: 380px;  /* was 320px */
    height: 400px;     /* match the new height */
  }
}

.dp-map-lazy {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border: 1px solid #e2e4e8;
  margin-bottom: 0;
}

.dp-map-thumb {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.92);
}

.dp-map-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 30, 53, 0.88);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.dp-map-trigger:hover {
  background: rgba(194, 85, 26, 0.92);
  border-color: rgba(255,255,255,0.5);
}

/* ── dp_cities on About page (page-id-11) — scoped, zero bleed risk ── */
.page-id-11 .dp-locations-wrap {
  margin: 32px 0;
  padding: 26px 18px 48px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1B2E4D 0%, #152744 45%, #0F1E35 100%);
  border: 1px solid rgba(194,85,26,.18);
  box-shadow: 0 28px 60px rgba(15,30,53,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-id-11 .dp-locations-wrap::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  border-top: 5px solid #C2551A;
  border-left: 5px solid #C2551A;
  border-top-left-radius: 10px;
  pointer-events: none;
}

.page-id-11 .dp-locations-wrap::after {
  content: "";
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-bottom: 5px solid #C2551A;
  border-right: 5px solid #C2551A;
  border-bottom-right-radius: 10px;
  pointer-events: none;
}

.page-id-11 .dp-locations-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff !important;
  margin: 0 auto 36px auto;
  position: relative;
  left: auto;
  transform: none;
}

.page-id-11 .dp-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 22px;
  width: 100%;
}

.page-id-11 .dp-location-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15,30,53,.12);
  box-shadow: 0 10px 26px rgba(15,30,53,.08);
  color: #0F1E35;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.page-id-11 .dp-location-tile::after {
  content: "→";
  color: #C2551A;
  font-weight: 900;
  opacity: .95;
}

.page-id-11 .dp-location-tile:hover {
  transform: translateY(-3px);
  border-color: #C2551A;
  box-shadow: 0 18px 40px rgba(15,30,53,.14);
}

@media (max-width: 860px) {
  .page-id-11 .dp-locations-wrap {
    padding: 26px 18px 20px;
  }
  .page-id-11 .dp-locations-title {
    font-size: 1.55rem;
  }
  .page-id-11 .dp-locations-grid {
    grid-template-columns: 1fr;
  }
}

.dp-map-address {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1F2937;
}

.dp-map-address strong {
  display: block;
  color: #0F1E35;
  font-weight: 800;
  margin-bottom: 2px;
}

.dp-map-address a {
  color: #C2551A;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 680px) {
  .dp-map-lazy {
    height: 300px;
  }
  .dp-map-thumb {
    height: 300px;
    transform: scale(2);
    transform-origin: 48% 52%;
    object-position: center center;
  }
}

/* ── FOOTER FORM ────────────────────────────────────────────── */
.dp-footer-form-wrap {
  background: #162840;
  max-width: 860px;
  margin: 0 auto;
  border: 2px solid #D4641A;
  border-top: 3px solid #D4641A;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  padding: 56px 40px 100px;
  position: relative;
  z-index: 2;
}

.dp-footer-form-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.dp-footer-form-title {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dp-footer-form-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--dp-orange);
  margin: 12px auto 0;
  border-radius: 2px;
}

.dp-footer-form-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin: 20px 0 32px 0;
}

.dp-footer-form {
  width: 100%;
}

.dp-footer-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}

.dp-footer-form-field        { grid-column: span 1; }
.dp-footer-form-field--wide  { grid-column: span 2; }
.dp-footer-form-field--consent { grid-column: span 2; }
.dp-footer-form-field--submit {
  grid-column: span 2;
  text-align: center;
}

.dp-footer-form input[type="text"],
.dp-footer-form input[type="tel"],
.dp-footer-form input[type="email"],
.dp-footer-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.975rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.dp-footer-form input::placeholder,
.dp-footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.dp-footer-form input:focus,
.dp-footer-form textarea:focus 
.dp-footer-form input[type="email"]:focus {
  outline: none;
  border-color: var(--dp-gold, #C9A84C);
  background: rgba(255, 255, 255, 0.08);
}

.dp-footer-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* Consent */
.dp-footer-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

.dp-footer-form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--dp-gold, #C9A84C);
}

/* Submit button — orange */
.dp-footer-form-btn {
  display: inline-block;
  background: #D4641A;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

.dp-footer-form-btn:hover {
  background: #bf5916;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 100, 26, 0.4);
}

.dp-footer-form-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Messages */
.dp-footer-form-msg {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.dp-footer-form-msg--success {
  background: rgba(74, 179, 100, 0.15);
  border: 1px solid rgba(74, 179, 100, 0.4);
  color: #7de89a;
}

.dp-footer-form-msg--error {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: #f59090;
}

.dp-footer-form-msg--error a {
  color: #f59090;
  text-decoration: underline;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.dp-footer {
  background: var(--dp-navy, #0F1E35);
  position: relative;
  z-index: 1;
  padding-top: 0;
  margin-top: 0;
}

.dp-footer-card {
  background: #1a2e4a;
  border-radius: 16px;
  padding: 40px 48px;
  margin: -180px auto 0;
  max-width: 80%;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

/* ── MOBILE ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .dp-footer-form-wrap {
    padding: 40px 20px 80px;
    border-radius: 16px;
    max-width: 100%;
  }

  .dp-footer-form-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dp-footer-form-field,
  .dp-footer-form-field--wide,
  .dp-footer-form-field--consent,
  .dp-footer-form-field--submit {
    grid-column: span 1;
  }

  .dp-footer-form-btn {
    width: 100%;
    padding: 16px;
  }

  .dp-footer-card {
    max-width: 92%;
    padding: 32px 24px;
    box-sizing: border-box;
	}
}

.dp-footer-form input:-webkit-autofill,
.dp-footer-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #162840 inset !important;
  -webkit-text-fill-color: #ffffff !important;
}

html {
  scroll-behavior: smooth;
}

/* ===== PRACTICE AREAS PAGE ===== */

/* Hero */
.dp-prac-hero {
  background: linear-gradient(108deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  padding: 72px 0 64px;
  margin-bottom: 56px;
  border-bottom: 3px solid var(--dp-orange);
}

.dp-prac-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dp-orange);
  margin: 0 0 14px 0;
}

.dp-prac-h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 0 0;
  line-height: 1.05;
}

.dp-prac-accent {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--dp-orange), #e47b3d);
  border-radius: 4px;
  margin: 16px 0 20px 0;
}

.dp-prac-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 66ch;
  margin: 0;
}

/* Section */
.dp-prac-section {
  padding-bottom: 60px;
  width: 100%;
}

/* Grid — 3 columns desktop, 2 tablet, 1 mobile */
.dp-prac-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
  width: 100%;
}

@media (max-width: 860px) {
  .dp-prac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 540px) {
  .dp-prac-grid { grid-template-columns: 1fr; }
}

/* Card */
.dp-prac-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--dp-navy);
  background: #ffffff;
  box-shadow: var(--dp-shadow);
  transition:
    transform 0.4s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.4s cubic-bezier(.2,.8,.2,1),
    border-color 0.2s ease;
}

.dp-prac-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15,30,53,.18);
  border-color: var(--dp-orange);
}

/* Card top bar */
.dp-prac-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  transition: background 0.3s ease;
}

.dp-prac-card:hover .dp-prac-card-top {
  background: linear-gradient(135deg, var(--dp-orange) 0%, #b14b17 55%, #9e4013 100%);
}

/* Icon */
.dp-prac-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--dp-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.dp-prac-card:hover .dp-prac-icon {
  background: rgba(255,255,255,0.22);
}

.dp-prac-icon svg {
  width: 17px;
  height: 17px;
}

/* Card title */
.dp-prac-card-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
  border: 0 !important;
  padding: 0 !important;
}

.dp-prac-card-title::after { display: none !important; }

/* Photo */
.dp-prac-card-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.dp-prac-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.dp-prac-card:hover .dp-prac-card-img {
  transform: scale(1.04);
}

/* Card body */
.dp-prac-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dp-prac-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 14px 0;
  flex: 1;
}

.dp-prac-card-cta {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dp-orange);
  display: inline-block;
  transition: transform 0.18s ease;
}

.dp-prac-card:hover .dp-prac-card-cta {
  transform: translateX(4px);
}

/* Hero mobile */
@media (max-width: 860px) {
  .dp-prac-hero {
    padding: 56px 0 48px;
    margin-bottom: 36px;
  }
  .dp-prac-h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }
  .dp-cta-row {
    justify-content: center !important;
    flex-direction: column;
    align-items: center;
  }
}

.page-template-template-california-practice .dp-prac-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-template-template-california-practice .dp-cal-content:has(.dp-prac-grid) {
  max-width: 100% !important;
}

.dp-prac-page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ══════════════════════════════════════════════════
   CASE RESULTS ARCHIVE PAGE
══════════════════════════════════════════════════ */

/* Hero */
.dp-cr-hero {
  background: linear-gradient(108deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  padding: 72px 0 64px;
  border-bottom: 3px solid var(--dp-orange);
  margin-bottom: 0;
}

.dp-cr-hero-inner {
  max-width: 720px;
}

.dp-cr-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dp-orange);
  margin: 0 0 14px 0;
}

.dp-cr-h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin: 0;
  line-height: 1.05;
}

.dp-cr-accent {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--dp-orange), #e47b3d);
  border-radius: 4px;
  margin: 16px 0 20px 0;
}

.dp-cr-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
  margin: 0;
}

/* Filter bar */
.dp-cr-filter-wrap {
  background: #ffffff;
  border-bottom: 1px solid rgba(15,30,53,.10);
  padding: 18px 0;
  position: sticky;
  top: 64px;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(15,30,53,.06);
}

.dp-cr-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dp-cr-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dp-cr-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(15,30,53,.55);
}

.dp-cr-select {
  padding: 8px 36px 8px 12px;
  border: 1.5px solid rgba(15,30,53,.18);
  border-radius: 10px;
  background: #f7f8fa;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dp-navy);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F1E35' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 180px;
  transition: border-color .18s ease;
}

.dp-cr-select:focus {
  outline: none;
  border-color: var(--dp-orange);
}

.dp-cr-clear {
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dp-orange);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 12px;
  border: 1.5px solid var(--dp-orange);
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

.dp-cr-clear:hover {
  background: var(--dp-orange);
  color: #fff;
}

/* Results section */
.dp-cr-section {
  padding: 48px 0 64px;
  background: #f0f2f5;
}

.dp-cr-count {
  font-size: 0.9rem;
  color: rgba(15,30,53,.65);
  margin: 0 0 24px 0;
}

/* Grid — 3 columns desktop, 2 tablet, 1 mobile */
.dp-cr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 980px) {
  .dp-cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .dp-cr-grid { grid-template-columns: 1fr; }
}

/* Card — navy dark */
.dp-cr-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,30,53,.7);
  box-shadow: 0 14px 34px rgba(15,30,53,.22);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

.dp-cr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(15,30,53,.32);
}

/* Card top — darkest navy with amount */
.dp-cr-card-top {
  background: linear-gradient(135deg, #0F1E35 0%, #132642 65%, #1a355a 100%);
  padding: 22px 22px 18px;
  position: relative;
}

.dp-cr-outcome {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dp-orange);
  margin-bottom: 8px;
}

.dp-cr-amount {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  color: #FFC6A6;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* Card body — slightly lighter navy */
.dp-cr-card-body {
  background: linear-gradient(180deg, #162840 0%, #0F1E35 100%);
  padding: 16px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Tags */
.dp-cr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dp-cr-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.dp-cr-tag--practice {
  background: rgba(194,85,26,.18);
  color: #FFC6A6;
  border: 1px solid rgba(194,85,26,.35);
}

.dp-cr-tag--city {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.14);
}

/* Description */
.dp-cr-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
}

.dp-cr-desc p {
  margin: 0;
}

/* Pagination */
.dp-cr-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.dp-cr-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: #fff;
  color: var(--dp-navy);
  border: 1.5px solid rgba(15,30,53,.15);
  transition: all .18s ease;
}

.dp-cr-pagination .page-numbers.current,
.dp-cr-pagination .page-numbers:hover {
  background: var(--dp-navy);
  color: #fff;
  border-color: var(--dp-navy);
}

.dp-cr-pagination .page-numbers.prev,
.dp-cr-pagination .page-numbers.next {
  width: auto;
  padding: 0 16px;
}

/* Disclaimer */
.dp-cr-disclaimer {
  font-size: 0.82rem;
  color: rgba(15,30,53,.5);
  text-align: center;
  margin: 8px 0 0 0;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.dp-cr-empty {
  text-align: center;
  color: rgba(15,30,53,.6);
  padding: 48px 0;
}

/* Mobile hero */
@media (max-width: 860px) {
  .dp-cr-hero {
    padding: 52px 0 44px;
  }
  .dp-cr-filter-wrap {
    top: 64px;
    position: relative;
  }
  .dp-cr-filters {
    gap: 12px;
  }
  .dp-cr-select {
    min-width: 0;
    width: 100%;
  }
  .dp-cr-filter-group {
    flex: 1 1 calc(50% - 6px);
  }
}

/* ── Featured Image — corner bracket treatment ── */
.dp-featured-img-wrap {
  position: relative;
  margin-bottom: 24px;
}

.dp-featured-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Default brackets (blog archive thumbnails) */
.dp-featured-img-wrap::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-top: 4px solid var(--dp-orange);
  border-left: 4px solid var(--dp-orange);
  pointer-events: none;
  z-index: 2;
}

.dp-featured-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-bottom: 4px solid var(--dp-orange);
  border-right: 4px solid var(--dp-orange);
  pointer-events: none;
  z-index: 2;
}

/* Larger brackets on city practice pages and individual blog posts */
.page-template-template-city-practice .dp-featured-img-wrap::before,
.single-post .dp-featured-img-wrap::before {
  top: 14px;
  left: 14px;
  width: 48px;
  height: 48px;
  border-top-width: 6px;
  border-left-width: 6px;
}

.page-template-template-city-practice .dp-featured-img-wrap::after,
.single-post .dp-featured-img-wrap::after {
  bottom: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-bottom-width: 6px;
  border-right-width: 6px;
}

/* ── Contact Page ─────────────────────────────────────────── */

/* Hero */
.dp-contact-hero {
  background: linear-gradient(108deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  padding: 72px 0 64px;
  border-bottom: 3px solid var(--dp-orange);
  margin-bottom: 0;
}

.dp-contact-hero-inner {
  max-width: 720px;
}

.dp-contact-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dp-orange);
  margin: 0 0 14px 0;
}

.dp-contact-h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0;
  line-height: 1.05;
}

.dp-contact-accent {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--dp-orange), #e47b3d);
  border-radius: 4px;
  margin: 16px 0 20px 0;
}

.dp-contact-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
  margin: 0;
}

.dp-contact-sub a {
  color: #FFC6A6;
  font-weight: 700;
  text-decoration: none;
}

.dp-contact-sub a:hover {
  text-decoration: underline;
}

/* Wrap */
.dp-contact-wrap {
  padding: 48px 0 0 0;
}

/* Info row */
.dp-contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: stretch;
}

@media (max-width: 680px) {
  .dp-contact-info-row {
    grid-template-columns: 1fr;
  }
}

/* Details block */
.dp-contact-details {
  background: var(--dp-gray);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(15,30,53,.08);
  display: flex;
  flex-direction: column;
}

.dp-contact-details h2 {
  margin: 0 0 20px 0;
  font-size: 1.25rem;
  color: var(--dp-navy);
  border: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.dp-contact-details h2::after {
  display: none !important;
}

.dp-contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,30,53,.08);
  flex: 1;
}

.dp-contact-detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dp-contact-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dp-orange);
}

.dp-contact-detail-item span,
.dp-contact-detail-item a {
  font-size: 0.97rem;
  color: var(--dp-navy);
  line-height: 1.55;
  text-decoration: none;
  font-weight: 600;
}

.dp-contact-detail-item a:hover {
  color: var(--dp-orange);
}

/* Map block — stretches to match details height */
.dp-contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--dp-shadow);
  position: relative;
  min-height: 100%;
}

.dp-contact-map a {
  display: block;
  position: relative;
  height: 100%;
  text-decoration: none;
}

.dp-contact-map-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.2s ease;
}

.dp-contact-map a:hover .dp-contact-map-img {
  filter: brightness(0.78);
}

.dp-contact-map-cta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,30,53,.88);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.2);
  transition: background 0.18s ease;
}

.dp-contact-map a:hover .dp-contact-map-cta {
  background: rgba(194,85,26,.92);
}

/* Divider transition */
.dp-contact-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 -24px 0;
  position: relative;
  z-index: 2;
}

.dp-contact-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dp-orange), transparent);
  opacity: 0.5;
}

.dp-contact-divider-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dp-orange);
  white-space: nowrap;
}

/* Hide the default WP page title on contact page */
.page-id-contact .dp-card h1,
body.page-slug-contact .entry-title {
  display: none;
}

/* Mobile hero */
@media (max-width: 860px) {
  .dp-contact-hero {
    padding: 52px 0 44px;
  }
  .dp-contact-h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }
  .dp-contact-map-img {
    min-height: 240px;
  }
}

/* ── HEADER: subtle bottom accent ────────────────────────── */
.dp-header {
  border-bottom: 2px solid rgba(194, 85, 26, 0.4);
}

/* ── NAV: more breathing room between links ──────────────── */
.dp-nav .dp-nav-list {
  gap: 0.25rem;
}

.dp-nav .dp-nav-list > li > a {
  padding: .38rem .72rem;
  font-size: .88rem;
  letter-spacing: .2px;
}

/* ── HEADER CTA: slightly more refined ───────────────────── */
.dp-header-cta {
  border-radius: 12px;
  padding: .5rem .9rem;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 4px 14px rgba(194,85,26,.35);
}

.dp-header-cta-label {
  font-size: .75rem;
  letter-spacing: .3px;
  opacity: 1;
  color: #ffffff;
}

.dp-header-cta-phone {
  font-size: 1.1rem;
}

/* ── HAMBURGER: animated X on open ───────────────────────── */
.dp-nav-toggle {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.10);
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s ease;
}

.dp-nav-toggle:hover {
  background: rgba(255,255,255,.18);
}

.dp-nav-toggle-lines {
  position: relative;
  width: 22px;
  height: 16px;
  display: block;
}

/* Three lines */
.dp-nav-toggle-lines::before,
.dp-nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}

/* Middle line via box-shadow */
.dp-nav-toggle-lines {
  box-shadow: none;
}

/* Add middle line */
.dp-nav-toggle-lines::before {
  top: 0;
  box-shadow: 0 7px 0 #fff;
}

.dp-nav-toggle-lines::after {
  bottom: 0;
}

/* Animate to X when checked */
#dpNavToggle:checked ~ .dp-header-right .dp-nav-toggle-lines::before,
#dpNavToggle:checked + .dp-header .dp-nav-toggle-lines::before {
  transform: rotate(45deg);
  top: 7px;
  box-shadow: none;
}

#dpNavToggle:checked ~ .dp-header-right .dp-nav-toggle-lines::after,
#dpNavToggle:checked + .dp-header .dp-nav-toggle-lines::after {
  transform: rotate(-45deg);
  bottom: 7px;
}

/* Mobile nav list — better spacing and hierarchy */
@media (max-width: 860px) {

  .dp-nav-toggle { display: inline-flex !important; }

  /* Animate hamburger to X */
  .dp-nav-toggle-lines.is-open::before {
    transform: rotate(45deg) !important;
    top: 7px !important;
    box-shadow: none !important;
  }

  .dp-nav-toggle-lines.is-open::after {
    transform: rotate(-45deg) !important;
    bottom: 7px !important;
  }

  /* Hide middle line when open */
  .dp-nav-toggle-lines.is-open {
    box-shadow: none !important;
  }

  /* Mobile nav items */
  .dp-mobile-nav-list {
    padding: .5rem 0 1rem;
  }

  .dp-mobile-nav-list > li > a {
    padding: .75rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: block;
  }

  .dp-mobile-nav-list > li:first-child > a {
    border-top: 1px solid rgba(255,255,255,.06);
  }

  /* Sub-menu items */
  .dp-mobile-nav-list .sub-menu {
    background: rgba(0,0,0,.18);
    border-radius: 0;
    margin: 0;
    padding: .25rem 0;
  }

  .dp-mobile-nav-list .sub-menu a {
    padding: .55rem 1.5rem .55rem 2rem;
    font-size: .9rem;
    font-weight: 600;
    opacity: .85;
    border-bottom: 1px solid rgba(255,255,255,.04);
    position: relative;
  }

  .dp-mobile-nav-list .sub-menu a::before {
    content: "–";
    position: absolute;
    left: 1.25rem;
    color: var(--dp-orange);
    font-weight: 900;
  }

  /* Active/hover states */
  .dp-mobile-nav-list a:hover {
    opacity: 1;
    color: #FFC6A6;
  }
}

/* ══════════════════════════════════════════════════
   BLOG PAGE — REBUILT
══════════════════════════════════════════════════ */

/* Hero */
.dp-blog-hero {
  background: linear-gradient(108deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  padding: 72px 0 64px;
  border-bottom: 3px solid var(--dp-orange);
}

.dp-blog-hero-inner {
  max-width: 720px;
}

.dp-blog-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dp-orange);
  margin: 0 0 14px 0;
}

.dp-blog-h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0;
  line-height: 1.05;
}

.dp-blog-accent {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--dp-orange), #e47b3d);
  border-radius: 4px;
  margin: 16px 0 20px 0;
}

.dp-blog-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
  margin: 0;
}

/* Filter pills */
.dp-blog-filter-wrap {
  background: #ffffff;
  border-bottom: 1px solid rgba(15,30,53,.08);
  padding: 14px 0;
  position: sticky;
  top: 64px;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(15,30,53,.05);
}

.dp-blog-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.dp-blog-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(15,30,53,.18);
  color: var(--dp-navy);
  background: #f7f8fa;
  transition: all .18s ease;
  white-space: nowrap;
}

.dp-blog-pill:hover {
  border-color: var(--dp-orange);
  color: var(--dp-orange);
}

.dp-blog-pill--active {
  background: var(--dp-navy);
  border-color: var(--dp-navy);
  color: #ffffff;
}

.dp-blog-pill--active:hover {
  color: #ffffff;
  border-color: var(--dp-navy);
}

/* Main section */
.dp-blog-main {
  padding: 48px 0 64px;
  background: #f0f2f5;
}

/* Grid — 3 columns desktop, 2 tablet, 1 mobile */
.dp-blog-grid-new {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 980px) {
  .dp-blog-grid-new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .dp-blog-grid-new { grid-template-columns: 1fr; }
}

/* Card */
.dp-blog-card-new {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--dp-shadow);
  border: 1px solid rgba(15,30,53,.08);
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

.dp-blog-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(15,30,53,.14);
}

/* Image */
.dp-blog-card-img-link {
  display: block;
}

.dp-blog-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.dp-blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.dp-blog-card-new:hover .dp-blog-card-img {
  transform: scale(1.04);
}

/* Body */
.dp-blog-card-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

/* Category tag */
.dp-blog-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--dp-orange);
}

/* Title */
.dp-blog-card-title {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  color: var(--dp-navy);
  border: 0 !important;
  padding: 0 !important;
}

.dp-blog-card-title::after { display: none !important; }

.dp-blog-card-title a {
  color: var(--dp-navy);
  text-decoration: none;
  transition: color .18s ease;
}

.dp-blog-card-title a:hover {
  color: var(--dp-orange);
}

/* Excerpt */
.dp-blog-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
  flex: 1;
}

/* Footer */
.dp-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,30,53,.08);
}

.dp-blog-card-date {
  font-size: 0.78rem;
  color: rgba(15,30,53,.65);
  font-weight: 600;
}

.dp-blog-card-read {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dp-orange);
  text-decoration: none;
  transition: transform .18s ease;
  display: inline-block;
}

.dp-blog-card-new:hover .dp-blog-card-read {
  transform: translateX(3px);
}

/* Pagination */
.dp-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.dp-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: #fff;
  color: var(--dp-navy);
  border: 1.5px solid rgba(15,30,53,.15);
  transition: all .18s ease;
}

.dp-blog-pagination .page-numbers.current,
.dp-blog-pagination .page-numbers:hover {
  background: var(--dp-navy);
  color: #fff;
  border-color: var(--dp-navy);
}

.dp-blog-empty {
  text-align: center;
  color: rgba(15,30,53,.55);
  padding: 48px 0;
  font-size: 1rem;
}

/* Mobile hero */
@media (max-width: 860px) {
  .dp-blog-hero {
    padding: 52px 0 44px;
  }
  .dp-blog-filter-wrap {
    position: relative;
    top: 0;
  }
  .dp-blog-filter-pills {
    gap: 6px;
  }
  .dp-blog-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
  }
}

.dp-about-hero {
  background: linear-gradient(108deg, #0F1E35 0%, #162843 55%, #1a355a 100%);
  padding: 72px 0 64px;
  border-bottom: 3px solid var(--dp-orange);
  width: 100%;
}
.dp-about-hero-inner { max-width: 720px; }
.dp-about-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dp-orange); margin: 0 0 14px 0; }
.dp-about-h1 { color: #ffffff; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; margin: 0; line-height: 1.05; }
.dp-about-accent { width: 56px; height: 4px; background: linear-gradient(90deg, var(--dp-orange), #e47b3d); border-radius: 4px; margin: 16px 0 20px 0; }
.dp-about-sub { color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.65; max-width: 68ch; margin: 0; }

.page-id-11 .dp-card {
  padding: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.page-id-11 .dp-about-hero {
  border-radius: 0;
}

.page-id-11 .dp-content {
  padding: 40px 20px;
}

/* ── Blog sidebar form wrapper ───────────────────────────── */
.dp-sb-form-wrap {
  background: var(--dp-navy);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 4px;
}

.dp-sb-form-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 4px 0;
}

.dp-sb-form-sub {
  color: rgba(255,255,255,.65);
  font-size: 0.82rem;
  margin: 0 0 16px 0;
}

/* Override sidebar form styles inside the dark wrapper */
.dp-sb-form-wrap .dp-sidebar-form {
  background: transparent;
  border: 0;
  padding: 0;
}

.dp-sb-form-wrap .dp-sidebar-form span {
  color: rgba(255,255,255,.75);
}

.dp-sb-form-wrap .dp-sidebar-form input,
.dp-sb-form-wrap .dp-sidebar-form textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #ffffff;
  border-radius: 8px;
}

.dp-sb-form-wrap .dp-sidebar-form input::placeholder,
.dp-sb-form-wrap .dp-sidebar-form textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.dp-sb-form-wrap .dp-sidebar-form input:focus,
.dp-sb-form-wrap .dp-sidebar-form textarea:focus {
  border-color: var(--dp-orange);
  background: rgba(255,255,255,.12);
  outline: none;
}

.dp-sb-form-wrap .dp-sidebar-form .dp-btn {
  background: var(--dp-orange);
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.dp-sb-form-wrap .dp-sidebar-form .dp-btn:hover {
  filter: brightness(1.08);
}

.dp-sb-form-wrap .dp-form-note {
  color: rgba(255,255,255,.55);
  font-size: 0.78rem;
  margin-top: 8px;
}

.dp-sb-form-wrap .dp-form-note a {
  color: #FFC6A6;
}

.dp-sb-form-wrap .dp-consent {
  color: rgba(255,255,255,.6);
  font-size: 0.75rem;
}

.dp-sb-form-wrap .dp-consent span em {
  color: rgba(255,255,255,.45);
}

/* ── Consent text visible inside dark form wrapper ───────── */
.dp-sb-consent span,
.dp-sb-consent span em {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.75rem;
  line-height: 1.4;
}

.dp-sb-consent a {
  color: #FFC6A6 !important;
}

/* ── Fresno resource links — clean lightweight list ──────── */
.dp-sb-resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.dp-sb-resource-list li {
  margin: 0;
  padding: 0;
}

.dp-sb-resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dp-navy);
  text-decoration: none;
  background: var(--dp-gray);
  border: 1px solid rgba(15,30,53,.08);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.dp-sb-resource-list a::after {
  content: "→";
  color: var(--dp-orange);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dp-sb-resource-list a:hover {
  background: #ffffff;
  color: var(--dp-orange);
  border-color: var(--dp-orange);
}

/* ── Consent text fix — high specificity override ────────── */
.dp-sb-form-wrap .dp-consent span,
.dp-sb-form-wrap .dp-consent span em,
.dp-sb-form-wrap label.dp-consent span {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.74rem !important;
  line-height: 1.4;
  display: inline !important;
  max-width: none !important;
  opacity: 1 !important;
}

.dp-sb-form-wrap .dp-consent a {
  color: #FFC6A6 !important;
}

.dp-sb-form-wrap label.dp-consent {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.15) !important;
}

.dp-sb-form-wrap label.dp-consent span,
.dp-sb-form-wrap label.dp-consent span em {
  color: rgba(255,255,255,.72) !important;
  opacity: 1 !important;
  max-width: none !important;
}

.dp-sb-form-wrap label.dp-consent a {
  color: #FFC6A6 !important;
}

@media (max-width: 860px) {
  .dp-layout-sidebar .dp-sidebar-stickyblock {
    display: none;
  }
}

/* ── Legal / Privacy pages ───────────────────────────────── */
.page-slug-legal .dp-card > h1,
.page-slug-privacy-policy .dp-card > h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dp-navy);
  border-bottom: 3px solid var(--dp-orange);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.dp-legal-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  background: var(--dp-gray);
  border-left: 4px solid var(--dp-orange);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 32px;
}

.page-slug-legal .dp-card .dp-content h2,
.page-slug-privacy-policy .dp-card .dp-content h2 {
  font-size: 1.15rem;
  color: var(--dp-navy);
  margin: 32px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(15,30,53,.1);
  text-align: left !important;
  border-left: 0 !important;
  padding-left: 0 !important;
}

.page-slug-legal .dp-card .dp-content h2::after,
.page-slug-privacy-policy .dp-card .dp-content h2::after {
  display: none !important;
}

.page-slug-legal .dp-card .dp-content p,
.page-slug-legal .dp-card .dp-content li,
.page-slug-privacy-policy .dp-card .dp-content p,
.page-slug-privacy-policy .dp-card .dp-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #374151;
}

.page-slug-legal .dp-card .dp-content ul,
.page-slug-privacy-policy .dp-card .dp-content ul {
  padding-left: 1.4rem;
  margin: 10px 0 16px;
}

.page-slug-legal .dp-card .dp-content ul li,
.page-slug-privacy-policy .dp-card .dp-content ul li {
  margin-bottom: 6px;
}

.dp-legal-updated {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,30,53,.1);
  font-size: 0.85rem;
  color: rgba(15,30,53,.5);
}

/* ── Skip navigation (accessibility) ────────────────────── */
.dp-skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--dp-navy);
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  z-index: 9999999;
  border-radius: 0 0 10px 0;
  transition: top 0.2s ease;
}

.dp-skip-nav:focus {
  top: 0;
}

/* ── Skip navigation (accessibility) ────────────────────── */
.dp-skip-nav {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  background: var(--dp-navy);
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  z-index: 9999999;
  border-radius: 0 0 10px 0;
  transition: transform 0.2s ease;
}

.dp-skip-nav:focus {
  transform: translateY(0);
}