/*
Theme Name: MicroChill Xiaomi
Theme URI: https://www.microchill.cn
Author: MicroChill
Author URI: https://www.microchill.cn
Description: 小米风格的 MicroChill 企业站主题。白底、橙色点缀、大图卡片、响应式布局，保留 WordPress 原生文章发布流程。
Version: 1.3.6
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: microchill-xiaomi
Tags: responsive-layout, custom-menu, featured-images, translation-ready
*/

/*
 * Self-hosted webfont: MiSans
 *
 * 由小米发布，官方声明为「全球免费商用字体」，可免费用于商业项目，
 * 详见 https://hyperos.mi.com/font/zh/ 。本主题内置的是 GB2312 范围内的
 * 子集（含拉丁字母、中英文标点与常用单位符号），未修改字形。
 * 字体排在字体栈首位，保证 Windows / macOS / Android / iOS 渲染一致。
 */
@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Demibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
 * Design tokens
 * 颜色参考 Xiaomi 品牌语言与 Apple 官网用色：
 * 近黑 #1d1d1f、浅灰 #f5f5f7、柔边框 #e8e8ed、品牌橙 #ff6900、浅蓝 #e9f2fb。
 * 橙色只用于品牌标识与可操作元素，大面积使用白/浅灰/浅蓝。
 */
:root {
  --mc-accent: #ff6900;
  --mc-accent-dark: #e05a00;
  --mc-accent-soft: #ffe8d6;
  --mc-ink: #1d1d1f;
  --mc-text: #333336;
  --mc-muted: #6e6e73;
  --mc-line: #d2d2d7;
  --mc-line-soft: #e8e8ed;
  --mc-bg: #ffffff;
  --mc-surface: #f5f5f7;
  --mc-dark: #1d1d1f;
  --mc-tint: #e9f2fb;
  --mc-tint-deep: #dfeaf8;
  --mc-radius: 22px;
  --mc-radius-sm: 18px;
  --mc-container: 1200px;
  --mc-font: "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mc-font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mc-font);
  color: var(--mc-ink);
  background: var(--mc-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--mc-accent); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mc-accent);
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  width: auto; height: auto; margin: 0; padding: 10px 16px;
  background: var(--mc-accent); color: #fff; clip: auto;
}
.container { width: min(100% - 48px, var(--mc-container)); margin: 0 auto; }

/* 顶部条与导航 */
.topbar {
  background: var(--mc-surface);
  border-bottom: 1px solid rgba(0,0,0,.05);
  color: var(--mc-muted);
  font-size: 12px;
  letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar a:hover { color: var(--mc-ink); }
.topbar-links { display: flex; gap: 20px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.95); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img, .brand-logo img { max-height: 34px; width: auto; }
.brand-logo { display: inline-flex; align-items: center; }
.footer-brand .brand-logo img { max-height: 38px; }
.brand-text { font-size: 21px; font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--mc-ink); }
.brand-text .accent { color: var(--mc-accent); }
.brand-text small { display: block; margin-top: 5px; font-size: 9px; font-weight: 500; letter-spacing: .18em; color: var(--mc-muted); }
.primary-nav { margin-left: auto; }
.primary-menu { display: flex; gap: 32px; list-style: none; }
.primary-menu > li > a { position: relative; display: block; padding: 22px 0; font-size: 14px; color: #424245; transition: color .2s; }
.primary-menu > li > a:hover { color: var(--mc-ink); }
.primary-menu > li.current-menu-item > a { color: var(--mc-ink); }
.primary-menu > li.current-menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; border-radius: 2px; background: var(--mc-accent);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search {
  display: flex; align-items: center; height: 36px; padding: 0 14px;
  border: 1px solid var(--mc-line); border-radius: 999px; background: rgba(255,255,255,.8);
  transition: border-color .2s, background .2s;
}
.header-search:focus-within { border-color: var(--mc-accent); background: #fff; }
.header-search input { width: 118px; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--mc-ink); }
.header-search input::placeholder { color: var(--mc-muted); }
.header-search button { display: grid; place-items: center; padding: 2px; border: 0; background: transparent; color: var(--mc-muted); cursor: pointer; }
.header-search button:hover { color: var(--mc-ink); }
.menu-toggle { display: none; width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--mc-ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mc-accent); color: #fff; }
.btn-primary:hover { background: var(--mc-accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(29,29,31,.32); color: var(--mc-ink); }
.btn-ghost:hover { border-color: var(--mc-ink); background: rgba(29,29,31,.06); color: var(--mc-ink); }
.btn-outline { background: #fff; border-color: var(--mc-line); color: var(--mc-ink); }
.btn-outline:hover { border-color: var(--mc-ink); color: var(--mc-ink); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 14px; }

/* 主视觉 */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden;
  color: var(--mc-ink); background: var(--mc-tint);
}
.hero-picture { position: absolute; inset: 0; display: block; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 1; padding: 110px 0 100px; }
.hero-eyebrow { margin: 0; color: var(--mc-accent); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 {
  max-width: 760px; margin: 18px 0 20px;
  font-size: clamp(42px, 5.2vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em;
}
.hero-subtitle { max-width: 560px; margin: 0; font-size: 20px; line-height: 1.6; color: var(--mc-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* 通用区块 */
.section { padding: 100px 0; }
.section-alt { background: var(--mc-surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.eyebrow { margin: 0 0 10px; color: var(--mc-accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
.section-head p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--mc-muted); }
.section-head--center { align-items: center; justify-content: center; text-align: center; }
.section-head--center > div { max-width: 720px; }
.more-link { font-size: 14px; font-weight: 500; color: var(--mc-accent); white-space: nowrap; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link span { margin-left: 6px; }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  overflow: hidden; background: #fff; border: 1px solid var(--mc-line-soft); border-radius: var(--mc-radius);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mc-surface); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 22px 22px 24px; }
.product-card__title { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.product-card__title a:hover { color: var(--mc-accent); }
.product-card__desc { margin: 0 0 16px; min-height: 44px; font-size: 14px; line-height: 1.55; color: var(--mc-muted); }
.product-card__link { font-size: 13px; font-weight: 600; color: var(--mc-accent); }
.product-card__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: var(--mc-accent-soft); color: #a84300; font-size: 10px; font-weight: 500; vertical-align: middle;
}

/* 技术优势 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.feature-item { text-align: center; padding: 8px 12px; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 20px; color: var(--mc-accent); }
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.feature-item p { max-width: 240px; margin: 0 auto; font-size: 14px; line-height: 1.6; color: var(--mc-muted); }

/* 新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: transparent; border: 0; }
.news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--mc-radius-sm); background: var(--mc-surface); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body { padding: 18px 0 0; }
.news-card__meta { font-size: 12px; color: var(--mc-muted); }
.news-card__title { margin: 8px 0 10px; font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.news-card__title a:hover { color: var(--mc-accent); }
.news-card__excerpt { margin: 0; font-size: 14px; line-height: 1.6; color: var(--mc-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* 底部转化区 */
.cta-section { padding: 0 0 100px; background: #fff; }
.cta-section .container {
  padding: 72px 48px; border-radius: 28px; background: var(--mc-tint); color: var(--mc-ink); text-align: center;
}
.cta-section h2 { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.cta-section p { max-width: 620px; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; color: var(--mc-muted); }
.cta-section .btn { background: var(--mc-accent); color: #fff; }
.cta-section .btn:hover { background: var(--mc-accent-dark); color: #fff; }

/* 文章与页面 */
.breadcrumb { padding: 24px 0 8px; font-size: 12px; color: var(--mc-muted); }
.breadcrumb a:hover { color: var(--mc-ink); }
.breadcrumb span { margin: 0 8px; color: var(--mc-line); }
.entry-header { max-width: 820px; margin: 0 auto; padding: 24px 0 36px; text-align: left; }
.entry-title { margin: 0 0 16px; font-size: clamp(32px, 4vw, 44px); font-weight: 600; line-height: 1.14; letter-spacing: -.025em; }
.entry-meta { font-size: 13px; color: var(--mc-muted); }
.entry-meta a:hover { color: var(--mc-accent); }
.entry-thumbnail { max-width: 900px; margin: 0 auto 40px; overflow: hidden; border-radius: var(--mc-radius); }
.entry-content { max-width: 760px; margin: 0 auto 48px; font-size: 17px; line-height: 1.75; color: var(--mc-text); }
.entry-content p { margin: 0 0 1.4em; }
.entry-content h2 { margin: 40px 0 16px; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; color: var(--mc-ink); }
.entry-content h3 { margin: 32px 0 12px; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--mc-ink); }
.entry-content a { color: var(--mc-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { margin: 28px 0; border-radius: var(--mc-radius-sm); }
.entry-content blockquote {
  margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--mc-accent);
  border-radius: 0 12px 12px 0; background: #fff7f2; color: var(--mc-text);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--mc-line-soft); }
.entry-content th { background: var(--mc-surface); font-weight: 600; }
.spec-table { width: 100%; max-width: 820px; margin: 32px auto; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 13px 16px; border: 1px solid var(--mc-line-soft); text-align: left; }
.spec-table th { width: 170px; background: var(--mc-surface); font-weight: 600; }
.entry-tags { max-width: 820px; margin: 0 auto 32px; font-size: 13px; color: var(--mc-muted); }
.entry-tags a { margin-right: 8px; color: var(--mc-accent); }
.related-posts { max-width: 900px; margin: 0 auto 48px; }
.related-posts__title { margin: 0 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.related-posts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.related-posts__list a { display: block; padding: 14px 16px; border: 1px solid var(--mc-line-soft); border-radius: var(--mc-radius-sm); background: var(--mc-surface); font-size: 14px; line-height: 1.5; }
.related-posts__list a:hover { color: var(--mc-accent); border-color: var(--mc-accent); }
.entry-navigation {
  display: flex; justify-content: space-between; gap: 24px;
  max-width: 900px; margin: 0 auto; padding-top: 24px;
  border-top: 1px solid var(--mc-line-soft); font-size: 15px;
}
.entry-navigation a:hover { color: var(--mc-accent); }
.comments-area { max-width: 820px; margin: 64px auto 0; }
.comments-title { font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.comment-list { list-style: none; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--mc-line-soft); }
.comment-form input, .comment-form textarea {
  width: 100%; max-width: 100%; padding: 11px 14px;
  border: 1px solid var(--mc-line); border-radius: 10px; background: #fff;
}
.comment-form textarea { min-height: 130px; }

/* 归档与搜索 */
.archive-header { padding: 56px 0 12px; }
.archive-title { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 600; line-height: 1.14; letter-spacing: -.025em; }
.archive-description { margin: 10px 0 0; font-size: 15px; color: var(--mc-muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 32px 0 8px; }
.entry-card { overflow: hidden; background: transparent; border: 0; }
.entry-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--mc-radius-sm); background: var(--mc-surface); }
.entry-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.entry-card:hover .entry-card__media img { transform: scale(1.03); }
.entry-card__body { padding: 18px 0 0; }
.entry-card__title { margin: 6px 0 8px; font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.entry-card__title a:hover { color: var(--mc-accent); }
.entry-card__excerpt { margin: 0; font-size: 14px; line-height: 1.6; color: var(--mc-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 56px 0; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px;
  border: 1px solid var(--mc-line); border-radius: 999px; font-size: 13px; color: var(--mc-text);
}
.pagination a:hover { border-color: var(--mc-ink); color: var(--mc-ink); }
.pagination .current { background: var(--mc-accent); border-color: var(--mc-accent); color: #fff; }
.empty-state { padding: 100px 0; text-align: center; color: var(--mc-muted); }
.empty-state h2 { margin: 0 0 10px; color: var(--mc-ink); font-size: 32px; font-weight: 600; letter-spacing: -.02em; }

/* 页脚 */
.site-footer { margin-top: 0; background: var(--mc-tint-deep); color: var(--mc-muted); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 72px 0 56px; }
.footer-brand .brand-text { color: var(--mc-ink); font-size: 22px; }
.footer-brand p { max-width: 300px; margin: 18px 0 0; font-size: 14px; line-height: 1.65; color: var(--mc-muted); }
.footer-col h3 { margin: 0 0 18px; color: var(--mc-ink); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-col ul { list-style: none; font-size: 14px; line-height: 2.2; }
.footer-col a { color: var(--mc-muted); }
.footer-col a:hover { color: var(--mc-ink); }
.footer-contact p { margin: 0 0 8px; font-size: 14px; color: var(--mc-muted); }
.footer-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.footer-qr img { width: 88px; height: 88px; flex: 0 0 88px; border: 1px solid var(--mc-line-soft); border-radius: 10px; background: #fff; }
.footer-qr span { font-size: 12px; line-height: 1.6; color: var(--mc-muted); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 24px 0; border-top: 1px solid rgba(29,29,31,.08); font-size: 12px; color: var(--mc-muted);
}

/* 编辑器对齐 */
.entry-content .alignwide { max-width: 1100px; width: 1100px; max-width: min(1100px, 100%); }
.entry-content .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content .alignleft { float: left; margin: 0 24px 16px 0; }
.entry-content .alignright { float: right; margin: 0 0 16px 24px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }

/* 响应式 */
@media (max-width: 1024px) {
  .product-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .primary-menu { gap: 20px; }
}
@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--mc-container)); }
  .topbar { display: none; }
  .header-inner { height: 60px; }
  .menu-toggle { display: flex; }
  .header-search { display: none; }
  .primary-nav {
    position: absolute; top: 60px; left: 0; right: 0; display: none; margin: 0;
    padding: 10px 24px 18px; background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--mc-line-soft); box-shadow: 0 16px 32px rgba(0,0,0,.06);
  }
  .primary-nav.is-open { display: block; }
  .primary-menu { flex-direction: column; gap: 0; }
  .primary-menu > li > a { padding: 13px 0; border-bottom: 1px solid var(--mc-line-soft); }
  .primary-menu > li.current-menu-item > a::after { display: none; }
  .hero { min-height: 540px; }
  .hero-inner { padding: 72px 0; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions { margin-top: 32px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; }
  .product-grid, .news-grid, .post-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 28px; }
  .entry-header { padding: 16px 0 28px; }
  .entry-title { font-size: 30px; }
  .entry-content { font-size: 16px; }
  .entry-navigation { flex-direction: column; }
  .cta-section { padding: 0 0 64px; }
  .cta-section .container { padding: 48px 24px; border-radius: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .footer-bottom { flex-direction: column; }
  .archive-header { padding: 40px 0 8px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .btn { min-height: 46px; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
