.home-projects__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin: 30px 0 0;
}
.home-projects__list > li {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: flex;
    flex-direction: column;
    transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease;
    outline: 1px solid #eaecee;
}
.home-projects__list > li:has(> a:hover) {
    outline: 1px solid var(--accent-dark);
    box-shadow: 0 0 20px rgba(217, 255, 9, .15);
}
.home-projects__list > li > a:hover .project-details {
    background-color: var(--accent);
    color: #000;
}
.home-projects__list > li > a:hover .project-details:hover {
    background-color: var(--accent-hover);
}
.home-projects__list li a {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.home-projects__list img {
    height: 290px;
    object-fit: cover;
    width: 100%;
}
.home-projects__list .project-item__info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-projects__list .project-item__info h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
}
.home-projects__list .project-item__info .city {
    font-size: 14px;
    margin-bottom: 80px;
    color: #666;
}
.home-projects__list .project-item__info .worck-list {
    list-style: disc;
    list-style-position: inside;
    padding: 0;
    margin: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.home-projects__list .project-item__info .worck-list li {
    display: list-item;
    font-size: 14px;
}
.home-projects__list .project-item__info .project-details {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-top: auto;
    background: #e8e8e8;
    color: #000;
    font-family: "TT Interphases Pro", sans-serif;
    font-size: 14px;
    text-align: center;
    line-height: normal;
    transition: background .2s, color .2s;
}
.home-projects__list > li:focus-within {
    outline: 2px solid var(--dark);
}
.home-projects__more:not([hidden]) {
    display: block;
    width: 100%;
    margin-top: 50px;
    padding: 16px 22px;
    background: var(--accent);
    color: #111;
    font: 500 16px "TT Interphases Pro", sans-serif;
    text-align: center;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    overflow-anchor: none;
}
.home-projects__more[hidden] {
    display: none;
}
.home-projects__more:not([hidden]):hover {
    background: var(--accent-hover);
}
@media (max-width: 1024px) {
    .home-projects__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .home-projects__list { grid-template-columns: 1fr; }
}
