/* Public library theme. Loaded after the original styles; cabinet styles stay independent. */
.library-site {
    --primary-color: #21634f;
    --secondary-color: #bd8c39;
    --heading-color: #173d35;
    --base-color: #556c63;
    --lighter-color: #f0f6f2;
    --border-color: #dce8e0;
    --primary-rgb: 33,99,79;
    --secondary-rgb: 189,140,57;
    --vs-theme-color: #21634f;
    --vs-theme-color1: #21634f;
    --vs-theme-color1-rgb: 33,99,79;
    --vs-theme-color2: #bd8c39;
    --vs-theme-color2-rgb: 189,140,57;
    --vs-theme-color3: #337c69;
    --vs-theme-color4: #337c69;
    --vs-theme-color5: #bd8c39;
    --vs-theme-color6: #edf4ef;
    --vs-theme-color7: #e7f1e9;
    --vs-theme-color8: #edf4ef;
    --library-shadow: 0 10px 35px #153e340a;
    background: #f7faf7;
    color: var(--base-color);
    font-family: Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;
    line-height: 1.7;
}
.library-site ::selection { background: #cee5d6; color: #123d35; }
.library-site h1,.library-site h2,.library-site h3,.library-site h4,.library-site h5,.library-site h6 { color: #173d35; line-height: 1.3; overflow-wrap: anywhere; }
.library-site .section-title h2 { font-size: clamp(26px,3.2vw,40px); letter-spacing: -.025em; }
.library-site a { transition: color .2s,background .2s,box-shadow .2s,transform .2s; }
.library-site a:focus-visible,.library-site button:focus-visible,.library-site select:focus-visible,.library-site input:focus-visible { outline: 3px solid #c99e53; outline-offset: 4px; }
.library-site input:not([type=range]):not([type=checkbox]):not([type=radio]),.library-site select,.library-site textarea,.library-site .nice-select { border: 1px solid #d6e4dc; border-radius: 12px; padding: 13px 18px; color: #234a3c; background: #fff; }
.library-site .theme-btn,.library-site .theme-btn.style-two,.library-site .theme-btn.style-three,.library-site .btn-primary,.library-site .library-listen-button { border-radius: 12px; border-color: transparent; background: linear-gradient(120deg,#21634f,#174d40); color: #fff; box-shadow: 0 5px 15px #173d3510; }
.library-site .theme-btn:hover,.library-site .theme-btn.style-two:hover,.library-site .theme-btn.style-three:hover,.library-site .library-listen-button:hover { background: linear-gradient(120deg,#327f67,#21634f); box-shadow: 0 8px 20px #173d3525; transform: translateY(-2px); }
.library-site .theme-btn.style-three { border: 1px solid #ffffff28; }
.library-site .theme-btn.style-three:not(:hover) { background: linear-gradient(120deg,#21634f,#174d40); color: #fff; }
.library-site .theme-btn span { color: inherit; }
.library-site .bgc-lighter { background: #edf4ef; }
.library-site hr { border-color: #8fb39f; opacity: .25; }
.library-site .library-eyebrow { color: #98732c; }
.library-site .library-department-hero .library-eyebrow,.library-site .library-audio-section .library-eyebrow { color: #f3ce80; }

/* Existing desktop sidebar and mobile navigation. */
.library-site.for-sidebar-menu .hidden-bar { background: linear-gradient(155deg,#123d35,#1d5949); border: 0; box-shadow: 10px 0 40px #143e3410; }
.library-site .hidden-bar .inner-box { padding: 30px 24px; }
.library-site .hidden-bar .logo { padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px #031c1620; }
.library-site .hidden-bar .logo img { max-height: 130px; max-width: 100%; object-fit: contain; }
.library-site .hidden-bar .sidebar-menu > li { margin: 3px 0; }
.library-site .hidden-bar .sidebar-menu li a { color: #e2eee7; padding: 11px 13px; font-size: 15px; line-height: 1.5; border-radius: 10px; }
.library-site .hidden-bar .sidebar-menu > li:hover > a,.library-site .hidden-bar .sidebar-menu > li.active > a { color: #f3ce80; background: #ffffff0d; padding-left: 18px; }
.library-site .hidden-bar .lang-switch { display: flex; justify-content: center; gap: 7px; background: #ffffff0b; border: 1px solid #ffffff15; }
.library-site .hidden-bar .lang-btn { border-radius: 9px; color: #dcece3; background: #ffffff0b; border: 1px solid #ffffff25; }
.library-site .hidden-bar .lang-btn.active { color: #183c31; background: #f3ce80; border-color: #f3ce80; }
.library-site .hidden-bar .social-style-two a { background: #fff; border-radius: 10px; width: 38px; height: 38px; line-height: 38px; padding: 9px; }
.library-site .hidden-bar .social-style-two img { filter: brightness(0) saturate(100%); }
.library-site .hidden-bar .theme-btn { background: #f3ce80; color: #173d35; border: 0; font-weight: 700; }
.library-site .hidden-bar .theme-btn.style-three:not(:hover) { background: #f3ce80; color: #173d35; }
.library-site .hidden-bar .theme-btn:hover { background: #ffe2a9; }
.library-site .hidden-bar hr { border-color: #fff; }
.library-site .main-header .header-upper { background: #f7faf7f5; backdrop-filter: blur(14px); border-bottom: 1px solid #dce8e0; }
.library-site .main-header .menu-sidebar .icon-bar { background: #21634f; }

/* Home introduction and department cards. */
.library-site .hero-section { padding: 65px 0 60px; background-attachment: scroll !important; }
.library-site .hero-section::before { background: linear-gradient(115deg,#0b302aef,#1a584be3); }
.library-site .hero-section .row { margin: 0 !important; align-items: center; row-gap: 30px; }
.library-site .hero-content-two h1 { font-size: clamp(28px,3.3vw,48px); line-height: 1.25; letter-spacing: -.025em; max-width: 850px; }
.library-site .hero-content-two h1 span { color: #f3ce80 !important; }
.library-site .hero-video-section { padding: 0 12px; }
.library-site .hero-bg-video { display: block; position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border: 1px solid #ffffff30; border-radius: 22px; box-shadow: 0 20px 50px #061e2840; }
.library-site .features-area-three { padding: 25px 24px 0; background: #f7faf7; }
.library-site .features-area-three > .row { row-gap: 20px; }
.library-site .features-area-three .feature-item { border-radius: 20px; height: 100%; margin: 0; padding: 28px !important; border: 1px solid #ffffff20; box-shadow: var(--library-shadow); align-items: flex-start !important; transition: transform .25s,box-shadow .25s; }
.library-site .feature-item.bg-main-color1 { background: linear-gradient(140deg,#123d35,#22634f); }
.library-site .feature-item.bg-main-color2 { background: linear-gradient(140deg,#286854,#3a8067); }
.library-site .feature-item.bg-main-color3 { background: linear-gradient(140deg,#376d5b,#265947); }
.library-site .features-area-three .feature-item:hover { transform: translateY(-5px); box-shadow: 0 15px 35px #123d3520; }
.library-site .features-area-three .feature-item .icon { width: 52px !important; height: 52px; min-width: 52px; object-fit: contain; padding: 9px; border-radius: 14px; background: #ffffff15; }
.library-site .features-area-three .feature-item h3 { font-size: clamp(19px,1.6vw,24px); margin-bottom: 10px; }
.library-site .features-area-three .feature-item h3 a { color: #fff; }
.library-site .features-area-three .feature-item p { color: #dceae2; font-size: 14px; line-height: 1.65; margin: 0; }

/* Image category cards link directly to the filtered catalog. */
.library-site .library-category-section { padding: 60px 0; }
.library-site .library-category-card { border-radius: 20px; overflow: hidden; height: 310px; margin: 0 12px; background: #163f33; box-shadow: var(--library-shadow); }
.library-site .library-category-card-link { display: block; position: relative; height: 100%; color: #fff; }
.library-site .library-category-card .image { height: 100%; }
.library-site .library-category-card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.library-site .library-category-card:hover .image img { transform: scale(1.05); }
.library-site .library-category-card-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#0b2e2010 12%,#0b302abf 65%,#0b302af2); pointer-events: none; }
.library-site .library-category-card .content { position: absolute; inset: auto 24px 22px; padding: 0; transform: none; opacity: 1; visibility: visible; background: none; z-index: 1; }
.library-site .library-category-card .content .category { background: #ffffff1a; color: #f3ce80; border: 1px solid #ffffff30; border-radius: 30px; padding: 5px 10px; font-size: 11px; }
.library-site .library-category-card h3 { color: #fff; font-size: 23px; margin: 12px 0; }
.library-site .library-category-card .library-category-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.library-site .library-category-count { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; background: #f3ce80; color: #173d35; box-shadow: 0 5px 16px #102f2860; font-size: 13px; font-weight: 650; line-height: 1.3; }
.library-site .library-category-count strong { font-size: 16px; line-height: 1; }

/* Compact book cards, shared by home and recommendations. */
.library-site .library-book-card { padding: 0; border-radius: 18px; background: #fff; border: 1px solid #dce8e0; overflow: hidden; box-shadow: var(--library-shadow); height: auto; margin-bottom: 24px; transition: transform .25s,box-shadow .25s; }
.library-site .library-book-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px #163e3417; }
.library-site .library-book-card .image { height: 265px; max-height: none; padding: 18px !important; margin: 0; border: 0; border-radius: 0; background: linear-gradient(135deg,#e4efe7,#f5f8f2); position: relative; }
.library-site .library-book-card .library-audio-cover-link { display: block; position: static !important; width: 100% !important; height: 100% !important; transform: none !important; opacity: 1 !important; visibility: visible !important; background: transparent !important; }
.library-site .library-book-card .image .library-audio-cover-link img { position: static !important; inset: auto !important; transform: none !important; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 7px 8px #183d3525); }
.library-site .library-book-card .content { padding: 15px 17px 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; min-height: 0; }
.library-site .library-book-card .content h3 { font-size: 16px; line-height: 1.4; margin: 0; min-height: 2.8em; max-height: 2.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; width: 100%; }
.library-site .library-book-card .content h3 a { color: #173d35; }
.library-site .library-audio-label { margin: 0; font-size: 10px; line-height: 1.4; border-radius: 6px; background: #f5ebd3; color: #7d5c25; }
.library-site .library-book-card .library-listen-button { margin: 0; padding: 8px 13px; font-size: 12px; line-height: 1.5; }
.library-site .library-audio-section { background: radial-gradient(ellipse at 90% 0,#3c856b 0,transparent 55%),linear-gradient(125deg,#103b34,#225c49); }
.library-site .library-audio-card .image .library-audio-qr { position: absolute !important; right: 10px !important; bottom: 10px !important; left: auto !important; top: auto !important; width: 88px !important; height: 98px !important; min-height: 98px !important; display: flex !important; padding: 4px !important; line-height: 1.2 !important; }
.library-site .library-audio-card .image .library-audio-qr img.library-qr { position: static !important; inset: auto !important; transform: none !important; width: 78px !important; height: 78px !important; min-width: 78px !important; max-width: 78px !important; min-height: 78px !important; max-height: 78px !important; padding: 0 !important; filter: none; }
.library-site .slick-dots li button { border-color: #b8cfbf; background: #d3e3d8; width: 9px; height: 9px; }
.library-site .slick-dots li.slick-active button { background: #21634f; border-color: #21634f; }
.library-site .library-audio-section .slick-dots li.slick-active button { background: #f3ce80; border-color: #f3ce80; }

/* Poster date on the image, with a blurred copy of that image behind it. */
.library-site .library-poster-card { box-shadow: var(--library-shadow); transition: transform .25s,box-shadow .25s; }
.library-site .library-poster-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px #163e3418; }
.library-site .library-poster-picture { position: relative; overflow: hidden; padding: 0; height: auto; aspect-ratio: 1 / 1; background: #123d35; isolation: isolate; }
.library-site .library-poster-picture > .library-poster-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.65); transform: scale(1.18); z-index: -1; pointer-events: none; }
.library-site .library-poster-picture > .library-poster-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.library-site .library-poster-date { position: absolute; left: 14px; top: 13px; padding: 5px 12px; border-radius: 20px; background: #ffffffed; color: #173d35; font-size: 11px; font-weight: 700; line-height: 1.5; box-shadow: 0 4px 15px #0002; z-index: 2; }
.library-site .library-poster-view { position: absolute; right: 14px; top: 13px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #ffffff25; z-index: 2; }
.library-site .library-poster-body > h3 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 17px; margin: 0 0 18px; }
.library-site .library-material-author { margin-top: 12px; }

/* Book detail and automatic audio duration. */
.library-site .library-book-detail { padding: 38px 0 55px; }
.library-site .library-book-breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-bottom: 30px; min-width: 0; }
.library-site .library-book-breadcrumb > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.library-site .library-book-breadcrumb > a { flex-shrink: 0; color: #21634f; }
.library-site .library-book-cover { position: relative; height: 490px; border-radius: 24px; border: 1px solid #d9e6de; background: radial-gradient(ellipse at top,#fff,#e4eee6); padding: 35px; overflow: hidden; }
.library-site .library-book-cover > a:first-child { display: block; height: 100%; cursor: zoom-in; }
.library-site .library-book-cover-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 16px #163e3425); }
.library-site .library-book-cover > .library-audio-qr { position: absolute; bottom: 14px; right: 14px; width: 112px; height: 122px; z-index: 2; }
.library-site .library-book-cover .library-qr { width: 102px !important; height: 102px !important; min-width: 102px; max-width: 102px; }
.library-site .library-book-inventory { margin-top: 12px; color: #7f9187; font-size: 12px; text-align: center; }
.library-site .library-book-summary { padding: 18px 0 0 22px; }
.library-site .library-book-summary h1 { font-size: clamp(28px,3vw,42px); letter-spacing: -.025em; margin: 0 0 14px; }
.library-site .library-book-authors { font-size: 17px; color: #6a8176; margin-bottom: 26px; }
.library-site .library-book-summary h2 { font-size: 19px; padding-top: 22px; border-top: 1px solid #dce8e0; }
.library-site .library-book-facts { margin: 20px 0 24px; }
.library-site .library-book-facts > div { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 20px; padding: 10px 0; border-bottom: 1px solid #e4ece5; font-size: 14px; }
.library-site .library-book-facts dt { font-weight: 400; color: #6d8277; }
.library-site .library-book-facts dd { color: #234b3b; margin: 0; overflow-wrap: anywhere; font-weight: 500; }
.library-site .library-book-facts dd a { color: #21634f; text-decoration: underline; text-underline-offset: 3px; }
.library-site .library-duration-row { background: #e9f3ec; border-radius: 10px; padding: 12px !important; border: 0 !important; margin-top: 8px; }
.library-site .library-book-description { margin-top: 32px; padding: 30px; background: #fff; border: 1px solid #dce8e0; border-radius: 22px; box-shadow: var(--library-shadow); overflow-wrap: anywhere; }
.library-site .library-book-description h2 { font-size: 23px; margin: 0 0 16px; }
.library-site .library-book-description img { max-width: 100% !important; height: auto !important; }
.library-site .library-related-books { padding-top: 25px; }

/* Listening interface with a real playlist. */
.library-site #library-book-playlist { scroll-margin-top: 140px; }
.library-site .library-player.audio-player { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); padding: 0; margin: 38px 0 0; background: #fff; border: 1px solid #d5e3da; border-radius: 24px; overflow: hidden; max-width: none; box-shadow: var(--library-shadow); }
.library-site .library-player-stage { padding: 32px; background: radial-gradient(ellipse at 90% 0,#33765f 0,transparent 65%),linear-gradient(135deg,#133e35,#1a5243); color: #fff; min-width: 0; }
.library-site .library-player-stage > .library-eyebrow { color: #f3ce80; margin-bottom: 24px; }
.library-site .library-player-now { display: flex; gap: 20px; align-items: center; min-width: 0; margin-bottom: 26px; }
.library-site .library-player-now > img { width: 92px; height: 118px; flex-shrink: 0; border-radius: 10px; object-fit: contain; background: #ffffff15; padding: 5px; }
.library-site .library-player-now > div { min-width: 0; }
.library-site .library-player-now h2 { font-size: 22px; line-height: 1.4; color: #fff; margin: 0 0 10px; }
.library-site .library-player-now p { color: #c4dace; font-size: 13px; line-height: 1.5; margin: 0; }
.library-site .library-player-stage audio { width: 100%; }
.library-site .library-player.is-ready audio { display: none; }
.library-site .library-player-controls[hidden] { display: none; }
.library-site .library-player-buttons { display: flex; align-items: center; justify-content: center; gap: 15px; }
.library-site .library-player-buttons button { background: #ffffff0d; border: 1px solid #ffffff20; width: 43px; height: 43px; border-radius: 50%; padding: 0; color: #fff; font-size: 14px; cursor: pointer; line-height: 1; }
.library-site .library-player-buttons button:hover { background: #ffffff25; }
.library-site .library-player-buttons button:disabled { opacity: .3; cursor: default; }
.library-site .library-player-buttons .library-player-play { background: #f3ce80; color: #173d35; width: 64px; height: 64px; border: 0; font-size: 23px; box-shadow: 0 5px 24px #081e1c50; }
.library-site .library-player-buttons .library-player-play:hover { background: #ffe3ad; }
.library-site .library-player-progress { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.library-site .library-player-progress span { min-width: 38px; }
.library-site .library-player input[type=range] { height: 6px; border: 0; padding: 0; background: linear-gradient(to right,#f3ce80 var(--progress,0%),#ffffff35 var(--progress,0%)); border-radius: 6px; accent-color: #f3ce80; cursor: pointer; min-width: 0; }
.library-site .library-player-progress input { flex: 1; }
.library-site .library-player-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; }
.library-site .library-player-options label { color: #c9dfd2; font-size: 12px; display: flex; gap: 10px; align-items: center; margin: 0; }
.library-site .library-player-options select { display: block !important; background: #153d32; color: #fff; border: 1px solid #ffffff30; border-radius: 8px; padding: 6px 10px; width: auto; font-size: 12px; }
.library-site .library-player-options .nice-select { display: none !important; }
.library-site .library-player-volume input { width: 90px; flex: 0 1 90px; }
.library-site .library-player-note { color: #b7d2c3; font-size: 11px; margin: 20px 0 0; }
.library-site .library-player-status { color: #ffe0a3; font-size: 12px; margin: 12px 0 0; min-height: 0; }
.library-site .library-player-status:empty { display: none; }
.library-site .library-playlist { padding: 27px 20px 18px; min-width: 0; }
.library-site .library-playlist > header { display: flex; align-items: center; gap: 12px; padding: 0 12px 16px; border-bottom: 1px solid #e0e9e2; }
.library-site .library-playlist h3 { font-size: 19px; margin: 0; }
.library-site .library-playlist > header > span { display: grid; place-items: center; color: #21634f; font-size: 12px; background: #e7f2e9; border-radius: 20px; min-width: 25px; height: 25px; padding: 0 6px; }
.library-site .library-playlist ol { padding: 10px 0 0; margin: 0; list-style: none; max-height: 320px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b2cbbd transparent; }
.library-site .library-playlist-row { display: flex; align-items: center; gap: 6px; border-radius: 12px; margin: 2px 0; padding: 8px; }
.library-site .library-playlist-row.is-active { background: #e6f1e9; }
.library-site .library-playlist-row:hover { background: #f0f5f1; }
.library-site .library-playlist-row > button { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; background: transparent; color: #244936; border: 0; padding: 0; text-align: left; cursor: pointer; }
.library-site .library-track-number { color: #97ac9e; font-size: 10px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.library-site .library-playlist-row img { width: 38px; height: 49px; object-fit: contain; background: #dbe8dd; border-radius: 5px; flex-shrink: 0; }
.library-site .library-track-text { flex: 1; min-width: 0; }
.library-site .library-track-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.45; color: #214c3a; }
.library-site .library-track-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7b9485; font-size: 11px; }
.library-site [data-track-duration] { font-size: 10px; color: #718d7b; white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.library-site .library-playlist-row > a { font-size: 19px; color: #799c87; padding: 5px; flex-shrink: 0; }

/* Public catalog, publications, staff, forms and footer. */
.library-site .cta-area-two.overlay::before { background: linear-gradient(115deg,#103d34ed,#21634fe0); opacity: 1; }
.library-site .cta-area-two .breadcrumb-wrapper__title { color: #fff; font-size: clamp(30px,4vw,48px); letter-spacing: -.025em; }
.library-site .breadcrumb-wrapper { padding: 45px 0; }
.library-site .breadcrumb-wrapper__content { padding: 0; }
.library-site .cta-area-two .widget.widget-search { padding: 0; background: transparent; border: 0; margin: 0; box-shadow: none; }
.library-site .cta-area-two .default-search-form { padding: 12px; background: #ffffff10; border: 1px solid #ffffff25; border-radius: 18px; }
.library-site .library-catalog-category { color: #f3ce80; font-size: 20px; margin-top: 12px; }
.library-site .default-search-form { display: flex; gap: 8px; align-items: center; max-width: 650px; margin: 24px auto 0; position: relative; }
.library-site .default-search-form input[type=text] { min-width: 0; flex: 1; padding-right: 48px; }
.library-site .default-search-form .searchbutton { position: static; display: grid; place-items: center; background: #f3ce80; color: #173d35; border: 0; border-radius: 12px; width: 46px; height: 46px; flex-shrink: 0; padding: 0; }
.library-site .default-search-form .btn-secondary { color: #e1eee7; background: #ffffff15; border: 1px solid #ffffff30; border-radius: 10px; font-size: 12px; flex-shrink: 0; padding: 10px 12px !important; margin: 0 !important; }
.library-site .library-catalog-count { margin: 18px 0; font-size: 13px; }
.library-site .library-catalog-table { overflow-x: auto; border: 1px solid #dce8e0; border-radius: 16px; background: #fff; box-shadow: var(--library-shadow); }
.library-site .library-catalog-table table.custom-table { display: table; margin: 0; width: 100%; min-width: 610px; border: 0; }
.library-site .library-catalog-table th,.library-site .library-catalog-table td { padding: 16px 18px; border: 0; border-bottom: 1px solid #e6eee8; font-size: 14px; vertical-align: middle; }
.library-site .library-catalog-table thead th { background: #e6f0e9; color: #335a45; font-size: 12px; font-weight: 600; }
.library-site .library-catalog-table tbody tr:nth-child(even) { background: #f7faf8; }
.library-site .library-catalog-table tbody tr:hover { background: #edf5ef; }
.library-site .library-catalog-table .table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: transparent; }
.library-site .library-catalog-book-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.library-site .library-tabs { scrollbar-width: thin; scrollbar-color: #bccfc3 transparent; padding-bottom: 12px; }
.library-site .library-tabs a { color: #385e49; font-size: 12px; }
.library-site .library-tabs a:hover,.library-site .library-tabs a[aria-current=page] { background: #21634f; color: #fff; border-color: #21634f; }
.library-site .sidebar-area .widget,.library-site .blog-sidebar .widget { padding: 25px; background: #fff; border: 1px solid #dce8e0; border-radius: 18px; box-shadow: var(--library-shadow); margin-bottom: 20px; }
.library-site .widget_categories h2 { font-size: 22px; }
.library-site .widget_categories li a { color: #446451; padding: 10px 0; border-bottom: 1px solid #edf2ed; }
.library-site .activity-item { background: #fff; border: 1px solid #dce8e0; border-radius: 18px; box-shadow: var(--library-shadow); gap: 18px; height: 100%; margin: 0; }
.library-site .activity-item .image { border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 4px solid #e8f1e9; }
.library-site .activity-item .content { min-width: 0; }
.library-site .activity-item .content h5 { font-size: 19px; }
.library-site .activity-item .time { font-size: 13px; color: #7c9385; }
.library-site .alphabet { column-count: 3; column-gap: 24px; padding-top: 0; }
.library-site .alphabet__item { break-inside: avoid; background: #fff; border: 1px solid #dce8e0; border-radius: 18px; padding: 22px; margin-bottom: 24px; box-shadow: var(--library-shadow); }
.library-site .alphabet__char { color: #21634f; font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.library-site .alphabet__authors { font-size: 14px; line-height: 1.65; }
.library-site .alphabet__authors > div { padding: 7px 0; border-bottom: 1px solid #edf3ed; }
.library-site .authors-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.library-site .authors-list > div { background: #fff; padding: 20px; border-radius: 14px; border: 1px solid #dce8e0; }
.library-site .cta-area-two .cta-content-part h2 { color: #fff; }
.library-site .cta-area-two .cta-content-part h2 span { color: #f3ce80; }
.library-site .cta-content-part .theme-btn { background: #f3ce80; color: #173d35; }
.library-site .vs-btn { background: linear-gradient(120deg,#21634f,#174d40); color: #fff; border-radius: 12px; }
.library-site .admission-form { background: #fff; border: 1px solid #dce8e0; border-radius: 24px; box-shadow: var(--library-shadow); padding: 35px; }
.library-site .bg-title { background: linear-gradient(130deg,#e3f0e7,#f6f8ef); }
.library-site .poster-chart-wrap,.library-site .poster-department-list { border: 1px solid #dce8e0; border-radius: 18px; box-shadow: var(--library-shadow); }
.library-site .library-grid .library-card { box-shadow: var(--library-shadow); border-radius: 18px; }
.library-site .vs-blog,.library-site .blog-item { background: #fff; border: 1px solid #dce8e0; border-radius: 20px; box-shadow: var(--library-shadow); overflow: hidden; }
.library-site .vs-blog__content,.library-site .blog-item .content { padding: 24px; }
.library-site .vs-blog__content { color: #536c5c; }
.library-site .vs-blog__content img { border-radius: 12px; }
.library-site .accordion-item { border: 1px solid #dce8e0; border-radius: 14px; overflow: hidden; margin-bottom: 12px; background: #fff; }
.library-site .accordion-button:not(.collapsed) { color: #173d35; background: #e7f2e9; box-shadow: none; }
.library-site .pagination a,.library-site .pagination span { border-radius: 10px; }
.library-site .pagination .active span { background: #21634f; border-color: #21634f; }
.library-site .main-footer { background: linear-gradient(125deg,#0f332b,#1a5040) !important; color: #bed4c7; }
.library-site .main-footer .widget-area { background-image: none !important; }
.library-site .main-footer h5 { color: #f3ce80; }
.library-site .main-footer a { color: #d2e3d8; }
.library-site .main-footer a:hover { color: #f3ce80; }
.library-site .main-footer .footer-logo { padding: 14px; background: #fff; border-radius: 18px; width: fit-content; margin-bottom: 24px; }
.library-site .main-footer .footer-logo img { max-width: 120px; max-height: 120px; object-fit: contain; }
.library-site .footer-map { border-radius: 16px; overflow: hidden; opacity: .85; }
.library-site .footer-map iframe { display: block; }
.library-site .main-footer .footer-bottom { background: #09291e50; border-top: 1px solid #ffffff12; margin-top: 20px; }
.library-site .main-footer .list-style-one li i { color: #f3ce80; }

@media(min-width:1200px) {
    .library-site .container { padding-left: 30px; padding-right: 30px; }
}
@media(max-width:1199px) {
    .library-site .hero-section { padding: 45px 0; }
    .library-site .hero-video-section { max-width: 480px; }
    .library-site .hero-bg-video { aspect-ratio: 16/9; }
    .library-site .library-book-summary { padding-left: 5px; }
    .library-site .library-book-cover { height: 440px; padding: 25px; }
    .library-site .library-player-stage { padding: 25px; }
    .library-site .library-player-now h2 { font-size: 19px; }
    .library-site .library-playlist { padding: 25px 12px 15px; }
}
@media(max-width:991px) {
    .library-site .features-area-three { padding: 20px 16px 0; }
    .library-site .library-book-cover { height: 450px; max-width: 470px; margin: auto; }
    .library-site .library-book-summary { padding: 16px 0 0; }
    .library-site .library-player.audio-player { grid-template-columns: 1fr; }
    .library-site .library-player-stage { padding: 30px; }
    .library-site .library-playlist ol { max-height: 290px; }
    .library-site .library-book-facts > div { grid-template-columns: 180px minmax(0,1fr); }
    .library-site .sidebar-area { margin-top: 30px; }
    .library-site .alphabet { column-count: 2; }
    .library-site .authors-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
    .library-site .container { padding-left: 18px; padding-right: 18px; }
    .library-site .hidden-bar .inner-box { padding: 65px 24px 30px; }
    .library-site .hero-content-two h1 { font-size: 29px; }
    .library-site .features-area-three .feature-item { padding: 22px !important; }
    .library-site .library-category-card { height: 290px; margin: 0 8px; }
    .library-site .library-category-card .content { left: 20px; right: 20px; }
    .library-site .library-book-card .image { height: 235px; padding: 14px !important; }
    .library-site .library-book-card .content { padding: 13px 14px 15px; gap: 8px; }
    .library-site .library-book-card .content h3 { font-size: 15px; }
    .library-site .library-book-description { padding: 22px; }
    .library-site .library-player-now > img { width: 76px; height: 98px; }
    .library-site .library-book-breadcrumb { font-size: 12px; gap: 8px; }
    .library-site .default-search-form { flex-wrap: wrap; }
    .library-site .default-search-form input[type=text] { flex-basis: 100%; }
    .library-site .default-search-form .searchbutton { top: 16px; height: 28px; }
    .library-site .default-search-form .btn-secondary { padding: 8px 12px !important; margin: 0 !important; }
    .library-site .activity-item { padding: 20px; }
}
@media(max-width:479px) {
    .library-site .hero-content-two h1 { font-size: 26px; }
    .library-site .hero-section { padding: 32px 0; }
    .library-site .library-book-card .image { height: 235px; }
    .library-site .library-audio-card .image .library-audio-qr { width: 76px !important; height: 86px !important; min-height: 86px !important; }
    .library-site .library-audio-card .image .library-audio-qr img.library-qr { width: 66px !important; height: 66px !important; min-width: 66px !important; max-width: 66px !important; min-height: 66px !important; max-height: 66px !important; }
    .library-site .library-book-cover { height: 405px; padding: 25px; }
    .library-site .library-book-summary h1 { font-size: 29px; }
    .library-site .library-book-facts > div { grid-template-columns: 120px minmax(0,1fr); gap: 12px; font-size: 13px; }
    .library-site .library-player-stage { padding: 22px 18px; }
    .library-site .library-player-now { gap: 15px; }
    .library-site .library-player-now h2 { font-size: 18px; }
    .library-site .library-player-buttons { gap: 11px; }
    .library-site .library-player-buttons button { width: 38px; height: 38px; }
    .library-site .library-player-buttons .library-player-play { width: 58px; height: 58px; }
    .library-site .library-player-options { gap: 12px; }
    .library-site .library-player-volume input { width: 65px; flex-basis: 65px; }
    .library-site .library-playlist-row > button { gap: 8px; }
    .library-site .library-track-number { display: none; }
    .library-site .library-track-text strong { font-size: 12px; }
    .library-site .library-book-description { padding: 20px; }
    .library-site .library-catalog-table th,.library-site .library-catalog-table td { padding: 12px; font-size: 13px; }
    .library-site .alphabet { column-count: 1; }
    .library-site .authors-list { grid-template-columns: 1fr; }
    .library-site .admission-form { padding: 24px 18px; }
}
@media(prefers-reduced-motion:reduce) {
    .library-site * { scroll-behavior: auto !important; }
    .library-site a,.library-site .feature-item,.library-site .library-book-card,.library-site .library-poster-card,.library-site .library-category-card img { transition: none !important; }
    .library-site [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Update 04: equal outer gutters and a sidebar that fits the viewport. */
.library-site {
    --library-frame-gap: 12px;
    --library-sidebar-width: clamp(230px,22vw,280px);
    background: #fff;
}
.library-site .hero-section,.library-site .cta-area-two,.library-site .library-audio-section,
.library-site .library-department-hero,.library-site .main-footer {
    border-radius: 20px;
    overflow: hidden;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar {
    top: var(--library-frame-gap);
    bottom: var(--library-frame-gap);
    height: calc(100vh - 2 * var(--library-frame-gap));
    height: calc(100dvh - 2 * var(--library-frame-gap));
    border-radius: 20px;
    overflow: hidden;
    z-index: 10000;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .inner-box {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(5px,1.4vh,12px);
    padding: clamp(12px,2.8vh,24px) 20px;
    box-sizing: border-box;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .inner-box > hr { display: none; }
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .logo {
    margin: 0;
    padding: clamp(6px,1.2vh,12px);
    border-radius: 14px;
    flex: 0 1 auto;
    min-height: 0;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .logo a { display: block; }
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .logo img {
    display: block;
    width: 100%;
    height: clamp(36px,14vh,108px);
    max-height: none;
    max-width: 100%;
    object-fit: contain;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .lang-switch {
    flex: 0 0 auto;
    height: auto;
    min-height: 32px;
    padding: 3px;
    margin: 0 !important;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .lang-btn {
    font-size: clamp(11px,1.8vh,14px);
    line-height: 1.3;
    padding: 5px 12px;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .sidebar-menu {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(2px,.6vh,6px);
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .sidebar-menu > li { margin: 0; }
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .sidebar-menu li a {
    font-size: clamp(11px,1.9vh,15px);
    line-height: 1.4;
    padding: clamp(4px,1vh,9px) 10px;
    overflow-wrap: anywhere;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .sidebar-menu > li:hover > a { padding-left: 10px; }
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .inner-box > .theme-btn {
    flex: 0 0 auto;
    margin: 0 !important;
    min-height: 34px;
    padding: clamp(7px,1.4vh,12px) 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(11px,1.9vh,15px);
    line-height: 1.4;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .social-style-two {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 !important;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .social-style-two a {
    display: grid;
    place-items: center;
    margin: 0;
    width: clamp(26px,4.8vh,36px);
    height: clamp(26px,4.8vh,36px);
    padding: 7px;
    line-height: 1;
}
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .social-style-two img { width: 100%; height: 100%; object-fit: contain; }
.library-site.for-sidebar-menu.page-wrapper .hidden-bar .cross-icon { color: #fff; }

/* Warm department cards, matching the catalog button. */
.library-site .features-area-three .feature-item.bg-main-color1,
.library-site .features-area-three .feature-item.bg-main-color2,
.library-site .features-area-three .feature-item.bg-main-color3 {
    background: linear-gradient(135deg,#f3ce80,#f8dfa7);
    border-color: #edd29b;
}
.library-site .features-area-three .feature-item:hover { background: linear-gradient(135deg,#f8dfa7,#f3ce80); }
.library-site .features-area-three .feature-item h3 a { color: #173d35; }
.library-site .features-area-three .feature-item p { color: #5c6145; }
.library-site .features-area-three .feature-item .icon { background: #ffffff60; filter: brightness(.25); }

/* Replace the old bright green hover on document categories, including its white pseudo-element. */
.library-site .vs-feature.style2 { background: #fff; border: 1px solid #dce8e0; box-shadow: var(--library-shadow); }
.library-site .vs-feature.style2::before { display: none; }
.library-site .vs-feature.style2 .vs-feature__title { color: #173d35; }
.library-site .vs-feature.style2 .vs-feature__link { color: #21634f; font-weight: 600; }
.library-site .vs-feature.style2:hover,.library-site .vs-feature.style2:focus-within { background: linear-gradient(130deg,#21634f,#123d35); border-color: #21634f; }
.library-site .vs-feature.style2:hover .vs-feature__title,.library-site .vs-feature.style2:focus-within .vs-feature__title { color: #fff; }
.library-site .vs-feature.style2:hover .vs-feature__link,.library-site .vs-feature.style2:focus-within .vs-feature__link { color: #f3ce80; }
.library-site .library-category-card-link::after { transition: background .25s; }
.library-site .library-category-card-link:hover::after,.library-site .library-category-card-link:focus-visible::after { background: linear-gradient(180deg,#123d3520 12%,#123d35ca 65%,#123d35f5); }
.library-site .library-category-card:hover .library-category-link { color: #f3ce80 !important; }
.library-site .widget_categories li a:hover,.library-site .widget_categories li a:focus-visible { color: #21634f; background: #edf5ef; border-radius: 8px; }

/* Category filters sit above both catalog columns and wrap instead of scrolling. */
.library-site .library-catalog-filters { width: 100%; margin: 0 0 28px; padding: 18px; border: 1px solid #dce8e0; border-radius: 18px; background: #f5f8f5; }
.library-site .library-catalog-filters .library-tabs { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: none; overflow: visible; padding: 0; }
.library-site .library-catalog-filters .library-tabs a { white-space: normal; overflow-wrap: anywhere; max-width: 100%; line-height: 1.45; }

@media(min-width:992px) {
    .library-site.for-sidebar-menu.page-wrapper {
        padding-left: calc(var(--library-sidebar-width) + 2 * var(--library-frame-gap));
        padding-right: var(--library-frame-gap);
        padding-top: var(--library-frame-gap);
        padding-bottom: var(--library-frame-gap);
    }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar { left: var(--library-frame-gap); width: var(--library-sidebar-width); }
}
@media(max-width:991px) {
    .library-site.for-sidebar-menu.page-wrapper { padding-left: var(--library-frame-gap); padding-right: var(--library-frame-gap); padding-bottom: var(--library-frame-gap); }
    .library-site.for-sidebar-menu.page-wrapper.side-content-visible { overflow: hidden; }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar { width: min(320px,calc(100vw - 2 * var(--library-frame-gap))); max-width: none; }
    .side-content-visible .library-site.for-sidebar-menu.page-wrapper .hidden-bar { left: var(--library-frame-gap); }
    .library-site.for-sidebar-menu.page-wrapper.side-content-visible .hidden-bar { left: var(--library-frame-gap); right: auto; opacity: 1; visibility: visible; }
    .library-site.for-sidebar-menu.page-wrapper.side-content-visible .form-back-drop { left: 0; opacity: 1; visibility: visible; }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar .inner-box { padding-top: 48px; }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar .cross-icon { top: 16px; right: 18px; }
}
@media(max-height:440px) {
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar .logo { display: none; }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar .sidebar-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center; }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar .sidebar-menu li a { font-size: 11px; text-transform: none; padding: 4px 6px; }
    .library-site.for-sidebar-menu.page-wrapper .hidden-bar .inner-box { gap: 5px; padding-bottom: 10px; }
}
@media(max-width:479px) {
    .library-site { --library-frame-gap: 8px; }
    .library-site .library-catalog-filters { padding: 14px; margin-bottom: 20px; }
    .library-site .library-catalog-filters .library-tabs { gap: 8px; }
    .library-site .library-catalog-filters .library-tabs a { padding: 8px 12px; }
}

/* Update 05: posters, calendar controls and department heading. */
.library-site .library-poster-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.library-site .library-poster-grid > .col-12 { grid-column: 1 / -1; }
.library-site .library-poster-card .library-poster-body { padding: 14px; }
.library-site .library-department-hero h1 { color: #f3ce80; }
.library-site .flatpickr-calendar { z-index: 120000 !important; border-radius: 14px; }
.library-site .flatpickr-calendar .flatpickr-months { height: 42px; }
.library-site .flatpickr-calendar .flatpickr-month { height: 42px; overflow: visible; }
.library-site .flatpickr-calendar .flatpickr-current-month { height: 38px; padding: 7px 0 0; line-height: 28px; }
.library-site .flatpickr-calendar .flatpickr-current-month input.cur-year,
.library-site .flatpickr-calendar .flatpickr-monthDropdown-months { width: auto; min-height: 0; height: 28px; padding: 0 3px; margin: 0; border: 0; border-radius: 0; background: transparent; font-size: 16px; line-height: 28px; box-shadow: none; }
.library-site .flatpickr-calendar .numInputWrapper { width: 7ch; }
.library-site .flatpickr-calendar .flatpickr-weekdays { height: 30px; }
.library-site .flatpickr-calendar .flatpickr-weekday { line-height: 30px; }
.library-site .flatpickr-calendar .flatpickr-day { height: 39px; line-height: 39px; padding: 0; }
.library-site .footer-map iframe { display: block; height: 220px; border-radius: 14px; }
.library-site .footer-map-link { display: inline-flex; margin-top: 10px; color: #f3ce80; }
@media(max-width:991px) { .library-site .library-poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:479px) { .library-site .library-poster-grid { grid-template-columns: minmax(0,1fr); } }

/* Update 06: no blocking preloader, mobile books and multipart audio labels. */
.library-site .preloader { display: none !important; }
.library-site .library-audio-heading h2 { color: #f3ce80; }
.library-site #library-main:focus { outline: none; }
.library-site .library-audio-parts-badge { display: inline-block; color: #21634f; font-size: 12px; padding: 3px 9px; background: #e6f1e9; border-radius: 20px; }
.library-site .library-track-part { display: block; color: #bd8c39; font-size: 12px; font-weight: 700; margin: 3px 0; }
.library-site .library-slider-previous,.library-site .library-slider-next { width: 40px; height: 40px; border: 0; background: #21634f; color: #fff; border-radius: 50%; font-size: 26px; line-height: 1; position: absolute; top: calc(100% + 8px); z-index: 2; }
.library-site .library-slider-previous { left: calc(50% - 48px); }
.library-site .library-slider-next { right: calc(50% - 48px); }
.library-site .library-mobile-book-slider .slick-disabled { opacity: .4; }
@media(max-width:767px) {
    .library-site .library-home-posters > .library-poster-card:nth-child(n+4) { display: none; }
    .library-site .library-mobile-book-slider { display: block; margin: 0 0 58px; }
    .library-site .library-mobile-book-slider .slick-slide { padding: 0 10px; height: auto; }
    .library-site .library-mobile-book-slider .library-book-card { margin-bottom: 0; }
}
