@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("inter-bold.ttf") format("truetype");
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 142.5px 17px 85px;
  background: #25313c url("../wp-content/themes/generatepress_child/media/rugby-lg.png") center bottom / cover no-repeat fixed;
  color: #52525b;
  font: 17px/1.5 -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}
.profile {
  width: 100%;
  max-width: 766px;
  margin: 0 auto;
  padding: 0 29px 46px;
  border-radius: 20px;
  background: #fff;
  display: flow-root;
}
.profile-heading { text-align: center; }
.portrait {
  display: block;
  width: 150px;
  height: 150px;
  margin: -75px auto 12px;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}
h1 {
  margin: 0;
  color: #09090b;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.285px;
}
.class-year {
  margin: 0 0 24px;
  color: rgba(0, 6, 10, .56);
  font: 700 24px/1.5 Inter, sans-serif;
  letter-spacing: -1.285px;
}
.biography p { margin: 0 0 25.5px; }
.biography p:last-child { margin-bottom: 24px; }
.profile-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  background: #000;
}
.resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 5px;
  margin-top: 12px;
}
.resources a {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #0054a9;
  border-radius: 4px;
  background: #0060b5;
  color: #fffcfc;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
}
.resources a:hover, .resources a:focus { background: #004d77; }
a:focus-visible, video:focus-visible { outline: 3px solid #6534df; outline-offset: 4px; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 10px; background: #fff; color: #09090b; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.simple-page { padding-top: 32px; }
.simple-page h1 { margin-bottom: 24px; }
.simple-page a { color: #0060b5; }
@media (min-width: 769px) and (max-width: 992px) {
  body { padding-right: 25.5px; padding-left: 25.5px; padding-bottom: 68px; }
  .profile { max-width: 749px; }
}
@media (max-width: 768px) {
  body { padding: 92.5px 0 34px; }
  .profile { padding-right: 12px; padding-left: 12px; }
}
