.khl-project-list-page {
    --khl-navy: #062b5b;
    --khl-brand: #0756a3;
    --khl-action: #0b74d1;
    --khl-bg: #f7f9fc;
    --khl-soft: #eaf4ff;
    --khl-text: #10233d;
    --khl-border: #d7e3f0;
    --khl-muted: #8a96b2;
    --khl-orange: #e88b09;
    min-height: 72vh;
    padding: 28px 0 56px;
    background: var(--khl-bg);
    color: var(--khl-text);
}

.khl-project-list-container {
    width: min(1580px, calc(100% - 32px));
    margin: 0 auto;
}

.khl-project-list-shell {
    display: grid;
    gap: 10px;
}

.khl-project-filter {
    display: grid;
    grid-template-columns: minmax(240px, 300px) repeat(4, minmax(160px, 200px));
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.khl-project-filter label {
    position: relative;
    display: block;
    margin: 0;
}

.khl-project-filter input,
.khl-project-filter select {
    width: 100%;
    height: 40px;
    padding: 0 34px 0 13px;
    border: 1px solid #cfdced;
    border-radius: 5px;
    background: #fff;
    color: #243650;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.khl-project-filter select {
    color: #8a96b2;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #b6c2d6 50%),
        linear-gradient(135deg, #b6c2d6 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 17px,
        calc(100% - 11px) 17px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.khl-project-filter input:focus,
.khl-project-filter select:focus {
    border-color: #9fc8ee;
    box-shadow: 0 0 0 3px rgba(11, 116, 209, .12);
}

.khl-project-filter__search span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 11px;
    color: #a4afc6;
    font-size: 18px;
    transform: translateY(-50%);
}

.khl-project-filter__search input {
    padding-left: 34px;
}

.khl-project-filter__toggle,
.khl-project-filter__sheet-head,
.khl-project-filter__done {
    display: none;
}

.khl-project-filter__backdrop[hidden] {
    display: none;
}

.khl-project-filter__sheet {
    display: contents;
}

.khl-project-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 374px;
    gap: 14px;
    align-items: start;
}

.khl-project-results {
    min-width: 0;
}

.khl-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.khl-project-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(6, 43, 91, .04);
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.khl-project-card:hover {
    border-color: #c6d7ec;
    box-shadow: 0 12px 28px rgba(6, 43, 91, .1);
    transform: translateY(-2px);
}

.khl-project-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9.55;
    background: linear-gradient(135deg, var(--khl-soft), #fff);
}

.khl-project-card__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(6, 43, 91, .06), rgba(6, 43, 91, .18));
    pointer-events: none;
}

.khl-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.khl-project-card:hover .khl-project-card__media img {
    transform: scale(1.025);
}

.khl-project-card__badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 0;
    padding: 9px 10px;
    border-radius: 0 5px 5px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(6, 43, 91, .18);
}

.khl-project-card__badge.is-low-rise {
    background: linear-gradient(45deg, #e19c09, #d87122);
}

.khl-project-card__badge.is-high-rise {
    background: linear-gradient(45deg, #173a76, #2470b6);
}

.khl-project-card__badge.is-podium-shop {
    display: none;
}

.khl-project-card__favorite {
    position: absolute;
    z-index: 3;
    top: 7px;
    right: 8px;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .9);
    background: transparent;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(6, 43, 91, .32);
    transition: transform .18s ease, color .18s ease;
}

.khl-project-card__favorite span {
    font-size: 29px;
    line-height: 1;
}

.khl-project-card__favorite:hover,
.khl-project-card__favorite:focus-visible,
.khl-project-card__favorite.is-active {
    color: #ff123f;
    transform: scale(1.04);
}

.khl-project-card__favorite.is-loading {
    pointer-events: none;
}

.khl-project-card__favorite.is-loading span {
    animation: khlProjectHeartPulse .8s ease-in-out infinite;
}

.khl-project-card__sold-out {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 6px 0 0 0;
    color: #818a9d;
    background: rgba(241, 244, 249, .92);
    font-size: 12px;
    font-weight: 900;
}

.khl-project-card__body {
    display: grid;
    gap: 7px;
    padding: 19px 18px 18px;
}

.khl-project-card__title-row {
    display: grid;
    grid-template-columns: 1fr 34px;
    gap: 10px;
    align-items: start;
}

.khl-project-card h2 {
    margin: 0;
    color: #000;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.khl-project-card h2 a {
    color: inherit;
    text-decoration: none;
}

.khl-project-card__open {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dbe4ef;
    border-radius: 50%;
    background: #f8fbff;
    color: #2563eb;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.khl-project-card__open svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.khl-project-card__open:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    transform: translateY(-1px);
}

.khl-project-card__desc {
    min-height: 41px;
    margin: 0;
    color: #000;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.42;
}

.khl-project-card__location {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    min-height: 21px;
    margin: 0;
    color: #9ba4bd;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.khl-project-card__location svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
    fill: none;
    stroke: #2563eb;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.khl-project-sidebar {
    position: sticky;
    top: 18px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(6, 43, 91, .06);
}

.khl-project-sidebar > h2 {
    margin: 0;
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(135deg, #173c7c, #276fab);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.khl-project-sidebar__group {
    padding: 18px 20px 15px;
}

.khl-project-sidebar__group + .khl-project-sidebar__group {
    border-top: 1px solid #edf1f6;
}

.khl-project-sidebar__group h3 {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 15px;
    color: #13284a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.khl-project-sidebar__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 8px;
}

.khl-project-sidebar__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.khl-project-sidebar__icon.is-high-rise {
    background: #edf4ff;
    color: #2563eb;
}

.khl-project-sidebar__icon.is-low-rise {
    background: #fff5e8;
    color: #d87122;
}

.khl-project-sidebar__icon.is-podium-shop {
    background: #ecfdf5;
    color: #059669;
}

.khl-project-sidebar__icon.is-latest {
    background: #fff8dc;
    color: #d38a00;
}

.khl-project-sidebar__group ul {
    display: grid;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.khl-project-sidebar__group li {
    margin: 0;
}

.khl-project-sidebar__group a {
    color: #273650;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: color .16s ease;
}

.khl-project-sidebar__group a:hover,
.khl-project-sidebar__group a:focus-visible {
    color: var(--khl-action);
}

.khl-project-list-empty,
.khl-project-no-results {
    display: grid;
    place-items: center;
    padding: 42px 20px;
    border: 1px solid var(--khl-border);
    border-radius: 8px;
    background: #fff;
    color: var(--khl-muted);
    text-align: center;
}

.khl-project-no-results[hidden] {
    display: none;
}

.khl-project-list-empty span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, var(--khl-brand), var(--khl-action));
    font-size: 30px;
}

.khl-project-list-empty h2 {
    margin: 0 0 8px;
    color: var(--khl-navy);
}

.khl-project-list-empty p {
    margin: 0;
    color: var(--khl-muted);
}

.khl-project-list-page--loading .khl-project-card {
    animation: khlProjectCardReveal .52s ease both;
}

.khl-project-list-page--loading .khl-project-card__media::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .26) 42%, transparent 64%);
    transform: translateX(-100%);
    animation: khlProjectShimmer 1.15s ease-in-out infinite;
}

.khl-project-card:focus-within {
    outline: 3px solid rgba(11, 116, 209, .16);
    outline-offset: 2px;
}

.khl-project-card__favorite:focus-visible,
.khl-project-card__open:focus-visible,
.khl-project-card a:focus-visible {
    outline: 3px solid rgba(11, 116, 209, .28);
    outline-offset: 2px;
    border-radius: 6px;
}

@keyframes khlProjectCardReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes khlProjectShimmer {
    to {
        transform: translateX(100%);
    }
}

@keyframes khlProjectHeartPulse {
    50% {
        transform: scale(.76);
        opacity: .72;
    }
}

@media (max-width: 1360px) {
    .khl-project-list-container {
        width: min(1220px, calc(100% - 28px));
    }

    .khl-project-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .khl-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    .khl-project-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .khl-project-layout {
        grid-template-columns: 1fr;
    }

    .khl-project-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    body.khl-project-filter-open {
        overflow: hidden;
    }

    .khl-project-list-page {
        padding-top: 14px;
    }

    .khl-project-list-container {
        width: min(100% - 20px, 560px);
    }

    .khl-project-filter {
        grid-template-columns: minmax(0, 1fr) 132px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .khl-project-grid {
        grid-template-columns: 1fr;
    }

    .khl-project-filter__search input,
    .khl-project-filter__toggle {
        height: 42px;
        border-radius: 8px;
        background: #eef3fa;
    }

    .khl-project-filter__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        border: 1px solid #d7e3f0;
        color: #10233d;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .khl-project-filter__toggle span {
        color: #8a96b2;
        font-size: 15px;
    }

    .khl-project-filter__toggle i {
        color: #8a96b2;
        font-size: 12px;
        font-style: normal;
        transform: translateY(-1px);
    }

    .khl-project-filter__toggle .fa-sliders,
    .khl-project-filter__sheet-head .fa-sliders {
        font-size: 13px;
    }

    .khl-project-filter__backdrop {
        position: fixed;
        inset: 0;
        z-index: 10020;
        background: rgba(15, 23, 42, .48);
    }

    .khl-project-filter__sheet {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10021;
        display: grid;
        max-height: min(82vh, 520px);
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 8px 13px 16px;
        border: 1px solid #d7e3f0;
        border-radius: 14px 14px 0 0;
        background: #fff;
        box-shadow: 0 -22px 54px rgba(6, 43, 91, .18);
        transform: translateY(106%);
        transition: transform .24s ease;
    }

    .khl-project-filter__sheet.is-open {
        transform: translateY(0);
    }

    .khl-project-filter__sheet-head {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        align-items: center;
        min-height: 40px;
        margin: -2px -13px 0;
        padding: 0 13px;
        border-bottom: 1px solid #e5edf7;
        color: #10233d;
    }

    .khl-project-filter__sheet-head > span {
        position: absolute;
        top: 10px;
        left: 50%;
        width: 34px;
        height: 3px;
        border-radius: 999px;
        background: #cbd8e8;
        transform: translateX(-50%);
    }

    .khl-project-filter__sheet-head strong {
        grid-column: 1 / 3;
        display: inline-flex;
        gap: 8px;
        align-items: center;
        font-size: 14px;
        font-weight: 600;
    }

    .khl-project-filter__sheet-head button {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 999px;
        color: #93a3b8;
        background: #eef3fa;
        font-size: 14px;
        line-height: 1;
        cursor: pointer;
    }

    .khl-project-filter__sheet label {
        display: block;
    }

    .khl-project-filter__sheet select {
        height: 40px;
        border-radius: 7px;
        color: #91a0b7;
        background-color: #fff;
    }

    .khl-project-filter__done {
        display: inline-flex;
        min-height: 39px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 7px;
        color: #fff;
        background: #062b5b;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .khl-project-card__media {
        aspect-ratio: 16 / 9.6;
    }

    .khl-project-card__body {
        padding: 16px;
    }

    .khl-project-card__desc {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .khl-project-card,
    .khl-project-card__media img,
    .khl-project-card__favorite,
    .khl-project-list-page--loading .khl-project-card,
    .khl-project-list-page--loading .khl-project-card__media::before,
    .khl-project-filter__sheet {
        animation: none;
        transition: none;
    }
}

.khl-project-news {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid #e6ebf2;
}

.khl-project-news__header {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.khl-project-news__header h2 {
    margin: 0;
    color: #080b12;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 800;
    line-height: 1.2;
}

.khl-project-news__header > a {
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.khl-project-news__header > a:hover,
.khl-project-news__header > a:focus-visible {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.khl-project-news__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.khl-project-news .news-card__excerpt {
    display: none;
}

.khl-project-news .news-card__body {
    min-height: 94px;
    padding: 11px 12px 12px;
}

.khl-project-news .news-card__title {
    margin-bottom: 6px;
    font-size: 14px;
}

.khl-project-news .news-card__media {
    aspect-ratio: 16 / 8.7;
}

@media (min-width: 600px) {
    .khl-project-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .khl-project-news__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .khl-project-news {
        margin-top: 32px;
    }

    .khl-project-news__header {
        align-items: flex-start;
    }

    .khl-project-news__header > a {
        padding-top: 4px;
        font-size: 13px;
    }
}
