.meta-line .meta-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.meta-line .meta-link:hover,
.meta-line .meta-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.title-credits dd a {
  color: inherit;
  text-decoration: none;
}

.title-credits dd a:hover,
.title-credits dd a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.title-facts.is-waiting .title-strip dt,
.title-facts.is-waiting .title-strip dd {
  opacity: 0;
}

.title-facts.is-shown .title-strip dt,
.title-facts.is-shown .title-strip dd {
  position: relative;
  animation: credit-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(140ms + var(--i) * 70ms);
}

.title-facts.is-shown .title-strip dd {
  animation-delay: calc(220ms + var(--i) * 70ms);
}

.title-strip {
  display: flex;
  margin: 0;
}

.title-strip > div {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 2px 20px;
  --i: 0;
}

.title-strip > div:first-child {
  padding-left: 0;
}

.title-strip > div:last-child {
  padding-right: 0;
}

.title-strip > div:nth-child(2) {
  --i: 1;
}

.title-strip > div:nth-child(3) {
  --i: 2;
}

.title-strip > div:nth-child(4) {
  --i: 3;
}

.title-strip > div:nth-child(5) {
  --i: 4;
}

.title-strip > div:nth-child(6) {
  --i: 5;
}

.title-strip dt {
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bs-secondary-color);
}

.title-strip dd {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: #eef0f3;
}

.strip-value {
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  text-decoration: none;
}

a.strip-value:hover,
a.strip-value:focus-visible {
  color: var(--bs-primary);
}

.title-strip em {
  flex: none;
  margin-left: 5px;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  color: var(--bs-secondary-color);
}

@keyframes credit-rise {
  from {
    top: 1.2em;
    clip-path: inset(0 0 100% 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .title-facts.is-shown .title-strip dt,
  .title-facts.is-shown .title-strip dd {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .title-strip {
    flex-wrap: wrap;
    row-gap: 22px;
  }
  .title-strip > div,
  .title-strip > div:first-child,
  .title-strip > div:last-child {
    flex: 0 0 25%;
    padding: 2px 16px;
  }
  .title-strip > div:nth-child(4n + 1) {
    padding-left: 0;
  }
}

@media (max-width: 575.98px) {
  .title-strip > div,
  .title-strip > div:first-child,
  .title-strip > div:last-child {
    flex-basis: 50%;
  }
  .title-strip > div:nth-child(4n + 1) {
    padding-left: 16px;
  }
  .title-strip > div:nth-child(2n + 1) {
    padding-left: 0;
  }
}

.term-head a {
  color: #fff;
  text-decoration: none;
}

.term-head a:hover {
  color: #ff5c6c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.term-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.term-photo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--raised);
  box-shadow: 0 4px 0 var(--edge);
}

.term-logo {
  flex: 0 0 auto;
  max-width: 140px;
  max-height: 56px;
  object-fit: contain;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  background: #fff;
  box-shadow: 0 4px 0 var(--edge);
}

.term-text {
  margin: 6px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.62);
}

.term-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.term-pages .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  background: var(--raised);
  box-shadow: 0 4px 0 var(--edge);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.term-pages .page-numbers.current {
  background: var(--bs-primary);
  color: var(--on-primary);
}

.term-pages .page-numbers.dots {
  background: none;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .term-photo {
    width: 64px;
    height: 64px;
  }
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .admin-bar .phone-back {
    top: calc(60px + env(safe-area-inset-top));
  }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  clip: auto;
  border-radius: 8px;
  background: #fff;
  color: #1e2129;
  font-weight: 700;
}

.alignleft {
  float: left;
  margin: 0.4em 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5em;
}

.wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.wp-caption-text,
.gallery-caption {
  margin-top: 6px;
  color: var(--bs-secondary-color);
  font-size: 13px;
}

.sticky,
.bypostauthor {
  display: block;
}

.page-text img {
  max-width: 100%;
  height: auto;
}

.page-text::after {
  content: "";
  display: table;
  clear: both;
}

.comment-text {
  white-space: normal;
}

.comment-text p {
  margin: 0 0 0.6em;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

.comment-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.comment-fields .form-control {
  padding: 8px 14px;
  font-size: 14px;
}

.comment-cookies {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--bs-secondary-color);
  font-size: 12px;
}

.comment-cookies .form-check-input {
  margin: 0;
}

.comment-reply-title {
  margin: 0;
  color: var(--bs-secondary-color);
  font-size: 13px;
}

.comment-reply-title:has(#cancel-comment-reply-link:not([style*="none"])) {
  margin-bottom: 8px;
}

.comment-reply-title a {
  margin-left: 8px;
  color: #b9bec7;
  font-weight: 600;
  text-decoration: none;
}

.comment-replies > .comment-respond {
  margin-top: 10px;
}

a.comment-reply {
  display: inline-block;
  text-decoration: none;
}

.comment-waiting {
  margin-bottom: 4px;
  font-size: 12px;
}

.comment-pages .nav-links,
.page-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.comment-pages .page-numbers,
.page-links .post-page-numbers {
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--raised);
  color: var(--bs-body-color);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.comment-pages .page-numbers.current,
.page-links .post-page-numbers.current {
  background: var(--brand-red);
  color: var(--on-primary);
}

@media (max-width: 575.98px) {
  .comment-fields {
    grid-template-columns: 1fr;
  }
}

.page-thumbnail {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-tags a {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--raised);
  color: var(--bs-body-color);
  font-size: 13px;
  text-decoration: none;
}

.page-text a {
  color: var(--bs-emphasis-color);
}

.page-text a:hover {
  color: #fff;
}
