.movies-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 112px 24px 80px;
    color: #342e2b;
}

.movies-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e9e3df;
}

.movies-page .movies-eyebrow {
    margin: 0 0 10px;
    color: #94504a;
    font-size: 12px;
    letter-spacing: 2px;
}

.movies-header h1 {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
}

.movies-page .movies-subtitle {
    margin: 0;
    color: #81756f;
    font-size: 16px;
    line-height: 1.7;
}

.movies-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: #81756f;
    font-size: 13px;
}

.movies-stats strong {
    color: #94504a;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.movie-year + .movie-year {
    margin-top: 36px;
}

.movie-year-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.movie-year-heading h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.movie-year-heading > span {
    color: #978a82;
    font-size: 12px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.movie-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #e9e3df;
    border-radius: 12px;
    background: #fffdfa;
    overflow-wrap: anywhere;
}

.movie-overview {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.movie-poster {
    flex: 0 0 84px;
    overflow: hidden;
    border-radius: 5px;
    background: #eee8e2;
}

.movie-poster img {
    display: block;
    width: 84px;
    height: 126px;
    object-fit: cover;
}

.movie-content {
    min-width: 0;
    flex: 1;
}

.movie-content h3 {
    margin: 0 0 10px;
    color: #342e2b;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
}

.movies-page .movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0 0 5px;
    color: #81756f;
    font-size: 12px;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

.movies-page .movie-cinema {
    margin: 0;
    color: #695c55;
    font-size: 13px;
    line-height: 1.6;
}

.movie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.movie-badge {
    padding: 3px 7px;
    border-radius: 4px;
    background: #f1ece6;
    color: #77675c;
    font-size: 11px;
    line-height: 1.6;
}

.movie-rating {
    background: #f6eae7;
    color: #94504a;
}

.movies-page .movie-impression {
    margin: 18px 0 0;
    padding-left: 12px;
    border-left: 2px solid #dac3b5;
    color: #75665e;
    font-size: 14px;
    line-height: 1.8;
}

.movie-memory {
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px dashed #ded3ca;
}

.movie-memory summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    color: #94504a;
    font-size: 12px;
    line-height: 1.8;
    cursor: pointer;
}

.movie-memory summary::-webkit-details-marker {
    display: none;
}

.movie-memory summary:focus-visible,
.movie-gallery a:focus-visible {
    outline: 2px solid #94504a;
    outline-offset: 4px;
    border-radius: 2px;
}

.movie-memory-chevron {
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.movie-memory[open] .movie-memory-chevron {
    transform: rotate(225deg);
}

.movie-memory-open-label,
.movie-memory[open] .movie-memory-closed-label {
    display: none;
}

.movie-memory[open] .movie-memory-open-label {
    display: inline;
}

.movie-memory-content {
    padding-top: 16px;
}

.movies-page .movie-companions {
    margin: 0 0 12px;
    color: #81756f;
    font-size: 12px;
    line-height: 1.8;
}

.movies-page .movie-review {
    margin: 0 0 16px;
    color: #695c55;
    font-size: 14px;
    line-height: 1.9;
    white-space: pre-line;
}

.movie-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

.movie-gallery figure {
    margin: 0;
}

.movie-gallery a {
    display: block;
}

.movie-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.movie-gallery figcaption {
    margin-top: 7px;
    color: #81756f;
    font-size: 11px;
    line-height: 1.6;
}

.movies-empty {
    padding: 68px 20px 80px;
    border: 1px dashed #ded3ca;
    border-radius: 12px;
    background: #fffdfa;
    text-align: center;
}

.movies-empty-ticket {
    width: 80px;
    height: 56px;
    color: #b58b78;
}

.movies-empty h2 {
    margin: 24px 0 12px;
    color: #695c55;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
}

.movies-page .movies-empty p {
    margin: 0;
    color: #978a82;
    font-size: 14px;
    line-height: 1.8;
}

@media only screen and (max-width: 767px) {
    .movies-page {
        padding: 88px 16px 56px;
    }

    .movies-header {
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .movies-header h1 {
        font-size: 32px;
    }

    .movie-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .movie-card {
        padding: 18px;
    }

    .movie-overview {
        gap: 14px;
    }

    .movie-poster {
        flex-basis: 72px;
    }

    .movie-poster img {
        width: 72px;
        height: 108px;
    }

    .movie-content h3 {
        font-size: 17px;
    }

    .movies-empty {
        padding: 48px 20px 56px;
    }
}
