.dogo-wp1200{
    max-width: 1200px;
    margin: 0 auto;
}
/* Header 样式 */
.bg{
    background: url("./image/hero-cover.svg") no-repeat;
}

.dogo-mobile-logo {
    display: inline-block;
}

.dogo-mobile-logo a {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}




/* Hero Section */

.hero-content p {
    font-size: 18px;
    opacity: 0.95;
}
.hero-content .span-text {
    background: linear-gradient(87deg, #487cf8 6.96%, #8d67ea 44.33%, #c28ef0 58.89%, #ef9a8f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ========== Hero Section 基础样式 ========== */
.hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f2f8 100%);
    border-radius: 16px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: #666;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* 渐变文字效果 */
.span-text {
    background: linear-gradient(87deg, #487cf8 6.96%, #8d67ea 44.33%, #c28ef0 58.89%, #ef9a8f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ========== 搜索框区域 ========== */
.search-home-box {
    margin-top: 48px;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.search-input {
    width: 500px;  /* 固定宽度，不使用 flex: 1 */
    padding: 0 18px;
    border: 1px solid #e0e4e8;
    border-radius: 12px;
    font-size: 15px;
    height: 52px;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: #487cf8;
    box-shadow: 0 0 0 3px rgba(72, 124, 248, 0.1);
}

.search-btn {
    padding: 0 32px;
    background: linear-gradient(135deg, #487cf8 0%, #8d67ea 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 52px;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 124, 248, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* ========== 响应式断点 ========== */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero {
        padding: 32px 16px;
        margin-bottom: 32px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
        padding: 0 16px;
    }

    .search-home-box {
        margin-top: 36px;
    }

    .search-box {
        max-width: 550px;
        gap: 10px;
    }

    .search-input {
        width: 380px;  /* 平板设备固定宽度 */
        height: 48px;
        font-size: 14px;
    }

    .search-btn {
        height: 48px;
        padding: 0 28px;
        font-size: 14px;
    }
}
/* 手机设备 (小于 768px) */
/* 手机设备 (小于 768px) */
@media screen and (max-width: 768px) {
    .hero {
        padding: 24px 16px;
        margin-bottom: 24px;
        border-radius: 12px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        padding: 0 12px;
    }

    .search-home-box {
        margin-top: 28px;
    }

    .search-box {
        display: flex;
        flex-direction: row;
        gap: 12px;
        max-width: 100%;
        padding: 0 20px;
    }

    .search-input {
        flex: 1;
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .search-btn {
        width: auto;
        min-width: 80px;
        height: 44px;
        padding: 0 20px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* 大屏幕优化 (大于 1400px) */
@media screen and (min-width: 1400px) {
    .hero {
        margin-bottom: 48px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-description {
        font-size: 20px;
        max-width: 750px;
    }

    .search-box {
        max-width: 800px;
        gap: 16px;
    }

    .search-input {
        width: 560px;  /* 大屏固定宽度 */
        height: 56px;
        font-size: 16px;
    }

    .search-btn {
        height: 56px;
        padding: 0 40px;
        font-size: 16px;
    }
}


/* Logo 区域样式 - 适配白色背景 */
.dogo-logo {
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

/* 侧边导航容器样式 */
.dogo-side-nav {
    padding: 0 0;
    margin: 0;
    list-style: none;
}

/* 导航项基础样式 */
.dogo-side-nav .layui-nav-item {
    line-height: 46px; /* 统一行高，保证点击区域大小 */
    margin: 0;
    position: relative;
}

/* 导航项链接样式 - 白色背景适配 */
.dogo-side-nav .layui-nav-item a {
    display: block; /* 整行可点击 */
    padding: 0 18px;
    color: #666666; /* 默认文字浅灰 */
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease; /* 过渡动画，交互更丝滑 */
}

/* 导航项 hover 状态 - 白色背景下的悬浮效果 */
.dogo-side-nav .layui-nav-item:hover a {
    color: #1684e4; /* 悬浮文字改为Layui主色 */
    background-color: #f0f7ff; /* 浅蓝背景，柔和不刺眼 */
    padding-left: 18px; /* 轻微缩进，增强交互感 */
}

/* 导航项选中/激活状态 - 白色背景版 */
.dogo-side-nav .layui-nav-item.layui-this {
    background-color: #e8f4fc; /* 选中项浅蓝背景 */
}

.dogo-side-nav .layui-nav-item.layui-this a {
    color: #1684e4; /* 选中文字主色 */
    font-weight: 500;
}

/* 选中项左侧标识线 - 保持视觉焦点 */
.dogo-side-nav .layui-nav-item.layui-this::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #1684e4; /* 匹配主色，更协调 */
}

/* 响应式适配：小屏幕下收缩侧边栏 */
@media screen and (max-width: 768px) {
    .dogo-side-scroll {
        width: 60px;
    }
    .dogo-logo span {
        display: none; /* 隐藏logo文字 */
    }
    .dogo-side-nav .layui-nav-item a {
        text-align: center;
        padding: 0;
    }
    .dogo-side-nav .layui-nav-item:hover a {
        padding-left: 0;
    }
}

.box-page{
}


.page-list .box-header{
    margin-bottom: 16px;
    height: 40px;
    line-height: 40px;
}
.page-list .box-header h2{

}

.page-list .tool-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 10px 0 10px;
    box-shadow:  0 2px 12px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100px;
    overflow: hidden;
}

.page-list .tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.page-list .tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.page-list .tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #e8f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E9FFF;
    font-size: 18px;
}

.page-list .tool-info h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 4px;
}

.page-list .tool-category {
    font-size: 12px;
    color: #999;
}

.page-list .tool-desc {
    font-size: 13px;
    color: #666;
    line-height: 20px;
    margin-bottom: 15px;
    height: 42px;
    overflow: hidden;
}


.section-category-block .box-header{
    margin: 15px 0;
    height: 40px;
    line-height: 40px;
}
.section-category-block .box-header h2{
    font-size: 16px;
}

.section-category-block .tool-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 10px 10px 10px 10px;
    box-shadow:  0 2px 12px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 60px;
    overflow: hidden;
}

.section-category-block .tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    cursor: pointer;
}

.section-category-block .tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.section-category-block .tool-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E9FFF;
    font-size: 18px;
}
.section-category-block .tool-image .image{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e8f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E9FFF;
    font-size: 18px;
}

.section-category-block .tool-info h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 4px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}

.section-category-block .tool-desc {
    font-size: 13px;
    color: #666;
    line-height: 20px;
    margin-bottom: 15px;
    height: 20px;
    overflow: hidden;
}
.section-category-block .more {
    font-size: 12px;
}



/* Footer 样式 */
footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.layui-card { border-radius: 8px; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05); border: none; overflow: hidden; }
.layui-card-header { font-size: 24px; font-weight: bold; border-bottom: 3px solid #1E9FFF; padding-bottom: 10px; margin-bottom: 15px; color: #1E9FFF; }
.layui-card-body { padding: 20px; }
.news-list-item { padding: 15px 0; border-bottom: 1px dashed #e6e6e6; display: flex; align-items: flex-start; }
.news-list-item:last-child { border-bottom: none; }
.news-list-item img { width: 180px; height: 120px; object-fit: cover; overflow: hidden; margin-right: 20px; border-radius: 4px; }
.news-list-item-content { flex: 1; }
.news-list-item-content h3 { font-size: 18px; margin-bottom: 8px; }
.news-list-item-content h3 a { color: #333; text-decoration: none; transition: color .3s; }
.news-list-item-content h3 a:hover { color: #1E9FFF; }
.news-list-item-content p { font-size: 14px; color: #666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; }
.news-list-item-meta { font-size: 12px; color: #999; }

.article-title { font-size: 28px; font-weight: bold; text-align: center; margin-bottom: 15px; color: #333; line-height: 1.3; }
.article-meta { text-align: center; color: #999; font-size: 14px; margin-bottom: 30px; }
.article-content{padding: 20px;}
.article-content img { max-width: 100%; height: auto; display: block; margin: 15px auto; border-radius: 4px; }

/* Sections */
.section-box{
    padding: 8px;
    border: 1px solid #f3f3f3;
    background: #ffffff;
    border-radius: 6px 6px 0 0 ;
}
.section-header {
    border-bottom: 1px solid #00a8ff;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.section-header h3 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
}
.section-content{}
.section-content ul{}
.section-content ul li{
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}
.section-content ul li a:hover{
    color: #00a8ff;
}

 .tool-detail-container {
     margin: 0 auto;
     padding: 24px 20px 48px;
 }

.tool-detail-container .tool-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 32px;
}

.tool-detail-container .tool-header {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 32px 32px 24px;
    border-bottom: 1px solid #edf2f7;
}

.tool-detail-container .tool-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(37,99,235,0.2);
}

.tool-detail-container .tool-icon .image {
    font-size: 44px;
    color: white;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.tool-detail-container .tool-info {
    flex: 1;
}
.tool-detail-container .tool-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tool-detail-container .tool-desc {
    font-size: 14px;
    color: #475569;
    margin-top: 8px;
    line-height: 1.5;
}

.tool-detail-container .tool-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
}

.tool-detail-container .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-detail-container .tool-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.tool-detail-container .btn-visit {
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    color: #000000;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(22,132,228,0.2);
}

.tool-detail-container .btn-visit:hover {
    color: #000000;
    transform: translateY(-1px);
}

.tool-detail-container .tool-content {
    padding: 0 32px 32px;
}

.tool-detail-container .tool-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
    border-radius: 12px;
}

.tool-detail-container .tool-content p {
    color: #334155;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 16px;
}

.tool-detail-container .tool-content p:last-child {
    margin-bottom: 0;
}

.tool-detail-container .tool-content ul,
.tool-detail-container .tool-content ol {
    margin: 8px 0 16px 20px;
    color: #334155;
    line-height: 1.7;
}

.tool-detail-container .tool-content li {
    margin: 4px 0;
}

.tool-detail-container .tool-content h1,
.tool-detail-container .tool-content h2,
.tool-detail-container .tool-content h3,
.tool-detail-container .tool-content h4,
.tool-detail-container .tool-content h5,
.tool-detail-container .tool-content h6 {
    color: #0f172a;
    margin: 24px 0 12px;
    font-weight: 600;
}

.tool-detail-container .tool-content h1 { font-size: 28px; }
.tool-detail-container .tool-content h2 { font-size: 24px; }
.tool-detail-container .tool-content h3 { font-size: 20px; }
.tool-detail-container .tool-content h4 { font-size: 18px; }
.tool-detail-container .tool-content h5,
.tool-detail-container .tool-content h6 { font-size: 16px; }

.tool-detail-container .tool-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    overflow-x: auto;
    display: block;
}

.tool-detail-container .tool-content table th,
.tool-detail-container .tool-content table td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

.tool-detail-container .tool-content table th {
    background: #f8fafc;
    font-weight: 600;
}

.tool-detail-container .tool-content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    border-left: 4px solid #1684e4;
    background: #f8fafc;
    color: #334155;
}

.tool-detail-container .tool-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.tool-detail-container .tool-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 16px 0;
}

.tool-detail-container .tool-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

@media screen and (max-width: 768px) {
    .tool-detail-container {
        padding: 16px;
    }

    .tool-detail-container .tool-header {
        flex-direction: column;
        padding: 24px 20px 20px;
    }

    .tool-detail-container .tool-actions {
        flex-direction: row;
        margin-left: 0;
        margin-top: 8px;
    }

    .tool-detail-container .tool-content {
        padding: 0 20px 24px;
    }

    .tool-detail-container .tool-title {
        font-size: 24px;
    }

    .tool-detail-container .tool-desc {
        font-size: 14px;
    }

    .tool-detail-container .tool-meta {
        gap: 12px;
        font-size: 13px;
    }

    .tool-detail-container .btn-visit {
        padding: 8px 20px;
        font-size: 14px;
    }
}