
@CHARSET "UTF-8";
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #F6F6F6;
    background-image: url('/skin/js_zhengshu/images/zhengshu_bg-line.png');
    background-repeat-y: no-repeat;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.content-wrap-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px 10px;
}
.content {
	width: 100%;
}
.container {
	width: 100%;
	max-width: 750px;
	margin: 2rem auto;
	padding-top: 2rem;
	border-radius: 8px;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.view_top {
	text-align: center;
	flex-shrink: 0;
	border-bottom: 2px solid #CACDD1;
	padding-bottom: 2rem;
	width: 100%;
	max-width: 700px;
	margin: 1rem auto;
}
.view_top>img:first-child {
	height: 150px;
	max-width:100%;
}
.view_top>img:last-child {
	height: 88px;
	max-width:100%;
}
.cert_box {
	width: 100%;
	max-width: 700px;
	margin: 2rem auto;

}
.cert_box>p, .cert_box>h3 {
	display: block;
	text-align: center;
}
.cert_box>h3 {
	font-weight: 600;
	color: red;
	font-size: 22px;
	letter-spacing: 6px;
}
.cert_box>p {
	line-height: 40px;
	font-size: 16px;
}

.cert_top{
    margin-top: 90px;
    width: 100%;
    text-align: center;
}

.cert_top p{
    font-size: 38px;
    font-weight: 700; /* 去掉px，改成700，更粗 */
    font-family: "宋体", serif;
}

.cert_top>p span{
    margin-top: 10px;
    font-size: 26px;
    font-weight: 600px;
    font-family: "黑体", serif;
    color: red;    
}

.cert_top_jieye{
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.cert_top_jieye p{
    font-size: 35px;
    font-weight: 600px;
    font-family: "黑体", serif;
    color: red;
}

.cert_top_jieye>p span{
    margin-top: 10px;
    font-size: 26px;
    font-weight: 600px;
}


.btns {
    text-align: center;
  	margin: 2rem auto;
	width: 100%;
	max-width: 650px;
    display: flex;
    flex-wrap: wrap;
    gap:12px;
    justify-content:center;
}
.btns>a {
	border: 1px solid #016DD9;
	background-color: #016DD9;
	color: #FFFFFF;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
}
.btns>a:first-child {
	background-color: #FFFFFF;
	color: #016DD9;
	font-weight: 600;
}
.btns>a>img {
	width: 28px;
	height: 28px;
	vertical-align: middle;
	margin-right: 4px;
	margin-top: -4px;
}
#cert_info {
	width: 100%;
    /* PC最大证书尺寸，手机自动缩放 */
	max-width: 700px;
    /* 证书宽高比例固定，保证背景图不变形 */
    aspect-ratio: 700 / 969;
	background-image: url(/skin/js_zhengshu/images/zhengshu_bg.jpg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: relative;
	padding: clamp(20px,5vw,36px) clamp(16px,4vw,30px) 0 clamp(20px,5vw,40px);
}
#cert_info .cart_name {
	font-size: clamp(18px,4vw,28px);
	font-weight: 600;
	text-align: center;
	margin-bottom: 1rem;
}
.user_info, .user_img {
	display: inline-block;
	vertical-align: top;
	/* 基于证书容器高度，原证书高969px，顶部留白250px ≈ 25.8% */
	padding-top:8%;
}
.user_info {
	width: 100%;
	max-width: 420px;
	padding-left: clamp(20px,5vw,66px);
}
.user_img {
	width: 100%;
	max-width: 150px;
}
.user_img>img {
	border: 1px solid #EEEEEE;
	width: 100%;
	max-width:130px;
	height: auto;
}
.user_info>p {
	font-size: clamp(13px, 2vw, 16px);
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}
.user_info>p>span {
	font-size: inherit;
	color: red;
}
.intro {
	width: 100%;
	max-width: 500px;
	margin: 2rem auto;
	text-indent: 2rem;
	font-size: clamp(13px,2vw,16px);
	font-weight: 600;
	line-height: 30px;
	min-height: 100px;
}
.cert_code, .cert_unit,.cert_nopass {
	vertical-align: top;
	display: inline-block;
}
.cert_nopass {
    width: 100%;
    max-width: 300px;
    height: auto;
    color: #fff;
    text-align: center;
    line-height: 200px;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cert_nopass>img {
	height: auto;
	width: 100%;
	max-width: 300px;
	display: inline-block;
}
.cert_code {
	text-align: center;
	width: 100%;
	max-width: 300px;
}
.cert_code>img {
	height: auto;
	width: 100%;
	max-width:150px;
	display: inline-block;
}
.cert_code>p {
	font-size: clamp(12px,2vw,14px);
}
.cert_unit {
	font-size: clamp(13px,2vw,16px);
	font-weight: 600;
	width: 100%;
	max-width: 300px;
	margin-top: 36px;
}
.cert_unit>div {
	margin-bottom: 6px;
}
.cert_unit>div img {
	width: 100%;
	max-width:150px;
	height: auto;
}
.cert_unit>div span {
	margin-right: 6px;
	margin-bottom: 26px;
}

/* 公章浮动定位：放在发证单位右边，可随时调整位置 */
.cert_seal_fixed {
    position: absolute;
    top: 700px;
    left: 410px;          /* 相对于 cert_unit 左边的距离，控制左右位置 */
    z-index: 10;
}

.cert_seal_fixed img {
    width: 140px;         /* 公章大小，可按需调整 */
    height: auto;
    display: block;
}

/* 发证单位行样式 */
.cert-unit-row {
    position: relative;
    margin-bottom: 6px;
    font-size: clamp(13px,2vw,16px);
    font-weight: 600;
}

.code{
	width:100% !important;
	max-width:160px !important;
	height: auto !important;
	margin-left: 0px;
	margin-top: -50px;
}

/* ========== 响应式媒体查询 ========== */
/* 平板 */
@media screen and (max-width:768px){
    .container{
        padding-left:10px;
        padding-right:10px;
    }
}
/* 手机端 */
@media screen and (max-width:480px){
    .btns>a{
        font-size:14px;
        padding:6px 10px;
    }
}
/* ========== 打印样式 ========== */
@media print {
    .btns {
        display: none !important;
    }
    body{
        background:none;
    }
}
