/**
 * Superfície página estática — body.page-template
 * Alinhado ao artigo: header opcional + .gh-content com mesma medida de leitura.
 */

body.page-template .gh-article-header {
    margin-bottom: clamp(2rem, 5vw, 3rem);
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
    border-bottom: 1px solid var(--color-border, rgb(0 0 0 / 0.08));
}

.has-light-text body.page-template .gh-article-header {
    border-bottom-color: rgb(255 255 255 / 0.12);
}

body.page-template .gh-article-title {
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 1rem;
    max-width: 20ch;
}

body.page-template .gh-article-excerpt {
    max-width: 42rem;
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--color-secondary-text, rgb(0 0 0 / 0.65));
}

.has-light-text body.page-template .gh-article-excerpt {
    color: rgb(255 255 255 / 0.72);
}

body.page-template .gh-content {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.07rem;
    line-height: 1.75;
}

body.page-template .gh-content > p {
    margin-bottom: 1.35em;
}

body.page-template .gh-content > h2,
body.page-template .gh-content > h3,
body.page-template .gh-content > h4 {
    margin-top: 2em;
    margin-bottom: 0.65em;
    letter-spacing: -0.02em;
}

body.page-template .gh-content a:not(.kg-bookmark-container):not(.kg-file-card-container) {
    color: var(--agni-brand, #00608a);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.has-light-text body.page-template .gh-content a:not(.kg-bookmark-container):not(.kg-file-card-container) {
    color: var(--agni-brand-2, #73b3f3);
}

body.page-template .gh-content .kg-width-wide,
body.page-template .gh-content .kg-width-full {
    max-width: none;
}
