.ict-page {
    --ict-ink: #2c223e;
    --ict-accent: #523677;
    --ict-line: #ded8e4;
    background: #fff;
    color: var(--ict-ink);
    font-family: "Instrument Sans", "Segoe UI", Arial, sans-serif;
}
.ict-page :where(p, a, span, dt, dd) { font-family: inherit; }
.ict-wrap { width: min(92%, 1160px); margin-inline: auto; }
.ict-masthead { background: #302448; color: white; padding: clamp(20px, 3vw, 38px) 0 clamp(32px, 4.5vw, 62px); }
.ict-breadcrumb { display: flex; align-items: baseline; gap: .7rem; color: #e8dfef; font-size: .9rem; }
.ict-breadcrumb a { color: inherit; text-underline-offset: .2em; }
.ict-intro { margin-top: clamp(22px, 3.3vw, 48px); }
.ict-intro-with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 78px); }
.ict-intro h1 { margin: 0 0 .8rem; color: white; font: 500 clamp(3rem, 5.6vw, 5.3rem)/1 "Baskervville", Georgia, serif; letter-spacing: -.035em; }
.ict-intro p { max-width: 49ch; margin: 0; color: #eee9f2; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.6; }
.ict-banner { display: block; width: 100%; height: auto; max-height: 245px; object-fit: contain; }
.ict-content { padding-block: clamp(2rem, 4.5vw, 4rem); }
.ict-directory-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ict-line);
}
.ict-directory-heading h2, .ict-help h2 {
    margin: 0;
    color: var(--ict-ink);
    font: 500 clamp(2.3rem, 4vw, 3.75rem)/1.08 "Baskervville", Georgia, serif;
    letter-spacing: -.04em;
}
.ict-directory-heading a, .ict-help a { color: var(--ict-accent); text-decoration: underline; text-underline-offset: .2em; }
.ict-directory-heading i { margin-inline-end: .3rem; }
.ict-resource-group + .ict-resource-group { margin-top: clamp(2rem, 4vw, 3.75rem); }
.ict-resource-group > h3 {
    color: var(--ict-ink);
    margin: 0 0 .9rem;
    font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.3 "Instrument Sans", "Segoe UI", Arial, sans-serif;
}
.ict-grid { list-style: none; display: grid; gap: clamp(.9rem, 1.75vw, 1.5rem); margin: 0; padding: 0; }
.ict-grid > li { min-width: 0; }
.ict-card {
    display: block;
    height: 100%;
    border-radius: .5rem;
    overflow: hidden;
    background: #f5f2f6;
    color: var(--ict-ink);
    text-decoration: none;
}
.ict-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ict-card-copy { padding: clamp(1rem, 1.9vw, 1.6rem); }
.ict-card h4 {
    color: var(--ict-accent);
    margin: 0 0 .5rem;
    font: 600 clamp(1.125rem, 1.6vw, 1.45rem)/1.2 "Instrument Sans", "Segoe UI", Arial, sans-serif;
    letter-spacing: -.02em;
}
.ict-card p, .ict-help p { color: #514958; line-height: 1.55; margin: 0; }
.ict-card:hover h4, .ict-card:focus-visible h4 { text-decoration: underline; text-underline-offset: .16em; }
.ict-page a:focus-visible { outline: 3px solid #94601e; outline-offset: 3px; }
.ict-portals .ict-grid { grid-template-columns: 1.08fr 1fr; }
.ict-portals li:first-child { grid-row: span 2; }
.ict-portals .ict-card:not(.ict-feature) {
    display: grid;
    grid-template-columns: 42% minmax(0,1fr);
    align-items: center;
    min-height: 10rem;
}
.ict-portals .ict-card:not(.ict-feature) img { min-height: 0; }
.ict-feature { display: flex; flex-direction: column; background: #272037; }
.ict-feature picture { display: block; background: #10396a; }
.ict-feature img { height: auto; max-height: 23rem; object-fit: contain; }
.ict-feature .ict-card-copy { padding: 1rem 1.5rem; margin-block: auto; }
.ict-feature h4 { color: white; font: 500 clamp(1.85rem, 3vw, 2.9rem)/1.06 Georgia, serif; }
.ict-feature p { color: white; }
.ict-directory .ict-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ict-directory .ict-card { background: white; border: 1px solid var(--ict-line); }
.ict-directory .ict-card img { height: auto; aspect-ratio: 16/9; }
.ict-directory .ict-card-copy { padding: 1rem; }
.ict-directory h4 { font-size: 1.18rem; }
.ict-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(1.2rem, 2.7vw, 2rem);
    background: #f4f0f7;
    border-inline-start: 4px solid var(--ict-accent);
}
.ict-help h2 { font-size: 1.7rem; margin-bottom: .35rem; scroll-margin-top: 9rem; }
.ict-help p { max-width: 44ch; }
.ict-help dl { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: 0; }
.ict-help dt { color: #584869; font-size: .9rem; }
.ict-help dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
@media (max-width: 800px) {
    .ict-intro-with-image { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ict-banner { max-width: 530px; }
    .ict-portals .ict-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ict-portals li:first-child { grid-row: auto; grid-column: 1/-1; }
    .ict-portals .ict-card:not(.ict-feature) { grid-template-columns: 34% minmax(0,1fr); }
    .ict-directory .ict-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .ict-portals .ict-grid, .ict-directory .ict-grid { grid-template-columns: minmax(0,1fr); }
    .ict-portals .ict-card:not(.ict-feature) { min-height: 8.25rem; }
    .ict-directory .ict-card img { max-height: 12rem; }
}
