/* 电力系统移动端样式 */

@media (max-width: 768px) {
    .main {
        width: calc(100% - 20px);
    }

    .overview-panel {
        aspect-ratio: auto;
        min-height: 260px;
        padding: 24px 22px 20px;
        background-size: 100% 100%;
        align-items: center;
    }

    .overview-text {
        color: #2f2f2f;
        font-size: 13px;
        line-height: 1.72;
        font-weight: 600;
        text-align: left;
        text-indent: 2em;
        letter-spacing: 0;
    }

    .section-title {
        margin: 14px auto 6px;
        min-width: 138px;
        padding: 7px 14px;
        gap: 7px;
        border-width: 3px;
    }

    .section-title-icon {
        width: 16px;
    }

    .section-text {
        font-size: 24px;
    }

    .hygsText {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px;
        border-width: 4px;
    }

    .overview-card h3 {
        min-height: 42px;
        padding: 9px 12px;
        background: transparent;
        font-size: 15px;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-shadow: 0 1px 2px rgba(180, 47, 0, 0.45);
    }

    .overview-card {
        aspect-ratio: auto;
        background: url("../images/dlxt/zu60.png") top center / 100% auto no-repeat;
        background-color: #fff;
        border: 1px solid rgba(255, 119, 56, 0.16);
    }

    .overview-card-body {
        margin-top: 0;
        padding: 16px 18px 14px;
        overflow: visible;
    }

    .overview-card-body p {
        font-size: 13px;
        line-height: 1.75;
        text-align: left;
        text-indent: 1.5em;
        margin-bottom: 10px;
    }

    .zpdy {
        margin-top: 16px;
    }

    .salary-panel {
        margin-top: 14px;
    }

    .salary-tabs {
        width: 92%;
        margin-bottom: -20px;
        min-height: auto;
        padding: 10px;
        gap: 8px;
        border-radius: 12px;
    }

    .salary-tab {
        min-height: 34px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 13px;
    }

    .salary-tab.active::after {
        bottom: -8px;
        border-left-width: 9px;
        border-right-width: 9px;
        border-top-width: 8px;
    }

    .salary-content {
        padding: 44px 14px 18px;
    }

    .salary-pane.salary-pane-empty {
        min-height: 180px;
    }

    #salary-pane-3.salary-pane-empty {
        min-height: 0;
    }

    .salary-block {
        margin-bottom: 14px;
    }

    .salary-block h3 {
        font-size: 13px;
    }

    .salary-block p {
        font-size: 12px;
        line-height: 1.8;
        text-indent: 2em;
    }

    .salary-more {
        margin-top: 12px;
        font-size: 12px;
        gap: 4px;
    }

    .salary-more img {
        width: 12px;
    }

    .footer-banner {
        width: 100%;
        margin: 0;
    }

    .footer-banner img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .footer {
        position: relative;
        min-height: 0;
        margin-top: 24px;
        padding: 0;
        background-color: transparent;
        overflow: visible;
    }

    .footer-main {
        width: 100%;
        margin-top: 10px;
        padding: 14px 0 16px;
        background: linear-gradient(180deg, #ff8a1f 0%, #ff6a00 100%);
    }

    .footer .footer-links,
    .footer .mailto,
    .footer .copyright--pc {
        display: none;
    }

    .footer .copyright--mobile {
        display: block;
    }

    .footer .copyright {
        margin: 0;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.5;
        padding: 0 12px;
        box-sizing: border-box;
        text-align: center;
    }

    .gxtj {
        margin-top: 22px;
    }

    .zytj {
        margin-top: 22px;
    }

    .bkcl {
        margin-top: 22px;
    }

    .bkcl .section-title {
        min-width: 0;
    }

    .bkcl .section-text {
        font-size: 20px;
        white-space: nowrap;
    }

    .school-panel {
        margin-top: 14px;
    }

    .major-list {
        margin-top: 14px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .major-card h3 {
        width: 82%;
        margin: 10px auto 8px;
        padding: 7px 8px;
        font-size: 14px;
    }

    .major-card p {
        padding: 0 14px 10px;
        font-size: 12px;
        line-height: 1.75;
        text-align: left;
    }

    .major-card a {
        padding: 7px 10px;
        font-size: 12px;
    }

    .strategy-list {
        margin-top: 14px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .strategy-card h3 {
        min-height: 42px;
        padding: 9px 12px 7px;
        font-size: 14px;
    }

    .strategy-card p {
        margin: 0 12px 8px;
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.7;
        text-align: left;
    }

    .strategy-card a {
        padding-bottom: 10px;
        font-size: 12px;
    }

    .school-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 92%;
        margin: 0 auto -8px;
        padding: 10px;
        overflow-x: visible;
        border-radius: 12px;
        position: relative;
        z-index: 30;
    }

    .school-tab {
        min-width: 0;
        min-height: 34px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 14px;
        border: 0;
        font-family: inherit;
    }

    .school-tab-picker {
        top: 10px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .school-tab-picker::before {
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 6px;
    }

    .school-tab-menu {
        top: 54px;
        min-width: 170px;
        max-height: 220px;
        padding: 6px;
        border-radius: 12px;
        z-index: 40;
    }

    .school-tab-menu-item {
        padding: 8px 10px;
        font-size: 12px;
    }

    .school-tab.active::after {
        bottom: -8px;
        border-left-width: 9px;
        border-right-width: 9px;
        border-top-width: 8px;
    }

    .school-content {
        padding: 52px 12px 24px;
    }

    .school-section {
        margin-bottom: 16px;
    }

    .school-section h3 {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .school-section p {
        font-size: 12px;
        line-height: 1.8;
        text-indent: 1.5em;
    }

    .school-table {
        --school-table-title-height: 76px;
        width: 100%;
        min-width: 0;
        table-layout: fixed;
        font-size: 11px;
    }

    .school-table-wrap {
        max-height: 390px;
        overflow-x: hidden;
        box-shadow: inset 0 -1px 0 #9d9d9d;
    }

    .school-table th,
    .school-table td {
        padding: 7px 4px;
        word-break: break-all;
    }

    .school-table th {
        position: sticky;
        top: var(--school-table-title-height);
        z-index: 1;
        background: #ff7a00;
    }

    .school-table .school-table-title {
        top: 0;
        z-index: 3;
        height: var(--school-table-title-height);
        line-height: 1.45;
        padding: 8px 8px 6px;
        white-space: normal;
        word-break: break-all;
    }

    .school-table thead tr:nth-child(2) th {
        top: calc(var(--school-table-title-height) - 1px);
        border-top: 0;
        box-shadow: none;
    }

    .school-table th:nth-child(1),
    .school-table td:nth-child(1) {
        width: 16%;
    }

    .school-table th:nth-child(2),
    .school-table td:nth-child(2),
    .school-table th:nth-child(3),
    .school-table td:nth-child(3) {
        width: 19%;
    }

    .school-table th:nth-child(4),
    .school-table td:nth-child(4) {
        width: 18%;
    }

    .school-table th:nth-child(5),
    .school-table td:nth-child(5) {
        width: 28%;
    }

    .school-more {
        margin-top: 20px;
        padding: 7px 18px;
        gap: 6px;
        font-size: 12px;
    }

    .school-more img {
        width: 20px;
    }
}

@media (max-width: 420px) {
    .main {
        width: calc(100% - 12px);
    }

    .overview-panel {
        min-height: 230px;
        padding: 22px 18px 18px;
    }

    .overview-text {
        font-size: 12px;
        line-height: 1.65;
    }

    .hygsText {
        padding: 8px;
        border-width: 3px;
    }

    .overview-card-body {
        padding: 14px 16px 12px;
    }

    .overview-card h3 {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 14px;
    }

    .overview-card-body p {
        font-size: 11px;
        line-height: 1.65;
    }

    .salary-tabs {
        width: 96%;
        padding: 8px;
        gap: 6px;
    }

    .salary-tab {
        min-height: 30px;
        font-size: 12px;
    }

    .salary-content {
        padding: 40px 12px 16px;
    }

    .salary-pane.salary-pane-empty {
        min-height: 140px;
    }

    #salary-pane-3.salary-pane-empty {
        min-height: 0;
    }

    .school-tabs {
        gap: 8px;
        padding: 10px;
    }

    .school-tab {
        min-height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }

    .school-tab-picker {
        width: 30px;
        height: 30px;
    }

    .school-content {
        padding: 28px 10px 22px;
    }

    .school-table {
        --school-table-title-height: 66px;
        min-width: 0;
        font-size: 10px;
    }

    .school-table-wrap {
        max-height: 338px;
    }

    .overview-card {
        min-height: 0;
    }
}
