/**
 * pseoe.com Custom Styles
 * 专业品牌配色 + 视觉优化
 */

/* ===== 0. 面包屑导航美化 ===== */
.pseoe-breadcrumbs {
    font-size: 14px;
    color: #888;
    padding: 10px 0;
    margin-bottom: 20px;
}
.pseoe-breadcrumbs a {
    color: #888 !important;
    text-decoration: none;
    transition: color 0.15s ease;
}
.pseoe-breadcrumbs a:hover {
    color: var(--pseoe-gold) !important;
}
.pseoe-breadcrumbs span {
    color: var(--pseoe-deep);
    font-weight: 500;
}

/* ===== 1. 品牌配色 ===== */
:root {
    --pseoe-deep:    #1a3a5c;
    --pseoe-gold:    #c9952e;
    --pseoe-gold-hover: #b08426;
    --pseoe-dark:    #0f2438;
    --pseoe-light:   #f7f9fc;
}

/* 主链接色 */
a {
    color: var(--pseoe-deep);
}
a:hover,
a:focus {
    color: var(--pseoe-gold);
}

/* 站点标题品牌化 */
.site-branding .site-title a {
    color: var(--pseoe-deep) !important;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.site-branding .site-title a:hover {
    color: var(--pseoe-gold) !important;
}

/* ===== 2. 导航栏品牌化 ===== */
.site-header {
    background: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.08);
    padding-top: 16px;
    padding-bottom: 16px;
}

.main-navigation a {
    font-weight: 600;
    color: var(--pseoe-deep) !important;
}
.main-navigation a:hover {
    color: var(--pseoe-gold) !important;
}
.main-navigation .current-menu-item > a {
    border-bottom: 2px solid var(--pseoe-gold);
}

/* ===== 2b. H1 视觉隐藏，SEO 保留 ===== */
.entry-header .entry-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== 2c. 内容区加宽 ===== */
.site-inner {
    max-width: 1280px;
}

/* H1 隐藏后 Hero 与导航间距 */
.entry-header + .entry-content,
.singular .hentry {
    margin-top: 24px;
}

/* 首页 Hero 顶部间距 */
.home .entry-content > .wp-block-html:first-child > .pseoe-hero {
    margin-top: 0;
}

/* ===== 3. 按钮/卡片统一风格 ===== */
.wp-block-button__link,
a.wp-block-button__link,
.entry-content .wp-block-button .wp-block-button__link {
    background: var(--pseoe-gold) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700;
    padding: 12px 28px;
    transition: all 0.2s ease;
}
.wp-block-button__link:hover {
    background: var(--pseoe-gold-hover) !important;
    box-shadow: 0 4px 12px rgba(201,149,46,0.35);
    transform: translateY(-1px);
}

/* 卡片阴影 */
.hentry,
.widget,
.entry-content figure,
.comments-area {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* 侧边栏卡片 */
.widget {
    background: #fff;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.widget .widget-title {
    border-left: 3px solid var(--pseoe-gold);
    padding-left: 12px;
    color: var(--pseoe-deep);
}

/* 标签云优化 */
.tag-cloud-link {
    display: inline-block;
    background: var(--pseoe-light);
    padding: 4px 12px;
    border-radius: 20px;
    margin: 0 4px 8px 0;
    font-size: 14px !important;
    text-decoration: none;
    border: 1px solid #e0e5ec;
    transition: all 0.15s ease;
}
.tag-cloud-link:hover {
    background: var(--pseoe-gold);
    color: #fff !important;
    border-color: var(--pseoe-gold);
    text-decoration: none !important;
}

/* ===== 3b. NAL外链 导航按钮高亮 ===== */
.menu-item-518 a {
    background: var(--pseoe-gold) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.menu-item-518 a:hover {
    background: var(--pseoe-gold-hover) !important;
    box-shadow: 0 4px 12px rgba(201,149,46,0.35);
    transform: translateY(-1px);
}

/* ===== 4. 页脚升级 ===== */
.site-footer {
    background: var(--pseoe-dark);
    color: #b0c4d8;
    padding: 40px 0 0;
    margin-top: 60px;
}
.site-footer a {
    color: #d0dce8;
}
.site-footer a:hover {
    color: var(--pseoe-gold);
}

/* 底部全部内容居中 */
#colophon {
    text-align: center;
}
#colophon .site-info,
#colophon nav {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 底部导航胶囊按钮 */
#colophon .main-navigation {
    margin-bottom: 30px;
}
#colophon .primary-menu {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    float: none !important;
    border: none !important;
}
#colophon .primary-menu li {
    margin: 0;
    float: none !important;
}
#colophon .primary-menu a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    font-size: 14px;
    font-weight: 500;
    color: #d0dce8 !important;
    transition: all 0.2s ease;
}
#colophon .primary-menu a:hover {
    background: var(--pseoe-gold);
    color: #fff !important;
}
#colophon .primary-menu .current-menu-item > a {
    background: rgba(201,149,46,0.25);
    color: var(--pseoe-gold) !important;
    border-bottom: none;
}

/* 版权/友情链接 */
#colophon .site-info {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 13px;
    color: #7a8fa0;
}
#colophon .site-info a {
    color: #99b3cc;
}
#colophon .site-info a:hover {
    color: var(--pseoe-gold);
}

/* ===== 5. Hero 区域 ===== */
.pseoe-hero {
    background: linear-gradient(135deg, var(--pseoe-deep) 0%, #1f4a75 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 8px;
    text-align: center;
}
.pseoe-hero h2 {
    color: #fff !important;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.pseoe-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.pseoe-hero .hero-cta {
    display: inline-block;
    background: var(--pseoe-gold);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pseoe-hero .hero-cta:hover {
    background: var(--pseoe-gold-hover);
    box-shadow: 0 6px 20px rgba(201,149,46,0.4);
    transform: translateY(-2px);
}
.pseoe-hero .hero-sub {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 14px;
    transition: all 0.2s ease;
}
.pseoe-hero .hero-sub:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ===== 6. 外链类型卡片 ===== */
.pseoe-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0 40px;
}
.pseoe-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef1f5;
    transition: all 0.2s ease;
}
.pseoe-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--pseoe-gold);
}
.pseoe-card .card-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}
.pseoe-card strong {
    display: block;
    font-size: 17px;
    color: var(--pseoe-deep);
    margin-bottom: 8px;
}
.pseoe-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ===== 7. 客户须知提示框 ===== */
.pseoe-notice {
    background: #fffbf0;
    border-left: 4px solid var(--pseoe-gold);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5a4a30;
}

/* ===== 8. GSC截图展示 ===== */
.pseoe-proof {
    text-align: center;
    margin: 40px 0;
}
.pseoe-proof .proof-label {
    display: inline-block;
    background: var(--pseoe-gold);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ===== 9. 排版美化 ===== */
/* 段落 */
.entry-content p,
.entry-summary p {
    line-height: 1.8;
    margin-bottom: 1.2em;
}

/* 列表 */
.entry-content ul,
.entry-content ol {
    line-height: 1.8;
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}
.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.4em;
}
.entry-content ul li::marker {
    color: var(--pseoe-gold);
}

/* H2/H3 间距 */
.entry-content h2 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: var(--pseoe-deep);
}
.entry-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    color: var(--pseoe-deep);
}

/* 引用块 */
.entry-content blockquote {
    border-left: 4px solid var(--pseoe-gold);
    background: #f9fafb;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 6px 6px 0;
    font-style: normal;
    color: #555;
}

/* 图片 */
.entry-content img {
    border-radius: 6px;
}

/* 表格 */
.entry-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}
.entry-content table th,
.entry-content table td {
    border: 1px solid #e0e5ec;
    padding: 10px 14px;
    text-align: left;
}
.entry-content table th {
    background: var(--pseoe-deep);
    color: #fff;
    font-weight: 600;
}

/* ===== 10. 响应式 ===== */
@media (max-width: 768px) {
    .pseoe-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .pseoe-hero {
        padding: 40px 20px;
    }
    .pseoe-hero h2 {
        font-size: 26px;
    }
    .pseoe-hero .hero-sub {
        display: block;
        margin: 12px auto 0;
        max-width: 200px;
    }
    .site-footer .main-navigation .primary-menu {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .pseoe-cards {
        grid-template-columns: 1fr;
    }
    .pseoe-hero h2 {
        font-size: 22px;
    }
    .pseoe-hero p {
        font-size: 15px;
    }
}
