/* 
 * 检测器组件样式覆盖 - V3.2.0
 * 解决 Blocksy 主题容器间距导致的顶部空白
 * 适用于检测独立页 (page-id-40)
 */

/* ========== 第1层：干掉 Blocksy 容器的 padding ========== */

/* Blocksy 通过 data-vertical-spacing 属性注入 padding-top */
body.page-id-40 [data-vertical-spacing*="top"] {
    padding-top: 0 !important;
}

/* Blocksy 的 .ct-container 和 .entry-content 可能有额外间距 */
body.page-id-40 .entry-content,
body.page-id-40 .site-main,
body.page-id-40 article {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* entry-content 的 block 间距也清零 */
body.page-id-40 .entry-content > *:first-child {
    margin-block-start: 0 !important;
}

/* ========== 第2层：隐藏 WordPress 页面标题「检测页」 ========== */

body.page-id-40 .entry-title,
body.page-id-40 .page-title,
body.page-id-40 h1.wp-block-post-title {
    display: none !important;
}

/* ========== 第3层：Full 模式检测器容器紧凑化 ========== */

body.page-id-40 #zjmail-domain-checker {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-40 .zj-checker.mode-full {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ========== 响应式 ========== */

@media (max-width: 999.98px) {
    body.page-id-40 [data-vertical-spacing*="top"] {
        padding-top: 0 !important;
    }
}
