:root {
    --bg: #090d16;
    --surface: #111722;
    --surface-soft: #171f2d;
    --text: #f7f8fb;
    --muted: #aeb8cc;
    --line: rgba(255, 255, 255, 0.1);
    --red: #ff3b4e;
    --red-dark: #d9213a;
    --cyan: #36d6cf;
    --yellow: #ffc857;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: 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;
}

.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 13, 22, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-main {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 520px) minmax(70px, 1fr);
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand img {
    width: 38px;
    height: 38px;
}

.search-form {
    display: flex;
    min-width: 0;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}

.search-form:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(54, 214, 207, 0.12);
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 10px 18px;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: none;
}

.search-form button {
    width: 48px;
    color: var(--text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    justify-self: end;
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 12px;
}

.category-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-scroll {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-scroll a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 12px 10px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.nav-scroll a:hover,
.nav-scroll a.active {
    color: var(--text);
}

.nav-scroll a.active::after {
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 3px;
    content: "";
    background: var(--red);
    border-radius: 3px 3px 0 0;
}

.hero-section {
    padding: 54px 0 28px;
    background: radial-gradient(circle at 10% 10%, rgba(255, 59, 78, 0.18), transparent 35%), radial-gradient(circle at 90% 80%, rgba(54, 214, 207, 0.12), transparent 30%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
}

.hero-lead {
    max-width: 660px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions,
.hero-facts,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 10px 30px rgba(255, 59, 78, 0.25);
}

.button.ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.button.light {
    color: #10141c;
    background: #fff;
}

.hero-facts {
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
}

.hero-facts span::before {
    margin-right: 7px;
    color: var(--cyan);
    content: "•";
}

.hero-feature {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.hero-feature img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-feature::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(4, 6, 11, 0.96), transparent 68%);
}

.hero-overlay {
    position: absolute;
    z-index: 1;
    right: 30px;
    bottom: 28px;
    left: 30px;
}

.hero-overlay h2 {
    margin: 12px 0 5px;
    font-size: 30px;
}

.hero-overlay p {
    margin: 0;
    color: #dce2ee;
}

.pill {
    display: inline-flex;
    padding: 5px 10px;
    color: #fff;
    background: var(--red);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.quick-strip {
    padding: 20px 0 6px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.quick-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 18px 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 14px;
}

.quick-grid a:hover {
    color: var(--cyan);
    border-color: rgba(54, 214, 207, 0.45);
    transform: translateY(-2px);
}

.home-section,
.listing-section,
.related-section,
.editor-section {
    padding: 58px 0;
}

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

.section-heading > div {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.section-heading > div > .icon {
    width: 30px;
    height: 30px;
    margin-top: 3px;
    color: var(--red);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    flex: 0 0 auto;
    color: var(--cyan);
    font-weight: 700;
}

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

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

.video-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--surface-soft);
}

.poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-card:hover .poster img {
    transform: scale(1.04);
}

.score,
.play-badge {
    position: absolute;
    z-index: 1;
}

.score {
    top: 12px;
    right: 12px;
    padding: 3px 8px;
    color: #161616;
    background: var(--yellow);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
}

.play-badge {
    bottom: 12px;
    left: 12px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: rgba(255, 59, 78, 0.9);
    border-radius: 50%;
    backdrop-filter: blur(8px);
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 2.8em;
    margin: 0;
    overflow: hidden;
    font-size: 19px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.summary {
    display: -webkit-box;
    min-height: 4.8em;
    margin: 10px 0 16px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.spotlight-section {
    padding: 58px 0;
    background: #edf7f5;
    color: #10151f;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.spotlight-copy h2 {
    margin: 0 0 15px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.spotlight-copy p:not(.eyebrow) {
    color: #4c5967;
}

.spotlight-list {
    display: grid;
    gap: 12px;
}

.spotlight-list a {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(17, 38, 35, 0.08);
}

.spotlight-list img {
    width: 140px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
}

.spotlight-list span,
.feature-row span,
.rank-row > span:nth-child(2) {
    min-width: 0;
}

.spotlight-list strong,
.spotlight-list small,
.feature-row strong,
.feature-row small {
    display: block;
}

.spotlight-list small,
.feature-row small {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: #687381;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tv-section {
    background: linear-gradient(180deg, transparent, rgba(54, 214, 207, 0.05));
}

.split-section {
    padding: 58px 0;
}

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

.split-panel {
    min-width: 0;
    padding: 28px;
    border-radius: 24px;
}

.variety-panel {
    color: #1b1723;
    background: #ffdf7e;
}

.anime-panel {
    color: #121822;
    background: #9de7e2;
}

.split-panel .section-heading p,
.split-panel .text-link {
    color: rgba(16, 21, 31, 0.7);
}

.rank-row {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 42px;
    gap: 12px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.rank {
    font-size: 24px;
    font-weight: 900;
}

.rank-row strong,
.rank-row small {
    display: block;
}

.rank-row small {
    overflow: hidden;
    opacity: 0.72;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em {
    font-style: normal;
    font-weight: 900;
}

.feature-row {
    display: grid;
    grid-template-columns: 48% minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 16px;
}

.feature-row img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.feature-row strong {
    font-size: 24px;
}

.feature-row small {
    padding-right: 18px;
}

.family-section {
    padding: 58px 0;
}

.family-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 40px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.family-layout > div {
    padding-left: 40px;
}

.family-layout > div > p {
    color: var(--muted);
}

.family-layout > img {
    width: calc(100% - 40px);
    height: 330px;
    object-fit: cover;
    border-radius: 20px;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.principle-grid article {
    min-height: 235px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.principle-grid span {
    color: var(--red);
    font-size: 30px;
    font-weight: 900;
}

.principle-grid h3 {
    margin: 30px 0 8px;
}

.principle-grid p {
    margin: 0;
    color: var(--muted);
}

.guide-section {
    padding: 0 0 70px;
}

.guide-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
    background: linear-gradient(90deg, rgba(255, 59, 78, 0.16), rgba(54, 214, 207, 0.13));
    border: 1px solid var(--line);
    border-radius: 20px;
}

.guide-box > div {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-left: 28px;
}

.guide-box h2,
.guide-box p {
    margin: 0;
}

.guide-box p {
    color: var(--muted);
}

.guide-box > a {
    padding-right: 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 22px;
    padding-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb > *:not(:last-child)::after {
    margin-left: 9px;
    content: "/";
    opacity: 0.45;
}

.breadcrumb span {
    color: var(--text);
}

.category-hero,
.info-hero {
    padding: 34px 0 24px;
}

.category-hero-inner,
.info-hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
    background: linear-gradient(120deg, rgba(255, 59, 78, 0.12), rgba(54, 214, 207, 0.07));
    border: 1px solid var(--line);
    border-radius: 24px;
}

.category-hero-inner > div:last-child,
.info-hero-inner > div:last-child {
    padding-right: 28px;
}

.category-icon {
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    margin-left: 32px;
    place-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 22px;
}

.category-icon .icon {
    width: 40px;
    height: 40px;
}

.category-hero h1,
.info-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.15;
}

.category-hero p,
.info-hero p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--muted);
}

.category-note {
    padding: 10px 0 70px;
}

.note-box {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.note-box p {
    max-width: 850px;
    margin: 10px auto 18px;
    padding: 0 24px;
    color: var(--muted);
}

.detail-hero {
    padding: 28px 0 55px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

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

.detail-score {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 6px 10px;
    color: #171717;
    background: var(--yellow);
    border-radius: 8px;
    font-weight: 900;
}

.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.12;
}

.detail-summary {
    max-width: 720px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 18px;
}

.tag-list span {
    padding: 5px 11px;
    color: var(--cyan);
    background: rgba(54, 214, 207, 0.1);
    border: 1px solid rgba(54, 214, 207, 0.2);
    border-radius: 999px;
    font-size: 13px;
}

.facts {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.facts div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 15px;
}

.facts dt {
    color: var(--muted);
}

.facts dd {
    margin: 0;
}

.article-section {
    padding: 58px 0;
    background: #f1f4f8;
    color: #18202b;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 50px;
    align-items: start;
}

.article-body {
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(29, 44, 65, 0.08);
}

.article-body h2 {
    margin: 10px 0 18px;
    font-size: 28px;
}

.article-body p {
    color: #4c5967;
    font-size: 17px;
}

.detail-aside {
    position: sticky;
    top: 148px;
    display: grid;
    gap: 10px;
    padding: 25px;
    background: #dcebe9;
    border-radius: 16px;
}

.detail-aside h2 {
    margin: 0 0 8px;
}

.detail-aside a {
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 55px;
}

.pager a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.pager a:last-child {
    text-align: right;
}

.pager small {
    color: var(--muted);
}

.info-content {
    padding: 30px 0 70px;
}

.prose-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.prose-card > section {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 24px;
    padding: 30px;
    border-bottom: 1px solid var(--line);
}

.prose-card > section:last-child {
    border-bottom: 0;
}

.prose-card > section > span {
    color: var(--red);
    font-size: 25px;
    font-weight: 900;
}

.prose-card h2 {
    margin: 0 0 8px;
}

.prose-card p {
    margin: 0;
    color: var(--muted);
}

.search-page {
    padding: 38px 0 70px;
}

.search-title {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.search-title > .icon {
    width: 42px;
    height: 42px;
    color: var(--red);
}

.search-title h1 {
    margin: 0;
    font-size: 44px;
}

.search-title p {
    margin: 5px 0 0;
    color: var(--muted);
}

.search-form-large {
    max-width: 760px;
    min-height: 56px;
    margin: 28px 0 35px;
}

.search-form-large button {
    width: auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #fff;
    background: var(--red);
}

.empty-state {
    padding: 60px 25px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.not-found {
    display: grid;
    min-height: 62vh;
    place-items: center;
    padding: 70px 0;
    background: radial-gradient(circle at center, rgba(255, 59, 78, 0.16), transparent 50%);
}

.not-found-inner {
    max-width: 720px;
    text-align: center;
}

.error-code {
    margin: 0;
    color: var(--red);
    font-size: clamp(90px, 18vw, 190px);
    font-weight: 900;
    line-height: 0.9;
}

.not-found h1 {
    margin: 25px 0 10px;
    font-size: 40px;
}

.not-found p:not(.error-code) {
    color: var(--muted);
}

.not-found .hero-actions {
    justify-content: center;
    margin-top: 25px;
}

.site-footer {
    padding: 55px 0 22px;
    background: #060910;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 0.8fr);
    gap: 45px;
}

.footer-grid p {
    max-width: 430px;
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.footer-grid > div:not(:first-child) a {
    display: block;
    width: fit-content;
    margin: 8px 0;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 20px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    z-index: 20;
    right: 22px;
    bottom: 22px;
    display: none;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--red);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.back-to-top.visible {
    display: block;
}

@media (max-width: 1024px) {
    .header-main {
        grid-template-columns: minmax(200px, 0.7fr) minmax(260px, 1.3fr);
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid,
    .spotlight-grid {
        gap: 30px;
    }

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

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

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

@media (max-width: 768px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-main {
        min-height: 66px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .header-main > .search-form {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 12px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .category-nav {
        display: none;
    }

    .category-nav.open {
        display: block;
    }

    .nav-scroll {
        justify-content: flex-start;
    }

    .hero-grid,
    .spotlight-grid,
    .split-grid,
    .family-layout,
    .detail-grid,
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-section {
        padding-top: 38px;
    }

    .hero-feature,
    .hero-feature img {
        min-height: 320px;
    }

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

    .spotlight-list a {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .spotlight-list img {
        width: 120px;
    }

    .family-layout {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .family-layout > div {
        padding: 0 28px;
    }

    .family-layout > img {
        width: calc(100% - 56px);
        height: 260px;
        margin: 0 28px;
    }

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

    .principle-grid article {
        min-height: auto;
    }

    .detail-aside {
        position: static;
    }

    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 40px);
    }

    .brand span {
        font-size: 15px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-feature,
    .hero-feature img {
        min-height: 270px;
    }

    .hero-overlay {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .hero-overlay h2 {
        font-size: 24px;
    }

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

    .video-grid,
    .three-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading p {
        display: none;
    }

    .spotlight-list a {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .spotlight-list img {
        width: 96px;
    }

    .split-panel {
        padding: 22px;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-row img {
        height: 190px;
    }

    .feature-row span {
        padding: 0 18px 18px;
    }

    .guide-box,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-box > a {
        padding: 0 28px;
    }

    .category-hero-inner,
    .info-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        margin-left: 24px;
    }

    .category-hero-inner > div:last-child,
    .info-hero-inner > div:last-child {
        padding: 0 24px;
    }

    .detail-grid {
        gap: 28px;
    }

    .article-body {
        padding: 24px;
    }

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

    .pager a:last-child {
        text-align: left;
    }

    .prose-card > section {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px;
    }

    .search-title h1 {
        font-size: 34px;
    }

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