@charset "utf-8";
/* =====================================================================
  联系我们 · 校区 移动端样式
  设计基准：750 设计稿（配合 js/setfontsize.js，html 字号 100px）
  覆盖页面：contact_school_all / contact_school_others / contact_article
  ===================================================================== */

/* ---------- 通用小标题栏（校区列表页） ---------- */
.sc-hd {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.22rem 0.14rem 0.12rem;
}

.sc-hd h2 {
    margin: 0;
    padding: 0 0 0 0.18rem;
    position: relative;
    font-size: 0.34rem;
    line-height: 0.42rem;
    color: #1d2129;
    font-weight: 700;
}

.sc-hd h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -0.11rem;
    width: 0.06rem;
    height: 0.22rem;
    border-radius: 0.03rem;
    background: #e60012;
}

.sc-hd span {
    font-size: 0.22rem;
    color: #98a1ad;
}

/* 无校区空状态 */
.school-empty {
    display: none;
    margin: 0 0.12rem;
    padding: 0.9rem 0.5rem;
    text-align: center;
    font-size: 0.28rem;
    line-height: 0.48rem;
    color: #8a8f99;
}

.school-empty a {
    color: #007aff;
}

/* ===== 省份/校区快捷导航 star（块状面板，单位 rem） ===== */
.province-list {
    margin: 0.12rem 0.12rem 0.12rem;
    padding: 0.08rem;
    background: #ffffff;
    border-radius: 0.1rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    zoom: 1;
}

.province-list .province-item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: calc(25% - 0.12rem);
    margin: 0.06rem;
    display: block;
    height: 0.66rem;
    line-height: 0.66rem;
    text-align: center;
    background: #f2f4f8;
    color: #5a6270;
    font-size: 0.28rem;
    font-weight: 400;
    border-radius: 0.08rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: background-color .2s ease, color .2s ease;
    transition: background-color .2s ease, color .2s ease;
}

.province-list .province-item:hover {
    background: #e6ebf3;
    color: #1d2129;
}

.province-list .province-item:active {
    opacity: .85;
}

/* 当前所在城市高亮（DedeCMS currentstyle 输出 active 类） */
.province-list .province-item.active,
.province-list .province-item.cur {
    background: #007aff;
    color: #ffffff;
    font-weight: 700;
}

/* 适配：极小屏每行 3 个 */
@media (max-width: 480px) {
    .province-list .province-item {
        width: calc(33.3333% - 0.12rem);
    }
}

/* ===== 省份/校区快捷导航 end ===== */


/* ===== 校区列表 star（左图右文卡片，单位 rem） ===== */
.school-list {
    padding: 0.06rem 0.12rem 0;
    min-height: 4rem;
}

.school-list li {
    margin-bottom: 0.12rem;
    background: #ffffff;
    border-radius: 0.1rem;
    padding: 0.14rem;
    box-shadow: 0 0.02rem 0.06rem rgba(24, 37, 56, 0.05);
    text-align: left;
}

/* 整卡即外层 <a>：点击卡片任意位置直接进入校区详情 */
.school-list li .school-card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    overflow: hidden;
    color: #5a6270;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.school-list li .school-card:active .school-info h3 {
    color: #007aff;
}

.school-list li .school-card:active .school-info .school-txt {
    opacity: .7;
}

/* 左侧图 */
.school-list li .school-pic {
    position: relative;
    display: block;
    width: 2.5rem;
    min-width: 2.5rem;
    border-radius: 0.08rem;
    overflow: hidden;
    background: #f2f3f5;
}

.school-list li .school-pic img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

/* 右侧信息 */
.school-list li .school-info {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    margin-left: 0.16rem;
    padding-top: 0.02rem;
}

.school-list li .school-info h3 {
    margin: 0;
    padding: 0;
    font-size: 0.32rem;
    line-height: 0.44rem;
    color: #1d2129;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.school-list li .school-info .school-addr {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    margin: 0.06rem 0 0;
    padding: 0;
    font-size: 0.22rem;
    line-height: 0.32rem;
    color: #8a8f99;
}

.school-list li .school-info .school-addr b {
    font-weight: 400;
}

.school-list li .school-info .school-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0.18rem 0 0;
    padding: 0;
    font-size: 0.24rem;
    line-height: 0.32rem;
    color: #5a6270;
}

.school-list li .school-info .school-row .c-ico {
    width: 0.26rem;
    height: 0.26rem;
    margin-right: 0.08rem;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 0.26rem;
    -ms-flex: 0 0 0.26rem;
    flex: 0 0 0.26rem;
}

.school-list li .school-info .school-row .school-txt {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #5a6270;
    overflow: hidden;
    white-space: nowrap;
}

.school-list li .school-info .school-row .school-txt .school-addr-txt {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1d2129;
}

.school-list li .school-info .school-row b {
    margin-left: 0.04rem;
    font-weight: 700;
    color: #e60012;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 校区列表 end ===== */


/* ===== 校区详情 star（单位 rem） ===== */
.sc-detail {
    background: #f2f3f5;
    padding: 0.12rem;
    font-size: 0.28rem;
    color: #333333;
}

/* 校区信息卡 */
.sc-info {
    background: #ffffff;
    border-radius: 0.1rem;
    padding: 0.16rem 0.16rem 0.2rem;
    margin-bottom: 0.12rem;
    box-shadow: 0 0.02rem 0.06rem rgba(24, 37, 56, 0.05);
}

.sc-info .sc-pic {
    display: block;
    border-radius: 0.08rem;
    overflow: hidden;
    margin-bottom: 0.16rem;
    background: #e9ebee;
}

.sc-info .sc-pic img {
    display: block;
    width: 100%;
    height: 4rem;
    object-fit: cover;
    border: none;
}

.sc-info .sc-name {
    margin: 0 0 0.02rem;
    padding: 0;
    font-size: 0.36rem;
    line-height: 0.5rem;
    color: #1d2129;
    font-weight: 900;
}



.sc-info .sc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 0.25rem;
}

.sc-info .sc-list li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-top: 0.12rem;
    font-size: 0.26rem;
    line-height: 0.38rem;
    color: #4a4a4a;
}

/* 图标列固定宽度，保证三行对齐 */
.sc-info .sc-list .sc-ic {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 0.3rem;
    -ms-flex: 0 0 0.3rem;
    flex: 0 0 0.3rem;
    width: 0.3rem;
    height: 0.3rem;
    margin: 0.05rem 0.1rem 0 0;
    border: none;
}

/* 地址小图标（CSS 绘制定位点，与右侧图标行保持对齐：图标宽 .3 + 右距 .1） */
.sc-info .sc-list .sc-pin {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: relative;
    width: 0.22rem;
    height: 0.22rem;
    margin: 0.05rem 0.18rem 0 0;
    background: #ff6b2b;
    border-radius: 50% 50% 50% 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.sc-info .sc-list .sc-pin:after {
    content: "";
    position: absolute;
    left: 0.06rem;
    top: 0.06rem;
    width: 0.1rem;
    height: 0.1rem;
    background: #ffffff;
    border-radius: 50%;
}

.sc-info .sc-list .sc-txt {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.sc-info .sc-list .sc-tel {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    color: #4a4a4a;
    text-decoration: none;
}

.sc-info .sc-list .sc-tel:active {
    opacity: .7;
}

.sc-info .sc-list .sc-tel em {
    font-style: normal;
    color: #e60012;
    font-weight: 700;
}

/* 电话 / 咨询按钮 */
.sc-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-top: 0.2rem;
}

.sc-actions a {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: block;
    height: 0.78rem;
    line-height: 0.78rem;
    text-align: center;
    font-size: 0.3rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.08rem;
}

.sc-actions a:first-child {
    background: #007aff;
    margin-right: 0.12rem;
}

.sc-actions a:last-child {
    background: #e60012;
}

.sc-actions a:active {
    opacity: .82;
}

/* 校区详情正文 */
.sc-article {
    background: #ffffff;
    border-radius: 0.1rem;
    padding: 0.16rem;
    box-shadow: 0 0.02rem 0.06rem rgba(24, 37, 56, 0.05);
}

.sc-article .sc-article-title {
    margin-top: 0.10rem;
    padding-bottom: 0.12rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.12rem;
}

.sc-article .sc-article-title h3 {
    margin: 0;
    font-size: 0.32rem;
    line-height: 0.42rem;
    color: #1d2129;
    font-weight: 900;
    border-left: 0.05rem solid #007aff;
    padding: 0.01rem 0 0.01rem 0.12rem;
}

.sc-body {
    word-break: break-word;
    overflow: hidden;
    font-size: 0.28rem;
    line-height: 0.48rem;
    color: #333333;
}

.sc-body p {
    margin: 0;
    padding: 0.06rem 0;
}

.sc-body img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    margin: 0.14rem auto;
    border-radius: 0.06rem;
}

.sc-body h1,
.sc-body h2,
.sc-body h3,
.sc-body h4,
.sc-body h5 {
    margin: 0.12rem 0 0.06rem;
    padding: 0;
    color: #1d2129;
    font-weight: 700;
    line-height: 1.4;
}

.sc-body h3 {
    font-size: 0.32rem;
}

.sc-body h4 {
    font-size: 0.3rem;
}

.sc-body strong,
.sc-body b {
    color: #1d2129;
}

.sc-body a {
    color: #007aff;
}

.sc-body ul,
.sc-body ol {
    margin: 0.06rem 0;
    padding-left: 0.34rem;
}

.sc-body li {
    padding: 0.02rem 0;
}

/* 后台“课程亮点 / 环境 / 师资”等分块卡片化（后台编辑器可按此 class 排版） */
.sc-body .body-item {
    margin-bottom: 0.14rem;
    padding: 0.1rem 0;
}

.sc-body .body-item:not(:first-child) {
    border-top: 1px dashed #eceef1;
}

.sc-body .body-item .item-label {
    font-size: 0.3rem;
    line-height: 0.4rem;
    color: #1d2129;
    font-weight: 700;
}

.sc-body .body-item .item-label strong {
    /* color: #007aff;
  font-weight: 900; */
}

.sc-body .body-item .item-main {
    margin-top: 0.04rem;
}

/* 返回/预约操作条 */
.sc-footer-bar {
    margin-top: 0.12rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.sc-footer-bar a {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: block;
    height: 0.82rem;
    line-height: 0.82rem;
    text-align: center;
    font-size: 0.3rem;
    color: #ffffff;
    background: #ff6b2b;
    text-decoration: none;
    border-radius: 0.08rem;
    box-shadow: 0 0.03rem 0.08rem rgba(255, 107, 43, 0.28);
}

.sc-footer-bar a:last-child {
    background: #e60012;
    margin-left: 0.12rem;
    box-shadow: 0 0.03rem 0.08rem rgba(230, 0, 18, 0.22);
}

.sc-footer-bar a:active {
    opacity: .82;
}

/* ===== 校区详情 end ===== */


/* ===== 美迪教育总览（PC overview-box 移动端版）star =====
   设计基准：750 设计稿（html 字号 100px）
   - 顶部品牌区：标题 + 副标题 + 主题色蓝色短杠
   - 详情列表：4 行（学校名称 / 总部地址 / 美迪官网 / 全国官方电话）
   - 不包含 PC 端的二维码区
   - 图标：内联 SVG，主题色蓝/红，与现有移动端主题色一致
   - 符合 GEO / SEO：使用 schema.org EducationalOrganization 微数据
   ============================================================ */
.ov-box {
    margin: 0.12rem 0.12rem 0.12rem;
    background: #ffffff;
    border-radius: 0.1rem;
    padding: 0.24rem 0.24rem 0.2rem;
    box-shadow: 0 0.02rem 0.06rem rgba(24, 37, 56, 0.05);
}

.ov-head {
    position: relative;
    padding-bottom: 0.2rem;
    margin-bottom: 0.14rem;
    border-bottom: 0.01rem solid #f0f0f0;
}

.ov-title {
    margin: 0;
    padding: 0;
    font-size: 0.42rem;
    line-height: 0.5rem;
    color: #1d2129;
    font-weight: 900;
}

.ov-title::after {
    content: "";
    display: block;
    width: 0.46rem;
    height: 0.04rem;
    background: #007aff;
    border-radius: 0.02rem;
    margin-top: 0.14rem;
}

.ov-subtitle {
    margin: 0.2rem 0 0;
    padding: 0;
    font-size: 0.24rem;
    line-height: 0.34rem;
    color: #8a8f99;
}

.ov-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ov-item {
    display: flex;
    align-items: flex-start;
    padding: 0.16rem 0;
    border-bottom: 0.01rem solid #f2f4f8;
    font-size: 0.26rem;
    line-height: 0.4rem;
    color: #5a6270;
}

.ov-item:last-child {
    border-bottom: none;
}

.ov-ico {
    flex: 0 0 0.36rem;
    width: 0.36rem;
    height: 0.36rem;
    margin: 0.02rem 0.14rem 0 0;
    background: rgba(0, 122, 255, 0.08);
    color: #007aff;
    border-radius: 0.06rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ov-ico svg {
    display: block;
    width: 0.24rem;
    height: 0.24rem;
}

.ov-key {
    flex: 0 0 auto;
    color: #8a8f99;
    white-space: nowrap;
}

.ov-val {
    flex: 1;
    min-width: 0;
    color: #1d2129;
    word-break: break-all;
    overflow-wrap: break-word;
}

a.ov-link {
    color: #007aff;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a.ov-link:active {
    opacity: .7;
}

.ov-tel {
    color: #e60012;
    font-weight: 700;
}

/* 适配：极小屏（<320px）收紧内边距 */
@media (max-width: 320px) {
    .ov-box {
        padding: 0.2rem 0.18rem 0.16rem;
    }
    .ov-title {
        font-size: 0.36rem;
        line-height: 0.44rem;
    }
    .ov-key {
        font-size: 0.24rem;
    }
}

/* ===== 美迪教育总览 end ===== */