@media (width <= 980px) {
    body {
    padding-top: 70px;
  }
}


.card .tn-molecule:hover {
    background: #F4F4F4 !important;
}

.uc-service-block {
    display: none !important;
}

a:hover {
    color: #FF3F1E !important;
}

.t-feed__post-popup .t-popup__container {
    background-color: #fff;
}

.t-feed__post-popup__content img {
    max-width: 50% !important;
}

.t897__container, .t-container {
        max-width: 1440px;
        padding-inline: 48px !important;
            max-width: 100% !important;
    }
body {
    overflow-x: hidden;
}
 
@media (max-width: 1440px) {
    .t897__container, .t-container {
        max-width: 1200px;
    }
 }
 
 @media (max-width: 1200px) {
    .t897__container, .t-container {
        max-width: 1200px;
    }
 }
 
@media (max-width: 960px) {
    .t897__container, .t-container {
        max-width: 640px;
    }
 }
 
@media (max-width: 640px){
    .t897__container, .t-container {
        max-width: 480px;
         padding-inline: 5px !important;
    }
 }
 
@media (max-width: 480px){
    .t897__container, .t-container {
        max-width: 320px;
         padding-inline: 5px !important;
    }
    
 }


#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FF3F1E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}
#scrollTopBtn:hover {
    background: #e6360f;
}
#scrollTopBtn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}
@media (max-width: 640px) {
    #scrollTopBtn {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
    }
    #scrollTopBtn svg {
        width: 18px;
        height: 18px;
    }
}

/* П.8 — принудительный квадрат 1:1 для картинок лент (афиша, новости, резиденты) */
.t-feed__post-imgwrapper,
.t-feed__post-imgwrapper_beforetitle {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    padding-top: 0 !important;
}
.t-feed__post-bgimg {
    height: 100% !important;
    object-fit: cover !important;
}
