/* 私家侦探官网 · 墨紫+青绿主题 | 单文件样式 */
:root {
    --primary: #2B2139;
    --primary-mid: #3D3250;
    --accent: #1F8A7A;
    --accent-hover: #167A6C;
    --accent-light: #E6F5F2;
    --highlight: #6B4E9B;
    --bg: #F4F2F7;
    --surface: #FFFFFF;
    --border: #E2DEE8;
    --text: #2D2A32;
    --muted: #6C6573;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 12px rgba(43, 33, 57, 0.07);
    --header-h: 64px;
    --max-w: 1160px;
    --gap: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

.zedf14container,
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 18px;
}

/* ===== 导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    flex-shrink: 1;
    min-width: 0;
}

.logo a {
    color: inherit;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 2px 14px;
}

.main-nav a {
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav .zedf14this > a,
.main-nav li.zedf14this a {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: 0.25s;
}

.nav-overlay {
    display: none;
}

/* ===== 按钮 ===== */
.zedf14btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
}

.zedf14btn-main,
.zedf14btn-primary {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}

.zedf14btn-main:hover,
.zedf14btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff !important;
}

.zedf14btn-ghost,
.zedf14btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--border);
}

.zedf14btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

/* ===== 首页首屏 ===== */
.zedf14home {
    padding-top: var(--header-h);
}

.zedf14intro {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-mid) 50%, #4A3F5C 100%);
    color: #fff;
    padding: 48px 0 0;
}

.zedf14intro-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: center;
    padding-bottom: 40px;
}

.zedf14tagline {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #B8E8DF;
    margin-bottom: 12px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.zedf14intro-copy h2 {
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.35;
    margin-bottom: 14px;
}

.zedf14intro-desc {
    opacity: 0.92;
    margin-bottom: 10px;
    font-size: 15px;
}

.zedf14intro-copy p:last-of-type {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 22px;
    line-height: 1.75;
}

.zedf14intro-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zedf14intro-btns .zedf14btn-ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.zedf14intro-btns .zedf14btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.zedf14intro-media {
    margin: 0;
    display: flex;
    justify-content: center;
}

.zedf14intro-media img {
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.zedf14intro-bar {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zedf14intro-bar li {
    background: var(--surface);
    padding: 16px 14px;
    text-align: center;
}

.zedf14intro-bar b {
    display: block;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 4px;
}

.zedf14intro-bar span {
    font-size: 12px;
    color: var(--muted);
}

/* ===== 通用区块 ===== */
.zedf14section {
    padding: 56px 0;
}

.zedf14section-soft {
    background: var(--surface);
}

.zedf14head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}

.zedf14head-light .zedf14head-title,
.zedf14head-light .zedf14head-text {
    color: #fff;
}

.zedf14head-title {
    font-size: clamp(22px, 3vw, 26px);
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.zedf14head-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}

/* 服务卡片 */
.zedf14cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-bottom: var(--gap);
}

.zedf14cards-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.zedf14card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zedf14card-no {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.zedf14card h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 8px;
}

.zedf14card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* 优势四格 */
.zedf14feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.zedf14feat {
    padding: 18px 16px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
}

.zedf14feat h3 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 6px;
}

.zedf14feat p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* 核心优势面板 */
.zedf14adv-panel {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--primary-mid);
}

.zedf14adv-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.zedf14adv-list li {
    font-size: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.zedf14adv-list strong {
    color: #B8E8DF;
    margin-right: 6px;
}

/* 百科 */
.zedf14wiki {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.zedf14wiki-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
}

.zedf14wiki-item h3 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.45;
}

.zedf14wiki-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
}

/* 流程 */
.zedf14steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.zedf14steps li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
}

.zedf14steps em {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-style: normal;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 14px;
}

.zedf14steps h3 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 6px;
}

.zedf14steps p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* FAQ */
.zedf14faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.zedf14faq-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.zedf14faq-box h3 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
}

.zedf14faq-box p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* 首页资讯 5×2 */
.zedf14articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.zedf14article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.zedf14article-card:hover {
    box-shadow: var(--shadow);
}

.zedf14article-card-thumb {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--bg);
}

.zedf14article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zedf14article-card-body {
    padding: 10px 10px 12px;
}

.zedf14article-card-title {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.zedf14article-card-title a {
    color: var(--text);
}

.zedf14article-card-title a:hover {
    color: var(--accent);
}

.zedf14article-card-meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.zedf14article-card-body .intro,
.zedf14articles-grid p:not(.zedf14article-card-meta) {
    display: none;
}

.zedf14more-wrap {
    text-align: center;
    margin-top: 28px;
}

/* 联系 CTA */
.zedf14section-cta {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--primary) 100%);
    color: #fff;
}

.zedf14cta-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.zedf14cta-list li {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.5;
}

.zedf14cta-list span {
    display: block;
    font-weight: 700;
    color: #B8E8DF;
    margin-bottom: 6px;
    font-size: 14px;
}

/* ===== 页脚 ===== */
.zedf14footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.88);
    padding: 40px 0 24px;
}

.zedf14footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.zedf14footer-section h4 {
    color: #B8E8DF;
    font-size: 15px;
    margin-bottom: 12px;
}

.zedf14footer-section p,
.zedf14footer-section li {
    font-size: 13px;
    line-height: 1.7;
}

.zedf14footer-section ul {
    list-style: none;
}

.zedf14footer-section a {
    color: rgba(255, 255, 255, 0.9);
}

.zedf14footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.zedf14footer-bottom p {
    margin-bottom: 4px;
}

.zedf14footer-bottom a {
    color: #B8E8DF;
}

/* ========================================
   内页：列表 / 内容
   ======================================== */
.zedf14page-inner {
    padding-top: var(--header-h);
    background: var(--bg);
}

.zedf14page-banner {
    background: var(--primary);
    color: #fff;
    padding: 28px 0 32px;
}

.zedf14breadcrumb {
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.85;
}

.zedf14breadcrumb a {
    color: #B8E8DF;
}

.zedf14page-banner-title {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.zedf14page-banner-desc {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.88;
    max-width: 640px;
    line-height: 1.65;
}

.zedf14main-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 32px 18px 48px;
    align-items: flex-start;
}

.zedf14main-content {
    flex: 1 1 0;
    min-width: 0;
    width: calc(100% - 296px);
    max-width: calc(100% - 296px);
}

/* 列表 */
.zedf14listbox {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.zedf14list-items {
    list-style: none;
}

.zedf14list-item {
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.zedf14list-item:last-child {
    border-bottom: none;
}

.zedf14list-thumb {
    flex: 0 0 168px;
    width: 168px;
    max-width: 168px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.zedf14list-thumb img {
    width: 100%;
    height: 126px;
    object-fit: cover;
}

.zedf14list-body {
    flex: 1;
    min-width: 0;
}

.zedf14list-title {
    font-size: 17px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.zedf14list-title a {
    color: var(--primary);
}

.zedf14list-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.zedf14list-intro {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    word-break: break-word;
}

/* 分页左右 */
.zedf14pagebar {
    margin-top: 20px;
}

.zedf14pages-lr .pagelist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
}

.zedf14pages-lr .pagelist li:nth-child(-n+3) {
    margin-right: 0;
}

.zedf14pages-lr .pagelist li:nth-child(3) {
    margin-right: auto;
}

.zedf14pages-lr .pagelist li:nth-child(n+6) {
    margin-left: auto;
}

.zedf14pages-lr .pagelist a,
.zedf14pages-lr .pagelist span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.zedf14pages-lr .pagelist a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
}

.zedf14pages-lr .thisclass,
.zedf14pages-lr .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* 内容页 */
.zedf14article-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    word-break: break-word;
}

.zedf14article-title {
    font-size: clamp(20px, 3vw, 24px);
    color: var(--primary);
    line-height: 1.45;
    margin-bottom: 12px;
}

.zedf14article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.zedf14article-meta a {
    color: var(--accent);
}

.zedf14article-thumb {
    margin-bottom: 18px;
    text-align: center;
}

.zedf14article-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.zedf14article-body {
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.zedf14article-body img {
    max-width: 100% !important;
    height: auto !important;
}

.zedf14meta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.zedf14tagitem a {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 14px;
}

.zedf14article-prenext {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.zedf14prenext-item {
    flex: 1 1 45%;
    min-width: 0;
    word-break: break-word;
}

.zedf14prenext-next {
    text-align: right;
}

.zedf14related {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow);
}

.zedf14block-title {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.zedf14related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.zedf14related-item:last-child {
    border-bottom: none;
}

.zedf14related-thumb {
    flex: 0 0 100px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.zedf14related-thumb img {
    width: 100px;
    height: 75px;
    object-fit: cover;
}

.zedf14related-body {
    flex: 1;
    min-width: 0;
}

.zedf14related-body h4 {
    font-size: 14px;
    margin: 0 0 4px;
}

.zedf14related-body h4 a {
    color: var(--primary);
}

.zedf14related-body p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.clear {
    clear: both;
    width: 100%;
}

/* 侧栏 */
.zedf14sidebar {
    flex: 0 0 272px;
    width: 272px;
    max-width: 100%;
}

.zedf14sidebar-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.zedf14sidebar-block:last-child {
    margin-bottom: 0;
}

.zedf14sidebar-title {
    font-size: 14px;
    padding: 12px 14px;
    margin: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.zedf14sidebar-title a {
    color: #fff;
}

.zedf14sidebar-title a:hover {
    color: #B8E8DF;
}

.zedf14sidebar-list {
    list-style: none;
    padding: 8px 10px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.zedf14sidebar-item {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.zedf14sidebar-item:last-child {
    border-bottom: none;
}

.zedf14sidebar-thumb {
    flex: 0 0 64px;
    width: 64px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.zedf14sidebar-thumb img {
    width: 64px;
    height: 48px;
    object-fit: cover;
}

.zedf14sidebar-info {
    flex: 1;
    min-width: 0;
}

.zedf14sidebar-info > a {
    display: block;
    font-size: 12px;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 2px;
    word-break: break-word;
}

.zedf14sidebar-info > a:hover {
    color: var(--accent);
}

.zedf14sidebar-date {
    font-size: 11px;
    color: var(--muted);
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .zedf14articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .zedf14feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .zedf14steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 86vw);
        height: 100vh;
        background: var(--surface);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
        padding: calc(var(--header-h) + 12px) 16px 24px;
        overflow-y: auto;
        transition: right 0.3s;
        z-index: 1001;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(43, 33, 57, 0.45);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .logo {
        max-width: 58%;
    }

    .zedf14intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zedf14intro-btns {
        justify-content: center;
    }

    .zedf14intro-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .zedf14cards-3,
    .zedf14cards-2 {
        grid-template-columns: 1fr;
    }

    .zedf14wiki,
    .zedf14faq-grid,
    .zedf14adv-list {
        grid-template-columns: 1fr;
    }

    .zedf14cta-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .zedf14main-content {
        width: 100%;
        max-width: 100%;
    }

    .zedf14sidebar {
        width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 56px;
    }

    .zedf14section {
        padding: 40px 0;
    }

    .zedf14intro {
        padding-top: 36px;
    }

    .zedf14intro-bar {
        grid-template-columns: 1fr;
    }

    .zedf14feat-grid,
    .zedf14steps,
    .zedf14cta-list {
        grid-template-columns: 1fr;
    }

    .zedf14articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .zedf14list-item {
        flex-direction: column;
        padding: 14px 16px;
    }

    .zedf14list-thumb {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .zedf14list-thumb img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .zedf14article-detail {
        padding: 18px 16px;
    }

    .zedf14prenext-next {
        text-align: left;
    }

    .zedf14related-item {
        flex-direction: column;
    }

    .zedf14related-thumb {
        width: 100%;
        flex: none;
    }

    .zedf14related-thumb img {
        width: 100%;
        height: auto;
        max-height: 160px;
    }

    .zedf14footer-content {
        grid-template-columns: 1fr;
    }

    .zedf14pages-lr .pagelist {
        justify-content: center;
    }

    .zedf14pages-lr .pagelist li:nth-child(3),
    .zedf14pages-lr .pagelist li:nth-child(n+6) {
        margin-left: 0;
        margin-right: 0;
    }

    .zedf14adv-panel {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .zedf14articles-grid {
        grid-template-columns: 1fr;
    }

    .zedf14container,
    .container {
        padding: 0 14px;
    }

    .zedf14main-wrap {
        padding: 24px 14px 36px;
    }
}
