@import url('https://fonts.cdnfonts.com/css/inter?styles=169530,29139,29142,29132,29135,29137,29140,29128,29130,29126');
@import url('https://fonts.cdnfonts.com/css/helvetica-neue-55?styles=16020,15983');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap');

/* helper */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}
/* end helper */

/* property card */
.property-detail-list-wrapper{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    padding: 16px 24px;
}

.list-map {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.property-card-wrapper{
    display: flex;
    flex-direction: column;
}

.property-card {
    position: relative;
    box-shadow: 2px 0px 12px rgba(0, 0, 0, .075) !important;
    width: 100%;
    transition: 0.3s;
    box-sizing: border-box;
}

.property-card .overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.property-card .price-wrapper > a{
    position: relative;
    z-index: 2;
}

.property-card-map .property-card {
    width: 100% !important;
}

.tags {
    position: absolute;
    left: 8px;
    top: 8px;
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    z-index: 1;
}

.tags-wrapper-small {
    max-width: 35%;
}

.tag {
    font-family: "jost", serif;;
    padding: 4px 10px 4px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 16px;
}

.tag.info {
    background: #052157;
    color: white;
}

.tag.showcase {
    background: #9B7C32;
    color: white;
}

.tag.silver {
    background: #7D8595;
    color: white;
}

.tag.ken {
    background: #4A69A6;
    color: white;
    box-sizing: border-box;
}

.tag.ken-school {
    background: #7D8595;
    color: white;
    box-sizing: border-box;
}

.tag.danger {
    background: #A40000;
    color: white;
}

.tag.UPDATED {
    color: white;
    background: #A40000
}

.tag.tenanted {
    background: white;
    color: rgba(0, 35, 104, 1);
    border: 1px solid rgba(0, 35, 104, 1);
}

.property-image {
    width: 100%;
    aspect-ratio: 13/9;
    height: auto;
    object-fit: cover;
}

.property-card .image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 13/9;
}

.property-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.property-card .body {
    display: flex;
    flex-direction: column;
    padding: 20px 24px 18px 24px;
}

.property-card .place-tags .tag {
    border: 1px solid #dedede;
}

.property-card .place-tags {
    margin-bottom: 5px;
    display: flex;
    gap: 5px;
}

.property-card .price {
    font-family: 'adobe-garamond-pro', serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 20px;
}

.property-card .price .sub-text {
    font-family: "jost", serif;;
    font-size: 14px;
    font-weight: 400;
    color: #808080;
}

.property-card .meta-info {
    font-family: "jost", serif;;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    flex-wrap: wrap;
    row-gap: 0px;
}

.property-card .meta-info .text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: "jost", serif;;
    font-weight: 500;
    font-size: 16px;
}

.property-card .meta-info .icon {
    width: 20px;
}

.property-card .meta-info .sub-text {
    font-family: "jost", serif;
    font-size: 14px;
    margin-left: 2px;
    font-weight: 400;
    color: #808080;
}

.property-card .meta-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0.5rem 0px;
}

.property-card .body .price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.investment-card .body .price-wrapper {
    margin-bottom: 0px !important;
}

.investment-card .image-wrapper .image {
    display: block;
    width: 100%;
    height: 100%;
}

.property-card .body .gross-yield {
    margin-top: 8px;
    margin-bottom: 12px;
    font-family: 'jost', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 12px;
}

.property-card .body .gross-yield .gross-yield-value {
    font-family: 'jost', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 12px;
}

.property-card .body .price-wrapper a {
    color: #222222;
    font-size: 22px;
    text-decoration: none;
}

.property-card .body .title-wrapper {
    margin-top: 12px;
    max-width: calc(100% - 36px);
}

.property-card .body .title {
    font-family: "jost", serif;;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    color: #222222;
}

.property-card .location-wrapper{
    max-width: calc(100% - 36px);
}

.property-card .location-wrapper .location {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
    font-weight: 400;
    line-height: 1;
}

.property-card .body .arrow-icon {
    position: absolute;
    border-bottom: 1px solid #D8D8D8;
    right: 24px;
    bottom: 72px;
    padding-bottom: 2px;
}

.property-card .body .arrow-wrapper .arrow-icon {
    bottom: 12px;
}

.property-card .completion-date {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
    font-weight: 400;
    margin-top: 14px;
    line-height: 16px;
}

.property-card .property-count-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.property-count-wrapper.active{
    background-color: #EFF1F5;
}

.property-card .property-count {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 10px;
    background-color: #052157;
    padding: 10px 18px;
    line-height: 12px;
}

.property-card .property-count .text {
    font-family: "jost", serif;;
    font-size: 14px;
    font-weight: 400;
}

.property-count.active {
    background-color: #EFF1F5;
    padding: 10px 18px 17px 18px;
}

.property-count .text.active{
    color: #052157 !important;
}

.property-card .property-count .icon.active{
    transform: rotate(180deg);
}

.property-card .property-count .icon.active svg path {
    fill: #052157 !important;
}

.property-card .media__figure {
    margin-right: 0px !important;
    float: none !important;
    height: 100% !important;
}

.property-detail-wrapper {
    display: none;
    flex-direction: column;
    background-color: #EFF1F5;
    width: fit-content;
    min-width: 100%;
    max-width: 200%;
    box-sizing: border-box;
}

.property-detail-wrapper .property-detail-inner-wrapper {
    width: 100%;
    background-color: #EFF1F5;
    column-gap: 16px;
    row-gap: 8px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    box-sizing: border-box;
    min-width: 100%;
}

.show{
    display: flex !important;
}

.property-card.active{
    border-top: 11px solid #EFF1F5;
    border-right: 11px solid #EFF1F5;
    border-left: 11px solid #EFF1F5;
    box-shadow: none !important;
    transition: 0.3s;
}

.property-detail-wrapper .property-detail-card {
    position: relative;
    background-color: white;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    text-decoration: none;
    color: black;
    z-index: 9;
}

.property-detail-card .overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.property-detail-card .price-wrapper > a{
    position: relative;
    z-index: 2;
}

.property-detail-wrapper .property-detail-card .image-wrapper {
    width: 40%;
}

.property-detail-wrapper .property-detail-card .image {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.property-detail-wrapper .property-detail-card .description {
    width: 60%;
    padding: 22px 24px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.property-detail-wrapper .property-detail-card .description .arrow-icon {
    top: 57%;
    right: 10%;
    position: absolute;
    border-bottom: 1px solid #dedede;
    padding-bottom: 3px;
}

.property-detail-wrapper .property-detail-card .description .price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-detail-wrapper .property-detail-card .description .price-wrapper .icon {
    text-decoration: none;
    font-size: 21px;
    color: #222222;
}

.property-detail-wrapper .property-detail-card .description .price {
    font-weight: 600;
    font-size: 26px;
    font-family: 'adobe-garamond-pro', serif;
    text-decoration: none;
    color: black;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.property-detail-wrapper .property-detail-card .description .price .icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.property-detail-wrapper .property-detail-card .description .sub-text {
    font-size: 14px;
    font-weight: 400;
    font-family: "jost", serif;;
    color: #808080;
}

.line-sp {
    display: none;
}

.property-detail-wrapper .property-detail-card .description .room {
    display: flex;
    column-gap: 4px;
    flex-wrap: wrap;
    line-height: 11px;
    width: 90%;
    row-gap: 4px !important;
}

.property-detail-wrapper .property-detail-card .description .room .floor,
.property-detail-wrapper .property-detail-card .description .room .bed,
.property-detail-wrapper .property-detail-card .description .size
{
    font-weight: 500;
    font-family: "jost", serif;;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.property-detail-wrapper .property-detail-card .description .size span{
    line-height: 16px;
}

.property-detail-wrapper .property-detail-card .description .room .sub-text,
.property-detail-wrapper .property-detail-card .description .size .sub-text {
    font-size: 14px;
    color: #808080;
    font-weight: 400;
}

.property-detail-wrapper .property-detail-card .description .name {
    display: none;
}

.property-detail-wrapper .view-more-wrapper {
    width: 100%;
    background-color: #EFF1F5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 18px 0px;
}

.property-detail-wrapper .view-more-wrapper .view-more-button {
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #C0C0C0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    padding: 15px 61.5px;
}

.property-detail-wrapper .view-more-wrapper .view-more-button .icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.icon-fav {
    color: #002368;
}

.layout-button {
    padding: 7px 11px;
    display: flex;
    gap: 4px;
    background-color: #222222;
    color: white;
    position: absolute;
    bottom: 17px;
    border-radius: 5px;
    right: 9px;
    align-items: center;
    opacity: .7;
    z-index: 2;
}

.layout-button span {
    font-family: 'inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
}

.room-image-wrapper {
    position: relative;
}

@media screen and (max-width: 860px) {
    .area-section{
        padding: 0px 16px;
    }

    .property-card .body {
        padding: 16px 16px 12px 16px
    }
    
    .investment-card .body .price-wrapper {
        margin-bottom: 8px !important;
    }

    .investment-card .property-card .body {
        padding: 16px;
    }

    .property-detail-list-wrapper{
        padding: 0px;
    }

    .property-detail-wrapper {
        width: 100% !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .tags-wrapper-small {
        max-width: 100%;
    }

    .property-detail-wrapper .property-detail-card .image-wrapper {
        width: 100%;
    }

    .property-detail-wrapper .property-detail-card .image {
        width: 100%;
    }

    .property-detail-wrapper .property-detail-card .description {
        box-sizing: border-box;
        padding: 16px !important;
        width: 100% !important;
        gap: 0px;
    }

    .property-detail-list-wrapper {
        gap: 20px;
    }

    .property-detail-wrapper .property-detail-inner-wrapper {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 0px 32px;
        row-gap: 26px;
        padding-bottom: 26px;
    }

    .property-detail-wrapper .view-more-wrapper {
        padding: 0px 0px 24px 0px;
    }

    .property-detail-wrapper .property-detail-inner-wrapper .property-detail-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    .property-detail-wrapper .property-detail-card .description .price-wrapper {
        margin-bottom: 12px;
    }

    .property-detail-wrapper .property-detail-card .description .price {
        font-size: 24px;
        line-height: 20px;
    }

    .property-detail-wrapper .property-detail-card .description .room {
        padding: 12px 2px;
        width: 100%;
        white-space: nowrap;
        flex-wrap: initial;
    }

    .property-card .body .arrow-icon {
        right: 16px;
    }

    .property-detail-wrapper .property-detail-card .description .arrow-icon {
        top: initial;
        bottom: 12px;
        right: 16px;
    }

    .property-detail-wrapper .property-detail-card .description .name {
        display: flex;
        font-family: "jost", serif;;
        font-weight: 500;
        font-size: 15px;
        margin-top: 12px;
        color: #222222;
    }

    .line-sp {
        display: block;
    }
}

@media (max-width: 400px) {
    .property-detail-list-wrapper {
        grid-template-columns: 1fr;
    }
    
    .property-card-wrapper { 
        width: 90vw;
    }

    .truncate {
        white-space: wrap;
    }
}

.arrow-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-wrapper .link .button-v2 .icon {
    top: 80%!important;
}
