/* 睿港香港留学：沿用海港蓝、航标红与资讯版式 */
:root {
    --navy-950: #081b2b;
    --navy-900: #102b42;
    --navy-800: #173c59;
    --navy-700: #235777;
    --red-600: #d62c35;
    --red-700: #b91f2a;
    --blue-100: #e9f2f6;
    --blue-50: #f3f7f8;
    --paper: #fbfaf7;
    --white: #ffffff;
    --ink: #14212b;
    --muted: #64727d;
    --line: #d9e0e3;
    --line-dark: #b8c4ca;
    --shadow: 0 24px 60px rgba(8, 27, 43, 0.12);
    --container: 1660px;
    --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
    --sans: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* 门户所有二级标题统一字号，覆盖组件和移动端的局部设置 */
h2 {
    font-size: 40px !important;
}

body::before {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--red-600);
    content: "";
}

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

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

button,
input,
select {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(214, 44, 53, 0.32);
    outline-offset: 3px;
}

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

.container {
    width: min(calc(100% - 56px), var(--container));
    margin-right: auto;
    margin-left: auto;
}

svg {
    width: 1.25em;
    height: 1.25em;
}

/* 顶部信息与品牌区 */
.utility-bar {
    color: #d9e5eb;
    background: var(--navy-950);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.utility-inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
}

.utility-date {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sample-label {
    padding: 2px 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
}

.masthead {
    display: grid;
    min-height: 132px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(240px, 0.7fr);
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: var(--navy-900);
}

.brand-mark {
    width: 40px;
    height: 46px;
    flex: 0 0 auto;
}

.brand-name {
    font-family: var(--serif);
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    white-space: nowrap;
}

.brand-english {
    padding-left: 12px;
    border-left: 1px solid var(--line-dark);
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.45;
}

.masthead-note {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1.65;
}

.masthead-note::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 3px;
    background: var(--red-600);
    content: "";
}

.masthead-note strong {
    color: var(--navy-900);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-search {
    display: flex;
    width: min(100%, 280px);
    align-items: center;
    border-bottom: 1px solid var(--line-dark);
}

.header-search input {
    width: 100%;
    padding: 11px 4px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.header-search button,
.icon-button {
    display: grid;
    padding: 10px;
    border: 0;
    background: transparent;
    place-items: center;
}

.saved-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
}

.nav-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.primary-nav {
    display: flex;
    min-height: 58px;
    align-items: stretch;
    gap: 0;
}

.primary-nav a {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    min-width: 70px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: #2e3b44;
    font-size: 15px;
    font-weight: 600;
}

.primary-nav a::after {
    position: absolute;
    right: 14px;
    bottom: -1px;
    left: 14px;
    height: 3px;
    background: var(--red-600);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--red-600);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.primary-nav .nav-pick {
    min-width: auto;
    margin-left: auto;
    gap: 8px;
    color: var(--navy-900);
    font-size: 13px;
}

/* 首页热点和标题组件 */
.hot-topics {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 22px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.hot-topics a:hover {
    color: var(--red-600);
}

.hot-label {
    color: var(--navy-900);
    font-weight: 800;
}

.hot-label i,
.brief-heading i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--red-600);
    box-shadow: 0 0 0 5px rgba(214, 44, 53, 0.1);
}

.hot-edition {
    margin-left: auto;
    color: #8c989f;
    letter-spacing: 0.1em;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 2px solid var(--navy-900);
}

.section-heading h1,
.section-heading h2 {
    display: flex;
    align-items: baseline;
    gap: 13px;
    margin: 0;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.2;
}

.section-heading h1 span,
.section-heading h2 span {
    color: #94a1a9;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.section-heading > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.section-heading > a:hover {
    color: var(--red-600);
}

.lead-section {
    padding-top: 34px;
}

.lead-heading {
    margin-bottom: 20px;
}

.edition-label {
    color: var(--muted);
    font-size: 12px;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.82fr) minmax(245px, 0.68fr) minmax(270px, 0.72fr);
    gap: 26px;
}

.lead-story {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: var(--navy-900);
}

.lead-story > a,
.lead-story img {
    display: block;
    width: 100%;
    height: 100%;
}

.lead-story img {
    position: absolute;
    object-fit: cover;
    transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lead-story:hover img {
    transform: scale(1.025);
}

.lead-story::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 15, 25, 0.02) 20%, rgba(3, 15, 25, 0.88) 100%);
    content: "";
    pointer-events: none;
}

.lead-overlay {
    position: absolute;
    z-index: 1;
    right: 38px;
    bottom: 34px;
    left: 38px;
    color: #fff;
}

.lead-tag {
    display: inline-block;
    margin-bottom: 17px;
    padding: 4px 10px;
    background: var(--red-600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lead-overlay h2 {
    max-width: 620px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(35px, 4.2vw, 58px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.15;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.32);
}

.lead-overlay p {
    max-width: 610px;
    margin: 18px 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.7;
}

.lead-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    font-size: 12px;
}

.circle-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    place-items: center;
}

/* 新闻卡片 */
.lead-secondary {
    display: grid;
    align-content: start;
    gap: 25px;
}

.story-card {
    min-width: 0;
}

.story-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--blue-100);
}

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

.story-card:hover .story-image img {
    transform: scale(1.035);
}

.image-category {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px 10px;
    color: #fff;
    background: var(--navy-900);
    font-size: 10px;
    font-weight: 700;
}

.story-card h3 {
    margin: 13px 0 8px;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: -0.025em;
    line-height: 1.45;
}

.story-card h3 a:hover,
.ranking-list h3 a:hover,
.brief-list h3 a:hover,
.list-story h2 a:hover {
    color: var(--red-600);
}

.story-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #87939a;
    font-size: 11px;
}

.story-meta span {
    color: var(--red-600);
    font-weight: 700;
}

.compact-card + .compact-card {
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.compact-card h3 {
    font-size: 18px;
}

.compact-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.brief-panel {
    align-self: stretch;
    padding: 24px 24px 18px;
    border-top: 4px solid var(--red-600);
    background: var(--white);
    box-shadow: 0 12px 32px rgba(8, 27, 43, 0.06);
}

.brief-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
}

.brief-heading h2 {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 20px;
}

.brief-heading span {
    color: #a0abb1;
    font: 700 8px Arial, sans-serif;
    letter-spacing: 0.13em;
}

.brief-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brief-list li {
    display: grid;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 45px 1fr;
    gap: 12px;
}

.brief-list time {
    color: var(--red-600);
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.brief-list h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.55;
}

.brief-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 800;
}

.feature-strip {
    display: grid;
    min-height: 86px;
    align-items: center;
    margin-top: 32px;
    padding: 18px 26px;
    color: #fff;
    background: var(--navy-900);
    grid-template-columns: auto 1fr auto auto;
    gap: 26px;
}

.strip-label {
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffbec2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.feature-strip strong {
    font-family: var(--serif);
    font-size: 23px;
}

.strip-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.strip-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* 首页主内容和排行 */
.content-sidebar {
    display: grid;
    margin-top: 64px;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 68px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
}

.category-tabs button,
.category-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
}

.category-tabs button:hover,
.category-tabs button[aria-pressed="true"],
.category-tabs a:hover,
.category-tabs a[aria-current="page"] {
    border-color: var(--navy-900);
    color: #fff;
    background: var(--navy-900);
}

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

.latest-grid .story-card h3 {
    font-size: 20px;
}

.more-news,
.solid-button {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin: 38px auto 0;
    padding: 0 24px;
    border: 1px solid var(--navy-900);
    color: var(--navy-900);
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    transition: 180ms ease;
}

.more-news:hover,
.solid-button:hover {
    color: #fff;
    background: var(--navy-900);
}

.ranking-panel .section-heading {
    padding-bottom: 15px;
}

.ranking-panel .section-heading h2 {
    font-size: 22px;
}

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

.ranking-list li {
    display: grid;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 42px 1fr;
    gap: 13px;
}

.rank-number {
    padding-top: 2px;
    color: #b9c2c7;
    font-family: Georgia, serif;
    font-size: 23px;
    font-style: italic;
    line-height: 1;
}

.ranking-list li:first-child .rank-number,
.ranking-list li:nth-child(2) .rank-number,
.ranking-list li:nth-child(3) .rank-number {
    color: var(--red-600);
}

.ranking-list h3 {
    margin: 0 0 7px;
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.55;
}

.rank-meta {
    color: #929da3;
    font-size: 10px;
}

.data-note {
    margin: 10px 0 0;
    color: #a4adb2;
    font-size: 10px;
    text-align: right;
}

.editors-note {
    position: relative;
    display: block;
    margin-top: 42px;
    padding: 36px 30px 30px;
    overflow: hidden;
    color: #fff;
    background: var(--red-600);
}

.editors-note::before {
    position: absolute;
    right: -38px;
    bottom: -55px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.06), 0 0 0 58px rgba(255, 255, 255, 0.035);
    content: "";
}

.editors-note > span:first-child {
    font: 700 9px Arial, sans-serif;
    letter-spacing: 0.17em;
}

.editors-note h3 {
    margin: 22px 0 12px;
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.45;
}

.editors-note p {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
}

.editor-link,
.topic-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}

/* 专题与生活版块 */
.topics-section {
    margin-top: 84px;
}

.topic-grid {
    display: grid;
    margin-top: 25px;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.topic-card {
    position: relative;
    display: block;
    min-height: 430px;
    overflow: hidden;
    color: #fff;
    background: var(--navy-900);
}

.topic-card > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 700ms ease;
}

.topic-card:hover > img {
    transform: scale(1.04);
}

.topic-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 20, 32, 0.06), rgba(4, 20, 32, 0.9));
    content: "";
}

.topic-content {
    position: absolute;
    z-index: 1;
    right: 27px;
    bottom: 26px;
    left: 27px;
}

.topic-kicker {
    color: #ffd2d5;
    font: 700 9px Arial, sans-serif;
    letter-spacing: 0.12em;
}

.topic-content h3 {
    margin: 13px 0 8px;
    font-family: var(--serif);
    font-size: 29px;
}

.topic-content p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.topic-bottom {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.life-section {
    margin-top: 90px;
    padding: 70px 0 84px;
    background: #edf3f4;
}

.life-grid {
    display: grid;
    margin-top: 26px;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.life-grid .story-card {
    background: var(--white);
}

.life-grid .story-card-body {
    padding: 4px 20px 20px;
}

/* 内页通用 */
.inner-page {
    padding-top: 28px;
    padding-bottom: 90px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #849097;
    font-size: 11px;
}

.breadcrumb a:hover {
    color: var(--red-600);
}

.page-heading {
    position: relative;
    padding: 62px 0 44px;
    border-bottom: 1px solid var(--line-dark);
}

.page-heading::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 90px;
    height: 4px;
    background: var(--red-600);
    content: "";
}

.eyebrow {
    color: var(--red-600);
    font: 700 10px Arial, sans-serif;
    letter-spacing: 0.2em;
}

.page-heading h1 {
    max-width: 900px;
    margin: 14px 0 12px;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.12;
}

.page-heading p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.large-search {
    display: grid;
    align-items: center;
    max-width: 850px;
    min-height: 64px;
    margin-top: 36px;
    border: 1px solid var(--line-dark);
    background: #fff;
    grid-template-columns: 54px 1fr auto;
}

.large-search > svg {
    justify-self: center;
    color: var(--muted);
}

.large-search input {
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}

.large-search button {
    align-self: stretch;
    min-width: 112px;
    border: 0;
    color: #fff;
    background: var(--navy-900);
    font-weight: 700;
}

.list-layout {
    margin-top: 46px;
}

.list-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 2px solid var(--navy-900);
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.sort-control select {
    padding: 7px 26px 7px 10px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 12px;
}

.sort-control a {
    padding: 6px 9px;
    border: 1px solid var(--line);
    color: var(--navy-900);
    background: var(--white);
}

.sort-control a[aria-current="true"] {
    color: #fff;
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.result-count {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.article-list {
    margin-top: 4px;
}

.list-story {
    display: grid;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 300px 1fr;
    gap: 25px;
}

.list-story-image {
    display: block;
    min-height: 180px;
    overflow: hidden;
    background: var(--blue-100);
}

.list-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.list-story:hover .list-story-image img {
    transform: scale(1.035);
}

.list-story-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.text-category {
    color: var(--red-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.list-story h2 {
    margin: 8px 0 9px;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.42;
}

.list-story p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.list-story-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    color: #929da3;
    font-size: 11px;
}

.bookmark-button,
.article-tools button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: transparent;
}

.bookmark-button {
    width: 38px;
    height: 38px;
}

[data-save][aria-pressed="true"] {
    color: var(--red-600);
    border-color: rgba(214, 44, 53, 0.38);
    background: rgba(214, 44, 53, 0.05);
}

[data-save][aria-pressed="true"] svg {
    fill: currentColor;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 36px;
}

.pagination button,
.pagination a,
.pagination .is-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 12px;
}

.pagination button[aria-current="page"],
.pagination a[aria-current="page"] {
    color: #fff;
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.pagination button:disabled,
.pagination .is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.sidebar-topic {
    margin-top: 42px;
}

.sidebar-topic .topic-card {
    min-height: 390px;
}

.empty-state {
    padding: 80px 20px;
    color: var(--muted);
    text-align: center;
}

.empty-state > svg {
    width: 44px;
    height: 44px;
    color: var(--red-600);
}

.empty-state h1,
.empty-state h2 {
    margin: 20px 0 8px;
    color: var(--navy-900);
    font-family: var(--serif);
}

.empty-state .solid-button {
    color: #fff;
    background: var(--navy-900);
}

/* 新闻详情 */
.reading-progress {
    position: fixed;
    z-index: 900;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--red-600);
}

.article-layout {
    display: grid;
    margin: 50px auto 0;
    grid-template-columns: minmax(0, 1fr) 330px;
    justify-content: space-between;
    gap: 50px;
}

.article-header h1 {
    margin: 17px 0 20px;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 45px;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.18;
}

.article-deck {
    margin: 0 0 28px;
    padding-left: 20px;
    border-left: 3px solid var(--red-600);
    color: #53636e;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.8;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: var(--navy-900);
    font-family: var(--serif);
    font-weight: 900;
    place-items: center;
}

.article-byline div {
    display: grid;
}

.article-byline strong {
    color: var(--navy-900);
    font-size: 12px;
}

.article-byline div span {
    color: #929da3;
    font-size: 10px;
}

.article-toolbar {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #8e999f;
    font-size: 11px;
}

.article-tools {
    display: flex;
    gap: 8px;
}

.article-tools button {
    min-height: 38px;
    padding: 0 12px;
    color: var(--navy-900);
    font-size: 11px;
}

.small-a {
    font-size: 10px;
}

.article-cover {
    margin: 32px 0 40px;
}

.article-cover img {
    width: 100%;
    max-height: 545px;
    object-fit: cover;
}

.article-cover figcaption {
    padding-top: 8px;
    color: #929da3;
    font-size: 10px;
    text-align: right;
}

.article-prose {
    margin: 0 auto;
    color: #24333d;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 2.08;
}

.article-prose.large-type {
    font-size: 21px;
}

.article-prose p {
    margin: 0 0 28px;
}

.article-prose .opening-paragraph::first-letter {
    float: left;
    margin: 9px 10px 0 0;
    color: var(--red-600);
    font-size: 68px;
    font-weight: 900;
    line-height: 0.78;
}

.article-prose h2 {
    position: relative;
    margin: 48px 0 24px;
    padding-top: 17px;
    color: var(--navy-900);
    font-size: 27px;
    line-height: 1.5;
}

.article-prose h2::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: var(--red-600);
    content: "";
}

.article-prose blockquote {
    margin: 44px -36px;
    padding: 35px 44px;
    color: var(--navy-900);
    border: 0;
    background: var(--blue-100);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.article-disclaimer {
    margin-top: 45px;
    padding: 17px 20px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: var(--blue-50);
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.7;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 820px;
    margin: 38px auto 0;
    color: var(--muted);
    font-size: 11px;
}

.article-tags a {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.article-tags a:hover {
    color: var(--red-600);
    border-color: var(--red-600);
}

.article-navigation {
    display: grid;
    margin: 34px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-navigation > a,
.article-navigation > .is-empty {
    display: flex;
    min-height: 104px;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--white);
}

.article-navigation > a:hover {
    border-color: var(--navy-900);
}

.article-navigation span {
    margin-bottom: 7px;
    color: var(--red-600);
    font-size: 11px;
    font-weight: 700;
}

.article-navigation strong {
    color: var(--navy-900);
    font-family: var(--serif);
    line-height: 1.5;
}

.article-navigation > .is-empty {
    color: var(--muted);
    font-size: 12px;
}

.portal-page-content {
    max-width: 850px;
    margin-top: 50px;
    padding: 45px 55px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.portal-error-masthead {
    grid-template-columns: 1fr;
}

.portal-error-page {
    min-height: 58vh;
}

.error-code {
    display: block;
    color: var(--red-600);
    font: 900 clamp(74px, 14vw, 150px)/1 Arial, sans-serif;
    letter-spacing: -0.08em;
}

.related-section {
    margin-top: 80px;
}

.related-grid {
    display: grid;
    margin-top: 25px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-grid .story-card h3 {
    font-size: 16px;
}

.related-grid .story-card p {
    display: none;
}

.article-aside {
    padding-top: 115px;
}

/* 专题聚合页 */
.topic-collections {
    display: grid;
    margin-top: 54px;
    gap: 55px;
}

.topic-collection {
    display: grid;
    min-height: 465px;
    grid-template-columns: minmax(320px, 0.9fr) 1fr;
    gap: 0;
}

.topic-collection:nth-child(even) .topic-card {
    order: 2;
}

.topic-collection .topic-card {
    min-height: 465px;
}

.topic-collection-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 55px;
    border: 1px solid var(--line);
    background: var(--white);
}

.topic-collection-list h2 {
    margin: 10px 0 24px;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.4;
}

.topic-collection-list > a:not(.collection-all) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 15px;
}

.topic-collection-list > a:hover {
    color: var(--red-600);
}

.collection-all {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--red-600);
    font-size: 12px;
    font-weight: 800;
}

/* 底部 */
.site-footer {
    color: rgba(255, 255, 255, 0.75);
    background: var(--navy-950);
}

.footer-main {
    display: grid;
    min-height: 230px;
    align-items: center;
    grid-template-columns: 1fr auto auto;
    gap: 70px;
}

.footer-brand .brand {
    color: #fff;
}

.footer-brand .brand-english {
    color: rgba(255, 255, 255, 0.52);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-brand p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 34px;
    font-size: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.toast {
    position: fixed;
    z-index: 1100;
    right: 22px;
    bottom: 22px;
    max-width: calc(100% - 44px);
    padding: 13px 18px;
    color: #fff;
    background: var(--navy-900);
    box-shadow: var(--shadow);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 180ms ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.share-dialog {
    width: min(calc(100% - 32px), 480px);
    padding: 28px;
    border: 0;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.share-dialog::backdrop {
    background: rgba(8, 27, 43, 0.68);
}

.share-dialog h2 {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--serif);
}

.share-dialog p {
    color: var(--muted);
    font-size: 13px;
}

.share-dialog input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
}

.share-dialog button {
    width: 100%;
    margin-top: 12px;
    padding: 11px;
    border: 0;
    color: #fff;
    background: var(--navy-900);
}

/* 专题指南与官方查询入口，沿用现有海港蓝和分隔线 */
.topic-guide {
    margin-bottom: 44px;
    padding: 28px 32px;
    border-top: 3px solid var(--red-600);
    background: var(--blue-50);
}

.topic-guide-intro {
    font-size: 20px;
    color: var(--navy-900);
}

.topic-guide-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 40px;
    padding-left: 24px;
}

.topic-guide-steps li {
    padding-left: 6px;
}

.topic-guide-steps h3 {
    margin: 0 0 8px;
    color: var(--navy-900);
    font-size: 21px;
}

.topic-guide-steps p {
    margin: 0;
}

.source-links {
    margin: 30px 0 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
}

.source-links h3 {
    margin: 0 0 8px;
    color: var(--navy-900);
    font-size: 21px;
}

.source-links p,
.article-editorial-link {
    color: var(--muted);
    font-size: 15px;
}

.source-links a,
.article-editorial-link a,
.article-byline a {
    color: var(--navy-700);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.topic-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 20px;
}

.editorial-note {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

/* 咨询浮窗与微信二维码弹窗 */
.contact-float {
    position: fixed;
    z-index: 80;
    top: 50%;
    right: 18px;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}

.contact-float-button {
    display: flex;
    width: 154px;
    min-height: 62px;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(125deg, #20ca68, #0f8f81);
    box-shadow: 0 8px 24px rgba(12, 100, 67, 0.16);
    text-align: left;
    line-height: 1.35;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-float-panel {
    display: grid;
    gap: 10px;
}

.contact-float-toggle {
    display: none;
    justify-self: end;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 24px;
    background: var(--navy-900);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(8, 27, 43, 0.15);
}

.contact-wechat {
    background: linear-gradient(125deg, #16bd61, #009449);
}

.contact-float-button:hover {
    color: #fff;
    box-shadow: 0 10px 28px rgba(12, 100, 67, 0.25);
    transform: translateX(-3px);
}

.contact-float-button svg {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
}

.contact-float-button strong,
.contact-float-button small {
    display: block;
    white-space: nowrap;
}

.contact-float-button strong {
    font-size: 14px;
}

.contact-float-button small {
    margin-top: 2px;
    font-size: 11px;
}

body.contact-dialog-open {
    overflow: hidden;
}

.wechat-dialog {
    position: fixed;
    width: min(350px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 28px 24px 18px;
    overflow: auto;
    border: 0;
    border-radius: 20px;
    color: #272b30;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.wechat-dialog::backdrop {
    background: rgba(20, 27, 26, 0.55);
    backdrop-filter: blur(4px);
}

.wechat-dialog h2 {
    margin: 0 0 14px;
    font-family: var(--sans);
    font-size: 23px;
    font-weight: 800;
}

.wechat-dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 9px;
    border: 0;
    border-radius: 50%;
    color: #5b6069;
    background: #f4f4f6;
    place-items: center;
}

.wechat-qr {
    width: 204px;
    height: 204px;
    margin: 0 auto;
    object-fit: contain;
}

.wechat-dialog > p {
    margin: 16px 0 12px;
    color: #788193;
    font-size: 14px;
}

.wechat-copy-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wechat-id {
    width: 100px;
    min-width: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    font-size: 20px;
    font-weight: 750;
}

.wechat-copy-button {
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #0abc64;
    border-radius: 24px;
    color: #009b4e;
    background: #fff;
    font-size: 14px;
}

.wechat-copy-button:hover {
    background: #edf9f2;
}

.wechat-dialog .wechat-copy-status {
    min-height: 18px;
    margin: 10px 0 0;
    color: #008d49;
    font-size: 12px;
}

/* 边缘空间不足时收起咨询卡，点击后展开，避免覆盖资讯速览。 */
@media (max-width: 2020px) {
    .contact-float {
        top: auto;
        bottom: max(18px, env(safe-area-inset-bottom));
        transform: none;
    }

    .contact-float-toggle {
        display: block;
    }

    .contact-float-panel {
        display: none;
    }

    .contact-float.is-expanded .contact-float-panel {
        display: grid;
    }
}

@media (max-width: 1100px) {
    .primary-nav a {
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

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

    .masthead-note {
        display: none;
    }

    .lead-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr);
    }

    .brief-panel {
        grid-column: 1 / -1;
    }

    .brief-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
    }

    .content-sidebar {
        grid-template-columns: minmax(0, 1fr) 285px;
        gap: 38px;
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 45px;
    }
}

@media (max-width: 860px) {
    .brand-english {
        display: none;
    }

    .contact-float {
        top: auto;
        right: 12px;
        bottom: max(18px, env(safe-area-inset-bottom));
        gap: 8px;
        transform: none;
    }

    .contact-float-button {
        width: 48px;
        min-height: 48px;
        justify-content: center;
        padding: 10px;
        border-radius: 50%;
    }

    .contact-float-button > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .masthead {
        min-height: 108px;
    }

    .header-search {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .nav-wrap {
        position: relative;
    }

    .primary-nav {
        position: absolute;
        z-index: 50;
        top: 0;
        right: 0;
        left: 0;
        display: grid;
        min-height: 0;
        max-height: 0;
        overflow: hidden;
        align-items: stretch;
        padding: 0 18px;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        background: var(--paper);
        box-shadow: var(--shadow);
        grid-template-columns: repeat(2, 1fr);
        transition: max-height 240ms ease, padding 240ms ease, opacity 160ms ease;
    }

    .primary-nav.is-open {
        max-height: 600px;
        padding-top: 18px;
        padding-bottom: 18px;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .primary-nav a {
        min-height: 48px;
        justify-content: flex-start;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav .nav-pick {
        margin-left: 0;
    }

    .hot-edition {
        display: none;
    }

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

    .lead-story {
        min-height: 570px;
    }

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

    .compact-card + .compact-card {
        padding-top: 0;
        border-top: 0;
    }

    .brief-list {
        grid-template-columns: 1fr;
    }

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

    .strip-label,
    .strip-description {
        display: none;
    }

    .content-sidebar,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .home-sidebar,
    .article-aside {
        display: grid;
        padding-top: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .editors-note,
    .sidebar-topic {
        margin-top: 0;
    }

    .topic-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .topic-grid .topic-card:last-child {
        grid-column: 1 / -1;
        min-height: 330px;
    }

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

    .life-grid .story-card:last-child {
        display: none;
    }

    .list-story {
        grid-template-columns: 220px 1fr;
    }

    .article-layout {
        margin-top: 36px;
    }

    .article-prose blockquote {
        margin-right: 0;
        margin-left: 0;
    }

    .article-aside {
        margin-top: 55px;
    }

    .topic-collection,
    .topic-collection:nth-child(even) {
        grid-template-columns: 1fr 1fr;
    }

    .topic-collection:nth-child(even) .topic-card {
        order: initial;
    }

    .topic-collection-list {
        padding: 32px;
    }

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

    .footer-top {
        display: none;
    }
}

@media (max-width: 600px) {
    .topic-guide {
        padding: 20px 16px;
    }

    .topic-guide .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .topic-guide-steps {
        grid-template-columns: 1fr;
    }

    .source-links ul {
        padding-left: 20px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .utility-inner {
        justify-content: center;
    }

    .utility-inner > span:first-child,
    .sample-label {
        display: none;
    }

    .masthead {
        min-height: 88px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 30px;
        height: 36px;
    }

    .brand-name {
        font-size: clamp(24px, 6.6vw, 32px);
    }

    .brand-english {
        display: none;
    }

    .header-actions {
        gap: 7px;
    }

    .saved-link span {
        display: none;
    }

    .hot-topics {
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hot-topics::-webkit-scrollbar {
        display: none;
    }

    .section-heading {
        padding-bottom: 13px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 23px;
    }

    .section-heading h1 span,
    .section-heading h2 span,
    .edition-label {
        display: none;
    }

    .lead-section {
        padding-top: 24px;
    }

    .lead-story {
        min-height: 500px;
    }

    .lead-overlay {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .lead-overlay h2 {
        font-size: 34px;
    }

    .lead-overlay p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .lead-secondary {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .compact-card {
        display: grid;
        grid-template-columns: 42% 1fr;
        gap: 14px;
    }

    .compact-card .story-card-body {
        min-width: 0;
    }

    .compact-card h3 {
        margin-top: 0;
        font-size: 16px;
    }

    .compact-card p {
        display: none;
    }

    .brief-panel {
        padding: 20px;
    }

    .feature-strip {
        min-height: 74px;
        margin-top: 22px;
        padding: 15px 18px;
        gap: 12px;
    }

    .feature-strip strong {
        font-size: 17px;
    }

    .strip-link {
        font-size: 0;
    }

    .strip-link svg {
        font-size: 14px;
    }

    .content-sidebar {
        margin-top: 54px;
    }

    .latest-grid,
    .life-grid {
        grid-template-columns: 1fr;
    }

    .latest-grid {
        gap: 32px;
    }

    .home-sidebar,
    .article-aside {
        display: block;
    }

    .editors-note,
    .sidebar-topic {
        margin-top: 38px;
    }

    .topics-section {
        margin-top: 65px;
    }

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

    .topic-grid .topic-card,
    .topic-grid .topic-card:last-child {
        min-height: 360px;
        grid-column: auto;
    }

    .life-section {
        margin-top: 65px;
        padding: 55px 0;
    }

    .life-grid .story-card:last-child {
        display: block;
    }

    .inner-page {
        padding-top: 20px;
        padding-bottom: 65px;
    }

    .page-heading {
        padding: 45px 0 34px;
    }

    .page-heading h1 {
        font-size: 42px;
    }

    .large-search {
        grid-template-columns: 45px 1fr;
    }

    .large-search button {
        grid-column: 1 / -1;
        min-height: 48px;
    }

    .list-layout {
        margin-top: 32px;
    }

    .list-controls {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 18px;
        gap: 0;
    }

    .list-controls .category-tabs {
        margin-bottom: 12px;
    }

    .list-story {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .list-story-image {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .list-story h2 {
        font-size: 21px;
    }

    .list-story p {
        margin-bottom: 16px;
    }

    .pagination button {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
    }

    .article-header h1 {
        font-size: 34px;
    }

    .article-deck {
        padding-left: 14px;
        font-size: 17px;
    }

    .article-toolbar > span {
        display: none;
    }

    .article-tools {
        width: 100%;
        justify-content: space-between;
    }

    .article-cover {
        margin-right: -14px;
        margin-left: -14px;
    }

    .article-cover figcaption {
        padding-right: 14px;
    }

    .article-prose,
    .article-prose.large-type {
        font-size: 17px;
        line-height: 2;
    }

    .article-prose.large-type {
        font-size: 20px;
    }

    .article-prose blockquote {
        margin-right: -14px;
        margin-left: -14px;
        padding: 28px 22px;
        font-size: 23px;
    }

    .article-tags {
        flex-wrap: wrap;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .portal-page-content {
        margin-top: 30px;
        padding: 28px 22px;
    }

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

    .related-grid .story-card {
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 14px;
    }

    .related-grid .story-card h3 {
        margin-top: 0;
    }

    .topic-collection,
    .topic-collection:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .topic-collection .topic-card {
        min-height: 370px;
    }

    .topic-collection-list {
        padding: 28px 22px;
    }

    .topic-collection-list h2 {
        font-size: 26px;
    }

    .footer-main {
        min-height: 250px;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 30px;
    }

    .footer-links {
        justify-self: start;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
