/**
 * @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
 */

html {
    scroll-behavior: smooth;
}
.slick-prev::before, .slick-next::before {
  color: #333; /* Ubah warna ikon panah */
  font-size: 30px;
  opacity: .5;  /* Pastikan tidak transparan */
}


.c-header {
    height: calc(100vw * 1029 / 1942);
    min-height: unset;
    max-height: 820px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-color: #123008;
    background-image: url('../images/slide1.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

}

.vegas-slide {
    background-color: #123008 !important;
}

.section1.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.c-header .mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

}

.search {
    margin-top: -30px;
}

.search input {
    padding-right: 35px;
}

.search .input-transparent {
    border: none;
    outline: none;
    background: transparent;
    font-size: 16pt;
}

.search .input-transparent::placeholder {
    font-weight: 400;
    color: #242323;
}

.search .card {
    background-image: url('../images/icon/ios7-search.png');
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 30px;
}

.shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

.topic {
    list-style: none;
}

.topic li {
    display: flex;
}

.topic li a {
    font-size: 12px;
    color: #666;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}

.topic li a:hover {
    text-decoration: none;
    opacity: 1;
}

.text-thin {
    font-weight: 200 !important;
}

.subtitle-section {
    font-size: 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: 64px;
    left: 16px;
    right: 16px;
    border-radius: 4px;
    z-index: 999;
}

.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: 160px; */
    min-height: 320px;
}

.member-area .c-header {
    min-height: 40px;
}

.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;
}

#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;
}

.btn1 {
    background-color: #01ba6d;
    z-index: 10;
    font-size: 14px;
}

.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: #0d703d;
    padding: 16px;
    z-index: 99;
    border-radius: 4px;
    margin-top: 8px;
}

.forgotButton {
    float: right;
    text-decoration: none;
    padding-top: 16px;
    color: #718096;
}
.btn-outline-secondary {
    color: #6c757d;
    border-color: #d9dee2;
}
dt {
  font-weight: 600;
}
dd, dt{
  padding: 1.8px 0;
}
.list-group-item {
  border-color: #ccc;
}
.forgotButton:hover {
    text-decoration: none;
    color: #4299E1;
}
.highlight{
	color:red;
}

.biblioPagingTop {
    display: none;
}

.grid-item {
    font-size: 12.04px;
    font-family: "Open Sauce One", 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;
}


.custom-blue-navbar {
  background-color: #0e4300; /* Hijau tua / gelap */
}


.bg-green-darkest {
background-color: #0e4300; /* Hijau tua / gelap */

}

/* =============================================================
   REDESIGN 2026 — PERPUSTAKAAN BLA JAKARTA
   Modernisasi tema: tipografi baru, hero, navbar, kartu koleksi,
   footer. Warna dasar (hijau tua #0e4300) dipertahankan sebagai
   identitas brand, ditambah aksen emas untuk kesan institusional.
   ============================================================= */

:root {
    --blaj-primary: #0e4300;
    --blaj-primary-dark: #082b00;
    --blaj-primary-light: #1a6600;
    --blaj-accent: #c9a227;
    --blaj-accent-dark: #a8842010;
    --blaj-ink: #1c2b1a;
    --blaj-muted: #6b7a68;
    --blaj-bg-soft: #f5f7f3;
    --blaj-border: #e3e8df;
    --blaj-radius: 14px;
    --blaj-shadow: 0 10px 30px rgba(14, 67, 0, 0.08);
    --blaj-shadow-lg: 0 20px 50px rgba(14, 67, 0, 0.14);
}

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', 'Segoe UI', sans-serif;
    color: var(--blaj-ink);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--blaj-ink);
}

/* ---------- Navbar ---------- */
.custom-blue-navbar {
    background-color: var(--blaj-primary) !important;
    background-image: linear-gradient(90deg, var(--blaj-primary) 0%, var(--blaj-primary-dark) 100%);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    box-shadow: 0 2px 18px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: padding 0.2s ease;
}

.custom-blue-navbar .navbar-brand h1 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.custom-blue-navbar .navbar-brand h2 {
    color: rgba(255,255,255,0.75);
    font-size: 0.68rem;
    font-weight: 400;
}

.custom-blue-navbar .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-blue-navbar .navbar-nav {
    gap: 0.15rem;
}

.custom-blue-navbar .nav-item.active .nav-link,
.custom-blue-navbar .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.12);
}

.custom-blue-navbar .nav-item.active .nav-link {
    box-shadow: inset 0 -2px 0 var(--blaj-accent);
}

.custom-blue-navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: var(--blaj-shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.custom-blue-navbar .dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
}

.custom-blue-navbar .dropdown-item:hover {
    background-color: var(--blaj-bg-soft);
    color: var(--blaj-primary);
}

/* ---------- Navbar mobile: cegah hamburger jatuh ke baris bawah ---------- */
@media (max-width: 991.98px) {
    .custom-blue-navbar {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .custom-blue-navbar .navbar-brand {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 0.5rem;
        overflow: hidden;
    }

    .custom-blue-navbar .navbar-brand .inline-flex.flex-col {
        min-width: 0;
    }

    .custom-blue-navbar .navbar-brand h1 {
        font-size: 0.88rem;
        line-height: 1.2;
        white-space: normal;
    }

    .custom-blue-navbar .navbar-brand h2 {
        font-size: 0.6rem;
    }

.custom-blue-navbar .navbar-toggler {
    flex-shrink: 0;
    margin-left: 0.75rem;
    margin-right: 0;
    padding: 0.35rem 0.55rem;
}
}

/* ---------- Hero ---------- */
/*.c-header {*/
/*    min-height: 620px;*/
/*    background-color: #123008;*/
/*    background-image: url('../images/slide1.jpg');*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center center;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 1.5rem 1rem;
    color: #fff;
}

.hero-content .eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fdf3d8;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.hero-content h1 span {
    color: var(--blaj-accent);
}

.hero-content p {
    color: rgba(255,255,255,0.88);
    font-size: 1.02rem;
    margin-bottom: 0;
}

/* ---------- Search card (overlaps hero bottom) ---------- */
.search {
    margin-top: -38px;
    position: relative;
    z-index: 5;
}

.search .card {
    border: none;
    border-radius: var(--blaj-radius);
    box-shadow: var(--blaj-shadow-lg);
    background-color: #fff;
    background-image: none;
}

.search .input-transparent {
    font-size: 15pt;
}

/* ---------- Topic / subject icon cards ---------- */
.topic li {
    display: flex;
}

.topic li a {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--blaj-ink);
    opacity: 1;
}

/* ---------- Section headers ---------- */
#slims-home h4 {
    position: relative;
    font-weight: 700;
}

#slims-home > section > h4:first-child,
#slims-home .container > h4 {
    display: inline-block;
}

.subtitle-section {
    font-size: 13px;
    color: var(--blaj-muted);
    font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn-primary {
    background-color: var(--blaj-primary);
    border-color: var(--blaj-primary);
    font-weight: 600;
    border-radius: 8px;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--blaj-primary-dark);
    border-color: var(--blaj-primary-dark);
}

.btn-outline-success {
    color: var(--blaj-primary);
    border-color: var(--blaj-primary);
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline-success:hover {
    background-color: var(--blaj-primary);
    border-color: var(--blaj-primary);
}

/* ---------- Collection cards ---------- */
.card-image {
    border-radius: 10px;
    border: 1px solid var(--blaj-border);
}

/* ---------- Library hours banner ---------- */
.id-corner-top-left {
    border-radius: var(--blaj-radius);
    overflow: hidden;
    box-shadow: var(--blaj-shadow);
}

/* ---------- Footer (modern) ---------- */
.footer-modern {
    background: linear-gradient(180deg, var(--blaj-primary-dark) 0%, #061e00 100%);
    color: rgba(255,255,255,0.82);
    padding-top: 3.5rem;
}

.footer-modern h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: 0.02em;
}

.footer-modern a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-modern a:hover {
    color: var(--blaj-accent);
}

.footer-modern .footer-brand-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-modern .list-reset li {
    margin-bottom: 0.55rem;
}

.footer-modern .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    margin-right: 0.5rem;
    color: #fff;
}

.footer-modern .footer-social a:hover {
    background: var(--blaj-accent);
    color: var(--blaj-primary-dark);
}

.footer-modern .footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 0.25rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.12);
}

.footer-modern hr {
    border-color: rgba(255,255,255,0.12);
}

.footer-modern .footer-bottom {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.footer-modern .form-control {
    border-radius: 8px 0 0 8px;
    border: none;
}

.footer-modern .btn-primary {
    border-radius: 0 8px 8px 0;
}

@media (max-width: 867px) {
    .hero-content h1 { font-size: 1.7rem; }
    .c-header { min-height: 460px; }
    .hero-stats { gap: 1.4rem; }
}

/* =============================================================
   REDESIGN 2026 — PART 2: mega-menu, kartu hasil pencarian,
   halaman detail koleksi
   ============================================================= */

/* ---------- Mega menu (Koleksi) ---------- */
/*.mega-menu {*/
/*    min-width: 620px;*/
/*    max-width: 92vw;*/
/*    padding: 1.25rem;*/
/*}*/

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    color: var(--blaj-ink) !important;
    font-size: 0.88rem;
    font-weight: 500;
}

.mega-menu-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--blaj-bg-soft);
    color: var(--blaj-primary);
    flex-shrink: 0;
}

.mega-menu-item:hover {
    background-color: var(--blaj-bg-soft);
}

.mega-menu-item:hover i {
    background: var(--blaj-primary);
    color: #fff;
}

.mega-menu-footer {
    border-top: 1px solid var(--blaj-border);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    display: flex;
    gap: 1.25rem;
}

.mega-menu-footer a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blaj-primary) !important;
}

@media (max-width: 767px) {
    .mega-menu {
        min-width: 100%;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Search results / grid cards ---------- */
.result-search .c-header {
    min-height: 280px;
}

.biblioResult .grid-item,
.biblioResult .item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--blaj-border);
    box-shadow: var(--blaj-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
}

.biblioResult .grid-item:hover,
.biblioResult .item:hover {
    transform: translateY(-3px);
    box-shadow: var(--blaj-shadow-lg);
    border-color: var(--blaj-accent);
}

.biblioResult a {
    color: var(--blaj-ink);
}

.biblioResult a:hover {
    color: var(--blaj-primary);
}

.biblioPaging .pagingList {
    background: var(--blaj-bg-soft);
}

.biblioPaging .pagingList a:hover {
    background: var(--blaj-primary);
    color: #fff;
}

.biblioPaging .pagingList b {
    background: var(--blaj-primary);
    color: #fff;
    border-radius: 20px;
}

/* ---------- Detail koleksi ---------- */
.detail-modern {
    background: #fff;
    border-radius: var(--blaj-radius);
    box-shadow: var(--blaj-shadow);
    padding: 2rem;
    margin-top: -60px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 5;
}

.detail-modern .bg-grey-light {
    background: var(--blaj-bg-soft) !important;
    border-radius: 12px;
}

.detail-modern blockquote h4 {
    color: var(--blaj-primary);
}

.detail-modern dl.row dt {
    color: var(--blaj-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-modern dl.row dd {
    margin-bottom: 0.5rem;
}

.detail-modern hr {
    border-color: var(--blaj-border);
}

/* =============================================================
   REDESIGN 2026 — PART 3: rotating tagline, app promo, wishlist
   ============================================================= */

/* ---------- Rotating hero tagline ---------- */
.hero-rotator {
    position: relative;
    height: 1.6rem;
    overflow: hidden;
}

.hero-rotator span {
    position: absolute;
    left: 0;
    right: 0;
    color: rgba(255,255,255,0.9);
    font-size: 1.02rem;
    opacity: 0;
    animation: heroRotate 9s infinite;
}

.hero-rotator span:nth-child(1) { animation-delay: 0s; }
.hero-rotator span:nth-child(2) { animation-delay: 3s; }
.hero-rotator span:nth-child(3) { animation-delay: 6s; }

@keyframes heroRotate {
    0%   { opacity: 0; transform: translateY(6px); }
    5%   { opacity: 1; transform: translateY(0); }
    28%  { opacity: 1; transform: translateY(0); }
    33%  { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-rotator span { animation: none; opacity: 1; position: static; display: block; }
    .hero-rotator span:not(:first-child) { display: none; }
}

/* ---------- App promo banner ---------- */
.app-promo-banner {
    background: linear-gradient(120deg, var(--blaj-primary) 0%, var(--blaj-primary-light) 100%);
    border-radius: var(--blaj-radius);
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: #fff;
    box-shadow: var(--blaj-shadow);
}

.app-promo-text h4 {
    color: #fff;
}

.app-promo-text p {
    color: rgba(255,255,255,0.85);
}

.app-promo-btn {
    background: #fff;
    color: var(--blaj-primary) !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    white-space: nowrap;
}

.app-promo-btn:hover {
    background: var(--blaj-accent);
    color: #fff !important;
}

/* ---------- Wishlist icon ---------- */
.wishlist-link {
    position: relative;
}

.wishlist-link .fa-heart {
    color: #fff;
    transition: color 0.15s ease, transform 0.15s ease;
}

.wishlist-link:hover .fa-heart {
    color: #ff6b81;
    transform: scale(1.12);
}

.wishlist-link #count-basket {
    top: 2px;
}

/* =============================================================
   REDESIGN 2026 — PART 4: Hero / jumbotron diperlebar & diperbesar
   (rules ini sengaja ditaruh paling akhir supaya menang dari
   definisi hero sebelumnya di file yang sama)
   ============================================================= */

/*.c-header {*/
/*    min-height: 620px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    background-color: #123008;*/
/*    background-image: url('../images/slide1.jpg');*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center center;*/
}

@media (max-width: 767.98px) {
    .c-header {
        min-height: 330px;
    }
}

.hero-content {
    flex: 1;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
    padding: 4.5rem 2rem 1.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content .eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fdf3d8;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin: 0 auto 1.5rem;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
}

.hero-content h1 span {
    color: var(--blaj-accent);
}

.hero-rotator {
    height: 1.9rem;
    max-width: 720px;
    margin: 0 auto;
}

.hero-rotator span {
    font-size: 1.2rem;
    font-weight: 400;
}

.hero-stats {
    gap: 3.2rem;
    margin-top: 2.6rem;
}

.hero-stats .stat-item strong {
    font-size: 2.1rem;
}

.hero-stats .stat-item span {
    font-size: 0.82rem;
}

/* ---------- Search card: taruh di bawah hero, tidak menutupi gambar ---------- */
.search {
    margin-top: 1.25rem;
}

.search .container {
    max-width: 1100px;
}

.search .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.search .card {
    padding: 0.4rem;
}

.search .card-body {
    padding: 1.4rem 1.8rem;
}

.search .input-transparent {
    font-size: 17pt;
}

@media (max-width: 591px) {
    .c-header { height: calc(100vw * 1700 / 1942);
    min-height: unset;
    max-height: unset; }
    .hero-content { padding: 3.5rem 1.25rem 1.25rem; }
    .hero-content h1 { font-size: 1.3rem; }
    .hero-rotator span { font-size: 1rem; }
}

@media (max-width: 475px) {
    .hero-content h1 { font-size: 1.85rem; }
    .hero-stats { gap: 1.6rem; }
    .hero-stats .stat-item strong { font-size: 1.6rem; }
}

/* =============================================================
   REDESIGN 2026 — PART 5: perbesar & tebalkan font judul kartu
   koleksi (grid dengan cover buku) — sebelumnya cuma ~12px
   ============================================================= */

.grid-item {
    font-size: 14px;
}

.grid-item--title {
    color: var(--blaj-ink);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 6px;
    -webkit-line-clamp: 3;
}

.grid-item--title:hover {
    color: var(--blaj-primary);
}

.grid-item .list-group-item {
    font-size: 13px;
}

.grid-item .list-group-item label {
    font-weight: 600;
}

/* Popular / New collection cards (Vue components on homepage) */
.card-text.title,
.collection .card-text,
.sugestion .card-text {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    color: var(--blaj-ink);
}

.collection .card-body,
.sugestion .card-body {
    padding: 0.9rem 1rem;
}

.collection .card,
.sugestion .card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--blaj-border);
    box-shadow: var(--blaj-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.collection .card:hover,
.sugestion .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--blaj-shadow-lg);
}

/* ==========================================================================
   Shim: sisa class Tailwind yang masih dipakai di beberapa partial
   (navbar logo, avatar member, _result-search) setelah tailwind.min.css
   dilepas dari header.php. Didefinisikan manual di sini supaya markup
   PHP yang sudah ada tidak perlu diubah satu-satu.
   ========================================================================== */
.inline-flex { display: inline-flex !important; }
.items-center { align-items: center !important; }
.flex-col { flex-direction: column !important; }
.leading-tight { line-height: 1.25 !important; }
.rounded-full { border-radius: 9999px !important; }
.h-6 { height: 1.5rem !important; }
.w-6 { width: 1.5rem !important; }
.h-8 { height: 2rem !important; }
.w-8 { width: 2rem !important; }
.h-10 { height: 2.5rem !important; }
.w-15 { width: 3.75rem !important; }
.h-12 { height: 3rem !important; }
.w-12 { width: 3rem !important; }
.navbar-brand img { object-fit: contain; }

.justify-between { justify-content: space-between !important; }
.italic { font-style: italic; }
.text-sm { font-size: 0.85rem; }
.text-grey-dark { color: #8a9187 !important; }
.text-grey-darkest { color: var(--blaj-ink, #374151) !important; }
.hover-text-blue:hover { color: var(--blaj-primary) !important; }

/* ==========================================================================
   Polyfill: class gaya Bootstrap 5 (ratio, gap-*, g-*) yang dipakai di
   _home.php, padahal tema ini masih pakai Bootstrap v4.2.1 (dicek dari
   assets/css/bootstrap.min.css). Ditulis manual pakai CSS murni supaya
   tetap jalan tanpa perlu upgrade seluruh Bootstrap.
   ========================================================================== */
.ratio {
    position: relative;
    width: 100%;
}
.ratio::before {
    display: block;
    padding-top: var(--blaj-ratio-pt, 56.25%);
    content: "";
}
.ratio > iframe,
.ratio > img,
.ratio > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ratio-16x9 { --blaj-ratio-pt: 56.25%; }
.ratio-4x3 { --blaj-ratio-pt: 75%; }

.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

.row.g-0 { margin-right: 0; margin-left: 0; }
.row.g-0 > [class*="col-"] { padding-right: 0; padding-left: 0; }

.row.g-4 { margin-right: -0.75rem; margin-left: -0.75rem; }
.row.g-4 > [class*="col-"] { padding-right: 0.75rem; padding-left: 0.75rem; }
.row.g-4 > [class*="col-"] { margin-bottom: 1.5rem; }

/* List-view card title (search results / member basket etc.) */
.card.item .card-link {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ==========================================================================
   Book collection card (homepage "New Collection" / "Popular" grid)
   Dipanggil dari Vue component slims-book di assets/js/app.js
   ========================================================================== */
.book-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--blaj-border);
    border-radius: var(--blaj-radius);
    overflow: hidden;
    text-decoration: none !important;
    color: var(--blaj-ink);
    box-shadow: var(--blaj-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--blaj-shadow-lg);
    color: var(--blaj-ink);
}

.book-card .book-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--blaj-bg-soft);
    overflow: hidden;
}

.book-card .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card .book-body {
    padding: 0.85rem 1rem 1rem;
}

.book-card .book-gmd {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--blaj-muted);
    margin-bottom: 0.3rem;
}

.book-card .book-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--blaj-ink);
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card .book-meta {
    font-size: 0.78rem;
    color: var(--blaj-muted);
    margin-bottom: 0.6rem;
}

.book-card .book-meta .book-year {
    color: var(--blaj-primary);
    font-weight: 600;
}

.book-card .btn-view-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--blaj-primary);
    border-radius: 8px;
    border: none;
}

.book-card:hover .btn-view-detail {
    background-color: var(--blaj-primary-dark);
}

/* Member card (Top Reader section) */
.member-card {
    background: #fff;
    border: 1px solid var(--blaj-border);
    border-radius: var(--blaj-radius);
    box-shadow: var(--blaj-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--blaj-shadow-lg);
}

.member-card .card-image-rounded {
    width: 76px;
    height: 76px;
    margin: 0 auto;
}

.member-card .stat-divider {
    display: inline-block;
    width: 1px;
    height: 1rem;
    background: var(--blaj-border);
    margin: 0 0.75rem;
    vertical-align: middle;
}

/* ==========================================================================
   Promo cards (dua kolom): "Join Our Library" & "Library Hours"
   ========================================================================== */
.promo-card {
    position: relative;
    height: 100%;
    min-height: 260px;
    background: var(--blaj-bg-soft);
    border-radius: var(--blaj-radius);
    overflow: hidden;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-card .promo-blob {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
    opacity: 0.5;
    z-index: 0;
}

.promo-card .promo-blob-1 {
    top: -35px;
    left: -35px;
    background: var(--blaj-accent);
}

.promo-card .promo-blob-2 {
    bottom: -45px;
    right: -30px;
    background: var(--blaj-primary-light);
    opacity: 0.18;
}

.promo-card .promo-content {
    position: relative;
    z-index: 1;
}

.promo-card .promo-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--blaj-shadow);
    color: var(--blaj-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.promo-card h5 {
    font-weight: 700;
    color: var(--blaj-ink);
}

.promo-card p {
    color: var(--blaj-muted);
    font-size: 0.92rem;
}

.promo-card .btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--blaj-primary);
    border-radius: 999px;
    border: none;
    text-decoration: none !important;
    margin-top: 0.5rem;
}

.promo-card .btn-promo:hover {
    background-color: var(--blaj-primary-dark);
    color: #fff;
}

@media (max-width: 575.98px) {
    .promo-card {
        min-height: unset;
        padding: 1.5rem 1.25rem;
    }
}

/* ==========================================================================
   Topic card (grid "Select the topic you are interested in" & E-Resources)
   ========================================================================== */
.topic-card {
    width: 100%;
    max-width: 168px;
    min-width: 130px;
    flex: 1 1 130px;
    background: #fff;
    border: 1px solid var(--blaj-border);
    border-radius: var(--blaj-radius);
    padding: 1rem 1rem;
    text-align: center;
    text-decoration: none !important;
    color: var(--blaj-ink);
    box-shadow: var(--blaj-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--blaj-shadow-lg);
    color: var(--blaj-ink);
}

.topic-card img {
    width: 132px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 0.75rem;
}

.topic-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 575.98px) {
    .topic-card {
        max-width: none;
        width: calc(50% - 0.5rem);
        padding: 1rem 0.6rem;
    }
}

/* ==========================================================================
   Video card ("Video Moderasi Beragama") - 2 kolom per baris
   ========================================================================== */
.video-card {
    background: #fff;
    border: 1px solid var(--blaj-border);
    border-radius: var(--blaj-radius);
    overflow: hidden;
    box-shadow: var(--blaj-shadow);
    height: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: 0.9rem 1.1rem;
}

.video-card-body h5 {
    font-size: 0.95rem;
    margin-bottom: 0;
}
/* =============================================================
   TAMBAHAN — Halaman Detail Koleksi (detail_template.php)
   Tempel/tambahkan blok ini ke akhir file assets/css/style.css
   yang aktif di server (folder template/blaj-8/assets/css/)
   ============================================================= */

/* ---------- Frame cover buku ---------- */
.detail-cover-frame {
    background: var(--blaj-bg-soft, #f5f7f3);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-cover-inner {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.detail-cover-inner img {
    display: block;
    width: 100%;
    height: auto;
}

/* =============================================================
   PERBAIKAN — Tabel Availability di halaman detail koleksi
   Ganti/hapus dulu blok ".availability-box" versi lama yang saya
   kirim sebelumnya, lalu pakai blok ini sebagai gantinya.

   Penyebab berantakan: markup availability pakai class gaya
   Tailwind (flex, flex-row, flex-col, w-100, w-full) yang sudah
   tidak berfungsi karena Tailwind dilepas dari header.php.
   Col-7/col-2/col-3 (Bootstrap) butuh parent display:flex supaya
   sejajar - makanya CSS ini menghidupkan lagi class flex tsb,
   tapi DIBATASI hanya di dalam .availability-box (tidak
   mempengaruhi bagian lain situs).
   ============================================================= */

.availability-box {
    background: #fff;
    border: 1px solid var(--blaj-border, #e3e8df);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: var(--blaj-shadow, 0 4px 14px rgba(0,0,0,0.05));
}

/* Hidupkan lagi utility class ala-Tailwind, scoped di availability-box saja */
.availability-box .flex {
    display: flex;
}
.availability-box .flex-row {
    display: flex;
    flex-direction: row;
}
.availability-box .flex-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.availability-box .w-100,
.availability-box .w-full {
    width: 100%;
}

/* Setiap baris copy buku jadi 1 "card" ringkas, 3 kolom sejajar */
.availability-box .flex-col > .flex-row {
    align-items: stretch;
    background: var(--blaj-bg-soft, #f5f7f3);
    border-radius: 10px;
    overflow: hidden;
}

.availability-box .col-7,
.availability-box .col-2,
.availability-box .col-3 {
    border: none !important;
    padding: 0.75rem 0.9rem !important;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.availability-box .col-7 {
    font-weight: 500;
    color: var(--blaj-ink, #1c2b1a);
    gap: 0.4rem;
}

.availability-box .col-2 {
    color: var(--blaj-muted, #6b7a68);
    font-weight: 600;
    justify-content: center;
}

.availability-box .col-3 {
    justify-content: flex-end;
}

/* Tombol/badge status "Available" dsb */
.availability-box .col-3 a,
.availability-box .col-3 button,
.availability-box .col-3 span.badge,
.availability-box .col-3 .btn {
    border-radius: 20px !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
}

/* Responsif HP: 3 kolom tetap sejajar tapi lebih rapat */
@media (max-width: 575px) {
    .availability-box .col-7,
    .availability-box .col-2,
    .availability-box .col-3 {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.8rem;
    }
}