@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

@font-face {
    font-family: 'CooperHewittBook';
    src: url('/assets/CooperHewitt-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CooperHewittMedium';
    src: url('/assets/CooperHewitt-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    max-width: 682px;
    padding: 0 16px;
    margin: 2em auto;
    position: relative;
    font-weight: 350;
}

header {
    margin: 1em 0 2em;
    display: flex;
    align-items: center;
    gap: 16px;
}

header a,
header a:visited,
header a:hover,
header a:active {
  text-decoration: none;
}

header a {
  display: block;
  line-height: 0;
}

header img {
  display: block;
  margin: 0;
  width: 170px;
  height: auto;
}

header .site-title {
    font-family: 'CooperHewittMedium', sans-serif;
    margin: 0;
    color: #111;
    line-height: 1.35;
    font-size: 1.2rem;
    font-weight: normal;
    transform: translateY(0.12em);
}

header .site-title span {
    color: #BE0000;
}

ul.photo-list {
    list-style-type: none;
    list-style-position: inside;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.news-list {
    list-style: none;
    padding-left: 0;
}

.news-list p {
    margin: 0;
}

.news-list li {
    margin-bottom: 0.6rem;
}

.news-list li:last-child {
    margin-bottom: 0;
}

.news-list time {
    font-family: "Source Code Pro", monospace;
    font-size: 0.75em;
    text-transform: uppercase;
}

ul.photo-list li {
    width: 20%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    text-align: center;
    color: transparent;
    overflow: hidden;
    position: relative;
    background: black;
}

ul.photo-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 600px) {
    ul.photo-list li {
        width: 25%;
    }
}

@media (max-width: 480px) {
    ul.photo-list li {
        width: 33.3333%;
    }
}

@media (max-width: 360px) {
    ul.photo-list li {
        width: 50%;
    }
}

ul.photo-list a {
    text-decoration: none;
    color: transparent;
}

ul.photo-list .caption {
    background-color: rgba(0, 0, 0, .5);
    color: white;
    font-size: 80%;
    padding: .25em;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 100;
    line-height: 1.0;
}

ul.photo-list a:hover .caption {
    text-decoration: underline;
    color: #eee;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'CooperHewittBook', sans-serif;
    font-weight: normal;
    vertical-align: baseline;
    color: #BE0000;
    text-rendering: optimizeLegibility;
}

.alumni-list {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 1.4rem;
    font-size: 0.86rem;
    line-height: 1.3;
}

ul.alumni-list li {
    margin: 0 0 0.22rem;
}

ul.alumni-list li:last-child {
    margin-bottom: 0;
}

ul.alumni-list .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: baseline;
    min-width: 0;
}

ul.alumni-list a.row,
ul.alumni-list a.row:hover {
    color: inherit;
    text-decoration: none;
}

ul.alumni-list .row > span:first-child {
    white-space: nowrap;
    min-width: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.alumni-list a.row .name {
    color: #204a87;
}

ul.alumni-list a.row:hover .name {
    color: #3465a4;
    text-decoration: underline;
}

ul.alumni-list .where {
    color: #555;
    font-size: 0.92em;
    text-align: right;
    white-space: nowrap;
}

ul.alumni-list time {
    font-family: "Source Code Pro", monospace;
    font-size: 0.8em;
    color: #555;
    white-space: nowrap;
    margin-left: 0.35rem;
}

@media (max-width: 720px) {
    ul.alumni-list {
        column-count: 1;
    }
}

a {
    color: #204a87;
    text-decoration: none;
}

a:hover {
    color: #3465a4;
    text-decoration: underline;
}
