/**
 * @Author: Waris Agung Widodo <user>
 * @Date:   2018-01-22T10:46:36+07:00
 * @Email:  ido.alit@gmail.com
 * @Filename: style.css
 * @Last modified by:   user
 * @Last modified time: 2018-01-26T11:08:52+07:00
 */

@import url('../../../../css/core.css');

html {
    scroll-behavior: smooth;
}

body {
    color: #1f2933;
    background: #f6f9ff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.library-newsbar {
    background: #f7c948;
    color: #0b2f6b;
    font-size: 14px;
    font-weight: 600;
}

.library-newsbar .container {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 42px;
}

.library-newsbar a {
    color: #0b2f6b;
    text-decoration: none;
    font-weight: 500;
}

.newsbar-ticker {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.newsbar-ticker .newsbar-item {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.newsbar-ticker .newsbar-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.newsbar-label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #fff;
    background: #0b4ea2;
    padding: 6px 12px;
    border-radius: 4px;
}

.c-header {
    min-height: 620px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.hero-slide.active {
    opacity: 1;
}

.hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.22);
    z-index: 1;
}

.hero-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: #f7c948;
    transition: width 6s linear;
}
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

video.hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-header .mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7, 27, 63, 0.72);
}

.library-navbar {
    position: relative;
    z-index: 2;
    padding: 18px 32px;
    background: rgba(8, 37, 84, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.library-navbar .navbar-brand {
    color: #fff;
    align-items: center;
    max-width: 440px;
}

.library-navbar .navbar-brand:hover {
    color: #fff;
}

.library-brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 6px;
    padding: 6px;
}

.library-brand-copy {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 12px;
}

.library-brand-kicker {
    color: #f7c948;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.library-brand-copy h1 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 3px 0 0;
}

.library-brand-copy h2 {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 400;
    margin: 4px 0 0;
}

.library-navbar .nav-link {
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 1rem;
    font-weight: 600;
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    position: relative;
}

.library-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #f7c948;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.library-navbar .nav-link.dropdown-toggle::after {
    content: '';
    display: block;
    border: none;
}

.library-navbar .nav-item.active .nav-link::after,
.library-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.library-navbar .nav-item.active .nav-link,
.library-navbar .nav-link:hover {
    color: #f7c948 !important;
}

.library-navbar .dropdown-menu {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(11, 47, 107, 0.12);
    padding: 8px 0;
    margin-top: 8px;
}

.library-navbar .dropdown-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    padding: 8px 20px;
    transition: background 0.2s, color 0.2s;
}

.library-navbar .dropdown-item:hover,
.library-navbar .dropdown-item.active {
    background: #f0f4ff;
    color: #1B4F8A;
}

.library-navbar .dropdown-toggle {
    position: relative;
}

.library-navbar .dropdown.show .dropdown-toggle {
    color: #f7c948 !important;
}

.nav-member-link {
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    margin-left: 8px;
}

/* OPAC nav item: filled yellow pill, outline on hover/active */
.library-navbar .nav-opac {
    display: inline-flex;
    align-items: center;
}

.library-navbar .navbar-nav {
    align-items: center;
}

.library-navbar .nav-opac .nav-link {
    display: inline-flex;
    align-items: center;
    color: #0b2f6b !important;
    background: #f7c948;
    border: 2px solid #f7c948;
    border-radius: 8px;
    font-weight: 800;
    padding: 3px 18px !important;
    margin-left: 10px;
    line-height: 1.3;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.library-navbar .nav-opac .nav-link::after {
    display: none;
}

.library-navbar .nav-opac .nav-link:hover,
.library-navbar .nav-opac.active .nav-link {
    color: #f7c948 !important;
    background: transparent;
    border-color: #f7c948;
}

.result-search .library-navbar .nav-opac .nav-link,
.member-area .library-navbar .nav-opac .nav-link {
    color: #0b2f6b !important;
    background: #f7c948;
    border-color: #f7c948;
}

.result-search .library-navbar .nav-opac .nav-link:hover,
.result-search .library-navbar .nav-opac.active .nav-link,
.member-area .library-navbar .nav-opac .nav-link:hover,
.member-area .library-navbar .nav-opac.active .nav-link {
    color: #f7c948 !important;
    background: transparent;
    border-color: #f7c948;
}

.library-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-top: 108px;
    padding-bottom: 92px;
}

.hero-eyebrow,
.section-kicker,
.section-heading span,
.library-visit-cta span {
    color: #c98d00;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.library-hero-content h1 {
    max-width: 720px;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 10px 0 18px;
}

.hero-description {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 26px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-hero-primary,
.btn-cta {
    color: #0b2f6b;
    background: #f7c948;
    border-color: #f7c948;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

.btn-hero-primary:hover,
.btn-cta:hover {
    color: #0b2f6b;
    background: #ffd96a;
    border-color: #ffd96a;
}

.btn-hero-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.58);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

.btn-hero-secondary:hover {
    color: #0b2f6b;
    background: #fff;
}

.service-hours {
    margin-left: auto;
    max-width: 310px;
    background: rgba(255, 255, 255, 0.94);
    color: #0b2f6b;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.service-hours span {
    color: #0b4ea2;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-hours strong {
    display: block;
    font-size: 24px;
    margin-top: 4px;
}

.service-hours p {
    margin: 8px 0 0;
    color: #5a6b87;
}

.library-search-panel {
    position: relative;
    z-index: 3;
    margin-top: -54px;
}

.library-shortcut-section {
    margin-top: 34px;
}

.search {
    margin-top: 0;
    margin-bottom: 46px;
    position: relative;
}

.search input {
    padding-right: 35px;
}

.search .input-transparent {
    border: none;
    outline: none;
    background: transparent;
    font-size: 17px;
    color: #0b2f6b;
}

.search .input-transparent::placeholder {
    font-weight: 500;
    color: #7184a6;
}

.search .card {
    background-image: url('../images/icon/ios7-search.png');
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 30px;
    border-radius: 8px;
    border: 1px solid rgba(11, 47, 107, 0.12) !important;
}

.shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

.topic {
    list-style: none;
    gap: 16px;
}

.topic li {
    width: 174px;
    height: 170px;
    border-radius: 8px;
    border: 1px solid #dbe7ff;
    background: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topic li:hover {
    transform: translateY(-3px);
    border-color: #8fb8ff;
    box-shadow: 0 12px 28px rgba(11, 78, 162, 0.13);
}

.topic li a {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 20px;
    font-size: 13px;
    color: #0b2f6b;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    opacity: 1;
}

.topic li a:hover {
    text-decoration: none;
    color: #0b4ea2;
}

.topic li a > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: #0b4ea2;
    background: #eef5ff;
    border-radius: 8px;
    font-size: 30px;
}

.topic-custom-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
}

.text-thin {
    font-weight: 200 !important;
}

.subtitle-section {
    font-size: 12px;
}

.library-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 64px;
}

.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 154px;
    padding: 26px;
    color: #0b2f6b;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dbe7ff;
    border-radius: 22px;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(11, 47, 107, 0.1);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shortcut-item:hover {
    color: #0b2f6b;
    text-decoration: none;
    border-color: #8fb8ff;
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(11, 47, 107, 0.16);
}

.shortcut-item i {
    color: #0b4ea2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eef5ff;
    font-size: 26px;
    margin-bottom: 18px;
}

.shortcut-item-gold i {
    color: #c98d00;
    background: #fff6d7;
}

.shortcut-item-blue {
    color: #fff;
    background: #0b2f6b;
    border-color: rgba(255, 255, 255, 0.18);
}

.shortcut-item-blue:hover,
.shortcut-item-blue small,
.shortcut-item-blue span {
    color: #fff;
}

.shortcut-item-blue i {
    color: #0b2f6b;
    background: #f7c948;
}

.shortcut-item span {
    font-size: 18px;
    font-weight: 800;
}

.shortcut-item small {
    color: #6f7d73;
    font-size: 13px;
    margin-top: 6px;
}

.library-topic-section,
.library-collection-section,
.library-map-section,
.library-news-section {
    margin-bottom: 72px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.map-card-link {
    display: block;
    text-decoration: none;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-card-link:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(11, 47, 107, 0.16);
}
.map-card-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 360px;
    background: #eef5ff;
    border: 2px dashed #b8cff0;
    border-radius: 22px;
    color: #1B4F8A;
}
.map-card-icon {
    font-size: 3.2rem;
    opacity: 0.7;
}
.map-card-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.map-card-arrow {
    font-size: 1.2rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}
.map-card-link:hover .map-card-arrow {
    transform: translate(4px, -4px);
}

.section-heading h2,
.library-map-section h2,
.library-visit-cta h2 {
    color: #0b2f6b;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.18;
    font-weight: 800;
    margin: 8px 0 10px;
}

.section-heading p {
    color: #5a6b87;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.library-reader-section {
    background: #fff;
    border-top: 1px solid #dbe7ff;
    border-bottom: 1px solid #dbe7ff;
    margin-bottom: 0;
}

.library-visit-cta {
    background: #eaf2ff;
    padding: 44px 0;
}

.library-visit-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.library-visit-cta h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.library-map-section iframe {
    border-radius: 8px;
    min-height: 380px;
}

.library-map-section p {
    color: #5a6b87;
    line-height: 1.7;
}

.tentang-content {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(11, 47, 107, 0.08);
    border: 1px solid #eef1f5;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.8;
    color: #374151;
}
.tentang-content h3 {
    font-family: 'Outfit', sans-serif;
    color: #1B4F8A;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.tentang-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
.tentang-content p {
    margin-bottom: 12px;
}

.btn-rounded {
    border-radius: 20px 20px 20px 20px;
    padding-left: 32px;
    padding-right: 32px;
    font-weight: 200;
}

.card-text.title {
    font-size: 12px;
}

.link-see-more {
    font-style: italic;
    color: #999;
    text-decoration: none;
}

.link-see-more:hover {
    color: #666;
    text-decoration: none;
}

.advanced-wraper {
    background: #fff;
    padding: 16px;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    border-radius: 8px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(11, 47, 107, 0.15);
    border: 1px solid #e5e7eb;
}

.card-image-rounded {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background: #ccc;
}

.card-image {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.card-image img, .card-image-rounded img {
    width: 102%;
    height: 102%;
    margin-top: -1%;
    margin-left: -1%;
}

.collection .card-text {
    font-size: 12px;
}

.result-search .c-header {
    min-height: 0;
}

.member-area .c-header {
    min-height: 40px;
}

/* Space the collection search form away from the navbar on non-hero pages */
.result-search .search,
.member-area .search {
    margin-top: 22px;
}

/* Sub pages (non-hero): keep navbar solid navy (mask removed) */
.result-search .library-navbar,
.member-area .library-navbar {
    background: #0b2f6b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.result-search .library-navbar .navbar-brand-copy h1,
.result-search .library-brand-copy h1,
.member-area .library-brand-copy h1 {
    color: #fff;
}

.result-search .library-brand-copy h2,
.member-area .library-brand-copy h2 {
    color: rgba(255, 255, 255, 0.78);
}

.result-search .library-navbar .nav-link,
.member-area .library-navbar .nav-link {
    color: rgba(255, 255, 255, 0.84) !important;
}

.result-search .library-navbar .nav-link:hover,
.result-search .library-navbar .nav-item.active .nav-link,
.member-area .library-navbar .nav-link:hover,
.member-area .library-navbar .nav-item.active .nav-link {
    color: #f7c948 !important;
}

.result-search .library-navbar .nav-link::after,
.member-area .library-navbar .nav-link::after {
    background: #f7c948;
}

.result-search .nav-member-link,
.member-area .nav-member-link {
    border-color: rgba(255, 255, 255, 0.32);
}

.item p {
    font-size: 10pt;
}

.authors a {
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

.availability {
    text-align: center;
    overflow: hidden;
}

.availability .label {
    font-size: 7pt;
    color: #aaa;
}

.availability .value {
    font-size: 28pt;
    font-weight: 200;
}

.add-to-chart {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #606f7b;
    color: #f8fafc;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.add-to-chart .label {
    color: #f8fafc;
}

.availability:hover .add-to-chart {
    opacity: 1;
}

.availability:hover .availability-content {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.biblioPaging {
    text-align: center;
    border-top: 1px solid #dae1e7;
    padding-top: 20px;
}

.biblioPaging:first-child {
    margin-bottom: 1rem;
    border-bottom: 1px solid #dae1e7;
    border-top: none;
    padding-bottom: 20px;
    padding-top: 0px;
}

.biblioPaging .pagingList {
    display: inline-flex;
    justify-content: center;
    background: #dae1e7;
    border-radius: 20px;
}

.biblioPaging .pagingList b,
.biblioPaging .pagingList a {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.biblioPaging .pagingList b {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 20px;
    min-width: 38px;
    box-shadow: 0px 0px 10px #007bff;
}

.biblioPaging .pagingList a {
    color: #3d4852;
    background-color: transparent;
}

.biblioPaging .pagingList a:hover {
    color: #007bff;
}

.biblioPaging .pagingList a.first_link {
    padding-left: 20px;
}

.biblioPaging .pagingList a.last_link {
    padding-right: 20px;
}

.sugestion {
    min-height: 80px;
    margin-top: 16px;
    padding-left: 60px;
}

.sugestion .title {
    font-weight: 600;
}

.sugestion .author {
    color: #839CB5;
}

.container-img {
    width: 60px;
    position: absolute;
    top: -10px;
    left: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.sugestion .card-text {
    font-size: 12px;
}

.text-label {
    font-weight: bold !important;
}

/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
    transition: all .3s ease;
}

.slide-fade-leave-active {
    transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter, .slide-fade-leave-to
    /* .slide-fade-leave-active below version 2.1.8 */
{
    transform: translateX(10px);
    opacity: 0;
}

/* Card elevation */

.elevation-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.elevation-1:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.elevation-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.elevation-5 {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.page-member-area .memberButton,
.jsonResultLink,
.xmlResultLink {
    font-weight: 400;
    color: #007bff;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.jsonResultLink:hover,
.xmlResultLink:hover {
    color: #0056b3;
    text-decoration: none;
}

.jsonResultLink:focus,
.xmlResultLink:focus {
    text-decoration: none;
    box-shadow: none;
}

.jsonResultLink:disabled,
.xmlResultLink:disabled {
    color: #6c757d;
    pointer-events: none;
}

.biblioMarkFormAction {
    display: none;
}

.memberInfoHead {
    font-size: 24px;
    font-weight: bold;
    border-left: 4px solid #848484;
    padding: 2px 4px 2px 16px;
    margin-bottom: 16px;
}

.page-member-area .tagline {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 1.5rem;
}

.page-member-area .memberButton {
    background-color: #0074e7;
    color: white;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

.page-member-area .memberButton:hover {
    background-color: #0085ff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

.page-member-area .errorBox {
    color: #fd423d;
    padding: 1rem;
    background-color: rgba(255, 67, 61, 0.22);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.page-member-area .loginInfo {
    padding: 0.5rem 0;
}

.page-member-area .fieldLabel {
    font-weight: bold;
    padding: 0.2rem 0;
}

.page-member-area .form-control {
    width: 320px;
}

.librarian {
    display: flex;
    margin-bottom: 1.5rem;
    flex: 0 50%;
}

.span2 {
    width: 12rem;
}

.span2 div:first-child {
    padding: 2rem;
    background: #dae1e7;
    border-radius: 4px;
}

.span2 img {
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12),
    0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.span8 {
    flex: 1;
    padding: 0 1rem 0 1rem;
}

.span8 .row-fluid {
    display: flex;
}

.span8 .row-fluid .key {
    flex: 0 0 100px;
    font-weight: bold;
}

.span8 .row-fluid .value {
    flex: 1;
}

.span8 .librarian-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

#loginForm form {
    width: 20rem;
}

#loginForm .heading1 {
    font-weight: bold;
}

#loginForm .login_input input {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 8px;
}

.library-footer {
    padding: 34px 0 26px;
    color: rgba(255, 255, 255, 0.82);
    background: #082554;
}

.library-footer h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.library-footer p {
    line-height: 1.7;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.library-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-links a:hover,
.library-footer a:hover {
    color: #f7c948;
    text-decoration: none;
}

.footer-muted {
    color: rgba(255, 255, 255, 0.68);
}

.btn-footer-search {
    color: #0b2f6b;
    background: #f7c948;
    border-color: #f7c948;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .library-navbar {
        padding: 14px 18px;
    }

    .library-navbar .navbar-collapse {
        background: rgba(8, 37, 84, 0.97);
        margin-top: 14px;
        padding: 12px;
        border-radius: 8px;
    }

    .library-hero-content {
        padding-top: 78px;
        padding-bottom: 82px;
    }

    .library-hero-content h1 {
        font-size: 42px;
    }

    .service-hours {
        margin: 28px 0 0;
        max-width: none;
    }

    .library-shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .library-newsbar .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .library-brand-copy h1 {
        font-size: 15px;
    }

    .library-brand-copy h2 {
        display: none;
    }

    .library-hero-content h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

    .library-search-panel {
        margin-top: -34px;
    }

    .search .input-transparent {
        font-size: 15px;
    }

    .library-shortcuts {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
    }

    .section-heading h2,
    .library-map-section h2,
    .library-visit-cta h2 {
        font-size: 28px;
    }

    .library-visit-cta .container,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

#loginForm .homeButton {
    display: none;
}

.loginButton {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#loginForm .loginButton {
    margin-top: 10px;
}

#loginForm .loginButton {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

#loginForm .loginButton:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

#adv-modal .modal-content,
#adv-modal .modal-footer {
    position: relative;
    z-index: 1;
}

#adv-modal .modal-content:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-image: url("../images/logo-big.png");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position-x: 500px;
    background-position-y: 250px;
    z-index: 0;
    opacity: 0.5;
}

.attachList {
    padding: 4px 24px;
}

.attachList li {
    padding: 4px 0;
}

.comment-found {
    display: inline-block;
    margin-bottom: 8px;
}

.comments {
    padding: 8px 0;
    border-top: 1px dotted #cbd5e0;
}

.comments .comment-member {
    font-size: 10pt;
    font-weight: bold;
}

.comments .comment-content {
    color: #4a5568;
}

#vio {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 99999999999;
    background: #f56565;
    padding: 8px 0;
    color: #fff5f5;
}

#vio a {
    color: #2d3748;
}

#colorbox {
    border-radius: 5px;
}

#cboxLoadedContent {
    padding: 10px;
}

#cboxOverlay {
    background: #404040;
}

#cboxTitle {
    font: 10pt/1.8 'Quicksand', sans-serif;
    font-weight: bold;
    padding: 15px 0;
    background: #000000;
    bottom: 0;
    color: #ffffff;
}

#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomRight {
    width: 0;
    height: 0;
}

#cboxMiddleLeft,
#cboxMiddleRight {
    width: 0;
}

#cboxBottomCenter,
#cboxTopCenter {
    height: 0;
}

#languageMenuButton::after {
    display: none;
}

.s-chat {
    display: none;
    flex-direction: column;
    width: 320px;
    height: 480px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
    z-index: 99;
}

.s-chat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: #EF6C00;
    z-index: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.s-chat div,
.s-chat a,
.s-chat footer {
    position: relative;
    z-index: 10;
}

#show-pchat {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 20;
    top: 0;
    right: 0;
    background-color: white;
    border-bottom-left-radius: 4px;
    cursor: pointer;
}

#show-pchat i {
    display: none;
}

#show-pchat:hover {
    opacity: .9;
}

#show-pchat:before {
    font-family: Font Awesome\ 5 Free;
    content: "\f2d1";
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
}

.s-chat-header {
    font-size: 24px;
    font-weight: 300;
    color: #ebf8ff;
    line-height: 1.2;
}

.s-chat-content.text-center {
    position: relative;
}

.s-chat-content.text-center form {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0 16px;
    margin-top: 4px;
}

.s-chat-content.text-center p:first-of-type {
    text-align: left;
    font-size: 14px;
    color: #FFE0B2;
    font-weight: 300;
    margin: 0 -16px;
    line-height: 1;
}

.s-chat-content.text-center hr {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 378px;
    z-index: 1;
}

.s-chat-content.text-center label {
    z-index: 10;
    position: relative;
    margin-top: 20px;
    font-size: 14px;
}

.s-chat-content.text-center input#message {
    z-index: 10;
    position: relative;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 16px;
}

.s-chat-content input#message:focus,
.s-chat-content.text-center input#message:focus {
    color: #495057;
    background-color: #fff;
    border-color: #FFCC80;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255,204,128,.25);
}

.s-chat-content label {
    z-index: 10;
    position: relative;
}

.s-chat-content input#message {
    z-index: 10;
    position: relative;
    display: inline-block;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 8px;
}

.s-chat-content .btn.btn-block {
    border: 1px solid #E65100;
    position: relative;
    z-index: 10;
    font-size: 14px;
    background-color: #EF6C00;
    color: #FFF3E0;
}

.s-chat-content .btn.btn-block:hover {
    background-color: #F57C00;
}

.s-chat-content:not(.text-center) {
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    height: 370px;
    margin: 8px 0;
    padding: 16px;
    font-size: 14px;
}

.s-chat-content #log {
    height: 270px;
    background-color: white;
    margin: -16px -16px 8px -16px;
    border-radius: 8px 8px 0 0;
    padding: 16px;
    border-bottom: 1px solid #e3e3e3;
    overflow-y: scroll;
}

.s-chat footer {
    font-size: 11px;
    padding: 16px;
    display: none;
}

.s-chat footer:not(.text-center) {
    font-size: 11px;
    padding: 0;
    display: block;
}

.remember_forgot {
    display: flex;
    justify-content: space-between;
}

.expand {
    margin: 0 -1.25rem -1.25rem -1.25rem;
}

.navbar-collapse.collapsing,
.navbar-collapse.collapse.show {
    background-color: #2d3748;
    padding: 16px;
    z-index: 99;
    border-radius: 4px;
    margin-top: 8px;
}

.forgotButton {
    float: right;
    text-decoration: none;
    padding-top: 16px;
    color: #718096;
}

.forgotButton:hover {
    text-decoration: none;
    color: #4299E1;
}
.highlight{
	color:red;
}

.biblioPagingTop {
    display: none;
}

.grid-item {
    font-size: 12.04px;
    font-family: "DM Sans", sans-serif;
}

.grid-item--title {
	box-sizing: border-box;
    color: rgb(33, 33, 33);
    cursor: pointer;
    display: -webkit-box;
    line-height: 18.0667px;
    margin-bottom: 4px;
    max-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    word-break: keep-all;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.grid-item .list-group-item {
    padding: .25rem .5rem;
    display: flex;
    justify-content: space-between;
}

.grid-item .list-group-item label {
    color: #6D7588;
    padding: 0;
    margin: 0;
}

img.not-available {
    filter: grayscale(.9);
}

.grid-item--menu {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 10;
}

.grid-item--menu .dropdown-toggle {
    text-decoration: none;
    color: inherit;
}

.grid-item--menu .dropdown-toggle::after {
    display: none;
}

pre.sf-dump, pre.sf-dump .sf-dump-default {
    z-index: 888 !important;
}

.availability-item {
    color: white; 
    padding: 10px; 
    border-radius: 5px
}

.item-onloan, .item-notforloan  {
    background-color: #f00; 
    width: 100%; 
    display: block;
}

.item-available {
    background-color: #5bc0de; 
}

.item-onreserve {
    background-color: orange; 
}

@media (max-width: 991.98px) {
    .library-navbar .navbar-collapse.collapsing,
    .library-navbar .navbar-collapse.collapse.show {
        background: rgba(8, 37, 84, 0.97);
        border-radius: 8px;
        margin-top: 14px;
    }
}

/* About page content styling */
.about-content h3 {
    color: #0b2f6b;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.about-content h4 {
    color: #1f2933;
    margin-top: 1.25rem;
    font-weight: 600;
}
.about-content p {
    margin-bottom: 1rem;
}
.about-content ul, .about-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.about-content a {
    color: #0b4ea2;
    text-decoration: underline;
}
.about-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}
.about-content table td, .about-content table th {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
}

/* Footer maps */
footer .embed-responsive {
    border-radius: 8px;
}

/* Organizational Chart Section */
.library-org-section {
    background: #fff;
    padding: 60px 0;
}

.library-org-section .section-heading {
    margin-bottom: 40px;
}

.org-chart-wrapper {
    overflow-x: auto;
    padding: 20px 0;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 600px;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.org-level-1,
.org-level-2 {
    max-width: 300px;
}

.org-level-3 {
    max-width: 700px;
}

.org-level-4 {
    max-width: 500px;
}

.org-connector {
    width: 2px;
    height: 30px;
    background: #0b2f6b;
    margin: 0 auto;
}

.org-box {
    border: 2px solid #0b2f6b;
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
    min-width: 160px;
    background: #fff;
}

.org-box-primary {
    background: #e8f0fe;
    border-color: #0b2f6b;
}

.org-box-secondary {
    background: #f0f4ff;
    border-color: #0b2f6b;
}

.org-box-accent {
    background: #fff9c4;
    border-color: #0b2f6b;
}

.org-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0b2f6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.org-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2933;
}

/* Staff Cards Section */
.library-staff-section {
    background: #f6f9ff;
    padding: 60px 0;
}

.library-staff-section .section-heading {
    margin-bottom: 40px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.staff-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.staff-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 20px;
    text-align: center;
}

.staff-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2f6b;
    margin: 0 0 8px 0;
}

.staff-role {
    display: inline-block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.staff-info p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Collection Carousel */
.collection-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.collection-carousel-track {
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.collection-carousel-track .flex.flex-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
}

.collection-carousel-track .flex.flex-wrap > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.collection-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.collection-track::-webkit-scrollbar { display: none; }

.collection-track > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #0b2f6b;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(11, 47, 107, 0.25);
}

.carousel-btn:hover {
    background: #1a4a8a;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(11, 47, 107, 0.35);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

/* Modern Book Card */
.book-card-wrapper {
    width: 190px;
}

.book-card-cover {
    height: 260px;
}

.book-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e7eefc;
    box-shadow: 0 12px 28px rgba(11, 47, 107, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(11, 47, 107, 0.18);
}

.book-card-cover {
    height: 220px;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.book-card-label {
    display: inline-flex;
    color: #0b4ea2;
    background: #eef5ff;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 9px;
}

.book-card-title {
    color: #0b2f6b;
    font-family: 'Outfit', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.28;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover .book-cover-img {
    transform: scale(1.12) rotate(2.5deg);
}

/* Reader showcase (left image, right ranking list) */
.reader-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 20px;
}

.reader-showcase-left {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 280px;
    background: transparent;
}

.reader-showcase-left img {
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.reader-showcase-right {
    display: flex;
    flex-direction: column;
}

.reader-showcase-right .readers-grid {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    justify-content: flex-start;
}

.reader-showcase-right .reader-card-wrapper {
    max-width: none;
    width: 100%;
}

.reader-showcase-right .reader-card {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.reader-showcase-right .reader-card-avatar {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    margin: 12px 16px 12px 12px;
    background: #1B4F8A;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reader-showcase-right .reader-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.reader-showcase-right .reader-card-body {
    padding: 12px 16px 12px 0;
    flex: 1;
    text-align: left;
}

.reader-showcase-right .reader-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.reader-showcase-right .reader-name {
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reader-showcase-right .reader-type {
    font-size: 0.7rem;
    margin-bottom: 0;
    padding: 2px 10px;
}

.reader-showcase-right .reader-stats {
    border-top: 0;
    padding-top: 4px;
    gap: 16px;
    justify-content: flex-start;
}

.reader-showcase-right .reader-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reader-showcase-right .reader-stat strong {
    font-size: 1rem;
}

.reader-showcase-right .reader-stat span {
    font-size: 0.7rem;
}

/* Library statistics section */
.library-stats-section {
    background: #eef5ff;
    padding: 68px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-block {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 16px 42px rgba(11, 47, 107, 0.1);
    border: 1px solid #eef1f5;
}

.stat-block strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2f6b;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.stat-block span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
}

.stat-block-warn strong { color: #d97706; }
.stat-block-ok strong { color: #1f8a5b; }

.stats-chart-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 18px 48px rgba(11, 47, 107, 0.11);
    border: 1px solid #eef1f5;
}
.stats-chart-card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0b2f6b;
    font-size: 1.1rem;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.stats-transaction h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #0b2f6b;
    font-size: 1.2rem;
    margin: 0 0 14px;
}

.stats-transaction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.trans-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid #eef1f5;
}

.trans-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}

.trans-card-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0b2f6b;
}

.trans-card-total {
    background: #0b2f6b;
    border-color: #0b2f6b;
}

.trans-card-total .trans-card-label { color: rgba(255, 255, 255, 0.8); }
.trans-card-total .trans-card-value { color: #ffffff; }

/* News Card - Refined Editorial Design */
.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(11, 47, 107, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 47, 107, 0.09);
    border-color: #cbd5e1;
}

.news-card-accent {
    display: none;
}

.news-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.news-card-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.news-card-date i {
    color: #1B4F8A;
    font-size: 0.82rem;
}

.news-card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #1B4F8A;
}

.news-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b2f6b;
    margin: 0 0 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-card-title a:hover {
    color: #1B4F8A;
    text-decoration: none;
}

.news-card-summary {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #1B4F8A;
    text-decoration: none;
    font-size: 0.86rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.news-card-link:hover {
    gap: 10px;
    color: #0b2f6b;
    text-decoration: none;
}

.news-card-link i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.news-card-link:hover i {
    transform: translateX(2px);
}

/* News page layout (single column listing page) */
section.container.mt-8 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage news section */
.library-news-section {
    position: relative;
    width: 100%;
}

.library-news-section .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

body[data-page="news"] .search,
body[data-page="news"] #search-wraper,
body[data-page^="tentang-"] .search,
body[data-page^="tentang-"] #search-wraper {
    display: none !important;
}

.news-card-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #eef1f5;
}

.news-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card-thumb a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb a img,
.news-card:hover .news-card-thumb img {
    transform: scale(1.05);
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card-title a:hover {
    color: #1B4F8A;
    text-decoration: underline;
}

.news-detail-thumb {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
}

.news-detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6b87;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.news-detail-date i {
    color: #1B4F8A;
}

.news-detail-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.news-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .news-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .news-home-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .reader-showcase {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-transaction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modern Reader Card */
.readers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.reader-card-wrapper {
    width: 100%;
    max-width: 280px;
}

.reader-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(11, 47, 107, 0.18);
}

.reader-card-avatar {
    height: 160px;
    background: #1B4F8A;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.reader-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reader-card-body {
    padding: 18px 20px 22px;
    text-align: center;
}

.reader-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2f6b;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.reader-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: #f0f4ff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.reader-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
}

.reader-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reader-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0b2f6b;
    font-family: 'Outfit', sans-serif;
}

.reader-stat span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    margin-top: 2px;
}

/* Collection section heading */
.section-heading h2,
.section-heading h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-heading p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    color: #5a6577;
    letter-spacing: 0.01em;
}

/* Topic section heading */
.library-topic-section .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Hero typography */
.library-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
}

/* Section heading */
.section-heading {
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .library-shortcuts {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .service-hours {
        border-radius: 18px;
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .staff-photo {
        height: 220px;
    }

    .org-chart {
        min-width: 400px;
    }

    .org-box {
        min-width: 120px;
        padding: 8px 12px;
    }

    .org-title {
        font-size: 0.65rem;
    }

    .org-name {
        font-size: 0.75rem;
    }
}

/* Book detail: availability table */
.availability-list {
    border: 1px solid #eef1f5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(11, 47, 107, 0.06);
}

.availability-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eef1f5;
}

.availability-row:last-child {
    border-bottom: 0;
}

.availability-cell {
    padding: 12px 14px;
    border-right: 1px solid #eef1f5;
}

.availability-cell:last-child {
    border-right: 0;
}

.availability-location {
    flex: 1 1 46%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.availability-location-name {
    font-weight: 600;
    color: #0b2f6b;
    font-size: 0.92rem;
    line-height: 1.3;
    word-break: break-word;
}

.availability-call-number {
    color: #6b7280;
    font-size: 0.8rem;
    word-break: break-all;
}

.availability-code {
    flex: 1 1 24%;
    min-width: 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
    word-break: break-all;
    display: flex;
    align-items: center;
}

.availability-status {
    flex: 1 1 30%;
    min-width: 0;
    display: flex;
    align-items: center;
}

.availability-status .availability-item {
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    width: 100%;
    text-align: center;
}

/* Book detail: back button */
.book-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b2f6b;
    background: #fff;
    border: 1px solid #eef1f5;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(11, 47, 107, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.book-detail-back:hover {
    background: #0b2f6b;
    color: #fff;
    border-color: #0b2f6b;
    text-decoration: none;
}

.book-detail-back i {
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .availability-row {
        flex-wrap: wrap;
    }

    .availability-location {
        flex: 1 1 100%;
        border-bottom: 1px solid #eef1f5;
    }

    .availability-code {
        flex: 1 1 50%;
        border-right: 1px solid #eef1f5;
    }

    .availability-status {
        flex: 1 1 50%;
    }

    .availability-cell {
        border-right: 0;
    }

    /* Book detail: center cover and constrain width on small screens */
    .container > .flex.flex-wrap {
        flex-direction: column;
    }

    .container > .flex.flex-wrap > .w-64 {
        width: 100%;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }

    .container > .flex.flex-wrap > .flex-1 {
        padding: 0 !important;
        margin-top: 12px;
    }
}
