

/* Start:/local/templates/dali/components/bitrix/news.detail/projects/style.css?176518783910727*/
/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.project-detail {
    padding: 20px 0 60px;
    font-family: 'Open Sans', sans-serif;
    max-width: 1200px; /* Ограничиваем ширину, так как колонка одна */
    margin: 0 auto;
}

/* Навигация */
.project-detail__nav {
    margin-bottom: 20px;
}
.project-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0095c4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.project-detail__back:hover {
    color: #007ba3;
}

/* Заголовок */
.project-detail__header {
    margin-bottom: 25px;
}
.project-detail__title {
    font-size: 34px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* ===== МЕТА-ИНФОРМАЦИЯ (Новая верхняя панель) ===== */
.project-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 35px;
    align-items: center;
}
.project-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid #e0e0e0;
}
.project-meta-item:last-child {
    border-right: none;
    padding-right: 0;
}
.project-meta-item__icon {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0095c4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.project-meta-item__content {
    display: flex;
    flex-direction: column;
}
.project-meta-item__label {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.project-meta-item__value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.project-meta-item--logo {
    margin-left: auto; /* Логотип прижимаем вправо */
    border: none;
    padding-right: 0;
}
.project-meta-item--logo img {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
    mix-blend-mode: multiply; /* Убирает белый фон логотипа если он есть */
}

/* ===== КОНТЕНТ ===== */
.project-detail__content {
    margin-bottom: 60px;
}

/* Галерея */
.project-gallery {
    margin-bottom: 30px;
}
.project-gallery__main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    background: #222; /* Темный фон для фото */
}
.project-gallery__main img {
    max-width: 100%;
    height: auto;
    max-height: 600px; /* Ограничиваем высоту */
    object-fit: contain; /* Чтобы фото не обрезалось */
    display: block;
}
.project-gallery__fullscreen {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.project-gallery__fullscreen:hover {
    background: rgba(0,0,0,0.8);
}
.project-gallery__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.project-gallery__thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}
.project-gallery__thumb:hover {
    transform: translateY(-2px);
}
.project-gallery__thumb.active {
    border-color: #0095c4;
}
.project-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Лайтбокс (без изменений) */
.project-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.project-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.project-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.project-lightbox__close:hover {
    opacity: 1;
}
.project-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}
.project-lightbox__nav:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}
.project-lightbox__nav--prev { left: 20px; }
.project-lightbox__nav--next { right: 20px; }
.project-lightbox__content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.project-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    opacity: 0.7;
}

/* Анонс и Текст */
.project-detail__preview {
    font-size: 19px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafb, #e8f4f8);
    border-radius: 12px;
    border-left: 5px solid #0095c4;
}

.project-detail__text {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    max-width: 900px; /* Чтобы текст не растягивался слишком широко для чтения */
}
.project-detail__text p {
    margin-bottom: 20px;
}
.project-detail__text h2,
.project-detail__text h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}
.project-detail__text ul,
.project-detail__text ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.project-detail__text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Оборудование */
.project-detail__section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.project-detail__section-title svg {
    color: #0095c4;
}
.equipment-cards {
    display: grid;
    /* Увеличили минимальную ширину карточки */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 24px;
}
.equipment-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}
.equipment-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: #0095c4;
}
.equipment-card__image {
    width: 120px;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0f0f0;
}
.equipment-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.equipment-card__no-image {
    padding: 20px;
}
.equipment-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.equipment-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.3;
}
.equipment-card__desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
    flex-grow: 1;
}
.equipment-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #0095c4;
    margin-top: auto;
}
.equipment-card:hover .equipment-card__link {
    color: #007ba3;
}
.equipment-card__link svg {
    transition: transform 0.2s;
}
.equipment-card:hover .equipment-card__link svg {
    transform: translateX(4px);
}

/* ===== CTA БЛОК (ВНИЗУ) ===== */
.project-bottom-cta {
    background: linear-gradient(120deg, #0095c4, #007ba3);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 149, 196, 0.25);
}
.project-bottom-cta__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.project-bottom-cta__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}
.project-bottom-cta__text {
    font-size: 16px;
    opacity: 0.95;
    margin: 0 0 24px;
    line-height: 1.6;
}
.project-bottom-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0095c4;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.project-bottom-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: #f8f9fa;
}
.project-bottom-cta__decor {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 40%;
    pointer-events: none;
    opacity: 0.4;
}
.project-bottom-cta__decor svg {
    width: 100%;
    height: 100%;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .project-meta-bar {
        gap: 15px;
    }
    .project-meta-item {
        border: none; /* Убираем разделители на планшете */
        width: calc(50% - 15px); /* По два в ряд */
        padding-right: 0;
        background: #fff;
        padding: 15px;
        border-radius: 8px;
    }
    .project-meta-item--logo {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .project-detail__title {
        font-size: 26px;
    }
    .project-meta-bar {
        background: transparent;
        padding: 0;
    }
    .project-meta-item {
        width: 100%; /* По одному в ряд */
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .equipment-cards {
        grid-template-columns: 1fr;
    }
    
    .project-bottom-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .project-bottom-cta__btn {
        width: 100%;
        justify-content: center;
    }
    .project-bottom-cta__decor {
        display: none;
    }
}
/* End */
/* /local/templates/dali/components/bitrix/news.detail/projects/style.css?176518783910727 */
