

/* Start:/local/templates/fpt/components/bitrix/news.detail/detail-project/style.css?17960427775139*/
/* Страница "Проекты - подробно" (перенесено с fpt-ind.tw1.ru) */

/* Крошки сразу под фиксированной шапкой: --fpt-nav-h — её высота, точное значение ставит script.js,
   здесь примерные значения до загрузки скрипта (fpt-004) */
.project-detail {
    --fpt-nav-h: 111px;
}
.project-detail .breadcrumbs-section {
    margin-top: var(--fpt-nav-h);
    padding-top: 15px;
    padding-bottom: 15px;
}
.project-detail ~ #section-projects {
    margin-top: 15px;
}
@media (max-width: 1199.98px) {
    .project-detail { --fpt-nav-h: 153px; }
}
@media (max-width: 767.98px) {
    .project-detail { --fpt-nav-h: 182px; }
}
@media (max-width: 575.98px) {
    .project-detail { --fpt-nav-h: 140px; }
}

.projects__text {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #9e9e9e;
  line-height: 150%;
}

.h3__title-red {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 24px;
  color: #e41e2d;
  margin-bottom: 30px;
}

.project-item .position-relative {
    position: relative;
    overflow: hidden;
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(21, 21, 21, 0.7);
    padding: 12px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.zoom-icon img {
    width: 24px;
    height: 24px;
}

.project-item:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.zoom-icon:hover {
    background: rgba(21, 21, 21, 0.9);
}

.zoom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.zoom-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.zoom-popup-content {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-popup-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.zoom-popup-close, .zoom-popup-arrow {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.zoom-popup-close:hover, .zoom-popup-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.zoom-popup-close {
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    font-size: 22px;
    font-family: Arial, sans-serif;
}

.zoom-popup-arrow {
    position: absolute;
    top: 50%;
    margin: 0 !important; 
    padding: 0 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;   
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 38px !important;
    font-family: Arial, sans-serif !important;
    user-select: none !important;
    
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.zoom-popup-arrow.prev {
    left: 30px !important;
    transform: translateY(-50%) !important;
    text-indent: -3px; 
}

.zoom-popup-arrow.next {
    right: 30px !important;
    transform: translateY(-50%) !important;
    text-indent: 3px; 
}

.zoom-popup-arrow:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.zoom-popup-counter {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    user-select: none;
    z-index: 999999;
}


@media (max-width: 768px) {
   .zoom-popup-arrow {
        top: auto !important;
        bottom: 30px !important;
    }
    .zoom-popup-arrow.prev { 
        left: calc(50% - 70px) !important; 
        transform: none !important;
    }
    .zoom-popup-arrow.next { 
        right: calc(50% - 70px) !important; 
        transform: none !important;
    }
    
    .zoom-popup-close { top: 15px; right: 15px; }

    .zoom-popup-counter {
        top: 20px;
    }

}
/* Категория проекта — ссылка на страницу направления (fpt-006) */
.project-category-link {
    color: inherit;
    text-decoration: none;
}
.project-category-link:hover {
    text-decoration: underline;
}

/* End */
/* /local/templates/fpt/components/bitrix/news.detail/detail-project/style.css?17960427775139 */
