.walks {
    width: 100%;
    max-width: 1100px;
    margin: 200px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
}

.walks__title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    padding: 1rem;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    transform: translateX(-10px);
    margin-bottom: 16px;
    box-sizing: border-box;
}

.walks__title > img {
    margin: 0 1rem;
}

.walks__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.walk-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(52vw, 260px);
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.walk-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.walk-card__btn {
    position: relative;
    z-index: 1;
    min-width: 70%;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--violet);
    color: #fff;
    font-family: ahamono;
    font-size: clamp(0.9rem, 3.5vw, 1.3rem);
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.walk-card:hover .walk-card__btn,
.walk-card:focus-visible .walk-card__btn {
    background: #fff;
    color: var(--violet);
}

.walk-card:hover img {
    transform: scale(1.04);
}

@media (min-width: 768px) {
    .walks__grid {
        flex-direction: row;
        justify-content: center;
        gap: 48px;
    }

    .walk-card {
        width: min(40vw, 420px);
        border-radius: 12px;
    }
}
