.ske-timeline {
    width: 100%;
    max-width: 1210px;
    color: #0f263b;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
}

body:has(.ske-timeline) {
    overflow-x: hidden;
}

.ske-timeline .breadcrumb__list {
    flex-wrap: wrap;
}

.ske-timeline__tabs-shell {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid #95a6ba;
    border-radius: 900px;
}

.ske-timeline__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 90px;
    background: transparent;
    color: #080808;
    cursor: pointer;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.ske-timeline__tab.is-active {
    background: #004488;
    color: #fbfbfb;
}

.ske-timeline__tab:hover,
.ske-timeline__tab:focus-visible {
    background: transparent;
    color: #080808;
    text-decoration: none;
}

.ske-timeline__tab.is-active:hover,
.ske-timeline__tab.is-active:focus-visible {
    background: #004488;
    color: #fbfbfb;
}

.ske-timeline__panel {
    width: 100%;
}

.ske-timeline [hidden] {
    display: none !important;
}

.ske-timeline__intro {
    padding: 8px 0 16px;
    margin-top: 32px;
}

.ske-timeline__title {
    margin: 0;
    color: #0f263b;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.layout .ske-timeline__title {
    font-size: 32px;
    font-weight: 700;
}

.ske-timeline__lead {
    margin: 0;
    color: #0f263b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.ske-timeline__items {
    position: relative;
    margin-top: 52px;
    padding-bottom: 32px;
}

.ske-timeline__items::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    border-left: 1px dashed #001932;
}

.ske-timeline__columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0;
}

.ske-timeline__column {
    display: flex;
    flex-direction: column;
    gap: 56px;
    min-width: 0;
}

.ske-timeline__column--left {
    align-items: flex-end;
    padding-right: 35px;
}

.ske-timeline__column--right {
    align-items: flex-start;
    padding-left: 35px;
    padding-top: 140px;
}

.ske-timeline__entry {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 0;
}

.ske-timeline__entry::before {
    content: "";
    position: absolute;
    top: 9px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #001932;
}

.ske-timeline__entry::after {
    content: "";
    position: absolute;
    top: 15px;
    width: 24px;
    height: 1px;
    background: #001932;
}

.ske-timeline__entry--right {
    justify-content: flex-start;
}

.ske-timeline__entry--right::before {
    left: -42px;
}

.ske-timeline__entry--right::after {
    left: -38px;
}

.ske-timeline__entry--left {
    justify-content: flex-end;
}

.ske-timeline__entry--left::before {
    right: -42px;
}

.ske-timeline__entry--left::after {
    right: -38px;
}

.ske-timeline__entry-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(570px, 100%);
}

.ske-timeline__entry--right .ske-timeline__entry-stack {
    align-items: flex-start;
}

.ske-timeline__entry--left .ske-timeline__entry-stack {
    align-items: flex-end;
}

.ske-timeline__year {
    margin: 0;
    color: #002d5a;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.ske-timeline__entry--left .ske-timeline__year {
    align-self: flex-end;
    text-align: right;
}

.ske-timeline__entry--right .ske-timeline__year {
    text-align: left;
}

.ske-timeline__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    min-width: 0;
    height: 300px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #95a6ba;
    border-radius: 12px;
    background: #fbfbfb;
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ske-timeline__card:has(.ske-timeline__attachments) {
    --ske-timeline-description-lines: 3;
}

.ske-timeline__card:not(:has(.ske-timeline__attachments)) {
    --ske-timeline-description-lines: 4;
}

.ske-timeline .ske-timeline__card-title {
    margin: 0;
    display: -webkit-box;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    color: #002346;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.ske-timeline .ske-timeline__card-description {
    display: -webkit-box;
    margin: 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    color: #080808;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--ske-timeline-description-lines, 4);
    line-clamp: var(--ske-timeline-description-lines, 4);
}

.ske-timeline__attachments {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ske-timeline__attachments-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.ske-timeline__attachments-label {
    color: #0f263b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.ske-timeline__read-more,
.ske-timeline__read-more[disabled] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #004488;
    cursor: pointer;
    opacity: 1;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.ske-timeline__read-more:hover,
.ske-timeline__read-more:focus-visible {
    background: transparent;
    color: #004488;
    text-decoration: none;
}

.ske-timeline__read-more:focus-visible,
.ske-timeline__more-button:focus-visible,
.ske-timeline-modal__close:focus-visible,
.ske-timeline-modal__button:focus-visible,
.ske-timeline-files__toggle:focus-visible,
.ske-timeline-files__item:focus-visible {
    outline: 2px solid #004488;
    outline-offset: 3px;
}

.ske-timeline__read-more img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.ske-timeline__modal-template {
    display: block;
}

.ske-timeline__more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.ske-timeline__more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #004488;
    border-radius: 32px;
    background: #ffffff;
    color: #004488;
    appearance: none;
    -webkit-appearance: none;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.ske-timeline__more-button:hover,
.ske-timeline__more-button:focus-visible {
    background: #ffffff;
    color: #004488;
    text-decoration: none;
}

.ske-timeline__more-button:disabled {
    border-color: #95a6ba;
    background: #fbfbfb;
    color: #95a6ba;
    cursor: default;
    opacity: 1;
    filter: none;
}

.ske-timeline__more-button:disabled img {
    opacity: 0.55;
}

.ske-timeline__more-button:disabled:hover,
.ske-timeline__more-button:disabled:focus-visible {
    background: #fbfbfb;
    color: #95a6ba;
}

.ske-timeline__more-button img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.ske-timeline__empty-state {
    width: 100%;
    max-width: 570px;
    margin-top: 52px;
    padding: 24px;
    border: 1px solid #95a6ba;
    border-radius: 12px;
    background: #fbfbfb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.05);
}

.ske-timeline__empty-title {
    margin: 0 0 12px;
    color: #002346;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.ske-timeline__empty-description {
    margin: 0;
    color: #080808;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body.ske-timeline-modal-open {
    overflow: hidden;
}

.ske-timeline-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 25, 50, 0.4);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.ske-timeline-modal[hidden] {
    display: none !important;
}

.ske-timeline-modal__backdrop {
    position: absolute;
    inset: 0;
}

.ske-timeline-modal__panel {
    position: relative;
    width: min(100%, 925px);
    max-height: calc(100vh - 32px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid #c1cddb;
    border-radius: 12px;
    background: #ffffff;
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.05);
}

.ske-timeline-modal__header {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.ske-timeline-modal__close {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #080808;
    cursor: pointer;
}

.ske-timeline-modal__close:hover,
.ske-timeline-modal__close:focus-visible {
    background: transparent;
    color: #080808;
}

.ske-timeline-modal__close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #080808;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}

.ske-timeline-modal__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    margin-top: 8px;
    padding-right: 48px;
}

.ske-timeline-modal__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ske-timeline-modal__title {
    margin: 0;
    color: #002346;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ske-timeline-modal__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #080808;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.ske-timeline-modal__body p {
    margin: 0;
}

.ske-timeline-modal__footer {
    flex: 0 0 auto;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #dde3ee;
    display: flex;
    justify-content: flex-end;
}

.ske-timeline-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #004488;
    border-radius: 32px;
    background: #ffffff;
    color: #004488;
    cursor: pointer;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.ske-timeline-modal__button:hover,
.ske-timeline-modal__button:focus-visible {
    background: #f7fafc;
    color: #004488;
}

.ske-timeline-files {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border: 1px solid #c1cddb;
    border-radius: 12px;
    background: #f7fafc;
}

.ske-timeline-files__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ske-timeline-files__title {
    margin: 0;
    color: #002d5a;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.ske-timeline-files__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #37506e;
    cursor: pointer;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ske-timeline-files__toggle:hover,
.ske-timeline-files__toggle:focus-visible {
    background: transparent;
    color: #37506e;
    text-decoration: none;
}

.ske-timeline-files__toggle img {
    width: 16px;
    height: 16px;
    transition: transform 0.18s ease;
}

.ske-timeline-files__toggle[aria-expanded="true"] img {
    transform: rotate(180deg);
}

.ske-timeline-files__body {
    display: flex;
    flex-direction: column;
}

.ske-timeline-files__item {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 6px 0 12px;
    border-bottom: 1px solid #c1cddb;
    color: #37506e;
    text-decoration: none;
    min-width: 0;
}

.ske-timeline-files__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ske-timeline-files__details {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.ske-timeline-files__name {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: #37506e;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ske-timeline-files__meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.ske-timeline-files__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 5px 7px;
    border-radius: 4px;
    background: #e1e8f0;
    color: #0f263b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.ske-timeline-files__size {
    color: #516a87;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.ske-timeline-files__download {
    flex: 0 0 28px;
    margin-left: auto;
    width: 28px;
    height: 28px;
    transform: rotate(0deg);
}

@media (max-width: 900px) {
    .layout--commission:has(.ske-timeline) {
        grid-template-columns: minmax(0, 1fr);
    }

    .layout--commission:has(.ske-timeline) > .sidebar--menu {
        position: static;
        width: 100%;
        max-width: none;
        max-height: none;
        overflow-y: visible;
    }

    .ske-timeline__tabs-shell {
        display: flex;
        width: 100%;
        max-width: 444px;
    }

    .ske-timeline__tab {
        flex: 1 1 0;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .ske-timeline__columns {
        grid-template-columns: 1fr;
    }

    .ske-timeline__items::before {
        display: none;
    }

    .ske-timeline__column--left,
    .ske-timeline__column--right {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        align-items: flex-start;
    }

    .ske-timeline__entry {
        padding-left: 0;
    }

    .ske-timeline__entry::before,
    .ske-timeline__entry::after {
        display: none;
    }

    .ske-timeline__entry--left,
    .ske-timeline__entry--right {
        justify-content: flex-start;
    }

    .ske-timeline__entry--left .ske-timeline__entry-stack,
    .ske-timeline__entry--right .ske-timeline__entry-stack {
        align-items: flex-start;
    }

    .ske-timeline__entry--left .ske-timeline__year {
        align-self: flex-start;
        text-align: left;
    }

    .ske-timeline-modal__panel {
        padding: 32px;
    }

    .ske-timeline-modal__scroll {
        padding-right: 40px;
    }
}

@media (max-width: 640px) {
    .ske-timeline__title {
        font-size: 28px;
    }

    .ske-timeline__year {
        font-size: 24px;
    }

    .ske-timeline__entry {
        padding-left: 0;
    }

    .ske-timeline__card {
        padding: 20px;
    }

    .ske-timeline-modal {
        padding: 12px;
    }

    .ske-timeline-modal__panel {
        padding: 24px;
    }

    .ske-timeline-modal__scroll {
        padding-right: 28px;
    }

    .ske-timeline-modal__footer {
        margin-top: 24px;
        padding-top: 24px;
    }

    .ske-timeline-files {
        padding: 20px;
    }

    .ske-timeline-files__item {
        gap: 12px;
    }
}
