.single-post-page {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(4rem, 6vw, 5rem);
  background: var(--color-v6-cream);
  color: var(--color-v6-ink);
}

.single-post-shell {
  width: min(100% - 2rem, 1024px);
  margin: 0 auto;
}

.single-post-article {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.25rem);
}

.single-post-header,
.single-post-content,
.single-post-read-next,
.single-post-secondary {
  width: min(100%, 680px);
  margin: 0 auto;
}

.single-post-header {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent);
}

.single-post-overline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: center;
  color: var(--color-v6-ink-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-post-categories,
.single-post-meta-details {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: center;
}

.single-post-overline-separator {
  color: var(--color-v6-ink-muted);
}

.single-post-category {
  color: var(--color-v6-green);
  text-decoration: none;
}

.single-post-category:hover {
  text-decoration: underline;
}

.single-post-title {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-v6-heading);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  text-wrap: balance;
}

.single-post-author-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-v6-ink-light);
}

.single-post-author-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
}

.single-post-author-line p {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: center;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.single-post-author-line a {
  color: var(--color-v6-ink);
  text-decoration: none;
  font-weight: 500;
}

.single-post-author-line a:hover {
  color: var(--color-v6-green);
}

.single-post-content {
  font-family: var(--font-v6-body);
  font-size: 1.125rem;
  line-height: 1.78;
  color: var(--color-v6-ink-light);
}

.single-post-content > *:first-child {
  margin-top: 0;
}

.single-post-content > * + * {
  margin-top: 1.45rem;
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol,
.single-post-content table,
.single-post-content .wp-block-image,
.single-post-content .wp-block-gallery,
.single-post-content .wp-block-embed,
.single-post-content .wp-block-separator,
.single-post-content .uagb-toc__wrap,
.single-post-content .wp-block-uagb-faq,
.single-post-content .wp-block-group,
.single-post-content .wp-block-columns,
.single-post-content .wp-block-pullquote {
  margin-block: 1.7rem;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  margin: 3rem 0 0.85rem;
  color: var(--color-v6-ink);
  text-wrap: balance;
}

.single-post-content h1,
.single-post-content h2 {
  font-family: var(--font-v6-heading);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.single-post-content h3 {
  font-family: var(--font-v6-heading);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.single-post-content a {
  color: color-mix(in srgb, var(--color-v6-green) 88%, var(--color-v6-ink) 12%);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.17em;
}

.single-post-content a:hover {
  color: var(--color-v6-green-hover);
}

.single-post-content strong {
  color: var(--color-v6-ink);
  font-weight: 700;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.35rem;
}

.single-post-content li + li {
  margin-top: 0.55rem;
}

.single-post-content blockquote,
.single-post-content .wp-block-quote,
.single-post-content .wp-block-pullquote blockquote {
  margin: 2rem 0 1rem;
  padding-left: 1.3rem;
  border-left: 2px solid color-mix(in srgb, var(--color-v6-green) 45%, var(--color-v6-ink) 55%);
  color: var(--color-v6-ink);
  font-family: var(--font-v6-heading);
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  line-height: 1.6;
  font-style: italic;
  letter-spacing: -0.015em;
}

.single-post-content .kg-blockquote-alt,
.single-post-content blockquote.is-style-plain {
  padding-left: 0;
  border-left: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.55;
}

.single-post-content blockquote p,
.single-post-content .wp-block-quote p,
.single-post-content .wp-block-pullquote p {
  margin: 0;
}

.single-post-content cite,
.single-post-content .wp-block-quote cite,
.single-post-content .wp-block-pullquote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--color-v6-ink-faint);
  font-family: var(--font-v6-body);
  font-size: 0.82rem;
  line-height: 1.5;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-post-content .wp-block-image figure,
.single-post-content .wp-block-image {
  margin-inline: 0;
}

.single-post-content figure,
.single-post-content .kg-card,
.single-post-content .wp-block-image {
  margin: 3rem 0 1rem;
}

.single-post-content .wp-block-image img,
.single-post-content .wp-block-gallery img,
.single-post-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.single-post-content .wp-block-image figcaption,
.single-post-content figcaption {
  margin: 0.75rem auto 0;
  max-width: 42rem;
  color: var(--color-v6-ink-faint);
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: center;
}

.single-post-content .wp-block-separator {
  border: 0;
  height: 1px;
  background: color-mix(in srgb, var(--color-v6-ink) 12%, transparent);
}

.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.single-post-content th,
.single-post-content td {
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent);
  text-align: left;
}

.single-post-content th {
  color: var(--color-v6-ink);
  font-weight: 700;
}

.single-post-content .wp-block-uagb-table-of-contents {
  margin: 2rem 0;
}

.single-post-content .uagb-toc__wrap,
.single-post-content .wp-block-uagb-faq-child.uagb-faq-child__outer-wrap,
.single-post-content .wp-block-pullquote,
.single-post-content .wp-block-group.is-style-default {
  box-shadow: none !important;
}

.single-post-content .uagb-toc__wrap {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent) !important;
  border-radius: 1rem !important;
  background: color-mix(in srgb, white 58%, var(--color-v6-cream-light) 42%) !important;
}

.single-post-content .uagb-toc__wrap > .uagb-toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 !important;
  padding: 1rem 1.1rem !important;
  border-bottom: 1px solid color-mix(in srgb, var(--color-v6-ink) 10%, transparent);
  background: color-mix(in srgb, white 34%, var(--color-v6-cream-light) 66%) !important;
  color: var(--color-v6-ink) !important;
  font-family: var(--font-v6-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.single-post-content .uagb-toc__title svg,
.single-post-content .uagb-toc__title .uagb-toc__icon,
.single-post-content .uagb-toc__title .uagb-icon {
  color: var(--color-v6-green) !important;
  fill: currentColor !important;
}

.single-post-content .uagb-toc__wrap > .uagb-toc__list-wrap {
  padding: 0.95rem 1.1rem 1.05rem !important;
  background: transparent !important;
}

.single-post-content .uagb-toc__list-wrap .uagb-toc__list {
  margin: 0;
  padding-left: 1.15rem;
}

.single-post-content .uagb-toc__list-wrap li.uagb-toc__list {
  margin: 0;
  color: var(--color-v6-ink-faint);
}

.single-post-content .uagb-toc__list-wrap li.uagb-toc__list + li.uagb-toc__list {
  margin-top: 0.7rem;
}

.single-post-content .uagb-toc__list-wrap li.uagb-toc__list::marker {
  color: color-mix(in srgb, var(--color-v6-green) 74%, var(--color-v6-ink) 26%);
}

.single-post-content .uagb-toc__list-wrap li.uagb-toc__list > a.uagb-toc-link__trigger {
  color: var(--color-v6-ink) !important;
  font-size: 0.98rem;
  line-height: 1.5;
  text-decoration: none;
}

.single-post-content .uagb-toc__list-wrap li.uagb-toc__list > a.uagb-toc-link__trigger:hover {
  color: var(--color-v6-green) !important;
  text-decoration: underline;
}

.single-post-content > .wp-block-columns.has-background {
  gap: 0;
  margin: 2rem 0;
  padding: 1.1rem 1.2rem !important;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, white 60%, var(--color-v6-cream-light) 40%) !important;
  box-shadow: none;
}

.single-post-content > .wp-block-columns.has-background > .wp-block-column {
  flex-basis: 100% !important;
}

.single-post-content > .wp-block-columns.has-background .wp-block-uagb-info-box {
  margin: 0;
}

.single-post-content > .wp-block-columns.has-background .uagb-infobox__content-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-post-content > .wp-block-columns.has-background .uagb-ifb-image-content {
  margin: 0;
}

.single-post-content > .wp-block-columns.has-background .uagb-ifb-image-content img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
}

.single-post-content > .wp-block-columns.has-background .uagb-ifb-content {
  min-width: 0;
}

.single-post-content > .wp-block-columns.has-background .uagb-ifb-desc {
  margin: 0;
  color: var(--color-v6-ink-light);
  font-size: 0.98rem;
  line-height: 1.65;
}

.single-post-content > .wp-block-columns.has-background .uagb-ifb-desc a {
  color: color-mix(in srgb, var(--color-v6-green) 88%, var(--color-v6-ink) 12%);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.single-post-content > .wp-block-columns.has-background .uagb-ifb-desc a:hover {
  color: var(--color-v6-green-hover);
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents .uagb-toc__wrap {
  overflow: hidden !important;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent) !important;
  border-radius: 1rem !important;
  background: color-mix(in srgb, white 58%, var(--color-v6-cream-light) 42%) !important;
  box-shadow: none !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents .uagb-toc__wrap > .uagb-toc__title {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: 0 !important;
  cursor: pointer !important;
  border-bottom: 1px solid color-mix(in srgb, var(--color-v6-ink) 10%, transparent) !important;
  background: color-mix(in srgb, white 34%, var(--color-v6-cream-light) 66%) !important;
  padding: 1rem 1.1rem !important;
  color: var(--color-v6-ink) !important;
  font-family: var(--font-v6-body) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents .uagb-toc__wrap > .uagb-toc__title::after {
  content: "▼" !important;
  position: absolute !important;
  top: 50% !important;
  right: 1.1rem !important;
  translate: 0 -50% !important;
  color: var(--color-v6-green) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  pointer-events: none !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents .uagb-toc__wrap.uagb-toc--is-open > .uagb-toc__title::after {
  content: "▲" !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents .uagb-toc__wrap > .uagb-toc__list-wrap {
  padding: 0.95rem 1.1rem 1.05rem !important;
  border-top: 0 !important;
  background: transparent !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents .uagb-toc__list-wrap > .uagb-toc__list {
  margin: 0 !important;
  padding-left: 1.15rem !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents li.uagb-toc__list {
  margin: 0 !important;
  color: var(--color-v6-ink-faint) !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents li.uagb-toc__list + li.uagb-toc__list {
  margin-top: 0.7rem !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents li.uagb-toc__list::marker {
  color: color-mix(in srgb, var(--color-v6-green) 74%, var(--color-v6-ink) 26%) !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents a.uagb-toc-link__trigger {
  color: var(--color-v6-ink) !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}

.single-post-page .single-post-content .wp-block-uagb-table-of-contents a.uagb-toc-link__trigger:hover {
  color: var(--color-v6-green) !important;
  text-decoration: underline !important;
}

.single-post-content .wp-block-uagb-faq-child.uagb-faq-child__outer-wrap {
  margin: 0 !important;
}

.single-post-content .wp-block-uagb-faq-child + .wp-block-uagb-faq-child {
  border-top: 1px solid color-mix(in srgb, var(--color-v6-ink) 10%, transparent) !important;
}

.single-post-content .wp-block-uagb-faq-child .uagb-faq-questions-button {
  padding: 1rem 0 !important;
  background: transparent !important;
  color: var(--color-v6-ink) !important;
  font-weight: 700 !important;
}

.single-post-content .wp-block-uagb-faq-child .uagb-faq-content {
  padding: 0 0 1rem !important;
  background: transparent !important;
  color: var(--color-v6-ink-light) !important;
}

.single-post-read-next {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0;
  padding: 1.45rem 1.65rem;
  border-radius: 1.25rem;
  background: color-mix(in srgb, #f4e7ce 88%, white 12%);
}

.single-post-read-next-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-v6-ink-light);
  font-size: 1.15rem;
  line-height: 1;
}

.single-post-read-next-copy {
  margin: 0;
  display: block;
  color: var(--color-v6-ink);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  font-weight: 700;
}

.single-post-read-next-label {
  color: var(--color-v6-ink);
  margin-right: 0.2rem;
}

.single-post-read-next a {
  color: var(--color-v6-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.single-post-read-next a:hover {
  color: var(--color-v6-ink);
}

.single-post-read-next-arrow {
  color: var(--color-v6-ink);
  margin-left: 0.15rem;
}

.single-post-secondary {
  display: grid;
  gap: 2.25rem;
}

.single-post-author-note,
.single-post-share,
.single-post-comments {
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent);
}

.single-post-author-note-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
}

.single-post-author-note-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
}

.single-post-author-note-copy {
  min-width: 0;
}

.single-post-author-note-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-v6-heading);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.single-post-author-note-title a {
  color: var(--color-v6-ink);
  text-decoration: none;
}

.single-post-author-note-title a:hover {
  color: var(--color-v6-green);
}

.single-post-author-note-bio {
  color: var(--color-v6-ink-light);
  font-size: 1rem;
  line-height: 1.72;
}

.single-post-author-note-bio a {
  color: color-mix(in srgb, var(--color-v6-green) 88%, var(--color-v6-ink) 12%);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.single-post-author-note-bio a:hover {
  color: var(--color-v6-green-hover);
}

.single-post-author-note-bio > *:first-child {
  margin-top: 0;
}

.single-post-author-note-bio > *:last-child {
  margin-bottom: 0;
}

.single-post-author-note-link-row {
  margin: 0.9rem 0 0;
}

.single-post-author-note-link-row a {
  color: color-mix(in srgb, var(--color-v6-green) 88%, var(--color-v6-ink) 12%);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
  font-size: 0.95rem;
  font-weight: 700;
}

.single-post-author-note-link-row a:hover {
  color: var(--color-v6-green-hover);
}

.single-post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}

.single-post-meta-label {
  display: block;
  margin: 0;
  color: var(--color-v6-ink);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.single-post-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: center;
}

.single-post-share-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, white 88%);
  border-radius: 999px;
  background: color-mix(in srgb, white 52%, transparent);
  color: var(--color-v6-ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.single-post-share-action:hover {
  color: var(--color-v6-ink);
  border-color: color-mix(in srgb, var(--color-v6-ink) 22%, white 78%);
  background: color-mix(in srgb, white 72%, var(--color-v6-cream-light) 28%);
}

.single-post-share-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.single-post-action-label {
  display: inline-block;
}

.single-post-text-button {
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.single-post-text-button:hover {
  text-decoration: none;
}

.single-post-text-button.is-copied {
  color: var(--color-v6-green);
  border-color: color-mix(in srgb, var(--color-v6-green) 35%, white 65%);
  background: color-mix(in srgb, var(--color-v6-green) 10%, white 90%);
}

.single-post-comments h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-v6-body);
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-v6-ink-faint);
}

.single-post-empty {
  margin: 0;
  color: var(--color-v6-ink-light);
}

.single-post-comments .comments-title,
.single-post-comments .comment-navigation {
  display: none;
}

.single-post-comments .commentlist,
.single-post-comments .comment-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.single-post-comments .commentlist .comment,
.single-post-comments .comment-list .comment {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.single-post-comments .commentlist .comment::before,
.single-post-comments .commentlist .comment::after,
.single-post-comments .comment-list .comment::before,
.single-post-comments .comment-list .comment::after {
  content: none;
}

.single-post-comments .children {
  margin: 0.95rem 0 0 1.25rem;
  padding: 0 0 0 1rem;
  border-left: 1px solid color-mix(in srgb, var(--color-v6-ink) 10%, transparent);
  list-style: none;
}

.single-post-comments .comment-body {
  padding: 1rem 1.1rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, white 62%, var(--color-v6-cream-light) 38%);
  box-shadow: none;
}

.single-post-comments .children .comment-body {
  background: color-mix(in srgb, white 52%, var(--color-v6-cream-light) 48%);
}

.single-post-comments .comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin-bottom: 0;
}

.single-post-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.single-post-comments .comment-author .avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0;
}

.single-post-comments .comment-author .says {
  display: none;
}

.single-post-comments .comment-author .fn,
.single-post-comments .comment-metadata a,
.single-post-comments .comment-content,
.single-post-comments .comment-form label,
.single-post-comments .comment-notes,
.single-post-comments .logged-in-as {
  color: var(--color-v6-ink-light);
}

.single-post-comments .comment-author .fn {
  color: var(--color-v6-ink);
  font-weight: 700;
  text-decoration: none;
}

.single-post-comments .comment-author .fn a,
.single-post-comments .comment-author .url {
  color: var(--color-v6-ink);
  text-decoration: none;
}

.single-post-comments .comment-author .fn a:hover,
.single-post-comments .comment-author .url:hover {
  color: var(--color-v6-green);
}

.single-post-comments .comment-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin-left: 0;
  font-size: 0.84rem;
}

.single-post-comments .comment-metadata .edit-link {
  display: inline-flex;
  align-items: center;
}

.single-post-comments .comment-metadata .edit-link::before {
  content: "·";
  margin-right: 0.7rem;
  color: var(--color-v6-ink-faint);
}

.single-post-comments .comment-content {
  margin-top: 0.9rem;
  padding-left: 2.9rem;
  font-size: 1rem;
  line-height: 1.72;
}

.single-post-comments .comment-content > *:first-child {
  margin-top: 0;
}

.single-post-comments .comment-content p:last-child {
  margin-bottom: 0;
}

.single-post-comments .comment-content a {
  color: color-mix(in srgb, var(--color-v6-green) 88%, var(--color-v6-ink) 12%);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.single-post-comments .comment-content a:hover {
  color: var(--color-v6-green-hover);
}

.single-post-comments .reply {
  margin-top: 0.95rem;
  padding-left: 2.9rem;
  text-align: left;
}

.single-post-comments .comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 12%, white 88%);
  border-radius: 999px;
  background: color-mix(in srgb, white 70%, var(--color-v6-cream-light) 30%);
  cursor: pointer;
  color: var(--color-v6-green);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.single-post-comments .comment-reply-link:hover {
  border-color: color-mix(in srgb, var(--color-v6-green) 25%, white 75%);
  background: color-mix(in srgb, white 82%, var(--color-v6-cream-light) 18%);
  text-decoration: none;
}

.single-post-comments .comment-awaiting-moderation {
  display: inline-flex;
  margin: 0.55rem 0 0 2.9rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-v6-green) 10%, white 90%);
  color: var(--color-v6-green);
  font-size: 0.82rem;
  font-weight: 600;
}

.single-post-comments .comment-respond {
  margin-top: 1.8rem;
  padding: 1.5rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid color-mix(in srgb, var(--color-v6-ink) 10%, transparent) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-post-comments #respond,
.single-post-comments #commentform,
.single-post-comments .comment-form {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.single-post-comments .comment-form p,
.single-post-comments .comment-form .comment-form-comment,
.single-post-comments .comment-form .comment-form-author,
.single-post-comments .comment-form .comment-form-email,
.single-post-comments .comment-form .comment-form-url,
.single-post-comments .comment-form .logged-in-as,
.single-post-comments .comment-form .comment-notes,
.single-post-comments .comment-form .form-submit {
  background: transparent !important;
  box-shadow: none !important;
}

.single-post-comments .logged-in-as a,
.single-post-comments .comment-notes a,
.single-post-comments .comment-metadata a {
  color: color-mix(in srgb, var(--color-v6-green) 88%, var(--color-v6-ink) 12%);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.single-post-comments .logged-in-as a:hover,
.single-post-comments .comment-notes a:hover,
.single-post-comments .comment-metadata a:hover {
  color: var(--color-v6-green-hover);
}

.single-post-comments textarea,
.single-post-comments input[type="text"],
.single-post-comments input[type="email"],
.single-post-comments input[type="url"] {
  appearance: none;
}

.single-post-comments .comment-respond .comment-reply-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-v6-body);
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-v6-ink);
}

.single-post-comments .comment-notes,
.single-post-comments .logged-in-as {
  margin: 0 0 1.15rem;
  font-size: 0.94rem;
  line-height: 1.6;
}

.single-post-comments .comment-form {
  display: grid;
  gap: 1rem 1rem;
}

.single-post-comments .comment-form-comment {
  margin: 0;
}

.single-post-comments .comment-form-author,
.single-post-comments .comment-form-email,
.single-post-comments .comment-form-url,
.single-post-comments .form-submit {
  margin: 0;
}

.single-post-comments .comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-v6-ink);
}

.single-post-comments .comment-form input[type="text"],
.single-post-comments .comment-form input[type="email"],
.single-post-comments .comment-form input[type="url"],
.single-post-comments .comment-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 18%, transparent);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--color-v6-cream-light) 82%, white 18%) !important;
  box-shadow: none;
  color: var(--color-v6-ink);
  line-height: 1.55;
}

.single-post-comments .comment-form textarea {
  min-height: 12rem;
  resize: vertical;
}

.single-post-comments .comment-form input[type="text"]:focus,
.single-post-comments .comment-form input[type="email"]:focus,
.single-post-comments .comment-form input[type="url"]:focus,
.single-post-comments .comment-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-v6-green) 58%, var(--color-v6-ink) 42%);
  background: color-mix(in srgb, white 18%, var(--color-v6-cream-light) 82%) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-v6-green) 14%, transparent);
}

.single-post-comments .comment-form .form-submit input[type="submit"] {
  display: inline-flex;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--color-v6-ink) 18%, white 82%);
  border-radius: 999px;
  background: color-mix(in srgb, white 70%, var(--color-v6-cream-light) 30%);
  color: var(--color-v6-ink);
  font-family: var(--font-v6-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}

.single-post-comments .comment-form .form-submit input[type="submit"]:hover {
  color: var(--color-v6-ink);
  border-color: color-mix(in srgb, var(--color-v6-green) 32%, white 68%);
  background: color-mix(in srgb, white 52%, var(--color-v6-cream-light) 48%);
}

.single-post-comments .comment-form .form-submit input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-v6-green) 14%, transparent);
}

.single-post-comments #altEmail_container,
.single-post-comments .altEmail_container,
.single-post-comments .wpa-test-msg,
.single-post-comments .wpa-button {
  display: none !important;
}

.page-links {
  margin-top: 2rem;
  color: var(--color-v6-ink-faint);
}

@media (min-width: 760px) {
  .single-post-comments .comment-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .single-post-comments .comment-form-comment,
  .single-post-comments .comment-notes,
  .single-post-comments .logged-in-as,
  .single-post-comments .form-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .single-post-shell {
    width: min(100% - 1.5rem, 1200px);
  }

  .single-post-header,
  .single-post-content,
  .single-post-read-next,
  .single-post-secondary {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .single-post-page {
    padding: 2.15rem 0 3.25rem;
  }

  .single-post-author-note-body {
    grid-template-columns: 1fr;
  }

  .single-post-author-note-avatar {
    width: 3.25rem;
    height: 3.25rem;
  }

  .single-post-share {
    gap: 0.8rem;
  }

  .single-post-meta-label {
    width: 100%;
  }

  .single-post-read-next {
    gap: 0.8rem;
    padding: 1.15rem 1.2rem;
  }

  .single-post-read-next-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .single-post-read-next-copy {
    font-size: 1.02rem;
  }

  .single-post-content {
    font-size: 1rem;
    line-height: 1.76;
  }

  .single-post-content > .wp-block-columns.has-background {
    padding: 0.95rem 1rem !important;
  }

  .single-post-content > .wp-block-columns.has-background .uagb-infobox__content-wrap {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .single-post-content .uagb-toc__wrap > .uagb-toc__title,
  .single-post-content .uagb-toc__wrap > .uagb-toc__list-wrap {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
  }

  .single-post-comments .children {
    margin-left: 0.75rem;
    padding-left: 0.8rem;
  }

  .single-post-comments .comment-content,
  .single-post-comments .reply,
  .single-post-comments .comment-awaiting-moderation {
    padding-left: 0;
    margin-left: 0;
  }

  .single-post-comments .comment-meta {
    gap: 0.5rem;
  }

  .single-post-comments .comment-body {
    padding: 0.95rem 0.95rem 1rem;
  }
}
