:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-800: #9a3412;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow-card: 0 12px 28px rgba(120, 53, 15, 0.12);
    --shadow-strong: 0 20px 50px rgba(120, 53, 15, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--amber-50), #ffffff 38%, var(--orange-50));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber-900), var(--orange-800), var(--amber-900));
    box-shadow: 0 10px 30px rgba(120, 53, 15, 0.28);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--amber-900);
    background: var(--amber-100);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: rgba(254, 243, 199, 0.86);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: rgba(254, 243, 199, 0.92);
    font-weight: 600;
}

.desktop-nav a,
.desktop-nav button {
    border: 0;
    padding: 8px 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
    color: #ffffff;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 190px;
    padding: 10px;
    border-radius: 16px;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
}

.dropdown-panel a:hover {
    color: var(--amber-900);
    background: var(--amber-50);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: var(--amber-100);
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
    color: var(--amber-100);
}

.mobile-nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
}

.mobile-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-carousel {
    position: relative;
    height: min(80vh, 760px);
    min-height: 520px;
    overflow: hidden;
    color: #ffffff;
    background: #000000;
}

.hero-carousel h1 {
    position: absolute;
    left: -9999px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 900ms ease, transform 1200ms ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.12));
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    right: 32px;
    bottom: 86px;
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 8px 26px rgba(217, 119, 6, 0.35);
    font-weight: 700;
}

.hero-content h2 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(16px, 2.4vw, 22px);
    line-height: 1.65;
}

.hero-actions,
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.ghost-button,
.quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.primary-button {
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.3);
}

.primary-button:hover,
.quick-links a:hover {
    transform: translateY(-2px);
    background: var(--amber-700);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.ghost-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.48);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 6;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--amber-600);
}

.home-intro {
    margin-top: 32px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(217, 119, 6, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.home-intro p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.75;
}

.quick-links a {
    color: #ffffff;
    background: var(--amber-600);
}

.page-section {
    margin-top: 64px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading h2,
.page-hero h1 {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.section-heading.light h2,
.section-heading.light span {
    color: #ffffff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile {
    position: relative;
    min-height: 210px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 22px;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow-card);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.12));
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span,
.category-tile p {
    position: relative;
    z-index: 1;
}

.category-tile span {
    font-size: 22px;
    font-weight: 800;
}

.category-tile p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.5;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-grid {
    margin-top: 28px;
}

.movie-card {
    min-width: 0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.card-link {
    display: block;
    height: 100%;
}

.poster-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--amber-100);
}

.large .poster-wrap {
    aspect-ratio: 16 / 9;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.movie-card:hover .poster-wrap img {
    transform: scale(1.07);
}

.type-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.type-badge {
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(8px);
}

.type-badge.static {
    position: static;
    width: fit-content;
    background: var(--amber-600);
}

.rank-badge {
    left: 12px;
    top: 12px;
    background: var(--amber-600);
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-500);
    font-size: 13px;
}

.card-body h2 {
    min-height: 44px;
    margin: 0 0 8px;
    color: var(--gray-800);
    font-size: 18px;
    line-height: 1.25;
    transition: color 180ms ease;
}

.movie-card:hover .card-body h2 {
    color: var(--amber-700);
}

.card-body p {
    min-height: 44px;
    margin: 0 0 14px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.58;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--amber-900);
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 700;
}

.highlight-section {
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(90deg, var(--orange-100), var(--amber-50), var(--orange-100));
    box-shadow: var(--shadow-card);
}

.horizontal-list {
    display: grid;
    gap: 20px;
}

.horizontal-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(120, 53, 15, 0.1);
    overflow: hidden;
}

.horizontal-card a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.horizontal-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.horizontal-card div {
    padding: 18px 22px 18px 0;
}

.horizontal-card span {
    color: var(--amber-700);
    font-weight: 800;
    font-size: 13px;
}

.horizontal-card h2 {
    margin: 8px 0;
    font-size: 22px;
}

.horizontal-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.65;
}

.dark-section {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--amber-900), var(--orange-800));
    box-shadow: var(--shadow-strong);
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.compact-grid.mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-card {
    position: relative;
    min-width: 0;
    padding: 10px;
    border-radius: 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: background 180ms ease, transform 180ms ease;
}

.compact-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.compact-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    object-fit: cover;
}

.compact-card strong,
.compact-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card strong {
    margin-top: 10px;
    font-size: 14px;
}

.compact-card small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
}

.compact-rank {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    font-size: 12px;
    font-weight: 800;
}

.inner-page {
    padding: 34px 0 72px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--gray-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--amber-700);
    font-weight: 700;
}

.page-hero {
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(90deg, var(--amber-900), var(--orange-800));
    color: #ffffff;
    box-shadow: var(--shadow-card);
}

.page-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--amber-100);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-hero h1 {
    color: #ffffff;
}

.page-hero p {
    max-width: 780px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.category-overview-grid {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.category-overview-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.category-head p {
    margin: 0 0 18px;
    color: var(--gray-600);
    line-height: 1.65;
}

.category-overview-card .compact-card {
    color: var(--gray-800);
    background: var(--amber-50);
}

.category-overview-card .compact-card small {
    color: var(--gray-500);
}

.filter-panel {
    margin-top: 28px;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.filter-panel label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 12px;
    color: var(--gray-800);
    background: var(--amber-50);
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-600);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.movie-card.is-hidden {
    display: none;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16 / 9;
}

.player-video,
.player-cover,
.player-cover img {
    width: 100%;
    height: 100%;
}

.player-video {
    display: block;
    object-fit: cover;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #000000;
    transition: opacity 240ms ease, visibility 240ms ease;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.16));
}

.player-cover img {
    object-fit: cover;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    position: absolute;
    z-index: 5;
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 14px 34px rgba(217, 119, 6, 0.42);
    font-size: 34px;
    line-height: 1;
    padding-left: 4px;
}

.detail-card {
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.detail-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 18px;
}

.detail-card h1 {
    margin: 12px 0;
    font-size: 28px;
    line-height: 1.25;
}

.detail-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.72;
}

.detail-content {
    margin-top: 32px;
    display: grid;
    gap: 22px;
}

.detail-block {
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.detail-block h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-block p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
}

.info-grid dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.info-grid div {
    padding: 16px;
    border-radius: 16px;
    background: var(--amber-50);
}

.info-grid dt {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.info-grid dd {
    margin: 8px 0 0;
    color: var(--gray-800);
    font-weight: 800;
}

.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ranking-more {
    margin-top: 42px;
}

.site-footer {
    margin-top: 72px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber-900), var(--orange-800), var(--amber-900));
}

.footer-grid {
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 20px;
}

.site-footer p,
.site-footer li {
    color: rgba(254, 243, 199, 0.86);
    line-height: 1.7;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(253, 230, 138, 0.22);
    color: rgba(254, 243, 199, 0.78);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .category-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .movie-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .detail-card {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 18px;
    }

    .detail-card img {
        margin-bottom: 0;
    }

    .info-grid dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-carousel {
        height: 72vh;
        min-height: 500px;
    }

    .hero-content {
        left: 24px;
        right: 24px;
        bottom: 72px;
    }

    .hero-arrow {
        display: none;
    }

    .home-intro,
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .horizontal-card a {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .horizontal-card img {
        height: 132px;
    }

    .horizontal-card div {
        padding: 16px 16px 16px 0;
    }
}

@media (max-width: 640px) {
    .container,
    .nav-shell,
    .mobile-nav {
        width: min(100% - 24px, 1180px);
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        display: none;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .category-grid,
    .movie-grid,
    .featured-grid,
    .related-grid,
    .compact-grid,
    .compact-grid.mini {
        grid-template-columns: 1fr;
    }

    .highlight-section,
    .dark-section,
    .page-hero,
    .detail-block {
        padding: 22px;
        border-radius: 22px;
    }

    .horizontal-card a,
    .detail-card {
        grid-template-columns: 1fr;
    }

    .horizontal-card img {
        height: 210px;
    }

    .horizontal-card div {
        padding: 18px;
    }

    .detail-card img {
        aspect-ratio: 16 / 10;
    }

    .info-grid dl {
        grid-template-columns: 1fr;
    }
}
