/* ═══════════════════════════════════════════════
   Бегущая строка — v2.0.1
   ═══════════════════════════════════════════════ */

.dc-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    padding: 10px 0;
    margin-bottom: 15px;
    overflow: hidden;
}

body.single-post .dc-wrap {
    margin-top: 15px;
}

/* ── Метка ── */
.dc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #000;
    margin-left: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: "Share Tech Mono", monospace !important;
    text-transform: uppercase;
    line-height: 1;
}

/* ── Вертикальный разделитель ── */
.dc-divider {
    height: 28px;
    width: 3px;
    background-color: #0b008a;
    border-radius: 2px;
    margin: 0 12px;
    flex-shrink: 0;
}

/* ── Обёртка бегущей строки ── */
.dc-track-outer {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

/* Fade-эффект на краях */
.dc-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.dc-fade--left {
    left: 0;
    background: linear-gradient(to right, #fff 20%, transparent 100%);
}

.dc-fade--right {
    right: 0;
    background: linear-gradient(to left, #fff 20%, transparent 100%);
}

/* ── Бегущая строка ── */
.dc-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: dc-scroll 45s linear infinite;
    padding: 2px 0;
}

.dc-track:hover {
    animation-play-state: paused;
}

@keyframes dc-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Ссылка ── */
.dc-link {
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    font-family: "Share Tech Mono", monospace !important;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.dc-link:hover {
    color: #0b008a;
    text-decoration: none;
}

/* ── Разделитель • ── */
.dc-sep {
    margin: 0 16px;
    color: #d1d5db;
    font-size: 10px;
    line-height: 1;
    flex-shrink: 0;
}
