.performance-timeline__filter {
    width: 100%;
    max-width: 1180px;
    margin: 0 50px 80px;
}

.performance-timeline__dropdown {
    position: relative;
    width: 168px;
    z-index: 5;
}

.performance-timeline__filter-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 168px;
    height: 48px;
    padding: 0 48px 0 22px;
    border: 0;
    border-radius: 999px;
    background: #f0f0f0;
    color: #050505;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    cursor: pointer;
}

.performance-timeline__filter-button::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #050505;
    transform: translateY(-42%);
    transition: transform .2s ease;
}

.performance-timeline__dropdown.is-open .performance-timeline__filter-button::after {
    transform: translateY(-58%) rotate(180deg);
}

.performance-timeline__filter-menu {
    position: absolute;
    top: 58px;
    left: 0;
    display: none;
    width: 168px;
    max-height: 252px;
    padding: 14px 0;
    overflow-y: auto;
    border-radius: 10px;
    background: #f0f0f0;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}

.performance-timeline__dropdown.is-open .performance-timeline__filter-menu {
    display: block;
}

.performance-timeline__filter-menu::-webkit-scrollbar {
    width: 12px;
}

.performance-timeline__filter-menu::-webkit-scrollbar-track {
    background: transparent;
}

.performance-timeline__filter-menu::-webkit-scrollbar-thumb {
    border: 4px solid #f0f0f0;
    border-radius: 999px;
    background: #d3d3d3;
}

.performance-timeline__filter-option {
    display: block;
    width: 100%;
    padding: 8px 22px;
    border: 0;
    background: transparent;
    color: #050505;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.performance-timeline__filter-option.is-selected {
    font-weight: 700;
}

.performance-timeline__filter-option:hover,
.performance-timeline__filter-option:focus-visible {
    background: rgba(255, 255, 255, .7);
    outline: 0;
}

.performance-timeline {
    position: relative;
    width: 100%;
    margin: 60px;
    padding-left: 52px;
}

.performance-timeline::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 0;
    left: 6px;
    width: 2px;
    background: #ececec;
}

.performance-timeline .performance-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 170px;
    padding: 0 0 80px;
}

.performance-timeline .performance-timeline__item::before {
    content: "";
    position: absolute;
    top: 12px;
    left: -52px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #050505;
    z-index: 1;
}

.performance-timeline .performance-timeline__item:last-child::after {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 0;
    left: -52px;
    width: 13px;
    background: #fff;
    z-index: 0;
}

.performance-timeline .performance-timeline__year {
    display: block;
    position: static;
    top: auto;
    z-index: auto;
    flex: initial;
    color: #050505;
    font-size: clamp(28px, 2vw, 30px);
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

.performance-timeline .performance-timeline__year::after {
    content: "년";
}

.performance-timeline .performance-timeline__card {
    flex: initial;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.performance-timeline .performance-timeline__card ul {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.performance-timeline .performance-timeline__card li {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) auto;
    gap: 30px;
    align-items: start;
    margin: 0;
    padding: 0;
    color: #0d1724;
    font-size: 19px;
    line-height: 1.7;
}

.performance-timeline .performance-timeline__client {
    width: auto;
    flex: initial;
    color: #050505;
    font-size: 19px;
    font-weight: 550;
    line-height: 1.7;
    word-break: keep-all;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.performance-timeline .performance-timeline__card li > span:last-child,
.performance-timeline .performance-timeline__content {
    display: block;
    flex: initial;
    color: #111827;
    font-weight: 400;
    line-height: 1.7;
    word-break: keep-all;
}

.performance-timeline .btn-area {
    display: inline-flex;
    justify-self: end;
    align-self: start;
    gap: 8px;
    margin-left: 0 !important;
    white-space: nowrap;
}

.performance-timeline .history-modify-form {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: 100%;
}

.performance-timeline .history-modify-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.performance-timeline .performance-timeline__item.is-hidden {
    display: none;
}

.performance-timeline.is-filtered::before {
    display: none;
}

@media (max-width: 991px) {
    .performance-timeline__filter {
        margin: 0 0 28px;
    }

    .performance-timeline {
        margin: 40px 0;
        padding-left: 32px;
    }

    .performance-timeline::before {
        left: 5px;
    }

    .performance-timeline .performance-timeline__item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 42px;
    }

    .performance-timeline .performance-timeline__item::before {
        left: -32px;
    }

    .performance-timeline .performance-timeline__item:last-child::after {
        left: -32px;
    }


    .performance-timeline .performance-timeline__card li {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-bottom: 18px;
        border-bottom: 1px solid #ededed;
        font-size: 16px;
    }

    .performance-timeline .btn-area {
        justify-self: start;
        margin-top: 4px;
    }

    .performance-timeline .history-modify-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .performance-timeline .history-modify-actions {
        justify-content: flex-start;
    }

    .performance-timeline .performance-timeline__card ul {
        gap: 18px;
    }
}

/* Category-filtered representative performance page */
.performance-timeline-page--category .performance-timeline__filter {
    margin: 0 0 48px;
}
.performance-timeline-page--category .performance-timeline__dropdown {
    width: min(100%, 460px);
}
.performance-timeline-page--category .performance-timeline__filter-button,
.performance-timeline-page--category .performance-timeline__filter-menu {
    width: 100%;
}
.performance-timeline-page--category .performance-timeline {
    margin: 60px 0;
}
.performance-timeline-page--category .performance-timeline__year::after {
    content: none;
}
@media (max-width: 991px) {
    .performance-timeline-page--category .performance-timeline__filter {
        margin-bottom: 28px;
    }
}

/* Representative performance category blocks */
.company-performance-section .row,
.company-performance-section [class*="col-"] {
    margin-right: 0;
    margin-left: 0;
}

.company-performance-section [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.company-performance-block {
    width: 100%;
    margin: 0 0 92px;
}

.company-performance-head {
    width: 100%;
    margin-bottom: 38px;
}

.company-performance-head .performance-esg-title {
    margin: 0 0 26px;
    color: #050505;
    font-size: clamp(28px, 2vw, 30px);
    font-weight: 550;
    line-height: 2.25;
    letter-spacing: 0;
    word-break: keep-all;
}

@media (max-width: 991px) {
    .company-performance-block {
        margin-bottom: 64px;
    }
}
