.nvt-timeline {
    --nvt-ink: #1f1711;
    --nvt-muted: #6d5a48;
    --nvt-paper: #f8f0df;
    --nvt-paper-deep: #ead8b8;
    --nvt-line: rgba(48, 34, 22, 0.24);
    --nvt-red: #8d2f22;
    --nvt-shadow: 0 18px 42px rgba(44, 28, 12, 0.16);
    width: 100%;
    margin: 42px 0;
    color: var(--nvt-ink);
    font-family: Georgia, "Times New Roman", serif;
}

.nvt-timeline * {
    box-sizing: border-box;
}

.nvt-hero,
.nvt-range-panel,
.nvt-card {
    background:
        repeating-linear-gradient(0deg, rgba(31, 23, 17, 0.03) 0 1px, transparent 1px 8px),
        var(--nvt-paper);
}

.nvt-hero {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--nvt-line);
    border-radius: 22px;
    box-shadow: var(--nvt-shadow);
}

.nvt-hero::after {
    content: "1914";
    position: absolute;
    right: 18px;
    bottom: -28px;
    color: rgba(31, 23, 17, 0.07);
    font-size: clamp(76px, 16vw, 180px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.nvt-kicker {
    margin-bottom: 10px;
    color: var(--nvt-red);
    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nvt-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.nvt-title {
    margin: 0;
    max-width: 780px;
    font-size: clamp(34px, 6vw, 74px);
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.nvt-subtitle {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--nvt-muted);
    font-size: 18px;
    line-height: 1.55;
}

.nvt-counter {
    min-width: 154px;
    padding: 16px 18px;
    border: 2px solid rgba(31, 23, 17, 0.72);
    border-radius: 50%;
    background: rgba(255, 250, 236, 0.64);
    text-align: center;
    transform: rotate(2deg);
}

.nvt-counter span {
    display: block;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.nvt-counter small {
    display: block;
    margin-top: 5px;
    color: var(--nvt-muted);
    font-family: "Courier New", monospace;
    font-size: 11px;
    line-height: 1.25;
    text-transform: uppercase;
}

.nvt-range-panel {
    margin: 18px 0 28px;
    padding: 18px;
    border: 1px solid var(--nvt-line);
    border-radius: 20px;
    background-color: #f3e4c8;
}

.nvt-range-labels {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--nvt-muted);
}

.nvt-range-labels span {
    padding: 8px 12px;
    border: 1px solid var(--nvt-line);
    border-radius: 999px;
    background: rgba(255, 250, 236, 0.66);
}

.nvt-range-labels strong {
    color: var(--nvt-ink);
}

.nvt-range {
    position: relative;
    height: 48px;
}

.nvt-track,
.nvt-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 21px;
    height: 6px;
    border-radius: 999px;
}

.nvt-track {
    background: rgba(31, 23, 17, 0.18);
}

.nvt-progress {
    left: 0;
    right: 0;
    background: var(--nvt-red);
}

.nvt-range input[type="range"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 48px;
    margin: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.nvt-range input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    border: 3px solid #fff8e8;
    border-radius: 50%;
    background: var(--nvt-red);
    box-shadow: 0 4px 12px rgba(44, 28, 12, 0.28);
    cursor: grab;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.nvt-range input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 3px solid #fff8e8;
    border-radius: 50%;
    background: var(--nvt-red);
    box-shadow: 0 4px 12px rgba(44, 28, 12, 0.28);
    cursor: grab;
    pointer-events: auto;
}

.nvt-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.nvt-reset,
.nvt-button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #2c1f15;
    border-radius: 12px;
    background: #2c1f15;
    color: #fff8e8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.nvt-reset:hover,
.nvt-button:hover {
    background: var(--nvt-red);
    color: #fff8e8;
    text-decoration: none;
    transform: translateY(-1px);
}

.nvt-line {
    display: none;
}

.nvt-items {
    position: relative;
    display: grid;
    gap: 34px;
    padding: 8px 0;
}

.nvt-items::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(141, 47, 34, 0.7) 8%, rgba(141, 47, 34, 0.7) 92%, transparent);
    transform: translateX(-50%);
}

.nvt-card[hidden],
.nvt-empty[hidden] {
    display: none !important;
}

.nvt-card {
    position: relative;
    width: calc(50% - 34px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--nvt-line);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(44, 28, 12, 0.1);
}

.nvt-card:nth-child(odd) {
    justify-self: start;
}

.nvt-card:nth-child(even) {
    justify-self: end;
}

.nvt-card::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--nvt-red);
    box-shadow: 0 0 0 6px #fff8e8;
    z-index: 2;
}

.nvt-card:nth-child(odd)::before {
    right: -43px;
}

.nvt-card:nth-child(even)::before {
    left: -43px;
}

.nvt-card::after {
    content: "";
    position: absolute;
    top: 34px;
    width: 28px;
    height: 10px;
    background: var(--nvt-red);
}

.nvt-card:nth-child(odd)::after {
    right: -17px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.nvt-card:nth-child(even)::after {
    left: -17px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.nvt-card-date {
    position: absolute;
    top: 20px;
    width: 210px;
    padding: 0;
    z-index: 1;
}

.nvt-card:nth-child(odd) .nvt-card-date {
    left: calc(100% + 62px);
    justify-content: flex-start;
}

.nvt-card:nth-child(even) .nvt-card-date {
    right: calc(100% + 62px);
    justify-content: flex-end;
}

.nvt-card-date span {
    display: inline-flex;
    min-width: auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    color: var(--nvt-ink);
    font-family: "Courier New", monospace;
    font-size: 14px;
    text-align: center;
    transform: none;
}

.nvt-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.78), rgba(232, 216, 188, 0.2) 60%),
        var(--nvt-paper-deep);
}

.nvt-card-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
    background: #fffaf0;
    filter: sepia(0.18) contrast(1.03);
    box-shadow: 0 10px 24px rgba(44, 28, 12, 0.16);
}

.nvt-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nvt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nvt-meta span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid rgba(31, 23, 17, 0.28);
    border-radius: 999px;
    color: var(--nvt-muted);
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.nvt-card-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.nvt-card-title a {
    color: inherit;
    text-decoration: none;
}

.nvt-card-title a:hover {
    color: var(--nvt-red);
}

.nvt-excerpt {
    margin: 0;
    color: var(--nvt-muted);
    font-size: 15px;
    line-height: 1.55;
}

.nvt-button {
    margin-top: auto;
    align-self: flex-start;
}

.nvt-empty {
    padding: 18px;
    border: 1px dashed rgba(141, 47, 34, 0.55);
    border-radius: 16px;
    background: #fff8e8;
    color: var(--nvt-muted);
}

@media (max-width: 860px) {
    .nvt-card {
        width: calc(50% - 26px);
    }

    .nvt-card:nth-child(odd)::before {
        right: -35px;
    }

    .nvt-card:nth-child(even)::before {
        left: -35px;
    }

    .nvt-card:nth-child(odd) .nvt-card-date {
        left: calc(100% + 48px);
    }

    .nvt-card:nth-child(even) .nvt-card-date {
        right: calc(100% + 48px);
    }

    .nvt-card-date {
        width: 160px;
    }

    .nvt-card-date span {
        font-size: 12px;
    }

    .nvt-card-image {
        height: 210px;
    }

    .nvt-card-title {
        font-size: 24px;
    }
}

@media (max-width: 680px) {
    .nvt-timeline {
        margin: 22px 0;
    }

    .nvt-hero {
        padding: 18px 16px;
        border-radius: 16px;
        box-shadow: 0 10px 26px rgba(44, 28, 12, 0.11);
    }

    .nvt-hero::after {
        display: none;
    }

    .nvt-kicker {
        margin-bottom: 8px;
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .nvt-header {
        flex-direction: column;
        align-items: start;
        gap: 14px;
    }

    .nvt-title {
        font-size: clamp(34px, 13vw, 50px);
    }

    .nvt-subtitle {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .nvt-counter {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        border-width: 1px;
        border-radius: 14px;
        transform: none;
    }

    .nvt-counter span {
        font-size: 28px;
    }

    .nvt-counter small {
        margin-top: 0;
        text-align: right;
    }

    .nvt-range-panel {
        margin: 14px 0 18px;
        padding: 13px;
        border-radius: 16px;
    }

    .nvt-range-labels {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 14px;
    }

    .nvt-range-labels span {
        padding: 7px 10px;
        font-size: 13px;
    }

    .nvt-actions {
        justify-content: stretch;
    }

    .nvt-reset {
        width: 100%;
        min-height: 40px;
        font-size: 15px;
    }

    .nvt-card {
        width: calc(100% - 34px);
        justify-self: end !important;
        border-radius: 15px;
    }

    .nvt-items {
        gap: 18px;
        padding-left: 24px;
    }

    .nvt-items::before {
        left: 10px;
        transform: none;
    }

    .nvt-card::before {
        top: 18px;
        left: -33px !important;
        right: auto !important;
        width: 14px;
        height: 14px;
        box-shadow: 0 0 0 5px #fff8e8;
        display: block;
    }

    .nvt-card::after {
        top: 20px;
        left: -14px !important;
        right: auto !important;
        width: 22px;
        height: 9px;
        clip-path: polygon(100% 0, 0 50%, 100% 100%) !important;
        display: block;
    }

    .nvt-card-date {
        position: static;
        width: auto;
        justify-content: flex-start !important;
        padding: 12px 14px 0;
    }

    .nvt-card-date span {
        min-height: 28px;
        padding: 4px 9px;
        border: 1px solid rgba(141, 47, 34, 0.35);
        border-radius: 999px;
        color: var(--nvt-red);
    }

    .nvt-image-link {
        padding: 12px;
    }

    .nvt-card-image {
        height: 230px;
    }

    .nvt-card-body {
        padding: 14px;
        gap: 9px;
    }

    .nvt-card-title {
        font-size: 22px;
    }

    .nvt-excerpt {
        font-size: 14px;
        line-height: 1.45;
    }

    .nvt-button {
        min-height: 40px;
        padding: 8px 13px;
        font-size: 15px;
    }
}
