

/* Start:/local/components/dmcg/apartments/templates/.default/style.css?17643240057444*/
.apartment-card,
.apartment-card *,
.apartment-card:visited,
.apartment-card:hover,
.apartment-card:focus {
    text-decoration: none !important;
    color: inherit !important;
}

.section-apartments {
    background: #0E2B42 url("/local/templates/barkli-dan/images/sec_31_bg.png") center top repeat;
    background-size: contain;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    font-family: "Isabella Sans", sans-serif;
    padding-bottom: 40px;
}

.section-apartments__title {
    text-align: center;
    font-family: "SangBleu Sunrise", serif;
    font-size: 2rem;
    font-weight: 300;
    color: #D2D2CC;
    margin-bottom: 0.5rem;
}

.section-apartments__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 60px;
}




.apartments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 50px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.apartment-card {
    position: relative;
    z-index: 1;


    border-radius: 26px;
    background: #122B44;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.apartment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.apartment-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apartment-card__img {
    position: relative;
    width: 100%;
    height: 250px;
    background: #fff;
    border-radius: 26px 26px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.apartment-card__img img {
    width: 90%;
    height: 90%;
    object-fit: contain; /* вписывается без обрезки */
    object-position: center;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.apartment-card__img:hover img {
    transform: scale(1.03);
}

/* ====== Нижняя часть — текст ====== */
.apartment-card__info {
    padding: 26px 30px 32px;
    color: #fff;
    font-family: 'Isabella Sans', sans-serif;
    text-align: left;
    background: #122B44;
    border-radius: 0 0 26px 26px;
    flex-grow: 1;
}

.apartment-card__info .num {
    font-family: 'SangBleu Sunrise', serif;
    font-size: 1.1rem;
    color: #D4BFA1;
    margin-bottom: 8px;
}

.apartment-card__info .desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 14px;
}

.apartment-card__info .price {
    font-family: 'SangBleu Sunrise', serif;
    color: #D4BFA1;
    font-size: 1.3rem;
}


.apartments-filter {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto 40px;
    font-family: 'Isabella Sans', sans-serif;
    color: #fff;
}

.filter-row {
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    padding: 15px;
    flex-wrap: wrap;
    gap: 5px 20px;
    border-radius: 10px;
    align-items: flex-end;
}


@media (max-width: 400px) {
    .apartments-filter {
        width: 96%;
        gap: 8px 20px;
    }

    .apartments-list {
        display: block;
        gap: 10px;

    }

}




.filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 120px;
}

.filter-item label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.filter-range input {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1rem;
    width: 50px;
    padding: 6px 10px;
    border-radius: 4px;
}

.filter-range input:focus {
    outline: none;
    border-color: #D4BFA1;
}

.filter-buttons button {
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 6px;
    cursor: pointer;
    transition: all .2s ease;
}

.filter-buttons button.active {
    background: #D4BFA1;
    color: #0e2b42;
    border-color: #D4BFA1;
}

.filter-like {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding-left: 37px;
    padding-top: 4px;
    padding-bottom: 5px;
}

.filter-like img {
    width: 22px;
    height: 22px;
}

.filter-like.active img {
    content: url("/local/components/dmcg/apartments/templates/.default/images/like_set.svg");
}

.filter-item select {
    width: 100%;

    padding: 7px 36px 7px 14px;
    font-family: 'Isabella Sans', sans-serif;
    font-size: 1rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;

    /* Сбрасываем дефолтный стиль во всех браузерах */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("/local/components/dmcg/apartments/templates/.default/images/d_arrow.svg");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;

    transition: all 0.3s ease;
}

.filter-item select:focus {
    outline: none;
    border-color: #D4BFA1;
    background-color: rgba(255, 255, 255, 0.1);
}

.filter-item option {
    color: #000; /* иначе в Safari текст может стать белым на белом фоне */
}


.filter-reset {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .2s ease;
    text-align: right;
}

.filter-reset:hover {
    color: #D4BFA1;
}


.apartment-card__info {
    position: relative;
    padding: 26px 30px 32px;
    background: #122B44;
    border-radius: 0 0 26px 26px;
    color: #fff;
    font-family: 'Isabella Sans', sans-serif;
}

.apartment-like {
    position: absolute;
    top: 24px;
    position: absolute;
    z-index: 1000;
    right: 26px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.apartment-like:hover {
    transform: scale(1.15);
}

.apartment-like img {
    width: 22px;
    height: 22px;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.apartment-like.active img {
    content: url("/local/components/dmcg/apartments/templates/.default/images/like_set.svg");
    opacity: 1;
}


.show-all-wrapper {
    display: flex;
    justify-content: center;
    margin: 60px 0 100px;
}

.btn-show-all {
    display: inline-block;
    padding: 14px 40px;
    font-family: "Isabella Sans", sans-serif;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all .3s ease;
}

.btn-show-all:hover {
    border-color: #D4BFA1;
    color: #D4BFA1;
    background: rgba(212, 191, 161, 0.15);
}

.apartments-empty {
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Isabella Sans', sans-serif;
    font-size: 1.2rem;
    padding: 60px 0;
    margin-bottom: 200px;
}


@media (max-width: 1000px) {
    .section-apartments {
        background: #0E2B42;
    }

    .section-apartments__title {
        font-size: 1.4rem;
    }

    .section-apartments__subtitle {
        width: 80%;
        margin: 0 auto;
        padding-bottom: 20px;
    }
    .filter-row{
        padding:7px;
    }
    .apartment-card {
     margin-bottom: 20px;
    }
    .section-apartments{
        padding-bottom: 1px;
    }
    .fancybox__content{
        padding:5px!important;
    }
}

/* End */


/* Start:/local/components/dmcg/mortgage.calculator/templates/.default/style.css?17636555675937*/
.mortgage-section {
    background: #fff;
    padding: 80px 0;
    color: #8B503F;
}

.mortgage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mortgage-title {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: .04em;
}

.mortgage-container h3 {
    font-size: 24px;
}

.mortgage-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.mortgage-tab {
    border: 1px solid #d4bfa1;
    background: transparent;
    padding: 8px 20px;
    cursor: pointer;
}

.mortgage-tab.active, .mortgage-tab:hover {
    background: #d4bfa1;
    color: #fff;
}

.mortgage-body {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}


.mortgage-left {
    border: 1px solid #d4bfa1;
    border-radius: 4px;
    padding: 15px 40px;
    max-width: 380px;
    font-family: "Isabella Sans", sans-serif;
    color: #70534a;
    background: #fff;
}

.mortgage-left__title {
    font-size: 24px;
    font-weight: 400;
    color: #70534a;
    margin-bottom: 25px;
}

.mortgage-field {
    margin-bottom: 2px;
}

.mortgage-field label {
    display: block;
    font-size: 16px;
    color: #70534a;
    margin-bottom: 6px;
}

.range-line {
    position: relative;
}

.mortgage-value {
    font-size: 17px;
    text-align: right;
    margin-top: 4px;
    color: #70534a;
}

/* кастомизация ползунков */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: #70534a;
    outline: none;
    border-radius: 2px;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #70534a;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #70534a;
    cursor: pointer;
}

.mortgage-select select {
    width: 100%;
    font-size: 15px;
    color: #70534a;
    border: none;
    border-bottom: 2px solid #70534a;
    background: url("/local/templates/barkli-dan/images/sect6/sel.svg") no-repeat right 10px center / 12px;
    appearance: none;
    padding: 6px 30px 6px 0;
    font-family: "Isabella Sans", sans-serif;
}

.mortgage-select select:hover {
    outline: none;
    border-bottom: 2px solid #c69c8c;
}

.mortgage-payment {

    padding-top: 20px;
    margin-top: 15px;
}

.mortgage-payment span {
    font-size: 16px;
    color: #70534a;
}

.mortgage-payment__sum {
    font-size: 22px;
    font-family: "SangBleu Sunrise", serif;
    color: #000;
    margin-top: 4px;
}

.mortgage-payment__sum b {
    font-size: 36px;
    font-weight: 400;
    color: #122B44;
}

.btn-apply {
    margin-top: 14px;
    margin-bottom: 10px;
    display: inline-block;
    background: #70534a;
    color: #fff;
    font-size: 15px;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}


.btn-apply:hover {
    background: #8a6d61;
}


.mortgage-right {
    flex: 1;
    border: 1px solid #d4bfa1;
    border-radius: 4px;
    padding: 20px;
    overflow-y: auto;
    max-height: 520px;
}

.banks-head, .bank-row {
    display: grid;
    grid-template-columns: 60px 1.2fr 1fr 1fr 1fr; /* 5 колонок */
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e1d7;
    font-family: "Isabella Sans", sans-serif;
    color: #70534a;
}

.banks-head {
    font-weight: 600;
    background: #faf7f5;
    border-radius: 6px 6px 0 0;
}

.banks-scroll {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.bank-row {
    background: #fff;
    transition: background 0.2s ease;
}

.bank-row:nth-child(even) {
    background: #fdfaf8;
}

.bank-row:hover {
    background: #f8f2ef;
}

.bank-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
}

.banks-empty {
    text-align: center;
    padding: 40px;
    color: #9c7c6c;
    font-size: 15px;
}

@media (max-width: 768px) {
    .mortgage-body {
        flex-direction: column;
    }

    .mortgage-right {
        max-height: none;
    }
}


.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.7);
}

.popup-form {
    background: #fff;
    color: #70534a;
    font-family: "Isabella Sans", sans-serif;
    padding: 20px;
    border-radius: 12px;
    width: min(420px, 90vw);
    text-align: left;
}

.popup-form h3 {
    font-size: 22px;
    font-family: "SangBleu Sunrise", serif;
    margin-bottom: 10px;
}

.popup-sub {
    font-size: 15px;
    color: #9c7c6c;
    margin-bottom: 20px;
}

.popup-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #d4bfa1;
    border-radius: 6px;
    font-size: 15px;
    color: #70534a;
}

.popup-input:focus {
    outline: none;
    border-color: #70534a;
}

.popup-privacy {
    display: flex;
    align-items: center;
    font-size: 13px;
    gap: 6px;
    margin-bottom: 20px;
}

.popup-privacy a {
    color: #70534a;
    text-decoration: underline;
}

.btn-send {
    background: #70534a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    transition: 0.3s ease;
}

.btn-send:hover {
    background: #8a6d61;
}

@media (max-width: 900px) {
    .mortgage-section {
        padding: 20px 0;
    }

    .mortgage-title {
        font-size: 30px;
    }

    .mortgage-left {
        padding: 15px 20px;
    }

    .mortgage-right {
        padding: 0px;
    }

    .banks-head, .bank-row {
        grid-template-columns: 45px 1fr 1.2fr 1.1fr 1.2fr;

    }
}



.bank-row.active {
    background: #f3e9e3 !important;
    box-shadow: inset 0 0 0 1px #c8a893;
    transition: 0.3s ease;
}

.bank-row {
    cursor: pointer;
}


/* End */


/* Start:/local/components/dmcg/locations/templates/.default/style.css?17636670273616*/
.section-locations {
    background: #0E2B42 url("/local/templates/barkli-dan/images/sec_31_bg.png") center/cover no-repeat;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    font-family: "Isabella Sans", sans-serif;
    padding-bottom: 0px;
}

.locations-tabs {
    display: flex;
    margin-top: 20px;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.loc-tab {
  background: rgba(14, 43, 66, 0.64);
    border: 1px solid #A18445;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 19px;
    cursor: pointer;
    font-family: "Isabella Sans";
}
.loc-tab.active {
    background: #fff;
    color: #0E2B42;
}

.loc-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.loc-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.loc-card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: left;
    background: linear-gradient(176deg, transparent, rgba(47, 37, 158, 1) 84.87%);
    color: #fff;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

.locations-map {
    margin-top: 40px;
    width: 100%;
    height: 500px;

    overflow: hidden;
}

.map-popup {
    max-width: 220px;
}
.map-popup img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 5px;
}
[class*="ymaps-"][class*="-ground-pane"] {
    filter: grayscale(100%) brightness(70%) contrast(110%);
}


#locSlider {
    padding: 0 30px; /* Отступ слева и справа от края экрана */
}

#locSlider .slick-slide {
    margin: 0 10px;
}
#locSlider .slick-list {
    margin: 0 -10px; /* чтобы компенсировать */
}

/* Общие стили для стрелок */
.slick-prev,
.slick-next {
    background: transparent;
    border: none;
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    opacity: 1;
}

/* Левая стрелка */
.slick-prev {
    left: 10px; /* отступ от левого края слайдера */
}

.slick-prev img {
    width: 100%;
    height: auto;
}

/* Правая стрелка */
.slick-next {
    right: 10px; /* отступ от правого края */
}

.slick-next img {
    width: 100%;
    height: auto;
}

/* Для мобильных (чтобы были ближе) */
@media (max-width: 768px) {
    .slick-prev {
        left: 5px;
    }
    .slick-next {
        right: 5px;
    }
}
.map-popup {
    width: 240px;
    overflow: hidden;
    font-family: "Isabella Sans", sans-serif;
    text-align: left;
}

.map-popup img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.map-popup__footer {
    background: #0E2B42;
    color: #fff;
    padding: 12px 14px;
}

.map-popup__type {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 2px;
}
.slick-arrow{
    width: 40px;
    opacity: 0.8!important;
     box-shadow: 0 0 10px rgba(255, 200, 180, 0.25);
}
.map-popup__name {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}

.ymaps-2-1-79-balloon__layout, .ymaps-2-1-79-balloon__content{
    background-color: #0E2B42!important;
    border-radius: 6px!important;
}
.ymaps-2-1-79-balloon__tail:after{
    background-color: #0E2B42!important;
}

.ymaps-2-1-79-balloon__close {
    display: none !important;
}

.ymaps-2-1-79-balloon__close+.ymaps-2-1-79-balloon__content{
    margin-right: 12px!important;
}

/* End */


/* Start:/local/components/dmcg/blogmain/templates/.default/style.css?17636717971493*/
.section-media {
    background: #071d2f url("/local/templates/barkli-dan/images/sec_31_bg.png") center/cover no-repeat;
    color: #fff;
    padding: 40px 0;
    font-family: "Isabella Sans", sans-serif;
}

.media-grid {
    display: grid;
    width: 95%;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.media-card {
    text-decoration: none;
    color: #fff;
    display: flex;
    margin: 0 10px;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.media-image img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.media-source {
    margin-top: 20px;
    color: #A18445;
    font-family: 'SangBleu Sunrise', serif;
    font-size: 20px;
    font-weight: 500;
}

.media-title {
    margin-top: 10px;
    font-size: 19px;
    line-height: 1.4;
    color: #fff;
}

.media-text {
    margin-top: 8px;
    font-size: 16px;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .media-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

.media-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.media-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transition: background 0.3s ease;
}

.media-card:hover .media-image::after {
    background: rgba(0, 0, 0, 0.15);
}

/* End */


/* Start:/local/components/dmcg/news/templates/.default/style.css?17636717971493*/
.section-media {
    background: #071d2f url("/local/templates/barkli-dan/images/sec_31_bg.png") center/cover no-repeat;
    color: #fff;
    padding: 40px 0;
    font-family: "Isabella Sans", sans-serif;
}

.media-grid {
    display: grid;
    width: 95%;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.media-card {
    text-decoration: none;
    color: #fff;
    display: flex;
    margin: 0 10px;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.media-image img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.media-source {
    margin-top: 20px;
    color: #A18445;
    font-family: 'SangBleu Sunrise', serif;
    font-size: 20px;
    font-weight: 500;
}

.media-title {
    margin-top: 10px;
    font-size: 19px;
    line-height: 1.4;
    color: #fff;
}

.media-text {
    margin-top: 8px;
    font-size: 16px;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .media-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

.media-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.media-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transition: background 0.3s ease;
}

.media-card:hover .media-image::after {
    background: rgba(0, 0, 0, 0.15);
}

/* End */
/* /local/components/dmcg/apartments/templates/.default/style.css?17643240057444 */
/* /local/components/dmcg/mortgage.calculator/templates/.default/style.css?17636555675937 */
/* /local/components/dmcg/locations/templates/.default/style.css?17636670273616 */
/* /local/components/dmcg/blogmain/templates/.default/style.css?17636717971493 */
/* /local/components/dmcg/news/templates/.default/style.css?17636717971493 */
