/* Directories Pro (classic OutList) refresh. Loaded by the CSS module only while the site runs the
   classic directory, so it drops away on its own at cutover. Everything is scoped under .drts. */
.drts{--ocdp-green:#005948;--ocdp-coral:#fc7e7e;--ocdp-line:#ece6dc;--ocdp-ink:#333030;--ocdp-muted:#6b6562}

/* Result cards: one calm style for every card; featured gets a coral edge instead of a coral block. */
.drts .drts-view-entity-container .drts-display--summary-infobox,
.drts .drts-view-entity-container .drts-display-default-summary{background:#fff !important;border:1px solid var(--ocdp-line) !important;border-radius:14px !important;box-shadow:0 10px 26px -22px rgba(0,60,48,.45) !important;padding:16px 16px 14px !important;height:100%;color:var(--ocdp-ink) !important;transition:box-shadow .2s,transform .2s}
.drts .drts-view-entity-container .drts-display--summary-infobox:hover,
.drts .drts-view-entity-container .drts-display-default-summary:hover{box-shadow:0 18px 34px -24px rgba(0,60,48,.55) !important;transform:translateY(-2px)}
/* Membership tiers (Directories Pro priority). These replace the solid color blocks set in the
   WPCode "Membership Tiers" snippet: Transformed = priority 9 (coral), Empowered = 5 (green),
   Elevated = 1 (blue), free listings = no priority (white). Higher specificity + !important wins. */
.drts .drts-view-entity-container .drts-entity-featured-9,
.drts .drts-view-entity-container .drts-entity-featured-5,
.drts .drts-view-entity-container .drts-entity-featured-1{color:var(--ocdp-ink) !important;border-left-width:6px !important;border-left-style:solid !important}
.drts .drts-view-entity-container .drts-entity-featured-9{background:#fff6f5 !important;border-color:#f6d3cf !important;border-left-color:var(--ocdp-coral) !important}
.drts .drts-view-entity-container .drts-entity-featured-5{background:#f2f8f6 !important;border-color:#cfe3dc !important;border-left-color:var(--ocdp-green) !important}
.drts .drts-view-entity-container .drts-entity-featured-1{background:#f3f9fe !important;border-color:#d3e8f8 !important;border-left-color:#44a3ea !important}
.drts .drts-view-entity-container [class*="drts-entity-featured-"] a{color:var(--ocdp-green) !important}
.drts .drts-view-entity-container [class*="drts-entity-featured-"] .drts-entity-field-value,
.drts .drts-view-entity-container [class*="drts-entity-featured-"] .drts-entity-field-value a{color:var(--ocdp-ink) !important}
.drts .drts-view-entity-container [class*="drts-entity-featured-"] .drts-bs-btn{color:#fff !important}
.drts .drts-view-entity-container .drts-display--summary-infobox *,
.drts .drts-view-entity-container .drts-display-default-summary *{color:inherit}
.drts .drts-view-entity-container .drts-display-element-entity_field_post_title-1,
.drts .drts-view-entity-container .drts-display-element-entity_field_post_title-1 a{color:var(--ocdp-green) !important;font-weight:700;line-height:1.25}
.drts .drts-view-entity-container .drts-display-element-entity_field_directory_category-1,
.drts .drts-view-entity-container .drts-display-element-entity_field_directory_category-1 a{color:var(--ocdp-green) !important;opacity:.85}
.drts .drts-view-entity-container .drts-entity-field-label,
.drts .drts-view-entity-container .drts-entity-field-label i{color:var(--ocdp-coral) !important}
.drts .drts-view-entity-container .drts-entity-field-value,
.drts .drts-view-entity-container .drts-entity-field-value a{color:var(--ocdp-ink) !important}
.drts .drts-view-entity-container .drts-bs-list-group-item{background:transparent !important}

/* Buttons */
.drts .drts-view-entity-container .drts-bs-btn,
.drts .drts-display--detailed .drts-bs-btn-outline-primary{background:var(--ocdp-green) !important;border:0 !important;color:#fff !important;border-radius:999px !important;padding:8px 18px !important;font-weight:600 !important;box-shadow:none !important}
.drts .drts-view-entity-container .drts-bs-btn:hover,
.drts .drts-display--detailed .drts-bs-btn-outline-primary:hover{background:#00735d !important;color:#fff !important}
.drts .drts-search-form .drts-bs-btn-primary,
.drts .drts-search-form button[type="submit"]{border-radius:999px !important;font-weight:700 !important;letter-spacing:.02em}
.drts .drts-view-filter-trigger,
.drts .drts-view-nav .drts-bs-btn{border-radius:999px !important}

/* Form fields */
.drts .drts-bs-form-control,
.drts .drts-search-form .drts-bs-form-control{border-radius:10px !important;border-color:#d9e7e2 !important;min-height:42px}
.drts .drts-bs-form-control:focus{border-color:var(--ocdp-green) !important;box-shadow:0 0 0 3px rgba(0,89,72,.12) !important}

/* Listing page */
.drts .drts-display--detailed .drts-entity-fieldlist .drts-entity-field-label i{color:var(--ocdp-coral) !important}
.drts .drts-display--detailed .drts-map-container{border-radius:14px;overflow:hidden;border:1px solid var(--ocdp-line)}

/* Pagination */
.drts .drts-bs-pagination .drts-bs-page-link{border-radius:8px !important;margin:0 3px;color:var(--ocdp-green) !important}
.drts .drts-bs-pagination .drts-bs-active .drts-bs-page-link{background:var(--ocdp-green) !important;border-color:var(--ocdp-green) !important;color:#fff !important}

@media (max-width:600px){
  .drts .drts-view-entity-container .drts-display--summary-infobox,
  .drts .drts-view-entity-container .drts-display-default-summary{padding:14px !important}
}

/* Search fields: pill shape to match the Search button, one border weight */
.drts .drts-search-form .drts-bs-form-control,
.drts .drts-search-form select,
.drts .drts-search-form .select2-container .select2-selection{border-radius:999px !important;border:1px solid #dcd6cc !important;box-shadow:none !important}
.drts .drts-search-form .drts-bs-btn{border-radius:999px !important}
