body {
  max-width: 44em;
}

.post-datetime {
        text-align: center;
        color: #6b7280;
        font-size: 0.9em;
        margin-top: -0.8rem;
}

code {
    background-color: #e5e5e5;
    color: #333333;
    font-family: monospace;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    overflow-x: visible;
    white-space: normal;
}

/* Override Sakura defaults so custom block-code styles do not conflict */
pre {
    background-color: transparent;
    padding: 0;
    overflow-x: auto;
}

pre > code {
    padding: 0;
    background-color: transparent;
    white-space: pre;
}

pre code {
    background-color: #f8fafc;
    padding: 0;
    border-radius: 0;
    display: block;
    min-width: max-content;
}

pre code .line-number {
    color: #4b5563;
    display: inline-block;
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 4ch;
    margin-right: 0;
    padding: 0 0.6em 0 0.4em;
    border-right: 1px solid #9ca3af;
    background-color: #d5dde8;
    text-align: right;
    user-select: none;
    font-variant-numeric: tabular-nums;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    border-bottom: none;
}

.profile-link:hover {
    border-bottom: none;
}

.profile-link img {
    margin: 0;
    display: block;
}

/*
MARK: NAVBAR
Navigation list styles for inline display
*/

.nav-list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.nav-list-inline a {
    text-decoration: none;
    color: inherit;
}

.nav-list-inline li + li:before {
    content: " | ";
    padding: 0 10px;
}

/* 
MARK: MD ALERTS
Custom block styles for Markdown alerts
*/

.markdown-alert {
    padding: 16px;
    margin-bottom: 16px;
    border-left: 4px solid;
    background-color: transparent;
}

.markdown-alert p {
    margin: 0;
}

.markdown-alert-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    gap: 8px;
}

.markdown-alert-title svg {
    fill: currentColor;
}

.markdown-alert-caution {
    border-left-color: #c93c37;
}

.markdown-alert-caution .markdown-alert-title {
    color: #c93c37;
}

.markdown-alert-important {
    border-left-color: #986ee2;
}

.markdown-alert-important .markdown-alert-title {
    color: #986ee2;
}

.markdown-alert-warning {
    border-left-color: #c69026;
}

.markdown-alert-warning .markdown-alert-title {
    color: #c69026;
}

.markdown-alert-tip {
    border-left-color: #57ab5a;
}

.markdown-alert-tip .markdown-alert-title {
    color: #57ab5a;
}

.markdown-alert-note {
    border-left-color: #478be6;
}

.markdown-alert-note .markdown-alert-title {
    color: #478be6;
}