.okha65-movies, .okha65-movies * { box-sizing: border-box; }
.okha65-movies {
    --movies-blue: #2897e1;
    --movies-blue-dark: #1479bc;
    --movies-ink: #303840;
    --movies-muted: #7b8791;
    --movies-line: #e4e9ed;
    width: 100%;
}
.okha65-movies__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 18px;
}
.okha65-movie-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--movies-line);
    border-radius: 12px;
    background: #fff;
    color: var(--movies-ink);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.okha65-movie-card:hover {
    border-color: #c8dce9;
    color: var(--movies-ink);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(34, 60, 80, .12);
    transform: translateY(-3px);
}
.okha65-movie-card__poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #edf0f2;
}
.okha65-movie-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.okha65-movie-card:hover .okha65-movie-card__poster img { transform: scale(1.025); }
.okha65-movie-card__age {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(32, 39, 45, .86);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.okha65-movie-card__action {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    background: rgba(21, 126, 190, .94);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s;
}
.okha65-movie-card:hover .okha65-movie-card__action { opacity: 1; transform: translateY(0); }
.okha65-movie-card__body { display: flex; min-height: 126px; padding: 14px; flex: 1 1 auto; flex-direction: column; }
.okha65-movie-card__body h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #2d353c;
    font-size: 17px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.okha65-movie-card__genre {
    overflow: hidden;
    margin: 0 0 14px;
    color: var(--movies-muted);
    font-size: 13px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.okha65-movie-card__footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #edf0f2;
    font-size: 12px;
}
.okha65-movie-card__duration { color: #68747e; }
.okha65-movie-card__footer strong { color: var(--movies-blue-dark); font-size: 13px; white-space: nowrap; }
.okha65-movie-card__footer strong.is-muted { color: #9099a0; }
.okha65-movies__pagination { margin-top: 28px; }
.okha65-movies__empty { padding: 30px 15px; color: #7b8791; text-align: center; }

@media (max-width: 980px) {
    .okha65-movies__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .okha65-movies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
    .okha65-movie-card { border-radius: 9px; }
    .okha65-movie-card:hover { box-shadow: none; transform: none; }
    .okha65-movie-card__age { top: 7px; right: 7px; padding: 4px 6px; font-size: 11px; }
    .okha65-movie-card__action { display: none; }
    .okha65-movie-card__body { min-height: 112px; padding: 11px 10px; }
    .okha65-movie-card__body h2 { font-size: 15px; }
    .okha65-movie-card__genre { margin-bottom: 10px; font-size: 12px; }
    .okha65-movie-card__footer { gap: 4px; font-size: 11px; }
    .okha65-movie-card__footer strong { font-size: 12px; }
}
@media (max-width: 360px) {
    .okha65-movie-card__duration { display: none; }
    .okha65-movie-card__footer { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
    .okha65-movie-card, .okha65-movie-card__poster img, .okha65-movie-card__action { transition: none; }
}
