

/* Start:/local/templates/main/components/bitrix/news/projects/bitrix/news.detail/.default/style.css?17816088548522*/
.project-detail__title {
    font-weight: 400;
    font-size: 28px;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.project-detail__title-accent {
    color: #ff7a00;
}

.project-detail__header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.project-detail__badge {
    display: inline-block;
    padding: 6px 18px;
    background: #f5f6f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.project-detail__date {
    font-size: 14px;
    color: #888;
}

/* --- Галерея --- */
.project-detail__gallery {
    margin-bottom: 50px;
}

.project-detail__main-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f6f8;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #e8e8e8;
    position: relative;
    cursor: pointer;
}

.project-detail__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.project-detail__main-image .photobox {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Индикатор "клик для увеличения" */
.project-detail__main-image .photobox::after {
    content: '🔍';
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-detail__main-image:hover .photobox::after {
    opacity: 1;
}

/* --- Миниатюры --- */
.project-detail__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.project-detail__thumbs::-webkit-scrollbar {
    height: 4px;
}

.project-detail__thumbs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.project-detail__thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.project-detail__thumb {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.project-detail__thumb .photobox {
    display: block;
    width: 100%;
    height: 100%;
}

.project-detail__thumb:hover {
    opacity: 0.8;
}

.project-detail__thumb.active {
    border-color: #ff7a00;
    opacity: 1;
}

.project-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* --- Управление слайд-шоу --- */
.project-detail__controls {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-detail__gallery:hover .project-detail__controls {
    opacity: 1;
}

.slide-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.2s ease;
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1;
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.slide-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

.slide-btn.slide-play {
    font-size: 16px;
    min-width: 30px;
}

/* Индикатор прогресса */
.project-detail__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 122, 0, 0.6);
    width: 100%;
    z-index: 5;
    overflow: hidden;
}

.project-detail__progress-bar {
    height: 100%;
    width: 0%;
    background: #ff7a00;
    transition: width 0.1s linear;
}
/* --- Контент --- */
.project-detail__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.project-detail__text {
    font-size: 16px;
    line-height: 1.8;
    color: #2c2c2c;
}

.project-detail__text p {
    margin-bottom: 16px;
}

.project-detail__text ul,
.project-detail__text ol {
    margin: 0 0 16px 20px;
}

.project-detail__text li {
    margin-bottom: 8px;
}

/* --- Характеристики --- */
.project-detail__specs {
    background: #f7f7f5;
    border: 1px solid #e8e8e5;
    border-radius: 6px;
    padding: 24px 28px;
}

.project-detail__specs-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.project-detail__specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-detail__specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e5;
    font-size: 14px;
    line-height: 1.5;
}

.project-detail__specs-list li:last-child {
    border-bottom: none;
}

.specs-label {
    color: #666;
    font-weight: 500;
}

.specs-value {
    color: #1a1a1a;
    text-align: right;
    max-width: 60%;
}

/* --- Действия --- */
.project-detail__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', Arial, sans-serif;
}

.btn-back {
    background: #f5f6f8;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}

.btn-back:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.btn-main {
    background: #ff7a00;
    color: #ffffff;
    border: none;
}

.btn-main:hover {
    background: #e05d00;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.3);
}

.btn svg {
    flex-shrink: 0;
}

/* --- Навигация между проектами --- */
.project-detail__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
}

.project-detail__nav-prev,
.project-detail__nav-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-detail__nav-prev:hover,
.project-detail__nav-next:hover {
    color: #ff7a00;
}

.project-detail__nav-prev svg,
.project-detail__nav-next svg {
    flex-shrink: 0;
}

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .project-detail__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-detail__thumb {
        width: 140px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .project-detail__title {
        font-size: 22px;
    }

    .project-detail__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-detail__header-right {
        width: 100%;
    }

    .project-detail__main-image {
        aspect-ratio: 4 / 3;
    }

    .project-detail__thumb {
        width: 100px;
        height: 60px;
    }

    .project-detail__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
        padding: 14px 20px;
    }

    .project-detail__nav {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .project-detail__nav-prev,
    .project-detail__nav-next {
        justify-content: center;
        padding: 12px 0;
    }

    .project-detail__specs {
        padding: 18px 16px;
    }

    .project-detail__specs-list li {
        flex-direction: column;
        gap: 4px;
    }

    .specs-value {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .project-detail__thumb {
        width: 80px;
        height: 50px;
    }

    .project-detail__badge {
        font-size: 11px;
        padding: 4px 12px;
    }
}
/* End */
/* /local/templates/main/components/bitrix/news/projects/bitrix/news.detail/.default/style.css?17816088548522 */
