/*
Theme Name: SafeW 使用技巧
Theme URI: https://khsbw.top
Author: SafeW 使用技巧网
Author URI: https://khsbw.top
Description: 专为 SafeW 聊天软件教程站打造的原创主题：深色科技风首页、四大栏目体系、完整的 SEO 输出（标题、描述、关键词、结构化数据、XML 站点地图）与可后台维护的友情链接板块。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safew
*/

/* ===== 基础与变量 ===== */
:root {
  --navy-900: #0b1526;
  --navy-800: #101f38;
  --navy-700: #16294a;
  --accent: #2e90fa;
  --accent-2: #22d3ee;
  --accent-soft: rgba(46, 144, 250, 0.10);
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e4eaf3;
  --text: #182334;
  --muted: #5b6b84;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(16, 31, 56, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 31, 56, 0.16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #1d6fd6; }
ul, ol { padding-left: 1.35em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
  text-transform: uppercase;
}
.section-head h2 { font-size: 32px; line-height: 1.35; color: var(--navy-900); }
.section-head p { color: var(--muted); margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 8px 24px rgba(46, 144, 250, 0.32);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(46, 144, 250, 0.42); }
.btn-ghost {
  background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.18); }
.btn-light {
  background: var(--navy-900); color: #fff;
}
.btn-light:hover { color: #fff; background: var(--navy-800); transform: translateY(-2px); }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 21, 38, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.site-logo:hover { color: #fff; }
.site-logo svg { width: 34px; height: 34px; }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.logo-text em { font-style: normal; color: var(--accent-2); }
.main-nav ul { display: flex; gap: 6px; list-style: none; padding: 0; }
.main-nav a {
  display: block; padding: 8px 15px; border-radius: 999px;
  color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 500;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.10); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #fff; background: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.25);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  color: #fff; font-size: 20px; align-items: center; justify-content: center;
}

/* ===== 首页主视觉 ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #0b1526 0%, #0f2547 55%, #123b66 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.34;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(46, 144, 250, 0.22), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 56px;
  padding: 104px 0 108px;
}
.hero-copy { flex: 1 1 56%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px;
  background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent-2); margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.hero h1 { font-size: 46px; line-height: 1.28; letter-spacing: .5px; }
.hero h1 .grad {
  background: linear-gradient(90deg, #4facfe, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px 0 30px; color: rgba(255,255,255,0.78); font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span {
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
}
.hero-visual { flex: 0 0 420px; position: relative; }
.hero-phone {
  border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.18); transform: rotate(2deg);
}
.hero-float {
  position: absolute; padding: 12px 16px; border-radius: 14px;
  background: rgba(16, 31, 56, 0.92); border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 8px;
}
.hero-float.f1 { top: 40px; left: -34px; }
.hero-float.f2 { bottom: 56px; right: -28px; }
.hero-float svg { width: 20px; height: 20px; color: var(--accent-2); }

/* ===== 特色条 ===== */
.features {
  margin-top: -34px; position: relative; z-index: 5;
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.feature { padding: 26px 28px; display: flex; gap: 14px; align-items: flex-start; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 16px; margin-bottom: 4px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== 栏目卡片 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s; display: block; color: var(--text);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.cat-card .thumb { aspect-ratio: 8/5; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .thumb img { transform: scale(1.06); }
.cat-card .body { padding: 22px 22px 24px; }
.cat-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--navy-900); }
.cat-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.7; }
.cat-card .more { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.cat-card .count {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 999px; font-size: 12px;
  background: rgba(11, 21, 38, 0.72); color: #fff; backdrop-filter: blur(4px);
}

/* ===== 文章卡片 ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .cat-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.94); color: var(--accent);
}
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.post-card h3 a { color: var(--navy-900); }
.post-card h3 a:hover { color: var(--accent); }
.post-card .excerpt { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.post-card .meta { display: flex; gap: 14px; font-size: 12px; color: #8a97ab; }
.post-card .meta svg { width: 14px; height: 14px; vertical-align: -2px; }

/* ===== 关于板块 ===== */
.about-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--navy-900); border-radius: 24px; padding: 64px 64px; color: #fff;
  position: relative; overflow: hidden;
}
.about-wrap::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,0.22), transparent 70%);
}
.about-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-copy h2 { font-size: 30px; margin-bottom: 18px; }
.about-copy h2 .grad { background: linear-gradient(90deg, #4facfe, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-copy p { color: rgba(255,255,255,0.72); margin-bottom: 18px; }
.about-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.88); }
.about-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--accent-2); margin-top: 3px; }

/* ===== CTA ===== */
.cta-band { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 56px 32px; box-shadow: var(--shadow); }
.cta-band h2 { font-size: 28px; color: var(--navy-900); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* ===== 友情链接 ===== */
.friend-links-section { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px 48px; }
.friend-links-section h2 { font-size: 22px; color: var(--navy-900); margin-bottom: 6px; }
.friend-links-section .tip { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.friend-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.friend-links li a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--line); color: var(--muted); background: var(--bg);
  transition: all .2s;
}
.friend-links li a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.friend-links li a::before { content: "→"; color: var(--accent); font-weight: 700; }
.friend-links-empty { color: var(--muted); font-size: 14px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col p { font-size: 14px; line-height: 1.9; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.72); font-size: 14px; }
.footer-col ul a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0; font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ===== 面包屑 ===== */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; color: #b8c3d4; }

/* ===== 栏目页头部 ===== */
.page-hero {
  background: linear-gradient(160deg, #0b1526, #12305c);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,0.20), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 34px; line-height: 1.35; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 760px; font-size: 15px; }
.page-hero .cat-lead {
  margin-top: 14px; padding: 12px 18px; border-radius: 12px;
  background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.22);
  color: rgba(255,255,255,0.9); font-size: 14px; max-width: 860px;
}
.page-hero .breadcrumbs { color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs .sep { color: rgba(255,255,255,0.35); }

/* ===== 文章列表页 ===== */
.archive-body { padding: 56px 0; }
.archive-count { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ===== 单篇文章 ===== */
.single-wrap { max-width: 820px; margin: 0 auto; padding: 56px 0 72px; }
.single-head h1 { font-size: 34px; line-height: 1.4; color: var(--navy-900); margin-bottom: 18px; }
.single-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.single-meta a { color: var(--muted); }
.single-meta a:hover { color: var(--accent); }
.single-featured { border-radius: 20px; overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow); }
.entry-content { font-size: 16.5px; line-height: 1.95; color: #263447; }
.entry-content h2 {
  font-size: 25px; color: var(--navy-900); margin: 40px 0 16px; line-height: 1.45;
  padding-left: 14px; border-left: 4px solid var(--accent);
}
.entry-content h3 { font-size: 20px; color: var(--navy-900); margin: 30px 0 12px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin-bottom: 18px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 14px; margin: 24px 0; }
.entry-content blockquote {
  margin: 24px 0; padding: 18px 22px; border-radius: 12px;
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  color: #2b3a52; font-style: normal;
}
.entry-content blockquote p { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry-content th { background: #eef3f9; color: var(--navy-900); }
.entry-content code {
  background: #eef3f9; padding: 2px 7px; border-radius: 6px; font-size: 14px;
  color: #c7254e; font-family: Consolas, Monaco, monospace;
}
.entry-content .wp-block-callout {
  background: #eef7ff; border: 1px solid #cfe7ff; border-radius: 12px;
  padding: 16px 20px; margin: 22px 0;
}
.entry-content .wp-block-callout strong { color: #0b5cad; }
.entry-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.entry-tags a {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: #eef3f9; color: var(--muted);
}
.entry-tags a:hover { background: var(--accent-soft); color: var(--accent); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.post-nav a {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; color: var(--text); font-size: 14px;
}
.post-nav a:hover { border-color: var(--accent); color: var(--accent); }
.post-nav .label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.post-nav .next { text-align: right; }

.related { margin-top: 56px; }
.related h2 { font-size: 22px; color: var(--navy-900); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ===== 通用列表页 ===== */
.entry-list { display: grid; gap: 26px; }
.entry-row {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: 300px 1fr; overflow: hidden; transition: box-shadow .25s;
}
.entry-row:hover { box-shadow: var(--shadow); }
.entry-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-row .body { padding: 26px 30px; display: flex; flex-direction: column; }
.entry-row h2 { font-size: 20px; margin-bottom: 10px; }
.entry-row h2 a { color: var(--navy-900); }
.entry-row h2 a:hover { color: var(--accent); }
.entry-row p { color: var(--muted); font-size: 14px; flex: 1; }
.entry-row .meta { font-size: 13px; color: #8a97ab; margin-top: 14px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted);
  font-size: 14px;
}
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== 404 / 搜索 ===== */
.notfound { text-align: center; padding: 100px 24px; }
.notfound .code { font-size: 110px; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.notfound h1 { font-size: 26px; color: var(--navy-900); margin: 10px 0 14px; }
.notfound p { color: var(--muted); margin-bottom: 26px; }

.search-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.search-form input[type="search"] {
  flex: 1; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 15px; font-family: var(--font); background: var(--card); outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--accent); }
.search-form button {
  padding: 0 24px; border-radius: 999px; border: none; background: var(--accent); color: #fff;
  font-weight: 600; cursor: pointer; font-family: var(--font);
}

/* ===== 动画 ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature + .feature { border-left: none; }
  .feature:nth-child(odd) { border-left: none; }
  .feature { border-bottom: 1px solid var(--line); }
  .hero-inner { flex-direction: column; gap: 48px; padding: 72px 0 96px; }
  .hero-visual { flex: 0 0 auto; width: 320px; }
  .about-wrap { grid-template-columns: 1fr; padding: 44px 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 26px; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 99;
    background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; overflow-y: auto; }
  .main-nav ul { flex-direction: column; padding: 14px 20px 20px; gap: 4px; }
  .nav-toggle { display: inline-flex; }
  .cat-grid, .post-grid, .related-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-inner { padding: 56px 0 80px; }
  .hero-visual { width: 260px; }
  .hero-float.f1 { left: -8px; }
  .hero-float.f2 { right: -8px; }
  .entry-row { grid-template-columns: 1fr; }
  .entry-row .thumb { aspect-ratio: 16/9; }
  .post-nav { grid-template-columns: 1fr; }
  .single-wrap { padding: 36px 0 56px; }
  .single-head h1 { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 28px; }
  .friend-links-section { padding: 30px 24px; }
  .page-hero h1 { font-size: 27px; }
}
