/*
 * Blog layouts on top of the shared design system (base.css, site.css):
 * reset, header additions, archive and post cards, single post, prose,
 * table of contents, call to action, search, 404 and comments.
 */

/* Reset ------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--u-header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

html.overflow-hidden {
    overflow: hidden;
}

body.u-site {
    line-height: 1.5;
}

/* Zero specificity, so any component rule (prose spacing, .u-btn type)
   overrides these. */
:where(.u-site) :where(h1, h2, h3, h4, p, figure) {
    margin: 0;
}

:where(.u-site) :where(button) {
    font: inherit;
}

.u-main {
    display: block;
    min-height: 50vh;
}

/* Header additions -------------------------------------------------- */

/* "Blog" label after the logo, so readers know which part of the site
   they are on; the logo itself goes to the store. */
.u-site .u-header__blog {
    margin-left: -16px;
    padding: 4px 10px;
    border-left: 1px solid var(--u-line-strong);
    color: var(--u-ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.u-site .u-header__blog:hover {
    color: var(--u-brand);
}

.u-site .u-header__search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--u-line);
    border-radius: var(--u-radius);
    background: var(--u-surface);
    color: var(--u-muted);
    font-size: 13.5px;
    cursor: pointer;
    transition: border-color 140ms ease, color 140ms ease;
}

.u-site .u-header__search:hover,
.u-site .u-header__search[aria-expanded="true"] {
    border-color: var(--u-ink);
    color: var(--u-ink);
}

.u-search {
    padding: 16px 0 20px;
    border-top: 1px solid var(--u-line);
    background: var(--u-surface);
}

.u-search[hidden] {
    display: none;
}

@media (max-width: 1023px) {
    .u-site .u-header__blog {
        margin-left: 0;
        margin-right: auto;
    }

    .u-header__inner {
        gap: 16px;
    }

    .u-site .u-header__search {
        justify-content: flex-start;
    }
}

/* Search form ------------------------------------------------------- */

.u-searchform {
    position: relative;
    display: flex;
    gap: 8px;
    max-width: 620px;
}

.u-searchform__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--u-subtle);
    pointer-events: none;
}

.u-searchform__input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--u-line-strong);
    border-radius: var(--u-radius);
    background: var(--u-surface);
    color: var(--u-ink);
    font: inherit;
    font-size: 15px;
}

.u-searchform__input:focus {
    outline: 2px solid var(--u-ink);
    outline-offset: -1px;
    border-color: var(--u-ink);
}

/* Same height as the input beside it. */
.u-searchform .u-btn {
    flex: none;
    height: 46px;
    padding-block: 0;
}

/* Archive head ------------------------------------------------------ */

.u-archive-head {
    padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
    border-bottom: 1px solid var(--u-line);
}

.u-archive-head--home {
    padding-top: clamp(48px, 7vw, 96px);
    background: linear-gradient(180deg, var(--u-surface) 0%, var(--u-surface-warm) 100%);
}

.u-archive-head__title {
    max-width: 22ch;
    font-size: var(--u-display-l);
    line-height: 1.06;
    letter-spacing: -0.036em;
    font-weight: 800;
    color: var(--u-ink);
    text-wrap: balance;
}

.u-archive-head--home .u-archive-head__title {
    font-size: var(--u-display-xl);
    letter-spacing: -0.045em;
}

.u-archive-head__text {
    max-width: 60ch;
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--u-muted);
}

.u-archive-head .u-archive-head__avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.u-site .u-archive-head__bio a {
    color: var(--u-ink);
    text-decoration: underline;
    text-decoration-color: var(--u-brand);
    text-underline-offset: 3px;
}

.u-site .u-archive-head__bio a:hover {
    color: var(--u-brand);
}

.u-archive-head__count {
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--u-subtle);
}

.u-archive-head__search {
    margin-top: 28px;
}

/* Archive ----------------------------------------------------------- */

.u-archive {
    padding-block: 28px clamp(56px, 7vw, 88px);
}

.u-topics {
    margin-bottom: 32px;
}

.u-topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.u-site .u-topic {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--u-line);
    border-radius: 999px;
    background: var(--u-surface);
    color: var(--u-text);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.u-site .u-topic:hover {
    border-color: var(--u-ink);
    color: var(--u-ink);
}

.u-site .u-topic.is-current {
    border-color: var(--u-ink);
    background: var(--u-ink);
    color: #fff;
}

/* One scrolling row on phones instead of four wrapped lines. */
@media (max-width: 640px) {
    .u-topics {
        margin-inline: calc(-1 * var(--u-gutter));
    }

    .u-topics__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-inline: var(--u-gutter);
        scrollbar-width: none;
    }

    .u-topics__list::-webkit-scrollbar {
        display: none;
    }
}

.u-archive__featured {
    display: flex;
    margin-bottom: 24px;
}

.u-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 24px;
}

.u-empty {
    padding: 48px 0;
    color: var(--u-muted);
}

.u-empty .u-topics {
    margin: 20px 0 0;
}

/* Post card --------------------------------------------------------- */

.u-post-card {
    position: relative;
}

.u-post-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--u-line);
    background: var(--u-surface-soft);
}

.u-post-card__media img,
.u-post-card__media .u-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.u-post-card:hover .u-post-card__media img {
    transform: scale(1.02);
}

.u-site .u-post-card__eyebrow {
    align-self: flex-start;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--u-brand);
}

.u-site .u-post-card__eyebrow:hover {
    color: var(--u-brand-hover);
}

.u-post-card__title {
    font-size: 18px;
    line-height: 1.3;
    text-wrap: pretty;
}

/* Whole card is the link target; the eyebrow sits above it. */
.u-site .u-post-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.u-site .u-post-card__eyebrow {
    position: relative;
    z-index: 1;
}

.u-site .u-post-card__title a:hover {
    color: var(--u-brand);
}

.u-post-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.u-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #EDEFF2;
    font-size: 13px;
    color: var(--u-subtle);
}

/* Featured: image beside text on wide screens. */
.u-post-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.u-post-card--featured .u-post-card__media {
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: 0;
    border-right: 1px solid var(--u-line);
}

.u-post-card--featured .u-card__body {
    justify-content: center;
    padding: clamp(24px, 3.2vw, 44px);
}

.u-post-card--featured .u-post-card__title {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.u-post-card--featured .u-post-card__text {
    flex: 0 1 auto;
    margin-top: 14px;
    font-size: 15.5px;
    -webkit-line-clamp: 4;
}

.u-post-card--featured .u-post-card__meta {
    border-top: 0;
    padding-top: 0;
}

@media (max-width: 820px) {
    .u-post-card--featured {
        grid-template-columns: 1fr;
    }

    .u-post-card--featured .u-post-card__media {
        aspect-ratio: 16 / 9;
        border-right: 0;
        border-bottom: 1px solid var(--u-line);
    }
}

/* Single post ------------------------------------------------------- */

.u-article__head {
    padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
}

.u-article__head-inner {
    max-width: calc(880px + 2 * var(--u-gutter));
}

.u-article__title {
    font-size: var(--u-display-l);
    line-height: 1.08;
    letter-spacing: -0.036em;
    font-weight: 800;
    color: var(--u-ink);
    text-wrap: balance;
}

.u-article__lede {
    max-width: 62ch;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--u-muted);
}

.u-article__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 22px;
    font-size: 14px;
    color: var(--u-muted);
}

.u-article__author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.u-site .u-article__author a {
    color: var(--u-ink);
}

.u-site .u-article__author a:hover {
    color: var(--u-brand);
}

/* Fixed square, so a flex parent cannot stretch it and a non-square
   photo is cropped rather than squashed. */
.u-avatar {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.u-article__meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.u-article__hero {
    max-width: calc(1040px + 2 * var(--u-gutter));
}

.u-article__hero img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--u-line);
    border-radius: var(--u-radius-lg);
}

.u-article__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 720px);
    justify-content: center;
    gap: 64px;
    padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 88px);
}

.u-article__layout--no-toc {
    grid-template-columns: minmax(0, 720px);
}

.u-article__aside {
    position: sticky;
    top: calc(var(--u-header-h) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--u-header-h) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.admin-bar .u-article__aside {
    top: calc(var(--u-header-h) + 56px);
}

@media (max-width: 1023px) {
    .u-article__layout {
        grid-template-columns: minmax(0, 720px);
        gap: 28px;
    }

    .u-article__aside {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .u-article__aside .u-share {
        display: none;
    }
}

/* Table of contents ------------------------------------------------- */

.u-toc__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--u-muted);
    cursor: pointer;
    list-style: none;
}

.u-toc__title::-webkit-details-marker {
    display: none;
}

.u-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--u-line);
}

.u-site .u-toc__item a {
    display: block;
    margin-left: -1px;
    padding: 6px 0 6px 14px;
    border-left: 2px solid transparent;
    color: var(--u-muted);
    font-size: 13.5px;
    line-height: 1.4;
    transition: color 120ms ease, border-color 120ms ease;
}

.u-site .u-toc__item--h3 a {
    padding-left: 26px;
    font-size: 13px;
    color: var(--u-subtle);
}

.u-site .u-toc__item a:hover {
    color: var(--u-ink);
}

.u-site .u-toc__item a.is-active {
    border-left-color: var(--u-brand);
    color: var(--u-ink);
    font-weight: 600;
}

/* Folded box above the article on narrow screens. */
@media (max-width: 1023px) {
    .u-toc {
        border: 1px solid var(--u-line);
        border-radius: var(--u-radius-lg);
        background: var(--u-surface-soft);
    }

    .u-toc__title {
        margin: 0;
        padding: 14px 16px;
        font-size: 12px;
    }

    .u-toc__title::after {
        content: "+";
        font-size: 18px;
        font-weight: 400;
        line-height: 1;
    }

    .u-toc[open] .u-toc__title::after {
        content: "–";
    }

    .u-toc__list {
        max-height: 50vh;
        overflow-y: auto;
        margin: 0 16px 14px;
    }
}

/* Share ------------------------------------------------------------- */

.u-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.u-share--aside {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--u-line);
}

.u-share__title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--u-muted);
}

.u-share__list {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.u-site .u-share__btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--u-line);
    border-radius: 50%;
    background: var(--u-surface);
    color: var(--u-muted);
    cursor: pointer;
    transition: border-color 140ms ease, color 140ms ease;
}

.u-site .u-share__btn:hover,
.u-site .u-share__btn.is-copied {
    border-color: var(--u-ink);
    color: var(--u-ink);
}

/* Article footer ---------------------------------------------------- */

.u-article__foot {
    display: grid;
    gap: 28px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--u-line);
}

.u-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.u-site .u-article__tags .u-chip {
    padding: 5px 10px;
    color: var(--u-muted);
    transition: border-color 140ms ease, color 140ms ease;
}

.u-site .u-article__tags .u-chip:hover {
    border-color: var(--u-ink);
    color: var(--u-ink);
}

.u-author {
    display: flex;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--u-line);
    border-radius: var(--u-radius-lg);
    background: var(--u-surface-soft);
}

.u-author .u-avatar {
    width: 56px;
    height: 56px;
    align-self: flex-start;
}

.u-site .u-author__bio a {
    color: var(--u-ink);
    text-decoration: underline;
    text-decoration-color: var(--u-brand);
    text-underline-offset: 3px;
}

.u-site .u-author__bio a:hover {
    color: var(--u-brand);
}

.u-author__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--u-subtle);
}

.u-author__name {
    margin-top: 2px;
    font-size: 16px;
    font-weight: 800;
}

.u-site .u-author__name a {
    color: var(--u-ink);
}

.u-author__bio {
    margin-top: 6px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--u-muted);
}

/* Prose: the post body ---------------------------------------------- */

.u-article__body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--u-text);
    overflow-wrap: break-word;
}

.u-article__body > * + * {
    margin-top: 1.25em;
}

.u-article__body h2,
.u-article__body h3,
.u-article__body h4 {
    color: var(--u-ink);
    font-weight: 800;
    text-wrap: pretty;
}

.u-article__body h2 {
    margin-top: 2.2em;
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.028em;
}

.u-article__body h3 {
    margin-top: 1.9em;
    font-size: clamp(19px, 1.8vw, 22px);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.u-article__body h4 {
    margin-top: 1.6em;
    font-size: 18px;
    line-height: 1.35;
}

.u-article__body h2 + *,
.u-article__body h3 + *,
.u-article__body h4 + * {
    margin-top: .7em;
}

.u-article__body > :first-child {
    margin-top: 0;
}

.u-site .u-article__body a:not(.button):not(.wp-block-button__link) {
    color: var(--u-ink);
    text-decoration: underline;
    text-decoration-color: var(--u-brand);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.u-site .u-article__body a:not(.button):not(.wp-block-button__link):hover {
    color: var(--u-brand);
}

.u-article__body strong {
    font-weight: 700;
    color: var(--u-ink);
}

.u-article__body ul,
.u-article__body ol {
    padding-left: 1.4em;
}

.u-article__body li + li {
    margin-top: .4em;
}

.u-article__body li::marker {
    color: var(--u-subtle);
}

.u-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--u-radius);
}

.u-article__body .wp-block-image,
.u-article__body figure {
    margin-top: 1.75em;
    margin-bottom: 0;
}

.u-article__body .wp-block-image img {
    border: 1px solid var(--u-line);
}

.u-article__body .aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.u-article__body .wp-block-image.aligncenter {
    display: table;
}

.u-article__body figcaption {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--u-subtle);
    text-align: center;
}

.u-article__body blockquote,
.u-article__body .wp-block-quote {
    margin-inline: 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--u-brand);
    font-size: 18px;
    color: var(--u-ink);
}

.u-article__body blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 13.5px;
    font-style: normal;
    color: var(--u-subtle);
}

.u-article__body hr {
    margin-block: 2.5em;
    border: 0;
    border-top: 1px solid var(--u-line);
}

/* Code: inline, preformatted and the core code block. SyntaxHighlighter
   blocks bring their own styles. */
.u-article__body code {
    padding: .15em .4em;
    border-radius: 4px;
    background: var(--u-surface-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
    color: var(--u-ink);
}

.u-article__body pre,
.u-article__body .wp-block-preformatted,
.u-article__body .wp-block-code {
    overflow-x: auto;
    padding: 16px 18px;
    border: 1px solid var(--u-dark-line);
    border-radius: var(--u-radius-lg);
    background: #16181B;
    color: #E6E8EB;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
}

.u-article__body pre code {
    padding: 0;
    background: none;
    color: inherit;
    font-size: inherit;
}

.u-article__body .syntaxhighlighter {
    border-radius: var(--u-radius);
    font-size: 14px !important;
}

/* Tables */
.u-article__body .wp-block-table {
    overflow-x: auto;
}

.u-article__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.u-article__body th,
.u-article__body td {
    padding: 10px 12px;
    border: 1px solid var(--u-line);
    text-align: left;
    vertical-align: top;
}

.u-article__body thead th,
.u-article__body tr:first-child th {
    background: var(--u-surface-soft);
    color: var(--u-ink);
    font-weight: 700;
}

/* "Demo / Download" and similar links, written as <a class="button">
   in older posts. Rendered as the main site's outline button. */
.u-site .u-article__body a.button,
.u-site .u-article__body .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--u-ink);
    border-radius: var(--u-radius);
    background: var(--u-ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    margin: 4px 8px 4px 0;
    transition: background-color 140ms ease, border-color 140ms ease;
}

.u-site .u-article__body a.button::after {
    content: "→";
    font-size: 14px;
    letter-spacing: 0;
}

.u-site .u-article__body a.button:hover,
.u-site .u-article__body .wp-block-button__link:hover {
    border-color: var(--u-brand);
    background: var(--u-brand);
    color: #fff;
}

.u-site .u-article__body a.button strong {
    color: inherit;
    font-weight: inherit;
}

/* Embeds: videos keep their ratio; ui-lib.com product embeds fill the
   column. */
.u-article__body .wp-block-embed iframe,
.u-article__body iframe[src*="youtube"],
.u-article__body iframe[src*="vimeo"] {
    max-width: 100%;
}

.u-article__body .wp-block-embed.is-type-video iframe,
.u-article__body iframe[src*="youtube"],
.u-article__body iframe[src*="vimeo"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.u-article__body .wp-block-embed.is-type-wp-embed iframe {
    width: 100%;
}

.u-article__pages {
    font-weight: 600;
}

/* Related ----------------------------------------------------------- */

.u-related {
    padding-block: clamp(56px, 7vw, 88px);
    border-top: 1px solid var(--u-line);
    background: var(--u-surface-soft);
}

/* Call to action ---------------------------------------------------- */

.u-cta {
    padding-block: clamp(56px, 7vw, 88px);
    background: var(--u-dark);
    color: #fff;
}

.u-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 48px;
}

.u-cta__eyebrow {
    color: var(--u-accent);
}

.u-cta__title {
    max-width: 20ch;
    font-size: var(--u-display-m);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: #fff;
}

.u-cta__text {
    max-width: 56ch;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--u-dark-text);
}

/* 404 --------------------------------------------------------------- */

.u-404 {
    padding-block: clamp(56px, 8vw, 112px);
}

.u-404__code {
    font-size: clamp(64px, 10vw, 128px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--u-brand);
}

.u-404__title {
    max-width: 20ch;
    margin-top: 16px;
    font-size: var(--u-display-m);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.u-404__text {
    margin-top: 12px;
    font-size: 17px;
    color: var(--u-muted);
}

.u-404__search {
    margin-block: 28px;
}

.u-404__actions {
    margin-top: 8px;
}

/* Comments ---------------------------------------------------------- */

.comments {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--u-line);
}

.comments h2,
.comment-reply-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.comment-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.comment-list .children {
    list-style: none;
    padding-left: 24px;
}

.comment-list article,
.comment-list .comment-body {
    padding: 16px 0;
    border-bottom: 1px solid var(--u-line);
    font-size: 15px;
    line-height: 1.6;
}

.comment-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--u-line-strong);
    border-radius: var(--u-radius);
    font: inherit;
    font-size: 15px;
}

.comment-form input[type="submit"] {
    padding: 12px 20px;
    border: 0;
    border-radius: var(--u-radius);
    background: var(--u-brand);
    color: #fff;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}

.comments-closed {
    color: var(--u-muted);
    font-size: 14px;
}

/* Misc WordPress ---------------------------------------------------- */

.u-site .screen-reader-text:focus {
    clip: auto;
    width: auto;
    height: auto;
}

.sticky-status,
.more-link {
    display: none;
}
