.gh-article {
    padding-top: 80px;
}

.page-template .gh-article {
    padding-top: 0;
}

.page-template .gh-article-header {
    margin-top: var(--header-spacing, 80px);
}

.gh-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: calc(1.5rem * var(--font-multiplier, 1));
}

.gh-article-meta:not(:empty) {
    margin-bottom: 12px;
}

.gh-article-meta > * {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gh-article-meta > * + *::before {
    width: 2px;
    height: 2px;
    content: "";
    background-color: currentColor;
    border-radius: 50%;
}

.gh-article-title {
    font-size: calc(clamp(3.2rem, 1.59vw + 2.56rem, 4.6rem) * var(--font-multiplier, 1));
    line-height: 1.15;
    word-break: break-word;
}

.is-font-serif:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-article-title {
    font-family: var(--gh-font-heading, var(--font-serif));
}

.gh-article-excerpt {
    margin-top: 24px;
    font-size: calc(1.8rem * var(--font-multiplier, 1));
}

.is-font-serif:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-article-excerpt {
    font-family: var(--gh-font-body, var(--font-serif));
}

.gh-article-image {
    margin: 64px 0 16px;
}

.gh-article-image img {
    width: 100%;
}

.gh-article-comments {
    margin-top: 64px;
    margin-bottom: -24px;
}

.gh-article-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.gh-article-comments-title {
    font-size: calc(2.6rem * var(--font-multiplier, 1));
}

.gh-article-comments .gh-article-comments-title {
    margin-bottom: 48px;
}

.gh-article-comments-header .gh-article-comments-title {
    margin-bottom: 0;
}

.gh-article-comments-count {
    color: var(--color-secondary-text);
}

/* Share */

.gh-meta-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gh-button-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5em 1.2em;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    color: rgba(0, 0, 0, 0.85);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    text-decoration: none;
}

.gh-button-share:hover {
    border-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.gh-button-share svg {
    width: 20px;
    height: 20px;
    margin-top: -2px;
    margin-right: -4px;
}

:is(.dark-mode, .theme-dark, .has-light-text) .gh-button-share {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
}

:is(.dark-mode, .theme-dark, .has-light-text) .gh-button-share:hover {
    border-color: rgba(255, 255, 255, 0.5);
}
