/* Arhiv: sitewide content tables. Adjust this file independently of user.css. */
.arhiv-site .arhiv-table-scroll{max-width:100%;margin:24px 0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border:1px solid #8b826633;border-radius:4px;background:#fff}
.arhiv-site .arhiv-table-scroll:focus-visible{outline:2px solid #8b7657;outline-offset:3px}
.arhiv-site .arhiv-content-table{width:100%!important;margin:0!important;border:0;border-collapse:collapse;border-spacing:0;font-family:inherit;font-size:16px;line-height:1.55;color:#443e35;background:#fff}
.arhiv-site .arhiv-content-table :is(th,td){padding:12px 16px!important;border:0;border-bottom:1px solid #8b826626;vertical-align:middle!important;background:transparent;overflow-wrap:break-word}
.arhiv-site .arhiv-content-table :is(th,td) :is(span,p,font){font-family:inherit!important;font-size:inherit!important;color:inherit!important}
.arhiv-site .arhiv-content-table :is(th,td) p{margin:0}
.arhiv-site .arhiv-content-table :is(thead th,thead td),.arhiv-site .arhiv-table-heading td{background:#eee8d9;color:#574a38;font-weight:700;border-bottom:2px solid #8b826640;text-align:left}
.arhiv-site .arhiv-content-table tbody tr:nth-child(even){background:#fbf9f3}
.arhiv-site .arhiv-content-table:not(.arhiv-table-heading) tbody tr:hover{background:#f4eedf}
.arhiv-site .arhiv-content-table tbody tr:last-child td{border-bottom:0}
.arhiv-site .arhiv-table-heading tbody tr:last-child td{border-bottom:2px solid #8b826640}
.arhiv-site .arhiv-fonds-table{table-layout:fixed;min-width:640px}
.arhiv-site .arhiv-fonds-table :is(th,td):nth-child(1){width:10%!important;text-align:center}
.arhiv-site .arhiv-fonds-table :is(th,td):nth-child(2){width:62%!important;text-align:left}
.arhiv-site .arhiv-fonds-table :is(th,td):nth-child(3){width:28%!important;text-align:left}
.arhiv-site .arhiv-table-wide{min-width:720px}
@media(max-width:767px){.arhiv-site .arhiv-table-scroll{margin:20px 0}.arhiv-site .arhiv-content-table{font-size:15px}.arhiv-site .arhiv-content-table :is(th,td){padding:10px 12px!important}}
@media print{.arhiv-site .arhiv-table-scroll{overflow:visible;border:0}.arhiv-site .arhiv-content-table{min-width:0}.arhiv-site .arhiv-content-table tbody tr{break-inside:avoid}}

/* Publikacije — širine kolona podešavaš ovde */
.arhiv-publications-table {
  --sirina-godine: 9%;
  --sirina-publikacije: 49%;
  --sirina-autora: 30%;
  --sirina-mesta: 12%;
  table-layout: fixed;
}

.arhiv-publications-table :is(th, td):nth-child(1) {
  width: var(--sirina-godine);
}

.arhiv-publications-table :is(th, td):nth-child(2) {
  width: var(--sirina-publikacije);
  text-align: left !important;
}

.arhiv-publications-table :is(th, td):nth-child(3) {
  width: var(--sirina-autora);
  text-align: left !important;
}

.arhiv-publications-table :is(td):nth-child(3) {
  font-style: italic;
}

.arhiv-publications-table :is(th, td):nth-child(4) {
  width: var(--sirina-mesta);
}

/* Search controls and accessible sorting buttons. */
.arhiv-site .arhiv-table-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:24px 0 12px;max-width:640px}
.arhiv-site .arhiv-table-tools label{grid-column:1/-1;font-size:16px;color:#635641}
.arhiv-site .arhiv-table-tools input{width:100%;min-width:0;min-height:46px;padding:10px 14px;font:inherit;font-size:16px;border:1px solid #8b82664d;border-radius:3px;background:#fffdf8;color:#443e35}
.arhiv-site .arhiv-table-tools>button{padding:10px 18px;font:inherit;font-size:16px;border:1px solid #8b82664d;border-radius:3px;background:#eee8d9;color:#574a38;cursor:pointer}
.arhiv-site .arhiv-table-tools+.arhiv-table-scroll{margin-top:0;margin-bottom:10px}
.arhiv-site .arhiv-table-status,.arhiv-site .arhiv-table-empty{font-size:15px;color:#635641;margin:8px 0 24px}
.arhiv-site .arhiv-table-sort{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:24px;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;text-align:inherit;cursor:pointer}
.arhiv-site .arhiv-sort-icon{flex:none;font-size:16px;color:#8b7657;font-style:normal}
.arhiv-site .arhiv-table-sort:hover{color:#925f32}
.arhiv-site :is(.arhiv-table-sort,.arhiv-table-tools input,.arhiv-table-tools>button):focus-visible{outline:2px solid #8b7657;outline-offset:3px}
.arhiv-site .arhiv-interactive-table tbody tr:nth-child(even){background:#fff}
.arhiv-site .arhiv-interactive-table tbody tr.arhiv-visible-even{background:#fbf9f3}
.arhiv-site .arhiv-interactive-table tbody tr:hover{background:#f4eedf}
.arhiv-site .arhiv-interactive-table tr[hidden],.arhiv-site .arhiv-table-empty[hidden]{display:none!important}
/* arhiv-table-static is a JS opt-out: existing visual table styles are preserved. */
@media print{.arhiv-site :is(.arhiv-table-tools,.arhiv-table-status,.arhiv-table-empty,.arhiv-sort-icon){display:none!important}.arhiv-site .arhiv-interactive-table tr[hidden]{display:table-row!important}}
