/* HomePro 1.4.22 - native property-description contact links only.
 * Matches explicit and Safari-detected tel/mailto anchors at every breakpoint.
 * Restricting detector types avoids coloring detected dates or addresses.
 * Preserve the theme's font, size and weight and every existing href.
 */
body.single-property .description > .entry-content a[href^="tel:" i]:not(.btn):not(.button):not([role="button"]),
body.single-property .description > .entry-content a[href^="mailto:" i]:not(.btn):not(.button):not([role="button"]),
body.single-property .description > .entry-content a[x-apple-data-detectors-type="telephone" i]:not(.btn):not(.button):not([role="button"]),
body.single-property .description > .entry-content a[x-apple-data-detectors-type="email" i]:not(.btn):not(.button):not([role="button"]) {
    color: #0eaaa6 !important;
    -webkit-text-fill-color: #0eaaa6 !important;
    text-decoration-line: underline !important;
    text-decoration-color: #0eaaa6 !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* WordPress editors may wrap a link in a separately colored span/font tag. */
body.single-property .description > .entry-content a[href^="tel:" i]:not(.btn):not(.button):not([role="button"]) *,
body.single-property .description > .entry-content a[href^="mailto:" i]:not(.btn):not(.button):not([role="button"]) *,
body.single-property .description > .entry-content a[x-apple-data-detectors-type="telephone" i]:not(.btn):not(.button):not([role="button"]) *,
body.single-property .description > .entry-content a[x-apple-data-detectors-type="email" i]:not(.btn):not(.button):not([role="button"]) * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

/* Retain a visible keyboard focus cue; do not change contact-link behavior. */
body.single-property .description > .entry-content a[href^="tel:" i]:not(.btn):not(.button):not([role="button"]):focus-visible,
body.single-property .description > .entry-content a[href^="mailto:" i]:not(.btn):not(.button):not([role="button"]):focus-visible,
body.single-property .description > .entry-content a[x-apple-data-detectors-type="telephone" i]:not(.btn):not(.button):not([role="button"]):focus-visible,
body.single-property .description > .entry-content a[x-apple-data-detectors-type="email" i]:not(.btn):not(.button):not([role="button"]):focus-visible {
    outline: 2px solid #0eaaa6;
    outline-offset: 3px;
    border-radius: 2px;
}
