/* Shared site overrides and the small set of native interactive controls. */
.c-shareBtns__item.-twitter .c-shareBtns__btn { background: #000 !important; }
.c-iconList__item.-twitter .c-iconList__link {
  color: #000 !important;
  border-color: #000 !important;
  background: transparent !important;
}
.icon-twitter::before {
  content: "" !important;
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.p-recentPosts { list-style: none; padding: 0; margin: 0; }
.p-recentPosts__item { border-bottom: 1px solid rgba(0, 0, 0, .08); }
.p-recentPosts__item:last-child { border-bottom: none; }
.p-recentPosts__link {
  display: flex;
  align-items: baseline;
  gap: .75em;
  padding: .7em .25em;
  color: inherit;
  text-decoration: none;
  transition: background .2s;
  border-radius: 4px;
}
.p-recentPosts__link:hover { background: rgba(0, 0, 0, .04); }
.p-recentPosts__date { font-size: .75em; color: #888; white-space: nowrap; letter-spacing: .03em; flex-shrink: 0; }
.p-recentPosts__title { font-size: .9em; line-height: 1.5; }
a.p-blogCard { display: block; color: inherit; text-decoration: none; }
.bottom-menu-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  font: inherit;
}
:where(h2, h3)[id] { scroll-margin-top: calc(var(--swl-offset_y, 64px) + 8px); }
.image-zoom { cursor: zoom-in; }
.image-dialog {
  margin: auto;
  padding: 44px 12px 12px;
  border: 0;
  border-radius: 6px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  background: #fff;
}
.image-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.image-dialog img { display: block; max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; }
.image-dialog-close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 12px;
  border: 1px solid #666;
  border-radius: 4px;
  background: #fff;
  color: #222;
  cursor: pointer;
}
[data-image-open] { overflow: hidden; }
.error-page { margin: 0; color: #333; background: #fdfdfd; font-family: sans-serif; line-height: 1.8; }
.error-content { max-width: 40rem; margin: 12vh auto; padding: 2rem; }
.error-content h1 { font-size: 1.6rem; }
.error-content a { color: #1176d4; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
