/* ============================================================
   烟台三明网络 - 首页和特定页面优化样式
   ============================================================ */

/* ==================== 面包屑导航优化 ==================== */
.blog-show-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 106px;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

/* 案例展示 - 使用原始样式，不覆盖 */

/* ==================== 子页面标题统一样式（与首页.h-h2一致） ==================== */
.p-h2 {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: 2px;
    border-bottom: none;
}

.p-h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.p-h2 small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin-top: 8px;
    text-align: center;
    letter-spacing: 1px;
}

.p-h2 small aside {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

/* ==================== 地图图片优化 ==================== */
.y0 img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== 详情页统一样式 ==================== */
.detail-header {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: none;
}

.detail-header .p-h2 {
    margin-bottom: 0;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    font-size: 13px;
    color: #999;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    line-height: 1.9;
    color: #555;
    font-size: 15px;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
}

.detail-content h2,
.detail-content h3,
.detail-content h4 {
    color: #333;
    margin: 30px 0 15px 0;
}

/* ==================== 联系页面标题优化 ==================== */
.z30 .p-h2 small {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

/* 案例图片 - 使用原始样式，不覆盖 */

/* ==================== 响应式案例展示 - 使用原始样式 ==================== */

/* 加载状态 - 使用原始样式 */

/* 悬浮效果增强 - 使用原始样式 */

@keyframes borderAnimation {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

/* ==================== 按钮悬浮效果 ==================== */
.btn-primary-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary-modern:hover::after {
    opacity: 1;
}

/* ==================== 内容区域优化 ==================== */
#maximg {
    line-height: 2;
    color: #555;
}

#maximg h1,
#maximg h2,
#maximg h3,
#maximg h4,
#maximg h5,
#maximg h6 {
    color: #333;
    font-weight: 600;
    margin: 25px 0 15px;
}

#maximg h1 { font-size: 32px; }
#maximg h2 { font-size: 28px; }
#maximg h3 { font-size: 24px; }
#maximg h4 { font-size: 20px; }
#maximg h5 { font-size: 18px; }
#maximg h6 { font-size: 16px; }

#maximg p {
    margin-bottom: 20px;
    text-align: justify;
}

#maximg img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#maximg ul,
#maximg ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

#maximg li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ==================== 表格优化 ==================== */
#maximg table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

#maximg th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    padding: 15px;
    text-align: left;
}

#maximg td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

#maximg tr:hover td {
    background: #f8f9ff;
}

#maximg tr:last-child td {
    border-bottom: none;
}

/* ==================== 引用块优化 ==================== */
#maximg blockquote {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

/* ==================== 代码块优化 ==================== */
#maximg pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

#maximg code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

#maximg pre code {
    background: none;
    padding: 0;
    color: #f8f8f2;
}

/* ==================== 链接优化 ==================== */
#maximg a {
    color: #667eea;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

#maximg a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

#maximg a:hover::after {
    width: 100%;
}

/* ==================== 移动端优化 ==================== */
@media (max-width: 768px) {
    #maximg h1 { font-size: 24px; }
    #maximg h2 { font-size: 22px; }
    #maximg h3 { font-size: 20px; }
    #maximg h4 { font-size: 18px; }
    #maximg h5 { font-size: 16px; }
    #maximg h6 { font-size: 15px; }
    
    #maximg {
        font-size: 14px;
    }
    
    #maximg table {
        font-size: 13px;
    }
    
    #maximg th,
    #maximg td {
        padding: 10px;
    }
}
