.pd-property-insights {
    box-sizing: border-box;
    width: 100%;
    margin: 12px 0;
    padding: 0;
    color: #111111;
    background: #f8f6f1;
    border: 1px solid #e2d8c2;
    border-radius: 8px;
    font-family: "Inter", Arial, sans-serif;
    text-align: left;
}

.pd-property-insights__body {
    padding: 24px 26px 26px;
    border-top: 1px solid #e4e8ea;
}

.pd-property-insights__body[hidden] {
    display: none !important;
}

/* Subject-property location preview above the left Showcase photo stack. */
.pd-subject-location {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 14px;
    overflow: hidden;
    background: #e5ebed;
    border: 1px solid #c8d0d3;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(7, 31, 47, 0.08);
    font-family: "Inter", Arial, sans-serif;
}

.pd-subject-location__label {
    margin: 0;
    padding: 8px 10px;
    color: #0a2b42;
    background: #ffffff;
    border-bottom: 1px solid #d5dcdf;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pd-subject-location__map {
    position: relative;
    z-index: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 190px;
    background: #dfe6e9;
}

.pd-subject-location .leaflet-control-attribution {
    max-width: calc(100% - 8px);
    font-size: 7px;
    line-height: 1.2;
    white-space: normal;
}

.pd-subject-location .leaflet-control-zoom a {
    width: 26px;
    height: 26px;
    line-height: 26px;
}

.pd-subject-location .pd-subject-location__marker {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    color: #333333;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 100px;
}

.pd-subject-location .pd-subject-location__marker i {
    color: #333333;
    font-size: 24px;
    line-height: 24px;
}

.pd-subject-location--unavailable {
    display: none;
}

/* Compact Showcase listing remarks with an accessible expansion control. */
.sidx-listing-details .pd-listing-description {
    overflow: hidden;
}

.sidx-listing-details .pd-listing-description--collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.sidx-listing-details .pd-listing-description__toggle {
    display: inline-flex;
    align-items: center;
    margin: 6px 0 14px;
    padding: 0;
    color: #0a2b42;
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.sidx-listing-details .pd-listing-description__toggle:hover,
.sidx-listing-details .pd-listing-description__toggle:focus-visible {
    color: #9a742c;
    background: transparent;
    outline: none;
}

.sidx-listing-details .pd-listing-description__toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(180, 136, 52, 0.22);
}

/* Compact, accessible MLS feature accordions. */
.sidx-listing-details .pd-listing-features {
    margin: 12px 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d7dfe3;
    border-left: 3px solid #b8944b;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(7, 31, 47, 0.05);
}

.sidx-listing-details .pd-listing-features .pd-listing-features__heading {
    margin: 0 !important;
    padding: 0 !important;
    color: #0a2b42 !important;
    background: #f8f6f1 !important;
    border: 0 !important;
}

.sidx-listing-details .pd-listing-features__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 15px 17px;
    color: #0a2b42 !important;
    background: #f8f6f1 !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.sidx-listing-details .pd-listing-features__toggle:hover,
.sidx-listing-details .pd-listing-features__toggle:focus-visible {
    color: #0a2b42 !important;
    background: #f2eee5 !important;
    outline: none;
}

.sidx-listing-details .pd-listing-features__toggle:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(180, 136, 52, 0.28);
}

.sidx-listing-details .pd-listing-features__label {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.sidx-listing-details .pd-listing-features__affordance {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: #526873;
}

.sidx-listing-details .pd-listing-features__status {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.sidx-listing-details .pd-listing-features__icon {
    position: relative;
    flex: 0 0 12px;
    width: 12px;
    height: 8px;
}

.sidx-listing-details .pd-listing-features__icon::before {
    position: absolute;
    top: 0;
    left: 1px;
    width: 8px;
    height: 8px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.sidx-listing-details .pd-listing-features--expanded .pd-listing-features__icon::before {
    top: 4px;
    transform: rotate(225deg);
}

.sidx-listing-details .pd-listing-features > .sidx-details-multi-value {
    margin: 0 !important;
    padding: 12px 16px 16px;
    border-top: 1px solid #e4e8ea;
}

.sidx-listing-details .pd-listing-features > .sidx-details-multi-value[hidden] {
    display: none !important;
}

/* Short visible previews with an early fade and a bottom Show More control. */
.sidx-listing-details .pd-listing-features--preview > .sidx-details-multi-value,
.sidx-listing-details .pd-listing-features--preview > .sidx-schools-list,
.sidx-listing-details .pd-listing-features--preview > .pd-public-data__body,
.sidx-listing-details .pd-listing-features--preview > .pd-property-insights__body {
    position: relative;
    display: block !important;
    max-height: 132px;
    overflow: hidden;
}

.sidx-listing-details .sidx-schools.pd-listing-features--preview > .sidx-schools-list {
    max-height: 218px;
}

.sidx-listing-details #penndwell-property-tax-history.pd-listing-features--preview > .pd-public-data__body,
.sidx-listing-details #penndwell-property-transaction-history.pd-listing-features--preview > .pd-public-data__body {
    max-height: 155px;
}

.sidx-listing-details #penndwell-property-insights.pd-listing-features--preview > .pd-property-insights__body {
    max-height: 150px;
}

.sidx-listing-details .pd-listing-features--preview > .sidx-details-multi-value::after,
.sidx-listing-details .pd-listing-features--preview > .sidx-schools-list::after,
.sidx-listing-details .pd-listing-features--preview > .pd-public-data__body::after,
.sidx-listing-details .pd-listing-features--preview > .pd-property-insights__body::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    content: "";
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 82%);
}

.sidx-listing-details #penndwell-property-insights.pd-listing-features--preview > .pd-property-insights__body::after {
    background: linear-gradient(to bottom, rgba(248, 246, 241, 0), #f8f6f1 82%);
}

.sidx-listing-details .pd-listing-features__more-wrap {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: flex-start;
    min-height: 43px;
    padding: 7px 16px 12px;
    background: #ffffff;
}

.sidx-listing-details .pd-property-insights > .pd-listing-features__more-wrap {
    background: #f8f6f1;
}

.sidx-listing-details .pd-listing-features--preview > .pd-listing-features__more-wrap {
    margin-top: -30px;
    padding-top: 11px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 35%);
}

.sidx-listing-details .pd-property-insights.pd-listing-features--preview > .pd-listing-features__more-wrap {
    background: linear-gradient(to bottom, rgba(248, 246, 241, 0), #f8f6f1 35%);
}

.sidx-listing-details .pd-listing-features__more {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0;
    padding: 2px 0;
    color: #0a4f9c !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.sidx-listing-details .pd-listing-features__more::before {
    width: 8px;
    height: 8px;
    margin: -4px 11px 0 2px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.sidx-listing-details .pd-listing-features--expanded > .pd-listing-features__more-wrap {
    border-top: 1px solid #edf0f1;
}

.sidx-listing-details .pd-listing-features--expanded .pd-listing-features__more::before {
    margin-top: 4px;
    transform: rotate(225deg);
}

.sidx-listing-details .pd-listing-features__more:hover,
.sidx-listing-details .pd-listing-features__more:focus-visible {
    color: #9a742c !important;
    outline: none;
}

.sidx-listing-details .pd-listing-features__more:focus-visible {
    box-shadow: 0 0 0 3px rgba(180, 136, 52, 0.22) !important;
}

/* Schools, public-record tables, and Quick Comps use the same accordion system. */
.sidx-listing-details .pd-listing-public-section > .sidx-schools-list,
.sidx-listing-details .pd-listing-public-section > .pd-public-data__body {
    margin: 0 !important;
    padding: 16px 17px 18px;
    border-top: 1px solid #e4e8ea;
}

.sidx-listing-details .pd-listing-public-section > .sidx-schools-list[hidden],
.sidx-listing-details .pd-listing-public-section > .pd-public-data__body[hidden] {
    display: none !important;
}

.pd-school-rating {
    margin: 0 0 16px;
}

.sidx-listing-details .pd-school-assignments .pd-school-assignment .sidx-key {
    color: #0a2b42;
    font-weight: 800;
}

.sidx-listing-details .pd-school-assignments .pd-school-assignment .sidx-val {
    color: #526873;
}

.pd-school-rating__card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 10px;
    padding: 14px;
    background: #f8f6f1;
    border: 1px solid #dfd6c5;
    border-radius: 6px;
}

.pd-school-rating__score {
    display: flex;
    flex: 0 0 74px;
    align-items: baseline;
    justify-content: center;
    min-height: 60px;
    padding: 11px 7px;
    color: #ffffff;
    background: #0a2b42;
    border-radius: 5px;
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
}

.pd-school-rating__score span {
    margin-left: 2px;
    font-size: 13px;
    font-weight: 700;
}

.pd-school-rating__details strong {
    display: block;
    color: #0a2b42;
    font-size: 15px;
    line-height: 1.35;
}

.pd-school-rating__details p {
    margin: 5px 0 0;
    color: #4e6069;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.sidx-listing-details .pd-school-legacy-field--hidden {
    display: none !important;
}

.pd-school-card {
    margin: 0 0 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d8e0e3;
    border-radius: 7px;
}

.pd-school-card__toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    margin: 0;
    padding: 12px;
    color: #0a2b42 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.pd-school-card__toggle:hover,
.pd-school-card__toggle:focus-visible {
    background: #f8f6f1 !important;
    outline: none;
}

.pd-school-card__toggle:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(180, 136, 52, 0.24) !important;
}

.pd-school-card__score {
    display: inline-flex;
    flex: 0 0 64px;
    align-items: baseline;
    justify-content: center;
    min-height: 52px;
    padding: 10px 6px;
    color: #ffffff;
    background: #0a2b42;
    border-radius: 6px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.pd-school-card__score small {
    margin-left: 2px;
    font-size: 10px;
    font-weight: 800;
}

.pd-school-card__summary {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.pd-school-card__level {
    margin-bottom: 2px;
    color: #9a742c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.pd-school-card__name {
    color: #0a2b42;
    font-size: 14px;
    line-height: 1.3;
}

.pd-school-card__meta {
    margin-top: 4px;
    color: #607078;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
}

.pd-school-card__chevron {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #62747d;
    border-bottom: 2px solid #62747d;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.pd-school-card--expanded .pd-school-card__chevron {
    transform: rotate(225deg);
}

.pd-school-card__details {
    padding: 13px 14px 14px;
    background: #f8fafb;
    border-top: 1px solid #e2e7e9;
}

.pd-school-card__details[hidden] {
    display: none !important;
}

.pd-school-card__tests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.pd-school-card__test {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e0e6e8;
    border-radius: 5px;
}

.pd-school-card__test span,
.pd-school-card__test small {
    color: #5d6d75;
    font-size: 10px;
    line-height: 1.35;
}

.pd-school-card__test strong {
    margin: 3px 0 2px;
    color: #0a2b42;
    font-size: 18px;
    line-height: 1.2;
}

.pd-school-card__facts,
.pd-school-card__links {
    margin: 9px 0 0;
    color: #55666e;
    font-size: 10.5px;
    line-height: 1.45;
}

.pd-public-data__highlight,
.pd-public-data__empty,
.pd-public-data__loading,
.pd-public-data__notice,
.pd-public-data__source {
    margin: 0;
    color: #455860;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.pd-public-data__highlight {
    margin-bottom: 13px;
    padding: 11px 13px;
    color: #0a2b42;
    background: #f8f6f1;
    border-left: 3px solid #b8944b;
    font-weight: 800;
}

.pd-public-data__subheading {
    margin: 2px 0 9px;
    color: #0a2b42;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.pd-public-data__notice + .pd-public-data__subheading,
.pd-public-data__empty + .pd-public-data__subheading,
.pd-public-data__table-wrap + .pd-public-data__subheading {
    margin-top: 19px;
}

.pd-tax-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 14px;
    margin: 0 0 18px;
    padding: 14px 15px;
    color: #0a2b42;
    background: #f8f6f1;
    border: 1px solid #dfd6c5;
    border-left: 3px solid #b8944b;
    border-radius: 6px;
}

.pd-tax-summary__label {
    flex: 1 1 230px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.pd-tax-summary__total {
    color: #0a2b42;
    font-family: "Inter", Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.pd-tax-summary__source {
    flex: 0 0 100%;
    color: #65747a;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
}

.pd-tax-breakdown {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 6px;
}

.pd-tax-breakdown__row {
    display: grid;
    grid-template-columns: minmax(145px, 1fr) minmax(150px, auto);
    gap: 18px;
    align-items: center;
    padding: 10px 13px;
    border-bottom: 1px solid #e7ebed;
}

.pd-tax-breakdown__row:last-child {
    border-bottom: 0;
}

.pd-tax-breakdown__label,
.pd-tax-breakdown__value {
    margin: 0;
    color: #0a2b42;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.pd-tax-breakdown__label {
    font-weight: 800;
}

.pd-tax-breakdown__value {
    text-align: right;
    font-weight: 700;
}

.pd-tax-breakdown__source {
    display: block;
    margin-top: 6px;
    color: #65747a;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 520px) {
    .pd-tax-breakdown__row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .pd-tax-breakdown__value {
        text-align: left;
    }
}

.pd-public-data__empty,
.pd-public-data__loading {
    padding: 13px;
    background: #f6f8f9;
    border: 1px solid #dfe5e8;
    border-radius: 5px;
}

.pd-public-data__notice {
    margin-top: 12px;
    color: #596970;
    font-size: 11px;
}

.pd-public-data__source {
    margin-top: 8px;
    color: #6a757a;
    font-size: 10.5px;
}

.pd-public-data__source-link {
    color: #0a2b42 !important;
    font-weight: 800;
    text-decoration: underline !important;
}

.pd-public-data__source-link:hover,
.pd-public-data__source-link:focus-visible {
    color: #9a742c !important;
}

.pd-public-data__table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dce3e6;
    border-radius: 6px;
}

.pd-public-data__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    color: #273b45;
    background: #ffffff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.pd-public-data__table th,
.pd-public-data__table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5eaec;
    text-align: left;
    white-space: nowrap;
}

.pd-public-data__table th {
    color: #0a2b42;
    background: #f8f6f1;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pd-public-data__table tbody tr:last-child td {
    border-bottom: 0;
}

.pd-public-data__table tbody tr:nth-child(even) td {
    background: #fafbfb;
}

.pd-property-insights__eyebrow {
    margin: 0 0 7px;
    color: #9a742c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pd-property-insights__heading {
    margin: 0 0 10px;
    color: #111111;
    font-family: "Inter", Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.pd-property-insights__description {
    max-width: 720px;
    margin: 0 0 18px;
    color: #333333;
    font-size: 15px;
    line-height: 1.6;
}

.pd-property-insights__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pd-property-insights__form {
    margin: 0;
}

.pd-property-insights .pd-property-insights__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 12px 20px;
    color: #ffffff;
    background: #111111;
    border: 1px solid #111111;
    border-radius: 5px;
    box-shadow: none;
    cursor: pointer;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pd-property-insights .pd-property-insights__button:hover,
.pd-property-insights .pd-property-insights__button:focus-visible {
    color: #111111;
    background: #c9a14a;
    border-color: #c9a14a;
    outline: none;
}

.pd-property-insights .pd-property-insights__button:focus-visible {
    box-shadow: 0 0 0 3px rgba(180, 136, 52, 0.28);
}

.pd-property-insights .pd-property-insights__button--secondary {
    color: #0a2b42;
    background: #ffffff;
    border-color: #9eb2bf;
}

.pd-property-insights .pd-property-insights__button--secondary:hover,
.pd-property-insights .pd-property-insights__button--secondary:focus-visible {
    color: #111111;
    background: #f2e8d3;
    border-color: #b48834;
}

.pd-property-insights__results {
    margin-top: 22px;
}

.pd-property-insights__results[hidden] {
    display: none !important;
}

.pd-property-insights__map-summary {
    margin: 0 0 9px;
    color: #263943;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}

.pd-property-insights__map {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 470px;
    overflow: hidden;
    background: #dfe6e9;
    border: 1px solid #c8d0d3;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(7, 31, 47, 0.08);
}

.pd-property-insights__status {
    margin: 0;
    padding: 14px 16px;
    color: #34464f;
    background: #ffffff;
    border: 1px solid #d7dedf;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.pd-property-insights__status--error {
    color: #7b1f2a;
    border-color: #e2b5bb;
}

.pd-property-insights__retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 10px 0 0;
    padding: 10px 16px;
    color: #111111;
    background: #ffffff;
    border: 1px solid #b48834;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.pd-property-insights__retry:hover,
.pd-property-insights__retry:focus-visible {
    color: #111111;
    background: #f2e8d3;
    outline: none;
}

.pd-property-insights__qualification {
    margin: 14px 0 0;
    color: #555f64;
    font-size: 11px;
    line-height: 1.5;
}

.pd-property-insights__note {
    margin: 14px 0 0;
    color: #686868;
    font-size: 11.5px;
    line-height: 1.5;
}

/* Leaflet price markers */
.pd-property-insights .pd-price-marker-wrap {
    background: transparent;
    border: 0;
}

.pd-property-insights .pd-price-marker {
    position: relative;
    display: inline-flex;
    min-width: 50px;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    padding: 4px 7px;
    color: #ffffff;
    background: #0a2b42;
    border: 2px solid #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.pd-property-insights .pd-price-marker::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 6px solid #0a2b42;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.pd-property-insights .leaflet-marker-icon:hover .pd-price-marker,
.pd-property-insights .leaflet-marker-icon:focus .pd-price-marker {
    color: #111111;
    background: #c9a14a;
}

.pd-property-insights .leaflet-marker-icon:hover .pd-price-marker::after,
.pd-property-insights .leaflet-marker-icon:focus .pd-price-marker::after {
    border-top-color: #c9a14a;
}

.pd-property-insights .pd-subject-tooltip {
    padding: 4px 7px;
    color: #0a2b42;
    background: #ffffff;
    border: 1px solid #0a2b42;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
}

.pd-property-insights .pd-subject-tooltip::before {
    border-top-color: #0a2b42;
}

/* Sold-property popup */
.pd-property-insights .leaflet-popup-content-wrapper {
    border-radius: 7px;
}

.pd-property-insights .leaflet-popup-content {
    width: auto !important;
    margin: 13px;
    font-family: "Inter", Arial, sans-serif;
}

.pd-map-popup__image {
    display: block;
    width: 100%;
    height: 125px;
    margin: 0 0 10px;
    border-radius: 5px;
    object-fit: cover;
}

.pd-map-popup__price,
.pd-map-popup__address,
.pd-map-popup__city,
.pd-map-popup__details,
.pd-map-popup__sold-date,
.pd-map-popup__attribution p {
    margin: 0;
}

.pd-map-popup__price {
    color: #0a2b42;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.pd-map-popup__address {
    margin-top: 5px;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.pd-map-popup__city {
    margin-top: 2px;
    color: #394851;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.pd-map-popup__details,
.pd-map-popup__sold-date {
    margin-top: 7px;
    color: #58676f;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.pd-map-popup__link {
    display: inline-flex;
    margin-top: 10px;
    color: #0a2b42 !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: underline !important;
}

.pd-map-popup__link:hover,
.pd-map-popup__link:focus-visible {
    color: #9a742c !important;
}

.pd-map-popup__attribution {
    margin-top: 10px;
    padding-top: 8px;
    color: #6e777c;
    border-top: 1px solid #e2e5e6;
    font-size: 8.5px;
    line-height: 1.35;
}

.pd-map-popup__attribution p + p {
    margin-top: 3px;
}

.pd-map-popup__logo {
    display: block;
    width: auto;
    max-width: 42px;
    height: auto;
    max-height: 22px;
    margin: 0 0 5px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .pd-subject-location {
        display: none;
    }

    .pd-property-insights {
        margin: 24px 0;
        padding: 0;
    }

    .pd-property-insights__body {
        padding: 20px 16px 22px;
    }

    .pd-property-insights__heading {
        font-size: 22px;
    }

    .pd-property-insights__controls,
    .pd-property-insights__form,
    .pd-property-insights .pd-property-insights__button {
        width: 100%;
    }

    .pd-property-insights__map {
        height: 390px;
    }

    .sidx-listing-details .pd-listing-features__toggle {
        gap: 12px;
        padding: 14px;
    }

    .sidx-listing-details .pd-listing-features__label {
        font-size: 16px;
    }

    .sidx-listing-details .pd-listing-features__status {
        font-size: 10px;
    }

    .sidx-listing-details .pd-listing-features > .sidx-details-multi-value {
        padding: 10px 12px 14px;
    }

    .sidx-listing-details .pd-listing-public-section > .sidx-schools-list,
    .sidx-listing-details .pd-listing-public-section > .pd-public-data__body {
        padding: 13px 12px 15px;
    }

    .pd-school-rating__card {
        align-items: flex-start;
    }

    .pd-school-card__toggle {
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
    }

    .pd-school-card__score {
        flex-basis: 54px;
        min-height: 47px;
        font-size: 22px;
    }

    .pd-school-card__tests {
        grid-template-columns: 1fr;
    }

    .pd-public-data__table {
        min-width: 540px;
    }
}
