/* DIRTGRID brand layer. Orange #F26B1D is always paired with charcoal #1F2328 text (white on orange is only 3.05:1; charcoal is 5.19:1). */
:root {
  --accent: #F26B1D;
  --dg-orange: #F26B1D; --dg-orange-dark: #D95A12; --dg-charcoal: #1F2328; --dg-sand: #C9A86A; --dg-bg: #F4F1EA;
}
body, button, input, select, textarea { font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; }
#c27-site-wrapper, body { background-color: var(--dg-bg) !important; }
a:hover { color: var(--dg-orange-dark); }

/* ---------- Header ---------- */
.header .header-skin, .header-skin, .header-container { background: var(--dg-charcoal) !important; }
.header .main-nav > li > a, .header .main-menu > li > a { font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.header .main-nav > li > a:hover, .header .main-menu > li > a:hover { color: var(--dg-orange) !important; }
/* Logo: default stays in the header bar. On desktop, html.dg-logo-col is set when the
   hero leaves a usable left gutter; the mark is then centered in that full-height
   header+hero column. Theme header.css loads later, so sizes use !important.
   The header bar height does not grow. Hero text and buttons are not shifted. */
:root { --dg-logo-col: 120px; }
.header .header-left {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  padding: 0 20px 0 16px;
  margin: 0;
}
.header .header-container .header-top .logo,
.header .logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  float: none;
  height: auto;
  margin: 0;
}
.header .logo a,
.header .logo a.static-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  line-height: 0;
  gap: 0;
}
.header .logo img,
.header .header-container .header-top .logo a img,
.header.header-style-default .header-container .header-top .logo a img {
  display: block;
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  margin: 0 !important;
  image-rendering: auto;
}
/* Orange underline under the header logo removed site-wide (Bobby, 2026-12-01). */
.header .logo a::after,
html.dg-logo-col .header .logo a::after {
  content: none !important;
  display: none !important;
}
/* Default (header-bar) sand divider — hidden on the desktop column and on phones. */
.header .header-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--dg-sand);
  opacity: .8;
  pointer-events: none;
}

/* Desktop: center the logo in the existing header+hero left gutter. Do not indent the band. */
html.dg-logo-col .header .header-left {
  width: var(--dg-logo-col);
  min-width: 0;
  padding: 0;
  align-self: auto;
  height: auto;
}
html.dg-logo-col .header .header-left::after { display: none; }
html.dg-logo-col .header .logo,
html.dg-logo-col .header .header-container .header-top .logo {
  position: fixed !important;
  top: var(--dg-logo-top, 0px) !important;
  left: 0 !important;
  width: var(--dg-logo-col) !important;
  height: var(--dg-logo-h, 170px) !important;
  max-height: none !important;
  z-index: 100003;
  box-sizing: border-box;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
}
html.dg-logo-col .header .logo a,
html.dg-logo-col .header .logo a.static-logo { pointer-events: auto; width: 100%; }
html.dg-logo-col .header .logo img,
html.dg-logo-col .header .header-container .header-top .logo a img,
html.dg-logo-col .header.header-style-default .header-container .header-top .logo a img {
  width: 66% !important;          /* 60–70% of the column width */
  height: auto !important;
  max-height: none !important;
  max-width: 70% !important;
  margin: 0 !important;
}
/* Sand rule only when the gutter is wide enough that it doesn't crowd the hero. */
html.dg-logo-col .header .logo::after { content: none; }
html.dg-logo-col-rule .header .logo::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--dg-sand);
  opacity: .8;
  pointer-events: none;
}

@media (min-width: 1201px) {
  .header-container > .container { min-height: 56px; }
}
@media (max-width: 1279px) {
  .header .mobile-menu { margin-right: 12px; }
}
@media (max-width: 480px) {
  .header .header-left { padding: 0 10px 0 8px; }
  .header .logo img,
  .header .header-container .header-top .logo a img,
  .header.header-style-default .header-container .header-top .logo a img {
    height: 48px !important; max-height: 48px !important; /* fits the 60px mobile header */
  }
  .header .header-left::after { display: none; } /* keep the 60px bar clean; logo underline already off site-wide */
}
.header .user-area a, .header .user-area span { font-size: 14px; }
.header .user-area a:hover { color: var(--dg-orange) !important; }

/* ---------- Buttons ---------- */
a.buttons.button-1, .buttons.button-1,
a.buttons.button-2, .buttons.button-2, button.buttons.button-2,
.elementor-button.elementor-button, .ha-btn, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce #respond input#submit.alt, input[type="submit"].buttons {
  background: var(--dg-orange) !important; border-color: var(--dg-orange) !important; color: var(--dg-charcoal) !important;
  font-weight: 600; border-radius: 6px; box-shadow: none;
}
a.buttons.button-1:hover, .buttons.button-1:hover, a.buttons.button-2:hover, .buttons.button-2:hover, button.buttons.button-2:hover,
.elementor-button:hover, .ha-btn:hover {
  background: var(--dg-orange-dark) !important; border-color: var(--dg-orange-dark) !important; color: var(--dg-charcoal) !important;
}
.buttons.button-1 i, .buttons.button-2 i { color: var(--dg-charcoal) !important; }

/* ---------- Explore: tabs, sliders, clusters, pagination ---------- */
.explore-head .explore-types .item.active a, .explore-types .item.active a { color: var(--dg-charcoal) !important; border-bottom-color: var(--dg-orange) !important; }
.explore-head .explore-types .item.active i { color: var(--dg-orange-dark) !important; }
.explore-head .explore-types .item.active:after, .explore-types .item.active:before { background: var(--dg-orange) !important; }
.explore-head .explore-types .item a:hover { color: var(--dg-orange-dark); }
.explore-head .explore-types h4 { font-size: 14px; font-weight: 600; }
.finder-title h2 { font-size: 14px; font-weight: 600; color: var(--dg-charcoal); }
.ui-slider-range, .ui-widget-header { background: var(--dg-orange) !important; }
.ui-slider .ui-slider-handle { border-color: var(--dg-orange) !important; }
.leaflet-marker-icon.clusterDiv, .clusterDiv, .marker-cluster div { background: var(--dg-orange) !important; color: var(--dg-charcoal) !important; font-weight: 700; box-shadow: 0 0 0 4px rgba(242,107,29,.25); }
.cluster-counter, .clusterDiv span { color: var(--dg-charcoal) !important; }
.c27-explore-pagination .current, span.current { background: var(--dg-orange) !important; color: var(--dg-charcoal) !important; }
.map-marker i.mi, .marker-icon i.mi, .leaflet-marker-icon i.mi { background: var(--dg-orange) !important; color: var(--dg-charcoal) !important; }
.explore-head-top-filters a, .explore-head-top-filters i { color: var(--dg-charcoal) !important; }
.mobile-explore-head-top i { color: var(--dg-charcoal); }
.explore-filter .md-checkbox input:checked + label:before, .md-checkbox input:checked + label:before { background: var(--dg-orange) !important; border-color: var(--dg-orange) !important; }
#c27-explore-listings { border: 1px solid rgba(31,35,40,.12); box-shadow: 0 1px 2px rgba(31,35,40,.06); }

/* ---------- Homepage band (Elementor html widget, front page) ---------- */
#dg-band-section, #dg-band-section > .elementor-container, #dg-band-section .elementor-widget-wrap, #dg-band-section .elementor-element-populated { padding: 0 !important; margin: 0 !important; }
.dg-band { background: var(--dg-charcoal); border-bottom: 3px solid var(--dg-sand); padding: 30px 24px 28px; }
.dg-band-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.dg-band-copy { flex: 1 1 520px; min-width: 0; }
.dg-band h1 { margin: 0 0 8px; padding: 0; font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--dg-bg); letter-spacing: -.01em; }
.dg-band p { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.5; color: #D6D0C2; }
.dg-band-cta { display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap; }
.dg-btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; transition: background .15s, color .15s; }
.dg-btn-primary { background: var(--dg-orange); border-color: var(--dg-orange); color: var(--dg-charcoal) !important; }
.dg-btn-primary:hover { background: var(--dg-orange-dark); border-color: var(--dg-orange-dark); }
.dg-btn-ghost { background: transparent; border-color: var(--dg-sand); color: var(--dg-bg) !important; }
.dg-btn-ghost:hover { background: var(--dg-sand); color: var(--dg-charcoal) !important; }
.dg-btn-ghost.is-active { background: var(--dg-sand); color: var(--dg-charcoal) !important; }
/* I HAVE DIRT / I NEED DIRT: orange border, white text, charcoal/transparent fill. Active fills orange with charcoal text (5.19:1; white-on-orange is 3.05:1). */
.dg-btn-dirt { background: transparent; border-color: var(--dg-orange); color: #fff !important; }
.dg-btn-dirt:hover { background: rgba(242,107,29,.16); color: #fff !important; }
.dg-btn-dirt.is-active, .dg-btn-dirt:active { background: var(--dg-orange); border-color: var(--dg-orange); color: var(--dg-charcoal) !important; }
.dg-btn:focus-visible { outline: 3px solid var(--dg-sand); outline-offset: 2px; }
/* Replace the Browse-by-type tab row with a compact I HAVE DIRT / I NEED DIRT / PITS segmented control.
   The original Vue tabs stay in the DOM (hidden) so MyListing setType() and the pit-type / recent-days
   rows can still anchor after .explore-types. Aggregates and Dump Sites use a matching smaller control.
   Do not use the class .dgt-map-btn here — that is the Expand map control (position:absolute). */
#c27-explore-listings .explore-head .finder-title,
#c27-explore-listings .explore-head .explore-types { display: none !important; }
.dgt-map-filters {
  display: block;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: #fff;
  padding: 10px 16px 8px;
  border-bottom: 1px solid rgba(31, 35, 40, .08);
}
.dgt-map-filters-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid rgba(31, 35, 40, .22);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
#c27-explore-listings > .explore-head {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}
.dgt-type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  min-height: 38px;
  height: 38px;
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid rgba(31, 35, 40, .18);
  border-radius: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none !important;
  background: #fff;
  color: var(--dg-charcoal) !important;
  transition: background .15s, color .15s;
}
.dgt-type-btn:last-child { border-right: 0; }
.dgt-type-btn:hover { background: var(--dg-bg); color: var(--dg-charcoal) !important; }
.dgt-type-btn.is-active, .dgt-type-btn:active {
  background: var(--dg-charcoal);
  color: var(--dg-bg) !important;
}
.dgt-type-btn:focus-visible { outline: 2px solid var(--dg-sand); outline-offset: -2px; z-index: 1; }
.dgt-map-filters-more {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin: 8px auto 0;
  box-sizing: border-box;
  border: 1px solid rgba(31, 35, 40, .22);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.dgt-map-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--dg-charcoal) !important;
  text-decoration: none !important;
  background: #fff;
  padding: 6px 16px;
  min-height: 32px;
  border: 0;
  border-right: 1px solid rgba(31, 35, 40, .18);
  border-bottom: 0;
  opacity: 1;
  transition: background .15s, color .15s;
}
.dgt-map-more:last-child { border-right: 0; }
.dgt-map-more:hover { background: var(--dg-bg); color: var(--dg-charcoal) !important; }
.dgt-map-more.is-active {
  background: var(--dg-charcoal);
  color: var(--dg-bg) !important;
  border-bottom: 0;
  opacity: 1;
}
.dgt-map-more:focus-visible { outline: 2px solid var(--dg-sand); outline-offset: -2px; z-index: 1; }
@media (max-width: 600px) {
  .dgt-map-filters { padding: 8px 10px 8px; }
  .dgt-type-btn { font-size: 13px; padding: 8px 6px; height: 36px; min-height: 36px; }
  .dgt-map-more { font-size: 12px; padding: 6px 12px; }
}
@media (max-width: 380px) {
  .dgt-type-btn { font-size: 12px; padding: 8px 4px; }
}
#explore { padding-top: 20px; padding-bottom: 28px; scroll-margin-top: 70px; }
@media (max-width: 767px) {
  .dg-band { padding: 20px 16px 20px; }
  .dg-band h1 { font-size: 24px; }
  .dg-band p { font-size: 14px; }
  .dg-band-cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dg-band-cta .dg-btn { flex: none; width: 100%; text-align: center; padding: 11px 12px; box-sizing: border-box; }
}

/* ---------- Footer ---------- */
.footer, .footer.footer-mode-dark, footer.footer { background: var(--dg-charcoal) !important; color: #D6D0C2; }
.footer a { color: var(--dg-bg); }
.footer a:hover { color: var(--dg-orange) !important; }
.footer .footer-bottom, .footer .footer-bottom p { color: #B9B3A5; font-size: 13px; }
.footer .social-links a, .footer ul.main-menu a { font-weight: 500; font-size: 14px; }
.footer .back-to-top-btn, .back-to-top { background: var(--dg-orange) !important; color: var(--dg-charcoal) !important; }

/* Home: let the footer follow the content instead of being pushed below a 100vh wrapper. */
body.home #c27-site-wrapper { min-height: 0 !important; }
.footer .main-menu a, .footer .social-nav a, .footer ul.main-menu li a { color: var(--dg-bg) !important; opacity: 1 !important; padding: 0 12px; }
.footer .social-nav, .footer .social-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; }
.footer .copyright p { color: #B9B3A5 !important; }
.tab-switch, .tab-switch a, .explore-mobile-nav a { color: var(--dg-charcoal) !important; }
.tab-switch i, .explore-mobile-nav i, .mi.view_module, .mi.map { color: var(--dg-orange-dark) !important; }
.listing-details .ld-info a:hover i { color: var(--dg-orange-dark); }
.profile-menu li.active a, .profile-menu li a:hover { color: var(--dg-charcoal) !important; }
.profile-menu li.active a:after, .profile-menu li.active:after, .profile-menu li.active a:before { background: var(--dg-orange) !important; border-color: var(--dg-orange) !important; }
.profile-menu li.active, .profile-menu li.active a { border-bottom-color: var(--dg-orange) !important; }

/* ---------- Price badge on Pit cards and map pop-ups: "$7.00/yd" or "$9.75/ton" (text comes from the Pits result template; absent when no price) ---------- */
.lf-item .lf-head { top: 12px; left: 12px; right: auto; }
.lf-item .lf-head .lf-head-btn {
  display: inline-block; background: var(--dg-orange) !important; color: var(--dg-charcoal) !important; border: 0 !important;
  border-radius: 6px; padding: 5px 10px; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; box-shadow: 0 1px 3px rgba(31,35,40,.3);
}
.lf-item .lf-head .lf-head-btn:empty { display: none; }

/* Photo tips callout on the add-listing form */
.dg-photo-tips{display:block;font-size:14px;line-height:1.5;color:#1F2328;background:#F4F1EA;border:1px solid #C9A86A;border-left:4px solid #F26B1D;border-radius:6px;padding:12px 14px;margin:8px 0 10px;font-weight:400}
.dg-photo-tips strong{display:block;margin-bottom:4px;font-size:15px}
.dg-photo-tips ol{margin:0 0 6px 18px;padding:0}.dg-photo-tips li{margin:2px 0}.dg-photo-tips span{display:block;font-weight:600}
.field-head small.description{display:block;font-size:inherit}
.form-section .pf-head.round-icon .title-style-1 i{background:#F26B1D!important;color:#1F2328!important}
.dg-photo-tips ol{list-style:decimal!important}.dg-photo-tips li{list-style:decimal!important;color:#1F2328!important}.dg-photo-tips,.dg-photo-tips *{color:#1F2328}

/* Map layer toggle (Map | Satellite) */
.leaflet-top.leaflet-right{display:flex;flex-direction:column;align-items:flex-end}
.dg-layer-ctl{display:flex!important;align-items:stretch;background:#1F2328;border:0!important;border-radius:6px!important;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.3)!important;margin-top:10px!important}
.dg-layer-ctl button{background:transparent;color:#F4F1EA;border:0;padding:7px 12px;font:600 13px/1 Roboto,Arial,sans-serif;cursor:pointer;min-height:32px}
.dg-layer-ctl button.on{background:#F26B1D;color:#1F2328}
.dg-layer-ctl .dg-lab{display:flex;align-items:center;gap:5px;color:#F4F1EA;font:600 12px/1 Roboto,Arial,sans-serif;padding:0 10px;margin:0;border-left:1px solid #3a3f45;cursor:pointer}
.dg-layer-ctl .dg-lab input{margin:0;accent-color:#F26B1D}

/* Your site address box + distance lines */
#dg-site-box{clear:both;width:100%;box-sizing:border-box;background:#1F2328;color:#F4F1EA;padding:12px 16px;border-top:1px solid #3a3f45}
#dg-site-box .dg-site-in{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#dg-site-box label{margin:0;font:600 14px/1 Roboto,Arial,sans-serif;color:#F4F1EA}
#dg-site-box .dg-site-field{position:relative;flex:1 1 320px;min-width:200px}
#dg-site-box input[type=search]{width:100%;box-sizing:border-box;height:40px;padding:0 12px;border:1px solid #C9A86A;border-radius:6px;background:#F4F1EA;color:#1F2328;font-size:15px}
#dg-site-box .dg-site-go{height:40px;padding:0 18px;border:0;border-radius:6px;background:#F26B1D;color:#1F2328;font-weight:700;cursor:pointer}
#dg-site-box .dg-site-list{position:absolute;z-index:99999;left:0;right:0;top:44px;margin:0;padding:4px 0;list-style:none;background:#fff;border:1px solid #C9A86A;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.25);max-height:260px;overflow:auto}
#dg-site-box .dg-site-list li{padding:12px 12px;min-height:20px;border-bottom:1px solid #eee;touch-action:manipulation;color:#1F2328;cursor:pointer;font-size:14px}
#dg-site-box .dg-site-list li.act,#dg-site-box .dg-site-list li:hover,#dg-site-box .dg-site-list li:focus{background:#F4F1EA;outline:0}
#dg-site-box .dg-site-list li.act{box-shadow:inset 3px 0 0 #F26B1D}
#dg-site-box .dg-site-list li.none{color:#5a6068;cursor:default}
#dg-site-box .dg-site-saved{flex:1 1 auto;font-size:15px}#dg-site-box .dg-site-saved a{color:#F26B1D;font-weight:700}
#dg-site-box .dg-sort{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px}#dg-site-box .dg-sort input{accent-color:#F26B1D}
#dg-site-box .dg-site-note{display:block;margin-top:6px;color:#aab0b6;font-size:11px}
.dg-dist{margin-top:4px;font:700 13px/1.3 Roboto,Arial,sans-serif;color:#fff}
.lf-item .dg-dist{display:inline-block;background:rgba(31,35,40,.82);padding:2px 8px;border-radius:4px;color:#F4F1EA}
.dg-dist-single{margin:6px 0 10px;color:#1F2328;font-size:15px}.dg-dist-single a{color:#F26B1D}
.dg-site-pin span{display:block;width:20px;height:20px;border-radius:50%;background:#1F2328;border:4px solid #F26B1D;box-shadow:0 0 0 2px #fff,0 2px 8px rgba(0,0,0,.5)}
@media(max-width:700px){#dg-site-box{padding:10px 12px}#dg-site-box .dg-site-in{gap:8px}#dg-site-box .dg-site-field{flex-basis:100%}}

/* ---------- Frozen top: header + slim band stay fixed while scrolling (homepage/explore) ---------- */
body.admin-bar header.c27-main-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.c27-main-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar header.c27-main-header { top: var(--dg-adm, 46px); } }
header.c27-main-header { z-index: 100002 !important; }               /* above the map, Leaflet controls, address box + its dropdown */
#dg-band-section { position: -webkit-sticky; position: sticky; top: var(--dg-hdr, 89px); z-index: 100001; }
.dg-band { padding: 10px 24px 9px; }
.dg-band-in { flex-wrap: wrap; gap: 12px 24px; }
.dg-band-copy { flex: 1 1 280px; }
.dg-band h1 { font-size: 24px; line-height: 1.2; margin: 0 0 2px; }
.dg-band p { font-size: 14px; line-height: 1.35; max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dg-band-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-band-cta .dg-btn { padding: 9px 18px; font-size: 14px; white-space: nowrap; }
html { scroll-padding-top: var(--dg-top, 170px); }
#explore { scroll-margin-top: var(--dg-top, 170px); }
@media (max-width: 1199px) {
  .dg-band-cta { flex: 1 1 100%; }
}
@media (max-width: 991px) {
  .dg-band-in { flex-wrap: wrap; }
  .dg-band p { display: none; }
  .dg-band-cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dg-band-cta .dg-btn { flex: none; width: 100%; text-align: center; }
}
@media (max-width: 767px) {
  .dg-band { padding: 8px 12px 8px; }
  .dg-band-in { gap: 6px; }
  .dg-band-copy { flex: 1 1 100%; }
  .dg-band h1 { font-size: 16px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dg-band-cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dg-band-cta .dg-btn { padding: 8px 10px; font-size: 13px; flex: none; width: 100%; text-align: center; box-sizing: border-box; }
}
/* If header + band would eat more than ~25% of a short screen, keep only the button bar. */
@media (max-width: 991px) and (max-height: 640px) { .dg-band h1 { display: none; } }
@media (max-height: 520px) { .dg-band { padding: 4px 12px; } .dg-band h1 { display: none; } .dg-band-cta .dg-btn { padding: 5px 10px; } }

/* Remaining theme purple -> brand orange (orange always carries charcoal text) */
.listing-main-buttons .lmb-calltoaction, .listing-main-buttons .lmb-calltoaction a { background: var(--dg-orange) !important; border-color: var(--dg-orange) !important; color: var(--dg-charcoal) !important; }
.listing-main-buttons .lmb-calltoaction a i, .listing-main-buttons .lmb-calltoaction a .icon { color: var(--dg-charcoal) !important; }
.chat-counter-container { background: var(--dg-orange) !important; color: var(--dg-charcoal) !important; }

/* The theme's generated stylesheet (loaded after this one) resets --accent to its default purple; win on specificity. */
html:root { --accent: #F26B1D; }
