/* Layout of the collection homepage, using the shared theme palette. */
.ictu-collections-home {
    --home-paper: var(--card);
    --home-ink: var(--text);
    --home-muted: var(--text2);
    --home-rule: var(--border);
    --home-blue: var(--pri);
    --home-blue-hover: var(--pri-dark);
    --home-blue-tint: var(--pri-light);
    --home-amber: var(--gold);
    --home-body: "Source Sans 3", Arial, sans-serif;
    --home-display: "Newsreader", Georgia, serif;
    background: var(--home-paper);
}

.ictu-collections-home #page.site { max-width: none; }
.ictu-collections-home #main { margin: 0; }

.ictu-home {
    background: var(--home-paper);
    color: var(--home-ink);
    font: 400 12px/1.5 var(--home-body);
}

.ictu-home * { box-sizing: border-box; }
.ictu-home :is(h1,h2,p) { margin: 0; }
.ictu-home a { text-decoration: none; }
.ictu-home svg { display: inline-block; flex: none; vertical-align: middle; }
.ictu-home :is(a,input,button):focus-visible {
    outline: 2px solid var(--home-blue);
    outline-offset: 2px;
}
.ictu-home .text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: inherit;
    color: var(--home-blue);
}
.ictu-home .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ictu-home .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #a8c9e1;
    color: var(--home-ink);
    margin: 0;
}
.ictu-home .search-form > svg { color: var(--home-muted); }
.ictu-home .search-form input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 0;
    margin: 0;
    color: var(--home-ink);
    background: transparent;
    font: inherit;
    padding: 5px 4px;
}
.ictu-home .search-form button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: inherit;
    white-space: nowrap;
    border-radius: 4px;
    padding: 6px 12px;
    color: #fff;
}

.ictu-home .matrix-mast {
  background-color:var(--home-blue-tint);
  background-image:linear-gradient(90deg,#f6fbff 4%,#edf7fd 48%,#edf7fdeb 69%,#d5edfb48 100%),url('home-collections-campus.webp');
  background-size:cover,min(66vw,950px) auto;
  background-position:center,right 54%;
  background-repeat:no-repeat;
  border-bottom:1px solid var(--home-rule);
  color:var(--home-blue);
}
.ictu-home .matrix-mast-inner {display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.3fr);align-items:center;gap:25px;padding:18px clamp(0px,4vw,100px) 17px 0;min-height:106px}
.ictu-home .matrix-identity {min-width:0}
.ictu-home .matrix-identity h1 {font:500 clamp(30px,3.75vw,53px)/1 var(--home-display);letter-spacing:-.035em}
.ictu-home .matrix-identity em {font-weight:500}
.ictu-home .matrix-identity p {font-size:12px;color:var(--home-muted);line-height:1.3;margin-top:6px}
.ictu-home .matrix-search {min-width:0}
.ictu-home .matrix-search .search-form {max-width:none;border-radius:5px;min-height:39px;padding:3px 3px 3px 9px;box-shadow:0 2px 9px #006cb514}
.ictu-home .matrix-search .search-form > svg {width:18px}
.ictu-home .matrix-search .search-form input {padding-block:5px}
.ictu-home .matrix-search .search-form button {background:var(--home-blue);padding-block:6px}
.ictu-home .matrix-search .search-form button:hover {background:var(--home-blue-hover)}
.ictu-home .matrix-search .text-link {margin-top:5px;padding:1px 4px 1px 0}
.ictu-home .matrix-topics {display:flex;align-items:center;flex-wrap:wrap;column-gap:clamp(12px,1.8vw,28px);padding:8px 0;border-bottom:1px solid var(--home-rule)}
.ictu-home .matrix-topics a {display:inline-flex;align-items:center;gap:5px;color:var(--home-blue);font-size:12px;font-weight:400;padding:3px 0}
.ictu-home .matrix-topics a:hover {text-decoration:underline;text-underline-offset:3px}
.ictu-home .matrix-topics a.matrix-topic-label {color:var(--home-ink);font-weight:500;padding-right:clamp(9px,1vw,17px);border-right:1px solid var(--home-rule)}
.ictu-home .matrix-grid {display:grid;grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr))}
.ictu-home .matrix-shelf {min-width:0;padding:12px clamp(12px,1.7vw,24px) 9px;border-bottom:1px solid var(--home-rule)}
.ictu-home .matrix-shelf:not(:nth-child(3n+1)) {border-left:1px solid var(--home-rule)}
.ictu-home .matrix-shelf:nth-child(3n+1) {padding-left:0}
.ictu-home .matrix-shelf:nth-child(3n) {padding-right:0}
.ictu-home .matrix-shelf-head {display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:7px}
.ictu-home .matrix-shelf-head h2 {display:flex;align-items:center;gap:7px;min-width:0;color:var(--home-blue);font:600 clamp(18px,1.65vw,24px)/1.12 var(--home-display);letter-spacing:-.02em}
.ictu-home .matrix-shelf-head h2 a {color:inherit}
.ictu-home .matrix-symbol {flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--symbol-bg);color:var(--symbol-ink)}
.ictu-home .matrix-paper {--symbol-bg:#e0f1ff;--symbol-ink:var(--home-blue)}
.ictu-home .matrix-faculty {--symbol-bg:#dfeee7;--symbol-ink:#246658}
.ictu-home .matrix-doctor {--symbol-bg:#eee8f4;--symbol-ink:#654b82}
.ictu-home .matrix-thesis {--symbol-bg:#e5ebf8;--symbol-ink:#3c5687}
.ictu-home .matrix-capstone {--symbol-bg:#fff2d9;--symbol-ink:#805017}
.ictu-home .matrix-learning {--symbol-bg:#e6eddc;--symbol-ink:#436339}
.ictu-home .matrix-shelf-head a:hover {color:var(--home-blue);text-decoration:underline;text-underline-offset:3px}
.ictu-home .matrix-total {display:inline-flex;align-items:center;gap:7px;color:var(--home-blue);font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}
.ictu-home .matrix-resource-links {display:flex;gap:9px;flex:none;color:var(--home-blue);font-size:12px;font-weight:400}
.ictu-home .matrix-resource-links a {color:inherit}
.ictu-home .matrix-records {min-width:0}
.ictu-home .matrix-records article {padding:5px 0}
.ictu-home .matrix-records article+article {border-top:1px solid var(--home-rule)}
.ictu-home .matrix-records article:hover,.ictu-home .matrix-records .person:hover {background:var(--home-blue-tint)}
.ictu-home .matrix-records .record-title {color:var(--home-ink);display:-webkit-box;font-size:12px;font-weight:400;line-height:1.32;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:100%;overflow-wrap:anywhere}
.ictu-home .matrix-records small {display:block;color:var(--home-muted);font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.ictu-home .matrix-records .matrix-lead {padding:5px 9px 5px 10px;border-left:2px solid var(--home-amber);background:var(--home-blue-tint)}
.ictu-home .matrix-records .matrix-lead + article {border-top:0}
.ictu-home .matrix-source {font-size:12px;line-height:1.3;color:var(--home-blue);font-weight:400;margin-bottom:2px}
.ictu-home .matrix-source span {padding-inline:3px}
.ictu-home .matrix-records .person {display:grid;align-items:center;padding:4px 0;gap:8px;grid-template-columns:30px minmax(0,1fr) 17px;color:var(--home-ink)}
.ictu-home .matrix-records .person + .person {border-top:1px solid var(--home-rule)}
.ictu-home .matrix-records .person .avatar {display:grid;place-items:center;border-radius:50%;overflow:hidden;color:var(--home-blue)}
.ictu-home .matrix-records .person .avatar img {width:100%;height:100%;object-fit:cover;display:block}
.ictu-home .matrix-records .person-name,.ictu-home .matrix-records .person small {display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ictu-home .matrix-records .person > svg {color:var(--home-blue)}
.ictu-home .matrix-records .record-title:hover,.ictu-home .matrix-records .person:hover .person-name {text-decoration:underline;text-underline-offset:2px}
.ictu-home .matrix-empty {color:var(--home-muted);padding:6px 0}
.ictu-home .matrix-records .person .avatar {width:30px;height:30px;background:var(--home-blue-tint);font-weight:500}
.ictu-home .matrix-records .person-name {font-size:12px;font-weight:400}
.ictu-home .matrix-records .person small {font-size:12px}
.ictu-home .matrix-bottom {display:flex;align-items:center;gap:5px 16px;flex-wrap:wrap;padding:9px 0 10px}

@media(max-width:1040px) {
  .ictu-home .matrix-mast-inner {padding-right:0}
  .ictu-home .matrix-resource-links {flex-wrap:wrap;justify-content:flex-end;gap:0 8px}
}
@media(max-width:760px) {
  .ictu-home .matrix-mast {
    background-image:linear-gradient(90deg,#f6fbff 0%,#edf7fdf2 60%,#d5edfbba 100%),url('home-collections-campus.webp');
    background-size:cover,auto 100%;
    background-position:center,right center;
  }
  .ictu-home .matrix-mast-inner {gap:8px;padding-block:10px;grid-template-columns:minmax(0,1fr)}
  .ictu-home .matrix-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ictu-home .matrix-shelf {padding:8px 9px}
  .ictu-home .matrix-shelf:not(:nth-child(3n+1)) {border-left:0}
  .ictu-home .matrix-shelf:nth-child(odd) {padding-left:0;padding-right:8px}
  .ictu-home .matrix-shelf:nth-child(even) {border-left:1px solid var(--home-rule);padding-left:8px;padding-right:0}
  .ictu-home .matrix-topics {gap:1px 13px;padding-block:5px}
}
@media(max-width:540px) {
  .ictu-home .matrix-topics {flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  .ictu-home .matrix-topics a {flex:none;white-space:nowrap}
  .ictu-home .matrix-shelf-head {flex-wrap:wrap;row-gap:2px}
  .ictu-home .matrix-shelf-head h2 {gap:5px;font-size:17px}
  .ictu-home .matrix-symbol {width:21px;height:21px;border-radius:6px}
  .ictu-home .matrix-symbol svg {width:14px;height:14px}
  .ictu-home .matrix-shelf-head h2:has(+ .matrix-resource-links) {flex-basis:100%}
  .ictu-home .matrix-resource-links {justify-content:flex-start}
  .ictu-home .matrix-records :is(article,.person):nth-child(n+3) {display:none}
  .ictu-home .matrix-source {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ictu-home .matrix-records .person {grid-template-columns:27px minmax(0,1fr);gap:5px}
  .ictu-home .matrix-records .person .avatar {width:27px;height:27px}
  .ictu-home .matrix-records .person > svg {display:none}
}

@media(max-width:350px) {
  .ictu-home .matrix-paper .matrix-records article + article {display:none}
}
