/* 首页和信息公开栏目首页的手机样式 */
@media (max-width: 767px) {
  /* 首页 */
  body { width: auto !important; min-width: 0 !important; }
  .jw-container-i, .jw-container-i .header { width: 100%; min-width: 0; }
  .jw-container-i img { max-width: 100%; }
  .jw-container-i .panel-width { width: auto !important; max-width: 100%; }
  .jw-container-i > .panel-width { padding: 0 12px; }

  .jw-container-i #top { display: none; }
  .jw-container-i .header .wide-logo {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 12px;
    background: #2153ad !important;
  }
  .jw-container-i .header .wide-logo .logo {
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
    background: none;
  }
  .jw-container-i .header .wide-logo .logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 49px;
  }
  .jw-container-i .wide-logo .flas { display: none; }

  .jw-container-i .wide-navigation {
    display: block;
    height: auto;
    background: #f3f7fc;
    border-bottom: 1px solid #dce6f1;
  }
  .jw-container-i .wide-navigation .list_top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    margin: 0;
    padding: 4px 8px;
    background: none;
  }
  .jw-container-i .wide-navigation li { display: none; }
  .jw-container-i .wide-navigation li:nth-child(odd) {
    display: block;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .jw-container-i .wide-navigation li a {
    display: block;
    margin: 0;
    padding: 0;
    color: #174580;
    font-size: 15px;
    line-height: 44px;
  }

  .jw-container-i .topnews {
    height: auto !important;
    padding: 10px 0;
    background-size: cover;
  }
  .jw-container-i .topnews .tt_y,
  .jw-container-i .topnews .tt_y li,
  .jw-container-i .topnews .tt_y li a {
    width: auto !important;
    white-space: normal;
    line-height: 1.5;
  }
  .jw-container-i .topnews .tt_y li a { font-size: 19px !important; }

  .jw-container-i :is(.wide-main, .wide-focusBox, .news-list, .i-news, .i-report,
                     .df-work, .educate-l, .educate-r, .fg-hd, .mtjj, .duanshipin,
                     .sfjbc, .ztlist, .con-list, .gongzuodongtai) {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
  }
  .jw-container-i .wide-main > :is(.i-report, .news-list) { margin-top: 14px !important; }
  .jw-container-i .news-list { overflow: visible !important; }
  .jw-container-i .newsFir {
    box-sizing: border-box;
    width: 100% !important;
    padding: 0;
  }
  .jw-container-i .newsFir ul { width: auto !important; padding: 0; }
  .jw-container-i .newsFir li a { font-size: 16px !important; }
  .jw-container-i :is(.newsFir, .con-list, .gongzuodongtai, .list) li {
    height: auto;
    min-height: 34px;
    line-height: 1.6;
  }
  .jw-container-i :is(.newsFir, .con-list, .gongzuodongtai, .list) li a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .jw-container-i .wide-focusBox .content {
    position: relative;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 605 / 375;
  }
  .jw-container-i .wide-focusBox .changeDiv a,
  .jw-container-i .wide-focusBox .changeDiv img {
    width: 100% !important;
    height: 100% !important;
  }
  .jw-container-i .wide-focusBox .changeDiv img { display: block; object-fit: cover; }
  .jw-container-i .wide-focusBox .changeDiv a:first-child { display: block; }
  .jw-container-i .wide-focusBox :is(.title-bg, .title) { width: 100% !important; }
  .jw-container-i .wide-focusBox .title a {
    padding: 0 95px 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }
  .jw-container-i .wide-focusBox .change i { padding: 0 5px; }

  .jw-container-i :is(.wide-banner, .sfjbc) img { height: auto !important; }
  .jw-container-i .wide-banner > a { float: none !important; }
  .jw-container-i .duanshipin .tit_bg { width: 100%; }
  .jw-container-i .yq-links {
    height: auto;
    margin: 16px 0 20px;
    padding: 8px;
    border: 1px solid #dce6f1;
    border-radius: 8px;
    background: #fff;
  }
  .jw-container-i .yq-links h3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    height: auto;
    margin: 0 0 8px;
  }
  .jw-container-i .yq-links h3 span { display: none; }
  .jw-container-i .yq-links h3 a {
    display: grid;
    place-items: center;
    float: none;
    min-height: 44px;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background: #f3f7fc;
    color: #174580;
    font-size: 14px;
    line-height: 1.4;
  }
  .jw-container-i .yq-links h3 a.hover,
  .jw-container-i .yq-links h3 a.hover:hover {
    border: 0;
    background: #2153ad;
    color: #fff;
  }
  .jw-container-i .yq-links .news-link { margin: 0; padding: 0; }
  .jw-container-i .yq-links .news-link li {
    display: inline-block;
    float: none;
    max-width: 100%;
    padding: 0;
    vertical-align: top;
  }
  .jw-container-i .yq-links .news-link a {
    display: block;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .jw-container-i .jw-footer .footer { width: auto; height: auto; padding: 12px; }
  .jw-container-i .jw-footer .footer .right { top: auto !important; width: 100%; }

  /* 信息公开栏目首页 */
  .jw-container, .jw-container .header { width: 100%; min-width: 0; }
  .jw-container .panel-width { width: auto; max-width: 100%; }
  .jw-container img { max-width: 100%; }

  .jw-container .header .wide-logo {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 12px;
    background: #2153ad !important;
  }
  .jw-container .header .wide-logo .logo {
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
    background: none;
  }
  .jw-container .header .wide-logo .logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 49px;
  }
  .jw-container .wide-logo .flas { display: none; }

  .jw-container .wide-navigation {
    display: block;
    height: auto;
    background: #f3f7fc;
    border-bottom: 1px solid #dce6f1;
  }
  .jw-container .wide-navigation .panel-width {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    margin: 0;
    padding: 4px 8px;
    background: none;
  }
  .jw-container .wide-navigation li { display: none; }
  .jw-container .wide-navigation li:nth-child(odd) {
    display: block;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .jw-container .wide-navigation li a {
    display: block;
    margin: 0;
    padding: 0;
    color: #174580;
    font-size: 15px;
    line-height: 44px;
  }

  .jw-container .article_main { width: auto; padding: 0 12px; }
  .jw-container .xxgk-box {
    box-sizing: border-box;
    width: 100%;
    margin: 14px auto 20px;
    padding: 0 12px 12px;
    border-color: #dce6f1;
    border-radius: 8px;
    box-shadow: none;
  }
  .jw-container .xxgk-box .title {
    height: auto;
    margin: 0;
    padding: 13px 0;
    color: #174580;
    background: none;
    text-indent: 0;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
  }
  .jw-container .xxgk-box .info-list {
    display: block;
    padding: 0;
    overflow: visible;
  }
  .jw-container .xxgk-box .info-list ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
  }
  .jw-container .xxgk-box .info-list li {
    box-sizing: border-box;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    border-color: #dce6f1;
    background: #f6f9fd;
  }
  .jw-container .xxgk-box .info-list li a {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100px;
    padding: 6px;
    color: #174580;
  }
  .jw-container .xxgk-box .info-img {
    flex-shrink: 0;
    margin: -17px 0;
    transform: scale(.62);
  }
  .jw-container .xxgk-box .info-name {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.4;
  }
  .jw-container + .jw-footer .footer { box-sizing: border-box; width: 100%; height: auto; }
  .jw-container + .jw-footer .footer .right { top: auto !important; width: 100%; }
  .jw-container + .jw-footer img { max-width: 100%; height: auto; }
  .jw-container + .jw-footer p { overflow-wrap: anywhere; }

  /* 信息公开的二级栏目、名单和详情 */
  .jw-container > .panel-width > .list_top {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 40px;
    padding: 8px 10px;
  }
  .jw-container > .panel-width > .list_top .location {
    float: none;
    padding: 0;
    background: none;
    font-size: 13px;
    line-height: 1.6;
  }
  .jw-container .article_main .lcont,
  .jw-container .article_main .lcont .rlist {
    box-sizing: border-box;
    display: block;
    float: none;
    width: 100%;
    min-width: 0;
    padding: 0;
  }
  .jw-container .article_main .lcont .rlist { margin-left: 0; }
  .jw-container .article_main .xxgk-left {
    float: none;
    width: 100%;
    height: auto;
    margin: 10px 0 14px;
    padding: 0;
    background: none;
  }
  .jw-container .xxgk-left ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
    padding: 0;
  }
  .jw-container .xxgk-left ul li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: #f3f7fc;
  }
  .jw-container .xxgk-left ul li.current { background: #2153ad; }
  .jw-container .xxgk-left ul li a {
    height: auto;
    margin: 0;
    padding: 0 4px;
    color: #174580;
    font-size: 14px;
    line-height: 44px;
    text-align: center;
  }
  .jw-container .xxgk-left li.current a { color: #fff; }
  .jw-container .xxgk-left .xxgk-ico { display: none; }

  .jw-container .lcont .rlist > h3 {
    height: auto;
    margin: 0;
    padding: 8px 0;
    border-bottom-width: 2px;
    font-size: 20px;
    line-height: 1.4;
  }
  .jw-container .rlist > .content { padding: 12px 0; }
  .jw-container :is(.rlist > .content, .Content .text) img {
    max-width: 100%;
    height: auto !important;
  }
  .jw-container .rlist .news_list { padding: 5px; }
  .jw-container .rlist .news_list li {
    padding: 10px 0;
    line-height: 1.5;
    border-bottom: 1px solid #e5eaf1;
  }
  .jw-container .rlist .news_list :is(.title, .time) {
    float: none;
    width: auto;
  }
  .jw-container .rlist .news_list .title a {
    font-size: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .jw-container .rlist .news_list .time { color: #666; font-size: 13px; }
  .jw-container .rlist .fenye { line-height: 2.8; overflow-wrap: anywhere; }
  .jw-container .article_main .Content + .rcont { display: none; }

  .jw-container .leader-box {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    margin-left: 10px;
    padding: 0 0 16px;
  }
  .jw-container .leader-box h2 {
    padding: 14px 0 8px;
    font-size: 20px;
    line-height: 1.4;
  }
  .jw-container .leader-box h4 {
    float: none;
    width: auto;
    margin: 0;
    padding: 8px 0 0;
    font-size: 16px;
    text-align: left;
    text-align-last: auto;
  }
  .jw-container .leader-box .leader-item {
    float: none;
    width: 100%;
    padding: 2px 0 8px;
    border-bottom: 1px solid #e5eaf1;
  }
  .jw-container .leader-box .leader-item a {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    float: none;
    width: 30%;
    height: auto;
    min-height: 40px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    vertical-align: top;
  }

  /* 纪法课堂栏目首页 */
  .jw-container .lcont:has(.submenu a[data-id="225"]) > .rlist {
    width: 100% !important;
  }
  .jw-container .lcont:has(.submenu a[data-id="225"]) > .lbt {
    position: static;
    display: block;
    float: none;
    width: 100%;
    height: auto;
    margin: 10px 0 14px;
  }
  .jw-container .lbt:has(.submenu a[data-id="225"]) .lt2 { display: none; }
  .jw-container .lbt:has(.submenu a[data-id="225"]) #menubox { padding: 0; }
  .jw-container .lbt:has(.submenu a[data-id="225"]) #menubox h3 {
    height: auto;
    padding: 8px 0;
    border-bottom-width: 2px;
    color: #174580;
    font-size: 20px;
    line-height: 1.4;
  }
  .jw-container .lbt:has(.submenu a[data-id="225"]) .submenu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
  }
  .jw-container .lbt:has(.submenu a[data-id="225"]) .submenu a {
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 4px;
    background: #f3f7fc;
    color: #174580;
    font-size: 15px;
    line-height: 44px;
    text-align: center;
  }
  .jw-container .lcont:has(.submenu a[data-id="225"]) .rlist .NewsBox {
    margin: 14px 0 0;
    border-bottom-width: 2px;
  }
  .jw-container .lcont:has(.submenu a[data-id="225"]) .news_list .title span {
    font-size: 14px !important;
  }
  .jw-container .lcont:has(.submenu a[data-id="225"]) .news_list .title a {
    display: inline;
    margin-left: 4px;
  }
}
