/* Realtor007.ai REPAIR-07C-C — scoped raw/default link normalization */
a.r007-linkfix {
  color: #64d2c8 !important;
  text-decoration: none !important;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: normal;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, opacity .18s ease;
}
a.r007-linkfix:visited { color: #64d2c8 !important; }
a.r007-linkfix:hover,
a.r007-linkfix:focus-visible {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Preserve REPAIR-05 effective hit areas for previously classless standalone anchors. */
a.r007-linkfix-hitarea,
a.r007-linkfix-toc,
a.r007-linkfix-sidecard,
a.r007-linkfix-cta,
a.r007-linkfix-disclosure {
  position: relative;
}
a.r007-linkfix-hitarea::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  inline-size: 100%;
  block-size: 100%;
  min-inline-size: 44px;
  min-block-size: 44px;
  pointer-events: auto;
}

/* TOC and sidecard families need full-row, non-browser-default navigation. */
a.r007-linkfix-toc,
a.r007-linkfix-sidecard {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.35;
}
a.r007-linkfix-toc::before,
a.r007-linkfix-sidecard::before {
  content: '';
  width: 16px;
  height: 1px;
  flex: 0 0 16px;
  background: #C8102E;
}

/* Existing CTA-like raw links become explicit, accessible controls without altering destinations. */
a.r007-linkfix-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(100,210,200,.38);
  border-radius: 999px;
  background: rgba(100,210,200,.10);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
a.r007-linkfix-cta:visited { color: #ffffff !important; }
a.r007-linkfix-cta:hover,
a.r007-linkfix-cta:focus-visible {
  color: #ffffff !important;
  text-decoration: none !important;
  background: rgba(100,210,200,.18);
  border-color: rgba(100,210,200,.65);
}

/* Renovation-estimator disclosure links are actual 44px controls, not pseudo-only hit areas. */
a.r007-linkfix-disclosure {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  max-inline-size: 100%;
  vertical-align: middle;
  white-space: normal;
  line-height: 1.35;
}

/* Skip links remain hidden until keyboard focus. */
a.r007-linkfix-skip {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
a.r007-linkfix-skip:focus,
a.r007-linkfix-skip:focus-visible {
  left: 16px !important;
  top: 16px !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  z-index: 100000 !important;
  padding: 12px 16px;
  border: 2px solid #64d2c8;
  border-radius: 8px;
  background: #080808;
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 760px) {
  a.r007-linkfix-cta {
    width: 100%;
    white-space: normal;
  }
  a.r007-linkfix-toc,
  a.r007-linkfix-sidecard,
  a.r007-linkfix-disclosure {
    min-height: 44px;
  }
}
