/* 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;
}

/* Sidebar */
.sidebar {
    font-family: "Source Sans 3", sans-serif;
}

/* Title bar */
.menu-title {
    font-size: 1.8em;
}

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

/* API reference tables */
.content table {
    width: 100%;
}

.content table th {
    text-align: left;
}

/* Default image sizing for diagrams */
.content div[style*="text-align: center"] img {
    max-width: 350px;
    height: auto;
    border-radius: 12px;
}
