.p7 .p7-line{width:min(100%,304px);height:2px;background:#d1d5db;position:relative;margin:20px auto 30px}.p7 .p7-line::after{content:'';position:absolute;left:33.333%;width:33.333%;height:4px;top:-1px;background:#08463c}.p7 .p7-contact .p7-line{margin-left:0}.p7 .p7-info h1{font-weight:600;line-height:1.2;overflow-wrap:anywhere}.p7 .p7-info,.p7 .p7-photo,.p7 .p7-facts>div{min-width:0}.p7 .p7-facts{gap:clamp(16px,4vw,56px)}.p7 .p7-facts strong{overflow-wrap:anywhere}.p7 .p7-actions>*{flex:1 1 0;min-width:0;max-width:120px;text-align:center;padding:8px;line-height:1.2}.p7 .p7-actions b{display:flex;align-items:center;justify-content:center}.p7 .p7-actions svg{width:32px;height:32px}.p7 .p7-info li{display:flex;gap:8px;align-items:center;margin-bottom:4px}.p7 .p7-info li svg,.p7 .p7-info>p svg{width:20px;height:20px;flex:none;color:#08463c}.p7 .p7-info>p{display:flex;align-items:center;gap:8px}.p7 .p7-register{transition:background .25s}.p7 .p7-register:hover{background:#5e5c5c}.p7 .p7-crumb a{text-decoration:underline}.p7 .p7-intro h2{font:500 clamp(30px,4vw,48px) Bitter,serif}.p7 .p7-location aside>h3{position:sticky;top:0;z-index:2;background:#08463c;margin:0;padding:20px 16px;border-bottom:1px solid #ffffff55}.p7 .p7-location aside{min-width:0;scrollbar-width:thin}.p7 .p7-location iframe{min-width:0}.p7 .p7-gallery span{display:none}.p7 .p7-similar article h3{font:600 20px/26px 'Titillium Web',sans-serif;overflow-wrap:anywhere}.p7 .p7-similar article>div{padding:16px}.p7 .p7-similar img{display:block;height:242px}.p7 .p7-stats div{min-width:0;flex:1 1 120px}.p7 .p7-plan header{gap:12px;flex-wrap:wrap}.p7 .p7-stats b svg{width:48px;height:48px}.p7 .p7-outline{transition:background .25s,color .25s}.p7 .p7-gallery button:focus-visible{outline:3px solid #a39f1a;outline-offset:-3px}@media(min-width:1024px) and (max-width:1279px){.p7 .p7-photo{width:55%}.p7 .p7-info{width:45%;padding-left:40px}}@media(max-width:1023px){.p7 .p7-actions{justify-content:center}.p7 .p7-location aside{border-radius:0 0 8px 8px}.p7 .p7-location iframe{border-radius:8px 8px 0 0}}@media(max-width:767px){.p7 .p7-info h1{font-size:24px}.p7 .p7-info{padding:20px}.p7 .p7-hero{min-height:0}.p7 .p7-actions>*{font-size:11px}.p7 .p7-contact{gap:24px}.p7 .p7-stats{padding:24px 12px 8px;gap:10px}}
/* Property hero background fix */
main.p7 {
    background: #08463c !important;
}

/* Green at the top, white at the bottom */
main.p7 > .p7-hero {
    margin-top: 0 !important;
    background: linear-gradient(
        to bottom,
        #08463c 0%,
        #08463c 50%,
        #fefefe 50%,
        #fefefe 100%
    ) !important;
}

/* Keep property card white */
main.p7 .p7-panel {
    background: #ffffff;
}

/* Keep subsequent sections white */
main.p7 > section:not(.p7-hero) {
    background-color: #fefefe;
}

/* Breadcrumb */
main.p7 .p7-crumb,
main.p7 .p7-crumb a {
    color: #ffffff;
}

/* =========================================
   RESPONSIVE PROPERTY HERO
   ========================================= */

main.p7 > .p7-hero {
    padding: 32px 0 60px;
    min-height: 0;
}

.p7 .p7-hero .p7-wrap {
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Breadcrumb */
.p7 .p7-crumb {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

/* Main property card */
.p7 .p7-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 32px;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 8px;
}

/* Property image */
.p7 .p7-photo {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.p7 .p7-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property information */
.p7 .p7-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.p7 .p7-info h1 {
    font-family: "Titillium Web", sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

/* Property location */
.p7 .p7-info > p {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 24px;
}

/* Property type and status */
.p7 .p7-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 0;
}

.p7 .p7-facts > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.p7 .p7-facts strong {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

/* Property features */
.p7 .p7-info ul {
    padding: 0;
    margin: 16px 0;
    list-style: none;
}

.p7 .p7-info li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.p7 .p7-info li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

/* Virtual Tour, Floor Plans and Gallery */
.p7 .p7-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}

.p7 .p7-actions > a,
.p7 .p7-actions > button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 90px;
    padding: 12px 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 12px;
}

/* Register Interest */
.p7 .p7-register {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    margin-top: 20px;
    text-align: center;
}

/* Tablet */
@media (max-width: 1023px) {
    .p7 .p7-panel {
        gap: 20px;
        padding: 20px;
        grid-template-columns:
            minmax(0, 1fr) minmax(0, 1fr);
    }

    .p7 .p7-info h1 {
        font-size: 30px;
    }

    .p7 .p7-actions {
        gap: 8px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    main.p7 > .p7-hero {
        padding: 20px 0 40px;

        background: linear-gradient(
            to bottom,
            #08463c 0px,
            #08463c 280px,
            #fefefe 280px,
            #fefefe 100%
        ) !important;
    }

    .p7 .p7-hero .p7-wrap {
        width: calc(100% - 32px);
    }

    .p7 .p7-panel {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
        gap: 20px;
    }

    .p7 .p7-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .p7 .p7-info h1 {
        font-size: 28px;
    }

    .p7 .p7-info li {
        font-size: 15px;
    }

    .p7 .p7-actions > a,
    .p7 .p7-actions > button {
        font-size: 11px;
        min-height: 80px;
    }

    .p7 .p7-crumb {
        font-size: 12px;
        margin-bottom: 16px;
    }
}

/* Extra small mobile */
@media (max-width: 374px) {
    .p7 .p7-hero .p7-wrap {
        width: calc(100% - 24px);
    }

    .p7 .p7-panel {
        padding: 12px;
    }

    .p7 .p7-info h1 {
        font-size: 24px;
    }

    .p7 .p7-actions {
        gap: 6px;
    }

    .p7 .p7-actions > a,
    .p7 .p7-actions > button {
        font-size: 10px;
    }
}

/* =========================================
   PROPERTY HERO — TOP SPACING FIX
   ========================================= */

main.p7 {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #08463c !important;
}

/* Remove unnecessary space above hero content */
main.p7 > .p7-hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
    min-height: 0 !important;
}

/* Hero wrapper */
.p7 .p7-hero .p7-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Breadcrumb */
.p7 .p7-crumb {
    margin-top: 0 !important;
    margin-bottom: 16px;
    padding-top: 16px;
    padding-bottom: 0;
}

/* Property card */
.p7 .p7-panel {
    margin-top: 0 !important;
    align-items: stretch;
}

/* Property hero image */
.p7 .p7-panel .p7-photo {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 400px;
    align-self: stretch;
    overflow: hidden;
    border-radius: 6px;
}

.p7 .p7-panel .p7-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile */
@media (max-width: 767px) {
    .p7 .p7-panel .p7-photo {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* Property information */
.p7 .p7-panel .p7-info {
    width: 100%;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 767px) {
    .p7 .p7-crumb {
        padding-top: 12px;
        margin-bottom: 12px;
    }

    .p7 .p7-panel .p7-info {
        padding: 0;
    }
}
/* Wider and centred action buttons */
.p7 .p7-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin: 16px auto 0;
}

/* Individual action buttons */
.p7 .p7-actions > a,
.p7 .p7-actions > button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 90px;
    padding: 12px 8px;
    gap: 8px;
    box-sizing: border-box;
    text-align: center;
    font-size: 13px;
}

/* Action icons */
.p7 .p7-actions svg {
    width: 36px;
    height: 36px;
}

/* Register Interest button */
.p7 .p7-register {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 480px;
    min-height: 50px;
    margin: 16px auto 0;
    box-sizing: border-box;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    .p7 .p7-actions {
        gap: 8px;
    }

    .p7 .p7-actions > a,
    .p7 .p7-actions > button {
        min-height: 80px;
        font-size: 11px;
        padding: 10px 4px;
    }

    .p7 .p7-actions svg {
        width: 30px;
        height: 30px;
    }
}
/* =========================================
   PROPERTY DESCRIPTION
   ========================================= */

/* Description title */
.p7 .p7-intro h2 {
    font-family: "Titillium Web", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin: 0;
}

/* Description paragraph */
.p7 .p7-intro p {
    font-family: "Titillium Web", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1023px) {
    .p7 .p7-intro h2 {
        font-size: 36px;
    }

    .p7 .p7-intro p {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .p7 .p7-intro h2 {
        font-size: 32px;
    }

    .p7 .p7-intro p {
        font-size: 16px;
        line-height: 1.6;
    }
}