/* ============================================================
   天天写作文 · 主题样式
   教育主题：暖橙主色 #ff6b35 + 深蓝辅色 #2c5282 + 米色底 #faf8f3
   ============================================================ */

:root {
    --primary: #ff6b35;
    --primary-dark: #e85a2a;
    --primary-light: #fff5ef;
    --secondary: #2c5282;
    --secondary-dark: #1e3a5f;
    --accent: #38a169;
    --bg: #faf8f3;
    --bg-soft: #f4efe6;
    --surface: #ffffff;
    --text: #2d3748;
    --text-soft: #6b7280;
    --border: #ece5d6;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(45, 55, 72, .05);
    --shadow: 0 4px 16px rgba(45, 55, 72, .08);
    --shadow-lg: 0 10px 30px rgba(255, 107, 53, .12);
}

/* ============== reset ============== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 625%; }
body {
    font: 0.14rem/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol, li { list-style: none; }
img { display: block; max-width: 100%; border-radius: 6px; }
a {
    text-decoration: none;
    color: var(--text);
    transition: color .2s, background .2s, border-color .2s;
}
a:hover { color: var(--primary); }

.container {
    width: 92%;
    max-width: 11.7rem;
    margin: 0 auto;
}

.section { padding: 0.6rem 0; }
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}
.section-title {
    font-size: 0.24rem;
    font-weight: 700;
    color: var(--text);
    position: relative;
    padding-left: 0.12rem;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.06rem;
    width: 0.06rem;
    height: 0.18rem;
    background: var(--primary);
    border-radius: 3px;
}
.section-sub { color: var(--text-soft); font-size: 0.14rem; }
.section-head .more {
    color: var(--primary);
    font-size: 0.14rem;
}
.section-head .more:hover { color: var(--primary-dark); }

/* ============== top 顶栏 ============== */
.top {
    background: linear-gradient(90deg, #fff5ef 0%, #ffe7d6 100%);
    color: #7c3a1a;
    font-size: 0.13rem;
    padding: 0.08rem 0;
    border-bottom: 1px solid #ffe0c8;
}
.top-item { display: flex; justify-content: space-between; align-items: center; }
.top-left i { margin-right: 0.05rem; color: var(--primary); }
.top-right a {
    color: #7c3a1a;
    margin-left: 0.18rem;
    padding: 0.04rem 0;
    opacity: .85;
}
.top-right a:hover { color: var(--primary); opacity: 1; }

/* ============== header 头部 ============== */
#header { background: var(--surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.header {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0;
}
.logo a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.04rem;
}
.logo-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 0.1rem;
}
.logo-mark {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 0.04rem 0.1rem;
    border-radius: 6px;
    font-size: 0.22rem;
}
.logo-name {
    font-size: 0.22rem;
    font-weight: 700;
    color: var(--text);
    padding: 0.05rem;
}
.logo-slogan {
    color: var(--text-soft);
    font-size: 0.12rem;
    margin-left: 0.06rem;
}
.navbar { flex: 1; }
.nav-menu { display: flex; gap: 0.04rem; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block;
    padding: 0.12rem 0.18rem;
    font-size: 0.15rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-menu-child {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 1.4rem;
    box-shadow: var(--shadow);
    border-radius: 6px;
    z-index: 10;
}
.nav-menu > li:hover .nav-menu-child { display: block; }
.nav-menu-child li a {
    display: block;
    padding: 0.08rem 0.14rem;
    font-size: 0.14rem;
    text-align: center;
}
.nav-menu-child li a:hover { background: var(--primary-light); color: var(--primary); }

.search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 0.04rem 0.08rem 0.04rem 0.14rem;
    background: var(--bg-soft);
    transition: border-color .2s, background .2s;
}
.search-box:focus-within {
    border-color: var(--primary);
    background: #fff;
}
.search-box input {
    border: 0;
    background: transparent;
    outline: none;
    width: 1.6rem;
    font-size: 0.13rem;
    margin-bottom: 0;
    padding: 0.04rem 0;
}
.search-box button {
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 0.26rem;
    height: 0.26rem;
    cursor: pointer;
    font-size: 0.13rem;
}
.search-box button:hover { background: var(--primary-dark); }

/* mobile toggle */
.m-menu-open, .m-menu-close { display: none; }

/* ============== HERO ============== */
.hero {
    background: linear-gradient(135deg, #fff8f3 0%, #fbe7d6 60%, #ffd8be 100%);
    padding: 0.7rem 0 0.5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 6rem;
    height: 6rem;
    background: radial-gradient(circle, rgba(255, 107, 53, .15), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 7rem; margin: 0 auto; }
.hero-title {
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--secondary-dark);
    line-height: 1.3;
}
.hero-title span {
    display: block;
    font-size: 0.22rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.1rem;
}
.hero-subtitle {
    color: var(--text-soft);
    font-size: 0.16rem;
    margin: 0.16rem 0 0.3rem;
}
.hero-search {
    display: flex;
    max-width: 5rem;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 0.04rem;
    box-shadow: var(--shadow);
}
.hero-search input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    padding: 0.1rem 0.2rem;
    font-size: 0.14rem;
    margin-bottom: 0;
}
.hero-search button {
    border: 0;
    background: var(--primary);
    color: #fff;
    padding: 0.08rem 0.24rem;
    border-radius: 22px;
    cursor: pointer;
    font-size: 0.14rem;
    font-weight: 600;
}
.hero-search button:hover { background: var(--primary-dark); }
.hero-tags {
    margin-top: 0.2rem;
    font-size: 0.13rem;
    color: var(--text-soft);
}
.hero-tags a {
    display: inline-block;
    margin: 0.05rem 0.06rem;
    padding: 0.04rem 0.12rem;
    background: rgba(255, 255, 255, .65);
    border-radius: 12px;
    color: var(--text);
}
.hero-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* ============== 学段分类 ============== */
.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.4rem, 1fr));
    gap: 0.2rem;
}
.cat-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.cat-card a { display: block; padding: 0.22rem 0.24rem; }
.cat-card h3 {
    font-size: 0.18rem;
    color: var(--text);
    margin-bottom: 0.08rem;
}
.cat-card p {
    color: var(--text-soft);
    font-size: 0.13rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0.42rem;
}
.cat-card .more {
    display: inline-block;
    margin-top: 0.12rem;
    color: var(--primary);
    font-size: 0.13rem;
    font-weight: 600;
}

/* ============== article-grid 文章卡片 ============== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.6rem, 1fr));
    gap: 0.2rem;
}
.article-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.article-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.article-card a { display: block; padding: 0.2rem 0.22rem; }
.article-card .article-cat {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.12rem;
    padding: 0.02rem 0.08rem;
    border-radius: 3px;
    margin-bottom: 0.08rem;
}
.article-card h3 {
    font-size: 0.17rem;
    font-weight: 600;
    margin-bottom: 0.08rem;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card p {
    color: var(--text-soft);
    font-size: 0.13rem;
    line-height: 1.6;
    margin-bottom: 0.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    color: var(--text-soft);
    font-size: 0.12rem;
}
.article-meta i { margin-right: 0.04rem; margin-left: 0.12rem; }
.article-meta i:first-child { margin-left: 0; }

/* ============== twocol 双列 ============== */
.twocol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
}
.twocol-cell {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0.24rem 0.26rem;
}
.article-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 0;
    border-top: 1px dashed var(--border);
}
.article-list li:first-child { border-top: 0; padding-top: 0; }
.article-list .dot {
    display: inline-block;
    width: 0.06rem;
    height: 0.06rem;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.08rem;
}
.article-list a {
    flex: 1;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-list a:hover { color: var(--primary); }
.article-list .date {
    color: var(--text-soft);
    font-size: 0.12rem;
    margin-left: 0.1rem;
}

/* ============== chip-grid ============== */
.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.12rem;
}
.chip-grid a {
    display: inline-block;
    padding: 0.08rem 0.18rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    color: var(--text);
    font-size: 0.13rem;
    transition: all .2s;
}
.chip-grid a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============== footer ============== */
.footer { background: var(--secondary); color: rgba(255, 255, 255, .85); margin-top: 0.8rem; }
.footer-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    padding: 0.6rem 0 0.4rem;
}
.foot h2 {
    color: #fff;
    font-size: 0.18rem;
    font-weight: 600;
    margin-bottom: 0.16rem;
    position: relative;
    padding-left: 0.1rem;
}
.foot h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 0.04rem;
    height: 0.16rem;
    background: var(--primary);
    border-radius: 2px;
}
.footer-ul li { padding: 0.04rem 0; font-size: 0.13rem; }
.footer-ul li a { color: rgba(255, 255, 255, .75); }
.footer-ul li a:hover { color: var(--primary); }
.footer-tags li {
    display: inline-block;
    margin: 0.04rem 0.06rem 0.04rem 0;
    background: rgba(255, 255, 255, .08);
    padding: 0.04rem 0.12rem;
    border-radius: 12px;
}
.footer-tags li a { color: rgba(255, 255, 255, .85); }
.foot-about p { font-size: 0.13rem; line-height: 1.7; margin-bottom: 0.12rem; }
.foot-about p span { color: var(--primary); }
.footer-friendlink a { margin-right: 0.1rem; }
.footer-bottom {
    background: rgba(0, 0, 0, .15);
    text-align: center;
    padding: 0.18rem 0;
    font-size: 0.12rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .85); }
.footer-bottom a:hover { color: var(--primary); }

/* ============== crumb 面包屑 ============== */
.crumb {
    background: var(--bg-soft);
    padding: 0.14rem 0;
    font-size: 0.13rem;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
}
.crumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.08rem;
}
.crumb a { color: var(--text-soft); }
.crumb a:hover { color: var(--primary); }
.crumb .crumb-home i { margin-right: 0.04rem; }
.crumb-sep { color: var(--border); }

/* ============== page layout ============== */
.page-item {
    display: grid;
    grid-template-columns: 1fr 2.6rem;
    gap: 0.3rem;
}
.page-content {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0.36rem 0.4rem;
    border: 1px solid var(--border);
}
.module-header { margin-bottom: 0.3rem; padding-bottom: 0.2rem; border-bottom: 1px solid var(--border); }
.module-title {
    font-size: 0.26rem;
    color: var(--secondary-dark);
    font-weight: 700;
    margin-bottom: 0.06rem;
}
.module-desc { color: var(--text-soft); font-size: 0.14rem; line-height: 1.6; }

.subcat-tabs {
    background: var(--bg-soft);
    padding: 0.14rem 0.18rem;
    border-radius: 8px;
    margin-bottom: 0.24rem;
}
.subcat-tabs-label { font-size: 0.13rem; color: var(--text-soft); margin-right: 0.08rem; }
.subcat-tabs a {
    display: inline-block;
    margin: 0.04rem 0.08rem;
    padding: 0.04rem 0.12rem;
    background: #fff;
    border-radius: 4px;
    font-size: 0.13rem;
    color: var(--text);
}
.subcat-tabs a:hover { background: var(--primary); color: #fff; }

/* ============== article detail ============== */
.article-detail-header { margin-bottom: 0.3rem; padding-bottom: 0.2rem; border-bottom: 1px solid var(--border); }
.article-detail-title {
    font-size: 0.32rem;
    font-weight: 700;
    color: var(--secondary-dark);
    line-height: 1.3;
    margin-bottom: 0.12rem;
}
.article-detail-meta {
    color: var(--text-soft);
    font-size: 0.13rem;
}
.article-detail-meta i { margin-right: 0.04rem; }
.article-detail-meta span { margin-right: 0.2rem; }
.article-detail-summary {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding: 0.12rem 0.18rem;
    margin-top: 0.18rem;
    color: var(--text);
    font-size: 0.14rem;
    line-height: 1.7;
    border-radius: 4px;
}
.article-content {
    font-size: 0.16rem;
    line-height: 1.85;
    color: var(--text);
}
.article-content h2,
.article-content h3,
.article-content h4 { font-weight: 700; margin: 0.3rem 0 0.12rem; color: var(--secondary-dark); }
.article-content h2 { font-size: 0.22rem; }
.article-content h3 { font-size: 0.18rem; }
.article-content h4 { font-size: 0.16rem; }
.article-content p { margin: 0.12rem 0; }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 0.12rem 0.18rem;
    margin: 0.18rem 0;
    color: var(--text);
}
.article-content img { margin: 0.16rem auto; box-shadow: var(--shadow-sm); }
.article-content a { color: var(--primary); }
.article-content a:hover { color: var(--primary-dark); text-decoration: underline; }
.article-content code {
    background: var(--bg-soft);
    padding: 0.02rem 0.06rem;
    border-radius: 4px;
    font-family: "Menlo", "Consolas", monospace;
    font-size: 0.9em;
}
.article-content pre {
    background: var(--secondary-dark);
    color: #e2e8f0;
    padding: 0.18rem 0.22rem;
    border-radius: 6px;
    overflow-x: auto;
    line-height: 1.5;
}
.article-content ul, .article-content ol { padding-left: 0.3rem; margin: 0.12rem 0; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content strong { color: var(--secondary-dark); font-weight: 700; }
.article-content em { color: var(--primary); font-style: italic; }

.article-detail-tags {
    margin: 0.3rem 0;
    padding: 0.16rem 0.18rem;
    background: var(--bg-soft);
    border-radius: 8px;
    font-size: 0.13rem;
}
.article-detail-tags a {
    display: inline-block;
    margin: 0.04rem 0.06rem;
    padding: 0.02rem 0.1rem;
    background: #fff;
    border-radius: 4px;
    color: var(--text);
}
.article-detail-tags a:hover { background: var(--primary); color: #fff; }

.article-detail-nav {
    margin-top: 0.3rem;
    padding: 0.2rem 0.24rem;
    background: var(--bg-soft);
    border-radius: 8px;
}
.article-detail-nav p { padding: 0.06rem 0; font-size: 0.14rem; }
.article-detail-nav span { font-weight: 600; color: var(--secondary-dark); margin-right: 0.08rem; }
.article-detail-nav a { color: var(--text); }
.article-detail-nav a:hover { color: var(--primary); }

/* ============== sidebar ============== */
.sidebar { display: flex; flex-direction: column; gap: 0.2rem; }
.side { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.side h2 {
    font-size: 0.16rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    padding: 0.12rem 0.18rem;
    margin: 0;
}
.side-item { padding: 0.16rem 0.18rem; }
.side-cat-ul li a {
    display: block;
    padding: 0.08rem 0.06rem;
    font-size: 0.14rem;
    border-bottom: 1px dashed var(--border);
    color: var(--text);
}
.side-cat-ul li:last-child a { border-bottom: 0; }
.side-cat-ul li a i { color: var(--primary); margin-right: 0.06rem; }
.side-cat-ul li a:hover { color: var(--primary); padding-left: 0.12rem; }
.side-list-ul li {
    padding: 0.08rem 0;
    border-bottom: 1px dashed var(--border);
}
.side-list-ul li:last-child { border-bottom: 0; }
.side-list-ul li a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
    font-size: 0.13rem;
    line-height: 1.6;
}
.side-list-ul li a:hover { color: var(--primary); }
.side-tag-cloud { padding: 0.14rem; }
.side-tag-cloud a {
    display: inline-block;
    margin: 0.04rem 0.05rem;
    padding: 0.04rem 0.1rem;
    background: var(--bg-soft);
    border-radius: 4px;
    font-size: 0.12rem;
    color: var(--text);
}
.side-tag-cloud a:hover { background: var(--primary); color: #fff; }

/* ============== rel ============== */
.rel { margin-top: 0.3rem; padding-top: 0.4rem; border-top: 1px solid var(--border); }
.rel-title {
    font-size: 0.22rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 0.24rem;
    padding-left: 0.12rem;
    position: relative;
}
.rel-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.06rem;
    width: 0.06rem;
    height: 0.18rem;
    background: var(--primary);
    border-radius: 3px;
}

/* ============== pagination ============== */
.pagnavi {
    padding: 0.3rem 0 0.1rem;
    text-align: center;
}
.pagnavi a {
    display: inline-block;
    min-width: 0.36rem;
    padding: 0.06rem 0.12rem;
    margin: 0 0.04rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.13rem;
    color: var(--text);
}
.pagnavi a:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.pagnavi .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============== tool-bar ============== */
.tool-bar {
    position: fixed;
    right: 0.1rem;
    bottom: 1rem;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.1rem);
    transition: opacity .4s ease, transform .4s ease, visibility .4s ease;
}
.tool-bar.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tool-item {
    width: 0.5rem;
    min-height: 0.5rem;
    margin-bottom: 0.04rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.06rem 0;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all .2s;
}
.tool-item-cap { color: var(--text-soft); }
.tool-item:hover { background: var(--primary); border-color: var(--primary); }
.tool-item:hover .tool-item-cap { color: #fff; }
.back-top { font-size: 0.16rem; }
.tool-item-name {
    font-size: 0.1rem;
    line-height: 1.2;
    margin-top: 0.02rem;
    white-space: nowrap;
}

/* ============== 404 ============== */
.page404 { text-align: center; padding: 1.5rem 0; }
.page404 h1 { font-size: 1.4rem; color: var(--primary); font-weight: 800; }

/* ============== responsive ============== */
@media screen and (max-width: 1200px) {
    .footer-item { grid-template-columns: repeat(2, 1fr); gap: 0.24rem; }
    .page-item { grid-template-columns: 1fr; }
    .sidebar { order: 1; flex-direction: row; flex-wrap: wrap; gap: 0.16rem; }
    .sidebar .side { flex: 1 1 46%; }
    .header { flex-wrap: wrap; gap: 0.18rem; }
    .navbar { order: 3; flex-basis: 100%; }
    .nav-menu { display: none; flex-direction: column; background: var(--surface); padding: 0.1rem 0; border-radius: 8px; box-shadow: var(--shadow); }
    .m-nav-show .nav-menu { display: flex; }
    .m-nav-show .m-menu-open { display: none; }
    .m-nav-show .m-menu-close { display: inline-block !important; }
    .m-menu-open { display: inline-block; font-size: 0.22rem; color: var(--text); cursor: pointer; }
    .m-menu-close { font-size: 0.22rem; color: var(--text); cursor: pointer; }
    .search-box { flex: 1; }
}
@media screen and (max-width: 768px) {
    .top-left { display: none; }
    .hero { padding: 0.5rem 0 0.3rem; }
    .hero-title { font-size: 0.4rem; }
    .hero-title span { font-size: 0.18rem; }
    .cats-grid, .article-grid { grid-template-columns: 1fr; }
    .twocol-grid { grid-template-columns: 1fr; gap: 0.18rem; }
    .footer-item { grid-template-columns: 1fr; }
    .page-content { padding: 0.24rem; }
    .article-detail-title { font-size: 0.24rem; }
    .article-content { font-size: 0.15rem; }
    .sidebar .side { flex: 1 1 100%; }
    .logo-slogan { display: none; }
}
