/* Source Sans 3 font faces */
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 300;
    src: url("../common/fonts/SourceSans3-Light.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    src: url("../common/fonts/SourceSans3-Regular.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 500;
    src: url("../common/fonts/SourceSans3-Medium.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 600;
    src: url("../common/fonts/SourceSans3-SemiBold.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 700;
    src: url("../common/fonts/SourceSans3-Bold.woff2") format("woff2");
}

/* Override mdBook default font */
body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
}

/* Hide sidebar and top menu bar — single-page site, no navigation needed */
.sidebar,
#menu-bar-hover-placeholder,
#menu-bar {
    display: none !important;
}

/* Expand content to fill the space left by hidden sidebar */
.page-wrapper {
    margin-left: 0 !important;
}

#sidebar-toggle-anchor,
.sidebar-toggle,
.sidebar-hidden .page-wrapper {
    margin-left: 0 !important;
}

/* Add comfortable top margin since menu bar is hidden */
.page-wrapper .page {
    padding-top: 4.25rem;
}

/* Code blocks */
.content pre code {
    font-size: 0.9em;
    line-height: 1.3;
}

/* Tighten heading spacing (mdBook default is 2.5em) */
h2, h3 {
    margin-block-start: 1.5em;
}
