/* Consistent circular portraits and three deliberately different news layouts. */
html:not([data-accessible]) .visual-system .niisf-native-header__bar { background:#f5f5f5 url('/assets/identity-backdrop.svg') right center/620px 100% no-repeat; border-top:3px solid #03256c; }
.identity-color-logo { position:relative; display:inline-block; max-width:100%; line-height:0; }
.identity-color-logo .identity-logo-ink { display:block; }
html:not([data-accessible]) .visual-system .niisf-native-header__logo .identity-logo-color { position:absolute; inset:0; width:100%; height:100%; max-width:none; filter:none; object-fit:fill; }
.identity-color-logo--university .identity-logo-color { clip-path:inset(0 65% 0 0); }
.identity-color-logo--minstroy .identity-logo-color { clip-path:inset(0 78% 0 0); }
html[data-accessible] .identity-logo-color { display:none!important; }
.visual-system .niisf-native-header__logos { grid-template-columns:1fr 1.25fr 1fr 1.15fr; gap:20px; }
.visual-system .niisf-native-header__logo--occ { display:flex; align-items:center; justify-content:center; gap:8px; color:#03256c; text-decoration:none; }
.occ-header-mark { display:block; position:relative; overflow:hidden; width:58px; height:60px; flex:0 0 58px; }
html:not([data-accessible]) .visual-system .niisf-native-header__logo--occ .occ-header-mark img { position:absolute; width:165px!important; height:92.8125px!important; max-width:none!important; max-height:none!important; object-fit:fill!important; left:-57px; top:-2px; filter:none; }
.occ-header-label { display:block; font:700 14px/1.3 'Roboto Condensed',Roboto,Arial,sans-serif; white-space:nowrap; }
.occ-header-label small { display:block; margin-top:3px; font:400 10px/1.4 Roboto,Arial,sans-serif; }
@media(max-width:1050px) { .visual-system .niisf-native-header__logos { gap:12px; } .occ-header-label { font-size:12px; } .occ-header-label small { font-size:9px; } }
@media(max-width:760px) {
 .visual-system .niisf-native-header__logos { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; }
 .visual-system .niisf-native-header__logos>.niisf-native-header__logo { grid-column:auto!important; grid-row:auto!important; order:0!important; }
 .visual-system .niisf-native-header__logo--occ { gap:6px; }
 .occ-header-mark { width:44px; height:48px; flex-basis:44px; }
 html:not([data-accessible]) .visual-system .niisf-native-header__logo--occ .occ-header-mark img { width:132px!important; height:74.25px!important; left:-46px; top:-2px; }
}
.visual-system .expert-directory-grid>.expert-card { padding:24px 20px; align-items:center; text-align:center; }
.visual-system .expert-card .expert-card-photo { width:120px; height:120px; aspect-ratio:1; border-radius:50%; border:1px solid #e0e0e0; margin:0 auto 20px; overflow:hidden; }
.visual-system .expert-card .expert-card-photo img { width:100%; height:100%; object-fit:cover; object-position:center 25%; }
.visual-system .expert-card .expert-card-body { padding:0; width:100%; }
.visual-system .expert-card .expert-card-body h2 { font-size:22px; line-height:1.25; }
.visual-system .expert-card .expert-card-body p { font-size:14px; }
/* Wider source shots use a closer display crop; the original files stay intact. */
.visual-system .expert-card-photo img[src$="/migrated/c35a9fee627115e71ab3c757.webp"] { transform:scale(2.6); transform-origin:66% 30%; object-position:70% 35%; }
.visual-system .expert-card-photo img[src$="/migrated/bf71780059cd9ae289d1320f.webp"] { transform:scale(1.7); transform-origin:50% 32%; }
.visual-system .expert-card-photo img[src$="/migrated/899c54bbf00b575a4f77a384.webp"] { transform:scale(1.4); transform-origin:50% 28%; }
/* Restore the banner to the main content width. */
.visual-system .vs-home .vs-projects { width:min(1200px,calc(100% - 48px)); margin-inline:auto; padding:40px 0 48px; background:transparent; }
.visual-system .vs-news [data-news-layout] .niisf-home-news__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:stretch; }
.visual-system .vs-news [data-news-layout] .codex-home-row,
.visual-system .vs-news [data-news-layout] .codex-home-row:first-child { display:flex; flex-direction:column; grid-column:auto; grid-row:auto; min-width:0; }
.visual-system .vs-news [data-news-layout] .codex-home-row .codex-home-row__image,
.visual-system .vs-news [data-news-layout] .codex-home-row:first-child .codex-home-row__image { width:100%; height:auto; min-height:0; aspect-ratio:16/9; display:block; align-self:start; }
.visual-system .vs-news [data-news-layout] .codex-home-row__image img { display:block; width:100%; height:100%; object-fit:contain; }
.visual-system .vs-news [data-news-layout] .news-card-body { display:flex; flex-direction:column; flex:1; padding:24px; }
.visual-system .vs-news [data-news-layout] .codex-home-row__title { font-size:25px; line-height:1.25; }
.visual-system .vs-news [data-news-layout] .codex-home-row__intro { -webkit-line-clamp:2; }
.visual-system .vs-news .vs-news-read-more { display:inline-block; align-self:start; color:#0034ff; font:600 13px/1.5 Roboto,Arial,sans-serif; text-decoration:none; padding-top:20px; margin-top:auto; }
.visual-system .vs-news .vs-news-read-more:hover { text-decoration:underline; }
/* University news: one complete lead article and four compact articles beside it. */
.visual-system .vs-news [data-news-layout=magazine] .niisf-home-news__grid { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:16px 24px; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:first-child { grid-row:span 4; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:first-child .codex-home-row__title { font-size:34px; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:first-child .codex-home-row__intro { -webkit-line-clamp:4; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) { display:grid; grid-template-columns:136px minmax(0,1fr); }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) .codex-home-row__image { width:120px; margin:20px 0 20px 16px; height:auto; aspect-ratio:16/9; border-radius:6px; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) .news-card-body { padding:20px; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) .codex-home-row__title { font-size:21px; margin-bottom:0; }
.visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) :is(.codex-home-row__intro,.vs-news-read-more) { display:none; }
/* Industry news: a quiet list with a small cover and generous title space. */
.visual-system .vs-news [data-news-layout=feed] .niisf-home-news__grid { display:flex; flex-direction:column; gap:0; border:1px solid #e0e0e0; border-radius:10px; overflow:hidden; }
.visual-system .vs-news [data-news-layout=feed] .codex-home-row,
.visual-system .vs-news [data-news-layout=feed] .codex-home-row:first-child { display:grid; grid-template-columns:220px minmax(0,1fr); gap:24px; padding:24px; border:0; border-bottom:1px solid #e0e0e0; border-radius:0; }
.visual-system .vs-news [data-news-layout=feed] .codex-home-row:last-child { border-bottom:0; }
.visual-system .vs-news [data-news-layout=feed] .codex-home-row__image { border-radius:6px; overflow:hidden; }
.visual-system .vs-news [data-news-layout=feed] .news-card-body { padding:0; }
.visual-system .vs-news [data-news-layout=feed] .codex-home-row__title { font-size:28px; }
.visual-system .vs-news [data-news-layout=feed] .vs-news-read-more { padding-top:12px; }
@media(max-width:1000px) { .visual-system .vs-news [data-news-layout=grid] .niisf-home-news__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) {
 .visual-system .vs-news [data-news-layout=magazine] .niisf-home-news__grid { grid-template-columns:1fr; }
 .visual-system .vs-news [data-news-layout=magazine] .codex-home-row:first-child { grid-row:auto; }
 .visual-system .vs-news [data-news-layout=feed] .codex-home-row,
 .visual-system .vs-news [data-news-layout=feed] .codex-home-row:first-child { grid-template-columns:170px minmax(0,1fr); }
}
@media(max-width:760px) {
 .visual-system .vs-home .vs-projects { width:calc(100% - 32px); padding:32px 0; }
 .visual-system .vs-news [data-news-layout=grid] .niisf-home-news__grid { grid-template-columns:1fr; gap:16px; }
 .visual-system .vs-news [data-news-layout] .news-card-body { padding:20px; }
 .visual-system .vs-news [data-news-layout=magazine] .codex-home-row:first-child .codex-home-row__title { font-size:28px; }
 .visual-system .vs-news [data-news-layout=feed] .codex-home-row,
 .visual-system .vs-news [data-news-layout=feed] .codex-home-row:first-child { grid-template-columns:100px minmax(0,1fr); padding:16px; gap:16px; }
 .visual-system .vs-news [data-news-layout=feed] .news-card-body { padding:0; }
 .visual-system .vs-news [data-news-layout=feed] .codex-home-row__title { font-size:21px; }
 .visual-system .vs-news [data-news-layout=feed] .codex-home-row__intro { display:none; }
}
@media(max-width:480px) {
 .visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) { grid-template-columns:96px minmax(0,1fr); }
 .visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) .codex-home-row__image { width:80px; margin-top:16px; }
 .visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) .news-card-body { padding:16px; }
 .visual-system .vs-news [data-news-layout=magazine] .codex-home-row:not(:first-child) .codex-home-row__title { font-size:20px; }
}
html[data-accessible] .visual-system .vs-news [data-news-layout] .niisf-home-news__grid,
html[data-accessible] .visual-system .vs-news [data-news-layout] .codex-home-row { display:block; }
html[data-accessible] .visual-system .vs-news [data-news-layout] .codex-home-row__intro { display:block; overflow:visible; }
