/* ==========================================================================
   DLP 2026 brand layer for Salient. Mobile-first.
   ========================================================================== */
:root{
  --dlp-red:#ED1C24; --dlp-deep-red:#C7010A; --dlp-maroon:#7A050B;
  --dlp-yellow:#FFD400; --dlp-white:#FFFFFF; --dlp-black:#1A1617;
  --dlp-head:'Anton',Impact,'Arial Narrow Bold',sans-serif;
  --dlp-body:'Montserrat',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --dlp-track:-0.025em;           /* Illustrator tracking -25 */
  --dlp-radius:6px;
  --dlp-gap:clamp(16px,4vw,32px);
}

/* ---------- Typography (overrides Salient Theme Options if they differ) ---------- */
body, body p, body li, input, select, textarea, button{font-family:var(--dlp-body);}
body{color:var(--dlp-black);font-weight:500;}
h1,h2,h3,h4,.dlp-head,
body h1,body h2,body h3,body h4{
  font-family:var(--dlp-head)!important;font-weight:400!important;
  letter-spacing:var(--dlp-track)!important;text-transform:uppercase;line-height:1.02;
}
body h1{font-size:clamp(40px,9vw,88px);}
body h2{font-size:clamp(32px,6.5vw,64px);}
body h3{font-size:clamp(22px,4vw,32px);}
strong,b,label,.dlp-label{font-weight:800;}
a{color:var(--dlp-deep-red);}
::selection{background:var(--dlp-yellow);color:var(--dlp-black);}

/* ---------- Header / nav (Salient #header-outer) ---------- */
#header-outer{background:var(--dlp-white)!important;box-shadow:0 2px 0 var(--dlp-red);}
#header-outer #top nav>ul>li>a,
#header-outer .sf-menu>li>a{
  font-family:var(--dlp-body)!important;font-weight:800!important;font-size:13px!important;
  letter-spacing:.02em;text-transform:uppercase;color:var(--dlp-black)!important;
}
#header-outer #top nav>ul>li>a:hover,
#header-outer #top nav>ul>li.current-menu-item>a{color:var(--dlp-red)!important;}
/* "Get Involved" button – add CSS class dlp-highlight to the menu item (Appearance > Menus > Screen Options > CSS Classes) */
#header-outer #top nav>ul>li.dlp-highlight>a,
#header-outer .sf-menu>li.dlp-highlight>a{
  background:var(--dlp-red);color:var(--dlp-white)!important;border-radius:999px;
  padding-left:18px!important;padding-right:18px!important;line-height:1!important;
  height:auto!important;margin-top:auto;margin-bottom:auto;
}
#header-outer #top nav>ul>li.dlp-highlight>a:hover{background:var(--dlp-deep-red);}
#header-outer #top nav>ul>li.dlp-highlight>a .menu-title-text{color:inherit!important;}
#header-outer #top nav>ul>li.dlp-highlight{display:flex;align-items:center;}
/* Mobile hamburger + off-canvas menu */
#header-outer .slide-out-widget-area-toggle a .lines,
#header-outer .slide-out-widget-area-toggle a .lines:before,
#header-outer .slide-out-widget-area-toggle a .lines:after,
#header-outer .slide-out-widget-area-toggle .lines-button:after{background-color:var(--dlp-black)!important;}
#slide-out-widget-area,#slide-out-widget-area-bg.fullscreen-alt,#slide-out-widget-area-bg{background-color:var(--dlp-red)!important;}
#slide-out-widget-area .off-canvas-menu-container li a,
#slide-out-widget-area .menu li a{
  font-family:var(--dlp-head)!important;font-weight:400!important;text-transform:uppercase;
  letter-spacing:var(--dlp-track);color:var(--dlp-white)!important;font-size:30px!important;line-height:1.25!important;
}
#slide-out-widget-area .menu li.dlp-highlight>a{color:var(--dlp-yellow)!important;}
@media (max-width:999px){
  #header-outer #logo img{max-height:44px!important;width:auto;}
}

/* ---------- Buttons & forms ---------- */
.dlp-btn,.dlp-form button,.dlp-form input[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;gap:.4em;
  background:var(--dlp-red);color:var(--dlp-white)!important;border:0;border-radius:var(--dlp-radius);
  font-family:var(--dlp-body);font-weight:900;text-transform:uppercase;letter-spacing:.04em;
  font-size:16px;min-height:52px;padding:0 26px;cursor:pointer;text-decoration:none;transition:background .15s;
}
.dlp-btn:hover,.dlp-form button:hover{background:var(--dlp-deep-red);}
.dlp-btn--yellow{background:var(--dlp-yellow);color:var(--dlp-black)!important;}
.dlp-form{display:grid;gap:14px;max-width:560px;}
.dlp-form label{display:block;font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.03em;margin-bottom:6px;}
.dlp-form .req{color:var(--dlp-red);}
.dlp-form input[type=text],.dlp-form input[type=tel],.dlp-form input[type=search],.dlp-form select{
  width:100%;min-height:52px;padding:12px 14px;font-size:17px;font-family:var(--dlp-body);font-weight:600;
  border:2px solid var(--dlp-black);border-radius:var(--dlp-radius);background:#fff;color:var(--dlp-black);box-sizing:border-box;
}
.dlp-form input:focus,.dlp-form select:focus{outline:3px solid var(--dlp-yellow);outline-offset:1px;border-color:var(--dlp-black);}
.dlp-form .dlp-row{display:grid;gap:14px;}
@media (min-width:640px){.dlp-form .dlp-row{grid-template-columns:1fr 1fr;}}
.dlp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}
.dlp-msg{padding:14px 16px;border-radius:var(--dlp-radius);font-weight:600;}
.dlp-msg--error{background:#fff1f1;border-left:5px solid var(--dlp-red);}
.dlp-msg--ok{background:#fffbe0;border-left:5px solid var(--dlp-yellow);}
.dlp-note{font-style:italic;opacity:.75;}

/* ---------- Homepage hero ---------- */
.dlp-hero{
  position:relative;color:var(--dlp-white);
  background:var(--dlp-maroon) var(--dlp-hero-img) no-repeat;background-size:cover;background-position:var(--dlp-hero-pos,center 25%);
  min-height:calc(100svh - 70px);display:flex;align-items:flex-end;isolation:isolate;
}
.dlp-hero:before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(122,5,11,.05) 0%,rgba(122,5,11,.25) 40%,rgba(122,5,11,.92) 78%,var(--dlp-maroon) 100%);}
.dlp-hero--no-image{background:radial-gradient(circle at 50% 20%,var(--dlp-red),var(--dlp-maroon) 70%);}
.dlp-hero__inner{width:100%;max-width:1200px;margin:0 auto;padding:40px 20px 36px;display:grid;gap:22px;}
.dlp-hero__lettering{display:flex;gap:6px;align-items:center;justify-content:center;}
.dlp-hero__lettering img{width:48%;max-width:300px;height:auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35));}
.dlp-hero__heading{color:var(--dlp-white)!important;margin:0 0 10px!important;text-align:center;font-size:clamp(36px,10vw,72px)!important;}
.dlp-hero .dlp-form--inline{margin:0 auto;}
.dlp-form--inline{grid-template-columns:1fr auto;gap:8px;max-width:520px;}
.dlp-form--inline label{position:absolute;left:-9999px;}
.dlp-form--inline input[type=tel]{border-color:var(--dlp-white);}
.dlp-form--inline button{background:var(--dlp-yellow);color:var(--dlp-black)!important;}
.dlp-form--inline button:hover{background:var(--dlp-white);}
.dlp-form--inline .dlp-form__small{grid-column:1/-1;font-size:12px;opacity:.85;margin:0;}
@media (min-width:1000px){
  .dlp-hero{min-height:min(820px,calc(100vh - 90px));align-items:center;background-position:var(--dlp-hero-pos-desktop,var(--dlp-hero-pos,center 25%));}
  .dlp-hero:before{background:linear-gradient(90deg,rgba(122,5,11,.95) 0%,rgba(122,5,11,.7) 30%,rgba(122,5,11,0) 48%);}
  .dlp-hero__inner{grid-template-columns:minmax(0,520px);padding:60px 40px;}
  .dlp-hero__lettering{flex-direction:row;justify-content:flex-start;gap:6px;}
  .dlp-hero__lettering img,
  .dlp-hero__lockup{width:48%;max-width:300px;}
  .dlp-hero__heading{text-align:left;}
  .dlp-hero .dlp-form--inline{margin:0;}
}

/* Mobile / tablet: stack Labour Ready! over Skerrit Steady!, keep both fully
   in the viewport, pin them at the top so Skerrit's face is visible below,
   then the Join the Team form at the bottom. No slider. Desktop (>=1000px) unchanged. */
@media (max-width:999px){
  .dlp-hero{
    align-items:stretch;
    background-position:var(--dlp-hero-pos-mobile,52% 32%);
  }
  .dlp-hero__inner{
    display:flex;flex-direction:column;justify-content:space-between;
    min-height:calc(100svh - 70px);width:100%;
    padding:12px 20px 24px;gap:12px;box-sizing:border-box;
  }
  .dlp-hero__lettering{
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    gap:2px;width:100%;margin:0 auto;flex:0 0 auto;
  }
  .dlp-hero__lettering img,
  .dlp-hero__lockup{
    width:auto;max-width:min(64vw,200px);height:auto;
    display:block;margin:0 auto;
  }
  .dlp-hero__join{flex:0 0 auto;width:100%;}
  .dlp-hero__heading{font-size:clamp(28px,8vw,48px)!important;margin:0 0 8px!important;}
}

/* ---------- Second scroll: CTA buttons ---------- */
.dlp-cta{display:grid;grid-template-columns:1fr;gap:12px;max-width:1200px;margin:0 auto;padding:var(--dlp-gap) 20px;}
.dlp-cta__btn{
  display:flex;align-items:center;justify-content:space-between;min-height:84px;padding:18px 22px;border-radius:10px;
  font-family:var(--dlp-head);font-size:clamp(26px,6vw,36px);letter-spacing:var(--dlp-track);text-transform:uppercase;line-height:1;
  text-decoration:none!important;transition:transform .15s,box-shadow .15s;
}
.dlp-cta__btn:after{content:"→";font-family:var(--dlp-body);font-weight:900;font-size:.8em;}
.dlp-cta__btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(26,22,23,.18);}
.dlp-cta__btn.is-yellow{background:var(--dlp-yellow);color:var(--dlp-black)!important;}
.dlp-cta__btn.is-red{background:var(--dlp-red);color:var(--dlp-white)!important;}
.dlp-cta__btn.is-dark{background:var(--dlp-black);color:var(--dlp-white)!important;}
.dlp-cta__btn.is-maroon{background:var(--dlp-maroon);color:var(--dlp-white)!important;}
@media (min-width:700px){.dlp-cta{grid-template-columns:1fr 1fr;}}
@media (min-width:1100px){.dlp-cta{grid-template-columns:repeat(4,1fr);}.dlp-cta__btn{min-height:160px;align-items:flex-end;}}

/* ---------- Page header band (use on inner pages) ---------- */
.dlp-page-head{background:var(--dlp-red);color:var(--dlp-white);padding:44px 20px 36px;text-align:center;}
.dlp-page-head h1{color:var(--dlp-white)!important;margin:0!important;}
.dlp-page-head p{max-width:640px;margin:14px auto 0;font-weight:600;font-size:17px;color:var(--dlp-white);}

/* ---------- Candidates ---------- */
.dlp-candidates{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
.dlp-candidate{margin:0;padding:0;background:var(--dlp-white);border-radius:10px;overflow:hidden;box-shadow:0 1px 0 rgba(26,22,23,.08);}
.dlp-candidate__media{background:var(--dlp-red);aspect-ratio:5/4;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;padding:0;}
.dlp-candidate__photo{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;}
.dlp-candidate__placeholder{width:60%;aspect-ratio:1;border-radius:50% 50% 0 0;background:rgba(255,255,255,.25);}
.dlp-candidate__text{padding:12px 12px 16px;}
.dlp-candidate__role{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--dlp-red);}
.dlp-candidate__name{font-size:clamp(20px,4.6vw,28px)!important;margin:2px 0 6px!important;}
.dlp-candidate__const{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;}
.dlp-candidate__const img{width:auto;height:44px;flex-shrink:0;image-rendering:auto;}
.dlp-candidate.is-leader{}



@media (min-width:700px){.dlp-candidates{grid-template-columns:repeat(3,1fr);gap:20px;}}
@media (min-width:1100px){.dlp-candidates{grid-template-columns:repeat(4,1fr);}}

/* Closer 5:4 crop — must beat hand-added Customizer Additional CSS
   (.dlp-candidate__media{aspect-ratio:4/5!important;padding:6% 0 0!important}
    .dlp-candidate__photo{object-fit:contain!important;object-position:bottom center!important}).
   Small red margin above the head (~6%); photo flush to the bottom. */
body .dlp-candidates .dlp-candidate .dlp-candidate__media{
  aspect-ratio:5/4!important;
  padding:6% 0 0!important;
  box-sizing:border-box!important;
  background:var(--dlp-red)!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
}
body .dlp-candidates .dlp-candidate .dlp-candidate__photo{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center top!important;
  display:block!important;
  margin:0!important;
}
body .dlp-candidates .dlp-candidate .dlp-candidate__const img{
  width:auto!important;
  height:44px!important;
  max-height:44px!important;
}

/* ---------- Accomplishments ---------- */
.dlp-acc-section{border-top:4px solid var(--dlp-red);padding:22px 0 8px;}
.dlp-acc-section h3{color:var(--dlp-red);margin:0 0 12px!important;}
.dlp-acc-section ul{list-style:none!important;list-style-type:none!important;margin:0;padding:0!important;display:grid;gap:10px;}
.dlp-acc-section li{position:relative;padding-left:28px;font-weight:500;line-height:1.5;list-style:none!important;list-style-type:none!important;}
.dlp-acc-section li:before{content:"";position:absolute;left:0;top:.45em;width:14px;height:14px;border-radius:3px;background:var(--dlp-yellow);box-shadow:inset 0 0 0 2px var(--dlp-black);}
/* Beat Salient's default disc / ::marker so only the yellow square shows. */
body #ajax-content-wrap .dlp-acc-section ul,
body .dlp-acc-section ul,
body #ajax-content-wrap .dlp-acc-section ul li,
body .dlp-acc-section ul li{
  list-style:none!important;
  list-style-type:none!important;
}
body #ajax-content-wrap .dlp-acc-section ul,
body .dlp-acc-section ul{margin-left:0!important;padding-left:0!important;}
body #ajax-content-wrap .dlp-acc-section ul li,
body .dlp-acc-section ul li{padding-left:28px!important;}
body #ajax-content-wrap .dlp-acc-section ul li::marker,
body .dlp-acc-section ul li::marker,
.dlp-acc-section li::marker{
  content:none!important;
  font-size:0!important;
}
@media (min-width:900px){.dlp-acc-section ul{grid-template-columns:1fr 1fr;column-gap:40px;}}

/* ---------- Voter lookup ---------- */
.dlp-lookup{max-width:720px;margin:0 auto;}
.dlp-results,
body #ajax-content-wrap ul.dlp-results,
body .dlp-lookup ul.dlp-results{
  list-style:none!important;list-style-type:none!important;
  margin:20px 0 0;padding:0!important;padding-left:0!important;display:grid;gap:12px;
}
.dlp-results li,
.dlp-result,
body #ajax-content-wrap ul.dlp-results li,
body .dlp-lookup ul.dlp-results li{
  list-style:none!important;list-style-type:none!important;padding-left:0!important;margin-left:0!important;
}
.dlp-results li::marker,
.dlp-result::marker{content:none!important;font-size:0!important;}
.dlp-result{background:var(--dlp-white);border:2px solid var(--dlp-black);border-left:10px solid var(--dlp-red);border-radius:var(--dlp-radius);padding:14px 16px;}
.dlp-result__name{font-family:var(--dlp-head);font-size:24px;letter-spacing:var(--dlp-track);text-transform:uppercase;display:block;}
.dlp-result dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:8px 0 0;font-size:15px;}
.dlp-result dt{font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.04em;align-self:center;}
.dlp-result dd{margin:0;font-weight:600;}

/* ---------- Footer brand ---------- */
.dlp-footer-brand{display:flex;flex-direction:column;align-items:center;gap:16px;padding:10px 0;}
.dlp-footer-brand__logo img{width:88px;height:88px;}
.dlp-social{list-style:none!important;display:flex;align-items:center;justify-content:center;gap:12px;margin:0;padding:0;}
.dlp-social li{list-style:none!important;margin:0!important;padding:0!important;line-height:0!important;}
.dlp-social a,
#footer-outer .dlp-social a,
#footer-outer .dlp-social a.dlp-social__link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:46px!important;
  height:46px!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
  border-radius:50%!important;
  background:var(--dlp-white)!important;
  color:var(--dlp-red)!important;
  box-sizing:border-box!important;
  text-decoration:none!important;
}
.dlp-social a:hover,
#footer-outer .dlp-social a:hover{background:var(--dlp-yellow)!important;color:var(--dlp-black)!important;}
#footer-outer .dlp-social a:before,
#footer-outer .dlp-social a:after{content:none!important;display:none!important;}
#footer-outer .dlp-social a svg,
.dlp-social a svg{
  display:block!important;
  margin:0!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 auto;
  overflow:visible;
  vertical-align:middle;
}
#footer-outer .dlp-social a svg path,
.dlp-social a svg path{fill:currentColor!important;}
#footer-outer{background-color:var(--dlp-red)!important;}
#footer-outer #copyright{background-color:var(--dlp-maroon)!important;}
#footer-outer #copyright p,#footer-outer,#footer-outer a{color:var(--dlp-white);}

/* ---------- Layout lockups (match DLP Website Notes) ---------- */
/* Yoast breadcrumbs are not in the doc layout. */
p.breadcrumbs,
p.breadcrumbs.yoast,
#breadcrumbs,
.yoast-breadcrumb,
nav.yoast-breadcrumbs,
.woocommerce-breadcrumb{
  display:none!important;
}
/* Header search off (fallback if Salient header-disable-search is not applied yet). */
#header-outer #search-btn,
#header-outer li.search-btn,
#header-outer .search-btn,
#header-outer a.mobile-search,
#header-outer .nectar-icon.icon-salient-search,
#search-outer,
#search-box,
#mobile-search,
#slide-out-widget-area #mobile-search,
#slide-out-widget-area .mobile-search{
  display:none!important;
}
/* Copyright bar off — footer is shoe logo + social + email only. */
#footer-outer #copyright,
#copyright{
  display:none!important;
}

/* ---------- Voter lookup 1.1.0 additions (single box, filter, pagination, share) ---------- */
.dlp-form--lookup{max-width:100%}
.dlp-lookup__hint{font-size:.95rem;opacity:.8;margin:16px 0 0}
.dlp-lookup__results{margin-top:1.1rem}
.dlp-lookup__results.is-loading{opacity:.55}
.dlp-found{
  background:rgba(255,212,0,.18);border:1px solid rgba(255,212,0,.55);
  border-radius:var(--dlp-radius);padding:.7rem 1rem;margin-bottom:.75rem;font-weight:600
}
.dlp-results-count{font-size:.85rem;opacity:.8;margin:0 0 .8rem}
.dlp-results-count span{font-weight:800;color:var(--dlp-black)}
.dlp-results-count__hint{display:block;margin-top:.15rem}
.dlp-const-tag{
  display:inline-block;background:rgba(237,28,36,.08);color:var(--dlp-deep-red);
  padding:1px 8px;border-radius:4px;font-weight:800;font-size:.85rem
}
.dlp-result mark{background:rgba(255,212,0,.55);color:var(--dlp-black);border-radius:2px;padding:0 2px;font-weight:700}
.dlp-pages{display:flex;justify-content:center;gap:.3rem;margin:1rem 0 0;flex-wrap:wrap}
.dlp-page{
  min-width:34px;height:34px;padding:0 8px;border-radius:8px;border:1px solid #c8c8c8;
  background:#fff;color:var(--dlp-black);font-size:.8rem;font-weight:700;cursor:pointer;font-family:inherit
}
.dlp-page:hover:not(:disabled):not(.dlp-page--gap){border-color:var(--dlp-red);color:var(--dlp-red)}
.dlp-page.is-active{background:var(--dlp-red);color:#fff;border-color:var(--dlp-red)}
.dlp-page:disabled,.dlp-page--gap{opacity:.35;cursor:default}
.dlp-small{font-size:.85rem;margin-top:1rem}

/* v1.0.6: smaller hero lettering so Skerrit's face shows (owner request 20 Nov). */
body .dlp-hero .dlp-hero__lettering img.dlp-hero__lockup{width:210px!important;max-width:210px!important;height:auto!important;flex:0 0 auto!important;}
body .dlp-hero .dlp-hero__lettering{justify-content:flex-start!important;}
@media (max-width:999px){
  body .dlp-hero .dlp-hero__lettering{justify-content:flex-start!important;align-items:center!important;}
  body .dlp-hero .dlp-hero__lettering img.dlp-hero__lockup{width:150px!important;max-width:40vw!important;}
}

/* v1.0.7: phones - lettering side by side, down in the red just above Join the Team (owner request 20 Nov). */
@media (max-width:999px){
  body .dlp-hero .dlp-hero__inner{justify-content:flex-end!important;}
  body .dlp-hero .dlp-hero__lettering{flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:8px!important;margin:auto auto 4px!important;}
  body .dlp-hero .dlp-hero__lettering img.dlp-hero__lockup{width:44%!important;max-width:180px!important;margin:0!important;}
}

/* v1.0.8: phones - remove dead sky space above Skerrit (owner request 20 Nov). */
@media (max-width:999px){
  body .dlp-hero{min-height:0!important;background-position:52% 70%!important;}
  body .dlp-hero .dlp-hero__inner{min-height:560px!important;}
}

/* v1.0.9: badges full size from the owner's 2x files, never cropped. */
body .dlp-candidates .dlp-candidate .dlp-candidate__const img.dlp-badge{height:52px!important;max-height:52px!important;width:auto!important;max-width:none!important;object-fit:contain!important;overflow:visible!important;flex:0 0 auto!important;}
body .dlp-candidates .dlp-candidate .dlp-candidate__const{gap:8px!important;overflow:visible!important;}

/* v1.1.0: responsive hero photo - tablets get the 1536w copy, phones the 1024w copy (falls back to full size). */
@media (max-width:1199px){
  .dlp-hero:not(.dlp-hero--no-image){background-image:var(--dlp-hero-img-md,var(--dlp-hero-img));}
}
@media (max-width:767px){
  .dlp-hero:not(.dlp-hero--no-image){background-image:var(--dlp-hero-img-sm,var(--dlp-hero-img-md,var(--dlp-hero-img)));}
}

/* v1.1.1: phones - tidy candidate names and constituency labels (owner request 20 Nov). */
@media (max-width:767px){
  body .dlp-candidates{align-items:stretch!important;}
  body .dlp-candidates .dlp-candidate{display:flex!important;flex-direction:column!important;min-width:0!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__media{flex:0 0 auto!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__text{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-width:0!important;padding:10px 10px 14px!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__role{font-size:10px!important;line-height:1.2!important;letter-spacing:.05em!important;margin:0 0 2px!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__name{font-size:clamp(15px,4.3vw,20px)!important;line-height:1.08!important;letter-spacing:0!important;min-height:2.16em!important;margin:0 0 8px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:manual!important;-webkit-hyphens:manual!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__name .dlp-nobr{white-space:nowrap!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__const{margin-top:auto!important;display:flex!important;align-items:center!important;gap:7px!important;min-height:52px!important;min-width:0!important;font-size:10.5px!important;line-height:1.2!important;letter-spacing:.02em!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__const img.dlp-badge{margin:0!important;}
  body .dlp-candidates .dlp-candidate .dlp-candidate__const-name{display:block!important;flex:1 1 auto!important;min-width:0!important;line-height:1.2!important;overflow-wrap:break-word!important;}
}

/* ==========================================================================
   v1.2.0: candidate pages (single-dlp_candidate.php) + linked Team cards.
   Mobile-first; desktop split hero from 1000px.
   ========================================================================== */
body .dlp-cand-wrap{padding:0!important;margin:0!important;background:var(--dlp-white);}
.dlp-cand{display:block;margin:0;padding:0;}
.dlp-cand *{box-sizing:border-box;}

/* Hero: red band, cut-out portrait flush to the bottom, maroon fade behind the name (as the homepage hero). */
.dlp-cand__hero{position:relative;background:var(--dlp-red);color:var(--dlp-white);overflow:hidden;isolation:isolate;}
.dlp-cand__hero:before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(120% 70% at 50% 30%,rgba(255,255,255,.10) 0%,rgba(255,255,255,0) 55%),linear-gradient(180deg,var(--dlp-red) 0%,var(--dlp-deep-red) 100%);}
.dlp-cand__hero:after{content:"";display:block;height:6px;background:var(--dlp-yellow);}
.dlp-cand__hero-inner{position:relative;max-width:1200px;margin:0 auto;padding:14px 20px 0;display:grid;grid-template-areas:"crumbs" "portrait" "intro";}
.dlp-cand__crumbs{grid-area:crumbs;position:relative;z-index:3;}
body .dlp-cand__crumbs a{display:inline-flex;align-items:center;gap:6px;min-height:40px;color:var(--dlp-white)!important;text-decoration:none;
  font-family:var(--dlp-body);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em;opacity:.95;}
body .dlp-cand__crumbs a:hover{color:var(--dlp-yellow)!important;}
.dlp-cand__portrait{grid-area:portrait;position:relative;display:flex;justify-content:center;align-items:flex-end;margin:0 -20px;aspect-ratio:1/1;max-height:62svh;overflow:hidden;}
body .dlp-cand__portrait img.dlp-cand__photo{display:block;width:auto!important;height:104%!important;max-width:none!important;max-height:none!important;object-fit:contain;object-position:bottom center;margin:0 0 -4%!important;filter:drop-shadow(0 10px 24px rgba(26,22,23,.35));}
.dlp-cand__portrait .dlp-candidate__placeholder{width:55%;}
.dlp-cand__portrait:after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;z-index:1;
  background:linear-gradient(180deg,rgba(122,5,11,0) 0%,rgba(122,5,11,.75) 60%,var(--dlp-maroon) 100%);}
.dlp-cand__intro{grid-area:intro;position:relative;z-index:2;margin:-96px -20px 0;padding:0 20px 26px;background:linear-gradient(180deg,rgba(122,5,11,0) 0,var(--dlp-maroon) 96px);}
.dlp-cand__kicker{display:inline-block;background:var(--dlp-yellow);color:var(--dlp-black);font-family:var(--dlp-body);font-weight:900;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.08em;padding:6px 9px;border-radius:3px;}
body .dlp-cand h1.dlp-cand__name{color:var(--dlp-white)!important;font-size:clamp(40px,12vw,64px)!important;line-height:.95!important;margin:10px 0 16px!important;overflow-wrap:normal;word-break:normal;hyphens:manual;text-shadow:0 2px 14px rgba(26,22,23,.25);}
.dlp-cand .dlp-nobr{white-space:nowrap;}
.dlp-cand__const{display:flex;align-items:center;gap:12px;}
body .dlp-cand__const img.dlp-cand__badge{height:72px!important;width:auto!important;max-width:none!important;flex:0 0 auto;margin:0!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25));}
.dlp-cand__const-text{display:flex;flex-direction:column;gap:3px;min-width:0;}
.dlp-cand__const-text small{font-family:var(--dlp-body);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--dlp-yellow);}
.dlp-cand__const-text strong{font-family:var(--dlp-body);font-weight:900;font-size:17px;line-height:1.15;text-transform:uppercase;letter-spacing:.03em;color:var(--dlp-white);overflow-wrap:break-word;}

/* Bio */
.dlp-cand__bio{background:var(--dlp-white);}
.dlp-cand__bio-inner{max-width:760px;margin:0 auto;padding:40px 20px 44px;}
body .dlp-cand h2.dlp-cand__bio-title{font-size:clamp(30px,8vw,48px)!important;color:var(--dlp-black)!important;margin:0 0 18px!important;}
body .dlp-cand h2.dlp-cand__bio-title span{color:var(--dlp-red);}
.dlp-cand__prose{font-size:17px;line-height:1.7;}
body .dlp-cand__prose p,body .dlp-cand__prose li{font-size:17px;line-height:1.7;font-weight:500;color:var(--dlp-black);}
body .dlp-cand__prose p{margin:0 0 1.1em;padding:0;}
body .dlp-cand__prose > p:first-child{font-size:19px;font-weight:600;}
body .dlp-cand__prose h2,body .dlp-cand__prose h3,body .dlp-cand__prose h4{color:var(--dlp-deep-red)!important;font-size:clamp(22px,5vw,30px)!important;margin:1.4em 0 .5em!important;}
body .dlp-cand__prose ul{margin:0 0 1.2em!important;padding:0!important;list-style:none!important;}
body .dlp-cand__prose ul li{position:relative;padding-left:26px!important;margin:0 0 .5em!important;list-style:none!important;}
body .dlp-cand__prose ul li:before{content:"";position:absolute;left:0;top:.5em;width:12px;height:12px;border-radius:3px;background:var(--dlp-yellow);box-shadow:inset 0 0 0 2px var(--dlp-black);}
body .dlp-cand__prose blockquote{margin:1.4em 0;padding:4px 0 4px 18px;border-left:5px solid var(--dlp-red);font-family:var(--dlp-head);font-size:clamp(22px,5vw,30px);line-height:1.15;text-transform:uppercase;letter-spacing:var(--dlp-track);color:var(--dlp-black);background:none;}
body .dlp-cand__prose blockquote p{font:inherit;margin:0;}
body .dlp-cand__prose img{max-width:100%;height:auto;border-radius:var(--dlp-radius);}
body .dlp-cand__prose a{color:var(--dlp-deep-red);font-weight:700;text-decoration:underline;text-underline-offset:2px;}

/* Placeholder until DLP sends the bio */
.dlp-cand__soon{position:relative;background:#fffbe0;border-left:6px solid var(--dlp-yellow);border-radius:0 var(--dlp-radius) var(--dlp-radius) 0;padding:20px 20px 22px;}
body .dlp-cand__soon p{margin:0 0 12px;font-size:16px;line-height:1.6;font-weight:500;color:var(--dlp-black);}
body .dlp-cand__soon p.dlp-cand__soon-title{font-family:var(--dlp-head);font-size:26px;line-height:1;text-transform:uppercase;letter-spacing:var(--dlp-track);color:var(--dlp-deep-red);margin:0 0 10px;}
body .dlp-cand__textlink{font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:var(--dlp-deep-red)!important;text-decoration:none;}
body .dlp-cand__textlink:hover{text-decoration:underline;}

/* Join the Team CTA */
.dlp-cand__join{background:var(--dlp-black);color:var(--dlp-white);}
.dlp-cand__join-inner{max-width:1200px;margin:0 auto;padding:40px 20px;text-align:center;}
body .dlp-cand h2.dlp-cand__join-title{color:var(--dlp-yellow)!important;font-size:clamp(36px,10vw,64px)!important;margin:0 0 10px!important;}
body .dlp-cand__join p{color:var(--dlp-white);font-weight:600;font-size:16px;line-height:1.5;max-width:560px;margin:0 auto;}
body .dlp-cand .dlp-cand__cta{padding:22px 0 0;max-width:880px;}

/* Previous / next */
.dlp-cand__pager{background:#f4f1f1;}
.dlp-cand__pager-inner{max-width:1000px;margin:0 auto;padding:28px 20px 6px;display:grid;gap:12px;}
body .dlp-cand__pager-link{display:flex;align-items:center;gap:14px;background:var(--dlp-white);border-radius:10px;padding:10px 16px 10px 10px;text-decoration:none;color:var(--dlp-black)!important;box-shadow:0 1px 0 rgba(26,22,23,.08);transition:transform .15s,box-shadow .15s;}
body .dlp-cand__pager-link:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(26,22,23,.14);}
.dlp-cand__pager-thumb{flex:0 0 64px;width:64px;height:64px;border-radius:8px;background:var(--dlp-red);overflow:hidden;display:flex;align-items:flex-end;justify-content:center;}
body .dlp-cand__pager-thumb img{width:100%!important;height:100%!important;object-fit:cover;object-position:center top;display:block;margin:0!important;padding-top:6px;}
.dlp-cand__pager-text{display:flex;flex-direction:column;min-width:0;gap:2px;}
.dlp-cand__pager-text small{font-weight:900;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--dlp-red);}
.dlp-cand__pager-link.is-prev small:before{content:"← ";}
.dlp-cand__pager-link.is-next small:after{content:" →";}
.dlp-cand__pager-text strong{font-family:var(--dlp-head);font-weight:400;font-size:20px;line-height:1.05;text-transform:uppercase;letter-spacing:var(--dlp-track);}
.dlp-cand__pager-text em{font-style:normal;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.04em;opacity:.7;}
.dlp-cand__all{text-align:center;margin:0;padding:18px 20px 40px;}
.dlp-btn--dark{background:var(--dlp-black);}
.dlp-btn--dark:hover{background:var(--dlp-maroon)!important;}

@media (min-width:600px){
  .dlp-cand__pager-inner{grid-template-columns:1fr 1fr;}
  .dlp-cand__pager-link.is-next{flex-direction:row-reverse;text-align:right;padding:10px 10px 10px 16px;}
  .dlp-cand__pager-link.is-next .dlp-cand__pager-text{align-items:flex-end;}
  .dlp-cand__portrait{aspect-ratio:4/3;}
}

@media (min-width:1000px){
  .dlp-cand__hero:before{background:radial-gradient(60% 90% at 72% 40%,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 60%),linear-gradient(90deg,var(--dlp-maroon) 0%,var(--dlp-deep-red) 38%,var(--dlp-red) 70%);}
  .dlp-cand__hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,520px);grid-template-areas:"crumbs portrait" "intro portrait";grid-template-rows:auto 1fr;column-gap:48px;padding:24px 40px 0;min-height:560px;}
  .dlp-cand__crumbs{align-self:start;padding-top:8px;}
  .dlp-cand__portrait{margin:0;aspect-ratio:auto;height:100%;min-height:536px;max-height:none;}
  .dlp-cand__portrait:after{display:none;}
  body .dlp-cand__portrait img.dlp-cand__photo{height:auto!important;width:100%!important;max-height:620px!important;margin:0!important;}
  .dlp-cand__intro{margin:0;padding:0 0 64px;background:none;align-self:center;}
  body .dlp-cand h1.dlp-cand__name{font-size:clamp(56px,6.2vw,92px)!important;margin:16px 0 24px!important;}
  body .dlp-cand__const img.dlp-cand__badge{height:96px!important;}
  .dlp-cand__const{gap:16px;}
  .dlp-cand__const-text small{font-size:12px;}
  .dlp-cand__const-text strong{font-size:22px;}
  .dlp-cand__bio-inner{padding:72px 20px 76px;}
  .dlp-cand__join-inner{padding:64px 40px;}
  body .dlp-cand .dlp-cand__cta{grid-template-columns:1fr 1fr!important;margin:0 auto;}
  body .dlp-cand .dlp-cand__cta .dlp-cta__btn{min-height:96px;align-items:center;}
  .dlp-cand__pager-inner{padding-top:40px;}
}

/* Team cards: whole card clickable when linked (stretched link on the name). */
body .dlp-candidates .dlp-candidate.is-linked{position:relative;transition:transform .15s,box-shadow .15s;}
body .dlp-candidates .dlp-candidate.is-linked:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(26,22,23,.16);}
body .dlp-candidates .dlp-candidate .dlp-candidate__link{color:inherit!important;text-decoration:none!important;}
body .dlp-candidates .dlp-candidate .dlp-candidate__link:after{content:"";position:absolute;inset:0;z-index:2;border-radius:10px;}
body .dlp-candidates .dlp-candidate .dlp-candidate__link:focus-visible{outline:none;}
body .dlp-candidates .dlp-candidate .dlp-candidate__link:focus-visible:after{outline:3px solid var(--dlp-yellow);outline-offset:2px;}
body .dlp-candidates .dlp-candidate.is-linked:hover .dlp-candidate__name{color:var(--dlp-red)!important;}
