

/* Start:/bitrix/templates/dn2020/components/bitrix/news.detail/legends/style.css?17865414388294*/
/* ===== Детальная страница – тёмная тема (вариант 2) ===== */
.rally-detail-dark {
    background: #121212;
    color: #ffffff;
    padding: 2rem 0;
}

.rally-detail-dark__container {
    max-width: 800px;
    margin: 0 auto;
}

/* Иконки */
.rally-icon-dark {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
    stroke: #ffeb00;
    fill: none;
}
.rally-icon-dark--fire {
    stroke: #ffeb00;
    fill: none;
}

/* Мета */
.rally-detail-dark__meta {
    font-size: 0.9rem;
    color: #cccccc;
    border-bottom: 2px solid #ffeb00;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}
.rally-link-dark {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}
.rally-link-dark:hover {
    color: #ffeb00;
}
.rally-detail-dark__source {
    color: #cccccc;
}

/* Заголовок */
.rally-detail-dark__title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.rally-divider-dark {
    width: 60px;
    height: 4px;
    background: #ffeb00;
    margin: 1rem 0 1.5rem;
}

/* Превью */
.rally-detail-dark__preview {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    padding: 1rem 0;
    border-left: 4px solid #ffeb00;
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Изображение */
.rally-detail-dark__image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.rally-detail-dark__image {
    width: 100%;
    height: auto;
    display: block;
}

/* Детальный текст */
.rally-detail-dark__content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e0e0;
}
.rally-detail-dark__content h2,
.rally-detail-dark__content h3 {
    margin-top: 2rem;
    font-weight: 600;
    color: #ffffff;
}
.rally-detail-dark__content blockquote {
    padding: 1rem 1.5rem;
    border-left: 4px solid #ffeb00;
    background: #1e1e1e;
    margin: 1.5rem 0;
    font-style: italic;
    color: #cccccc;
}
.rally-detail-dark__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.rally-detail-dark__content a {
    color: #ffeb00;
    text-decoration: underline;
}
.rally-detail-dark__content a:hover {
    color: #ffffff;
}

/* Горячая тема */
.rally-hot-block-dark {
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 12px;
}
.rally-hot-block-dark__header {
    margin-bottom: 1.2rem;
}
.rally-hot-block-dark__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.rally-hot-card-dark {
    background: #121212;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    border: 1px solid #2a2a2a;
}
.rally-hot-card-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255,235,0,0.15);
}
.rally-hot-card-dark__image {
    height: 140px;
    background-size: cover;
    background-position: center;
}
.rally-hot-card-dark__body {
    padding: 1rem;
}
.rally-hot-card-dark__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}
.rally-hot-card-dark__text {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin: 0;
}
.rally-hot-card-dark__link {
    color: inherit;
    text-decoration: none;
}
.rally-hot-card-dark__link:hover {
    color: inherit;
}

/* Автор */
.rally-author-card-dark {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #2a2a2a;
}
.rally-author-card-dark__avatar {
    width: 100%;
    max-width: 80px;
}
.rally-author-card-dark__name {
    font-size: 1.2rem;
    font-weight: 700;
}
.rally-author-card-dark__name a {
    color: #ffffff;
    text-decoration: none;
}
.rally-author-card-dark__name a:hover {
    color: #ffeb00;
}
.rally-author-card-dark__prof {
    color: #aaaaaa;
    font-size: 0.95rem;
}
.rally-author-card-dark__links {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.rally-author-card-dark__links a {
    color: #cccccc;
    text-decoration: none;
    border-bottom: 1px dotted #444;
}
.rally-author-card-dark__links a:hover {
    color: #ffeb00;
    border-bottom-color: #ffeb00;
}

/* Галерея */
.rally-gallery-dark {
    border-radius: 12px;
    overflow: hidden;
}
.gallery-top .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e1e;
}
.gallery-top .swiper-slide img {
    max-height: 500px;
    width: auto;
    max-width: 100%;
}
.gallery-thumbs .swiper-slide {
    height: 80px;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
}
.gallery-thumbs .swiper-slide-active,
.gallery-thumbs .swiper-slide:hover {
    opacity: 1;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #ffeb00 !important;
}
.swiper-button-next,
.swiper-button-prev {
    color: #ffeb00 !important;
}

/* Видео */
.rally-video-dark {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.rally-video-dark iframe {
    display: block;
}

/* Социальные кнопки */
.rally-social-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a2a;
}
.rally-social-dark__label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 8px;
}
.rally-social-dark__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #ffffff;
    transition: all 0.2s;
    text-decoration: none;
}
.rally-social-dark__link:hover {
    background: #ffeb00;
    color: #121212;
    transform: scale(1.05);
}
.rally-social-dark__link .rally-icon-dark {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
    margin: 0;
}

/* Рекламное предупреждение */
.rally-ad-notice-dark {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    padding: 0.5rem;
    background: #1e1e1e;
    border-radius: 6px;
}

/* Форма обратной связи */
.rally-feedback-dark {
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}
.rally-feedback-dark .form-control {
    background: #121212;
    border-color: #333;
    color: #ffffff;
}
.rally-feedback-dark .form-control:focus {
    border-color: #ffeb00;
    box-shadow: 0 0 0 0.2rem rgba(255,235,0,0.25);
}
.rally-feedback-dark .btn {
    background: #ffeb00;
    color: #121212;
    border: none;
}
.rally-feedback-dark .btn:hover {
    background: #ffffff;
    color: #121212;
}

/* Адаптив */
@media (max-width: 767px) {
    .rally-detail-dark__title {
        font-size: 1.8rem;
        padding: 1rem;
    }
    .rally-detail-dark__preview {
        font-size: 1rem;
        padding: 1rem;
    }
    .rally-detail-dark__content {
        font-size: 1rem;
        padding: 1rem
    }
    .rally-author-card-dark__avatar {
        max-width: 60px;
    }
}


/* ----- Кнопка "Назад к списку" (тёмная тема) ----- */
.rally-back-wrap {
    margin-bottom: 1.5rem;
}

.rally-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    color: #121212;
    background: transparent;
    border: 1px solid #121212;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.rally-back-btn:hover {
    background: #ffeb00;
    color: #121212;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 235, 0, 0.3);
}

.rally-back-icon {
    width: 20px;
    height: 20px;
    stroke: #121212;
    transition: stroke 0.25s;
}

.rally-back-btn:hover .rally-back-icon {
    stroke: #121212;
}

/* Адаптив */
@media (max-width: 767px) {
    .rally-back-btn {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    .rally-back-icon {
        width: 16px;
        height: 16px;
    }
}
/* End */
/* /bitrix/templates/dn2020/components/bitrix/news.detail/legends/style.css?17865414388294 */
