:root {
    --brand-red: #e94040;
}

body {
    font-feature-settings: "case" 1, "ss01" 1;
}

.underline {
    text-decoration: underline; 
    text-decoration-skip-ink: all;
}

.hero-art .circle-bg {
    position: absolute;
    inset: 0;
    transform: translate(10%, -8%);
    width: 78%;
    height: 78%;
    margin: auto;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(233, 64, 64, .15), rgba(233, 64, 64, .05));
    border: 14px solid rgba(233, 64, 64, .35);
}

.icon-pill {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 64, 64, .08);
    color: var(--brand-red);
    font-size: 1.25rem;
    border: 1px solid rgba(233, 64, 64, .2)
}

.trust-logo {
    max-height: 128px;
    opacity: .9;
    filter: grayscale(25%)
}

.navbar-brand img {
    border-radius: 50%
}

/* Subline under brand logo; indent to align with wordmark */
.brand-subline{letter-spacing:.08em;margin-left:44px;line-height:1}
@media (max-width: 575.98px){.brand-subline{margin-left:0}}

/* Kontakt page helpers */
.email-label{display:inline-block;background:#f2f2f2;border:1px solid #e5e5e5;border-radius:.375rem;padding:.35rem .6rem;font-size:.875rem}
.email-box{display:inline-block;background:#fff;border:1px solid #e5e5e5;border-radius:.375rem;padding:.35rem .6rem;font-size:.875rem;text-decoration:none;color:inherit}
.email-box:hover{background:#f8f9fa}

/* Navbar search width */
.nav-search{min-width:240px}

/* Markdown content defaults */
.markdown-body h1,.markdown-body h2,.markdown-body h3{margin-top:1.5rem;margin-bottom:.75rem}
.markdown-body pre{background:#0f172a0d;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;overflow:auto}
.markdown-body code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.markdown-body p{margin:.5rem 0}
.markdown-body ul{padding-left:1.25rem}
.markdown-body figure img{max-width:100%;height:auto}
.markdown-body blockquote{margin:1rem 0;padding:.75rem 1rem;border-left:4px solid var(--brand-red);background:rgba(233,64,64,.05);border-radius:.25rem;color:#374151}
.markdown-body blockquote p{margin:.25rem 0}

/* Floating ToC */
.toc{position:sticky;top:90px}
.toc-list a{color:inherit;text-decoration:none}
.toc-list a:hover{text-decoration:underline}
.toc-list .toc-level-3{padding-left:1rem;font-size:.95em}
