/* ===========================
   全局基础样式
=========================== */
body {
    margin: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #fff;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===========================
   Header
=========================== */
.ao-header {
    width: 100%;
    background: #0a1a2a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

.ao-header-container {
    max-width: 1280px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ao-logo a {
    font-size: 20px;
    font-weight: bold;
    color: #00e0ff;
}

.ao-nav-list {
    display: flex;
    gap: 28px;
}

.ao-nav-list li a {
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.ao-nav-list li a:hover {
    color: #00e0ff;
}

/* 移动端菜单按钮 */
.ao-nav-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ===========================
   Footer
=========================== */
.ao-footer {
    background: #0a1a2a;
    color: #fff;
    padding: 40px 20px 20px;
}

.ao-footer-container {
    max-width: 1280px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.ao-footer-col h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #00e0ff;
}

.ao-footer-col ul li {
    margin-bottom: 8px;
}

.ao-footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #123;
    font-size: 14px;
    opacity: 0.8;
}

/* ===========================
   响应式：Pad
=========================== */
@media (max-width: 992px) {
    .ao-nav-list {
        gap: 18px;
    }

    .ao-footer-container {
        flex-direction: column;
        text-align: left;
    }
}

/* ===========================
   响应式：Mobile
=========================== */
@media (max-width: 768px) {

    .ao-nav-toggle {
        display: block;
        color: #00e0ff;
    }

    .ao-nav-list {
        display: none;
        flex-direction: column;
        background: #0a1a2a;
        padding: 20px;
        gap: 16px;
    }

    .ao-nav-list.ao-nav-open {
        display: flex;
    }

    .ao-footer-container {
        text-align: left;
    }
}
/*通用结束*/
/* 面包屑导航 */
.ao-breadcrumb {
    background: #f3f3f3;
    padding: 12px 20px;
    font-size: 14px;
}
.ao-breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}
.ao-breadcrumb li a {
    color: #0a1a2a;
    text-decoration: none;
}
.ao-breadcrumb li::after {
    content: ">";
    margin: 0 6px;
    color: #666;
}
.ao-breadcrumb li:last-child::after {
    content: "";
}

/* 文章标题与信息 */
.ao-article-header {
    background: #eef4ff;
    padding: 40px 20px;
    text-align: center;
}
.ao-article-header h1 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #0a1a2a;
}
.ao-article-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 自适应图片 */
.ao-responsive-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* 正文内容 */
.ao-article-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}
.ao-article-content p {
    margin-bottom: 20px;
}

/* 上一篇 / 下一篇 */
.ao-article-nav {
    background: #f9fafc;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.ao-article-nav a {
    color: #0a1a2a;
    text-decoration: none;
}
.ao-article-nav a:hover {
    text-decoration: underline;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .ao-article-header h1 {
        font-size: 26px;
    }
    .ao-article-content {
        font-size: 15px;
    }
    .ao-article-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* 网友评论 */
.ao-article-comments {
    background: #f9fafc;
    padding: 40px 20px;
    margin-top: 40px;
}
.ao-comment-list {
    margin-bottom: 20px;
}
.ao-comment-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.ao-comment-item p {
    margin: 0 0 8px;
    font-size: 15px;
    color: #333;
}
.ao-comment-date {
    font-size: 13px;
    color: #666;
}
.ao-comment-form .ao-form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
.ao-comment-form label {
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}
.ao-comment-form input,
.ao-comment-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.ao-btn-primary {
    background: #ffcc00;
    color: #0a1a2a;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.ao-btn-primary:hover {
    background: #e6b800;
}

/* 分享 */
.ao-article-share {
    background: #eef4ff;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
}
.ao-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.ao-share-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
}
.ao-share-wechat { background: #1aad19; }
.ao-share-weibo { background: #e6162d; }
.ao-share-twitter { background: #1da1f2; }
.ao-share-facebook { background: #1877f2; }
.ao-share-btn:hover {
    opacity: 0.85;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .ao-share-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
