/*
 * Single blog content styles.
 * WordPress editor content does not need custom classes.
 */

.details-body {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.details-body > *:first-child {
  margin-top: 0;
}

.details-body h2,
.details-body .wp-block-heading:is(h2) {
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.15;
  font-weight: 500;
}

.details-body h3,
.details-body .wp-block-heading:is(h3) {
  margin-top: 2.75rem;
  margin-bottom: 0.875rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  font-weight: 500;
}

.details-body h4,
.details-body .wp-block-heading:is(h4) {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
  font-weight: 600;
}

.details-body h5,
.details-body h6 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.details-body p {
  margin: 0 0 1.35rem;
}

.details-body a:not(.wp-element-button) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.details-body ul,
.details-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.details-body ul {
  list-style: disc;
}

.details-body ol {
  list-style: decimal;
}

.details-body li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.details-body blockquote,
.details-body .wp-block-quote {
  margin: 2.5rem 0;
  border-left: 4px solid currentColor;
  padding: 1.25rem 1.5rem;
  font-size: 1.2rem;
  font-style: italic;
}

.details-body blockquote p:last-child {
  margin-bottom: 0;
}

.details-body figure,
.details-body .wp-block-image,
.details-body .wp-block-gallery,
.details-body .wp-block-embed {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.details-body img {
  max-width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.details-body figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.65;
}

.details-body table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.details-body th,
.details-body td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.details-body pre,
.details-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.details-body pre {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 1rem;
  padding: 1.25rem;
}

.details-body hr {
  margin: 3rem 0;
  opacity: 0.2;
}

.details-body .alignwide {
  width: min(1100px, calc(100vw - 2rem));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.details-body .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.single-share-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  padding: 0.65rem 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.single-share-link a:hover {
  transform: translateY(-2px);
}

.single-post-navigation a {
  display: block;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.single-post-navigation span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

.single-post-navigation strong {
  display: block;
  font-weight: 500;
}

.post-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.post-page-links > * {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
}
