/* Shortcodes Ultimate 短代码样式 - 高优先级版本（覆盖主题样式） */
/* Shortcodes Ultimate 短代码样式（从Shortcodes Ultimate源代码提取，确保渲染效果一致） */

/* 通用工具类 */
.su-u-clearfix::after{content:"";display:table;clear:both}
.su-u-trim>:first-child{margin-top:0}
.su-u-trim>:last-child{margin-bottom:0}

/* 注释框样式 */
.su-note{margin:0 0 1.5em;border-width:1px;border-style:solid}
.su-note-inner{padding:1em;border-width:1px;border-style:solid}

/* 按钮样式 - 关键：display:inline-block 确保按钮横排（增强优先级，覆盖主题样式） */
body .su-button,
.su-note .su-button,
a.su-button{display:inline-block!important;text-align:center;text-decoration:none!important;box-sizing:content-box!important;transition:all .2s;margin:0 .3em .3em 0;vertical-align:middle;float:none!important}
.su-button-wide{display:block!important;margin:1em 0}
.su-button-center{text-align:center}
body .su-button span,
.su-note .su-button span{display:block!important;text-decoration:none!important;box-sizing:content-box!important;transition:all .2s;white-space:nowrap}
.su-button img{border:none!important;vertical-align:middle!important;margin:-.2em .4em 0 -.3em!important;box-shadow:none!important}
body .su-button i,
.su-note .su-button i{display:inline-block!important;width:1em;height:1em;margin:0 .5em 0 0!important;text-align:center;line-height:1em;vertical-align:middle;font-style:normal}
.su-button.su-button-float-icon img{margin:0 .5em!important}
.su-button small{display:block;margin:-.2em 0 0;color:inherit;text-align:center;font-style:normal;font-size:.8em;line-height:1;opacity:.7}

/* 按钮风格 - default */
.su-button-style-default{border-width:1px;border-style:solid}
.su-button-style-default:hover{opacity:.7}
.su-button-style-default span{border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid}

/* 按钮风格 - flat（用户常用） */
.su-button-style-flat,.su-button-style-flat span{border:none}
.su-button-style-flat span{position:relative}
.su-button-style-flat:hover span{top:1px}

/* 按钮风格 - ghost */
.su-button-style-ghost{background:0 0!important}
.su-button-style-ghost span{border-width:3px;border-style:solid}
.su-button-style-ghost:hover span{border-color:inherit!important}

/* 按钮风格 - soft */
.su-button-style-soft span{background:0 -20px repeat-x}
.su-button-style-soft:hover span{background:0 0 repeat-x}

/* 按钮风格 - 3d */
.su-button-style-3d{border-bottom-style:solid;border-bottom-width:6px}
.su-button-style-3d span{border-bottom-style:solid;border-bottom-width:1px}
.su-button-style-3d:hover{position:relative;top:3px;border-bottom-width:3px}

/* 按钮风格 - stroked */
.su-button-style-stroked span{margin:1px;border:1px dashed #fff!important}
.su-button-style-stroked:hover span{opacity:.7}

/* 响应式 */
@media screen and (max-width:768px){
    .su-button span{padding-top:.25em!important;padding-bottom:.25em!important;line-height:1.2!important}
    .su-button small{margin-top:.2em!important}
}


/* 减小su_note区块中标题的上边距，紧贴框框 */
.su-note-inner h1,
.su-note-inner h2,
.su-note-inner h3,
.su-note-inner h4,
.su-note-inner h5,
.su-note-inner h6 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding-top: 0 !important;
}

/* 确保su-note-inner没有多余的上内边距 */
.su-note-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
