/**
 * 特定页面修复样式
 * 专门用于修复示例页面和内容页的样式问题
 */

/* 示例页面特殊处理 */
.page-id-2 .site-footer,
.page-template-default.page .site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    background-color: #f5f5f5 !important;
    border-top: 3px solid #4CAF50 !important;
    padding: 40px 0 20px !important;
    margin-top: 40px !important;
    animation: none !important;
    transition: none !important;
}

/* 防止示例页面页脚闪烁 */
.page-id-2 .site-footer *,
.page-template-default.page .site-footer * {
    animation: none !important;
    transition: none !important;
}

/* 内容页特殊处理 */
.single-lineart .site-footer,
.single .site-footer,
.single-post .site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #f5f5f5 !important;
    border-top: 3px solid #4CAF50 !important;
    padding: 40px 0 20px !important;
    margin-top: 40px !important;
}

/* 确保内容页的头部样式正确 */
.single-lineart .site-header,
.single .site-header,
.single-post .site-header {
    padding: 0 !important;
    margin: 0 !important;
    background-color: #fff !important;
    border-bottom: 1px solid #eee !important;
}

/* 确保logo样式正确 */
.site-logo-img img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* 确保导航区域样式正确 */
.main-header-bar {
    padding: 0.5em 1em !important;
}

/* 防止页脚重复 */
.site-footer + .site-footer,
footer + footer,
#colophon + #colophon {
    display: none !important;
}
