body {
    color: #243746;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.7;
}

.top_bg {
    background-color: #fff !important;
    background-image:
        url("/pc/images/top_bg.jpg"),
        linear-gradient(to bottom, #008f86 0, #008f86 190px, #fff 190px, #fff 100%) !important;
    background-position: top center, top left !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: auto, 100% 100% !important;
    isolation: isolate;
    position: relative;
}

.top_bg::before {
    content: "";
    height: 245px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.top_bg > * {
    position: relative;
    z-index: 1;
}

.top.boxx,
.logo.boxx,
.banner.boxx,
.inside_nav.boxx,
.footer.boxx {
    box-sizing: border-box;
    max-width: 1200px;
    width: 100% !important;
}

@media (min-width: 1201px) {
    .top_bg::before {
        background: linear-gradient(
            to right,
            #008f86 0,
            #008f86 calc((100% - 1200px) / 2),
            transparent calc((100% - 1200px) / 2),
            transparent calc((100% + 1200px) / 2),
            #008f86 calc((100% + 1200px) / 2),
            #008f86 100%
        );
    }
}

a,
.top_bg,
.footer_bg,
.bnjy-home,
.news_detail,
.teacher_inside {
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
}

.news_list .media-body,
.news_detail .description,
.content-body,
.home-channel small,
.home-open-card small,
.home-intro p,
.home-intro li {
    font-size: 15px;
    line-height: 1.75;
}

.site-banner {
    height: auto !important;
    overflow: visible;
    padding: 10px 0 12px !important;
    text-align: center;
    width: 100% !important;
}

.site-banner a {
    display: block;
}

.site-banner-image {
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: 314px;
    max-width: 860px;
    object-fit: contain;
    width: min(860px, calc(100vw - 24px));
}

.legacy-form-page .site-banner {
    padding-top: 6px !important;
    padding-bottom: 8px !important;
}

.legacy-form-page .site-banner-image {
    max-height: 226px;
    max-width: 620px;
    width: min(620px, calc(100vw - 24px));
}

.news_list .media-left img,
.major_list .media-left img,
.home-major img {
    background: #f6f8fb !important;
    box-sizing: border-box;
    object-fit: contain !important;
    padding: 10px;
}

.home-major img {
    height: 108px;
}

.home-intro {
    align-items: stretch;
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 8px 18px rgba(31, 55, 68, .05);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 24px;
}

.home-intro h2 {
    color: #173944;
    font-size: 24px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.home-intro p {
    color: #53656f;
    margin: 0;
}

.home-intro ul {
    background: #f7fafb;
    border-left: 4px solid #0b8f86;
    margin: 0;
    padding: 18px 20px;
}

.home-intro li {
    color: #344b59;
    margin: 0 0 8px;
}

.home-intro li:last-child {
    margin-bottom: 0;
}

.home-open-section {
    padding-top: 10px;
}

.home-open-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-open-card {
    background: #fff;
    border: 1px solid #dfe8ee;
    border-top: 4px solid #2f6faa;
    box-shadow: 0 8px 18px rgba(31, 55, 68, .05);
    display: block;
    min-height: 150px;
    padding: 20px;
    text-decoration: none;
}

.home-open-card span {
    color: #0b827a;
    display: block;
    font-size: 13px;
}

.home-open-card strong {
    color: #173944;
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 10px 0 8px;
}

.home-open-card small {
    color: #5d6f7a;
    display: block;
}

.home-links-section {
    padding-top: 0;
}

.home-friend-links {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe8ee;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 18px;
}

.home-friend-links span {
    color: #173944;
    font-weight: 700;
}

.home-friend-links a {
    color: #526977 !important;
    text-decoration: none;
}

.home-friend-links a:hover {
    color: #c40000 !important;
}

.footer-links {
    line-height: 1.8;
    margin-top: 8px;
}

.footer-links span {
    color: #dcdcdc;
}

.footer-links a {
    color: #f0f0f0 !important;
    display: inline-block;
    margin-right: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer_txt {
    line-height: 1.8;
}

@media (max-width: 992px) {
    .site-banner-image {
        max-width: calc(100vw - 24px);
    }

    .home-intro {
        grid-template-columns: 1fr;
    }

    .home-open-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    html,
    body {
        overflow-x: hidden;
    }

    .top.boxx,
    .logo.boxx,
    .inside_nav.boxx,
    .footer.boxx,
    .nav,
    .inside_nav .container {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .logo.boxx {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo.boxx a,
    .logo.boxx img {
        display: block;
        height: auto !important;
        max-width: min(340px, calc(100vw - 24px)) !important;
        width: min(340px, calc(100vw - 24px)) !important;
    }

    .inside_nav {
        overflow-x: hidden;
    }

    .inside_nav .row {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        width: 100%;
    }

    .footer_txt,
    .footer_pic,
    #copyright,
    .footer-links {
        float: none !important;
        max-width: 100% !important;
        width: auto !important;
    }

    body,
    .news_list .media-body,
    .news_detail .description,
    .content-body,
    .home-channel small,
    .home-open-card small,
    .home-intro p,
    .home-intro li {
        font-size: 14px;
    }

    .site-banner {
        padding: 0 12px;
    }

    .home-intro {
        padding: 18px;
    }

    .home-intro ul {
        padding: 14px 16px;
    }

    .home-open-grid {
        grid-template-columns: 1fr;
    }

    .home-open-card {
        min-height: 0;
    }

    .home-friend-links {
        display: block;
    }

    .home-friend-links a {
        display: inline-block;
        margin: 6px 10px 0 0;
    }
}

/* Formal education UI, promoted from the v3 demo into the live site. */
html,
body.edu-site {
    margin: 0;
    min-width: 0;
    background: #f3f7f8;
}

.edu-site {
    color: #1f3340;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

.edu-site *,
.edu-site *::before,
.edu-site *::after {
    box-sizing: border-box;
}

.edu-site img {
    max-width: 100%;
}

.edu-site a {
    text-decoration: none;
}

.site-container,
.container {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #dbe6ec;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header-inner {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 76px;
}

.site-brand,
.site-footer-brand {
    align-items: center;
    color: #173944 !important;
    display: inline-flex;
    gap: 12px;
}

.site-brand img {
    display: block;
    height: 42px;
    object-fit: contain;
    width: auto;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    font-size: 20px;
    line-height: 1.1;
}

.site-brand small {
    color: #60737f;
    font-size: 12px;
    margin-top: 4px;
}

.site-nav {
    display: flex;
    gap: 4px;
    justify-content: center;
    min-width: 0;
    overflow-x: auto;
}

.site-nav a {
    color: #334b58 !important;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    padding: 9px 10px;
}

.site-nav a:hover {
    color: #0b827a !important;
}

.site-consult,
.edu-button {
    align-items: center;
    border: 1px solid #cbd8df;
    color: #173944 !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
}

.site-consult,
.edu-button.primary {
    background: #d83b35;
    border-color: #d83b35;
    color: #fff !important;
}

.site-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e1e9ee;
    color: #667784;
    font-size: 14px;
    padding: 10px 0;
}

.site-breadcrumb a {
    color: #0b827a !important;
    font-weight: 800;
}

.site-breadcrumb span {
    margin: 0 8px;
}

.edu-home {
    background: #f3f7f8;
}

.edu-hero {
    background:
        linear-gradient(90deg, rgba(11, 83, 79, .94), rgba(23, 57, 68, .82)),
        url("/pc/uppic/banner.jpg") center/cover no-repeat;
    color: #fff;
    padding: 52px 0;
}

.edu-hero-grid {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.edu-kicker,
.edu-section-head span,
.edu-content-matrix span,
.edu-entry span,
.edu-program-grid span,
.edu-school-grid span,
.edu-final-cta span {
    color: #0b827a;
    display: block;
    font-size: 13px;
    font-weight: 900;
}

.edu-hero .edu-kicker,
.edu-final-cta span {
    color: #f7ca55;
}

.edu-hero h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.18;
    margin: 12px 0 16px;
}

.edu-hero p {
    color: #e6f3f2;
    font-size: 17px;
    line-height: 1.85;
    margin: 0 0 24px;
    max-width: 720px;
}

.edu-hero-actions,
.edu-hero-stats,
.edu-insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.edu-hero-stats {
    gap: 24px;
    margin-top: 26px;
}

.edu-hero-stats span {
    color: #d6e9e7;
}

.edu-hero-stats strong {
    color: #fff;
    display: block;
    font-size: 26px;
    line-height: 1.1;
}

.edu-hero-panel,
.edu-insight,
.edu-matrix-intro,
.home-news-panel {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 16px 34px rgba(31, 55, 68, .08);
}

.edu-hero-panel {
    border-top: 5px solid #f1b82d;
    color: #1f3340;
    padding: 24px;
}

.edu-hero-panel h2,
.edu-insight h3,
.edu-section-head h2 {
    color: #173944;
    line-height: 1.28;
    margin: 0;
}

.edu-hero-panel ul {
    list-style: none;
    margin: 18px 0;
    padding: 0;
}

.edu-hero-panel li {
    border-top: 1px solid #edf1f4;
    padding: 13px 0;
}

.edu-hero-panel li span {
    color: #0b827a;
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.edu-hero-panel li strong {
    color: #233d49;
    display: block;
    font-size: 15px;
    line-height: 1.65;
    margin-top: 4px;
}

.edu-hero-note {
    background: #f7fafb;
    border-left: 4px solid #0b8f86;
    padding: 14px 16px;
}

.edu-hero-note p {
    color: #53656f;
    font-size: 14px;
    margin: 6px 0 0;
}

.edu-trust-band {
    background: #fff;
    border-bottom: 1px solid #e1e9ee;
}

.edu-trust-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-bottom: 18px;
    padding-top: 18px;
}

.edu-trust-grid span {
    color: #526977;
}

.edu-trust-grid b {
    color: #173944;
    display: block;
}

.edu-section {
    padding: 42px 0;
}

.edu-section.pale {
    background: #eef4f6;
}

.edu-section-head {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.edu-section-head h2 {
    font-size: 28px;
    margin-top: 7px;
}

.edu-section-head a {
    color: #0b827a !important;
    font-weight: 800;
}

.edu-entry-grid,
.edu-journey,
.edu-program-grid,
.edu-content-matrix,
.edu-school-grid {
    display: grid;
    gap: 16px;
}

.edu-entry-grid,
.edu-journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edu-program-grid,
.edu-content-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edu-school-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edu-entry,
.edu-journey article,
.edu-program-grid a,
.edu-content-matrix article,
.edu-school-grid a,
.edu-list-panel a {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 12px 26px rgba(31, 55, 68, .06);
}

.edu-entry {
    border-top: 5px solid #0b8f86;
    min-height: 154px;
    padding: 20px;
}

.edu-entry.red {
    border-top-color: #d83b35;
}

.edu-entry.gold {
    border-top-color: #f1b82d;
}

.edu-entry.blue {
    border-top-color: #2f6faa;
}

.edu-entry strong,
.edu-program-grid strong,
.edu-school-grid strong {
    color: #173944;
    display: block;
    font-size: 21px;
    line-height: 1.35;
    margin: 10px 0 8px;
}

.edu-entry small,
.edu-program-grid small,
.edu-school-grid small,
.edu-content-matrix p,
.edu-journey p,
.edu-insight p,
.edu-matrix-intro p {
    color: #53656f;
    line-height: 1.75;
}

.edu-journey article,
.edu-content-matrix article,
.edu-school-grid a {
    padding: 20px;
}

.edu-journey span {
    color: #d83b35;
    font-size: 24px;
    font-weight: 900;
}

.edu-journey h3,
.edu-content-matrix h3 {
    color: #173944;
    font-size: 20px;
    margin: 8px 0;
}

.edu-program-grid a {
    display: block;
    overflow: hidden;
}

.edu-program-grid img {
    background: #f7fafb;
    display: block;
    height: 160px;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.edu-program-grid a > span,
.edu-program-grid strong,
.edu-program-grid small {
    margin-left: 18px;
    margin-right: 18px;
}

.edu-program-grid small {
    display: block;
    margin-bottom: 18px;
}

.edu-two-col,
.edu-content-wrap {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.edu-list-panel {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edu-list-panel a {
    padding: 18px;
}

.edu-list-panel b {
    color: #173944;
    display: block;
    font-size: 18px;
}

.edu-list-panel span {
    color: #53656f;
    display: block;
    line-height: 1.7;
    margin-top: 6px;
}

.edu-insight {
    border-top: 5px solid #0b8f86;
    padding: 22px;
}

.edu-insight-tags span {
    background: #eef7f5;
    border: 1px solid #cfe4df;
    color: #0b827a;
    font-weight: 800;
    padding: 5px 10px;
}

.edu-matrix-intro {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 150px minmax(0, 1fr);
    margin-bottom: 16px;
    padding: 18px 20px;
}

.edu-matrix-intro strong {
    color: #173944;
    font-size: 20px;
}

.edu-content-matrix {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edu-content-matrix a {
    color: #0b827a !important;
    font-weight: 800;
}

.edu-school-grid em {
    color: #d83b35;
    display: block;
    font-style: normal;
    font-weight: 900;
    margin-top: 12px;
}

.edu-faq-list {
    display: grid;
    gap: 10px;
}

.edu-faq-list details {
    border-top: 1px solid #edf1f4;
    padding-top: 10px;
}

.edu-faq-list summary {
    color: #173944;
    cursor: pointer;
    font-weight: 900;
}

.edu-final-cta {
    background: #173944;
    color: #fff;
    padding: 34px 0;
}

.edu-final-inner {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.edu-final-inner h2 {
    color: #fff;
    font-size: 28px;
    line-height: 1.35;
    margin: 8px 0 0;
}

.site-footer {
    background: #152532;
    color: #d6e0e6;
    padding: 36px 0 18px;
}

.site-footer-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.site-footer-brand img {
    display: block;
    width: 132px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.site-footer h2 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}

.site-footer p {
    margin: 0 0 12px;
    color: #c4d0d7;
    line-height: 1.8;
}

.site-footer a {
    color: #d6e0e6 !important;
    display: block;
    line-height: 1.9;
}

.site-footer-links {
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
}

.site-footer-links span {
    color: #fff;
    font-weight: 900;
}

.site-footer-links a {
    display: inline-block;
}

.site-copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #9fb0bb;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
}

.site-copyright a {
    display: inline;
}

@media (max-width: 1080px) {
    .site-header-inner {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-bottom: 12px;
    }

    .edu-hero-grid,
    .edu-two-col,
    .edu-content-wrap {
        grid-template-columns: 1fr;
    }

    .edu-entry-grid,
    .edu-trust-grid,
    .edu-content-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-container,
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-header-inner {
        display: flex;
        flex-wrap: wrap;
        min-height: 0;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .site-brand {
        flex: 1 1 210px;
        max-width: calc(100% - 106px);
        min-width: 0;
    }

    .site-brand img {
        height: 34px;
        max-width: 186px;
    }

    .site-brand span {
        display: none;
    }

    .site-nav {
        flex: 1 0 100%;
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }

    .site-consult {
        min-height: 36px;
        padding: 0 12px;
    }

    .edu-hero {
        padding: 34px 0;
    }

    .edu-hero h1 {
        font-size: 30px;
    }

    .edu-section {
        padding: 30px 0;
    }

    .edu-section-head,
    .edu-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .edu-section-head h2,
    .edu-final-inner h2 {
        font-size: 24px;
    }

    .edu-entry-grid,
    .edu-journey,
    .edu-program-grid,
    .edu-content-matrix,
    .edu-school-grid,
    .edu-trust-grid,
    .edu-list-panel,
    .site-footer-grid,
    .edu-matrix-intro {
        grid-template-columns: 1fr;
    }

    .edu-button,
    .edu-final-inner .edu-button {
        width: 100%;
    }
}

.legacy-list-page,
.legacy-detail-page,
.legacy-major-list-page,
.legacy-major-detail-page,
.legacy-search-page,
.legacy-about-page,
.legacy-form-page {
    background: #eef3f6;
}

.legacy-page-wrap {
    background: #eef3f6;
    padding: 28px 0 34px;
}

.legacy-page-wrap.compact {
    padding-top: 0;
}

.legacy-page-hero,
.legacy-form-hero,
.legacy-major-hero {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .06);
    margin-bottom: 20px;
    padding: 28px;
}

.legacy-page-hero {
    border-left: 6px solid #0b8f86;
}

.legacy-page-hero.compact {
    margin-bottom: 14px;
}

.legacy-page-hero span,
.legacy-form-hero span,
.legacy-major-hero span,
.legacy-article-kicker {
    color: #0b827a;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legacy-page-hero h1,
.legacy-form-hero h1,
.legacy-major-hero h1 {
    color: #173944;
    font-size: 32px;
    line-height: 1.28;
    margin: 0 0 10px;
}

.legacy-page-hero p,
.legacy-form-hero p,
.legacy-major-hero p {
    color: #53656f;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.legacy-content-layout {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 280px;
}

.legacy-list-panel,
.legacy-article-main,
.legacy-card-list,
.legacy-major-grid,
.search-page,
.students-page,
.signup-page {
    min-width: 0;
}

.legacy-card-list {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
    padding: 8px 24px;
}

.legacy-card-list.news_list .media,
.legacy-card-list .media {
    align-items: flex-start;
    border-bottom: 1px solid #edf1f4;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 20px 0;
}

.legacy-card-list .media:last-child {
    border-bottom: 0;
}

.legacy-card-list .media-left {
    flex: 0 0 220px;
    padding-right: 0;
}

.legacy-card-list .media-left img {
    border: 1px solid #e1e9ee;
    height: 132px !important;
    max-width: 220px !important;
    object-fit: cover !important;
    padding: 0 !important;
    width: 220px !important;
}

.legacy-card-list .media-heading {
    margin: 0 0 8px;
}

.legacy-card-list .media-heading a {
    color: #173944 !important;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.38;
}

.legacy-card-list .media-heading small {
    color: #7d8b94;
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin-top: 6px;
}

.legacy-card-list .media-body {
    color: #53656f;
    font-size: 15px;
}

.legacy-card-list .media-body > a,
.legacy-text-link {
    color: #0b827a !important;
    display: inline-block;
    font-weight: 700;
    margin-top: 10px;
}

.legacy-side-panel {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
    padding: 20px;
    position: sticky;
    top: 14px;
}

.legacy-side-panel h2 {
    color: #173944;
    font-size: 21px;
    margin: 0 0 12px;
}

.legacy-side-panel a {
    border-top: 1px solid #edf1f4;
    color: #344b59 !important;
    display: block;
    font-weight: 700;
    padding: 12px 0;
}

.legacy-side-panel a:hover {
    color: #0b827a !important;
}

.legacy-content-matrix-page {
    background:
        linear-gradient(180deg, rgba(11, 143, 134, .08), rgba(238, 243, 246, 0) 280px),
        #eef3f6;
}

.legacy-matrix-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 16px;
    padding: 30px;
    background: #fff;
    border: 1px solid #dfe8ee;
    border-left: 6px solid #0b8f86;
    box-shadow: 0 12px 28px rgba(31, 55, 68, .07);
}

.legacy-matrix-hero span,
.legacy-section-title span,
.legacy-guide-grid span {
    display: block;
    color: #0b827a;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.legacy-matrix-hero h1 {
    color: #173944;
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.legacy-matrix-hero p {
    max-width: 760px;
    color: #53656f;
    font-size: 16px;
    line-height: 1.85;
    margin: 0;
}

.legacy-matrix-hero-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    background: #f6fafb;
    border: 1px solid #dfe8ee;
    border-top: 4px solid #f1b82d;
}

.legacy-matrix-hero-card b {
    color: #173944;
    font-size: 24px;
}

.legacy-matrix-hero-card small {
    color: #667784;
    line-height: 1.7;
    margin: 8px 0 16px;
}

.legacy-matrix-hero-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    background: #d83b35;
    color: #fff !important;
    font-weight: 800;
}

.legacy-topic-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.legacy-topic-strip span {
    padding: 8px 13px;
    background: #fff;
    border: 1px solid #dfe8ee;
    color: #344b59;
    font-weight: 800;
}

.legacy-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.legacy-guide-grid article {
    min-height: 154px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dfe8ee;
    border-top: 4px solid #0b8f86;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
}

.legacy-guide-grid article:nth-child(2) {
    border-top-color: #2f6faa;
}

.legacy-guide-grid article:nth-child(3) {
    border-top-color: #f1b82d;
}

.legacy-guide-grid h2 {
    color: #173944;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.legacy-guide-grid p {
    color: #53656f;
    line-height: 1.75;
    margin: 0;
}

.legacy-section-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.legacy-section-title h2 {
    color: #173944;
    font-size: 24px;
    line-height: 1.35;
    margin: 0;
}

.legacy-section-title a {
    color: #0b827a !important;
    font-weight: 800;
}

.legacy-matrix-list {
    padding-top: 0;
}

.legacy-side-note {
    margin-top: 16px;
    padding: 16px;
    background: #f6fafb;
    border: 1px solid #dfe8ee;
}

.legacy-side-note strong {
    color: #173944;
}

.legacy-side-note p {
    color: #667784;
    line-height: 1.75;
    margin: 6px 0 0;
}

.legacy-archive-grid {
    margin-bottom: 20px;
}

.legacy-archive-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.legacy-archive-cards a {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dfe8ee;
    border-left: 5px solid #2f6faa;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
}

.legacy-archive-cards strong {
    color: #173944;
    font-size: 19px;
}

.legacy-archive-cards span {
    color: #607080;
    line-height: 1.75;
}

.legacy-archive-cards em {
    color: #0b827a;
    font-style: normal;
    font-weight: 800;
}

.about-tabs {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 16px;
}

.about-tabs a {
    border: 1px solid #cbd8df;
    color: #344b59 !important;
    display: inline-flex;
    font-weight: 700;
    margin: 0;
    min-height: 38px;
    padding: 0 14px;
    text-decoration: none;
    align-items: center;
}

.about-tabs a.active,
.about-tabs a:hover {
    background: #0b8f86;
    border-color: #0b8f86;
    color: #fff !important;
}

.legacy-empty {
    background: #fff;
    border: 1px dashed #cbd8df;
    color: #607080;
    padding: 28px;
}

.legacy-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .04);
}

.legacy-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.legacy-pagination .pagination > li {
    display: block;
}

.legacy-pagination .pagination > li > a {
    border-color: #dfe8ee;
    color: #344b59;
    margin: 0 3px;
}

.legacy-pagination-summary {
    color: #607080;
    font-size: 14px;
}

.legacy-pagination-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.legacy-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #dfe8ee;
    background: #fff;
    color: #344b59 !important;
    font-weight: 800;
}

.legacy-page-btn.current,
.legacy-page-btn:hover,
.legacy-pagination .pagination > .active > a,
.legacy-pagination .pagination > li > a:hover {
    background: #0b8f86;
    border-color: #0b8f86;
    color: #fff !important;
}

.legacy-page-btn.disabled {
    cursor: not-allowed;
    opacity: .48;
}

.legacy-article-main.news_show,
.legacy-article-main .news_detail {
    padding: 0;
}

.legacy-article-main .news_detail {
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
    max-width: none;
    padding: 30px;
}

.legacy-article-main .news_detail h1 {
    color: #173944;
    font-size: 30px;
    line-height: 1.35;
    margin: 0 0 10px;
    text-align: left;
}

.legacy-article-main .news_detail h2 {
    border-bottom: 1px solid #edf1f4;
    color: #7d8b94;
    font-size: 14px;
    margin: 0 0 20px;
    padding-bottom: 16px;
    text-align: left;
}

.legacy-article-main .news_detail .description {
    background: #f7fafb;
    border-left: 4px solid #f1b82d;
    color: #455966;
    margin-bottom: 22px;
    padding: 15px 18px;
}

.content-body {
    color: #243746;
    font-size: 16px;
    line-height: 1.9;
}

.content-body h1,
.content-body h2,
.content-body h3 {
    color: #173944;
    line-height: 1.4;
}

.content-body img {
    border: 1px solid #edf1f4;
    height: auto !important;
    margin: 10px auto;
}

.content-body table {
    background: #fff;
    width: 100%;
}

.legacy-major-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.legacy-major-card {
    background: #fff;
    border: 1px solid #dfe8ee;
    border-top: 4px solid #0b8f86;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
    overflow: hidden;
}

.legacy-major-thumb img {
    background: #f7fafb;
    height: 150px;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.legacy-major-card > div {
    padding: 18px;
}

.legacy-major-card span {
    color: #0b827a;
    font-size: 13px;
    font-weight: 700;
}

.legacy-major-card h2 {
    font-size: 21px;
    line-height: 1.35;
    margin: 8px 0;
}

.legacy-major-card h2 a {
    color: #173944 !important;
}

.legacy-major-card p {
    color: #53656f;
    line-height: 1.75;
    margin: 0;
}

.legacy-major-hero {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.legacy-major-hero img {
    background: #f7fafb;
    border: 1px solid #dfe8ee;
    height: 210px;
    object-fit: contain;
    padding: 12px;
    width: 100%;
}

.legacy-major-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.legacy-related {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
}

.legacy-related h2 {
    color: #173944;
    font-size: 24px;
    grid-column: 1 / -1;
    margin: 0;
}

.legacy-related ul {
    margin: 0;
    padding: 0;
}

.legacy-related li {
    border-top: 1px solid #edf1f4;
    list-style: none;
    padding: 11px 0;
}

.legacy-related li:first-child {
    border-top: 0;
}

.legacy-related a {
    color: #344b59 !important;
}

.search-page,
.students-page,
.signup-page {
    padding: 0;
}

.search-form.modern {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 120px;
    margin: 0 0 18px;
    max-width: none;
}

.search-form.modern input {
    height: 46px;
    margin: 0;
}

.search-form.modern button {
    height: 46px;
}

.search-columns {
    gap: 18px;
}

.search-columns section,
.modern-form,
.legacy-form-hero,
.legacy-voice-grid li {
    background: #fff;
    border: 1px solid #dfe8ee;
    box-shadow: 0 10px 24px rgba(31, 55, 68, .05);
}

.search-columns section {
    padding: 22px;
}

.search-columns h2 {
    color: #173944;
    margin-top: 0;
}

.search-item {
    border-bottom: 1px solid #edf1f4;
    color: #344b59 !important;
    line-height: 1.8;
    padding: 10px 0;
}

.search-item:hover {
    color: #0b827a !important;
}

.legacy-form-hero {
    align-items: stretch;
    border-left: 6px solid #0b8f86;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.legacy-form-hero ul {
    background: #f7fafb;
    border-left: 4px solid #f1b82d;
    margin: 0;
    padding: 18px 22px;
}

.legacy-form-hero li {
    color: #344b59;
    line-height: 1.8;
}

.modern-form {
    margin: 0 auto;
    max-width: 980px;
    padding: 24px;
}

.modern-form h2 {
    color: #173944;
    font-size: 24px;
    margin: 0 0 18px;
}

.legacy-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legacy-form-grid label.wide {
    grid-column: 1 / -1;
}

.modern-form label {
    color: #344b59;
    font-weight: 700;
    margin: 0;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    border: 1px solid #cbd8df;
    height: 42px;
    margin-top: 8px;
}

.modern-form textarea {
    height: 128px;
}

.modern-form button,
.search-form.modern button {
    background: #d83b35;
    color: #fff;
    font-weight: 800;
}

.legacy-voice-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.legacy-voice-grid li {
    border-bottom: 0;
    color: #53656f;
    line-height: 1.8;
    min-height: 120px;
    padding: 18px;
}

.legacy-voice-grid p {
    color: #173944;
    font-size: 17px;
}

.legacy-voice-grid p span {
    color: #0b827a;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin-left: 8px;
}

.pager {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .legacy-content-layout,
    .legacy-matrix-hero,
    .legacy-major-hero,
    .legacy-form-hero {
        grid-template-columns: 1fr;
    }

    .legacy-side-panel {
        position: static;
    }

    .legacy-major-grid,
    .legacy-archive-cards,
    .legacy-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .legacy-page-wrap {
        padding: 18px 0 24px;
    }

    .legacy-page-hero,
    .legacy-matrix-hero,
    .legacy-form-hero,
    .legacy-major-hero,
    .legacy-article-main .news_detail,
    .modern-form,
    .search-columns section {
        padding: 18px;
    }

    .legacy-page-hero h1,
    .legacy-form-hero h1,
    .legacy-major-hero h1,
    .legacy-article-main .news_detail h1 {
        font-size: 24px;
    }

    .legacy-card-list {
        padding: 0 16px;
    }

    .legacy-card-list.news_list .media,
    .legacy-card-list .media {
        display: block;
    }

    .legacy-card-list .media-left {
        display: block;
        margin-bottom: 12px;
    }

    .legacy-card-list .media-left img {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .legacy-major-grid,
    .legacy-guide-grid,
    .legacy-archive-cards,
    .legacy-related,
    .search-columns,
    .legacy-form-grid,
    .legacy-voice-grid,
    .search-form.modern {
        grid-template-columns: 1fr;
    }

    .legacy-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .legacy-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .legacy-pagination-actions {
        justify-content: flex-start;
        width: 100%;
    }
}
