/* 秀水高中站主题补丁：旧站内联样式与轮播实现 */

/* 旧站基准字体（globals.css 的 body 规则无层级，会覆盖 @layer legacy） */
.sgz-site {
  color: #000;
  font-size: 12px;
  font-family: "宋体", Arial;
  line-height: 1.3;
  background-color: #ffffff;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 118, 246, 0.03),
    rgba(0, 118, 246, 0.03) 30px,
    transparent 30px,
    transparent 60px
  );
  background-attachment: fixed;
  min-height: 100vh;
}

/* 旧站首屏与导航之间留 26px（.col 本身 margin-top 10px） */
.sgz-home > .col:first-child {
  margin-top: 26px;
}

/* 旧站 CSS 基于 content-box，需覆盖 Tailwind preflight 的 border-box */
.sgz-site,
.sgz-site *,
.sgz-site *::before,
.sgz-site *::after {
  box-sizing: content-box;
}

.sgz-site .box {
  box-sizing: border-box;
}

.sgz-site .nav_menu,
.sgz-site .nav_menu li {
  overflow: visible;
}

.sgz-site #menu_nav li {
  position: relative;
}

.sgz-site #menu_nav dl {
  display: none;
  top: 60px;
  left: 0;
}

.sgz-site #menu_nav li:hover > dl {
  display: block;
}

/* 最新图文竖向轮播 */
.sgz-home .scroll_3035 {
  position: relative;
  width: 350px;
  height: 285px;
  overflow: hidden;
  border: 1px solid #cccccc;
}

.sgz-home .scroll_3035 .slider {
  position: absolute;
  top: 0;
  left: 0;
}

.sgz-home .scroll_3035 .slider li {
  width: 350px;
  height: 285px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.sgz-home .scroll_3035 .slider li > a,
.sgz-home .scroll_3035 .slider .stitle a,
.sgz-home .scroll_3035 .slider .summary a {
  text-decoration: none;
  color: inherit;
}

.sgz-home .scroll_3035 .slider img {
  display: block;
  width: 350px;
  height: 188px;
}

.sgz-home .scroll_3035 .slider .stitle {
  height: 25px;
  overflow: hidden;
  font-weight: 600;
  line-height: 25px;
  text-align: center;
  background: #f0f0f0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sgz-home .scroll_3035 .slider .summary {
  height: 66px;
  padding: 3px;
  overflow: hidden;
  line-height: 22px;
}

.sgz-home .scroll_3035 .num {
  position: absolute;
  right: 5px;
  bottom: 103px;
}

.sgz-home .scroll_3035 .num li {
  float: left;
  width: 16px;
  height: 16px;
  margin: 3px 1px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #ff7300;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ff7300;
  background-color: #ffffff;
}

.sgz-home .scroll_3035 .num li.on {
  width: 21px;
  height: 21px;
  margin: 0 1px;
  font-size: 16px;
  font-weight: bold;
  line-height: 21px;
  color: #ffffff;
  border: 0;
  background-color: #ff7300;
}

/* 学校影像 */
.sgz-home .head_vd_3112 {
  position: relative;
  width: 320px;
}

.sgz-home .head_vd_3112 .head_vd_frame {
  position: relative;
  width: 320px;
  height: 220px;
  overflow: hidden;
}

.sgz-home .head_vd_3112 .head_vd_frame img {
  display: block;
}

.sgz-home .head_vd_3112 .head_vd_frame .vd_play {
  position: absolute;
  z-index: 2;
  width: 60px;
  margin-top: 80px;
  margin-left: 130px;
}

.sgz-home .head_vd_3112 .head_vd_title {
  margin: 10px 2px 2px;
  font-size: 14px;
  font-weight: bold;
}

.sgz-home .head_vd_3112 .head_vd_summary {
  font-size: 12px;
  color: #999999;
  text-indent: 12px;
}

.sgz-home .head_vd_3112 .head_vd_summary .al {
  color: #ff6600;
}

/* 友情链接 */
.sgz-site .frindlink {
  height: auto;
  line-height: normal;
}

.sgz-site #friend_wre {
  margin-top: 10px;
  border: 1px solid #e4e4e4;
}

.sgz-site #friend_wre .friend_layer {
  margin: 0 10px;
  border-top: 1px dashed #dedede;
}

.sgz-site #friend_wre .friend_layer .each {
  float: left;
  padding: 5px 10px;
  line-height: 150%;
}

/* 旧站内页容器类名 .container 与 Tailwind 的 .container 工具类同名，会被限宽，这里按旧站还原 */
.sgz-inner .container {
  width: 1200px;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

/* 内页左侧栏目导航与中专站对齐：蓝色标题条 + 分隔行 + 当前栏目高亮 */
.sgz-inner .container .contain_left {
  width: 250px;
}

.sgz-inner .show_box_leftmenu .sb1_head {
  background: url(skin/school100/cms/sb1_head.png) no-repeat;
  height: 68px;
  line-height: 68px;
  text-align: center;
  font-size: 18px;
  color: #fff;
}

.sgz-inner .show_box_leftmenu .sb1_head a {
  margin: auto;
  color: #fff;
  display: block;
  font-size: 24px;
}

.sgz-inner .show_box_leftmenu .sb1_main {
  padding: 0;
  min-height: 30px;
  border: #e8e8e8 1px solid;
  border-bottom: none;
}

.sgz-inner .show_box_leftmenu .sb1_bottom {
  height: 0;
}

.sgz-inner .show_box_leftmenu .tabs li {
  width: 248px;
  background: url(skin/school100/cms/tab.png) no-repeat;
  height: 49px;
  line-height: 49px;
  border-bottom: #e8e8e8 1px solid;
}

.sgz-inner .show_box_leftmenu .tabs li a {
  padding-left: 20px;
  color: #333;
  display: block;
  height: 50px;
  line-height: 50px;
  text-decoration: none;
}

.sgz-inner .show_box_leftmenu .tabs li a:hover {
  color: #0072c9;
  background: url(skin/school100/cms/tab_hover.png) no-repeat;
}

.sgz-inner .show_box_leftmenu li.thistab {
  background: url(skin/school100/cms/tab_hover.png) no-repeat;
}

.sgz-inner .show_box_leftmenu li.thistab a {
  color: #0072c9;
}

/* 正文图片：限宽并居中；带 float 的内联样式仍按原样浮动 */
.sgz-site .layout_txtcontent_content img {
  display: block;
  margin: 1em auto;
  max-width: 100%;
  height: auto;
}
