/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://balstar.com.cn/
Description: 子主题，用于隐藏页脚中的 WordPress 标识。
Author: Balstar
Author URI: https://balstar.com.cn/
Template: twentytwentyfive
Version: 1.0.0
*/

/* 更精确地隐藏父主题页脚（可视具体类名调整） */
footer.wp-block-group .site-info {
    display: none !important;
}

/* 兼容性更高的通配方式隐藏 WordPress 文字 */
footer.wp-block-group p {
    font-size: 0 !important;
}
footer.wp-block-group p::before {
    content: '' !important;
}

/* 隐藏页眉中的站点标题和副标题 */
.site-title, 
.site-description {
    display: none !important;
}

/* Logo 样式（含顶部悬浮固定） */
.custom-header-logo {
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo 图片自适应 */
.custom-header-logo img {
    max-height: 80px;
    max-width: 300px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* 包裹链接样式 */
.custom-header-logo a {
    display: inline-block;
    text-decoration: none;
}

/* 移动端优化：缩小 Logo 高度 */
@media (max-width: 768px) {
    .custom-header-logo {
        padding: 8px 0;
    }
    .custom-header-logo img {
        max-height: 60px;
    }
}
