/**
 * Haven Design System 1.1 — Section cards (benchmark direction)
 * ==============================================================
 * Every builder section renders as a white card on the sunken canvas:
 * faint border, 16px radius, generous padding, and a section header of
 * a small gold glyph + semibold title. Per-type glyphs key off the
 * generated section classes; unknown/custom sections get the generic
 * glyph — the builder stays SSOT for order and presence.
 *
 * The hero gallery is the one exception (chrome-free, handled in
 * hero-gallery.css) — excluded via :not() below.
 *
 * @package Havenlytics
 * @since   3.7.0
 */

/* ======================================================================
 * CARD SHELL
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__details-card:not(.hvnly-property-single__section-gallery) {
    background: var(--hvnly-color-bg-white);
    border: 1px solid var(--hvnly-border-color);
    border-radius: var(--hvnly-card-radius, 12px);
    box-shadow: 0 1px 2px rgba(20, 21, 28, 0.03);
    padding: clamp(20px, 2.2vw, 32px);
    margin: 0 0 var(--hvnly-space-lg, 24px);
}

body.hvnly-property-single .hvnly-property-single__section-gallery {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 0 var(--hvnly-space-lg, 24px);
}

/* Section header: gold glyph + semibold sans title */
body.hvnly-property-single .hvnly-property-single__section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    font-size: var(--hvnly-font-size-lg, 1.125rem);
    font-weight: var(--hvnly-font-weight-semibold, 600);
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--hvnly-text-primary);
    margin: 0 0 10px;
    padding: 0 0 var(--hvnly-space-md, 16px);
    border: 0;
    border-bottom: 1px solid var(--hvnly-border-color);
    position: relative;
}

body.hvnly-property-single .hvnly-property-single__section-title::after {
    content: '';
    position: static;
    width: 20px;
    height: 20px;
    order: -1;
    flex-shrink: 0;
    border-radius: 0;
    background-color: var(--hvnly-brand-primary);
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

/* Per-section glyphs (mask data URIs; generic diamond fallback) */
body.hvnly-property-single .hvnly-property-single__details-card .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

body.hvnly-property-single .hvnly-property-single__section-summary .hvnly-property-single__section-title::after,
body.hvnly-property-single .hvnly-property-single__section-description .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' y1='6' x2='3' y2='6'/%3E%3Cline x1='17' y1='12' x2='3' y2='12'/%3E%3Cline x1='13' y1='18' x2='3' y2='18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' y1='6' x2='3' y2='6'/%3E%3Cline x1='17' y1='12' x2='3' y2='12'/%3E%3Cline x1='13' y1='18' x2='3' y2='18'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_details"] .hvnly-property-single__section-title::after,
body.hvnly-property-single [class*="section-sec_address"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_video"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_gallery"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_location"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_documents"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_faq"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_repeater"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_features"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

body.hvnly-property-single [class*="section-sec_property_agents"] .hvnly-property-single__section-title::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

/* Inner sub-titles become quiet eyebrows */
body.hvnly-property-single .hvnly-property-single__faq-title,
body.hvnly-property-single .hvnly-property-single__repeater-title {
    font-family: inherit;
    font-size: 0.78rem !important;
    font-weight: var(--hvnly-font-weight-medium, 500) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hvnly-text-secondary);
    margin: 0 0 var(--hvnly-space-md, 16px);
    border: 0;
    padding: 0;
}

body.hvnly-property-single .hvnly-property-single__faq-title::after,
body.hvnly-property-single .hvnly-property-single__repeater-title::after {
    content: none;
}

/* Features group title duplicates the section H2 — retire visually */
body.hvnly-property-single .hvnly-property-single__features-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.hvnly-property-single .hvnly-property-single__section-fields {
    display: block;
}

/* ======================================================================
 * SUMMARY (lede) + DESCRIPTION (prose)
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__summary-description {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--hvnly-text-primary);
    max-width: 68ch;
    font-weight: 400;
}

body.hvnly-property-single .hvnly-property-single__description {
    font-size: var(--hvnly-font-size-md, 1rem);
    line-height: 1.6;
    color: var(--hvnly-text-primary);
    max-width: 68ch;
}

body.hvnly-property-single .hvnly-property-single__description p {
    margin: 0 0 var(--hvnly-space-md, 16px);
}

body.hvnly-property-single .hvnly-property-single__description p:last-child {
    margin-bottom: 0;
}

/* ======================================================================
 * FIELD SECTIONS — hairlined key/value rows in two columns (benchmark)
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__section-fields:has(> .hvnly-field) {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: var(--hvnly-space-2xl, 48px);
    row-gap: 0;
}

@media (min-width: 900px) {
    /* body.hvnly-property-single .hvnly-property-single__section-fields:has(> .hvnly-field) {
        grid-template-columns: 1fr 1fr;
    } */
}

body.hvnly-property-single .hvnly-field {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--hvnly-border-color);
    padding: 12px 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--hvnly-space-md, 16px);
    min-width: 0;
}

/* Long-form fields span the full row and stack */
body.hvnly-property-single .hvnly-field--textarea {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

body.hvnly-property-single .hvnly-property-single__default-title {
    font-size: var(--hvnly-font-size-sm, 0.875rem) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0;
    text-transform: none;
    color: var(--hvnly-text-secondary);
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
}

body.hvnly-property-single .hvnly-field .hvnly-property-single__default-title::after,
body.hvnly-property-single .hvnly-field .hvnly-property-single__default-title::before,
body.hvnly-property-single .hvnly-property-single__default-title::after,
body.hvnly-property-single .hvnly-property-single__default-title::before {
    content: none !important;
}

body.hvnly-property-single .hvnly-field__value {
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    font-weight: var(--hvnly-font-weight-semibold, 600);
    line-height: 1.5;
    color: var(--hvnly-text-primary);
    font-variant-numeric: tabular-nums;
    overflow-wrap: break-word;
    text-align: right;
    min-width: 0;
}

body.hvnly-property-single .hvnly-field--textarea .hvnly-field__value {
    font-weight: 400;
    line-height: 1.6;
    color: var(--hvnly-text-primary);
    text-align: left;
}

/* ======================================================================
 * FEATURES — uniform green checks (benchmark), three columns
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

body.hvnly-property-single .hvnly-property-single__feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-width: 0;
}

body.hvnly-property-single .hvnly-property-single__feature-card:hover {
    transform: none;
    box-shadow: none;
    background: none;
    border: 0;
}

/* Uniform check replaces the per-feature icon zoo */
body.hvnly-property-single .hvnly-property-single__feature-icon {
    display: none;
}

body.hvnly-property-single .hvnly-property-single__feature-card::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--hvnly-brand-success);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.hvnly-property-single .hvnly-property-single__feature-text {
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    font-weight: 400;
    color: var(--hvnly-text-primary);
    overflow-wrap: break-word;
    min-width: 0;
}

/* ======================================================================
 * VIDEO — 16:9 media with frosted play control
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__video-card {
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
}

body.hvnly-property-single .hvnly-property-single__video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--hvnly-card-radius, 12px);
    overflow: hidden;
    background: #14151C;
    cursor: pointer;
}

body.hvnly-property-single .hvnly-property-single__video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1),
                opacity 0.2s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-property-single__video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--hvnly-space-md, 16px);
    background: linear-gradient(to top, rgba(13, 14, 20, 0.45), rgba(13, 14, 20, 0.05) 45%);
}

body.hvnly-property-single .hvnly-property-single__video-play-btn {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    /* Kill legacy margin that fights overlay gap and shrinks the control. */
    margin: 0;
    padding: 0;
    transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1),
                transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-property-single__video-play-btn .hvnly-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    margin-left: 3px;
    flex-shrink: 0;
    fill: currentColor;
    stroke: currentColor;
    display: block;
}

body.hvnly-property-single .hvnly-property-single__video-container:hover .hvnly-property-single__video-play-btn {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1.05);
}

body.hvnly-property-single .hvnly-property-single__video-container:hover .hvnly-property-single__video-thumb {
    transform: scale(1.02);
}

body.hvnly-property-single .hvnly-property-single__video-title {
    font-family: inherit;
    font-size: var(--hvnly-font-size-md, 1rem);
    font-weight: var(--hvnly-font-weight-medium, 500);
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 8px rgba(13, 14, 20, 0.5);
}

/* ======================================================================
 * BUILDER GALLERY SECTIONS — tile grid feeding the lightbox
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.hvnly-property-single .hvnly-property-single__gallery-grid .hvnly-property-single__gallery-item,
body.hvnly-property-single .hvnly-property-single__gallery-grid > * {
    border-radius: var(--hvnly-border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    position: relative;
    background: var(--hvnly-color-bg-light);
}

body.hvnly-property-single .hvnly-property-single__gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-property-single__gallery-grid > *:hover img {
    transform: scale(1.04);
}

/* ======================================================================
 * MAP / LOCATION
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__location-card {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

body.hvnly-property-single .hvnly-property-single__location-card .hvnly-property-single__address {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: var(--hvnly-font-size-md, 1rem);
    color: var(--hvnly-text-primary);
    margin: 0 0 var(--hvnly-space-md, 16px);
    padding: 0;
}

body.hvnly-property-single .hvnly-property-single__location-card .hvnly-property-single__address strong {
    font-size: 0.78rem;
    font-weight: var(--hvnly-font-weight-medium, 500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hvnly-text-secondary);
}

body.hvnly-property-single .hvnly-property-single__map,
body.hvnly-property-single .hvnly-property-single__map-placeholder {
    height: 340px;
    border-radius: var(--hvnly-card-radius, 12px);
    border: 1px solid var(--hvnly-border-color);
}

body.hvnly-property-single .hvnly-property-single__location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--hvnly-space-md, 16px);
}

body.hvnly-property-single .hvnly-property-single__location-actions a.hvnly-button--small,
body.hvnly-property-single .hvnly-property-single__location-card .hvnly-property-single__location-content .hvnly-property-single__location-actions a.hvnly-button--small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--hvnly-color-bg-white);
    border: 1px solid var(--hvnly-color-gray-200);
    border-radius: var(--hvnly-border-radius-md);
    color: var(--hvnly-text-primary);
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    font-weight: var(--hvnly-font-weight-medium, 500);
    text-decoration: none;
    transition: border-color 0.15s cubic-bezier(0.2, 0, 0, 1),
                color 0.15s cubic-bezier(0.2, 0, 0, 1),
                background-color 0.15s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-property-single__location-actions a.hvnly-button--small:hover,
body.hvnly-property-single .hvnly-property-single__location-card .hvnly-property-single__location-content .hvnly-property-single__location-actions a.hvnly-button--small:hover {
    border-color: rgba(var(--hvnly-primary-rgb), 0.25);
    color: var(--hvnly-brand-primary);
    background: rgba(var(--hvnly-primary-rgb), 0.08);
}

/* ======================================================================
 * DOCUMENTS — download rows (card shell already provides the box)
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__section-sec_property_documents .hvnly-property-single__stats,
body.hvnly-property-single .hvnly-property-single__details-card[class*="section-"] .hvnly-property-single__stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link {
    display: flex;
    align-items: center;
    gap: var(--hvnly-space-md, 16px);
    padding: 12px 8px;
    border: 0;
    border-radius: var(--hvnly-border-radius-md);
    background: none;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s cubic-bezier(0.2, 0, 0, 1);
    position: relative;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link + a.hvnly-property-single__stat-item--link {
    border-top: 1px solid var(--hvnly-border-color);
    border-radius: 0;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link:hover {
    background: var(--hvnly-color-bg-light);
    transform: none;
    box-shadow: none;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link .hvnly-property-single__stat-value {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--hvnly-primary-rgb), 0.08);
    color: var(--hvnly-brand-primary);
    border-radius: var(--hvnly-border-radius-md);
    font-size: 16px;
    margin: 0;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link .hvnly-property-single__stat-value i {
    font-size: 16px;
    color: inherit;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link .hvnly-property-single__stat-label {
    flex: 1;
    font-size: var(--hvnly-font-size-md, 1rem);
    font-weight: var(--hvnly-font-weight-medium, 500);
    color: var(--hvnly-text-primary);
    text-align: left;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link::after {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: var(--hvnly-color-gray-500);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color 0.15s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single a.hvnly-property-single__stat-item--link:hover::after {
    background: var(--hvnly-brand-primary);
}

/* ======================================================================
 * FAQ — hairline accordion inside its card
 * Smooth height via a tiny JS helper (see property-single.js); chevron /
 * hover / focus / open states are CSS-only. Respects prefers-reduced-motion
 * via foundations.css (transitions collapse to ~0).
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__faq-field {
    background: none;
    border: 0;
    padding: 0;
}

body.hvnly-property-single .hvnly-property-single__faq-accordion {
    border-top: 0;
}

body.hvnly-property-single .hvnly-property-single__faq-item {
    border: 0;
    border-bottom: 1px solid var(--hvnly-border-color);
    border-radius: 0;
    background: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-property-single__faq-item:last-child {
    border-bottom: 0;
}

body.hvnly-property-single .hvnly-property-single__faq-item[open],
body.hvnly-property-single .hvnly-property-single__faq-item.is-open {
    background: color-mix(in srgb, var(--hvnly-brand-primary) 4%, transparent);
}

body.hvnly-property-single .hvnly-property-single__faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hvnly-space-md, 16px);
    padding: var(--hvnly-space-md, 16px) 4px;
    margin: 0 -4px;
    cursor: pointer;
    list-style: none;
    background: none;
    border: 0;
    border-radius: 8px;
    transition: color 0.2s cubic-bezier(0.2, 0, 0, 1),
                background-color 0.2s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-property-single__faq-question::-webkit-details-marker {
    display: none;
}

body.hvnly-property-single .hvnly-property-single__faq-question:hover {
    background: color-mix(in srgb, var(--hvnly-brand-primary) 5%, transparent);
}

body.hvnly-property-single .hvnly-property-single__faq-question:focus {
    outline: none;
}

body.hvnly-property-single .hvnly-property-single__faq-question:focus-visible {
    outline: 2px solid var(--hvnly-brand-primary);
    outline-offset: 2px;
}

body.hvnly-property-single .hvnly-property-single__faq-question-text {
    font-family: inherit;
    font-size: var(--hvnly-font-size-md, 1rem);
    font-weight: var(--hvnly-font-weight-semibold, 600);
    line-height: 1.5;
    color: var(--hvnly-text-primary);
    transition: color 0.2s cubic-bezier(0.2, 0, 0, 1);padding-left: 15px;
}

body.hvnly-property-single .hvnly-property-single__faq-question:hover .hvnly-property-single__faq-question-text,
body.hvnly-property-single .hvnly-property-single__faq-item[open] .hvnly-property-single__faq-question-text,
body.hvnly-property-single .hvnly-property-single__faq-item.is-open .hvnly-property-single__faq-question-text {
    color: var(--hvnly-brand-primary);
}

body.hvnly-property-single .hvnly-property-single__faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--hvnly-text-secondary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    border: 0;
    transform: rotate(0deg);
    transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1),
                background-color 0.22s cubic-bezier(0.2, 0, 0, 1);
    will-change: transform;
}

body.hvnly-property-single .hvnly-property-single__faq-chevron::before,
body.hvnly-property-single .hvnly-property-single__faq-chevron::after {
    content: none !important;
}

body.hvnly-property-single .hvnly-property-single__faq-question:hover .hvnly-property-single__faq-chevron {
    background: var(--hvnly-brand-primary);
}

body.hvnly-property-single .hvnly-property-single__faq-item[open] .hvnly-property-single__faq-chevron,
body.hvnly-property-single .hvnly-property-single__faq-item.is-open .hvnly-property-single__faq-chevron {
    transform: rotate(180deg);
    background: var(--hvnly-brand-primary);
}

body.hvnly-property-single .hvnly-property-single__faq-answer {
    padding:  15px;
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    line-height: 1.6;
    color: var(--hvnly-text-primary);
    max-width: 68ch;
    background: none;
    border: 0;
    overflow: hidden;
}

body.hvnly-property-single .hvnly-property-single__faq-answer.is-animating {
    will-change: height, opacity;
}

body.hvnly-property-single .hvnly-property-single__faq-answer p:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    body.hvnly-property-single .hvnly-property-single__faq-chevron {
        will-change: auto;
    }

    body.hvnly-property-single .hvnly-property-single__faq-answer.is-animating {
        will-change: auto;
    }
}

/* ======================================================================
 * HIGHLIGHTS (repeater) — definition rows; inner box retired
 * ==================================================================== */
body.hvnly-property-single .hvnly-property-single__repeater-field {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
}

body.hvnly-property-single .hvnly-property-single__repeater-table-wrap {
    overflow: visible;
    border: 0;
    background: none;
}

body.hvnly-property-single .hvnly-property-single__repeater-table {
    width: 100%;
    border-collapse: collapse;
    background: none;
    border: 0;
}

body.hvnly-property-single .hvnly-property-single__repeater-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body.hvnly-property-single .hvnly-property-single__repeater-row,
body.hvnly-property-single .hvnly-property-single__repeater-row:nth-child(odd),
body.hvnly-property-single .hvnly-property-single__repeater-row:nth-child(even) {
    background: none;
}

body.hvnly-property-single .hvnly-property-single__repeater-row + .hvnly-property-single__repeater-row td {
    border-top: 1px solid var(--hvnly-border-color);
}

body.hvnly-property-single .hvnly-property-single__repeater-table td {
    padding: 12px 0;
    border: 0;
    background: none;
    vertical-align: middle;
}

body.hvnly-property-single .hvnly-property-single__repeater-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

body.hvnly-property-single .hvnly-property-single__repeater-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--hvnly-primary-rgb), 0.08);
    color: var(--hvnly-brand-primary);
    border-radius: 999px;
    font-size: 13px;
}

body.hvnly-property-single .hvnly-property-single__repeater-icon i {
    font-size: 13px;
    color: inherit;
}

body.hvnly-property-single .hvnly-property-single__repeater-title-text {
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    color: var(--hvnly-text-primary);
}

body.hvnly-property-single .hvnly-property-single__repeater-cell-value {
    text-align: right;
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    font-weight: var(--hvnly-font-weight-semibold, 600);
    color: var(--hvnly-text-primary);
    font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------------
 * HIGHLIGHTS — mobile (<=767px)
 * Legacy property-single.css stacks the table into centered “cards” with
 * Title/Value ::before labels. Restore a premium side-by-side row layout
 * (aligned with the overview facts list) without touching desktop/tablet.
 * -------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Section headings — slightly smaller than desktop; beats theme h2 (24px). */
    body.hvnly-property-single .hvnly-property-single__section-title {
        font-size: 1.125rem; /* 18px — mobile-only; desktop token unchanged */
        line-height: 1.35;
    }

    body.hvnly-property-single .hvnly-property-single__section-title::after {
        width: 18px;
        height: 18px;
    }

    /* Video play — proportional mobile size; keep circular (no flex-shrink). */
    body.hvnly-property-single .hvnly-property-single__video-overlay {
        padding: var(--hvnly-space-md, 16px);
        gap: var(--hvnly-space-sm, 8px);
    }

    body.hvnly-property-single .hvnly-property-single__video-play-btn {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }

    body.hvnly-property-single .hvnly-property-single__video-play-btn .hvnly-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        margin-left: 2px;
    }

    body.hvnly-property-single .hvnly-property-single__video-title {
        font-size: var(--hvnly-font-size-sm, 0.875rem);
    }

    body.hvnly-property-single .hvnly-property-single__repeater-table-wrap {
        overflow: visible;
        border: 0;
        background: none;
        border-radius: 0;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-table,
    body.hvnly-property-single .hvnly-property-single__repeater-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-table thead {
        display: none;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-row,
    body.hvnly-property-single .hvnly-property-single__repeater-table tr {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 14px 2px;
        min-height: 52px;
        box-sizing: border-box;
        border-bottom: 1px solid var(--hvnly-border-color);
        background: none;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-row:last-child,
    body.hvnly-property-single .hvnly-property-single__repeater-table tr:last-child {
        border-bottom: 0;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-row + .hvnly-property-single__repeater-row td {
        border-top: 0;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-table td,
    body.hvnly-property-single .hvnly-property-single__repeater-cell-title,
    body.hvnly-property-single .hvnly-property-single__repeater-cell-value {
        display: block;
        width: auto;
        padding: 0;
        margin: 0;
        border: 0;
        border-bottom: 0;
        background: none;
        text-align: left;
        vertical-align: middle;
    }

    /* Kill legacy stacked-card “Title / Value” labels */
    body.hvnly-property-single .hvnly-property-single__repeater-table td::before {
        content: none;
        display: none;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-cell-title {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-title-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        width: 100%;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-icon i {
        font-size: 14px;
        line-height: 1;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-title-text {
        flex: 1 1 auto;
        min-width: 0;
        font-size: var(--hvnly-font-size-md, 1rem);
        font-weight: var(--hvnly-font-weight-medium, 500);
        line-height: 1.35;
        color: var(--hvnly-text-primary);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.hvnly-property-single .hvnly-property-single__repeater-cell-value {
        flex: 0 1 auto;
        max-width: 46%;
        margin-left: auto;
        padding-left: 10px;
        text-align: right;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: var(--hvnly-font-size-md, 1rem);
        font-weight: var(--hvnly-font-weight-semibold, 600);
        line-height: 1.35;
        color: var(--hvnly-text-primary);
    }
}

/* ======================================================================
 * AGENTS SECTION — people cards inside the section card
 * ==================================================================== */
body.hvnly-property-single .hvnly-agents-section__lead {
    font-size: 0.78rem;
    font-weight: var(--hvnly-font-weight-medium, 500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hvnly-text-secondary);
    margin: 0 0 var(--hvnly-space-md, 16px);
}

body.hvnly-property-single .hvnly-agents-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

body.hvnly-property-single .hvnly-agents-section__card {
    background: var(--hvnly-color-bg-white);
    border: 1px solid var(--hvnly-border-color);
    border-radius: var(--hvnly-card-radius, 12px);
    box-shadow: none;
    overflow: hidden;
    transition: box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1),
                transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

body.hvnly-property-single .hvnly-agents-section__card:hover {
    box-shadow: 0 10px 24px rgba(20, 21, 28, 0.10);
    transform: translateY(-2px);
}

body.hvnly-property-single .hvnly-agents-section__card-inner {
    padding: clamp(20px, 2.2vw, 28px);
}

body.hvnly-property-single .hvnly-agents-section__avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(20, 21, 28, 0.06);
}

body.hvnly-property-single .hvnly-agents-section__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: rgba(var(--hvnly-primary-rgb), 0.08);
    color: var(--hvnly-brand-primary);
    font-size: 0.72rem;
    font-weight: var(--hvnly-font-weight-medium, 500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--hvnly-border-radius-sm);
    border: 0;
    margin-bottom: 4px;
}

body.hvnly-property-single .hvnly-agents-section__name {
    font-family: inherit;
    font-size: var(--hvnly-font-size-lg, 1.125rem);
    font-weight: var(--hvnly-font-weight-semibold, 600);
    color: var(--hvnly-text-primary);
    margin: 0 0 2px;
}

body.hvnly-property-single .hvnly-agents-section__position,
body.hvnly-property-single .hvnly-agents-section__company {
    font-size: var(--hvnly-font-size-sm, 0.875rem);
    color: var(--hvnly-text-secondary);
    margin: 0;
}

/* Responsive columns (explicit; no custom tokens) */
@media (min-width: 900px) {
    body.hvnly-property-single .hvnly-property-single__features-grid,
    body.hvnly-property-single .hvnly-property-single__gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.hvnly-property-single .hvnly-property-single__map,
    body.hvnly-property-single .hvnly-property-single__map-placeholder {
        height: 380px;
    }
}
