/* ============================================================
   DCK Directory — front-end styles
   Design language matches the approved contractor profile:
   clean blue/white, light theme, generous cards.
============================================================ */

.dck-profile, .dck-directory-page, .dck-form-page, .dck-login-modal {
  --dck-brand: #1E62B4;
  --dck-brand-deep: #14406F;
  --dck-brand-soft: #E7EFF9;
  --dck-ink: #1C2B3A;
  --dck-muted: #5B6B7C;
  --dck-line: #DCE3EC;
  --dck-ground: #F4F6F9;
  --dck-card: #FFFFFF;
  --dck-star: #F0A32E;
  --dck-good: #17683F;
  --dck-good-soft: #E3F2EA;
  --dck-bad: #A8321F;
  --dck-bad-soft: #FAE9E6;
  --dck-shadow: 0 1px 2px rgba(20,43,70,.06), 0 8px 24px rgba(20,43,70,.07);
  color: var(--dck-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

.dck-wrap { max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px; }
.dck-narrow { max-width: 720px; }
.dck-muted { color: var(--dck-muted); }
.dck-small { font-size: 16px; }
.dck-profile a, .dck-directory-page a, .dck-form-page a { color: var(--dck-brand); text-decoration: none; }
.dck-profile a:hover, .dck-directory-page a:hover, .dck-form-page a:hover { text-decoration: underline; }
.dck-profile :focus-visible, .dck-directory-page :focus-visible, .dck-form-page :focus-visible { outline: 2px solid var(--dck-brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.dck-btn {
  display: inline-block; text-align: center; cursor: pointer;
  background: var(--dck-brand); color: #fff !important;
  border: 0; border-radius: 9px; padding: 12px 18px;
  font-size: 16px; font-weight: 700; text-decoration: none !important;
  font-family: inherit;
}
.dck-btn:hover { filter: brightness(1.08); }
.dck-btn--ghost { background: none; color: var(--dck-brand) !important; border: 1.5px solid var(--dck-brand); }

/* ---------- cards ---------- */
.dck-card {
  background: var(--dck-card); border: 1px solid var(--dck-line);
  border-radius: 12px; padding: 22px 24px; margin-bottom: 20px;
}
.dck-card h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }

/* ============================================================
   PROFILE
============================================================ */
.dck-mosaic {
  position: relative; display: grid; grid-template-columns: repeat(4,1fr);
  grid-template-rows: 170px 170px; gap: 8px; border-radius: 14px; overflow: hidden; margin-bottom: 4px;
}
.dck-mosaic .dck-photo:first-child { grid-column: 1/3; grid-row: 1/3; }
.dck-photo { position: relative; min-height: 100%; background: var(--dck-ground); }
.dck-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dck-all-photos {
  position: absolute; right: 12px; bottom: 12px; background: var(--dck-card);
  color: var(--dck-ink); border: 1px solid var(--dck-line); border-radius: 8px;
  padding: 8px 14px; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: var(--dck-shadow);
}

.dck-head { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0 26px; }
.dck-avatar {
  flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden;
  background: var(--dck-brand-deep); color: #fff; display: grid; place-items: center;
  font-size: 25px; font-weight: 800;
}
.dck-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dck-head h1 { margin: 0 0 6px; font-size: clamp(25px,3.4vw,31px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.dck-verified {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: 4px; margin-left: 10px;
  background: var(--dck-good-soft); color: var(--dck-good); font-size: 14px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.dck-verified svg { fill: currentColor; }
.dck-rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; }
.dck-stars { display: inline-flex; gap: 1px; }
.dck-rating-num { font-weight: 800; }
.dck-dot { color: var(--dck-muted); }
.dck-open-status b { font-weight: 700; }
.dck-open-status.open b { color: var(--dck-good); }
.dck-open-status.closed b { color: var(--dck-bad); }
.dck-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dck-chip { background: var(--dck-brand-soft); color: var(--dck-brand); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.dck-chip--plain { background: var(--dck-ground); color: var(--dck-ink); border: 1px solid var(--dck-line); font-weight: 500; }

.dck-cols { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.dck-main { min-width: 0; }
.dck-main p { max-width: 66ch; }

.dck-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.dck-svc-grid li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.dck-svc-grid svg { flex: none; fill: var(--dck-good); }

.dck-rev-summary { display: flex; gap: 28px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.dck-rev-big { text-align: center; }
.dck-rev-big b { display: block; font-size: 39px; font-weight: 800; line-height: 1; }
.dck-rev-big .dck-stars { margin: 6px 0 2px; }
.dck-rev-big small { color: var(--dck-muted); font-size: 16px; }
.dck-bars { flex: 1; min-width: 220px; display: grid; gap: 5px; }
.dck-bar-row { display: grid; grid-template-columns: 14px 1fr 34px; gap: 10px; align-items: center; font-size: 16px; color: var(--dck-muted); }
.dck-bar { height: 8px; border-radius: 999px; background: var(--dck-ground); overflow: hidden; }
.dck-bar i { display: block; height: 100%; border-radius: 999px; background: var(--dck-star); }
.dck-review { border-top: 1px solid var(--dck-line); padding: 18px 0; }
.dck-rev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dck-rev-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--dck-brand-soft); color: var(--dck-brand); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.dck-rev-head b { display: block; font-size: 16px; }
.dck-rev-head small { color: var(--dck-muted); font-size: 16px; }
.dck-rev-head .dck-stars { margin-left: auto; }
.dck-review p { font-size: 16px; margin: 0 0 8px; }
.dck-rev-tag { display: inline-block; font-size: 14px; font-weight: 600; color: var(--dck-muted); border: 1px solid var(--dck-line); border-radius: 999px; padding: 2px 10px; }
.dck-owner-reply { margin-top: 12px; padding: 12px 14px; background: var(--dck-ground); border-radius: 10px; font-size: 16px; }
.dck-owner-reply b { display: block; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--dck-muted); margin-bottom: 4px; }

.dck-area-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.dck-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.dck-details div small { display: block; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dck-muted); }
.dck-details div b { font-weight: 600; font-size: 16px; }

.dck-faq { border-top: 1px solid var(--dck-line); }
.dck-faq:first-of-type { border-top: 0; }
.dck-faq summary { cursor: pointer; padding: 13px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.dck-faq summary::-webkit-details-marker { display: none; }
.dck-faq summary::after { content: "+"; color: var(--dck-muted); font-size: 20px; }
.dck-faq[open] summary::after { content: "\2013"; }
.dck-faq p { padding-bottom: 14px; margin: 0; font-size: 16px; color: var(--dck-muted); }

/* sidebar */
.dck-side { position: sticky; top: 20px; display: grid; gap: 16px; }
.dck-cta-card { border-top: 4px solid var(--dck-brand); }
.dck-responds { display: flex; align-items: center; gap: 7px; font-size: 16px; color: var(--dck-good); font-weight: 600; margin-bottom: 16px; }
.dck-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--dck-good); }
.dck-quote { display: grid; gap: 10px; }
.dck-quote label { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dck-muted); }
.dck-quote input, .dck-quote textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--dck-line); border-radius: 8px;
  background: var(--dck-ground); color: var(--dck-ink); font: inherit; font-size: 16px;
}
.dck-quote textarea { resize: vertical; min-height: 74px; }
.dck-form-msg { font-size: 16px; margin: 4px 0 0; }
.dck-form-msg.ok { color: var(--dck-good); }
.dck-form-msg.err { color: var(--dck-bad); }
.dck-fine { font-size: 16px; color: var(--dck-muted); text-align: center; margin: 8px 0 0; }
.dck-contact-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 16px; }
.dck-contact-row svg { flex: none; fill: var(--dck-muted); }
.dck-hours-row { align-items: flex-start; }
.dck-socials { display: flex; gap: 14px; padding: 6px 0 2px 29px; font-size: 16px; }
.dck-open-pill { display: inline-block; background: var(--dck-good-soft); color: var(--dck-good); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-left: 8px; }
.dck-open-pill.closed { background: var(--dck-bad-soft); color: var(--dck-bad); }
.dck-hours-table { width: 100%; border-collapse: collapse; font-size: 16px; margin-top: 6px; }
.dck-hours-table td { padding: 4px 0; }
.dck-hours-table td:last-child { text-align: right; color: var(--dck-muted); }
.dck-upsell p { font-size: 16px; }

.dck-btn--ghost[href^="tel"] { display: block; width: 100%; margin-bottom: 14px; }

/* mobile call bar */
.dck-callbar { display: none; }
@media (max-width: 900px) {
  .dck-cols { grid-template-columns: 1fr; }
  .dck-side { position: static; }
  .dck-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 100px; }
  .dck-mosaic .dck-photo:first-child { grid-column: 1/3; grid-row: 1; }
  .dck-mosaic .dck-photo:nth-child(n+4) { display: none; }
  .dck-svc-grid, .dck-details { grid-template-columns: 1fr; }
}

/* ============================================================
   DIRECTORY / SEARCH LANDING
============================================================ */
.dck-hero { text-align: center; padding: 8px 0 22px; }
.dck-hero h1 { font-size: clamp(25px,4vw,39px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.dck-hero > p { color: var(--dck-muted); margin: 0 0 22px; font-size: 16px; }
.dck-searchbar {
  display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap;
  background: var(--dck-card); border: 1px solid var(--dck-line); border-radius: 14px;
  padding: 14px; box-shadow: var(--dck-shadow); max-width: 900px; margin: 0 auto; text-align: left;
}
.dck-field { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.dck-field--grow { flex: 1; min-width: 180px; }
.dck-field label { font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dck-muted); }
.dck-field select, .dck-field input {
  padding: 11px 12px; border: 1px solid var(--dck-line); border-radius: 8px;
  background: var(--dck-ground); color: var(--dck-ink); font: inherit; font-size: 16px;
}
.dck-searchbar .dck-btn { padding: 12px 24px; }

.dck-tiles { margin: 34px 0 10px; }
.dck-tiles h2, .dck-states h2, .dck-results-head h2 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.dck-tiles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; }
.dck-tile {
  text-align: left; cursor: pointer; background: var(--dck-card); border: 1px solid var(--dck-line);
  border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s;
}
.dck-tile:hover { border-color: var(--dck-brand); transform: translateY(-2px); }
.dck-tile.active { border-color: var(--dck-brand); background: var(--dck-brand-soft); }
.dck-tile__name { font-weight: 700; font-size: 16px; }
.dck-tile__count { font-size: 16px; color: var(--dck-muted); }

.dck-results-wrap { margin: 34px 0; }
.dck-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dck-results-head [data-results-count] { color: var(--dck-muted); font-size: 16px; }
.dck-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; }
.dck-results-empty { color: var(--dck-muted); padding: 30px 0; text-align: center; }
.dck-loadmore-wrap { text-align: center; margin-top: 20px; }
.dck-is-loading { opacity: .5; pointer-events: none; }

.dck-card-link, .dck-card {  }
a.dck-card {
  display: flex; flex-direction: column; background: var(--dck-card); border: 1px solid var(--dck-line);
  border-radius: 12px; overflow: hidden; text-decoration: none !important; color: var(--dck-ink) !important;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.dck-card:hover { border-color: var(--dck-brand); transform: translateY(-2px); box-shadow: var(--dck-shadow); }
.dck-card--featured { border-color: var(--dck-brand); }
.dck-card__media { position: relative; height: 150px; background: var(--dck-ground); display: grid; place-items: center; overflow: hidden; }
.dck-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dck-card__ph { font-size: 31px; font-weight: 800; color: var(--dck-brand-deep); opacity: .5; }
.dck-card__badge { position: absolute; top: 10px; left: 10px; background: var(--dck-brand); color: #fff; font-size: 14px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.dck-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.dck-card__body h3 { margin: 0; font-size: 16px; font-weight: 700; }
.dck-verify-dot { color: var(--dck-good); }
.dck-card__rating { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.dck-card__rating span { color: var(--dck-muted); }
.dck-card__area { margin: 0; font-size: 16px; color: var(--dck-muted); }
.dck-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dck-card__chips span { background: var(--dck-brand-soft); color: var(--dck-brand); border-radius: 999px; padding: 2px 9px; font-size: 14px; font-weight: 600; }

.dck-states { margin: 34px 0; }
.dck-states__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 8px; }
.dck-states__grid a { padding: 9px 12px; border: 1px solid var(--dck-line); border-radius: 8px; background: var(--dck-card); font-size: 16px; }
.dck-states__grid a span { color: var(--dck-muted); font-size: 16px; }
.dck-cities { margin: 4px 0 24px; }

.dck-cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--dck-brand-deep); color: #fff; border-radius: 14px; padding: 22px 26px; margin: 24px 0;
}
.dck-cta-strip strong { display: block; font-size: 20px; }
.dck-cta-strip span { opacity: .85; font-size: 16px; }
.dck-cta-strip .dck-btn { background: #fff; color: var(--dck-brand-deep) !important; }

.dck-archive-title { font-size: clamp(20px,3vw,31px); font-weight: 800; margin: 0; }
.dck-back-link { font-size: 16px; }
.dck-pagination { margin-top: 24px; display: flex; gap: 6px; justify-content: center; }
.dck-pagination .page-numbers { padding: 7px 12px; border: 1px solid var(--dck-line); border-radius: 8px; }
.dck-pagination .current { background: var(--dck-brand); color: #fff; border-color: var(--dck-brand); }

/* ============================================================
   FORMS (signup + dashboard)
============================================================ */
.dck-form-page h1 { font-size: clamp(25px,3vw,31px); font-weight: 800; letter-spacing: -.02em; }
.dck-stack { display: grid; gap: 16px; }
.dck-stack > label, .dck-grid2 > label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
.dck-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dck-stack input, .dck-stack select, .dck-stack textarea, .dck-grid2 input, .dck-grid2 select {
  padding: 10px 12px; border: 1px solid var(--dck-line); border-radius: 8px; background: var(--dck-card);
  color: var(--dck-ink); font: inherit; font-size: 16px; font-weight: 400;
}
.dck-check { flex-direction: row !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.dck-checks { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 8px; }
.dck-notice { padding: 12px 16px; border-radius: 10px; margin: 12px 0; font-size: 16px; }
.dck-notice--success { background: var(--dck-good-soft); color: var(--dck-good); }
.dck-notice--error { background: var(--dck-bad-soft); color: var(--dck-bad); }

.dck-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dck-dash-status { display: flex; align-items: center; gap: 12px; }
.dck-plan-badge { font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.dck-plan-free { background: #eee; color: #555; }
.dck-plan-premium { background: var(--dck-brand-soft); color: var(--dck-brand-deep); }
.dck-pill-pending { background: #FFF3D6; color: #8A6100; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.dck-listing-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.dck-listing-switch a { padding: 7px 14px; border: 1px solid var(--dck-line); border-radius: 8px; font-size: 16px; }
.dck-listing-switch a.active { background: var(--dck-brand); color: #fff; border-color: var(--dck-brand); }
.dck-upgrade-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--dck-brand-soft); border: 1px solid #C8DCF3; border-radius: 12px; padding: 16px 20px; margin: 16px 0; font-size: 16px; }
.dck-premium-section.dck-locked { position: relative; }
.dck-premium-section.dck-locked fieldset { opacity: .55; }
.dck-lock-tag { font-size: 14px; font-weight: 700; color: var(--dck-brand-deep); background: var(--dck-brand-soft); padding: 3px 10px; border-radius: 999px; }
.dck-locked-note { color: var(--dck-muted); font-size: 16px; margin-top: -6px; }
.dck-premium-section fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.dck-current-logo img { border-radius: 10px; margin-top: 6px; }
.dck-save-bar { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--dck-ground) 40%); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 780px) {
  .dck-save-bar { position: sticky; bottom: 0; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--dck-card); border-top: 1px solid var(--dck-line); box-shadow: 0 -6px 20px rgba(16,24,40,.1); z-index: 20; }
  .dck-save-bar .dck-btn { flex: 1; }
}
@media (max-width: 640px) { .dck-grid2 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* ============================================================
   SITE CHROME (appended) — paste at the END of
   wp-content/plugins/DCK-main/assets/css/dck-directory.css
   via Plugins -> Plugin File Editor. Covers ALL plugin pages
   including contractor profiles and location archives.
============================================================ */

/* monochrome palette (black/white/gray, blue reserved for accents) */
.dck-profile, .dck-directory-page, .dck-form-page { --dck-brand: #111111; --dck-brand-deep: #000000; --dck-brand-soft: #EFEFEF; --dck-ink: #111111; --dck-muted: #6B6B6B; --dck-line: #E3E3E3; --dck-ground: #F6F6F6; --dck-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08); }
body { background: #F5F5F5; }

/* auth nav button: Login (logged out) / My Account (logged in) */
body:not(.logged-in) .dck-nav-account { display: none !important; }
body.logged-in .dck-nav-login { display: none !important; }
.dck-nav-btn { margin-left: 10px; }
.dck-nav-btn a, li.dck-nav-btn > a { display: inline-block; background: #111111 !important; color: #ffffff !important; border-radius: 999px; padding: 8px 18px; font-weight: 700 !important; }
.dck-nav-btn a span, .dck-nav-btn a div, .dck-nav-btn a * { color: #ffffff !important; font-weight: 700 !important; }
.dck-nav-btn a *, .dck-nav-btn a:hover *, .dck-nav-btn a:focus * { background: transparent !important; box-shadow: none !important; }
.dck-nav-btn a { transition: transform .15s ease, box-shadow .2s ease, background .15s ease; }
.dck-nav-btn a:hover, .dck-nav-btn a:focus { background: linear-gradient(120deg, #1E62B4, #14406F) !important; color: #ffffff !important; text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.35); }

/* dark header (class added by the JS append) */
.dckx-dark-header { background: linear-gradient(120deg, #000000, #1C1C1C 70%, #14406F 170%) !important; border: 0 !important; box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.dckx-dark-header > div, .dckx-dark-header nav, .dckx-dark-header ul { border: 0 !important; }
.dckx-dark-header a, .dckx-dark-header a span, .dckx-dark-header a div, .dckx-dark-header a * { color: #ffffff !important; font-weight: 600 !important; }
.dckx-dark-header a:hover, .dckx-dark-header a:hover *, .dckx-dark-header a:focus * { color: #CFE0F5 !important; }
.dckx-dark-header li:not(.dck-nav-btn) a, .dckx-dark-header li:not(.dck-nav-btn) a *, .dckx-dark-header li:not(.dck-nav-btn) a:hover, .dckx-dark-header li:not(.dck-nav-btn) a:hover *, .dckx-dark-header li:not(.dck-nav-btn) a:focus, .dckx-dark-header li:not(.dck-nav-btn) a:focus * { background: transparent !important; box-shadow: none !important; }
.dckx-dark-header li:not(.dck-nav-btn) a { transition: color .15s ease, transform .15s ease; }
.dckx-dark-header li:not(.dck-nav-btn) a:hover, .dckx-dark-header li:not(.dck-nav-btn) a:hover * { color: #7FB2E5 !important; }
.dckx-dark-header li:not(.dck-nav-btn) a:hover { transform: translateY(-1px); text-decoration: underline !important; text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: #1E62B4; }
.dckx-dark-header .dck-nav-btn a { background: #ffffff !important; }
.dckx-dark-header .dck-nav-btn a, .dckx-dark-header .dck-nav-btn a * { color: #111111 !important; }
.dckx-dark-header .dck-nav-btn a:hover { background: #E7EFF9 !important; }
.dckx-dark-header img[alt="Decorative Concrete Kingdom"] { background: none !important; padding: 0 !important; }
.dckx-dark-header button, .dckx-dark-header svg { color: #ffffff !important; fill: #ffffff !important; }

/* contractor profile: hide the service/area chip wall under the name */
.dck-profile .dck-chips { display: none; }

/* contractor profile: hide the theme's duplicate title + byline (they live in
   article > header) and the featured-image echo (article > figure). Precise
   selectors only — the old [class*="meta" i] rule matched post_class terms like
   dck_service-metallic-marble and hid whole profiles. */
.single-dck_contractor article > header { display: none !important; }
.single-dck_contractor article > figure, .single-dck_contractor .post-thumbnail { display: none !important; }

/* ============================================================
   PROFILE TEMPLATE v2 — tabs, lightbox, map, socials, callbar
   (ported from the approved premium demo)
============================================================ */

/* Tab pill menu under the header */
.dck-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 20px; }
.dck-tab { cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--dck-line); background: var(--dck-card); font: inherit; font-size: 16px; font-weight: 600; color: var(--dck-ink); transition: all .15s ease; }
.dck-tab:hover { border-color: var(--dck-brand); transform: translateY(-1px); }
.dck-tab.active { background: var(--dck-brand); border-color: var(--dck-brand); color: #fff; }

/* Panes: only hidden/toggled when the column is tabbed; free listings stack */
.dck-main.dck-tabbed .dck-pane { display: none; }
.dck-main.dck-tabbed .dck-pane.active { display: block; }
html { scroll-behavior: smooth; }
#dck-quote { scroll-margin-top: 90px; }

/* Mobile "Get a free quote" CTA (hidden on desktop) */
.dck-cta { display: none; }

/* Clickable mosaic photos */
.dck-mosaic .dck-photo { cursor: pointer; }

/* Lightbox */
.dck-lb { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(10,12,16,.93); align-items: center; justify-content: center; }
.dck-lb.open { display: flex; }
.dck-lb-img { max-width: 88vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.dck-lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.dck-lb-btn:hover { background: rgba(255,255,255,.3); }
.dck-lb-prev { left: 22px; }
.dck-lb-next { right: 22px; }
.dck-lb-close { top: 18px; right: 22px; transform: none; font-size: 20px; }
.dck-lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .85; }

/* Google Maps embed */
.dck-map { border-radius: 12px; overflow: hidden; margin: 12px 0 4px; border: 1px solid var(--dck-line); line-height: 0; }
.dck-map iframe { width: 100%; height: 190px; border: 0; display: block; }

/* Hours rows */
.dck-hours-list { margin-top: 10px; }
.dck-hrow { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; border-top: 1px solid var(--dck-line); font-size: 16px; line-height: 1.2; }
.dck-hrow:first-child { border-top: 0; }
.dck-hrow span { color: var(--dck-muted); }
.dck-hrow b { font-weight: 600; font-variant-numeric: tabular-nums; }
.dck-hrow--closed b { color: #5B6B7C; font-weight: 500; }

/* Brand-colored social icons */
.dck-soc { display: flex; gap: 10px; padding: 12px 0 4px 29px; }
.dck-soc a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: transform .15s ease, filter .15s ease; }
.dck-soc a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.dck-soc svg { width: 17px; height: 17px; fill: #fff; }
.dck-soc a[aria-label="Facebook"] { background: #1877F2; }
.dck-soc a[aria-label="Instagram"] { background: radial-gradient(circle at 30% 110%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.dck-soc a[aria-label="YouTube"] { background: #FF0000; }

/* Fixed bottom callbar (mobile only) */
.dck-bar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1; transition: opacity .15s ease; }
.dck-bar-btn:hover { opacity: .88; text-decoration: none; }
.dck-bar-btn svg { flex: 0 0 auto; display: block; }
.dck-bar-ghost { flex: 2; background: #fff; color: #101828 !important; border: 1.5px solid #E3E8EF; }
.dck-bar-solid { flex: 3; background: #101828; color: #fff !important; border: 1.5px solid #101828; }

@media (max-width: 780px) {
  .dck-cta { display: block; background: #101828; color: #fff !important; border-radius: 12px; padding: 15px 18px; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; margin: 2px 0 8px; box-shadow: 0 2px 8px rgba(16,24,40,.18); }
  .dck-head { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .dck-head > div { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
  .dck-head h1 { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 25px; line-height: 1.2; margin: 0; }
  .dck-head .dck-verified { margin: 0; }
  .dck-head .dck-rating-line { justify-content: center; flex-wrap: wrap; font-size: 16px; row-gap: 4px; }
  .dck-chips { justify-content: center; }
  .dck-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 0 16px; padding: 2px 2px 6px; }
  .dck-tabs::-webkit-scrollbar { display: none; }
  .dck-tab { flex: 0 0 auto; }
  .dck-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; margin: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(16,24,40,.12); display: flex; gap: 10px; align-items: stretch; }
  body { padding-bottom: 78px; }
}

/* ============================================================
   SINGLE PROFILE — full-width breakout + theme cleanup
   (baked in from Cowork's custom_css overlays)
============================================================ */
/* Break the profile out of the theme's narrow (~768px) article wrapper. */
.single-dck_contractor .dck-profile {
  position: relative; width: 100vw; left: 50%; margin-left: -50vw;
  background: var(--dck-ground); padding: 8px 0 40px;
}
body.single-dck_contractor { overflow-x: hidden; }
/* The avatar + mosaic handle imagery — hide the theme's featured-image echo. */
.single-dck_contractor img.wp-post-image { display: none !important; }
/* Don't send visitors to other posts (competitors) from a profile. */
.single-dck_contractor .post-navigation,
.single-dck_contractor .posts-navigation,
.single-dck_contractor .nav-links,
.single-dck_contractor .post-nav,
.single-dck_contractor .wp-block-post-navigation-link,
.single-dck_contractor nav[aria-label="Post navigation"] { display: none !important; }

/* ============================================================
   SITEWIDE LOGIN MODAL
============================================================ */
.dck-login-modal { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(10,12,16,.6); align-items: center; justify-content: center; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.dck-login-modal.open { display: flex; }
.dck-login-card { position: relative; background: var(--dck-card); color: var(--dck-ink); border-radius: 14px; padding: 28px 26px 22px; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.dck-login-card h2 { margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.dck-login-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; background: none; font-size: 25px; line-height: 1; color: var(--dck-muted); cursor: pointer; border-radius: 8px; }
.dck-login-close:hover { background: var(--dck-ground); color: var(--dck-ink); }
.dck-login-form { display: grid; gap: 12px; }
.dck-login-form > label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; color: var(--dck-ink); }
.dck-login-form input[type="text"], .dck-login-form input[type="password"] { padding: 11px 12px; border: 1px solid var(--dck-line); border-radius: 8px; background: var(--dck-ground); color: var(--dck-ink); font: inherit; font-size: 16px; }
.dck-login-remember { flex-direction: row !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.dck-login-form .dck-btn { width: 100%; text-align: center; margin-top: 4px; }
.dck-login-links { margin: 14px 0 0; font-size: 16px; text-align: center; color: var(--dck-muted); }

/* ============================================================
   DIRECTORY v2 — location search, filter rail, results + map
============================================================ */
.dck-hero--compact { padding: 6px 0 16px; }
.dck-hero--compact h1 { margin-bottom: 4px; }
.dck-searchbar--location { max-width: 820px; }

.dck-results-head { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; }
.dck-results-head h2 { margin: 0; }
.dck-results-count { color: var(--dck-muted); font-size: 16px; }
.dck-map-toggle { margin-left: auto; display: none; cursor: pointer; background: var(--dck-brand); color: #fff; border: 0; border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 16px; font-weight: 700; }

/* Split view: filters | results | map */
.dck-splitview { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.dck-filters { background: var(--dck-card); border: 1px solid var(--dck-line); border-radius: 12px; padding: 16px 18px; }
.dck-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dck-filters__head h3 { margin: 0; font-size: 16px; font-weight: 800; }
.dck-filter-clear { background: none; border: 0; color: var(--dck-brand); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; padding: 0; }
/* Collapsible pop-down filter groups */
.dck-filter-group { border-top: 1px solid var(--dck-line); }
.dck-filter-group > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 2px; font-size: 16px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--dck-ink);
}
.dck-filter-group > summary::-webkit-details-marker { display: none; }
.dck-filter-group > summary::after { content: "+"; color: var(--dck-muted); font-size: 20px; font-weight: 400; line-height: 1; }
.dck-filter-group[open] > summary::after { content: "\2013"; }
.dck-filter-group > summary:hover { color: var(--dck-brand); }
.dck-filter-body { padding: 2px 0 12px; display: grid; gap: 2px; }
.dck-filter-group .dck-check { display: flex; align-items: center; gap: 8px; font-size: 16px; padding: 3px 0; cursor: pointer; }

.dck-results--list { display: flex; flex-direction: column; gap: 14px; }
.dck-results--list .dck-card { flex-direction: row; }
.dck-results--list .dck-card__media { width: 160px; flex: 0 0 160px; height: auto; min-height: 130px; }
.dck-results--list .dck-card__body { flex: 1; }
@media (max-width: 520px) {
  .dck-results--list .dck-card { flex-direction: column; }
  .dck-results--list .dck-card__media { width: 100%; flex: none; height: 150px; }
}

.dck-map-col { display: none; }
.dck-map-canvas { width: 100%; height: 100%; min-height: 420px; border-radius: 14px; overflow: hidden; border: 1px solid var(--dck-line); z-index: 0; }
.dck-map-canvas .leaflet-popup-content a { color: var(--dck-brand); }

/* Desktop: 3-column with a sticky map */
@media (min-width: 1025px) {
  .dck-splitview { grid-template-columns: 230px minmax(0, 1fr) minmax(340px, 40%); gap: 20px; }
  .dck-filters { position: sticky; top: 20px; }
  .dck-map-col { display: block; position: sticky; top: 20px; height: calc(100vh - 40px); }
}

/* Tablet/mobile: filters stack on top; map opens as a fullscreen overlay */
@media (max-width: 1024px) {
  .dck-map-toggle { display: inline-block; }
  .dck-splitview.dck-show-map .dck-map-col {
    display: block; position: fixed; inset: 0; z-index: 9000; padding: 12px;
    background: var(--dck-ground);
  }
  .dck-splitview.dck-show-map .dck-map-canvas { height: 100%; min-height: 0; }
}

/* ---------- "Where" location typeahead ---------- */
.dck-typeahead-wrap { position: relative; }
.dck-typeahead {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 60; margin: 6px 0 0; padding: 6px;
  list-style: none; background: var(--dck-card); border: 1px solid var(--dck-line);
  border-radius: 10px; box-shadow: var(--dck-shadow); max-height: 300px; overflow-y: auto;
}
.dck-ta-item { padding: 9px 11px; border-radius: 7px; cursor: pointer; font-size: 16px; color: var(--dck-ink); }
.dck-ta-item:hover, .dck-ta-item.active { background: var(--dck-brand-soft); color: var(--dck-brand); }

/* ---------- "Browse by system" tiles (below the contractors) ---------- */
.dck-systems { margin: 34px 0; }
.dck-systems h2 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.dck-systems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .dck-systems__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .dck-systems__grid { grid-template-columns: 1fr; } }
.dck-system-tile {
  cursor: pointer; padding: 0; text-align: left; border: 1px solid var(--dck-line);
  background: var(--dck-card); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.dck-system-tile:hover { border-color: var(--dck-brand); transform: translateY(-2px); box-shadow: var(--dck-shadow); }
.dck-system-tile__img {
  display: block; height: 130px; background-size: cover; background-position: center;
  background-image: linear-gradient(135deg, #8d8579 0%, #6f6a61 55%, #57534c 100%);
}
.dck-system-tile__name { padding: 12px 14px; font-weight: 700; font-size: 16px; color: var(--dck-ink); }

/* ---------- AJAX results pagination buttons ---------- */
.dck-pagination { flex-wrap: wrap; }
.dck-page {
  min-width: 38px; padding: 7px 12px; border: 1px solid var(--dck-line); border-radius: 8px;
  background: var(--dck-card); color: var(--dck-ink); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.dck-page:hover:not(:disabled):not(.current) { border-color: var(--dck-brand); color: var(--dck-brand); }
.dck-page.current { background: var(--dck-brand); color: #fff; border-color: var(--dck-brand); cursor: default; }
.dck-page:disabled { opacity: .5; cursor: default; }
.dck-page.dck-page-gap { border: 0; background: none; opacity: .7; cursor: default; min-width: 0; padding: 7px 4px; }

/* ===== Location directory pages (/contractors/…) + breadcrumbs ===== */
.dck-crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 16px; color: var(--dck-muted); }
.dck-crumbs li { display: inline-flex; align-items: center; }
.dck-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--dck-line); }
.dck-crumbs a { color: var(--dck-muted); }
.dck-crumbs a:hover { color: var(--dck-brand); }
.dck-crumbs-wrap .dck-wrap { padding-bottom: 0; }
.dck-crumbs-wrap .dck-crumbs ol { margin-bottom: 0; }
.dck-loc-head { margin: 4px 0 22px; }
.dck-loc-intro { margin: 10px 0 0; max-width: 760px; color: var(--dck-muted); font-size: 16px; line-height: 1.55; }
.dck-loc-section { margin: 28px 0; }
.dck-loc-section h2 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.dck-loc-section > p { margin: -6px 0 14px; font-size: 16px; }
.dck-location-page .dck-pagination { margin-top: 20px; }
.dck-location-page .dck-pagination .page-numbers { display: inline-block; min-width: 36px; padding: 7px 10px; margin: 0 3px 6px 0; text-align: center; border: 1px solid var(--dck-line); border-radius: 8px; background: var(--dck-card); font-size: 16px; }
.dck-location-page .dck-pagination .current { background: var(--dck-brand); border-color: var(--dck-brand); color: #fff; }

/* 1.10.2 — cover photo on listings without a gallery */
.dck-cover { margin: 0 0 18px; border-radius: 16px; overflow: hidden; background: var(--dck-ground); aspect-ratio: 16 / 6; }
.dck-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .dck-cover { aspect-ratio: 16 / 9; border-radius: 12px; } }
.dck-map.dck-leaflet { height: 200px; line-height: normal; position: relative; z-index: 0; }

/* Scroll-linked header (1.15.0, see assets/js/dck-header-scroll.js).
   Built for smoothness: nothing in the header changes size or position in the
   page layout while you scroll — the header box keeps its full height, and the
   effect is drawn with transforms only (GPU-composited, no reflow):
   - the white bar is a layer that slides up so only the slim bar shows,
   - the logo slides left and shrinks, the menu glides to the centre,
   - both move up to stay centred in the slimmer bar.
   Where the browser supports scroll-driven animations (Chrome/Edge, Safari 26+)
   the motion is tied to the scrollbar by the browser itself (off the main
   thread); elsewhere a requestAnimationFrame script drives --dck-p. */
header#masthead.dck-scrollfx {
  --dck-h-full: 104px; --dck-h-slim: 60px; --dck-logo-min: 0.57;
  --dck-dy: calc((var(--dck-h-slim) - var(--dck-h-full)) / 2);
  background: transparent !important; box-shadow: none !important; border-bottom-color: transparent !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  overflow: hidden; isolation: isolate; pointer-events: none;
  transition: none !important; margin-bottom: 0 !important;
}
@media (min-width: 1024px) {
  header#masthead.dck-scrollfx { --dck-h-full: 152px; --dck-h-slim: 64px; --dck-logo-min: 0.4; }
}
/* Everything you can click stays clickable; the see-through strip under the slim bar lets clicks reach the page. */
header#masthead.dck-scrollfx > nav { pointer-events: none; height: var(--dck-h-full) !important; transition: none !important; }
header#masthead.dck-scrollfx > nav > *,
header#masthead.dck-scrollfx > :not(nav) { pointer-events: auto; }
/* The bar itself. */
header#masthead.dck-scrollfx::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--dck-h-full); z-index: -1;
  background: var(--dck-hbg, #fff); box-shadow: var(--dck-hshadow, 0 1px 0 rgba(0,0,0,.08)); border-bottom: var(--dck-hborder, 0 none);
  transform: translate3d(0, calc((var(--dck-h-slim) - var(--dck-h-full)) * var(--dck-p, 0)), 0);
  will-change: transform; pointer-events: none;
}
header#masthead.dck-scrollfx > nav > * {
  transform: translate3d(0, calc(var(--dck-dy) * var(--dck-p, 0)), 0);
  transition: none !important; will-change: transform;
}
header#masthead.dck-scrollfx > nav > .flex-shrink-0 {
  transform: translate3d(calc(-1 * var(--dck-logo-shift, 0px) * var(--dck-p, 0)), calc(var(--dck-dy) * var(--dck-p, 0)), 0) scale(calc(1 - (1 - var(--dck-logo-min)) * var(--dck-p, 0)));
  transform-origin: left center; backface-visibility: hidden;
}
header#masthead.dck-scrollfx > nav > .flex-shrink-0 a,
header#masthead.dck-scrollfx > nav > .flex-shrink-0 img { transition: none !important; }
header#masthead.dck-scrollfx > nav > .flex-shrink-0 + div {
  transform: translate3d(calc(-1 * var(--dck-menu-shift, 0px) * var(--dck-p, 0)), calc(var(--dck-dy) * var(--dck-p, 0)), 0);
}
/* Browser-driven version: same end states, animated by the scroll position itself. */
@keyframes dck-hdr-bar  { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(var(--dck-h-slim) - var(--dck-h-full)), 0); } }
@keyframes dck-hdr-y    { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--dck-dy), 0); } }
@keyframes dck-hdr-logo { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(calc(-1 * var(--dck-logo-shift, 0px)), var(--dck-dy), 0) scale(var(--dck-logo-min)); } }
@keyframes dck-hdr-menu { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1 * var(--dck-menu-shift, 0px)), var(--dck-dy), 0); } }
@supports (animation-timeline: scroll()) {
  html.dck-sda header#masthead.dck-scrollfx::before,
  html.dck-sda header#masthead.dck-scrollfx > nav > * {
    animation: dck-hdr-y linear both; animation-timeline: scroll(root block); animation-range: 0px var(--dck-dist, 160px);
  }
  html.dck-sda header#masthead.dck-scrollfx::before { animation-name: dck-hdr-bar; }
  html.dck-sda header#masthead.dck-scrollfx > nav > .flex-shrink-0 { animation-name: dck-hdr-logo; }
  html.dck-sda header#masthead.dck-scrollfx > nav > .flex-shrink-0 + div { animation-name: dck-hdr-menu; }
}
html.dck-scrollfx-on, html.dck-scrollfx-on body { overflow-anchor: none; }
@media (prefers-reduced-motion: reduce) {
  header#masthead.dck-scrollfx > nav > *, header#masthead.dck-scrollfx::before { will-change: auto; }
}
/* Keep the sticky header below the WordPress admin bar for logged-in users. */
body.admin-bar header#masthead { top: 32px; }
@media (max-width: 782px) { body.admin-bar header#masthead { top: 46px; } }
@media (max-width: 600px) { body.admin-bar header#masthead { top: 0; } }

/* 1.10.7 — state/city page map + local content */
.dck-loc-map { height: 360px; border-radius: 14px; overflow: hidden; border: 1px solid var(--dck-line); position: relative; z-index: 0; }
@media (max-width: 700px) { .dck-loc-map { height: 280px; } }
.dck-local__body { max-width: 860px; line-height: 1.7; color: #374151; }
.dck-local__body h3 { font-size: 20px; font-weight: 700; margin: 1.6em 0 .5em; color: #111827; }
.dck-local__body p { margin: 0 0 1em; }
.dck-local__body ul { margin: 0 0 1em 1.2em; list-style: disc; }
.dck-local__body li { margin: .25em 0; }
/* Contact Form 7 quote form on free listings */
.dck-cta-card .wpcf7 label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 10px; color: #374151; }
.dck-cta-card .wpcf7 input[type=text], .dck-cta-card .wpcf7 input[type=tel], .dck-cta-card .wpcf7 input[type=email], .dck-cta-card .wpcf7 textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--dck-line); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.dck-cta-card .wpcf7 textarea { min-height: 96px; }
.dck-cta-card .wpcf7 input[type=submit] { width: 100%; padding: 12px 16px; border: 0; border-radius: 999px; background: #111827; color: #fff; font-weight: 700; cursor: pointer; }
.dck-cta-card .wpcf7 .wpcf7-response-output { margin: 10px 0 0; font-size: 16px; border-radius: 8px; }


/* Free listings: no tap-to-call — the quote button fills the mobile bar (1.16.1). */
.dck-callbar > .dck-bar-btn:only-child { flex: 1 1 100%; }
.dck-phone-plain b { font-weight: 700; color: var(--dck-ink, #111); user-select: all; }
.dck-url-plain { color: var(--dck-ink, #111); font-weight: 600; word-break: break-all; user-select: all; }

/* ============================================================
   Homepage "Explore" (1.19.0): top 3 listings | big map, 50/50,
   filters in a bar under the map. Styled after the GeoDirectory
   directory demo's Explore block.
   ============================================================ */
.dck-splitview.dck-explore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 24px; align-items: start; }
.dck-explore .dck-results-col { min-width: 0; }
.dck-results--compact { display: flex; flex-direction: column; gap: 0; }
.dck-results--compact a.dck-card {
  flex-direction: row; align-items: stretch; gap: 16px; padding: 14px 4px; background: none;
  border: 0; border-bottom: 1px solid var(--dck-line); border-radius: 0; box-shadow: none; transform: none;
}
.dck-results--compact a.dck-card:last-child { border-bottom: 0; }
.dck-results--compact a.dck-card:hover { transform: none; box-shadow: none; background: var(--dck-ground); border-color: var(--dck-line); }
.dck-results--compact .dck-card__media { flex: 0 0 132px; width: 132px; height: 132px; min-height: 0; border-radius: 14px; }
.dck-results--compact .dck-card__media img { margin: 0 !important; }
.dck-results--compact .dck-card__body { padding: 2px 0; gap: 5px; flex: 1; min-width: 0; }
.dck-results--compact .dck-card__body h3 { font-size: 16px; line-height: 1.25; }
.dck-results--compact .dck-card__area { font-size: 16px; }
.dck-results--compact .dck-card__badge { top: 8px; left: 8px; }
.dck-see-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 16px; color: var(--dck-brand); text-decoration: none; }
.dck-see-all:hover { text-decoration: underline; }
.dck-see-all[hidden] { display: none; }

.dck-explore .dck-map-col { display: flex; flex-direction: column; gap: 12px; position: static; height: auto; min-width: 0; }
.dck-explore__canvas { position: relative; }
.dck-explore .dck-map-canvas { height: 520px; min-height: 0; border-radius: 16px; }
.dck-map-full-btn {
  position: absolute; top: 12px; right: 12px; z-index: 500; width: 38px; height: 38px; border-radius: 10px;
  border: 0; background: #fff; color: var(--dck-ink, #111); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.dck-map-full-btn:hover { background: var(--dck-ground); }
.dck-explore .dck-map-col.dck-map-full { position: fixed; inset: 0; z-index: 99990; background: #fff; padding: 0; gap: 0; }
.dck-explore .dck-map-col.dck-map-full .dck-explore__canvas { flex: 1; }
.dck-explore .dck-map-col.dck-map-full .dck-map-canvas { height: 100%; border-radius: 0; border: 0; }
.dck-explore .dck-map-col.dck-map-full .dck-filters--bar { border-radius: 0; border-width: 1px 0 0; }
html.dck-map-full-on, html.dck-map-full-on body { overflow: hidden; }

/* Filter bar under the map: dropdown chips */
.dck-filters.dck-filters--bar { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; }
.dck-filters--bar .dck-filter-drop { position: relative; border: 0; }
.dck-filters--bar .dck-filter-drop > summary {
  padding: 9px 14px; border: 1px solid var(--dck-line); border-radius: 999px; background: #fff;
  text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 600;
}
.dck-filters--bar .dck-filter-drop > summary::after { content: "\25BE"; font-size: 14px; margin-left: 2px; }
.dck-filters--bar .dck-filter-drop[open] > summary { border-color: var(--dck-brand); }
.dck-filters--bar .dck-filter-drop[open] > summary::after { content: "\25B4"; }
.dck-filters--bar .dck-filter-body {
  position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 600; min-width: 240px; max-height: 320px; overflow: auto;
  background: #fff; border: 1px solid var(--dck-line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--dck-shadow);
}
.dck-filters--bar .dck-filter-clear { margin-left: auto; }

@media (max-width: 900px) {
  .dck-splitview.dck-explore { grid-template-columns: 1fr !important; }
  .dck-explore .dck-map-col { order: -1; }
  .dck-explore .dck-map-canvas { height: 360px; }
  .dck-filters--bar .dck-filter-body { bottom: auto; top: calc(100% + 8px); }
}
@media (max-width: 520px) {
  .dck-results--compact a.dck-card { gap: 12px; }
  .dck-results--compact .dck-card__media { flex-basis: 96px; width: 96px; height: 96px; border-radius: 12px; }
}

/* Review platform label (1.19.0) */
.dck-rev-src { display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #eef3fd; color: #1a56c4; font-size: 14px; font-weight: 700; }

/* Free listing "coming soon" placeholders (1.19.1) */
.dck-soon-wrap { display: grid; gap: 16px; }
.dck-soon { background: #f6f7f9; border: 1px dashed #d5d9e0; box-shadow: none; }
.dck-soon__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dck-soon__head h2 { margin: 0; color: #5B6B7C; }
.dck-soon__pill { flex: none; padding: 4px 11px; border-radius: 999px; background: #e7eaef; color: #4B5563; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.dck-soon__lines { display: grid; gap: 9px; }
.dck-soon__lines i, .dck-soon__chips i, .dck-soon__tiles span, .dck-soon__avatar {
  display: block; border-radius: 8px;
  background: linear-gradient(90deg, #e6e9ee 0%, #eff1f4 50%, #e6e9ee 100%); background-size: 200% 100%;
  animation: dck-soon-shimmer 2.4s ease-in-out infinite;
}
.dck-soon__lines i { height: 11px; }
.dck-soon__lines i.is-short { width: 55%; }
.dck-soon__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dck-soon__tiles span { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 12px; }
.dck-soon__tiles svg { fill: #c9ced6; }
.dck-soon__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dck-soon__chips i { height: 30px; width: 118px; border-radius: 999px; }
.dck-soon__chips i:nth-child(2n) { width: 92px; }
.dck-soon__chips i:nth-child(3n) { width: 140px; }
.dck-soon__review { display: flex; gap: 12px; align-items: flex-start; }
.dck-soon__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; }
.dck-soon__review > div { flex: 1; display: grid; gap: 8px; }
.dck-soon__stars { color: #d3d7de; letter-spacing: 2px; font-size: 16px; }
@keyframes dck-soon-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .dck-soon__lines i, .dck-soon__chips i, .dck-soon__tiles span, .dck-soon__avatar { animation: none; } }
/* Phones: keep the quote form close to the top. */
@media (max-width: 900px) { .dck-soon--extra { display: none; } }
@media (max-width: 520px) { .dck-soon__tiles { gap: 6px; } .dck-soon__tiles span { border-radius: 8px; } .dck-soon__tiles svg { width: 16px; height: 16px; } }

/* Free listings: "Is this your business?" bar + claim popup (1.19.2) */
.dck-claim-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  margin: 0 0 18px; padding: 11px 16px; border-radius: 12px;
  background: #fff8e6; border: 1px solid #f3dfa6; color: #5c4610; font-size: 16px;
}
.dck-claim-bar__q { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dck-claim-bar__q svg { fill: #c89310; flex: none; }
.dck-claim-bar__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: #111827; color: #fff !important; border: 0; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: background .15s ease;
}
.dck-claim-bar__btn:hover { background: #000; }
.dck-claim-modal {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  padding: 28px 26px 22px; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.dck-claim-modal::backdrop { background: rgba(17,24,39,.55); }
.dck-claim-modal h2 { margin: 0 32px 6px 0; font-size: 20px; line-height: 1.25; }
.dck-claim-modal > p { margin: 0 0 16px; font-size: 16px; }
.dck-claim-modal__x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #f1f3f6; font-size: 20px; line-height: 1; cursor: pointer;
}
.dck-claim-modal__x:hover { background: #e4e7ec; }
.dck-claim-modal select { width: 100%; }
@media (max-width: 520px) {
  .dck-claim-bar { padding: 10px 12px; font-size: 16px; }
  .dck-claim-bar__btn { width: 100%; justify-content: center; }
}
.dck-claim-modal, .dck-claim-modal * { box-sizing: border-box; }
.dck-claim-modal .wpcf7 label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 10px; color: #374151; text-transform: none; letter-spacing: 0; }
.dck-claim-modal .wpcf7 input[type=text], .dck-claim-modal .wpcf7 input[type=tel], .dck-claim-modal .wpcf7 input[type=email], .dck-claim-modal .wpcf7 select, .dck-claim-modal .wpcf7 textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--dck-line); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--dck-ink); }
.dck-claim-modal .wpcf7 textarea { min-height: 80px; height: 80px; }
.dck-claim-modal .wpcf7 input[type=submit] { width: 100%; margin-top: 4px; padding: 12px 16px; border: 0; border-radius: 999px; background: #111827; color: #fff; font-weight: 700; cursor: pointer; }
.dck-claim-modal .wpcf7 .wpcf7-response-output { margin: 10px 0 0; font-size: 16px; border-radius: 8px; }

/* 1.21.0: styles that used to be inline style="" attributes in the templates. */
.dck-stars svg.is-on { fill: var(--dck-star); }
.dck-stars svg.is-off { fill: var(--dck-line); }
.dck-inline-form { margin: 0; }
.dck-grow { flex: 1; }

/* 1.21.0: moved here from DCK Directory → Settings → Custom CSS (CSS lives in stylesheets, not the database).
   Header, footer and mobile-menu styling moved to Appearance → Customize → Additional CSS. */
/* Hide theme breadcrumbs site-wide (the plugin prints its own) */
nav[aria-label="Breadcrumb"]:not(.dck-crumbs) { display: none !important; }
/* Theme typography injects its own li markers; they double up with the plugin's check icons */
.dck-profile ul li::before, .dck-profile ul li::marker { content: none !important; display: none !important; }
.dck-svc-grid li { padding-left: 0 !important; }
.single-dck_contractor article > .max-w-4xl { margin-top: 12px; }
.single-dck_contractor article > .py-12 { padding-top: 10px !important; }
/* Hide the "Are you the owner?" upsell card on profiles */
.dck-profile .dck-upsell { display: none !important; }

/* 1.21.1: nothing on the site renders below 14px. <small> defaults to 80% of its parent,
   so give it a floor (class-level, so it beats the theme's small { font-size: 80% }). Leaflet's map credits too. */
.dck-profile small, .dck-directory-page small, .dck-form-page small, .dck-login-modal small, .dck-band small { font-size: 16px; }
.leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-popup-content { font-size: 14px; }


/* Company logos (merged in 1.23.0 from the logo build): show the whole logo on white, never cropped */
.dck-avatar.dck-avatar--logo { background: #fff; border: 1px solid var(--dck-line, #e5e7eb); padding: 6px; width: auto; min-width: 72px; max-width: 200px; }
.dck-avatar.dck-avatar--logo img { width: auto; height: 100%; max-width: 186px; object-fit: contain; }
.dck-avatar.dck-avatar--logo.is-light { background: #111827; border-color: #111827; }

/* ===== Logos on result cards + profile header (1.21.0): always the whole logo, nothing on top ===== */
.dck-card__media.dck-card__media--logo { background: #fff; box-shadow: inset 0 0 0 1px var(--dck-line, #e5e7eb); }
.dck-card__media.dck-card__media--logo.is-light { background: #111827; box-shadow: none; }
.dck-card .dck-card__media.dck-card__media--logo img.dck-card__logo,
.page-id-38 .dck-card .dck-card__media.dck-card__media--logo img.dck-card__logo {
  position: absolute; top: 12%; left: 10%; right: auto; bottom: auto; width: 80%; height: 76%;
  margin: 0 !important; object-fit: contain !important; object-position: center; transform: none !important;
}
a.dck-card:hover .dck-card__media--logo img.dck-card__logo { transform: none !important; }
.dck-card__badge.dck-card__badge--inline { position: static; display: inline-block; align-self: flex-start; margin: 0 0 4px; }
/* Profile header: room for wide logos; the mobile header styles shrink the avatar to a 56px square. */
.dck-head .dck-avatar.dck-avatar--logo,
.dck-head .dck-avatar.dck-avatar--logo[class] { width: auto; height: 88px; min-width: 88px; max-width: 260px; padding: 8px; line-height: normal; }
.dck-head .dck-avatar.dck-avatar--logo img { width: auto; height: 100%; max-width: 244px; object-fit: contain; }
@media (max-width: 780px) {
  .dck-head .dck-avatar.dck-avatar--logo,
  .dck-head .dck-avatar.dck-avatar--logo[class] { height: 72px; min-width: 72px; max-width: min(260px, 80vw); }
  .dck-head .dck-avatar.dck-avatar--logo img { max-width: calc(min(260px, 80vw) - 16px); }
}
/* 1.21.1: the theme gives content images a 16px top/bottom margin and height:auto, which pushed
   the logo down and cut off its bottom edge. Size the logo by max-height instead. */
.dck-head .dck-avatar.dck-avatar--logo img {
  margin: 0 !important; padding: 0 !important; position: static !important; border-radius: 0 !important;
  width: auto !important; height: auto !important; max-width: 244px !important; max-height: 72px !important;
  object-fit: contain !important; transform: none !important;
}
@media (max-width: 780px) {
  .dck-head .dck-avatar.dck-avatar--logo img { max-height: 56px !important; max-width: calc(min(260px, 80vw) - 16px) !important; }
}
.dck-card .dck-card__media--logo img.dck-card__logo { padding: 0 !important; border-radius: 0 !important; max-width: none !important; max-height: none !important; }
