/* 模板10 - 白卡居中通栏 */

/* ---------- 重置 ---------- */
.t10-body,
.t10-body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    font: inherit;
    list-style: none;
}

/* ---------- 页面底色 ---------- */
.t10-body {
    background: #f7f8fa;
    color: #333333;
    font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.88;
    -webkit-font-smoothing: antialiased;
}

.t10-body img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- 单页版心 ---------- */
.t10-column {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

/* ---------- 图片（卡片之外、卡片上方通栏） ---------- */
.t10-banner {
    display: block;
    width: 100%;
    margin: 0 0 26px;
    padding: 0;
    background: #e5e7eb;
}

.t10-banner-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
}

/* ---------- 内容白卡 ---------- */
.t10-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 52px 46px 46px;
    text-align: center;
}

/* ---------- 标题（居中） ---------- */
.t10-h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: 0.2px;
    color: #1f2328;
    margin: 0 0 26px;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---------- 关键标签（居中横排） ---------- */
.t10-tagrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 0 0 30px;
    padding: 0 0 26px;
    border-bottom: 1px solid #e5e7eb;
}

.t10-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #57606a;
    white-space: nowrap;
}

.t10-tag-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex: none;
}

.t10-tag-tx {
    letter-spacing: 0.3px;
}

/* ---------- 正文（居中排版，段落左对齐） ---------- */
.t10-body-tx {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
}

.t10-p {
    font-size: 16px;
    line-height: 1.88;
    color: #333333;
    margin: 0 0 22px;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.t10-p:last-child {
    margin-bottom: 0;
}

/* ---------- 按钮（通栏） ---------- */
.t10-acts {
    display: block;
    margin: 34px 0 0;
    padding: 0;
}

.t10-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #1f4e79;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.t10-btn:hover {
    background: #163a5a;
}

.t10-btn + .t10-btn {
    margin-top: 10px;
}

.t10-btn-line {
    background: #ffffff;
    color: #1f4e79;
    border: 1px solid #1f4e79;
}

.t10-btn-line:hover {
    background: #eef3f8;
}

/* ---------- 底部友链 ---------- */
.t10-links {
    display: block;
    margin: 30px 0 0;
    padding: 22px 26px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.t10-links-ttl {
    display: block;
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: #1f4e79;
}

.t10-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.t10-links-a {
    display: inline-block;
    font-size: 13px;
    line-height: 1.9;
    color: #8a8f98;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.t10-links-a:hover {
    color: #1f4e79;
    border-bottom-color: #1f4e79;
}

/* ---------- 窄屏适配 ---------- */
@media (max-width: 780px) {
    .t10-column {
        padding: 30px 16px 40px;
    }
    .t10-card {
        padding: 34px 22px 30px;
    }
    .t10-h1 {
        font-size: 24px;
        margin-bottom: 22px;
    }
    .t10-tagrow {
        gap: 8px 16px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
    .t10-banner {
        margin-bottom: 18px;
    }
    .t10-banner-img {
        max-height: 240px;
    }
}

@media (max-width: 420px) {
    .t10-card {
        padding: 26px 16px 24px;
    }
    .t10-h1 {
        font-size: 20px;
        line-height: 1.5;
    }
    .t10-tag-av {
        width: 24px;
        height: 24px;
    }
    .t10-btn {
        height: 46px;
        font-size: 14px;
    }
    .t10-links {
        padding: 18px 16px;
    }
}

/* ================================================================
   按钮统一配色与对齐（站点要求）
   背景红色 + 文字纯白色 + 一律居中
   ----------------------------------------------------------------
   说明：本段是"覆盖规则"，追加在各模板原有样式之后，
   配合 !important 覆盖各模板原本各不相同的按钮配色
   （原来有深蓝 #1f4e79 / 深绿 #1b5e20 / 深青 #0f5257 / 棕 #7a4b1e … 等多种）。
   要调整颜色只需要改这里的两个色值，不用去动上面原有的 CSS。
   若要恢复各模板原本的花色，把这整段删掉即可。
   标记：CTA-RED-CENTER
   ================================================================ */
.t01-btn,.t02-btn,.t03-link,.t04-key,.t05-go,.t06-btn,.t07-btn,.t08-btn,
.t09-btn,.t10-btn,.t11-btn,.t12-btn,.t13-btn,.t14-btn,.t15-btn,.t16-btn,
.t17-btn,.t18-btn,.t19-btn,.t20-btn,.t21-btn,.t22-btn,.t23-btn,.t23-btn2,
.t24-btn,.t25-btn,.t26-btn,.t27-btn,.t28-btn,.t28-btn2,.t29-btn,.t30-btn,
.t30-btn2,.t31-btn,.t32-btn,.t33-btn,.t34-btn,.t35-btn,.t36-btn,.t37-btn,
.t38-btn,.t39-btn,.t40-go,.t41-go,.t42-go,.t43-go,.t44-go,.t45-go,
.t46-btn,.t47-btn,.t48-btn,.t49-btn,.t50-btn,.km-btn,.ob-btn {
    background: #e53935 !important;
    background-color: #e53935 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #e53935 !important;
    text-align: center;
}
/* 悬停 / 聚焦 / 按下 一并压成同色系，避免出现"红底配绿色悬停"这类突兀效果 */
.t01-btn:hover,.t02-btn:hover,.t03-link:hover,.t04-key:hover,.t05-go:hover,
.t06-btn:hover,.t07-btn:hover,.t08-btn:hover,.t09-btn:hover,.t10-btn:hover,
.t11-btn:hover,.t12-btn:hover,.t13-btn:hover,.t14-btn:hover,.t15-btn:hover,
.t16-btn:hover,.t17-btn:hover,.t18-btn:hover,.t19-btn:hover,.t20-btn:hover,
.t21-btn:hover,.t22-btn:hover,.t23-btn:hover,.t23-btn2:hover,.t24-btn:hover,
.t25-btn:hover,.t26-btn:hover,.t27-btn:hover,.t28-btn:hover,.t28-btn2:hover,
.t29-btn:hover,.t30-btn:hover,.t30-btn2:hover,.t31-btn:hover,.t32-btn:hover,
.t33-btn:hover,.t34-btn:hover,.t35-btn:hover,.t36-btn:hover,.t37-btn:hover,
.t38-btn:hover,.t39-btn:hover,.t40-go:hover,.t41-go:hover,.t42-go:hover,
.t43-go:hover,.t44-go:hover,.t45-go:hover,.t46-btn:hover,.t47-btn:hover,
.t48-btn:hover,.t49-btn:hover,.t50-btn:hover,.km-btn:hover,.ob-btn:hover,
.t01-btn:focus,.t02-btn:focus,.t03-link:focus,.t04-key:focus,.t05-go:focus,
.t10-btn:focus,.t21-btn:focus,.t31-btn:focus,.t32-btn:focus,.t33-btn:focus,
.t34-btn:focus,.t35-btn:focus,.t41-go:focus,.t45-go:focus {
    background: #c62828 !important;
    background-color: #c62828 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #c62828 !important;
}
/* 按钮一律居中。
   注意：不能只写 margin-left/right:auto —— 那样对 display:inline-block 的元素无效
   （.t01-btn 这类就是 inline-block，父级又是 text-align:left，会被顶在左边）。
   所以这里用 display:block + width:fit-content + margin:auto 三件套，
   行内/行内块/块级三种写法都能稳稳居中，不依赖外面那层容器。
   标记：CTA-RED-CENTER */
.t01-btn,.t02-btn,.t03-link,.t04-key,.t05-go,.t06-btn,.t07-btn,.t08-btn,
.t09-btn,.t10-btn,.t11-btn,.t12-btn,.t13-btn,.t14-btn,.t15-btn,.t16-btn,
.t17-btn,.t18-btn,.t19-btn,.t20-btn,.t21-btn,.t22-btn,.t23-btn,.t23-btn2,
.t24-btn,.t25-btn,.t26-btn,.t27-btn,.t28-btn,.t28-btn2,.t29-btn,.t30-btn,
.t30-btn2,.t31-btn,.t32-btn,.t33-btn,.t34-btn,.t35-btn,.t36-btn,.t37-btn,
.t38-btn,.t39-btn,.t40-go,.t41-go,.t42-go,.t43-go,.t44-go,.t45-go,
.t46-btn,.t47-btn,.t48-btn,.t49-btn,.t50-btn,.km-btn,.ob-btn {
    display: block !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
