@font-face {
  font-family: FontAwesome;
  src: url('/assets/fontawesome-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.fa {
  display: inline-block;
  font: normal normal normal 1em / 1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.fa-search::before { content: '\f002'; }
.fa-facebook::before { content: '\f09a'; }
.fa-twitter::before { content: '\f099'; }
.fa-linkedin::before { content: '\f0e1'; }
.fa-repeat::before { content: '\f01e'; }
.fa-bars::before { content: '\f0c9'; }
.fa-angle-left::before { content: '\f104'; }
.fa-angle-right::before { content: '\f105'; }
.fa-angle-up::before { content: '\f106'; }

:root {
  --accent: #833471;
  --paper: #fdfdfd;
  --ink: #1e272e;
}

body,
.top-bar-content,
.section-head .title {
  background-color: var(--paper);
}

.post-content,
.main-head .search-submit,
.main-head .social-icons a,
.navigation .menu > li > a {
  color: var(--ink);
}

blockquote::before,
.navigation .menu > li:hover > a,
.navigation .menu > .current-menu-item > a,
.navigation .menu > .current-menu-parent > a,
.navigation .menu li li:hover > a,
.tag-share .post-tags a:hover,
.post-share-icons a:hover,
.social-share a:hover,
.main-footer.dark .social-link:hover,
.post-content a,
.post-meta .post-cat > a,
.archive-head .sub-title,
.main-color,
.main-head a:focus-visible {
  color: var(--accent);
}

.post-title-alt::after {
  border-color: var(--accent);
}

.navigation .menu .sub-menu {
  background: #fff;
}

.main-head .title {
  padding: 50px 0 40px;
}

.logo-image {
  max-width: 100%;
  height: auto;
}

.grid-post .post-title-alt {
  font-weight: 500;
}

.post-title-alt {
  font-weight: 500;
}

.post-content {
  font-size: 16px;
  font-weight: 400;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  box-sizing: border-box;
  width: min(320px, 85vw);
  max-height: 75vh;
  overflow: auto;
  padding: 18px 24px;
  background: var(--paper);
  border: 1px solid #ebebeb;
  text-align: left;
}

.mobile-menu nav a {
  display: block;
  line-height: 2.5;
}

.mobile-menu .sub-menu {
  padding-left: 1em;
}

.navigation .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  display: block;
  transform: none;
}

.image-link img {
  max-width: 100%;
  height: auto;
}

.posts-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.main-pagination {
  margin-top: 40px;
}

.main-pagination .archive-page-link {
  min-width: min(275px, 100%);
  margin: 0 0.4em 0.6em;
}

.wp-caption {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
}

.widget_categories .count {
  float: right;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.comments-list .comment-text {
  white-space: pre-line;
}

.search-results .search-form {
  margin-bottom: 22px;
}

.search-results [hidden] {
  display: none;
}

@media (max-width: 940px) {
  .mobile-menu {
    position: relative;
    display: block;
  }
}

@media (max-width: 767px) {
  .main-head .title a {
    max-width: 100%;
  }

  .main-head .search-field {
    font-size: 16px;
  }

  .main-head .search-field::placeholder {
    font-size: 11px;
  }
}

@media (max-width: 540px) {
  .posts-grid > .grid-post {
    width: 100%;
  }

  .grid-post .image-link img {
    width: 100%;
  }
}
