@import url('../vars.css');

.dorm-hero{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 100px;
}
.dorm-hero-address{
    height: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 15px;
    border-radius: 16px;
    background-color: var(--secondary-2);
    background-image: url('/wp-content/themes/neve/assets/img/dorm/Group\ 306.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 32px;
}
.dorm-hero-addr-title{
    font-family: var(--desktop-h3-font);
    font-size:  var(--desktop-h3-size);
    font-weight: var(--desktop-h3-weight);
    line-height: var(--desktop-h3-line);
    color: #fff;
}
.dorm-hero-addr-value{
    display: flex;
    gap: 8px;
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: #fff;
}
.dorm-hero-info{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}
.dorm-hero-cards{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.dorm-hero-card{
    width: 100%;
    height: 260px;
    background: #36c;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    border-radius: 16px;
    padding: 20px;
}
.dorm-hero-card-title{
    color: #fff;
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
}
.dorm-hero-card-desc{
    color: #fff;
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
}
.dorm-hero-card-btn{
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #36c;
    font-family: var(--desktop-button-font);
    font-size:  var(--desktop-button-size);
    font-weight: var(--desktop-button-weight);
}
.dorm-hero-tags{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.dorm-hero-tag{
    padding: 24px 28px;
    width: 100%;
    box-shadow: var(--drop-shadow-200);
    height: 138px;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    color: #D24256;
    font-family: var(--desktop-accent-title-font);
    font-size:  var(--desktop-accent-title-size);
    font-weight: var(--desktop-accent-title-weight);
}
.dorm-hero-tag span{
    font-family: "Playfair Display";
    font-variant-numeric: lining-nums proportional-nums;
    font-style: normal;
    font-size:  48px;
    font-weight: 800;
    margin-bottom: -6px;
}

.dorm-tar-cards{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 20px;
    margin-bottom: 100px;
}
.dorm-tar-card{
    width: 415px;
    padding: 32px;
    border-radius: 16px;
    background-color: #fff;
    background-position: right bottom;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 315px;
    box-shadow: var(--drop-shadow-200);
}
.dorm-tar-card:nth-child(1){
    background-image: url('/wp-content/themes/neve/assets/img/dorm/card1.png');
}
.dorm-tar-card:nth-child(2){
    background-image: url('/wp-content/themes/neve/assets/img/dorm/card2.png');
}
.dorm-tar-card:nth-child(3){
    background-image: url('/wp-content/themes/neve/assets/img/dorm/card3.png');
}
.dorm-tar-card:nth-child(4){
    background-image: url('/wp-content/themes/neve/assets/img/dorm/card4.png');
}

.dorm-tar-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.dorm-card-tag{
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #36c;
    font-family: var(--desktop-subtitle-font);
    font-size:  var(--desktop-subtitle-size);
    font-weight: var(--desktop-subtitle-weight);
    color: #36c;
}
.dorm-tar-card-cont{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dorm-tar-card-title{
    color: #36c;
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    display: flex;
    justify-content: space-between;
}
.dorm-tar-card-title img{
    height: 32px;
    width: 32px;
}
.dorm-tar-card-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dorm-tar-card-info-title{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dorm-tar-card-name{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #333;
}
.dorm-tar-card-desc{
    font-family: var(--desktop-subtitle-font);
    font-size:  var(--desktop-subtitle-size);
    font-weight: var(--desktop-subtitle-weight);
    color: #333;
}
.dorm-tar-card-val{
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: #333;
}
.dorm-tooltip-cont{
    position: relative;
    flex: 0 0 32px;
}
.dorm-tooltip-text{
    visibility: hidden;
    position: absolute;
    padding: 12px;
    border: 1px solid var(--gray-200);
    font-family: var(--desktop-subtitle-font);
    font-size:  var(--desktop-subtitle-size);
    font-weight: var(--desktop-subtitle-weight);
    color: var(--text);
    width: 310px;
    height: 110px;
    top: 0;
    right: 36px;
    z-index: 999;
    background: #fff;
}
.dorm-tooltip-cont:hover .dorm-tooltip-text{
    visibility: visible;
}

.dorm-docs{
    width: 850px;
}

.dorm-struct-card-title{
    font-family: var(--desktop-h5-font);
    font-size: var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
}
.dorm-card-text{
    margin-top: 4px;
    font-family: var(--desktop-body2-font);
    font-size: var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
}
.dorm-card-sub{
    margin-top: 12px;
    font-family: var(--desktop-subtitle-font);
    font-size: var(--desktop-subtitle-size);
    font-weight: var(--desktop-subtitle-weight);
}
.numfacts-schoutlife-cont {
    display: flex;
    gap: 20px;
    min-height: 460px;
}

.numfacts-schoutlife-rightpane {
    flex-basis: 60%;
    flex-shrink: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.numfacts-schoutlife-rightpane > div {
    flex-basis: 50%;
    flex-shrink: 1;
    flex-grow: 1;
    display: flex;
    gap: 20px;
}

.numfacts-schoutlife-rightpane-block1,
.numfacts-schoutlife-rightpane-block2,
.numfacts-schoutlife-rightpane-block3,
.numfacts-schoutlife-rightpane-block4 {
    flex-shrink: 1;
    flex-grow: 1;
    border-radius: 16px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.numfacts-schoutlife-rightpane-block1 {
    flex-basis: 40%;
    background: #99B3E6;
}

.numfacts-schoutlife-rightpane-block2 {
    flex-basis: 60%;
    background: #D24256;
}

.numfacts-schoutlife-rightpane-block3 {
    flex-basis: 60%;
    background: #36c;
}

.numfacts-schoutlife-rightpane-block4 {
    flex-basis: 40%;
    background: #fff;
}

.numfacts-schoutlife-rightpane-block-btn {
    display: flex;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-decoration: none;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 8px;
}

a.numfacts-schoutlife-rightpane-block-btn:hover,
a.numfacts-schoutlife-rightpane-block-btn:active {
    background: #99B3E6;
}


.numfacts-schoutlife-rightpane-block-btn.white {
    border: 1px solid #fff;
    color: #fff;
}

.numfacts-schoutlife-rightpane-block-btn.blue {
    border: 1px solid #36c;
    color: #36c;
}
.dorm-card-text.white,
.dorm-card-sub.white {
    color: #fff;
}
.dorm-card-text.blue,
.dorm-card-sub.blue,
.dorm-struct-card-title.blue{
    color: #36c;
}
.dorm-card-text.black,
.dorm-card-sub.black{
    color: var(--text);
}

.dorm-aval{
    display: flex;
    gap: 20px;
    background: var(--primary-brand-3);
    border-radius: 16px;
    margin-bottom: 100px;
}
.dorm-aval-img{
    width: 50%;
    display: flex;
    align-items: center;
}
.dorm-aval-cont{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.dorm-aval-title{
    width: 90%;
    font-family: var(--desktop-h2-font);
    font-size: var(--desktop-h2-size);
    font-weight: var(--desktop-h2-weight);
    color: #36c;
}
.dorm-aval-desc{
    width: 90%;
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #333;
}

.numfacts-schoutlife-leftpane {
    flex-basis: 40%;
    flex-shrink: 1;
    flex-grow: 1;
    border-radius: 16px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
    overflow: hidden;
    position: relative;
}
.dorm-slider-btn-cont{
    padding: 8px;
    z-index: 9999;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.dorm-slider-btn{
    cursor: pointer;
}
.dorm-slider-btn:nth-child(2){
    transform: rotate(180deg);
}
.dorm-slider-track{
    height: 100%;
    display: flex;
    transition: .2s;
}
.dorm-slider-img{
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.dorm-slider-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
}

.forki-con-cards{
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 1750px) {
    .dorm-hero-tag{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 1400px) {
    .forki-con-cards{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
}

@media screen and (max-width: 1280px) {
    .dorm-aval{
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .dorm-aval-img{
        width: 100%;
    }
    .dorm-aval-cont{
        width: 100%;
        padding: 32px;
    }
    .dorm-hero{
        flex-direction: column;
        margin-bottom: 32px;
    }
    
    .dorm-aval-title{
        width: 100%;
    }
    .dorm-aval-desc{
        width: 100%;
    }
    .numfacts-schoutlife-cont {
        flex-direction: column;
    }
    .numfacts-schoutlife-leftpane {
        min-height: 360px;
        background-position: top center;
    }
    .dorm-docs{
        width: 100%;
    }
    .dorm-tar-card{
        width: 380px;
    }
}

@media screen and (max-width: 768px) {
    .dorm-aval-img img{
        border-radius: 16px;
        width: 100%;
        object-fit: cover;
    }
    .dorm-aval-img picture{
        border-radius: 16px;
        width: 100%;
        object-fit: cover;
    }
    .dorm-slider-btn img{
        height: 20px;
        width: 20px;
    }
    .dorm-aval{
        margin-bottom: 32px;
    }
    .dorm-tar-cards{
        margin-bottom: 32px;
    }
    .dorm-aval-cont{
        padding: 20px;
    }
    .dorm-tar-card{
        width: 100%;
        height: 203px;
        padding: 20px;
    }
    .dorm-tar-card-cont{
        gap: 16px;
    }
    .dorm-hero-cards{
        flex-direction: column;
    }
    .dorm-hero-tags{
        flex-direction: column;
    }
    .dorm-hero-tag{
        flex-direction: row;
        align-items: flex-end;
    }
    .dorm-hero-card{
        height: auto;
    }
    .dorm-hero-address{
        height: 320px;
        padding: 20px;
    }
    .numfacts-schoutlife-leftpane {
        height: 240px;
        background-position: top center;
        height: auto;
        aspect-ratio: 1 / 0.4;
    }

    .numfacts-schoutlife-rightpane > div {
        flex-direction: column;
    }

    .numfacts-schoutlife-rightpane-block-btn > span {
        font-size: 14px;
    }

    .numfacts-schoutlife-rightpane-block-btn > img {
        width: 20px;
        height: 20px;
    }
    .numfacts-schoutlife-rightpane-block1,
    .numfacts-schoutlife-rightpane-block2,
    .numfacts-schoutlife-rightpane-block3,
    .numfacts-schoutlife-rightpane-block4{
        padding: 16px 20px;
    }
}