/*
Theme Name: 517账号网 · 淡蓝浅粉 A 款
Description: 为 517账号网定制的浅色资讯主题，包含平台分类、文章首页和响应式阅读布局。
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 7.4
Author: 517账号网
Text Domain: 517-lanfen
*/

:root {
  --ink: #122541;
  --muted: #496585;
  --blue: #1269cc;
  --blue-dark: #0b54ac;
  --line: #d8e6f7;
  --surface: #fff;
  --page: #f4f9ff;
  --pink: #fbe8f1;
  --light-blue: #e7f2fe;
  --radius: 15px;
  --shadow: 0 2px 8px rgb(29 62 108 / 4%);
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 1rem; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f1f7fe 0, #f8fbff 650px, var(--page) 100%);
  font-family: Inter, "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #276bb7; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
.icon { flex: none; display: inline-block; width: 1em; height: 1em; vertical-align: middle; }
.wrap { width: min(1468px, calc(100% - 56px)); margin-inline: auto; }
.surface {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 10px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 6px;
  z-index: 50;
}
.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 650;
  line-height: 1.4;
}
.button:hover { color: #fff; background: var(--blue-dark); }

/* Header */
.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 83%);
}
.header-inner {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: clamp(12px, 3vw, 46px);
  padding-inline: clamp(8px, 2.3vw, 35px);
}
.header-brand { flex: 0 0 auto; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex: none; }
.brand-name { display: block; max-width: 235px; font-size: 23px; font-weight: 850; letter-spacing: -.025em; }
.brand-domain { display: block; margin-top: 4px; font-size: 12px; font-weight: 550; }
.custom-logo-link { display: block; }
.custom-logo { display: block; width: auto; max-width: 220px; max-height: 49px; }
.site-navigation { flex: 1 1 auto; min-width: 0; }
.site-navigation ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; }
.site-navigation > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(13px, 3.2vw, 50px);
  align-items: center;
  justify-content: flex-start;
}
.site-navigation li { position: relative; }
.site-ad-wrap { padding-top: 14px; }
.site-ad-link { display: block; }
.site-ad-image { display: block; width: 100%; height: auto; border-radius: 12px; }
.site-ad-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); min-height: 116px; padding: 20px clamp(20px, 4vw, 55px); border: 1px solid #d9eaff; border-radius: 14px; background: linear-gradient(110deg, #082d72 0%, #1459b8 48%, #338fe8 100%); color: #fff; box-shadow: 0 9px 24px rgb(31 100 180 / 16%); }
.site-ad-banner::before, .site-ad-banner::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.site-ad-banner::before { width: 280px; height: 280px; right: 16%; top: -185px; border: 36px solid rgb(255 255 255 / 8%); }
.site-ad-banner::after { width: 160px; height: 160px; right: 34%; bottom: -135px; border: 24px solid rgb(112 209 255 / 18%); }
.site-ad-emblem { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 54px; height: 62px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 17px 17px 25px 25px; background: linear-gradient(145deg, rgb(255 255 255 / 30%), rgb(255 255 255 / 6%)); box-shadow: inset 0 1px 1px rgb(255 255 255 / 30%); color: #b9f5ff; font-size: 30px; font-weight: 800; }
.site-ad-copy { position: relative; z-index: 1; flex: 1; min-width: 0; }
.site-ad-label { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #b4ddff; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.site-ad-label i { width: 4px; height: 4px; border-radius: 50%; background: #8ddcfb; }
.site-ad-banner strong { display: block; font-size: clamp(18px, 2vw, 28px); line-height: 1.35; letter-spacing: .04em; }
.site-ad-action { position: relative; z-index: 1; flex: none; padding: 13px 21px; border: 2px solid #fff0b3; border-radius: 9px; background: #fff url('assets/ad-pulse-v2.gif') center / 100% 100%; color: #123a78; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 4px rgb(255 205 74 / 30%), 0 5px 18px rgb(0 25 84 / 25%); animation: site-ad-attention 0.9s ease-in-out infinite alternate; }
@keyframes site-ad-attention { from { transform: scale(1); filter: brightness(1); box-shadow: 0 0 0 2px rgb(255 205 74 / 25%), 0 5px 18px rgb(0 25 84 / 25%); } to { transform: scale(1.04); filter: brightness(1.12); box-shadow: 0 0 0 6px rgb(255 212 77 / 65%), 0 0 22px rgb(255 220 110 / 80%); } }
.site-ad-action span { padding-left: 6px; }
.site-ad-link:hover .site-ad-action { box-shadow: 0 5px 18px rgb(255 225 134 / 55%); }
@media (prefers-reduced-motion: reduce) { .site-ad-action { background-image: none; animation: none; } }
@media (max-width: 600px) { .site-ad-wrap { padding-top: 10px; } .site-ad-banner { gap: 11px; min-height: 88px; padding: 14px; } .site-ad-emblem { width: 34px; height: 40px; border-radius: 10px 10px 15px 15px; font-size: 21px; } .site-ad-label { margin-bottom: 4px; font-size: 8px; letter-spacing: .06em; } .site-ad-banner strong { font-size: 15px; } .site-ad-action { max-width: 98px; padding: 9px; font-size: 11px; line-height: 1.35; text-align: center; } .site-ad-action span { padding-left: 2px; } }
.site-navigation a {
  display: flex;
  position: relative;
  min-height: 62px;
  align-items: center;
  padding: 4px 3px;
  color: var(--ink);
  font-weight: 650;
}
.site-navigation a:hover, .site-navigation .current-menu-item > a, .site-navigation .current-menu-ancestor > a { color: var(--blue-dark); }
.site-navigation > ul > .current-menu-item > a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  border-radius: 9px;
  background: #1e80ec;
  content: "";
}
.site-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  padding: 6px;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgb(18 37 65 / 12%);
}
.site-navigation .sub-menu .sub-menu { top: 0; left: 100%; }
.site-navigation li:hover > .sub-menu, .site-navigation li:focus-within > .sub-menu { display: block; }
.site-navigation .sub-menu a { min-height: 42px; padding-inline: 10px; }
.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 23px;
}
.icon-button:hover, .header-search[open] .icon-button { color: var(--blue); background: var(--light-blue); }
.header-search { position: relative; margin-left: auto; }
.header-search summary { list-style: none; }
.header-search summary::-webkit-details-marker { display: none; }
.header-search-panel {
  position: absolute;
  z-index: 4;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(18 37 65 / 14%);
}
.search-form { display: flex; gap: 8px; width: min(100%, 480px); margin: 0; }
.search-form label { min-width: 0; flex: 1; }
.search-field, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea, .post-password-form input[type="password"] {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 7px 11px;
  color: var(--ink);
  border: 1px solid #a9c6e6;
  border-radius: 9px;
  background: #fff;
}
.search-form .button { border-radius: 9px; padding-inline: 13px; }

/* Platform chips and hero */
.home-main { padding-top: 17px; }
.platform-strip { padding-inline: clamp(8px, 2vw, 30px); margin-bottom: 17px; }
.platform-strip ul {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.platform-strip a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 37px;
  gap: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: #e4f0fc;
  font-size: 15px;
  font-weight: 700;
}
.platform-strip a.chip-pink { background: var(--pink); }
.platform-strip a:hover { color: var(--blue-dark); box-shadow: inset 0 0 0 1px #a4c8ed; }
.platform-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  color: #fff;
  background: var(--brand-color, #477bab);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}
.platform-icon .icon { width: 75%; height: 75%; }
.platform-weixin { --brand-color: #159c44; }
.platform-douyin { --brand-color: #171627; }
.platform-douyin .icon { filter: drop-shadow(-1px 0 #45ecf1) drop-shadow(1px 0 #f54d84); }
.platform-kuaishou { --brand-color: #ed6418; }
.platform-taobao { --brand-color: #ef5712; }
.platform-qq { --brand-color: #242938; }
.platform-zhifubao { --brand-color: #1674d9; }
.platform-momo { --brand-color: #7354dd; }
.platform-jingdong { --brand-color: #dc2939; }
.platform-xianyu { --brand-color: #ffdc3b; color: #2e260d; }
.platform-soul { --brand-color: #202d3a; }
.platform-pinduoduo { --brand-color: #df3554; }
.platform-baidu { --brand-color: #2952dc; }
.platform-xiaohongshu { --brand-color: #e6334f; }
.platform-bilibili { --brand-color: #237bbb; }
.platform-weibo { --brand-color: #d93d45; }
.platform-zhihu { --brand-color: #1269cc; }
.platform-tongcheng58 { --brand-color: #ff6626; font-size: 10px; }
.platform-qihoo360 { --brand-color: #20b65c; font-size: 8px; }
.platform-appleid { --brand-color: #53565c; font-size: 10px; }
.platform-blued { --brand-color: #1689ec; }
.platform-bosszhipin { --brand-color: #00bfa5; }
.platform-meituan { --brand-color: #ffca28; color: #252015; }
.hero {
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: clamp(208px, 17vw, 249px);
  overflow: hidden;
  padding: 20px clamp(22px, 5.6vw, 84px);
  border-radius: var(--radius);
  background: #d8edff linear-gradient(102deg, #d8edff 22%, #efdff4 74%, #f9e0ee);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/hero.webp") center 53% / cover no-repeat;
}
.hero-copy { width: min(59%, 695px); }
.hero-site { margin-bottom: 6px; font-weight: 550; font-size: 14px; }
.hero-site span { padding-inline: 3px; }
.hero h1 { font-size: clamp(25px, 3.01vw, 46px); font-weight: 850; letter-spacing: -.035em; }
.hero-description { max-width: 470px; margin-top: 4px; color: #1f3958; line-height: 1.55; }
.hero-button { margin-top: 14px; }
.hero-button .icon { width: 17px; height: 17px; }

/* Home article grid */
.content-layout {
  display: grid;
  grid-template-columns: minmax(190px, 19%) minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}
.home-layout { margin-top: 13px; }
.layout-no-sidebar { grid-template-columns: minmax(0, 1fr); }
.main-column { grid-column: 2; grid-row: 1; min-width: 0; }
.content-layout > .category-side { grid-column: 1; grid-row: 1; }
.layout-no-sidebar > .main-column { grid-column: 1; }
.category-side { padding: 11px 13px 14px; background: linear-gradient(#fff, #f6faff); }
.section-title { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; }
.section-icon {
  display: inline-grid;
  width: 23px;
  height: 23px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #1478e5;
  font-size: 15px;
}
.category-list, .text-links { margin: 0; padding: 0; list-style: none; }
.category-list { margin-top: 8px; }
.category-list li + li { border-top: 1px solid #e7effa; }
.category-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 4px 6px;
  color: var(--ink);
  font-weight: 570;
  line-height: 1.3;
}
.category-list a:hover, .category-list a[aria-current] { color: var(--blue-dark); background: var(--light-blue); border-radius: 6px; }
.category-list a > .icon:last-child { margin-left: auto; color: var(--muted); font-size: 13px; }
.category-list .platform-icon { width: 19px; height: 19px; font-size: 10px; border-radius: 5px; }
.category-list .platform-qihoo360 { font-size: 8px; }
.home-feed { padding: 0 12px 12px; }
.feed-heading {
  display: flex;
  min-height: 46px;
  gap: clamp(10px, 2.5vw, 36px);
  align-items: baseline;
  padding-inline: 6px;
  border-bottom: 1px solid #e9f0f8;
}
.feed-title {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.feed-title::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #1780ef;
  content: "";
}
.feed-nav { display: flex; gap: clamp(8px, 2.3vw, 30px); padding-block: 10px; }
.feed-nav a { color: var(--ink); font-weight: 650; }
.feed-nav a:hover { color: var(--blue-dark); }
.more-link { display: flex; align-items: center; gap: 2px; margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 600; }
.surface:target { border-color: #92bfe9; }
.card-grid, .archive-grid { display: grid; gap: 9px; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.post-card {
  display: grid;
  grid-template-columns: minmax(63px, 34%) minmax(0, 1fr);
  min-height: 85px;
  gap: 10px;
  padding: 5px;
  border: 1px solid #e1ebf9;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff, #f5f9fe);
  box-shadow: var(--shadow);
}
.post-card:hover { border-color: #b4d3f2; }
.card-media {
  display: grid;
  position: relative;
  min-height: 73px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #e2effd;
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media .platform-icon {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0 3px 8px rgb(14 55 103 / 13%);
}
.tint-weixin, .tint-baidu { background: #d5edff; }
.tint-douyin, .tint-momo, .tint-zhihu { background: #e8e7ff; }
.tint-taobao, .tint-xianyu { background: #ffeddf; }
.tint-kuaishou, .tint-jingdong, .tint-xiaohongshu, .tint-pinduoduo, .tint-weibo { background: #fce7ef; }
.tint-zhifubao, .tint-qq, .tint-soul, .tint-bilibili { background: #dceeff; }
.card-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 5px; padding: 2px 5px 2px 0; }
.card-title { font-size: 14px; font-weight: 760; line-height: 1.4; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.card-meta { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; color: var(--muted); font-size: 11.5px; }
.card-meta a { color: var(--muted); }
.card-meta a:hover { text-decoration: underline; }
.card-meta time { white-space: nowrap; }
.home-collections { display: grid; grid-template-columns: minmax(0, .9fr) repeat(2, minmax(0, 1.1fr)); gap: 12px; margin-top: 12px; }
.small-section { padding: 11px 13px 12px; background: linear-gradient(#fff, #f7faff); }
.small-section .section-title { margin-bottom: 6px; }
.popular-section .section-icon { color: #ad4802; background: #fff0dc; }
.text-links li {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  gap: 0 8px;
  align-items: baseline;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.45;
}
.text-links li + li { border-top: 1px solid #e6eef7; }
.text-links li::before { display: block; width: 5px; height: 5px; border-radius: 50%; background: #2685e7; content: ""; }
.popular-section .text-links li::before { background: #e28227; }
.text-links a { color: var(--ink); }
.text-links a:hover { color: var(--blue-dark); text-decoration: underline; }
.text-links time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.empty-note { padding: 16px 8px; color: var(--muted); }
.home-page-content { margin-top: 14px; padding: 22px 24px; }

/* Archives and article pages */
.inner-main { padding-top: 14px; min-height: 55vh; }
.breadcrumbs { color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0 0 12px; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: baseline; min-width: 0; }
.breadcrumbs li + li::before { margin-inline: 7px; color: #547291; content: "›"; }
.breadcrumbs [aria-current="page"] { color: var(--muted); }
.archive-intro {
  margin-bottom: 13px;
  padding: clamp(18px, 3.2vw, 38px);
  border-radius: var(--radius);
  background: linear-gradient(112deg, #dceeff 30%, #f9eaf4);
}
.archive-intro h1, .article-header h1 { font-size: clamp(26px, 3.15vw, 42px); font-weight: 830; letter-spacing: -.025em; }
.archive-description { margin-top: 9px; color: var(--muted); }
.archive-intro .search-form { margin-top: 13px; }
.archive-feed { padding: 13px; }
.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.archive-grid .post-card { grid-template-columns: minmax(70px, 26%) minmax(0, 1fr); min-height: 112px; }
.archive-grid .card-copy { padding: 4px 7px 3px 0; }
.archive-grid .card-title { font-size: 16px; }
.card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pagination .nav-links, .comments-pagination .nav-links, .entry-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
}
.page-numbers, .post-page-numbers {
  min-width: 35px;
  min-height: 35px;
  padding: 5px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
  font-weight: 620;
}
.page-numbers.current, .post-page-numbers.current { border-color: var(--blue); color: #fff; background: var(--blue); }
a.page-numbers:hover, a.post-page-numbers:hover { background: var(--light-blue); }
.single-article { padding: clamp(18px, 4vw, 52px); }
.article-header { padding-bottom: 18px; border-bottom: 1px solid #e8f0f9; }
.article-category {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--light-blue);
  font-size: 13px;
  font-weight: 650;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.article-feature { margin: 18px 0 0; }
.article-feature img { display: block; max-height: 520px; width: auto; margin-inline: auto; border-radius: 10px; object-fit: contain; }
.article-body { padding-top: 18px; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.85; }
.article-body > :first-child { margin-top: 0; }
.article-body > :last-child { margin-bottom: 0; }
.article-body :where(p, ul, ol, figure, pre, table, blockquote, details) { margin-top: 0; margin-bottom: 1em; }
.article-body :where(h2, h3, h4, h5, h6) { margin: 1.25em 0 .45em; }
.article-body h2 { font-size: 1.39em; }
.article-body h3 { font-size: 1.2em; }
.article-body a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.article-body :where(.wp-block-image, figure) { max-width: 100%; }
.article-body img { vertical-align: middle; }
.article-body :where(video, iframe, embed) { max-width: 100%; }
.article-body :where(.wp-block-table, pre) { max-width: 100%; overflow: auto; }
.article-body pre { padding: 12px; border-radius: 8px; color: #152743; background: #edf5ff; white-space: pre; }
.article-body table { max-width: 100%; border-collapse: collapse; }
.article-body th, .article-body td { padding: 6px 9px; border: 1px solid var(--line); }
.article-body blockquote { margin-inline: 0; padding: .6em 1em; border-left: 3px solid #83b9ef; border-radius: 0 8px 8px 0; background: #f1f7ff; }
.article-body blockquote > :last-child { margin-bottom: 0; }
.article-body .alignleft { float: left; margin: 0 1em .7em 0; }
.article-body .alignright { float: right; margin: 0 0 .7em 1em; }
.article-body .aligncenter { display: block; margin-inline: auto; text-align: center; }
.article-body::after { display: block; clear: both; content: ""; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 17px; }
.article-tags a {
  padding: 2px 9px;
  border: 1px solid #eed9e7;
  border-radius: 999px;
  color: #704264;
  background: #fdf1f8;
  font-size: 12px;
}
.post-navigation { margin-top: 13px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.post-navigation .nav-links a {
  display: block;
  height: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
}
.post-nav-label { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.related-posts, .comments-area { margin-top: 13px; padding: 16px clamp(15px, 3vw, 30px); }
.related-posts h2, .comments-area h2 { margin-bottom: 7px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { padding-left: clamp(8px, 2vw, 22px); }
.comment-list .comment-body { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-list .avatar { width: 32px; border-radius: 50%; }
.comment-metadata, .comment-notes, .logged-in-as { margin-block: 3px 6px; color: var(--muted); font-size: 13px; }
.comment-list .reply { margin-top: 7px; }
.comment-form { max-width: 650px; }
.comment-form p { margin-top: 7px; }
.comment-form label { display: block; }
.comment-form-cookies-consent label { display: inline; }
.comment-form .submit {
  padding: 7px 14px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
}
.missing-page p { margin: 8px 0; }
.plain-home-link { display: inline-block; margin-top: 15px; font-weight: 650; }

/* Footer */
.site-footer {
  margin-top: 19px;
  padding: 16px 0;
  color: var(--ink);
  border-top: 1px solid #cfe1f3;
  background: linear-gradient(120deg, #e3f0fe, #f1f7fe);
}
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 15px 30px; padding-inline: clamp(0px, 4vw, 65px); }
.footer-main .brand { flex: none; }
.footer-main .brand-name { font-size: 19px; }
.footer-main .brand-mark { width: 34px; height: 34px; }
.footer-description { max-width: 340px; color: var(--muted); font-size: 13px; }
.footer-main .menu, .footer-links { display: flex; flex-wrap: wrap; gap: 4px clamp(9px, 1.3vw, 18px); margin: 0; padding: 0; list-style: none; }
.footer-nav a, .footer-links a { display: inline-block; padding: 4px 3px; font-size: 13px; font-weight: 600; }
.footer-friends, .footer-widgets { margin-bottom: 13px; padding: 3px 0 11px; border-bottom: 1px solid #cee0f2; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 12px 22px; }
.footer-widget ul { margin: 0; padding-left: 19px; font-size: 13px; }
.footer-friends h2, .footer-widgets h2 { margin-bottom: 4px; font-size: 16px; }
.footer-friends > a { font-size: 13px; }

/* Responsive layout */
@media (max-width: 1160px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-collections > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 840px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 3px 8px; padding: 8px 0; min-height: 58px; }
  .header-brand { flex: 1; min-width: 0; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .site-navigation { flex: 0 0 100%; order: 4; margin-top: 4px; border-top: 1px solid var(--line); }
  .site-navigation > ul { justify-content: flex-start; gap: 0 12px; }
  .site-navigation a { min-height: 41px; }
  .site-navigation > ul > .current-menu-item > a::after { bottom: 2px; height: 2px; }
  .site-navigation .sub-menu, .site-navigation .sub-menu .sub-menu {
    display: block;
    position: static;
    width: auto;
    min-width: 0;
    padding: 0 0 3px 8px;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .site-navigation .sub-menu a { min-height: 35px; padding-inline: 4px; font-size: 13px; }
  .header-search { margin-left: 0; }
  .content-layout { grid-template-columns: 1fr; }
  .content-layout > .main-column { grid-column: 1; }
  .content-layout > .category-side { grid-row: 2; }
  .category-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px 9px; }
  .category-list li { border-bottom: 1px solid #e7effa; }
  .category-list li + li { border-top: 0; }
  .hero { min-height: 193px; }
  .hero::before { background-size: max(100%, 790px) auto; background-position: center 52%; }
  .home-collections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-collections > :last-child { grid-column: auto; }
  .footer-main { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .home-main { padding-top: 11px; }
  .platform-strip { padding: 0; margin-bottom: 11px; }
  .platform-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .platform-strip a { min-height: 34px; gap: 4px; padding-inline: 2px; font-size: 11.5px; }
  .platform-strip .platform-icon { width: 17px; height: 17px; border-radius: 4px; font-size: 9px; }
  .hero { display: block; min-height: 0; padding: 18px 15px 98px; }
  .hero::before {
    inset: 0;
    background-image: linear-gradient(180deg, #dceeff 0%, #dceeff 47%, #dceeff00 78%), url("assets/hero.webp");
    background-size: cover, min(158%, 560px) auto;
    background-position: center, right bottom -23px;
  }
  .hero-copy { width: 100%; }
  .hero-site { font-size: 12px; }
  .hero h1 { font-size: clamp(22px, 5.45vw, 29px); }
  .hero-description { max-width: 29em; font-size: 13px; }
  .hero-button { min-height: 34px; margin-top: 9px; padding: 5px 13px; font-size: 13px; }
  .home-feed { padding-inline: 8px; }
  .feed-heading { gap: 9px; padding-inline: 2px; }
  .feed-title { font-size: 15px; }
  .feed-nav { gap: 8px; font-size: 12px; }
  .more-link { font-size: 11px; }
  .card-grid, .archive-grid { grid-template-columns: 1fr; gap: 7px; }
  .post-card, .archive-grid .post-card { grid-template-columns: minmax(64px, 25%) minmax(0, 1fr); }
  .post-card { min-height: 72px; }
  .card-media { min-height: 60px; }
  .card-media .platform-icon { width: 33px; height: 33px; }
  .home-collections { grid-template-columns: 1fr; gap: 8px; }
  .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-list a { min-height: 37px; font-size: 13px; }
  .archive-feed { padding: 8px; }
  .site-footer { padding-block: 12px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 9px; }
}
