.vn-im-cat{--line:#cbdbe2;--sea:var(--blue,#126e99);--ink:#183749;text-align:start;color:var(--ink)}.vn-im-cat [hidden]{display:none!important}.vn-im-cat .im-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:1.3rem 0}.vn-im-cat .im-filters label{display:grid;gap:4px;flex:1 1 155px;font-size:1rem;font-weight:600}.vn-im-cat .im-filters select{min-width:0;width:100%;padding:.65rem;background:#fff;color:var(--ink);border:1px solid #849da9;border-radius:5px;font:inherit}.vn-im-cat .im-filters button{background:none;border:0;color:var(--sea);font:inherit;text-decoration:underline;cursor:pointer;padding:.65rem}.vn-im-cat .im-filters button:disabled{color:#506572;cursor:default;text-decoration:none}.vn-im-cat .im-filter-count{font-size:1rem;margin:1rem 0}.vn-im-cat .im-courses{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(36rem,100%),1fr));gap:18px;margin-top:28px}.vn-im-cat .im-course{margin:0;padding:22px;border:1px solid var(--line);border-radius:8px;background:white;display:flex;flex-direction:column;align-items:flex-start;position:relative}.vn-im-cat .im-course-layout{width:100%;display:flex;align-items:flex-start;gap:clamp(16px,2vw,28px)}.vn-im-cat .vn-pic{flex:none;width:clamp(120px,26%,240px)}.vn-im-cat .im-course-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:8px}.vn-im-cat .im-course-copy{flex:1;min-width:0}.vn-im-cat .im-course h3{font:inherit;font-size:1.25rem;font-weight:700;line-height:1.35;margin:0}.vn-im-cat .vn-credit,.vn-im-cat .vn-campus{display:block;color:#435e6d;font-size:.8125rem}.vn-im-cat .im-course-status{display:inline-flex;align-items:center;gap:.4em;padding:.24em .72em;margin-bottom:.75rem;border-radius:2em;font-size:.875rem;font-weight:650;line-height:1.5}.vn-im-cat .im-course-status::before{content:"";width:.48em;height:.48em;border-radius:50%;background:currentColor}.vn-im-cat .im-status-open{background:#e5f3ed;color:#15573e}.vn-im-cat .im-status-half_full{background:#fff0d4;color:#704708}.vn-im-cat .im-status-full{background:#f9e8e7;color:#822e2c}.vn-im-cat .im-course-fields{display:flex;align-items:flex-start;flex-wrap:wrap;gap:1rem clamp(1rem,2vw,2rem);width:100%;margin:1.15rem 0 0;padding:0}.vn-im-cat .im-course-fields>div{position:relative;min-width:0;max-width:100%;padding-inline-start:1.65rem}.vn-im-cat .im-course-fields>div:before{content:"";position:absolute;top:.12rem;inset-inline-start:0;width:1.25rem;height:1.25rem;background:url("catalog-course-icons.svg") 0 0/5rem 1.25rem no-repeat}.vn-im-cat .im-meta-funding:before{background-position-x:-1.25rem!important}.vn-im-cat .im-meta-officiality:before{background-position-x:-2.5rem!important}.vn-im-cat .im-meta-modality:before{background-position-x:-3.75rem!important}.vn-im-cat dt{font-size:.8125rem;line-height:1.4;color:#435e6d}.vn-im-cat dd{margin:.1rem 0 0;font-size:1rem;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.vn-im-cat .im-choice{display:block;margin-top:1.25rem;border-top:1px solid var(--line);padding-top:.85rem;width:100%;color:var(--sea);font-weight:bold;text-underline-offset:4px}.vn-im-cat .im-choice:after{content:"";position:absolute;inset:0;border-radius:8px}.vn-im-cat .im-course:focus-within{outline:3px solid var(--sea);outline-offset:2px}.vn-im-cat .im-waitlist-notice{margin:1rem 0 0;padding:.65rem .9rem;border-inline-start:3px solid var(--sea);background:#eef6f8;color:var(--ink);font-size:.95rem;line-height:1.5}@media(max-width:38rem){.vn-im-cat .im-course-layout{flex-direction:column;gap:14px}.vn-im-cat .vn-pic,.vn-im-cat .im-course-copy{width:100%}.vn-im-cat .im-course-photo{aspect-ratio:2.1}}@media(max-width:32rem){.vn-im-cat .im-course-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .75rem}}
@media (min-width: 64rem) {
  .vn-im-cat .vn-featured-filters {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:14px}
  .vn-im-cat .vn-featured-filters label {min-width:0}
  .vn-im-cat .vn-featured-filters button {grid-column:1/-1;justify-self:end}
}

/* The catalogue width determines how many square cards fit. */
.vn-im-cat, .im-catalog, .av-catalog {container-type:inline-size}
.vn-im-cat .im-courses, .im-catalog .im-courses, .av-catalog .av-editions {
  display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:clamp(14px,1.6vw,22px)
}
@container (min-width:38rem) {
  .vn-im-cat .im-courses, .im-catalog .im-courses, .av-catalog .av-editions {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (min-width:58rem) {
  .vn-im-cat .im-courses, .im-catalog .im-courses, .av-catalog .av-editions {grid-template-columns:repeat(3,minmax(0,1fr))}
}
:is(.vn-im-cat,.im-catalog,.av-catalog) article.vn-tile {
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  width:100%;box-sizing:border-box;aspect-ratio:1;min-height:min-content;min-width:0;
  padding:clamp(14px,1.5vw,22px);gap:14px;overflow-wrap:anywhere
}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile[hidden] {display:none}
.vn-tile .vn-tile-head {display:flex;align-items:flex-start;gap:14px;width:100%;min-width:0}
.vn-tile .vn-tile-title {flex:1;min-width:0}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-head > :is(img,.vn-pic) {
  width:32%;max-width:9rem;min-width:0;flex:0 0 auto;margin:0
}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-head img {
  display:block;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:6px
}
.vn-tile .vn-pic img {width:100%}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile h3 {font-size:clamp(1.1rem,1.6vw,1.35rem);line-height:1.22;margin:0}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-link {
  display:inline-block;width:auto;margin:.45rem 0 0;padding:0;border:0;text-decoration:none;font-size:.95rem;font-weight:600;line-height:1.35
}
.vn-tile .vn-tile-link::after {content:"";position:absolute;inset:0;border-radius:inherit}
.vn-tile:focus-within {outline:2px solid currentColor;outline-offset:2px}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-details {width:100%;min-width:0}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-details:empty {display:none}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-details > :first-child {margin-top:0}
:is(.vn-im-cat,.im-catalog,.av-catalog) .vn-tile .vn-tile-details > :last-child {margin-bottom:0}

/* A square minimum leaves room for longer course and group descriptions. */
:is(.vn-im-cat,.av-catalog) article.vn-tile {
  --card-space:clamp(14px,1.5vw,20px);
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);
  aspect-ratio:auto;height:auto;max-height:none;gap:0;overflow:visible;
  padding:calc(var(--card-space) + 8px) var(--card-space) var(--card-space);
  border:1px solid #bbd2c6;border-radius:14px;background:#fff;
}
.vn-tile::before,.vn-tile .vn-tile-content {grid-area:1 / 1}
.vn-tile::before {content:"";width:100%;aspect-ratio:1;align-self:start;pointer-events:none}
.vn-tile .vn-tile-content {min-width:0;align-self:start;display:grid;gap:14px}
.vn-tile .vn-tile-content > *,.vn-tile .vn-tile-details * {min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
:is(.vn-im-cat,.av-catalog) .vn-tile .vn-tile-head > :is(img,.vn-pic) {width:35%}
:is(.vn-im-cat,.av-catalog) .vn-tile .vn-tile-head img {aspect-ratio:4/3;border-radius:8px}
:is(.vn-im-cat,.av-catalog) .vn-tile h3 {color:#113d32}
:is(.vn-im-cat,.av-catalog) .vn-tile .vn-tile-link {
  color:#165c43;max-width:100%;
}
:is(.vn-im-cat,.av-catalog) .vn-tile .vn-tile-link:visited {color:#165c43}
:is(.vn-im-cat,.av-catalog) article.vn-tile:focus-within {outline:2px solid #165c43;outline-offset:3px}
.vn-tile .vn-tile-details {border-top:1px solid #e1eae4;padding-top:12px}
.vn-tile :is(.vn-campus,.av-campus) {color:#365f50;font-weight:600}
.vn-tile .av-fact {max-width:100%}
.vn-tile .av-fact img {flex:none}
:is(.vn-im-cat,.av-catalog) .vn-tile > .vn-tile-status {
  position:absolute;inset-block-start:-1px;inset-inline-end:var(--card-space);
  transform:translateY(-50%);z-index:1;pointer-events:none;box-sizing:border-box;
  display:inline-flex;align-items:center;gap:.4em;margin:0;padding:.18em .75em;
  max-width:calc(100% - 2 * var(--card-space));border:1px solid #b4d4c3;
  border-radius:2em;background:#e9f5ee;color:#175839;font-size:.8125rem;font-weight:650;line-height:1.45;
}
.vn-tile .vn-tile-status::before {content:"";flex:none;width:.45em;height:.45em;background:currentColor;border-radius:50%}
:is(.vn-im-cat,.av-catalog) .vn-tile > :is(.im-status-half_full,.av-seats.half_full) {
  border-color:#e0c88e;background:#fff2d7;color:#674600
}
:is(.vn-im-cat,.av-catalog) .vn-tile :is(.im-waitlist-notice,.av-wait) {border:1px solid;border-radius:8px;padding:.65rem .85rem}
:is(.vn-im-cat,.av-catalog) .vn-tile :is(.im-waitlist-notice,.av-wait),
:is(.vn-im-cat,.av-catalog) .vn-tile > :is(.im-status-full,.av-seats.full) {
  border-color:#e2bfbb;background:#fbece9;color:#843831
}
.vn-im-cat .im-courses,.av-catalog .av-editions {row-gap:32px;padding-block-start:14px}

.vn-im-cat .im-courses,.av-catalog .av-editions {align-items:stretch}
.vn-im-cat .vn-tile .im-course-fields {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem .65rem
}

.vn-tile .vn-tile-location {
  display:flex;align-items:center;gap:.35rem;color:#435e53;
  font-size:.875rem;line-height:1.4;margin:.1rem 0 .5rem;
}
.vn-tile .vn-tile-location span {min-width:0}
.vn-tile .vn-tile-map {
  position:relative;z-index:1;flex:0 0 2rem;display:inline-grid;
  place-items:center;width:2rem;height:2rem;border-radius:50%;
  background:#eaf3ed;color:#165c43;
}
.vn-tile .vn-tile-map::before {
  content:"";width:18px;height:18px;background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.vn-tile .vn-tile-map:is(:hover,:focus-visible) {background:#165c43;color:white}
.vn-tile .vn-tile-map:focus-visible {outline:2px solid #165c43;outline-offset:2px}

:is(.vn-im-cat,.av-catalog) .vn-tile .vn-tile-link {
  display:inline-flex;align-items:center;gap:.35em;min-height:1.5rem;
}
.vn-tile .vn-tile-link::before {
  content:"";flex:none;width:1.05em;height:1.05em;background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Zm0 0v6h6M8 12h8M8 16h6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.vn-tile .vn-pic {position:relative}
.vn-tile .vn-credit-control {
  position:absolute;left:8px;bottom:8px;z-index:3;width:16px;height:16px;
}
.vn-tile .vn-credit-button {
  position:relative;display:grid;place-items:center;width:16px;height:16px;min-width:0;min-height:0;
  box-sizing:border-box;margin:0;padding:0;border:1px solid #a8cbbb;border-radius:50%;
  background:rgba(250,254,251,.96);color:#165c43;cursor:pointer;
}
.vn-tile .vn-credit-button::after {content:"";position:absolute;inset:-9px;border-radius:50%}
.vn-tile .vn-credit-button:focus-visible {outline:2px solid #165c43;outline-offset:2px}
.vn-tile .vn-credit-button::before {
  content:"";display:block;width:8px;height:8px;background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M11.017%202.814a1%201%200%200%201%201.966%200l1.051%205.558a2%202%200%200%200%201.594%201.594l5.558%201.051a1%201%200%200%201%200%201.966l-5.558%201.051a2%202%200%200%200-1.594%201.594l-1.051%205.558a1%201%200%200%201-1.966%200l-1.051-5.558a2%202%200%200%200-1.594-1.594l-5.558-1.051a1%201%200%200%201%200-1.966l5.558-1.051a2%202%200%200%200%201.594-1.594z%22%20%2F%3E%20%3Cpath%20d%3D%22M20%202v4%22%20%2F%3E%20%3Cpath%20d%3D%22M22%204h-4%22%20%2F%3E%20%3Ccircle%20cx%3D%224%22%20cy%3D%2220%22%20r%3D%222%22%20%2F%3E%20%3C%2Fsvg%3E") center/contain no-repeat;
}
.vn-tile .vn-credit-tooltip {
  position:absolute;z-index:1;left:0;bottom:100%;width:max-content;max-width:min(10.25rem,48vw);
  padding:.4rem .6rem;border:1px solid #bad4c5;border-radius:7px;background:#fff;color:#173e31;
  box-shadow:0 2px 8px #153d2c18;font-size:.8125rem;font-weight:500;line-height:1.35;
  overflow-wrap:anywhere;pointer-events:auto;
}
.vn-tile .vn-credit-tooltip[hidden] {display:none}
