/* The same photo, white body and yellow action used by the hotel catalogue. */
.home .home-content > section.home-yandex-showcase {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
}
.home-yandex-showcase .home-yandex-row + .home-yandex-row { margin-top: 38px; }
.home-yandex-row-title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    margin: 0 0 18px; color: var(--ink); font-size: 21px; font-weight: 600;
    letter-spacing: -.025em; line-height: 1.35;
}
.home-yandex-row-title > span { color: #69717d; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.home-yandex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.home-yandex-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border: 1px solid #e4e9ef; border-radius: 24px; background: #fff; color: var(--ink);
    text-decoration: none; box-shadow: 0 5px 20px #20334d06;
    transition: box-shadow .2s ease, transform .2s ease;
}
.home-yandex-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.home-yandex-photo { display: block; flex: 0 0 auto; aspect-ratio: 1.6; overflow: hidden; background: #e9eef3; }
.home-yandex-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-yandex-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 12px; padding: 22px; }
.home-yandex-name { min-height: 2.6em; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.home-yandex-city { display: flex; align-items: center; gap: 6px; color: #737d87; font-size: 14px; line-height: 1.4; }
.home-yandex-city .icon { width: 16px; height: 16px; flex: 0 0 16px; }
.home-yandex-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #69717d; font-size: 13px; line-height: 1.5; }
.home-yandex-rating { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.home-yandex-source { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid #e6e6ec; color: #59616b; font-size: 12px; line-height: 1.5; }
.home-yandex-source img { flex: 0 0 18px; width: 18px; height: 18px; object-fit: contain; }
.home-yandex-card .home-yandex-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: 2px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.home-yandex-link .icon { width: 18px; height: 18px; }
.home-yandex-showcase .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-yandex-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px #20334d13; }
    .home-yandex-card:hover .home-yandex-photo > img { transform: scale(1.025); }
    .home-yandex-card:hover .home-yandex-link { background: #ffd530; }
}
@media (max-width: 1000px) {
    .home-yandex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .home-yandex-copy { padding: 20px; }
    .home-yandex-name { font-size: 21px; }
}
@media (max-width: 650px) {
    .home-yandex-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .home-yandex-row-title { display: block; font-size: 20px; }
    .home-yandex-row-title > span { display: block; margin-top: 6px; font-size: 12px; }
    .home-yandex-name { min-height: 0; font-size: 22px; }
    .home-yandex-showcase .home-yandex-row + .home-yandex-row { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .home-yandex-card, .home-yandex-photo > img { transition: none; } }
