/* Contain the TOC control. Plugin icons were overflowing the title row. */
body.single-post #ez-toc-container .ez-toc-title-container,
body.single-post #ez-toc-container .ez-toc-title {
  overflow: visible;
}
body.single-post #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
}
body.single-post .ez-toc-title-toggle {
  display: inline-flex;
  align-items: center;
  position: static;
  float: none;
  width: auto;
  height: auto;
}
body.single-post .entry-content .ez-toc-title-toggle button.to-blog-toc-toggle {
  position: static;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #ead9dc;
  border-radius: 8px;
  background: #fff;
  color: #7a1526;
  box-shadow: none;
  line-height: 1;
}
body.single-post button.to-blog-toc-toggle svg,
body.single-post button.to-blog-toc-toggle .to-toc-icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  fill: none;
  stroke: currentColor;
}
body.single-post button.to-blog-toc-toggle svg + svg,
body.single-post button.to-blog-toc-toggle .ez-toc-icon-toggle-span svg:not(:first-of-type) {
  display: none;
}
body.single-post .entry-content button.to-blog-toc-toggle:focus-visible {
  outline: 3px solid #7a1526;
  outline-offset: 3px;
}

body.single-post .to-blog-author {
  margin: 28px 0 8px;
  padding: 20px;
  background: #faf7f5;
  border: 1px solid #ead9dc;
  border-radius: 16px;
}
body.single-post .to-blog-author__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
body.single-post .to-blog-author__photo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
}
body.single-post .to-blog-author-photo {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
body.single-post .to-blog-author .author-name {
  margin: 0 0 8px;
  color: #33282b;
  font-size: 1.25rem;
  line-height: 1.3;
}
body.single-post .to-blog-author .author-desc {
  color: #33282b;
  font-size: 16px;
  line-height: 1.6;
}
body.single-post .to-blog-author .author-desc p:first-child { margin-top: 0; }
body.single-post .to-blog-author .author-desc p:last-child { margin-bottom: 0; }
body.single-post .to-blog-author__page {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: #7a1526;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.single-post .to-blog-author__page:focus-visible {
  outline: 3px solid #7a1526;
  outline-offset: 3px;
}

body.single-post .to-blog-post-nav { margin: 24px 0 8px; }
body.single-post .to-blog-post-nav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
body.single-post .to-blog-post-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid #ead9dc;
  border-radius: 14px;
  background: #fff;
  color: #33282b;
  text-decoration: none;
}
body.single-post .to-blog-post-nav__link:hover { border-color: #7a1526; }
body.single-post .to-blog-post-nav__link:focus-visible {
  outline: 3px solid #7a1526;
  outline-offset: 3px;
}
body.single-post .to-blog-post-nav__media {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 10px;
  background: #faf7f5;
}
body.single-post .to-blog-post-nav__media img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}
body.single-post .to-blog-post-nav__text { min-width: 0; }
body.single-post .to-blog-post-nav__kicker {
  display: block;
  margin-bottom: 4px;
  color: #7a1526;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.single-post .to-blog-post-nav__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
body.single-post .to-blog-post-nav__link.is-next { text-align: right; flex-direction: row-reverse; }
@media (max-width: 767px) {
  body.single-post .to-blog-author,
  body.single-post .to-blog-author__row { display: block; }
  body.single-post .to-blog-author__photo { margin-bottom: 12px; }
  body.single-post .to-blog-post-nav__link,
  body.single-post .to-blog-post-nav__link.is-next {
    flex-direction: row;
    text-align: left;
  }
}
