/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/

/* Keep the site in its authored light theme when browsers offer auto darkening. */
:root {
    color-scheme: only light;
}

/* Show the LCP image immediately; other images keep the theme's lazy fade. */
img.b2-first-screen-image {
    opacity: 1;
    transition: none;
}

/* Reserve the SVG logo's intrinsic ratio before its network request completes. */
.header-logo img[src*="shangan-genjudi-logo-transparent.svg"] {
    width: auto;
    aspect-ratio: auto 2172 / 575;
}

/* Select each state's real footprint before Vue mounts, without a wide blank. */
.single-row-header .b2-compact-header {
    --b2-header-control: 34px;
    --b2-header-gap: 8px;
    --b2-header-login: 56px;
    --b2-header-search: 0px;
    --b2-header-search-gap: 0px;
    width: auto;
    height: 34px;
    margin-left: 12px;
    gap: var(--b2-header-gap);
    justify-content: flex-end;
}

.single-row-header .b2-compact-header.b2-header-can-register {
    --b2-header-login: 122px;
}

html.b2-header-guest .single-row-header .b2-compact-header {
    width: calc(var(--b2-header-search) + var(--b2-header-search-gap) + var(--b2-header-login));
}

html.b2-header-member .single-row-header .b2-compact-header {
    width: calc(var(--b2-header-search) + var(--b2-header-search-gap) + var(--b2-header-control) * 2 + var(--b2-header-gap));
}

.single-row-header .b2-compact-header .change-theme {
    flex: none;
    margin: 0;
    gap: var(--b2-header-gap);
}

html.b2-header-guest .single-row-header .b2-compact-header .change-theme {
    width: var(--b2-header-search);
}

html.b2-header-member .single-row-header .b2-compact-header .change-theme {
    width: calc(var(--b2-header-search) + var(--b2-header-search-gap) + var(--b2-header-control));
}

.single-row-header .b2-compact-header .top-user-info {
    flex: none;
}

html.b2-header-guest .single-row-header .b2-compact-header .top-user-info {
    width: var(--b2-header-login);
}

html.b2-header-member .single-row-header .b2-compact-header .top-user-info {
    width: var(--b2-header-control);
}

.single-row-header .b2-compact-header .header-login-button {
    gap: 10px;
}

.single-row-header .b2-compact-header .header-login-button button {
    box-sizing: border-box;
    width: 56px;
    height: 34px;
    margin: 0;
}

@media screen and (min-width: 1201px) {
    html.b2-header-guest .single-row-header .b2-compact-header .change-theme {
        display: none;
    }
}

@media screen and (min-width: 1039px) and (max-width: 1200px) {
    .single-row-header .b2-compact-header {
        --b2-header-search: 40px;
        --b2-header-search-gap: var(--b2-header-gap);
        height: 40px;
    }
}

@media screen and (max-width: 1038.98px) {
    .single-row-header .b2-compact-header,
    .single-row-header .b2-compact-header.b2-header-can-register {
        --b2-header-search: var(--b2-header-control);
        --b2-header-search-gap: var(--b2-header-gap);
        --b2-header-login: var(--b2-header-control);
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .single-row-header .b2-compact-header {
        height: auto;
    }
}

/* Keep three controls clear of the centered logo on narrow phones. */
@media screen and (max-width: 360px) {
    .single-row-header .b2-compact-header {
        --b2-header-control: 30px;
        --b2-header-gap: 4px;
    }

    .single-row-header .b2-compact-header .change-theme > div,
    .single-row-header .b2-compact-header .change-theme > div > a,
    .single-row-header .b2-compact-header .change-theme > .mobile-show button,
    .single-row-header .b2-compact-header .login-button > .mobile-show,
    .single-row-header .b2-compact-header .user-tools,
    .single-row-header .b2-compact-header .top-user-box,
    .single-row-header .b2-compact-header .top-user-avatar.avatar-parent,
    .single-row-header .b2-compact-header .top-user-avatar img {
        width: var(--b2-header-control) !important;
        height: var(--b2-header-control) !important;
    }
}

/* Homepage slider arrows */
.module-sliders .slider-1 .flickity-prev-next-button {
    background: rgba(255, 255, 255, .42);
    border-color: rgba(17, 24, 39, .08);
    color: rgba(31, 41, 51, .62);
    box-shadow: 0 6px 18px rgba(31, 41, 51, .08);
    opacity: .58;
}

.module-sliders .slider-1 .flickity-prev-next-button:hover {
    background: rgba(255, 255, 255, .72);
    color: rgba(31, 41, 51, .86);
    box-shadow: 0 8px 22px rgba(31, 41, 51, .12);
    opacity: .86;
}

@media screen and (max-width: 768px) {
    .content-area .homw-row-full.module-sliders {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .module-sliders .slider-1 {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0;
    }

    .module-sliders .slider-1 .slider-1-carousel {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0;
    }

    .module-sliders .slider-1 .slider-in,
    .module-sliders .slider-1 .slider-img {
        border-radius: 0;
    }

    .module-sliders .slider-1 .flickity-prev-next-button,
    .module-sliders .slider-1 button.flickity-button {
        display: none !important;
    }
}

/* Homepage stats module */
.module-stats {
    margin-bottom: 0 !important;
}

.module-stats .home-row-left.content-area {
    margin-bottom: 0 !important;
}

.mngjd-stats-panel {
    background: transparent;
    border: 0;
}

.mngjd-stats-panel::before,
.mngjd-stats-ink,
.mngjd-stats-icon {
    display: none !important;
}

.mngjd-stats-panel::after {
    border-color: rgba(71, 91, 108, .10);
    box-shadow:
        0 0 0 70px rgba(71, 91, 108, .035),
        0 0 0 150px rgba(71, 91, 108, .024),
        0 0 0 240px rgba(71, 91, 108, .016);
}

.footer,
.site-footer-nav {
    margin-top: 0 !important;
}

.footer-bottom-right {
    display: none !important;
}

@media screen and (max-width: 768px) {
    /* The fixed mobile menu is hidden at the page bottom, so its old
       62px reservation only creates an empty block below the copyright. */
    .site-footer-nav .footer-bottom {
        margin-bottom: 0;
    }
}

/* Login/register modal refinements */
.login-box-content {
    width: 400px;
}

.login-box-content .login-box-top {
    padding: 34px 34px 28px;
}

.login-box-content .login-title {
    margin-bottom: 28px;
}

.login-box-content .login-form-item {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow: visible;
}

.login-box-content .login-form-item + .login-form-item {
    margin-top: 22px;
}

.login-box-content .login-form-item span {
    position: static;
    order: 1;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.35;
    cursor: default;
}

.login-box-content .login-form-item span::after {
    display: none;
}

.login-box-content .login-form-item input {
    order: 2;
    height: 48px;
    font-size: 16px;
    padding: 10px 44px 10px 12px;
}

.login-box-content .login-box-des {
    order: 3;
    margin-top: 0;
    color: #9ca3af;
    text-align: left;
}

.login-box-content .login-eye {
    top: 31px;
}

.login-box-content .login-check-input .login-eye.button {
    top: auto;
    bottom: 8px;
    height: 32px;
    padding: 0 12px;
    font-size: 15px;
    line-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box-content .check-code-img {
    top: 34px;
}

.login-box-content .login-form-item.login-check-input.show {
    height: auto;
    min-height: 80px;
}

@media screen and (max-width: 768px) {
    .login-box-content {
        width: 92vw;
    }

    .login-box-content .login-box-top {
        padding: 30px 22px 24px;
    }
}

/*下面是您自己DIY的css样式代码*/

/* Article update notice: independent from the editor's B2 tip styles. */
.entry-content .mngjd-article-update-notice {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 8px 12px;
    border: 0;
    border-left: 2px solid #a8c4df;
    border-radius: 0 4px 4px 0;
    background: #f0f6fc;
    color: #6385a7;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.entry-content .mngjd-article-update-copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 3px 14px;
    min-width: 0;
}

.entry-content .mngjd-article-update-meta {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
}

.entry-content .mngjd-article-update-meta time {
    color: inherit;
    font-size: inherit;
    font-variant-numeric: tabular-nums;
}

.entry-content .mngjd-article-update-message {
    min-width: 0;
    color: #537ba2;
    font-size: 15px;
    font-weight: 500;
    line-height: inherit;
    overflow-wrap: anywhere;
}

/* The inserted notice moves the original first figure to second position.
 * Preserve the cover-only rule without hiding later article illustrations. */
.post-style-6-hide-cover .entry-content > .mngjd-article-update-notice:first-child + figure {
    display: none;
}

/*
 * Keep mobile menu disclosure arrows independent of the icon font. Some
 * Android browsers render the private-use font character as a boxed X during
 * the first uncached visit or when the font request is interrupted.
 */
@media screen and (max-width: 768px) {
    .header-tools {
        background-image: url("https://img.sagjd.com/0187e59d128d4ffb85a378566f1ce968.webp");
    }

    .mobile-box .top-menu-ul > li.depth-0 > a i.b2-arrow-down-s-line {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-box .top-menu-ul > li.depth-0 > a i.b2-arrow-down-s-line::before {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translate(-1px, -1px);
        transform-origin: center;
    }

    .mobile-box .top-menu-ul > li.depth-0.show > a i.b2-arrow-down-s-line::before {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    /* Reduce the extra outer gutter used by the post-style-6 article cards. */
    .post-style-6-hero,
    .post-style-6-tabs,
    .post-style-6-resource-panel .single-article,
    .post-style-6-notice-card {
        margin-right: 0;
        margin-left: 0;
    }
}

/* Yearly course catalog */
.mngjd-catalog-page-shell {
    background: #f2f3ef;
}

.post-type-archive-course_catalog .mngjd-catalog-page-shell {
    background: transparent;
}

.mngjd-catalog-page,
.mngjd-catalog-page * {
    box-sizing: border-box;
}

.mngjd-catalog-page {
    max-width: 1120px;
    padding-top: 46px;
    padding-bottom: 70px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.mngjd-catalog-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 270px;
    padding: 54px 58px 48px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 82% 26%, rgba(255, 255, 255, .14) 0, rgba(255, 255, 255, .05) 26%, transparent 48%),
        radial-gradient(ellipse at 18% 112%, rgba(14, 27, 22, .28) 0, transparent 52%),
        linear-gradient(128deg, #293a34 0%, #53685e 54%, #849087 100%);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(42, 55, 49, .15);
}

.mngjd-catalog-hero.has-background-image {
    background-image:
        linear-gradient(90deg, rgba(25, 35, 31, .82) 0%, rgba(32, 44, 39, .66) 52%, rgba(37, 47, 43, .35) 100%),
        var(--mngjd-catalog-bg-image);
    background-position: center;
    background-size: cover;
}

.mngjd-catalog-hero::before,
.mngjd-catalog-hero::after {
    position: absolute;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    filter: blur(2px);
    content: "";
}

.mngjd-catalog-hero::before {
    top: -210px;
    right: -120px;
    width: 500px;
    height: 500px;
}

.mngjd-catalog-hero::after {
    right: 105px;
    bottom: -270px;
    width: 430px;
    height: 430px;
}

.mngjd-catalog-hero-copy,
.mngjd-catalog-summary {
    position: relative;
    z-index: 1;
}

.mngjd-catalog-hero-copy {
    max-width: 690px;
}

.mngjd-catalog-eyebrow {
    display: block;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
}

.mngjd-catalog-hero h1 {
    margin: 0;
    color: #fff;
    font-family: "STKaiti", "KaiTi", "Songti SC", serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.35;
}

.mngjd-catalog-hero-copy p {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.8;
}

.mngjd-catalog-summary {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: 34px;
}

.mngjd-catalog-count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 15px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.mngjd-catalog-count strong {
    color: #fff;
    font-family: inherit;
    font-size: 28px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.mngjd-catalog-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
}

.mngjd-catalog-status i {
    width: 6px;
    height: 6px;
    background: #dce6de;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(220, 230, 222, .12);
}

.mngjd-catalog-list-section {
    margin-top: 24px;
    padding: 36px 38px 40px;
    background: #fff;
    border: 1px solid rgba(38, 45, 48, .07);
    border-radius: 22px;
    box-shadow: 0 13px 38px rgba(44, 48, 46, .06);
}

.mngjd-catalog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ebece8;
}

.mngjd-catalog-section-heading span {
    display: block;
    margin-bottom: 4px;
    color: #71847a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
}

.mngjd-catalog-section-heading h2 {
    margin: 0;
    color: #262d2d;
    font-family: "STKaiti", "KaiTi", "Songti SC", serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: .08em;
}

.mngjd-catalog-section-heading p {
    margin: 0 0 2px;
    color: #9a9f9e;
    font-size: 12px;
}

.mngjd-catalog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.mngjd-course-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    gap: 13px;
    align-items: center;
    min-height: 104px;
    padding: 16px 17px;
    color: inherit;
    background: #fafaf8;
    border: 1px solid #efefeb;
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

a.mngjd-course-card:hover {
    color: inherit;
    background: #fff;
    border-color: rgba(77, 105, 91, .3);
    box-shadow: 0 12px 27px rgba(43, 58, 50, .09);
    transform: translateY(-2px);
}

.mngjd-course-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #50675c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: 0;
    background: #e8eeea;
    border-radius: 12px;
}

.mngjd-course-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.mngjd-course-copy .mngjd-course-label {
    display: inline-flex;
    margin: 0;
    padding: 2px 7px;
    color: #63786d;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .02em;
    background: #ebf0ed;
    border-radius: 4px;
}

.mngjd-course-copy strong {
    color: #303636;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    transition: color .2s ease;
}

a.mngjd-course-card:hover .mngjd-course-copy strong {
    color: #405b4e;
}

.mngjd-course-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #a9adab;
    background: #fff;
    border: 1px solid #e8e9e5;
    border-radius: 50%;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.mngjd-course-arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

a.mngjd-course-card:hover .mngjd-course-arrow {
    color: #fff;
    background: #526b5f;
    border-color: #526b5f;
}

.mngjd-course-card.is-unavailable {
    opacity: .62;
}

.mngjd-course-pending {
    color: #a4a8a6;
    font-size: 10px;
}

.mngjd-catalog-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 26px 20px 0;
    color: #959a98;
    font-size: 12px;
}

.mngjd-catalog-footer-note span {
    color: #71857a;
    font-size: 10px;
}

.mngjd-catalog-footer-note p {
    margin: 0;
}

.mngjd-catalog-empty {
    padding: 70px 30px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
}

.mngjd-catalog-list-empty {
    margin: 0;
    padding: 48px 20px;
    color: #8b9490;
    text-align: center;
}

/* Course catalogs homepage module */
.mngjd-catalogs-module {
    padding: 28px 30px 30px;
    background: #fff;
}

.mngjd-catalogs-module-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.mngjd-catalogs-module-header > div > span,
.mngjd-catalog-archive-header > span {
    display: block;
    margin-bottom: 5px;
    color: #8b9490;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.mngjd-catalogs-module-header h2,
.mngjd-catalog-archive-header h1 {
    margin: 0;
    color: #28332e;
    font-family: "STKaiti", "KaiTi", "Songti SC", serif;
    font-size: 26px;
    font-weight: 600;
}

.mngjd-catalogs-module-header > a {
    color: #7d8983;
    font-size: 12px;
}

.mngjd-catalogs-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mngjd-catalog-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mngjd-catalogs-module-card,
.mngjd-catalog-archive-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 142px;
    padding: 24px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 86% 16%, rgba(255, 255, 255, .14), transparent 42%),
        linear-gradient(135deg, #35483f, #718078);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(43, 58, 50, .08);
}

.mngjd-catalogs-module-card {
    min-height: 92px;
    align-items: center;
    padding: 18px 20px;
    color: #343836;
    background: #e0e0e026;
    border: 1px solid #e8eae6;
    box-shadow: none;
}

.mngjd-catalogs-module-card.has-background {
    background: #e0e0e026;
}

.mngjd-catalogs-module-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.mngjd-catalogs-module-card strong {
    color: #343836;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.mngjd-catalogs-module-card em {
    color: #a0a6a2;
    font-size: 11px;
    font-style: normal;
}

.mngjd-catalogs-module-card > span:last-child {
    flex: 0 0 auto;
    font-size: 20px;
    color: #b3b8bd;
    transition: transform .2s ease;
}

.mngjd-catalogs-module-card:hover {
    color: #343836;
    background: #e0e0e040;
    border-color: #dde1dc;
}

.mngjd-catalogs-module-card:hover > span:last-child {
    color: #9b3a32;
    transform: translateX(4px);
}

.mngjd-catalogs-toggle {
    display: flex;
    min-width: 156px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 20px auto 0;
    padding: 0 16px;
    color: #7c858e;
    background: #fff;
    border: 1px solid #e4e6e3;
    border-radius: 20px;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.mngjd-catalogs-module-card[hidden],
.mngjd-catalogs-toggle[hidden],
.mngjd-catalogs-status[hidden] {
    display: none !important;
}

.mngjd-catalogs-toggle:disabled {
    opacity: .65;
    cursor: wait;
}

.mngjd-catalogs-status {
    margin: 10px 0 0;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.mngjd-catalogs-toggle:hover {
    color: #9b3a32;
    background: #faf8f5;
    border-color: #e3d8d4;
}

.mngjd-catalogs-toggle em {
    color: #95a09a;
    font-size: 10px;
    font-style: normal;
}

.mngjd-catalogs-toggle i {
    font-size: 14px;
    font-style: normal;
    transition: transform .2s ease;
}

.mngjd-catalogs-toggle.is-expanded i {
    transform: rotate(180deg);
}

.mngjd-catalogs-module-empty {
    margin: 0;
    padding: 32px 0;
    color: #8b9490;
    text-align: center;
}

/* Course catalog archive */
.mngjd-catalog-archive {
    max-width: 1120px;
    padding-top: 52px;
    padding-bottom: 72px;
}

.mngjd-catalog-archive-header {
    margin-bottom: 30px;
    text-align: center;
}

.mngjd-catalog-archive-header h1 {
    font-size: 36px;
}

.mngjd-catalog-archive-header p {
    margin: 9px 0 0;
    color: #858f8a;
    font-size: 13px;
}

.mngjd-catalog-archive-card {
    min-height: 148px;
    align-items: center;
    color: #343836;
    background: #fff;
    border: 1px solid #e8eae6;
    box-shadow: none;
}

.mngjd-catalog-archive-card.has-background {
    background: #fff;
}

.mngjd-catalog-archive-card:hover {
    color: #343836;
    background: #faf8f5;
    border-color: #dde1dc;
}

.mngjd-catalog-archive-card > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.mngjd-catalog-archive-card em,
.mngjd-catalog-archive-card small {
    color: #949c97;
    font-size: 11px;
    font-style: normal;
}

.mngjd-catalog-archive-card strong {
    color: #343836;
    font-size: 21px;
    line-height: 1.45;
}

.mngjd-catalog-archive-card small {
    overflow: hidden;
    max-width: 500px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mngjd-catalog-archive-card > i {
    color: #b3b8bd;
    font-size: 21px;
    font-style: normal;
    transition: color .2s ease, transform .2s ease;
}

.mngjd-catalog-archive-card:hover > i {
    color: #9b3a32;
    transform: translateX(3px);
}

@media screen and (max-width: 900px) {
    .mngjd-catalog-page {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mngjd-catalog-hero {
        min-height: 250px;
        padding: 42px 38px;
    }

    .mngjd-catalog-hero h1 {
        font-size: 35px;
    }

    .mngjd-catalog-grid {
        grid-template-columns: 1fr;
    }

    .mngjd-catalog-archive {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media screen and (max-width: 600px) {
    .mngjd-catalog-page {
        padding: 16px 12px 46px;
    }

    .mngjd-catalog-hero {
        display: block;
        min-height: 0;
        padding: 34px 25px 30px;
        border-radius: 18px;
    }

    .mngjd-catalog-eyebrow {
        margin-bottom: 13px;
        font-size: 9px;
    }

    .mngjd-catalog-hero h1 {
        font-size: 29px;
        letter-spacing: .04em;
    }

    .mngjd-catalog-hero-copy p {
        margin-top: 12px;
        font-size: 13px;
    }

    .mngjd-catalog-summary {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin: 24px 0 0;
    }

    .mngjd-catalog-count {
        padding: 8px 12px;
    }

    .mngjd-catalog-count strong {
        font-size: 23px;
    }

    .mngjd-catalog-list-section {
        margin-top: 12px;
        padding: 25px 14px 18px;
        border-radius: 17px;
    }

    .mngjd-catalog-section-heading {
        align-items: flex-start;
        margin: 0 3px 16px;
        padding-bottom: 15px;
    }

    .mngjd-catalog-section-heading h2 {
        font-size: 22px;
    }

    .mngjd-catalog-section-heading p {
        max-width: 104px;
        margin-top: 4px;
        text-align: right;
        line-height: 1.5;
    }

    .mngjd-catalog-grid {
        gap: 9px;
    }

    .mngjd-course-card {
        grid-template-columns: 43px minmax(0, 1fr) 28px;
        gap: 10px;
        min-height: 92px;
        padding: 13px 12px;
        border-radius: 12px;
    }

    .mngjd-course-number {
        width: 42px;
        height: 42px;
        font-size: 12px;
        border-radius: 10px;
    }

    .mngjd-course-copy strong {
        font-size: 13px;
    }

    .mngjd-course-arrow {
        width: 28px;
        height: 28px;
    }

    .mngjd-catalogs-module {
        padding: 23px 14px 18px;
    }

    .mngjd-catalogs-module-grid,
    .mngjd-catalog-archive-grid {
        grid-template-columns: 1fr;
    }

    .mngjd-catalogs-module-card {
        min-height: 88px;
        padding: 16px;
    }

    .mngjd-catalog-archive {
        padding: 34px 12px 48px;
    }

    .mngjd-catalog-archive-card {
        min-height: 136px;
        padding: 21px;
    }
}

/* Daily course updates */
.mngjd-updates-page,
.mngjd-single-update {
    max-width: 1180px;
    padding-top: 48px;
    padding-bottom: 72px;
}

.mngjd-updates-hero {
    margin-bottom: 22px;
    padding: 32px 24px 28px;
    text-align: center;
}

.mngjd-updates-kicker {
    display: block;
    margin-bottom: 7px;
    color: #9b3a32;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.mngjd-updates-hero h1,
.mngjd-single-update-card h1 {
    margin: 0;
    color: #20262c;
    font-family: "STKaiti", "KaiTi", "Songti SC", serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.35;
}

.mngjd-updates-hero p,
.mngjd-single-update-card header p {
    margin: 10px 0 0;
    color: #7c858e;
    font-size: 14px;
}

.mngjd-update-date-group {
    display: block;
    scroll-margin-top: 106px;
}

.mngjd-update-date-group + .mngjd-update-date-group {
    margin-top: 14px;
}

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

.mngjd-updates-index {
    position: sticky;
    z-index: 3;
    top: 84px;
}

.mngjd-updates-index-card {
    overflow: hidden;
    border: 1px solid rgba(44, 53, 60, .08);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 36px rgba(32, 38, 44, .045);
}

.mngjd-updates-index-card > header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(44, 53, 60, .075);
}

.mngjd-updates-index-card > header strong {
    color: #343c43;
    font-size: 15px;
}

.mngjd-updates-index-card > header span {
    color: #9aa1a8;
    font-size: 11px;
}

.mngjd-updates-index-card ol {
    overflow-y: auto;
    max-height: min(60vh, 560px);
    margin: 0;
    padding: 8px;
    list-style: none;
    scrollbar-color: rgba(52, 60, 67, .2) transparent;
    scrollbar-width: thin;
}

.mngjd-updates-index-card li + li {
    margin-top: 2px;
}

.mngjd-updates-index-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 7px;
    color: #68727a;
    font-size: 13px;
    line-height: 1.4;
    transition: background .18s ease, color .18s ease;
}

.mngjd-updates-index-card a::before {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #d1d5d8;
    content: "";
    transition: background .18s ease, transform .18s ease;
}

.mngjd-updates-index-card time {
    flex: 1;
}

.mngjd-updates-index-card small {
    flex: 0 0 auto;
    color: #a1a8ad;
    font-size: 11px;
}

.mngjd-updates-index-card a:focus-visible,
.mngjd-updates-index-card a.is-active {
    background: #f4f1ed;
    color: #8d352f;
}

@media (hover: hover) and (pointer: fine) {
    .mngjd-updates-index-card a:hover {
        background: #f4f1ed;
        color: #8d352f;
    }
}

.mngjd-updates-index-card a.is-active::before {
    background: #9b3a32;
    transform: scale(1.35);
}

.mngjd-updates-index-card a:focus-visible {
    outline: 2px solid #9b3a32;
    outline-offset: -2px;
}

.mngjd-updates-timeline {
    min-width: 0;
}

.mngjd-update-date {
    display: flex;
    min-height: 64px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    text-align: left;
    transition: background .18s ease;
}

.mngjd-update-date::-webkit-details-marker {
    display: none;
}

.mngjd-update-date::marker {
    content: "";
}

.mngjd-update-date:hover {
    background: rgba(255, 255, 255, .42);
}

.mngjd-update-date:focus-visible {
    outline: 2px solid #9b3a32;
    outline-offset: -3px;
}

.mngjd-update-date-title {
    padding-left: 10px;
    border-left: 3px solid #9b3a32;
    color: #2d343a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.mngjd-update-date-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mngjd-update-toggle-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .66);
}

.mngjd-update-toggle-icon::before,
.mngjd-update-toggle-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 2px;
    background: #797f84;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.mngjd-update-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.mngjd-update-date-group[open] .mngjd-update-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.mngjd-update-date-body {
    border-top: 1px solid rgba(44, 53, 60, .075);
}

.mngjd-update-date-group[open] .mngjd-update-date-body {
    animation: mngjd-update-reveal .2s ease-out;
}

@keyframes mngjd-update-reveal {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.mngjd-update-count {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f6f3ef;
    color: #857366;
    font-size: 12px;
    line-height: 1.5;
}

.mngjd-update-category + .mngjd-update-category {
    border-top: 8px solid #f6f3ef;
}

.mngjd-update-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(44, 53, 60, .075);
    background: #fbfaf8;
    color: #6f554a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.mngjd-update-category-title a,
.mngjd-update-category-title span {
    color: inherit;
}

.mngjd-update-category-title a:hover {
    color: #9b3a32;
}

.mngjd-update-category-title small {
    flex-shrink: 0;
    color: #9aa1a8;
    font-size: 11px;
    font-weight: 400;
}

.mngjd-updates-hero,
.mngjd-update-date-card,
.mngjd-updates-card,
.mngjd-single-update-card {
    overflow: hidden;
    border: 1px solid rgba(44, 53, 60, .08);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 36px rgba(32, 38, 44, .055);
}

.mngjd-update-row {
    display: flex;
    min-height: 82px;
    box-sizing: border-box;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    color: inherit;
    transition: background .2s ease;
}

a.mngjd-update-row:hover {
    background: #faf8f5;
}

.mngjd-update-row + .mngjd-update-row {
    border-top: 1px solid rgba(44, 53, 60, .075);
}

.mngjd-update-check {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef6ef;
    color: #3f8051;
    font-size: 14px;
    font-weight: 800;
}

.mngjd-update-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.mngjd-update-copy strong {
    overflow: hidden;
    color: #2c3339;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mngjd-update-progress {
    margin-top: 3px;
    color: #707a83;
    font-size: 13px;
    line-height: 1.5;
}

.mngjd-update-progress em {
    margin-right: 7px;
    color: #a17b54;
    font-style: normal;
}

.mngjd-update-new-badge {
    align-self: flex-start;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fdf0e5;
    color: #a55b21;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.mngjd-update-arrow {
    flex: 0 0 auto;
    color: #b3b8bd;
    font-family: Arial, sans-serif;
    font-size: 25px;
    transition: transform .2s ease, color .2s ease;
}

a.mngjd-update-row:hover .mngjd-update-arrow {
    color: #9b3a32;
    transform: translateX(3px);
}

.mngjd-updates-card {
    margin-bottom: 20px;
}

.mngjd-updates-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 17px;
    border-bottom: 1px solid rgba(44, 53, 60, .075);
}

.mngjd-updates-card-header .mngjd-updates-kicker {
    margin-bottom: 3px;
    font-size: 9px;
}

.mngjd-updates-card-header h2 {
    margin: 0;
    color: #262d33;
    font-size: 19px;
    font-weight: 700;
}

.mngjd-updates-more {
    color: #7c858e;
    font-size: 13px;
}

.mngjd-updates-more:hover {
    color: #9b3a32;
}

.mngjd-updates-card .mngjd-update-day > time {
    display: block;
    padding: 13px 22px 3px;
    color: #9aa1a8;
    font-size: 12px;
}

.mngjd-updates-card .mngjd-update-category-title {
    padding: 9px 22px;
    background: transparent;
}

.mngjd-updates-card .mngjd-update-row {
    min-height: 70px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.mngjd-updates-overflow {
    display: flex;
    min-height: 48px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(44, 53, 60, .075);
    background: #faf8f5;
    color: #7c6560;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}

.mngjd-updates-overflow:hover,
.mngjd-updates-overflow:focus-visible {
    background: #f5efea;
    color: #9b3a32;
}

.mngjd-updates-overflow:focus-visible {
    outline: 2px solid #9b3a32;
    outline-offset: -3px;
}

.mngjd-updates-empty {
    padding: 42px 24px;
    color: #8b939a;
    text-align: center;
}

.mngjd-updates-card > .mngjd-updates-empty {
    margin: 0;
}

.mngjd-updates-pagination {
    margin-top: 34px;
}

.mngjd-updates-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mngjd-updates-pagination li > .page-numbers {
    min-width: 36px;
    height: 36px;
    box-sizing: border-box;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff;
    color: #6d757c;
    line-height: 36px;
}

.mngjd-updates-pagination li > .page-numbers.current {
    background: #343c43;
    color: #fff;
}

.mngjd-update-back {
    position: absolute;
    top: 12px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
    color: #747d85;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease;
}

.mngjd-update-back:hover,
.mngjd-update-back:focus-visible {
    color: #9b3a32;
}

.mngjd-update-back:focus-visible {
    outline: 2px solid #9b3a32;
    outline-offset: 3px;
}

.mngjd-single-update-card {
    max-width: 820px;
    margin: 0 auto;
}

.mngjd-single-update-card > header {
    position: relative;
    padding: 56px 28px 26px;
    border-bottom: 1px solid rgba(44, 53, 60, .075);
    text-align: center;
}

/* Daily updates editor */
.mngjd-update-admin .description {
    margin-bottom: 16px;
}

.mngjd-update-date-field {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mngjd-update-date-field input {
    min-height: 36px;
}

.mngjd-update-admin-row {
    position: relative;
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
}

.mngjd-update-admin-row > .mngjd-remove-update {
    position: absolute;
    top: 12px;
    right: 14px;
}

.mngjd-update-admin-grid,
.mngjd-update-link-fields {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) minmax(160px, .7fr) minmax(135px, .55fr) minmax(190px, .75fr);
    gap: 16px;
}

.mngjd-update-link-fields {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: end;
    margin-top: 14px;
}

.mngjd-update-admin-row label > span {
    display: block;
    margin-bottom: 6px;
    color: #50575e;
    font-weight: 600;
}

.mngjd-link-or {
    padding-bottom: 7px;
    color: #8c8f94;
    text-align: center;
}

.mngjd-post-search-wrap {
    position: relative;
}

.mngjd-post-results {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    overflow-y: auto;
    max-height: 230px;
    border: 1px solid #8c8f94;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
}

.mngjd-post-result,
.mngjd-post-result-empty {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 0;
    background: #fff;
    color: #2c3338;
    text-align: left;
}

.mngjd-post-result:hover {
    background: #f0f6fc;
    color: #135e96;
    cursor: pointer;
}

@media screen and (max-width: 900px) {
    .mngjd-update-date-group {
        scroll-margin-top: 118px;
    }

    .mngjd-updates-layout {
        display: block;
    }

    .mngjd-updates-index {
        top: 54px;
        margin-bottom: 14px;
    }

    .mngjd-updates-index-card > header {
        display: none;
    }

    .mngjd-updates-index-card ol {
        display: flex;
        max-height: none;
        gap: 4px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 7px;
        scrollbar-width: none;
    }

    .mngjd-updates-index-card ol::-webkit-scrollbar {
        display: none;
    }

    .mngjd-updates-index-card li,
    .mngjd-updates-index-card li + li {
        flex: 0 0 auto;
        margin: 0;
    }

    .mngjd-updates-index-card a {
        min-width: 92px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 768px) {
    .mngjd-updates-page,
    .mngjd-single-update {
        width: auto;
        padding: 0 0 54px;
    }

    .mngjd-updates-hero {
        margin-bottom: 16px;
        padding: 26px 16px 22px;
    }

    .mngjd-single-update-card > header {
        padding: 54px 16px 24px;
    }

    .mngjd-update-back {
        left: 16px;
    }

    .mngjd-updates-hero h1,
    .mngjd-single-update-card h1 {
        font-size: 29px;
    }

    .mngjd-update-date-group + .mngjd-update-date-group {
        margin-top: 10px;
    }

    .mngjd-update-date {
        min-height: 58px;
        gap: 8px;
        padding: 15px 14px;
    }

    .mngjd-update-date-title {
        font-size: 16px;
    }

    .mngjd-update-date-meta {
        gap: 8px;
    }

    .mngjd-update-toggle-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .mngjd-update-count {
        padding: 4px 8px;
        font-size: 11px;
    }

    .mngjd-update-category-title,
    .mngjd-updates-card .mngjd-update-category-title {
        padding-right: 14px;
        padding-left: 14px;
    }

    .mngjd-update-row {
        min-height: 76px;
        gap: 11px;
        padding: 15px 14px;
    }

    .mngjd-update-copy strong {
        overflow: visible;
        font-size: 15px;
        white-space: normal;
    }

    .mngjd-updates-card-header {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mngjd-updates-card .mngjd-update-day > time {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mngjd-update-admin-grid,
    .mngjd-update-link-fields {
        grid-template-columns: 1fr;
    }

    .mngjd-link-or {
        padding: 0;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mngjd-update-date-group[open] .mngjd-update-date-body {
        animation: none;
    }

    .mngjd-updates-index-card a,
    .mngjd-updates-index-card a::before,
    .mngjd-update-date,
    .mngjd-update-toggle-icon::before,
    .mngjd-update-toggle-icon::after {
        transition: none;
    }
}

/* Preserve the shared homepage card and remove only its mobile divider. */
#home-row-vip_guide .home-row-left.content-area {
    overflow: hidden !important;
    border: 1px solid rgba(218, 209, 190, .7) !important;
    background-color: rgba(255, 255, 255, .78) !important;
    box-shadow: 0 8px 24px rgba(34, 31, 27, .045) !important;
}

#home-row-vip_guide .mngjd-home-hub {
    display: block;
    gap: normal;
    background: #fbfaf7 url('/wp-content/themes/b2/Assets/custom/home/home-ink-wash.webp') center / cover no-repeat !important;
}

#home-row-vip_guide .mngjd-hub-search,
#home-row-vip_guide .mngjd-hub-vip {
    overflow: visible;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
}

@media screen and (min-width: 769px) {
    #home-row-vip_guide .mngjd-hub-vip {
        border-top: 1px solid #e7dfd0 !important;
    }
}

@media screen and (max-width: 768px) {
    #home-row-vip_guide .mngjd-hub-vip {
        border-top: 0 !important;
    }
}
