body.edubook-book .zg-hero-sub,body.edubook-catalog .zg-hero-sub,body.page-id-1409 .zg-hero-sub{display:none}
body .zg-hero .slides {
    height: auto;
    aspect-ratio: 1920 / 500;
    margin: 0;
    overflow: hidden;
}
body .zg-hero .slide { visibility: hidden; pointer-events: none; }
body .zg-hero .slide.active { visibility: visible; pointer-events: auto; }
body .zg-hero .dots {
    left: 50%;
    right: auto;
    bottom: 9px;
    transform: translateX(-50%);
    gap: 0;
    padding: 0 4px;
    border-radius: 18px;
    background: rgba(24, 39, 53, .55);
}
body .zg-hero .dots span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
}
body .zg-hero .dots span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}
body .zg-hero .dots span.active::before { background: #ff8956; }
@media (max-width: 640px) {
    body .zg-hero .slides { aspect-ratio: 2.4; }
    body .zg-hero .dots { bottom: 5px; }
}
body .zg-hero .slide img{width:100%;height:100%;object-fit:cover}
.ed-actions,.ed-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}
.ed-actions a{display:block;padding:16px 6px;border-radius:4px;text-align:center;background:#03539b;color:white;font-weight:700;text-decoration:none}
.ed-actions a:hover,.ed-actions a:focus{background:#063e72;color:white}
.ed-notice{display:flex;align-items:baseline;gap:14px;background:white;padding:12px 16px;margin:12px 0;border-left:3px solid #cd4a21}
.ed-notice strong,.ed-notice a:last-child{white-space:nowrap}
.ed-notice a:last-child{margin-left:auto}
.ed-news>div{background:white;padding:16px}.ed-news h2{font-size:19px}.ed-news ul{margin:0 0 12px 1em}.ed-news li{margin:.5em 0}
.ed-book-data{display:flex;flex-wrap:wrap;gap:10px 25px;border-block:1px solid #dce3eb;padding:12px 0;margin-bottom:20px}
.ed-book-data div{display:flex;gap:8px}.ed-book-data dt{color:#525e6c}.ed-book-data dd{margin:0}
.edubook-book .entry-meta .posted-on::before{content:"页面发布："}
.edubook-catalog #main .post-thumb-img-content img.wp-post-image{width:auto;height:auto;max-width:100%;max-height:360px;display:block;margin:auto;aspect-ratio:auto;object-fit:contain;transform:none}
.zg-nav li{position:relative}.zg-nav .sub-menu .sub-menu{left:100%;top:0}.zg-nav li:focus-within>.sub-menu{display:block}
.ed-filter,.ed-menu-toggle{display:none}
@media(max-width:768px){
 .ed-actions{gap:6px}.ed-actions a{padding:12px 3px;font-size:15px}
 .ed-notice{display:grid;grid-template-columns:1fr auto;gap:4px}.ed-notice>a:first-of-type{grid-column:1 / -1;grid-row:2}
 .ed-news{grid-template-columns:1fr}
 .ed-menu-toggle{display:block;background:#03539b;color:white;width:100%;padding:7px 15px;text-align:left;border:0;font:inherit}
 .zg-navbar.ed-ready .zg-nav{display:none}.zg-navbar.ed-ready.ed-open .zg-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
 .zg-navbar.ed-ready .zg-nav .sub-menu{display:none}
 .zg-navbar.ed-ready .zg-nav li.ed-sub-open>.sub-menu{display:block;position:static}
 .zg-navbar.ed-ready .zg-nav li.ed-has-sub>a{padding-right:32px}
 .ed-sub-toggle{position:absolute;right:0;top:0;width:32px;padding:0;height:36px;color:white;background:#07508d;border:0}
 :is(.edubook-catalog,.edubook-book) .zg-sidebar .sb-title{margin:0;font-size:18px}
 :is(.edubook-catalog,.edubook-book) .ed-filter{display:block;padding:6px 14px;background:#fff;border:1px solid #c1d1df;color:#03539b;border-radius:4px;line-height:1.5}
 :is(.edubook-catalog,.edubook-book) .sb-search{display:flex;align-items:center;gap:6px}:is(.edubook-catalog,.edubook-book) .sb-search form{flex:1;min-width:0}
 :is(.edubook-catalog,.edubook-book) .sb-search form button{padding:6px 8px}
 :is(.edubook-catalog,.edubook-book) .sb-list[hidden]{display:none}
 .edubook-catalog .ed-filter-ready~main .ast-archive-description{display:none}
}
@media(min-width:769px){.ed-sub-toggle{display:none}:is(.edubook-catalog,.edubook-book) .sb-list[hidden]{display:block}}

.edubook-book .ed-book-data,.edubook-book .entry-content{overflow-wrap:anywhere}.edubook-book .ed-book-data div{min-width:0}.edubook-book .ed-book-data dt{flex:none}

@media (min-width:769px) { .ed-news:has(> div:nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.zg-navbar .ed-about-toggle{width:100%;height:40px;padding:0 6px;border:none;border-radius:0;background:transparent;color:white;font:inherit;font-size:15px;letter-spacing:1px;cursor:pointer}
.zg-navbar .ed-about-toggle::after{content:"▾";margin-left:5px;font-size:.8em}
.zg-navbar.ed-ready .zg-nav .ed-about-item:not(.ed-sub-open)>.sub-menu{display:none}
.zg-navbar.ed-ready .zg-nav .ed-about-item.ed-sub-open>.sub-menu{display:block}
@media(max-width:768px){.zg-navbar .ed-about-toggle{font-size:13px}}

@media (min-width:901px) {
    .edubook-book-list #primary.zg-with-sidebar {
        display:grid;
        grid-template-columns:272px minmax(0,1fr);
        column-gap:20px;
        align-items:start;
    }
    .edubook-book-list #primary.zg-with-sidebar > .zg-sidebar {grid-area:1 / 1;max-width:100%}
    .edubook-book-list #primary.zg-with-sidebar > #main {grid-area:1 / 2;display:block;padding-left:0}
    .edubook-book-list #primary.zg-with-sidebar > .ast-pagination {grid-area:2 / 2}
}
.edubook-book-list #primary .ast-pagination {display:block;clear:both;width:100%}
