* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── NESDC design system classes ── */
.content-section {
    padding: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ── ILL custom classes ── */
.ill-intro {
    background: #f0f5ff;
    border-left: 4px solid var(--bs-primary-300);
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
}

.ill-notice {
    background: #FFA300;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ill-notice span {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.ill-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    overflow: hidden;
    background: #fff;
}

.ill-card-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ill-card-header.tu {
    background: linear-gradient(90deg, #C3002F, #FFD13F);
}

.ill-card-header.chula {
    background: linear-gradient(90deg, #DA5F8E, #d8cbd0);
}

.ill-card-header.nida {
    background: linear-gradient(90deg, #2B2A3F, #A6192E);
}

.ill-card-header.compare {
    background: var(--bs-gradient-f-90);
}

.ill-lib-logo {
    height: 46px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, .15);
    padding: 6px;
}

.ill-lib-num {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.ill-lib-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

.ill-card-body {
    padding: 20px 24px;
}

.ill-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ill-section-label.tu {
    color: #C3002F;
}

.ill-section-label.chula {
    color: #DA5F8E;
}

.ill-section-label.nida {
    color: #2B2A3F;
}

.ill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ill-list li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #444;
    align-items: flex-start;
}

.ill-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 7px;
    display: inline-block;
}

.ill-dot.tu {
    background: #C3002F;
}

.ill-dot.chula {
    background: #DA5F8E;
}

.ill-dot.nida {
    background: #2B2A3F;
}

.ill-opac-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px;
    text-decoration: none;
    color: #1a1a2e;
    transition: border-color .2s, background .2s;
}

.ill-opac-link:hover {
    border-color: #F7941D;
    background: #fff8f0;
}

.ill-opac-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ill-opac-icon.tu {
    background: #C3002F;
    color: #d8cbd0;
}

.ill-opac-icon.chula {
    background: #DA5F8E;
    color: #d8cbd0;
}

.ill-opac-icon.nida {
    background: #2B2A3F;
    color: #d8cbd0;
}

.ill-opac-link-title {
    font-size: 12px;
    font-weight: 700;
}

.ill-opac-link-url {
    font-size: 11px;
    color: #888;
}

.ill-ext-icon {
    margin-left: auto;
    color: #ccc;
}

.ill-info-box {
    background: #fff8f0;
    border: 1px solid #f7c99a;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    color: #7a5020;
    line-height: 1.6;
}

.ill-compare-table {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    overflow: hidden;
}

.ill-compare-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ill-compare-table thead {
    background: #1a1a2e;
}

.ill-compare-table thead th {
    padding: 12px 16px;
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
    font-size: 13px;
    text-align: left;
}

.ill-compare-table thead th.center {
    text-align: center;
}

.ill-compare-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.ill-compare-table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.ill-compare-table tbody td.center {
    text-align: center;
}

.ill-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
}

.ill-badge.yes {
    background: #e8f5e9;
    color: #2a7a2a;
}

.ill-badge.no {
    background: #fdecea;
    color: #b44;
}

.ill-badge.partial {
    background: #e8f4fd;
    color: #1565c0;
}

.ill-footer-bar {
    background: var(--bs-gradient-f-90);
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ill-footer-bar-text {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #ffffff;
    margin: 0;
}

.ill-phone-box {
    background: rgba(95, 107, 208, .15);
    border: 1px solid rgba(95, 107, 208, .3);
    border-radius: 10px;
    padding: 12px 20px;
    text-align: center;
}

.ill-phone-label {
    font-size: 12px;
    color: rgb(255, 255, 255);
    margin-bottom: 2px;
}

.ill-phone-number {
    font-size: 20px;
    font-weight: 800;
    color: #202EAB;
    letter-spacing: .04em;
}

/* layout helpers */
.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.col-7-5 {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 20px;
}

.gap-8 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gap-16 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 20px;
}

.text-success {
    color: #2a7a2a;
}

.text-danger {
    color: #b44;
    font-style: italic;
}

.fw-bold {
    font-weight: 700;
}

/* breadcrumb */
.nesdc-breadcrumb {
    background: #f0f1f3;
    border-bottom: 1px solid #e2e4e8;
    padding: 8px 0;
}

.nesdc-breadcrumb-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 13px;
    color: #888;
    display: flex;
    gap: 6px;
    align-items: center;
}

.nesdc-breadcrumb-inner span.active {
    color: #F7941D;
    font-weight: 500;
}

/* simulated footer */
.nesdc-footer {
    background: #1a1a2e;
    padding: 20px 0;
    margin-top: 40px;
}

.nesdc-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    text-align: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeUp .45s ease both;
}