.ctrlweb-remax-summary {
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 20%, transparent);
    margin: 32px auto 56px;
    max-width: 1440px;
    padding-top: 20px;
}

.ctrlweb-remax-summary .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.ctrlweb-remax-summary .breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
}

.ctrlweb-remax-summary > h2 {
    font-size: 1.125em;
    margin: 0;
}

.ctrlweb-remax-summary h3 {
    font-size: 0.75em;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
    opacity: 0.7;
    text-transform: uppercase;
}

/* Barre meta : statut, MLS et prix sur une seule ligne. */
.ctrlweb-remax-summary .ctrlweb-remax-property-header {
    align-items: center;
    column-gap: 16px;
    display: flex;
    flex-wrap: wrap;
    margin: 12px 0 20px;
    row-gap: 8px;
}

.ctrlweb-remax-summary .ctrlweb-remax-property-header p {
    margin: 0;
}

.ctrlweb-remax-summary .ctrlweb-remax-property-header .eyebrow {
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 30%, transparent);
    border-radius: 999px;
    font-size: 0.75em;
    letter-spacing: 0.12em;
    line-height: 1.4;
    padding: 4px 12px;
    text-transform: uppercase;
}

.ctrlweb-remax-summary .ctrlweb-remax-property-header .mls {
    font-size: 0.8125em;
    margin-left: auto;
    opacity: 0.7;
}

.ctrlweb-remax-summary .ctrlweb-remax-property-header .price {
    font-size: 1.25em;
    font-weight: 700;
}

.ctrlweb-remax-summary .summary-grid {
    display: grid;
    gap: 24px;
}

.ctrlweb-remax-summary .facts {
    display: grid;
    gap: 10px 20px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 0;
}

.ctrlweb-remax-summary .facts > div {
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 15%, transparent);
    padding-top: 6px;
}

.ctrlweb-remax-summary .facts dt {
    font-size: 0.75em;
    opacity: 0.7;
}

.ctrlweb-remax-summary .facts dd {
    font-weight: 700;
    margin: 2px 0 0;
}

/* Description repliee par defaut : la fiche RE/MAX la montre deja en entier. */
.ctrlweb-remax-summary .description {
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 15%, transparent);
    margin-top: 20px;
    padding-top: 12px;
}

.ctrlweb-remax-summary .description > summary {
    cursor: pointer;
    font-size: 0.9375em;
    font-weight: 700;
}

.ctrlweb-remax-summary .description p {
    margin: 10px 0 0;
}

/* Bloc pleine largeur sous les details : carte a gauche, informations a droite. */
.ctrlweb-remax-summary .supporting-details {
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 15%, transparent);
    display: grid;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
}

.ctrlweb-remax-summary .supporting-info {
    align-content: start;
    display: grid;
    gap: 20px;
}

.ctrlweb-remax-summary .address {
    margin: 0;
}

.ctrlweb-remax-summary .map-wrap {
    display: grid;
    grid-template-rows: 1fr auto;
}

.ctrlweb-remax-summary .map {
    border: 0;
    border-radius: 16px;
    display: block;
    height: 100%;
    max-width: 100%;
    min-height: 200px;
    width: 100%;
}

.ctrlweb-remax-summary .map-meta {
    align-items: baseline;
    column-gap: 12px;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8125em;
    margin: 8px 0 0;
    row-gap: 4px;
}

.ctrlweb-remax-summary .geo {
    opacity: 0.7;
}

.ctrlweb-remax-summary .broker {
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 15%, transparent);
    padding-top: 16px;
}

.ctrlweb-remax-summary .broker-name {
    font-weight: 700;
    margin: 0;
}

.ctrlweb-remax-summary .contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.ctrlweb-remax-summary .contact li:not(:last-child)::after {
    content: "\00b7";
    margin-left: 10px;
    opacity: 0.5;
}

.ctrlweb-remax-summary .agency,
.ctrlweb-remax-summary .areas {
    font-size: 0.8125em;
    margin: 8px 0 0;
    opacity: 0.8;
}

.ctrlweb-remax-summary .source-date {
    font-size: 0.75em;
    margin: 0;
    opacity: 0.7;
}

.ctrlweb-remax-summary .source-date span:not(:first-child)::before {
    content: "\00b7";
    margin: 0 6px;
}

@media (min-width: 768px) {
    .ctrlweb-remax-summary .supporting-details {
        column-gap: 32px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    /* Sans carte, les informations occupent toute la largeur. */
    .ctrlweb-remax-summary .supporting-details:not(:has(.map-wrap)) {
        grid-template-columns: minmax(0, 1fr);
    }
}
