/* FoSC extras: static hero (no child photos), icons without Font Awesome, mobile menu */
.hero__slideshow__item__img {
  background-color: #cb1515;
  background-image: url("/assets/thumbnail.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.content__path__item__sep {
  font-style: normal;
  font-family: "Bree Serif", serif;
}
.icon-arrow {
  display: inline-block;
  font-style: normal;
  font-family: "Bree Serif", serif;
  speak: never;
}
.scroller__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.4em;
  line-height: 1;
}
.menu-backdrop {
  display: none;
}
.mason--menu .menu-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 70, 0.45);
  z-index: 3;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #142146;
  outline-offset: 2px;
}

/* The school CSS flips the scroller icon; keep our arrow pointing up. */
.footer__scroller .scroller__inner {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

/* School photo in the footer back-to-top circle */
.footer__scroller.scroller--photo {
  font-size: 1em;
  width: 6.75em;
  height: 6.75em;
  overflow: hidden;
  background: #fff;
  border: 4px solid #fff;
  box-sizing: content-box;
  -webkit-box-shadow: 0 8px 16px rgba(156, 152, 152, 0.35);
  box-shadow: 0 8px 16px rgba(156, 152, 152, 0.35);
}
.footer__scroller.scroller--photo .scroller__inner {
  display: block;
  background: transparent;
  color: inherit;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  overflow: hidden;
  border-radius: inherit;
}
.footer__scroller.scroller--photo .scroller__inner img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border: 0;
}
.footer__scroller.scroller--photo:hover .scroller__inner,
.footer__scroller.scroller--photo:focus-visible .scroller__inner {
  background: transparent;
  color: inherit;
}
.footer__scroller.scroller--photo .scroller__hint {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 33, 70, 0.42);
  color: #fff;
  font-size: 1.6em;
  line-height: 1;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  border-radius: inherit;
  pointer-events: none;
}
.footer__scroller.scroller--photo:hover .scroller__hint,
.footer__scroller.scroller--photo:focus-visible .scroller__hint {
  opacity: 1;
}

/* School-style download list for the upcoming-events PDF */
.content__attachments__list {
  margin: 0.5em 0 1.5em;
  padding: 0;
  list-style: none;
  clear: both;
  font-size: 0.8em;
}
.content__attachments__list > * {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  padding: 0.25em 0;
}
@media (min-width: 415px) {
  .content__attachments__list { font-size: 0.85em; }
}
@media (min-width: 1025px) {
  .content__attachments__list { font-size: 0.9em; }
}
@media (min-width: 1301px) {
  .content__attachments__list { font-size: 1em; }
}
.attach__link {
  position: relative;
  border-radius: 3em;
  min-height: 4.5em;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background: transparent;
  overflow: hidden;
  color: #cb1515;
  text-decoration: none;
}
.attach__link:before {
  position: absolute;
  content: '';
  top: 0;
  right: 6.25em;
  bottom: 0;
  left: 0;
  background: rgba(20, 33, 70, 0.1);
  z-index: -1;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.attach__name {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  padding: 0.5em 2.08333em 0.5em 2.33333em;
  min-height: 3em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.attach__name span:last-child {
  margin-left: 0.85em;
  color: rgba(20, 33, 70, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}
.attach__cta {
  border-radius: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 2em;
  -webkit-transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.attach__link:hover,
.attach__link:focus-visible {
  color: #fff;
  -webkit-box-shadow: 0 8px 24px rgba(203, 21, 21, 0.2);
  box-shadow: 0 8px 24px rgba(203, 21, 21, 0.2);
}
.attach__link:hover:before,
.attach__link:focus-visible:before {
  background: #cb1515;
}
.attach__link:hover .attach__name span,
.attach__link:focus-visible .attach__name span {
  color: #fff;
}
.attach__link:hover .attach__cta,
.attach__link:focus-visible .attach__cta {
  color: #cb1515;
  background: #fff;
  -webkit-box-shadow: 0 8px 24px rgba(203, 21, 21, 0.2);
  box-shadow: 0 8px 24px rgba(203, 21, 21, 0.2);
}

/* Projects supported graphic from the school FoSC page */
.projects-graphic {
  margin: 0.25em 0 1.75em;
}
.projects-graphic img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
}
