/* ---------------------------------------------------------

Overrides

--------------------------------------------------------- */
/* ---------------------------------------------------------

Variables

--------------------------------------------------------- */
/* Misc
--------------------------------------------------------- */
body {
  background-color: #ffffff;
}
.screen-reader-text {
  display: none;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
p, .copyright-bar {
  font-family: "Source Sans Pro";
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  margin: 0 0 15px 0;
  padding: 0;
}
.copyright-bar {
  color: #616161;
}
p, h2 {
  max-width: 850px;
}
a {
  color: #AB3838;
}
.entry-header {
  display: none;
}
.wp-block-quote {
  font-style: normal;
  border-width: 10px;
  border-color: #bdbdbd;
}
.wp-block-quote h1 {
  font-family: "Source Sans Pro";
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  color: #9e9e9e;
  margin: 0 0 10px 0;
  padding: 0;
}
body.error404 .site-content {
  display: block;
}
body.error404 h1, body.error404 p {
  max-width: unset;
  text-align: center;
  color: #bdbdbd;
}
/* Header
--------------------------------------------------------- */
.site-header {
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #ffffff;
}
@media screen and (max-width: 850px) {
  .site-header {
    position: unset;
  }
}
.site-header .main-title {
  font-family: "Nunito";
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.site-header .main-title a {
  color: #616161;
}
.site-header .main-navigation .main-nav ul li a {
  font-family: "Nunito";
  line-height: 35px;
  font-weight: 700;
  color: #616161;
}
.site-header .main-navigation .main-nav ul li a:hover, .site-header .main-navigation .main-nav ul li.current-menu-item a, .site-header .main-navigation .main-nav ul li.current-menu-parent > a {
  color: #AB3838;
}
.site-header .main-navigation .main-nav ul li:last-child a {
  padding-right: 5px;
}
.site-header .main-navigation .menu-item-has-children {
  cursor: pointer;
}
.site-header .main-navigation .sub-menu {
  background-color: white;
  border: none;
  box-shadow: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  margin: 0 0 0 20px;
  padding: 0;
}
.site-header .main-navigation .sub-menu li {
  margin: 0;
  padding: 0;
}
.site-header .main-navigation .sub-menu a {
  display: block;
  padding: 0 10px;
}
@media screen and (max-width: 850px) {
  .menu-toggle {
    display: none !important;
  }
  .main-navigation .menu-toggle + div, .main-navigation .main-nav, .main-navigation ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .inside-header {
    flex-direction: column !important;
  }
  #site-navigation {
    margin: 10px 0 0 0 !important;
  }
  .site-content {
    padding-top: 0 !important;
  }
}
@media (max-width: 850px) {
  #site-navigation, .menu-toggle {
    display: none !important;
  }
}
#mobile-nav {
  display: none;
}
@media (max-width: 850px) {
  #mobile-nav {
    display: block;
    text-align: center;
    padding: 10px 0;
  }
  #mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 16px;
  }
  #mobile-nav li {
    display: inline-block;
  }
  #mobile-nav a {
    text-decoration: none;
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  #mobile-nav ul {
    flex-direction: column;
  }
  #mobile-nav li {
    display: block;
  }
  #mobile-nav a {
    display: block;
    font-size: 20px;
    padding: 5px;
  }
}
/* WP Galleries
--------------------------------------------------------- */
.is-style-justified {
  display: block !important;
}
.is-style-justified.is-layout-flex {
  display: block !important;
}
.is-style-justified.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
  height: 100% !important;
  object-fit: cover !important;
}
.is-style-justified .wp-block-image {
  margin: 0 !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.is-style-justified .wp-block-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.is-style-justified .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.is-style-justified .wp-element-caption {
  background: none !important;
  scrollbar-color: unset !important;
  will-change: unset !important;
  font-family: "Source Sans Pro" !important;
  font-size: 16px !important;
  text-shadow: 0 1px 3px black, 0 0 8px black !important;
}
.is-style-justified figure.wp-block-image:has(figcaption)::before {
  display: none !important;
}
.is-captions-hover .wp-element-caption {
  opacity: 0;
  transition: opacity 0.2s ease;
  text-shadow: none;
}
.is-captions-hover .wp-block-image:hover .wp-element-caption {
  opacity: 1;
}
.is-captions-hover.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
  backdrop-filter: none !important;
}
.is-captions-hover.wp-block-image:hover::before {
  backdrop-filter: blur(3px) !important;
}
.pswp--zoom-allowed .pswp__button--zoom {
  display: none !important;
}
.lightbox-trigger {
  display: none !important;
}
.wp-lightbox-overlay img {
  width: auto !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  height: auto !important;
}
.is-shaded {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
}
.is-shaded p:last-child {
  margin-bottom: 0;
}
.is-shadow img {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}
/* Berkeley Figures
--------------------------------------------------------- */
body.page-id-1783 :target {
  scroll-margin-top: 85px;
}
body.page-id-1783 ul.wp-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.page-id-1783 ul.wp-block-list li {
  margin: 0 0 10px 0;
  padding: 0;
}
body.page-id-1783 ul.wp-block-list a {
  text-decoration: none;
}
body.page-id-1783 ul.wp-block-list em {
  font-style: normal;
  color: #9e9e9e;
}
body.page-id-1783 hr {
  border: none;
  border-top: 1px solid #bdbdbd;
  width: 75%;
  margin: 40px auto 60px;
}
body.page-id-1783 h2 {
  font-family: "Nunito";
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  padding: 0;
}
body.page-id-1783 .wp-block-image .alignright {
  margin: 0 0 20px 20px;
}
@media screen and (max-width: 850px) {
  body.page-id-1783 .wp-block-columns {
    gap: 0;
  }
  body.page-id-1783 ul.wp-block-list em {
    display: block;
  }
  body.page-id-1783 .wp-block-image .alignright {
    margin: 0;
  }
}
