/* =========================================================
   PROPERTY MANAGER
   ADMIN + FRONTEND CSS
   VERSION 4.0
   ========================================================= */


/* =========================================================
   ADMIN
   ========================================================= */
   
   @media (min-width: 1200px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 1400px !important;
    }

}
.entry-title{display:none !important;}

.pm-specifications-wrapper,
.pm-highlights-wrapper,
.pm-map-wrapper {
    margin-top: 10px;
}


.pm-help-text {
    color: #646970;
    margin-bottom: 15px;
    line-height: 1.6;
}


/* Specification row */

.pm-specification-row {

    display: grid;

    grid-template-columns:
        58px
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        auto;

    gap: 12px;

    align-items: end;

    padding: 16px;

    margin-bottom: 12px;

    border: 1px solid #dcdcde;

    background: #f6f7f7;

    border-radius: 5px;

    position: relative;
}


/* Icon */

.pm-spec-icon-control {
    position: relative;
}


.pm-icon-button {

    width: 44px;
    height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1px solid #8c8f94;

    border-radius: 4px;

    cursor: pointer;
}


.pm-icon-button .dashicons {

    font-size: 24px;

    width: 24px;
    height: 24px;
}


/* Icon menu */

.pm-icon-menu {

    display: none;

    position: absolute;

    top: 50px;
    left: 0;

    z-index: 99999;

    width: 310px;

    max-height: 300px;

    overflow-y: auto;

    padding: 10px;

    background: #fff;

    border: 1px solid #c3c4c7;

    box-shadow:
        0 4px 16px rgba(0,0,0,.15);

    border-radius: 5px;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 6px;
}


.pm-icon-menu.pm-open {
    display: grid;
}


.pm-icon-option {

    width: 42px;
    height: 42px;

    background: #f6f7f7;

    border: 1px solid #dcdcde;

    border-radius: 4px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;
}


.pm-icon-option:hover {

    background: #2271b1;

    color: #fff;

    border-color: #2271b1;
}


.pm-icon-option .dashicons {

    font-size: 22px;
}


/* Fields */

.pm-spec-field label {

    display: block;

    margin-bottom: 6px;

    font-weight: 600;
}


/* Highlights */

.pm-highlight-row {

    display: grid;

    grid-template-columns:
        24px
        minmax(200px, 1fr)
        auto;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;
}


.pm-highlight-row > .dashicons {

    color: #17396f;

    font-size: 20px;
}


/* Map */

.pm-map-wrapper code {

    background: #f0f0f1;

    padding: 2px 5px;
}


/* =========================================================
   FRONTEND
   ========================================================= */

.pm-property-page {

    width: 100%;

    margin: 0;
    padding: 0;

    color: #1c1c1c;

    font-family: inherit;
}


.pm-property-container {

    width:
        min(
            1200px,
            calc(100% - 50px)
        );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.pm-property-hero {

    position: relative;

    width: 100%;

    min-height: 620px;

    background-color: #e9e9e9;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    background-size:
        cover;

    margin: 0;
}


.pm-property-hero-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.65) 0%,
            rgba(0,0,0,.25) 55%,
            rgba(0,0,0,0) 100%
        );
}


.pm-property-hero-inner {

    padding-top: 60px;

    padding-bottom: 70px;
}


.pm-property-hero h1 {

    margin: 0;

    max-width: 950px;

    color: #fff;

    font-size:
        clamp(
            42px,
            6vw,
            76px
        );

    line-height: .98;

    font-weight: 700;

    letter-spacing: .02em;

    text-transform: uppercase;
}


.pm-property-hero-address {

    margin-top: 18px;

    max-width: 700px;

    color: #fff;

    font-size: 18px;

    line-height: 1.55;
}


/* Badges */

.pm-property-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 18px;
}


.pm-property-badges span {

    padding:
        7px 12px;

    background:
        rgba(255,255,255,.92);

    color: #17396f;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


/* =========================================================
   INTRO
   ========================================================= */

.pm-property-intro {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    /*gap: 40px;*/

    /*padding:*/
    /*    70px 0 60px;*/

    border-bottom:
        1px solid #e5e5e5;
}


.pm-property-intro-left {

    max-width: 800px;
}


.pm-property-intro h2 {

    margin:
        0 0 20px;

    color: #17396f;

    font-size:
        clamp(
            28px,
            3.2vw,
            44px
        );

    line-height: 1.12;

    text-transform: uppercase;

    letter-spacing: .02em;
}


.pm-property-description {

    color: #444;

    font-size: 16px;

    line-height: 1.8;
}


.pm-property-description p {

    margin-top: 0;

    margin-bottom: 14px;
}


/* Brochure */

.pm-property-brochure-wrap {

    flex: 0 0 auto;
}


.pm-brochure-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding:
        0 24px;

    background: #17396f;

    color: #fff !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;

    transition:
        all .25s ease;
}


.pm-brochure-button:hover {

    background: #0d2347;

    color: #fff !important;
}


.pm-brochure-button .dashicons {

    font-size: 18px;
}


/* =========================================================
   THREE COLUMN AREA
   ========================================================= */

.pm-property-feature-section {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .9fr)
        minmax(0, 1fr);

    gap: 50px;

    padding:
        65px 0 70px;

    border-bottom:
        1px solid #e5e5e5;
}


.pm-property-column {

    min-width: 0;
}


/* Section headings */

.pm-property-column > h2,
.pm-property-map-section > h2 {

    position: relative;

    margin:
        0 0 30px;

    padding-bottom: 15px;

    color: #17396f;

    font-size: 19px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.pm-property-column > h2::after,
.pm-property-map-section > h2::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 45px;

    height: 2px;

    background: #17396f;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.pm-frontend-specifications {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    column-gap: 25px;

    row-gap: 26px;
}


.pm-spec-item {
    display: flex !important;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e5e5e5;
}

.pm-spec-icon {
    width: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-spec-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between !important;
    width: 100%;
    gap: 30px;
}

.pm-spec-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pm-spec-value {
    font-size: 16px;
    text-align: right;
    margin-left: auto;
    white-space: nowrap;
}
/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.pm-frontend-highlights {

    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;
}


.pm-frontend-highlights li {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin:
        0 0 17px;

    padding: 0;

    color: #333;

    font-size: 15px;

    line-height: 1.55;
}


.pm-check {

    flex: 0 0 auto;

    width: 21px;

    height: 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    background: #17396f;

    color: #fff;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   PROPERTY IMAGE
   ========================================================= */

.pm-property-image-link {

    display: block;

    overflow: hidden;

    background: #eee;
}


.pm-property-image-link img {

    display: block;

    width: 100%;

    height: 360px;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.pm-property-image-link:hover img {

    transform:
        scale(1.025);
}


.pm-image-placeholder {

    min-height: 360px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background: #f2f2f2;

    color: #888;

    text-align: center;
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.pm-property-map-section {

    padding:
        65px 0 80px;
}


.pm-property-map {

    width: 100%;

    overflow: hidden;

    background: #eee;
}


.pm-property-map iframe {

    display: block;

    width: 100%;

    height: 500px;

    border: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .pm-property-feature-section {

        grid-template-columns:
            1fr 1fr;
    }


    .pm-image-column {

        grid-column:
            1 / -1;
    }


    .pm-property-image-link img {

        height: 430px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .pm-property-container {

        width:
            min(
                calc(100% - 32px),
                1200px
            );
    }


    .pm-property-hero {

        min-height: 470px;
    }


    .pm-property-hero-inner {

        padding-bottom: 45px;
    }


    .pm-property-hero h1 {

        font-size: 40px;
    }


    .pm-property-hero-address {

        font-size: 15px;
    }


    .pm-property-intro {

        display: block;

        padding:
            45px 0;
    }


    .pm-property-brochure-wrap {

        margin-top: 25px;
    }


    .pm-property-feature-section {

        display: block;

        padding:
            45px 0;
    }


    .pm-property-column {

        margin-bottom: 45px;
    }


    .pm-property-column:last-child {

        margin-bottom: 0;
    }


    .pm-frontend-specifications {

        grid-template-columns:
            1fr;
    }


    .pm-property-image-link img,
    .pm-image-placeholder {

        height: 300px;

        min-height: 300px;
    }


    .pm-property-map-section {

        padding:
            45px 0 55px;
    }


    .pm-property-map iframe {

        height: 360px;
    }
}


/* =========================================================
   ADMIN MOBILE
   ========================================================= */

@media (max-width: 782px) {

    .pm-specification-row {

        grid-template-columns:
            1fr;
    }


    .pm-highlight-row {

        grid-template-columns:
            24px 1fr;
    }


    .pm-highlight-row
    .pm-remove-highlight {

        grid-column: 2;
    }
}


/* =========================================================
   PROPERTY FEATURE GRID - FORCE 3 COLUMNS
   ========================================================= */

.pm-property-page .pm-property-feature-section {
    width: 100%;
    display: block;
}

.pm-property-page .pm-property-feature-section .pm-property-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.pm-property-page .pm-property-feature-grid {
    width: 100% !important;
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    gap: 50px;

    align-items: start;
}


/* Force each column to occupy its grid cell */

.pm-property-page .pm-property-feature-grid > section {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}


/* Specifications */

.pm-property-page .pm-property-specifications {
    grid-column: auto !important;
}


/* Highlights */

.pm-property-page .pm-property-highlights {
    grid-column: auto !important;
}


/* Image */

.pm-property-page .pm-property-image-column {
    grid-column: auto !important;
}


/* Image itself */

.pm-property-page .pm-property-main-image {
    width: 100%;
}

.pm-property-page .pm-property-main-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .pm-property-page .pm-property-feature-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        gap: 60px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) and (min-width: 768px) {

    .pm-property-page .pm-property-feature-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        gap: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .pm-property-page .pm-property-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 35px;
    }

}




/* =========================================================
   BROCHURE BUTTON
   ========================================================= */

.pm-property-page .pm-brochure-wrap {
    display: block !important;
    width: auto !important;
    margin-top: 30px;
}

.pm-property-page .pm-brochure-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: auto !important;
    min-width: 190px;

    padding: 15px 25px;

    background: #111111 !important;
    color: #ffffff !important;

    border: 1px solid #111111;

    text-decoration: none !important;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.pm-property-page .pm-brochure-button:hover {
    background: #ffffff !important;
    color: #111111 !important;
}

.pm-property-page .pm-brochure-button .dashicons {
    font-size: 17px;
    width: 17px;
    height: 17px;
}