.itm-en-page{width:100%;padding:48px 20px 72px;color:#172329}.itm-wrap{width:min(1160px,100%);margin:0 auto}.itm-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;margin-bottom:30px}.itm-topline a,.itm-read{color:inherit;text-decoration:underline}.itm-lang-switch{display:inline-flex;align-items:center;gap:8px;font-size:14px}.itm-lang-switch a{color:inherit}.itm-article{max-width:850px;margin:0 auto}.itm-header h1{font-size:clamp(30px,4vw,48px);line-height:1.2;margin:10px 0 16px}.itm-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:12px}.itm-date{opacity:.7;font-size:13px}.itm-featured{margin:24px 0}.itm-featured img{max-width:100%;height:auto;border-radius:12px}.itm-lead{font-size:1.18rem;line-height:1.65;font-weight:550}.itm-content{font-size:1.06rem;line-height:1.8;overflow-wrap:anywhere}.itm-content img,.itm-content iframe{max-width:100%;height:auto}.itm-book-meta{padding:14px 20px;border:1px solid #dedede;border-radius:12px;margin:20px 0}.itm-book-meta p{margin:5px 0}.itm-archive-heading{font-size:clamp(30px,3.5vw,46px);margin:0 0 24px}.itm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.itm-card{overflow:hidden;border:1px solid #e6e6e6;border-radius:12px;background:#fff}.itm-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.itm-card-body{padding:20px}.itm-card h2{font-size:1.3rem;line-height:1.35}.itm-card a{color:inherit}.itm-pages{display:flex;gap:10px;margin-top:30px}.itm-pages a{padding:8px 12px;border:1px solid #ddd;border-radius:5px}.itm-pages [aria-current]{font-weight:700;background:#eee}@media(max-width:850px){.itm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.itm-en-page{padding:25px 16px 50px}.itm-cards{grid-template-columns:1fr}}

/* Institut UNSA theme compatibility: header.php opens #main already. */
.itm-english-route .institution-name-bs{display:none!important}
.itm-english-route .institution-name-en[hidden]{display:block!important}
.itm-english-route .topline span{font-size:0}
.itm-english-route .topline span:after{content:"Research · Documentation · Remembrance";font-size:13px}
.itm-controlled-route .iz-language-switch{display:flex;align-items:center;gap:8px}
.itm-controlled-route .iz-language-switch .itm-lang-switch{display:inline-flex}
.itm-switch-inline{display:inline-flex;align-items:center;gap:8px}
@media(max-width:700px){.itm-english-route .institution-name-en{font-size:inherit;line-height:1.3}}

/* Compact pagination keeps long archives inside the viewport. */
.itm-pages{flex-wrap:wrap;align-items:center;justify-content:center;max-width:100%;gap:8px}.itm-pages .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:44px;padding:8px 12px;border:1px solid #d5e1e8;border-radius:3px;line-height:1.2;color:#005581;text-decoration:none}.itm-pages .current{background:#005581;color:white;font-weight:700}.itm-pages .dots{border:0;min-width:24px;padding:8px 2px}.itm-pages a:hover,.itm-pages a:focus-visible{background:#eaf2f7;outline:2px solid #005581;outline-offset:2px}.itm-card{min-width:0;overflow-wrap:anywhere}
.itm-pages .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Match the Bosnian homepage news cards without changing approved English copy. */
.itm-home-news{padding-top:48px;padding-bottom:48px}
.itm-home-news .section-title{margin-bottom:24px}
.itm-home-news .grid{align-items:stretch}
.itm-home-news .news-card{display:flex;flex-direction:column;height:100%;min-width:0}
.itm-home-news .news-card .thumb{height:205px;flex-shrink:0}
.itm-home-news .news-card .thumb img{display:block;width:100%;height:100%;object-fit:cover}
.itm-home-news .news-card h3{font-size:21px;line-height:1.26}
.itm-home-news .news-card p{line-height:1.65}
.itm-home-news .news-card>.text-link{margin-top:auto}
@media(max-width:700px){.itm-home-news{padding-top:32px;padding-bottom:34px}.itm-home-news .section-title{margin-bottom:20px}.itm-home-news .news-card .thumb{height:225px}.itm-home-news .news-card h3{font-size:21px;line-height:1.24}}

/* The English news archive uses the Institute's native archive layout. */
.itm-news-archive .grid{align-items:start}
.itm-news-archive .news-card{min-width:0}
.itm-news-archive .news-card .thumb img{display:block;width:100%;height:100%;object-fit:cover}
.itm-news-archive>.itm-pages{margin-top:0;padding:35px 0;justify-content:flex-start}
