/* =========================================================
   Professional Profile — Uniform Card System (Clean, Redone)
   - One visual system: hero + cards + rail
   - No duplicate selectors, no conflicting overrides
   - Logo pills never balloon from wrapped text
   - Icons only, no default blue links
========================================================= */

.ds-pro{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: rgba(16,18,23,0.92);
}

.ds-pro .ds-serif,
.ds-pro .ds-pro-name{
  font-family: "Libre Baskerville", ui-serif, Georgia, "Times New Roman", Times, serif;
}

.ds-pro .container.ds-pro-container{
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Links (site-consistent) */
.ds-pro a{ color: inherit; text-decoration: none; }
.ds-pro a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.ds-pro .ds-pro-prose a{
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  opacity: .92;
}
.ds-pro .ds-pro-prose a:hover{ opacity: 1; }

/* =========================================================
   Breadcrumb
========================================================= */
.ds-pro-breadcrumb{
  font-size: 13px;
  color: rgba(16,18,23,0.58);
  margin: 0 0 16px;
}
.ds-pro-breadcrumb a{ color: rgba(16,18,23,0.58); }
.ds-pro-breadcrumb a:hover{ color: rgba(16,18,23,0.82); }

/* =========================================================
   Hero
========================================================= */
.ds-pro-hero{
  padding: 18px 0 26px;
  border-bottom: 1px solid rgba(16,18,23,0.10);
}

.ds-pro-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 34px;
  align-items: start;
}

.ds-pro-kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(16,18,23,0.52);
  margin: 0 0 10px;
}

.ds-pro-name{
  margin: 0;
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.ds-pro-intro{
  margin: 14px 0 0;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(16,18,23,0.78);
}

.ds-pro-tags{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.ds-pro-tag{
  background: transparent !important;
  border: 1px solid #050c1d !important;
  color: #050c1d !important;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-block;
  margin: 0 8px 8px 0;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
  cursor: default;
  line-height: 1;
}

.ds-pro-tag:hover{
  background: #050c1d !important;
  color: #d4af37 !important;
  border-color: #050c1d !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(5, 12, 29, 0.15) !important;
}

/* Photo */
.ds-pro-photo{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.ds-pro-photo img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  background: transparent !important;
  filter: contrast(115%) saturate(110%) brightness(105%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Contact (icons only) */
.ds-pro-contact{
  margin-top: 14px;
  border: 1px solid rgba(16,18,23,0.10);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.80);
}

.ds-pro-icons{
  display:flex;
  gap: 10px;
}

.ds-pro-iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(16,18,23,0.10);
  background: rgba(255,255,255,0.95);
  display:grid;
  place-items:center;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.ds-pro-iconbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(16,18,23,0.18);
  box-shadow: 0 10px 22px rgba(16,18,23,0.10);
}
.ds-pro-iconbtn img{
  width: 18px;
  height: 18px;
  object-fit: contain;
  display:block;
}

.ds-pro-iconbtn__fallback{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-family: "Poppins", "Source Sans 3", ui-sans-serif, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.12);
}

/* =========================================================
   Layout below hero
========================================================= */
.ds-pro-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  padding: 26px 0 70px;
}

.ds-pro-sections{
  display:grid;
  gap: 14px;
}

.ds-pro-rail-stack{
  display:grid;
  gap: 14px;
}

/* =========================================================
   Card (uniform module)
========================================================= */
.ds-pro-card{
  position: relative;
  border: 1px solid rgba(16,18,23,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 28px rgba(16,18,23,0.06);
  overflow: hidden;
}

/* subtle top strip */
.ds-pro-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 44px;
  background: linear-gradient(180deg, rgba(16,18,23,0.04), rgba(16,18,23,0.00));
  border-bottom: 1px solid rgba(16,18,23,0.06);
  pointer-events: none;
}

.ds-pro-card-inner{
  position: relative;
  padding: 16px 18px 18px;
}

.ds-pro-accordion-shell{
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.ds-pro-accordion-shell::before{
  content: none;
}

.ds-pro-accordion-shell .ds-pro-card-inner{
  padding: 0;
}

/* Section title */
.ds-pro-title{
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(16,18,23,0.62);
  display:flex;
  align-items:center;
  gap: 10px;
}
.ds-pro-title::before{
  content:"";
  width: 10px;
  height: 2px;
  background: rgba(16,18,23,0.22);
  border-radius: 99px;
}

/* Prose */
.ds-pro-prose{
  max-width: 76ch;
}
.ds-pro-prose p{
  margin: 0 0 14px;
  line-height: 1.75;
  color: rgba(16,18,23,0.88);
}
.ds-pro-prose strong{ font-weight: 800; }

.ds-pro .ds-pro-prose h1,
.ds-pro .ds-pro-prose h2,
.ds-pro .ds-pro-prose h3,
.ds-pro .ds-pro-prose h4{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 14px 0 10px;
  font-size: 16px;
  color: rgba(16,18,23,0.88);
}

.ds-pro-prose ul,
.ds-pro-prose ol{
  margin: 10px 0 14px;
  padding-left: 18px;
}

/* Experience bullets */
.ds-pro-bullets{
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap: 10px;
}
.ds-pro-bullets li{
  line-height: 1.65;
  color: rgba(16,18,23,0.86);
}
.ds-pro-bullets li::marker{
  color: rgba(16,18,23,0.35);
}
.ds-pro-bullets li > ul{
  margin-top: 8px;
  padding-left: 18px;
  display:grid;
  gap: 6px;
}
.ds-pro-bullets li > ul li{
  color: rgba(16,18,23,0.78);
}

/* Accordion sections (Education / Experience / Profile) */
.ds-pro-acc{
  border-bottom: 0;
  margin: 0;
  padding: 0;
}

.ds-pro-acc__summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background-color: transparent !important;
  background: none !important;
  border-bottom: 1px solid rgba(5, 12, 29, 0.1) !important;
  padding: 1.5rem 0 !important;
}
.ds-pro-acc__summary::-webkit-details-marker{ display:none; }

.ds-pro-acc__title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #050c1d;
  display:flex;
  align-items:center;
  gap: 10px;
}
.ds-pro-acc__title::before{
  content:"";
  width: 10px;
  height: 2px;
  background: rgba(16,18,23,0.22);
  border-radius: 99px;
}

.ds-pro-acc__icon{
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #050c1d;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transform-origin: 50% 50%;
}

.ds-pro-acc__body{
  padding: 2px 0 10px;
  background: transparent !important;
}

/* ================================
   Logos (Education / Certifications)
   - No clamp
   - Text is controlled via .ds-pro-logo-text
   - Pills won’t balloon or cut left side
================================ */

.ds-pro-divider{
  height: 1px;
  background: rgba(16,18,23,0.08);
  margin: 14px 0;
}

.ds-pro-subtitle{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 950;
  color: rgba(16,18,23,0.58);
  margin: 2px 0 10px;
}

.ds-pro-minihead{
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(16,18,23,0.78);
  margin: 0 0 8px;
}

.ds-pro-logos-row--nolabel{
  gap: 0;
}

/* (Removed old Highlights split-layout styles) */

.ds-pro-logos{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.ds-pro-logos-row{
  display: grid;
  gap: 10px;
}

.ds-pro-logos-label{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(16,18,23,0.56);
}

.ds-pro-logos-strip{
  display: grid;
  gap: 0;
}

/* pill */
.ds-pro-logo{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  margin: 0 0 1.2rem !important;
  padding: 0 0 0 1rem;
  border: none;
  border-left: 2px solid #d4af37;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400 !important;
  line-height: 1.5;
}

.ds-pro-logo:last-child{
  margin-bottom: 0 !important;
}

.ds-pro-logo img,
.ds-pro-logo-fallback{
  display: none;
}

.ds-pro-logo img{
  object-fit: contain;
}

.ds-pro-logo-fallback{
  border-radius: 0;
  background: transparent;
}

.ds-pro-logo-body{
  grid-column: auto;
  min-width: 0;
  display: grid;
  row-gap: 4px;
}

/* text — hard 2-line cap WITHOUT clamp */
.ds-pro-logo-text{
  display: block;
  white-space: normal;
  max-height: none;
  overflow-wrap: anywhere;
  font-weight: 400 !important;
  color: #050c1d;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.ds-pro-logo strong,
.ds-pro-logo b,
.ds-pro-logo-text strong,
.ds-pro-logo-text b{
  font-weight: 700 !important;
  color: #050c1d !important;
}

/* optional year badge */
.ds-pro-logo-year{
  font-size: 12px;
  font-weight: 400 !important;
  letter-spacing: .01em;
  color: rgba(5, 12, 29, 0.58);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* =========================================================
   Related
========================================================= */
.ds-pro-related{
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.ds-pro-related-title{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #050c1d;
  display:flex;
  align-items:center;
  gap: 10px;
}
.ds-pro-related-title::before{
  content:"";
  width: 10px;
  height: 2px;
  background: rgba(16,18,23,0.22);
  border-radius: 99px;
}

.ds-pro-related-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ds-pro-related-card{
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0 0 0.92rem;
  margin: 0 0 1.5rem;
  border: none;
  border-bottom: 1px solid rgba(5, 12, 29, 0.05);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ds-pro-related-card:last-child{
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.ds-pro-related-name{
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #050c1d;
}

.ds-pro-related-role{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(5, 12, 29, 0.58);
}

.ds-pro-credentials-list{
  margin: 0;
  padding: 0;
  list-style-type: none !important;
  padding-left: 0 !important;
}

.ds-pro-credentials-item{
  position: relative;
  margin: 0 0 0.8rem !important;
  padding-left: 1.5rem !important;
  line-height: 1.62;
  color: #050c1d;
}

.ds-pro-credentials-item:last-child{
  margin-bottom: 0;
}

.ds-pro-credentials-item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #d4af37 !important;
}

.ds-pro-routing{
  margin-top: 2px;
}

.ds-pro-vcard-link,
.vcard-download-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #050c1d !important;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.ds-pro-vcard-link:hover,
.ds-pro-vcard-link:focus-visible,
.vcard-download-btn:hover,
.vcard-download-btn:focus-visible{
  color: #d4af37 !important;
  text-decoration: none !important;
}

.vcard-arrow{
  color: #d4af37;
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.vcard-download-btn:hover .vcard-arrow,
.vcard-download-btn:focus-visible .vcard-arrow{
  transform: translate(3px, -3px);
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1100px){
  .ds-pro-hero-grid{ grid-template-columns: 1fr; }
  .ds-pro-layout{ grid-template-columns: 1fr; }
}

/* small screens: reduce padding a touch */
@media (max-width: 520px){
  .ds-pro .container.ds-pro-container{
    padding-left: 16px;
    padding-right: 16px;
  }
  .ds-pro-card-inner{
    padding: 14px 14px 16px;
  }
  .ds-pro-accordion-shell .ds-pro-card-inner{
    padding: 0 !important;
  }
}

/* =========================================================
   Professional Hero — Actions + Contact icons
========================================================= */

.ds-pro-actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Remove underline hover from buttons inside profile page */
.ds-pro a.btn,
.ds-pro a.btn:hover{
  text-decoration: none !important;
}

/* Fix CTA hover going too dark / text unreadable */
.ds-pro .ds-pro-actions .btn.btn-cta{
  color: rgba(255,255,255,0.92) !important;
}

.ds-pro .ds-pro-actions .btn.btn-cta:hover,
.ds-pro .ds-pro-actions .btn.btn-cta:focus,
.ds-pro .ds-pro-actions .btn.btn-cta:focus-visible{
  color: rgba(255,255,255,0.92) !important;
  background: rgba(7,27,47,0.92) !important;
  border-color: rgba(7,27,47,0.92) !important;
}

/* Center the icon buttons under the portrait */
.ds-pro .ds-pro-contact{
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.ds-pro .ds-pro-icons{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* =========================================================
   Split Horizon Architecture — Day/Night Mode
========================================================= */

/* HERO SECTION: Light Champagne background with Deep Navy text (already default) */
.ds-pro-hero{
  background-color: transparent;
}

/* ACCORDION & SIDEBAR SECTION: Dark Navy environment with Champagne text */
.archive-horizon-wrapper{
  background-color: #050c1d !important;
  color: #f7f3e9 !important;
  padding: 5rem 0 !important;
  border-radius: 12px 12px 0 0 !important;
  margin-top: 3rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 2 !important;
}

/* The Subtle Background Texture Layer (Depth & Environmental Grounding) */
.archive-horizon-wrapper::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/wp-content/themes/dslaw-theme/assets/img/brand/individuallawyer.png') !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: overlay !important;
  opacity: 0.05 !important;
  filter: blur(5px) grayscale(1) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Ensure all content sits above the texture layer */
.archive-horizon-wrapper .ds-pro-layout{
  position: relative !important;
  z-index: 3 !important;
  padding: 0 2rem !important;
  margin: 0 !important;
}

/* CRITICAL: Force ALL text to Champagne for perfect readability */
.archive-horizon-wrapper h1,
.archive-horizon-wrapper h2,
.archive-horizon-wrapper h3,
.archive-horizon-wrapper h4,
.archive-horizon-wrapper h5,
.archive-horizon-wrapper h6,
.archive-horizon-wrapper p,
.archive-horizon-wrapper li,
.archive-horizon-wrapper span,
.archive-horizon-wrapper strong,
.archive-horizon-wrapper b,
.archive-horizon-wrapper em,
.archive-horizon-wrapper i,
.archive-horizon-wrapper label,
.archive-horizon-wrapper button,
.archive-horizon-wrapper a,
.archive-horizon-wrapper input,
.archive-horizon-wrapper textarea,
.archive-horizon-wrapper select,
.archive-horizon-wrapper details,
.archive-horizon-wrapper summary{
  color: #f7f3e9 !important;
}

/* Specific component text colors (all forced to Champagne) */
.archive-horizon-wrapper,
.archive-horizon-wrapper .ds-pro-main,
.archive-horizon-wrapper .ds-pro-rail,
.archive-horizon-wrapper .ds-pro-sections,
.archive-horizon-wrapper .ds-pro-rail-stack,
.archive-horizon-wrapper .ds-pro-acc__summary,
.archive-horizon-wrapper .ds-pro-acc-body,
.archive-horizon-wrapper .ds-pro-logo,
.archive-horizon-wrapper .ds-pro-logo-text,
.archive-horizon-wrapper .ds-pro-logo-year,
.archive-horizon-wrapper .ds-pro-credentials-list,
.archive-horizon-wrapper .ds-pro-credentials-item,
.archive-horizon-wrapper .ds-pro-related-card,
.archive-horizon-wrapper .ds-pro-related-name,
.archive-horizon-wrapper .vcard-download-btn,
.archive-horizon-wrapper .ds-pro-vcard-link{
  color: #f7f3e9 !important;
}

/* Dim separator borders */
.archive-horizon-wrapper .ds-pro-acc__summary,
.archive-horizon-wrapper .ds-pro-related-card{
  border-color: rgba(247, 243, 233, 0.1) !important;
}

/* Gold accent preservation — these STAY GOLD */
.archive-horizon-wrapper .ds-pro-credentials-item::before{
  background-color: #d4af37 !important;
}

.archive-horizon-wrapper .vcard-arrow,
.archive-horizon-wrapper .gold-node{
  color: #d4af37 !important;
}

/* =========================================================
   Split Horizon Architecture — Day/Night Mode
   NUCLEAR OVERRIDE: Chained selectors defeat WP theme specificity
========================================================= */

/* HERO SECTION: Light Champagne background with Deep Navy text (already default) */
.ds-pro-hero{
  background-color: transparent;
}

/* THE NUCLEAR CHAIN: Defeats WordPress theme default specificity */
body.single-professional main.ds-pro .archive-horizon-wrapper {
  background-color: #050c1d !important;
  color: #f7f3e9 !important;
  padding: 5rem 0 !important;
  margin-top: 3rem !important;
  border-radius: 12px 12px 0 0 !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
}

/* Background Image Injection (Depth & Environmental Texture) */
body.single-professional main.ds-pro .archive-horizon-wrapper::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('individuallawyer.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  mix-blend-mode: overlay !important;
  opacity: 0.05 !important;
  filter: blur(4px) grayscale(100%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Content layer sits above background texture */
body.single-professional main.ds-pro .ds-pro-layout {
  position: relative !important;
  z-index: 2 !important;
  padding: 0 2rem !important;
  margin: 0 !important;
}

/* ATOMIC TEXT INVERSION: Force all text to Champagne for perfect readability */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-minihead,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo-text,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo-year,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-bullets li,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose p,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose strong,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-name,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-role,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-text,
body.single-professional main.ds-pro .archive-horizon-wrapper h1,
body.single-professional main.ds-pro .archive-horizon-wrapper h2,
body.single-professional main.ds-pro .archive-horizon-wrapper h3,
body.single-professional main.ds-pro .archive-horizon-wrapper h4,
body.single-professional main.ds-pro .archive-horizon-wrapper h5,
body.single-professional main.ds-pro .archive-horizon-wrapper h6,
body.single-professional main.ds-pro .archive-horizon-wrapper p,
body.single-professional main.ds-pro .archive-horizon-wrapper li,
body.single-professional main.ds-pro .archive-horizon-wrapper span,
body.single-professional main.ds-pro .archive-horizon-wrapper strong,
body.single-professional main.ds-pro .archive-horizon-wrapper b,
body.single-professional main.ds-pro .archive-horizon-wrapper em,
body.single-professional main.ds-pro .archive-horizon-wrapper i,
body.single-professional main.ds-pro .archive-horizon-wrapper label,
body.single-professional main.ds-pro .archive-horizon-wrapper button,
body.single-professional main.ds-pro .archive-horizon-wrapper a,
body.single-professional main.ds-pro .archive-horizon-wrapper details,
body.single-professional main.ds-pro .archive-horizon-wrapper summary {
  color: #f7f3e9 !important;
}

/* Destroy residual white/grey boxes on accordions */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary {
  background: transparent !important;
  background-color: transparent !important;
  border-color: rgba(247, 243, 233, 0.1) !important;
}

/* Keep icons and accents GOLD */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__icon,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-arrow,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item::before {
  color: #d4af37 !important;
  background-color: #d4af37 !important;
}

/* vCard hover state: invert to gold */
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-download-btn:hover,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-download-btn:focus-visible,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-vcard-link:hover,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-vcard-link:focus-visible {
  color: #d4af37 !important;
}

/* Related cards: transparent background with champagne borders */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-card {
  background: transparent !important;
  border-bottom-color: rgba(247, 243, 233, 0.1) !important;
}

/* Portrait Restraint: NO sticky/fixed positioning */
.ds-pro-photo{
  position: static !important;
  sticky: none !important;
  top: auto !important;
}

.ds-pro-photo img{
  position: static !important;
}

/* Responsive: Nuclear Override for Tablet & Mobile */
@media (max-width: 768px){
  body.single-professional main.ds-pro .archive-horizon-wrapper {
    padding: 3rem 1.5rem !important;
    border-radius: 12px 12px 0 0 !important;
    margin-top: 2rem !important;
  }
  
  body.single-professional main.ds-pro .ds-pro-layout {
    padding: 0 1rem !important;
  }
}

@media (max-width: 520px){
  body.single-professional main.ds-pro .archive-horizon-wrapper {
    padding: 2rem 1rem !important;
    border-radius: 8px 8px 0 0 !important;
    margin-top: 1.5rem !important;
  }
  
  body.single-professional main.ds-pro .ds-pro-layout {
    padding: 0 0.75rem !important;
  }
}

/* The Nuclear Chain ensures this cannot be overridden */
body.single-professional main.ds-pro .archive-horizon-wrapper {
  background-color: #050C1D !important;
  padding: 5rem 0 !important;
  margin-top: 3rem !important;
  border-radius: 12px 12px 0 0 !important;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* The Background Image Injection */
body.single-professional main.ds-pro .archive-horizon-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* Using the specific image requested by the client */
  background-image: url('individuallawyer.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: overlay; /* Blends it seamlessly into the navy */
  opacity: 0.05 !important; /* Strict 5% visibility for subtle depth */
  filter: blur(4px) grayscale(100%);
  z-index: 0;
  pointer-events: none; /* Ensures it doesn't block clicks */
}

/* Ensure the text and accordions sit above the background image */
body.single-professional main.ds-pro .ds-pro-layout {
  position: relative;
  z-index: 2;
}

/* Targeting the exact classes found in the DOM to force Sunlit Champagne */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-minihead,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo-text,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-bullets li,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose p,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose strong,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-name,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-role,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-text {
  color: #F7F3E9 !important;
}

/* Destroy any residual white/grey boxes on the accordions */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary {
  background: transparent !important;
  background-color: transparent !important;
  border-color: rgba(247, 243, 233, 0.1) !important; /* Subtle Champagne borders */
}

/* Keep the icons and accents Gold */
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__icon,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-arrow {
  color: #D4AF37 !important;
}

/* =========================================================
   Professional Profile Premium Refresh 2026
   - Editorial hero atmosphere
   - Glassmorphism dark horizon
   - Elevated readability and motion polish
========================================================= */

body.single-professional main.ds-pro {
  --pro-ink: #09152b;
  --pro-navy-deep: #050c1d;
  --pro-navy-mid: #102645;
  --pro-cream: #f7f3e9;
  --pro-gold: #d4af37;
  --pro-gold-soft: rgba(212, 175, 55, 0.34);
  --pro-glass: rgba(9, 24, 47, 0.46);
  --pro-glass-strong: rgba(6, 17, 35, 0.66);
  --pro-border: rgba(247, 243, 233, 0.18);
  --pro-shadow: 0 28px 62px rgba(3, 8, 18, 0.34);
  --pro-bg-image: url('/wp-content/themes/dslaw-theme/assets/img/brand/individuallawyer.png');
  position: relative;
  overflow-x: clip;
}

body.single-professional main.ds-pro .container.ds-pro-container {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
}

body.single-professional main.ds-pro .ds-pro-hero {
  position: relative;
  padding: clamp(28px, 5vw, 54px) 0 clamp(32px, 5vw, 60px);
  border-bottom: 0 !important;
  isolation: isolate;
}

body.single-professional main.ds-pro .ds-pro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(820px 420px at 10% 12%, rgba(212, 175, 55, 0.2), transparent 60%),
    radial-gradient(760px 420px at 94% 18%, rgba(14, 37, 67, 0.14), transparent 64%),
    linear-gradient(165deg, rgba(247, 243, 233, 0.94), rgba(241, 235, 223, 0.76));
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
}

body.single-professional main.ds-pro .ds-pro-hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 24px 52px rgba(20, 42, 67, 0.16);
  pointer-events: none;
  z-index: 1;
}

body.single-professional main.ds-pro .ds-pro-hero .container.ds-pro-container {
  position: relative;
  z-index: 3;
}

body.single-professional main.ds-pro .ds-pro-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 42, 67, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(9, 21, 43, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.single-professional main.ds-pro .ds-pro-breadcrumb a {
  color: rgba(9, 21, 43, 0.76);
  text-decoration: none;
}

body.single-professional main.ds-pro .ds-pro-breadcrumb a:hover {
  color: rgba(9, 21, 43, 0.96);
}

body.single-professional main.ds-pro .ds-pro-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
}

body.single-professional main.ds-pro .ds-pro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
  color: rgba(8, 21, 44, 0.86);
  font-size: 11px;
  font-family: "Poppins", "Source Sans 3", ui-sans-serif, "Segoe UI", sans-serif;
}

body.single-professional main.ds-pro .ds-pro-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pro-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

body.single-professional main.ds-pro .ds-pro-name {
  margin: 0;
  color: rgba(8, 20, 41, 0.96);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.033em;
  text-wrap: balance;
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.38);
}

body.single-professional main.ds-pro .ds-pro-intro {
  margin: 18px 0 0;
  max-width: 64ch;
  color: rgba(10, 24, 44, 0.86);
  font-size: clamp(1rem, 1.46vw, 1.1rem);
  line-height: 1.86;
}

body.single-professional main.ds-pro .ds-pro-tags {
  margin-top: 20px;
  gap: 9px 10px;
}

body.single-professional main.ds-pro .ds-pro-tag {
  margin: 0;
  border: 1px solid rgba(20, 42, 67, 0.24) !important;
  background: rgba(255, 255, 255, 0.54) !important;
  color: rgba(9, 21, 43, 0.88) !important;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

body.single-professional main.ds-pro .ds-pro-tag:hover {
  color: rgba(9, 21, 43, 0.96) !important;
  border-color: rgba(212, 175, 55, 0.68) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 10px 24px rgba(20, 42, 67, 0.12) !important;
}

body.single-professional main.ds-pro .ds-pro-actions {
  margin-top: 24px;
  gap: 12px;
}

body.single-professional main.ds-pro .ds-pro-actions .btn {
  min-height: 48px;
  padding: 0.78rem 1.24rem;
  border-radius: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(20, 42, 67, 0.14);
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-cta {
  border: 1px solid rgba(10, 31, 56, 0.88) !important;
  background: linear-gradient(135deg, #102745, #1f4065) !important;
  color: #fff !important;
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-cta:hover,
body.single-professional main.ds-pro .ds-pro-actions .btn.btn-cta:focus-visible {
  background: linear-gradient(135deg, #122f52, #224a75) !important;
  box-shadow: 0 20px 40px rgba(12, 30, 53, 0.24);
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-ghost {
  border: 1px solid rgba(20, 42, 67, 0.3) !important;
  background: rgba(255, 255, 255, 0.74) !important;
  color: rgba(9, 21, 43, 0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-ghost:hover,
body.single-professional main.ds-pro .ds-pro-actions .btn.btn-ghost:focus-visible {
  border-color: rgba(212, 175, 55, 0.62) !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

body.single-professional main.ds-pro .ds-pro-hero-right {
  position: relative;
}

body.single-professional main.ds-pro .ds-pro-photo {
  position: relative;
  border-radius: 30px;
  padding: 20px 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(20, 42, 67, 0.06), rgba(20, 42, 67, 0));
  box-shadow:
    0 24px 56px rgba(13, 30, 49, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

body.single-professional main.ds-pro .ds-pro-photo::before {
  content: "";
  position: absolute;
  inset: -30% -14% auto;
  height: 64%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.36), transparent 68%);
  filter: blur(16px);
  opacity: 0.68;
  pointer-events: none;
}

body.single-professional main.ds-pro .ds-pro-photo img {
  width: min(100%, 394px);
  margin-inline: auto;
  filter: contrast(113%) saturate(112%) brightness(104%) drop-shadow(0 16px 32px rgba(8, 17, 33, 0.3));
  animation: dsProPortraitFloat 8s ease-in-out infinite;
}

body.single-professional main.ds-pro .ds-pro-contact {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20, 42, 67, 0.18);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.single-professional main.ds-pro .ds-pro-iconbtn {
  border-radius: 12px;
  border-color: rgba(20, 42, 67, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

body.single-professional main.ds-pro .ds-pro-iconbtn:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 12px 24px rgba(20, 42, 67, 0.16);
}

body.single-professional main.ds-pro .archive-horizon-wrapper {
  margin-top: clamp(2.2rem, 4vw, 3.4rem) !important;
  padding: clamp(2.2rem, 4vw, 4rem) 0 !important;
  border-radius: 20px 20px 0 0 !important;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--pro-shadow);
  background:
    radial-gradient(920px 420px at 8% 0%, rgba(212, 175, 55, 0.2), transparent 66%),
    linear-gradient(164deg, rgba(14, 34, 60, 0.88), rgba(5, 12, 29, 0.98)) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper::before {
  content: "";
  background-image: var(--pro-bg-image) !important;
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.07 !important;
  filter: blur(4px) grayscale(100%);
  z-index: 0;
}

body.single-professional main.ds-pro .archive-horizon-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%),
    radial-gradient(420px 240px at 86% 2%, rgba(212, 175, 55, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-layout {
  position: relative;
  z-index: 2;
  gap: clamp(22px, 3.4vw, 40px);
  padding: 0 clamp(1rem, 2.4vw, 2rem) clamp(1.4rem, 3vw, 2.2rem) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-accordion-shell {
  border: 1px solid var(--pro-border) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    var(--pro-glass) !important;
  box-shadow:
    0 22px 48px rgba(3, 10, 22, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(22px) saturate(132%);
  -webkit-backdrop-filter: blur(22px) saturate(132%);
  overflow: hidden !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-accordion-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(247, 243, 233, 0.16);
  pointer-events: none;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-accordion-shell .ds-pro-card-inner {
  padding: 10px clamp(18px, 2.2vw, 28px) 18px !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary {
  padding: 1.24rem 0 !important;
  border-bottom: 1px solid rgba(247, 243, 233, 0.14) !important;
  transition: background-color 240ms ease, border-color 240ms ease;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary:hover {
  background: linear-gradient(90deg, rgba(247, 243, 233, 0.05), rgba(247, 243, 233, 0));
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-minihead,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo-text,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo-year,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-bullets li,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose p,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose strong,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose li,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-name,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-role,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-text {
  color: var(--pro-cream) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title {
  font-family: "Poppins", "Source Sans 3", ui-sans-serif, "Segoe UI", sans-serif;
  letter-spacing: 0.13em;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__title::before,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title::before {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.9), rgba(247, 243, 233, 0.64));
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.12);
  color: var(--pro-gold) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__body {
  padding: 4px 0 14px;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose p,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-bullets li,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item {
  line-height: 1.82;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item::before {
  background-color: var(--pro-gold) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo {
  border-left-color: rgba(212, 175, 55, 0.82);
  padding-left: 1.08rem;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related {
  border: 1px solid var(--pro-border);
  border-radius: 20px;
  padding: 16px 16px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    var(--pro-glass-strong);
  box-shadow: 0 16px 34px rgba(2, 8, 20, 0.26);
  backdrop-filter: blur(20px) saturate(128%);
  -webkit-backdrop-filter: blur(20px) saturate(128%);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-card {
  margin: 0 0 0.92rem;
  padding: 0 0 0.92rem;
  border-bottom: 1px solid rgba(247, 243, 233, 0.14);
  transition: transform 220ms ease, border-color 220ms ease;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-card:hover,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-card:focus-visible {
  transform: translateX(4px);
  border-bottom-color: rgba(212, 175, 55, 0.48);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-role {
  color: rgba(247, 243, 233, 0.72) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-routing {
  margin-top: 16px;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-vcard-link,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-download-btn {
  width: 100%;
  justify-content: space-between;
  padding: 0.82rem 0.96rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
  box-shadow: 0 12px 28px rgba(2, 10, 24, 0.22);
  color: var(--pro-cream) !important;
  text-decoration: none !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-vcard-link:hover,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-download-btn:hover,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-vcard-link:focus-visible,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-download-btn:focus-visible {
  border-color: rgba(212, 175, 55, 0.74);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
}

body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-arrow {
  color: var(--pro-gold) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-node-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-node {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  transform: translate3d(0, 0, 0) scale(var(--node-scale, 1));
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.88), rgba(212, 175, 55, 0.56) 46%, rgba(212, 175, 55, 0.1) 72%, transparent 78%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.28),
    0 0 20px rgba(212, 175, 55, 0.3);
  opacity: 0.54;
  animation: dsProNodeDrift 10s ease-in-out infinite;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.12);
}

@keyframes dsProPortraitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes dsProNodeDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(var(--node-scale, 1));
    opacity: 0.44;
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(calc(var(--node-scale, 1) * 1.08));
    opacity: 0.7;
  }
}

@media (max-width: 1100px) {
  body.single-professional main.ds-pro .container.ds-pro-container {
    width: min(1120px, calc(100% - 34px));
  }

  body.single-professional main.ds-pro .ds-pro-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.single-professional main.ds-pro .ds-pro-photo {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  body.single-professional main.ds-pro .ds-pro-name {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }

  body.single-professional main.ds-pro .ds-pro-intro {
    line-height: 1.74;
  }

  body.single-professional main.ds-pro .archive-horizon-wrapper {
    border-radius: 16px 16px 0 0 !important;
  }

  body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-layout {
    padding: 0 14px 24px !important;
  }

  body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-accordion-shell,
  body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  body.single-professional main.ds-pro .container.ds-pro-container {
    width: min(1120px, calc(100% - 24px));
  }

  body.single-professional main.ds-pro .ds-pro-hero {
    padding: 20px 0 28px;
  }

  body.single-professional main.ds-pro .ds-pro-hero::before,
  body.single-professional main.ds-pro .ds-pro-hero::after {
    border-radius: 18px;
  }

  body.single-professional main.ds-pro .ds-pro-breadcrumb {
    width: 100%;
    justify-content: center;
  }

  body.single-professional main.ds-pro .ds-pro-actions {
    width: 100%;
  }

  body.single-professional main.ds-pro .ds-pro-actions .btn {
    width: 100%;
  }

  body.single-professional main.ds-pro .ds-pro-photo {
    border-radius: 22px;
    padding: 16px 16px 0;
  }

  body.single-professional main.ds-pro .archive-horizon-wrapper {
    margin-top: 1.8rem !important;
    border-radius: 12px 12px 0 0 !important;
  }

  body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-professional main.ds-pro .ds-pro-photo img,
  body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-node {
    animation: none !important;
  }

  body.single-professional main.ds-pro .ds-pro-tag,
  body.single-professional main.ds-pro .ds-pro-related-card,
  body.single-professional main.ds-pro .ds-pro-actions .btn,
  body.single-professional main.ds-pro .ds-pro-vcard-link,
  body.single-professional main.ds-pro .vcard-download-btn,
  body.single-professional main.ds-pro .ds-pro-acc__summary {
    transition: none !important;
  }
}

/* =========================================================
   Single Professional: Body-Level Background Override
   - Use individuallawyer.png on the page body
   - Remove split two-block background layers
========================================================= */

body.single-professional {
  background-color: #050c1d !important;
  background-image:
    linear-gradient(145deg, rgba(5, 12, 29, 0.9), rgba(9, 25, 48, 0.84)),
    url('/wp-content/themes/dslaw-theme/assets/img/brand/individuallawyer.png') !important;
  background-size: cover, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: fixed, fixed !important;
}

body.single-professional main.ds-pro .ds-pro-hero,
body.single-professional main.ds-pro .archive-horizon-wrapper {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-professional main.ds-pro .ds-pro-hero::before,
body.single-professional main.ds-pro .ds-pro-hero::after,
body.single-professional main.ds-pro .archive-horizon-wrapper::before,
body.single-professional main.ds-pro .archive-horizon-wrapper::after {
  content: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-professional main.ds-pro .ds-pro-breadcrumb,
body.single-professional main.ds-pro .ds-pro-breadcrumb a,
body.single-professional main.ds-pro .ds-pro-kicker,
body.single-professional main.ds-pro .ds-pro-name,
body.single-professional main.ds-pro .ds-pro-intro {
  color: #f7f3e9 !important;
}

body.single-professional main.ds-pro .ds-pro-breadcrumb {
  background: rgba(5, 12, 29, 0.42) !important;
  border-color: rgba(247, 243, 233, 0.26) !important;
}

body.single-professional main.ds-pro .ds-pro-kicker {
  border-color: rgba(212, 175, 55, 0.54) !important;
  background: rgba(212, 175, 55, 0.12) !important;
}

body.single-professional main.ds-pro .ds-pro-tag {
  border-color: rgba(247, 243, 233, 0.34) !important;
  background: rgba(5, 12, 29, 0.46) !important;
  color: #f7f3e9 !important;
}

body.single-professional main.ds-pro .ds-pro-tag:hover {
  border-color: rgba(212, 175, 55, 0.72) !important;
  background: rgba(12, 28, 51, 0.62) !important;
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-ghost {
  border-color: rgba(247, 243, 233, 0.32) !important;
  background: rgba(5, 12, 29, 0.5) !important;
  color: #f7f3e9 !important;
}

body.single-professional main.ds-pro .ds-pro-contact {
  background: rgba(5, 12, 29, 0.5) !important;
  border-color: rgba(247, 243, 233, 0.2) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper {
  margin-top: 2rem !important;
}

@media (max-width: 991px) {
  body.single-professional {
    background-attachment: scroll, scroll !important;
  }
}

/* =========================================================
   Single Professional Screenshot Match Layer
========================================================= */

body.single-professional {
  position: relative;
  background-color: #06122a !important;
  background-image:
    linear-gradient(130deg, rgba(4, 12, 30, 0.62), rgba(5, 18, 44, 0.58)),
    url('/wp-content/themes/dslaw-theme/assets/img/brand/individuallawyer.png') !important;
  background-size: cover, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
}

body.single-professional::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform: scale(1.05);
  background:
    linear-gradient(160deg, rgba(2, 10, 24, 0.56), rgba(3, 13, 32, 0.7)),
    url('/wp-content/themes/dslaw-theme/assets/img/brand/individuallawyer.png') center/cover no-repeat;
  filter: blur(4px) saturate(88%);
}

body.single-professional main.ds-pro {
  position: relative;
  padding-bottom: 32px;
}

body.single-professional main.ds-pro::after {
  content: "";
  position: fixed;
  right: 34px;
  bottom: 28px;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 3;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), rgba(213, 175, 73, 0.82));
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.48));
  opacity: 0.72;
}

body.single-professional main.ds-pro .container.ds-pro-container {
  width: min(980px, calc(100% - 40px));
  max-width: 980px;
  padding-left: 0;
  padding-right: 0;
}

body.single-professional main.ds-pro .ds-pro-hero {
  padding: 12px 0 18px;
}

body.single-professional main.ds-pro .ds-pro-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.single-professional main.ds-pro .ds-pro-firmmark {
  color: #c8ae74 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
}

body.single-professional main.ds-pro .ds-pro-kicker.ds-pro-kicker--top {
  margin: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.66) !important;
  background: rgba(8, 22, 45, 0.66) !important;
  color: #f6f0de !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.single-professional main.ds-pro .ds-pro-kicker.ds-pro-kicker--top::before {
  display: none !important;
}

body.single-professional main.ds-pro .ds-pro-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: 32px;
  align-items: start;
}

body.single-professional main.ds-pro .ds-pro-name {
  color: #ccb277 !important;
  margin: 0;
  font-size: clamp(2.45rem, 4.9vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

body.single-professional main.ds-pro .ds-pro-intro {
  max-width: 55ch;
  margin-top: 12px;
  color: rgba(247, 243, 233, 0.9) !important;
  font-size: 1rem;
  line-height: 1.72;
}

body.single-professional main.ds-pro .ds-pro-tags {
  margin-top: 14px;
  gap: 8px;
}

body.single-professional main.ds-pro .ds-pro-tag {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 233, 0.34) !important;
  background: rgba(4, 16, 38, 0.72) !important;
  color: #f7f3e9 !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.12) inset;
}

body.single-professional main.ds-pro .ds-pro-tag:hover {
  background: rgba(8, 24, 50, 0.86) !important;
  border-color: rgba(212, 175, 55, 0.72) !important;
}

body.single-professional main.ds-pro .ds-pro-actions {
  margin-top: 14px;
  gap: 10px;
}

body.single-professional main.ds-pro .ds-pro-actions .btn {
  min-height: 42px;
  padding: 0.56rem 0.98rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-cta {
  border-color: rgba(212, 175, 55, 0.54) !important;
  background: linear-gradient(135deg, rgba(10, 31, 58, 0.94), rgba(9, 26, 50, 0.92)) !important;
}

body.single-professional main.ds-pro .ds-pro-actions .btn.btn-ghost {
  border-color: rgba(247, 243, 233, 0.34) !important;
  background: rgba(3, 14, 35, 0.66) !important;
  color: #f7f3e9 !important;
}

body.single-professional main.ds-pro .ds-pro-hero-right {
  display: flex;
  justify-content: flex-end;
}

body.single-professional main.ds-pro .ds-pro-photo {
  width: min(100%, 340px);
  padding: 8px !important;
  border-radius: 0;
  border: 1px solid rgba(212, 175, 55, 0.84) !important;
  background: rgba(6, 18, 38, 0.66) !important;
  box-shadow: 0 22px 36px rgba(1, 8, 20, 0.42) !important;
  overflow: hidden;
}

body.single-professional main.ds-pro .ds-pro-photo::before {
  display: none;
}

body.single-professional main.ds-pro .ds-pro-photo::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 55, 0.54);
  pointer-events: none;
}

body.single-professional main.ds-pro .ds-pro-photo img {
  width: 100%;
  max-width: none;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  filter: contrast(104%) saturate(102%) brightness(99%) !important;
  animation: none !important;
}

body.single-professional main.ds-pro .ds-pro-contact {
  display: none !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper {
  margin-top: 18px !important;
  padding-top: 0 !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  padding: 0 !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-accordion-shell {
  border-radius: 12px !important;
  border: 1px solid rgba(212, 175, 55, 0.34) !important;
  background: rgba(4, 16, 40, 0.76) !important;
  box-shadow: 0 20px 36px rgba(1, 8, 20, 0.34) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-accordion-shell::before {
  display: none;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary {
  padding: 0.92rem 0 !important;
  border-bottom: 1px solid rgba(247, 243, 233, 0.2) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__summary:hover {
  background: transparent !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__title,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-minihead {
  color: #f7f3e9 !important;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-acc__icon {
  width: 22px;
  height: 22px;
  font-size: 15px;
  border-color: rgba(212, 175, 55, 0.66);
  background: rgba(212, 175, 55, 0.14);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-logo,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-credentials-item,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-bullets li,
body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-prose p {
  color: #f7f3e9 !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.13)) !important;
  box-shadow: 0 20px 36px rgba(1, 8, 20, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title {
  color: rgba(247, 243, 233, 0.92) !important;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-title::before {
  width: 5px;
  height: 1px;
  background: rgba(247, 243, 233, 0.64);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-card {
  margin-bottom: 0.72rem;
  padding-bottom: 0.72rem;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 10px;
  align-items: center;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-meta {
  min-width: 0;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-name {
  font-size: 1rem;
  line-height: 1.24;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-role {
  margin-top: 3px;
  font-size: 0.72rem;
  color: rgba(247, 243, 233, 0.76) !important;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-thumb {
  width: 66px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 233, 0.44);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.28);
  background: rgba(7, 18, 35, 0.58);
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-vcard-link,
body.single-professional main.ds-pro .archive-horizon-wrapper .vcard-download-btn {
  min-height: 36px;
  padding: 0.42rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(247, 243, 233, 0.36);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
}

body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-node-field {
  display: none !important;
}

@media (max-width: 1040px) {
  body.single-professional main.ds-pro .container.ds-pro-container {
    width: min(980px, calc(100% - 30px));
  }

  body.single-professional main.ds-pro .ds-pro-topline {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  body.single-professional main.ds-pro .ds-pro-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.single-professional main.ds-pro .ds-pro-hero-right {
    justify-content: flex-start;
  }

  body.single-professional main.ds-pro .archive-horizon-wrapper .ds-pro-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  body.single-professional main.ds-pro::after {
    width: 22px;
    height: 22px;
    right: 14px;
    bottom: 14px;
    opacity: 0.58;
  }

  body.single-professional main.ds-pro .container.ds-pro-container {
    width: min(980px, calc(100% - 22px));
  }

  body.single-professional main.ds-pro .ds-pro-firmmark {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  body.single-professional main.ds-pro .ds-pro-kicker.ds-pro-kicker--top {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  body.single-professional main.ds-pro .ds-pro-name {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  body.single-professional main.ds-pro .ds-pro-photo {
    width: min(100%, 290px);
  }

  body.single-professional main.ds-pro .ds-pro-tags {
    gap: 6px;
  }

  body.single-professional main.ds-pro .ds-pro-tag {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}

