/* APD 647 — live, per-listing cancellation, house-rule and safety truth. */

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  background: #fff !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section > h2 {
  margin: 0 0 20px !important;
  color: #171717 !important;
  font-size: clamp(27px, 7vw, 37px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd52-rules-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd52-rules-grid > article.apd647-truth-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: start !important;
  gap: 15px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(16px, 4.5vw, 22px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 23, 42, .09) !important;
  border-radius: 23px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(207, 225, 255, .28), transparent 36%),
    linear-gradient(145deg, #fff, #fbfcff) !important;
  box-shadow: 0 14px 32px rgba(18, 31, 53, .085), inset 0 1px 0 #fff !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd52-rules-grid > article.apd647-truth-card::after {
  display: none !important;
  content: none !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 66px !important;
  height: 66px !important;
  min-width: 66px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-icon > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 9px rgba(21, 38, 64, .16)) !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy h3 {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 1px 0 6px !important;
  color: #171b22 !important;
  font-size: clamp(18px, 4.7vw, 23px) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: -.025em !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-policy-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 29px !important;
  margin: 1px 0 3px !important;
  padding: 5px 10px !important;
  border: 1px solid rgba(22, 74, 146, .13) !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, #eef6ff, #dceaff) !important;
  box-shadow: 0 4px 10px rgba(32, 88, 164, .09), inset 0 1px 0 #fff !important;
  color: #173e75 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section [data-apd647-cancel-scope] {
  display: block !important;
  margin: 1px 0 8px !important;
  color: #6c7480 !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy > p {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 10px !important;
  color: #59616d !important;
  font-size: 13.5px !important;
  line-height: 1.48 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy ul {
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy li {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  color: #303743 !important;
  font-size: 12.5px !important;
  font-weight: 590 !important;
  line-height: 1.42 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy li::before {
  content: '' !important;
  position: absolute !important;
  top: .47em !important;
  left: 1px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #1d4f91 !important;
  box-shadow: 0 0 0 3px rgba(29, 79, 145, .09) !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section [data-kind="warning"]::before,
html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section [data-kind="not_allowed"]::before {
  background: #a34a2b !important;
  box-shadow: 0 0 0 3px rgba(163, 74, 43, .09) !important;
}

html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section [data-kind="allowed"]::before,
html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section [data-kind="clear"]::before {
  background: #22734a !important;
  box-shadow: 0 0 0 3px rgba(34, 115, 74, .09) !important;
}

@media (max-width: 370px) {
  html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd52-rules-grid > article.apd647-truth-card {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
  }

  html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd647-truth-copy li {
    font-size: 12px !important;
  }
}

@media (min-width: 880px) {
  html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd52-rules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  html body.single-listing.apd647-listing-release .apd52-rules-section.apd647-truth-section .apd52-rules-grid > article.apd647-truth-card {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    height: 100% !important;
  }
}
