@charset "utf-8";
/* ==========================================================================
   winkyao.com 技术内容站 — 全站统一样式
   配色方案：5 商务深蓝
   #003399 主色 / #3366CC 辅助蓝 / #FFCC00 强调黄 / #FFFFFF 白
   #CCCCCC 中性灰 / #000000 黑
   ========================================================================== */

:root {
  --primary: #003399;
  --primary-dark: #002266;
  --primary-light: #3366CC;
  --accent: #FFCC00;
  --accent-dark: #E6B800;
  --white: #FFFFFF;
  --gray: #CCCCCC;
  --gray-light: #F4F6FA;
  --gray-mid: #E4E8F0;
  --black: #000000;
  --text: #1A1A2E;
  --text-mute: #5A6272;
  --border: #DDE2EC;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0, 51, 153, .08);
  --shadow: 0 4px 16px rgba(0, 51, 153, .10);
  --shadow-lg: 0 10px 34px rgba(0, 51, 153, .16);
  --wrap: 1200px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 { line-height: 1.35; font-weight: 700; color: var(--text); }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* 栅格子项允许收缩，防止长英文/代码/表格撑破布局 */
.grid { min-width: 0; }
.grid > * { min-width: 0; }
.layout > * { min-width: 0; }
.card, .card-body, .feature, .prose-block { min-width: 0; }
img, figure, table, pre { max-width: 100%; }

/* 无障碍：跳转到主内容 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--black); padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============================ 顶部信息条 ============================ */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: var(--accent); }
.topbar-tag { display: inline-block; }
.topbar-links { display: flex; gap: 16px; }

/* ============================ 头部导航 ============================ */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  background: var(--accent); color: var(--primary-dark);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; letter-spacing: -.5px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: .3px; }
.logo-slogan { font-size: 11px; color: rgba(255, 255, 255, .72); letter-spacing: .5px; }

.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 10px 16px; color: rgba(255, 255, 255, .88);
  font-size: 15px; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.nav a.active { background: var(--accent); color: var(--primary-dark); font-weight: 700; }

.nav-toggle {
  display: none; width: 44px; height: 40px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); border-radius: var(--radius);
  padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

/* ============================ 面包屑 ============================ */
.breadcrumb {
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  font-size: 14px; padding: 13px 0; color: var(--text-mute);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--gray); }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--primary); font-weight: 600; }

/* ============================ 通用区块 ============================ */
.section { padding: 62px 0; }
.section-alt { background: var(--gray-light); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-head h2 { font-size: 28px; margin-bottom: 12px; }
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 3px;
  background: var(--accent); margin: 14px auto 0; border-radius: 2px;
}
.section-head p { color: var(--text-mute); font-size: 15.5px; }
.section-head-left { text-align: left; margin: 0 0 28px; }
.section-head-left h2::after { margin-left: 0; }

/* ============================ 按钮 ============================ */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: all .22s ease; text-align: center;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: var(--accent-dark); color: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ============================ 首页 Hero ============================ */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 34, 102, .96) 0%, rgba(0, 51, 153, .90) 48%, rgba(51, 102, 204, .82) 100%),
    url("../img/dc-01-data-center-aisle.jpg") center/cover no-repeat;}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 84px; }
.hero-inner { max-width: 760px; }
.hero h1 { font-size: 42px; color: var(--white); margin-bottom: 18px; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 17.5px; color: rgba(255, 255, 255, .9); margin-bottom: 14px; }
.hero-quote {
  border-left: 3px solid var(--accent); padding-left: 14px;
  font-size: 14.5px; color: rgba(255, 255, 255, .78); margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-stat b { display: block; font-size: 30px; color: var(--accent); line-height: 1.2; }
.hero-stat span { font-size: 13.5px; color: rgba(255, 255, 255, .8); }

/* ============================ 卡片栅格 ============================ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card-media { position: relative; overflow: hidden; background: var(--gray-light); }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.card-media-tall img { aspect-ratio: 4 / 3; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute; left: 0; top: 12px; background: var(--accent); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 0 var(--radius) var(--radius) 0;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 17.5px; margin-bottom: 10px; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { color: var(--text-mute); font-size: 14.5px; flex: 1; }
.card-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: 13px; color: var(--text-mute); margin-top: 14px;
  padding-top: 13px; border-top: 1px dashed var(--border);
}
.card-meta .tag {
  background: var(--gray-light); color: var(--primary); font-weight: 600;
  padding: 2px 10px; border-radius: 20px; font-size: 12.5px;
}
.card-link { margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--primary); }
.card-link::after { content: " →"; transition: margin .2s ease; }
.card:hover .card-link::after { margin-left: 4px; }

/* 横向条目（新闻/案例列表） */
.item-list { display: grid; gap: 24px; }
.item {
  display: grid; grid-template-columns: 320px 1fr; gap: 24px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease;
}
.item:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.item-media { overflow: hidden; background: var(--gray-light); }
.item-media img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .5s ease; }
.item:hover .item-media img { transform: scale(1.05); }
.item-body { padding: 22px 24px 22px 0; display: flex; flex-direction: column; }
.item-body h3 { font-size: 19px; margin-bottom: 10px; }
.item-body h3 a { color: var(--text); }
.item-body h3 a:hover { color: var(--primary); }
.item-body p { color: var(--text-mute); font-size: 14.5px; flex: 1; }

/* 分类筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-bar button {
  border: 1px solid var(--border); background: var(--white); color: var(--text-mute);
  padding: 8px 20px; border-radius: 24px; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: all .2s ease;
}
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.active { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 700; }

/* ============================ 详情页布局 ============================ */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 42px; align-items: start; }
.article-head { margin-bottom: 26px; }
.article-head h1 { font-size: 30px; margin-bottom: 16px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  font-size: 14px; color: var(--text-mute);
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.article-meta .tag { background: var(--primary); color: var(--white); padding: 3px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600; }

.figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; background: var(--gray-light); }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { font-size: 13.5px; color: var(--text-mute); padding: 11px 4px 0; text-align: center; }

.article-body { font-size: 16px; }
.article-body h2 {
  font-size: 22px; margin: 34px 0 14px; padding-left: 13px;
  border-left: 4px solid var(--accent);
}
.article-body h3 { font-size: 18px; margin: 26px 0 12px; color: var(--primary); }
.article-body p { margin-bottom: 15px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body ul li { list-style: disc; margin-bottom: 9px; }
.article-body ol li { list-style: decimal; margin-bottom: 9px; }
.article-body strong { color: var(--primary-dark); }
.article-body code {
  font-family: var(--mono); background: var(--gray-light); color: var(--primary-dark);
  padding: 2px 6px; border-radius: 4px; font-size: 14px; border: 1px solid var(--gray-mid);
  white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
}
.article-body pre {
  background: #0B1220; color: #D8E2F2; padding: 18px 20px; border-radius: var(--radius);
  overflow-x: auto; margin: 0 0 18px; font-size: 13.5px; line-height: 1.65;
  font-family: var(--mono); border-left: 3px solid var(--accent);
}
.article-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; white-space: pre; overflow-wrap: normal; }
.article-body blockquote {
  background: var(--gray-light); border-left: 4px solid var(--primary);
  padding: 15px 20px; margin: 0 0 18px; color: var(--text-mute); border-radius: 0 var(--radius) var(--radius) 0;
}

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; }
.spec-table caption { text-align: left; font-weight: 700; padding-bottom: 10px; color: var(--text-mute); font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--gray-light); font-weight: 700; width: 34%; color: var(--primary-dark); }

/* 侧栏 */
.sidebar { display: grid; gap: 24px; position: sticky; top: 92px; }
.widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.widget-title {
  background: var(--primary); color: var(--white); font-size: 16px;
  padding: 13px 18px; font-weight: 700;
}
.widget-body { padding: 18px; }
.widget-list li { border-bottom: 1px dashed var(--border); padding: 9px 0; font-size: 14.5px; }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { color: var(--text-mute); display: block; }
.widget-list a:hover { color: var(--primary); }
.widget-list .rank {
  display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center;
  background: var(--gray-light); color: var(--primary); border-radius: 4px;
  font-size: 12px; font-weight: 700; margin-right: 8px;
}
.widget-list li:nth-child(-n+3) .rank { background: var(--accent); color: var(--primary-dark); }
.widget-cta { background: var(--primary); color: var(--white); text-align: center; }
.widget-cta .widget-body { padding: 26px 18px; }
.widget-cta h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.widget-cta p { color: rgba(255, 255, 255, .82); font-size: 14px; margin-bottom: 18px; }

/* 上一篇/下一篇 */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; }
.post-nav a {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 15px 18px;
  font-size: 14.5px; display: block; background: var(--white);
}
.post-nav a:hover { border-color: var(--primary); background: var(--gray-light); }
.post-nav span { display: block; font-size: 12.5px; color: var(--text-mute); margin-bottom: 5px; }
.post-nav .next { text-align: right; }

/* 相关推荐 */
.related { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--border); }
.related h2 { font-size: 21px; margin-bottom: 22px; }

/* ============================ 分页 ============================ */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; line-height: 38px; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 13px; font-size: 14.5px; color: var(--text-mute); background: var(--white);
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .current { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 700; }

/* ============================ 内容页通用块 ============================ */
.prose-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; margin-bottom: 26px;
}
.prose-block h2 { font-size: 22px; margin-bottom: 16px; padding-left: 13px; border-left: 4px solid var(--accent); }
.prose-block p { margin-bottom: 14px; color: #2C3245; }
.prose-block > *:last-child { margin-bottom: 0; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; background: var(--white); border-top: 3px solid var(--primary);
}
.info-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--primary); }
.info-card p { font-size: 14.5px; color: var(--text-mute); margin-bottom: 0; }

/* 优势列表 */
.feature-list { display: grid; gap: 20px; }
.feature {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px;
}
.feature h3 { font-size: 17px; margin-bottom: 7px; }
.feature p { font-size: 14.5px; color: var(--text-mute); margin-bottom: 0; }

/* 联系方式 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact-list li {
  display: grid; grid-template-columns: 90px 1fr; gap: 14px;
  padding: 15px 0; border-bottom: 1px dashed var(--border); font-size: 15px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { color: var(--text-mute); font-weight: 600; }
.contact-list .value { color: var(--text); word-break: break-all; }

/* 表单 */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--white); transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 51, 153, .12);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-mute); margin-top: 12px; }

/* 时间线 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-mid);
}
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--primary);
}
.timeline-item time { font-weight: 800; color: var(--primary); font-size: 15px; display: block; margin-bottom: 5px; }
.timeline-item p { color: var(--text-mute); font-size: 14.5px; margin-bottom: 0; }

/* 提示条 */
.notice {
  background: #FFF9E0; border: 1px solid #FFE58F; border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 15px 20px; font-size: 14.5px; color: #6B5200;
  margin-bottom: 24px;
}
.notice strong { color: #4A3800; }

/* ============================ 页脚 ============================ */
.site-footer { background: #061029; color: rgba(255, 255, 255, .72); font-size: 14px; margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 34px; padding: 52px 0 38px;
}
.footer-col h3 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.footer-brand .logo-mark { width: 36px; height: 36px; flex: 0 0 36px; font-size: 18px; }
.footer-brand b { color: var(--white); font-size: 19px; }
.footer-col p { line-height: 1.85; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255, 255, 255, .72); }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0; text-align: center; font-size: 13.5px; line-height: 2;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--accent); }
.icp { color: var(--accent); font-weight: 600; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 26px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--primary); color: var(--white);
  border: 0; cursor: pointer; font-size: 19px; line-height: 46px; text-align: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, background .2s ease; z-index: 400;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary-light); }

/* ============================ 响应式 ============================ */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; gap: 34px; }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--primary-dark); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 420px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; }
  .nav a { padding: 13px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav a.active { border-radius: var(--radius); }

  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero h1 { font-size: 30px; }
  .hero .wrap { padding-top: 58px; padding-bottom: 58px; }
  .item { grid-template-columns: 1fr; }
  .item-body { padding: 0 20px 20px; }
  .item-media img { min-height: 200px; aspect-ratio: 16 / 9; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-links { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .section-head h2 { font-size: 23px; }
  .hero h1 { font-size: 25px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 11px 22px; }
  .article-meta { gap: 8px 14px; font-size: 13px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat b { font-size: 24px; }
  .article-head h1 { font-size: 22px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 19px; }
  .article-body h3 { font-size: 16.5px; }
  .article-body pre { padding: 14px 12px; font-size: 12.5px; }
  .article-body ul, .article-body ol { margin-left: 18px; }
  .spec-table { font-size: 13.5px; }
  .spec-table th, .spec-table td { padding: 9px 10px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 28px; }
  .prose-block { padding: 22px 16px; }
  .feature { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .feature-icon { width: 44px; height: 44px; font-size: 17px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .spec-table th { width: 40%; }
  .to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; line-height: 42px; }
  .logo-slogan { display: none; }
  .logo-name { font-size: 18px; }
  .filter-bar button { padding: 7px 15px; font-size: 13.5px; }
}

@media print {
  .site-header, .topbar, .to-top, .sidebar, .post-nav, .filter-bar { display: none; }
  body { font-size: 12pt; }
}
