:root {
    --color-primary: #f97316;
    --color-primary-dark: #ea580c;
    --color-danger: #dc2626;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --color-border: #e5e7eb;
    --color-card: #ffffff;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.22);
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background: #f9fafb;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

img.is-missing {
    opacity: 0;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    box-shadow: 0 10px 24px rgba(127, 29, 29, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    color: #fff;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-link,
.mobile-nav-link {
    font-weight: 600;
    opacity: 0.92;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #fed7aa;
    opacity: 1;
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-controls input,
.filter-controls select {
    border: 0;
    outline: none;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.12);
}

.header-search input {
    width: 220px;
    padding: 10px 16px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #fff;
    background: rgba(0, 0, 0, 0.20);
    cursor: pointer;
    transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
    background: rgba(0, 0, 0, 0.36);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-menu.is-open {
    display: grid;
    gap: 12px;
}

.mobile-search input {
    flex: 1;
    padding: 11px 16px;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.10));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px 14px;
    color: #fff;
    background: var(--color-primary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.hero-content p {
    max-width: 690px;
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions,
.detail-info .primary-button {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.26);
}

.primary-button:hover {
    transform: translateY(-2px);
    background: var(--color-primary-dark);
    box-shadow: 0 20px 38px rgba(249, 115, 22, 0.34);
}

.ghost-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.48);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -34px;
    position: relative;
    z-index: 10;
}

.stats-strip a {
    display: grid;
    gap: 4px;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.stats-strip strong {
    color: var(--color-primary);
    font-size: 28px;
}

.stats-strip span {
    color: var(--color-muted);
    font-weight: 700;
}

.section-block {
    margin-top: 56px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
    font-weight: 900;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--color-muted);
}

.section-more {
    color: var(--color-primary-dark);
    background: #fff7ed;
    box-shadow: inset 0 0 0 1px #fed7aa;
}

.section-more:hover {
    color: #fff;
    background: var(--color-primary);
}

.movie-grid {
    display: grid;
    gap: 20px;
}

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

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

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

.movie-card {
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    display: block;
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7f1d1d 50%, #f97316);
}

.movie-card-large .poster-frame {
    aspect-ratio: 16 / 10;
}

.movie-card-small .poster-frame,
.movie-card-compact .poster-frame {
    aspect-ratio: 3 / 4;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .poster-frame img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 45%);
    opacity: 0.9;
}

.score-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.score-badge {
    right: 12px;
    background: rgba(249, 115, 22, 0.96);
}

.rank-badge {
    left: 12px;
    background: rgba(220, 38, 38, 0.96);
}

.play-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #fff;
    background: rgba(249, 115, 22, 0.88);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
    padding: 16px;
}

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-card-body h3 a:hover {
    color: var(--color-primary-dark);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.movie-meta span,
.tag-row span {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.movie-meta span {
    color: #6b7280;
    background: #f3f4f6;
}

.tag-row span {
    color: #ea580c;
    background: #fff7ed;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 88px;
    padding: 24px;
    background: #111827;
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.ranking-panel h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 900;
}

.ranking-panel ol,
.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-panel li + li {
    margin-top: 8px;
}

.ranking-panel a,
.ranking-row a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #dc2626);
    border-radius: 10px;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.rank-meta {
    color: var(--color-muted);
}

.rank-score {
    color: #f97316;
    font-weight: 900;
}

.category-preview-section {
    padding: 56px 0;
    background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.category-preview-list {
    display: grid;
    gap: 26px;
}

.category-preview-block {
    padding: 22px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
}

.category-preview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.category-preview-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.category-preview-title p {
    max-width: 520px;
    margin: 0;
    color: var(--color-muted);
}

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

.latest-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.latest-item img {
    width: 86px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #111827, #f97316);
}

.latest-item strong,
.latest-item em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-item em {
    margin-top: 6px;
    color: var(--color-muted);
    font-style: normal;
    font-size: 13px;
}

.page-hero,
.detail-hero {
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.45), transparent 30%),
        linear-gradient(135deg, #111827, #7f1d1d 55%, #ea580c);
}

.page-hero {
    padding: 68px 0;
}

.compact-page-hero p,
.category-page-hero p {
    max-width: 760px;
    margin: 0;
    color: #f3f4f6;
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

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

.category-card {
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 160px;
    background: linear-gradient(135deg, #111827, #f97316);
}

.category-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    padding: 22px;
}

.category-card-body h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 900;
}

.category-card-body p {
    margin: 0 0 14px;
    color: var(--color-muted);
    line-height: 1.7;
}

.category-card-body span {
    color: var(--color-primary-dark);
    font-weight: 900;
}

.filterable-section {
    display: grid;
    gap: 22px;
}

.filter-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.filter-toolbar h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.filter-toolbar p {
    margin: 6px 0 0;
    color: var(--color-muted);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-controls input,
.filter-controls select {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
}

.filter-controls input {
    width: min(340px, 100%);
}

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

.ranking-list {
    display: grid;
    gap: 10px;
}

.ranking-row {
    padding: 14px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.ranking-row a {
    grid-template-columns: 48px minmax(0, 1fr) auto 54px;
}

.detail-hero {
    padding: 44px 0 64px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #111827, #f97316);
    box-shadow: var(--shadow-strong);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    right: 14px;
    top: 14px;
    padding: 7px 12px;
    color: #fff;
    background: rgba(249, 115, 22, 0.95);
    border-radius: 999px;
    font-weight: 900;
}

.detail-info h1 {
    margin-bottom: 14px;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 22px;
    color: #f3f4f6;
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.detail-meta div {
    padding: 14px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.detail-meta dt {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.detail-meta dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.detail-tags {
    margin-bottom: 24px;
}

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

.video-player {
    width: 100%;
    height: 100%;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.player-shell.is-playing .player-overlay {
    display: none;
}

.player-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.player-overlay-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12), rgba(0, 0, 0, 0.86));
}

.player-start {
    position: relative;
    z-index: 2;
    min-width: 140px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--color-primary);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.36);
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 3;
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    padding: 26px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 900;
}

.content-card p {
    margin: 0;
    color: #374151;
    line-height: 2;
    white-space: pre-line;
}

.search-page-form {
    display: flex;
    max-width: 680px;
    gap: 10px;
    margin-top: 28px;
}

.search-page-form input {
    flex: 1;
    min-height: 50px;
    padding: 0 18px;
}

.search-page-form button {
    min-width: 110px;
    background: var(--color-primary);
}

.site-footer {
    margin-top: 72px;
    padding: 48px 0;
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    line-height: 1.8;
}

.footer-note {
    margin-top: 12px !important;
    color: #9ca3af;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

@media (max-width: 1080px) {
    .featured-grid,
    .hot-grid,
    .catalogue-grid,
    .related-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .ranking-panel {
        position: static;
    }

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

@media (max-width: 860px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-inner {
        gap: 12px;
    }

    .hero {
        height: 540px;
    }

    .hero-content {
        bottom: 72px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .stats-strip,
    .latest-list,
    .category-grid,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .hot-grid,
    .catalogue-grid,
    .related-grid,
    .preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-preview-title,
    .section-heading,
    .filter-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .detail-poster {
        max-width: 240px;
    }

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

    .ranking-row a {
        grid-template-columns: 42px minmax(0, 1fr) 48px;
    }

    .ranking-row .rank-meta {
        display: none;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .brand {
        font-size: 19px;
    }

    .hero {
        height: 500px;
    }

    .hero-content h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 32px;
    }

    .hero-control {
        display: none;
    }

    .stats-strip {
        margin-top: 18px;
    }

    .featured-grid,
    .hot-grid,
    .catalogue-grid,
    .related-grid,
    .preview-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-small .poster-frame,
    .movie-card-compact .poster-frame,
    .poster-frame {
        aspect-ratio: 16 / 10;
    }

    .filter-controls,
    .search-page-form {
        flex-direction: column;
    }

    .filter-controls input,
    .filter-controls select {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
