
/* JLS Auctioneers — Component 7A */

.jls-property {
    --jls-brown: #4f392c;
    --jls-bronze: #91623f;
    --jls-gold: #c9984b;
    --jls-ivory: #f7f4ee;
    --jls-ink: #24211f;
    --jls-border: #e9e2d8;
    background: #faf9f6;
    color: var(--jls-ink);
    padding-bottom: 75px;
}

.jls-property * {
    box-sizing: border-box;
}

.jls-property-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.jls-property-hero {
    background: linear-gradient(125deg, #35251d, #674932);
    color: #fff;
    padding: 70px 0 75px;
}

.jls-property-eyebrow {
    color: #e6bd7b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.jls-property-hero h1 {
    max-width: 950px;
    margin: 16px 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
}

.jls-property-location {
    color: #f0e6d9;
    font-size: 17px;
}

.jls-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.jls-property-meta span {
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
}

.jls-property-gallery {
    margin: -28px 0 42px;
    position: relative;
    z-index: 1;
}

.jls-property-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 180px);
    gap: 8px;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(42,30,21,.12);
}

.jls-property-photo {
    display: block;
    overflow: hidden;
    background: #eee9e1;
}

.jls-property-photo-main {
    grid-row: span 2;
}

.jls-property-photo img,
.jls-property-extra-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.jls-property-photo:hover img,
.jls-property-extra-grid a:hover img {
    transform: scale(1.035);
}

.jls-property-more-photos {
    margin-top: 15px;
}

.jls-property-more-photos summary {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid var(--jls-border);
    border-radius: 6px;
    background: #fff;
    color: var(--jls-brown);
    font-weight: 700;
    cursor: pointer;
}

.jls-property-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.jls-property-extra-grid a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.jls-property-no-image {
    display: grid;
    place-items: center;
    min-height: 340px;
    border-radius: 12px;
    background: #eae4db;
    color: #65584d;
}

.jls-property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
    align-items: start;
    gap: 30px;
}

.jls-property-main,
.jls-property-sidebar {
    min-width: 0;
}

.jls-property-panel,
.jls-property-auction-card,
.jls-property-enquiry-card {
    margin-bottom: 25px;
    padding: 30px;
    border: 1px solid var(--jls-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(45,32,22,.035);
}

.jls-property-panel h2 {
    margin: 0 0 22px;
    color: var(--jls-brown);
    font-size: clamp(23px, 2.5vw, 29px);
    line-height: 1.3;
}

.jls-property-description,
.jls-property-copy {
    line-height: 1.8;
}

.jls-property-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.jls-property-spec {
    padding: 15px;
    border-radius: 7px;
    background: var(--jls-ivory);
}

.jls-property-spec dt {
    margin-bottom: 5px;
    color: #77685d;
    font-size: 12px;
}

.jls-property-spec dd {
    margin: 0;
    color: var(--jls-brown);
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.jls-property-muted {
    color: #766e66;
}

.jls-property-documents {
    display: grid;
    gap: 10px;
}

.jls-property-documents a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--jls-border);
    border-radius: 7px;
    color: var(--jls-brown);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jls-property-documents a span:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.jls-property-documents a:hover {
    background: var(--jls-ivory);
    color: var(--jls-bronze);
}

.jls-property-doc-icon {
    padding: 6px;
    border-radius: 4px;
    background: #f4e8d9;
    color: var(--jls-bronze);
    font-size: 11px;
    font-weight: 800;
}

.jls-property-sidebar .pam-countdown,
.jls-property-sidebar .pam-enquiry-form {
    width: 100%;
}

.jls-property-enquiry-card .pam-enquiry-form h3 {
    color: var(--jls-brown);
    font-size: 24px;
}

.jls-property-enquiry-card .pam-enquiry-form input:not([type="checkbox"]) {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
}

.jls-property-enquiry-card .pam-enquiry-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 5px;
    background: var(--jls-bronze);
    color: #fff;
    font-weight: 700;
    text-transform: none;
}

.jls-property-enquiry-card .pam-enquiry-form button[type="submit"]:hover {
    background: var(--jls-brown);
}

.jls-property-auction-note {
    padding: 0 12px;
    color: #776f67;
    font-size: 12px;
    line-height: 1.7;
}

.jls-property-back {
    margin-top: 35px;
}

.jls-property-back a {
    color: var(--jls-bronze);
    font-weight: 700;
}

@media (max-width: 900px) {
    .jls-property-layout {
        grid-template-columns: 1fr;
    }

    .jls-property-sidebar {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .jls-property-container {
        width: min(100% - 28px, 1180px);
    }

    .jls-property-hero {
        padding: 48px 0 60px;
    }

    .jls-property-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 240px 115px;
    }

    .jls-property-photo-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .jls-property-extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jls-property-panel,
    .jls-property-auction-card,
    .jls-property-enquiry-card {
        padding: 20px;
    }

    .jls-property-specs {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jls-property-photo img,
    .jls-property-extra-grid img {
        transition: none;
    }
}
