/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
    margin: 0;
    padding: 0;
}

/**
 * Basic styling
 */
body {
    font-family: "IBM Plex Serif", "Georgia", Times, serif;
    font-display: swap;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1;
    -o-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure {
    margin-bottom: 1.5rem;
}

/**
 * `main` element
 */
main {
    display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
    max-width: 100%;
    vertical-align: middle;
}

/**
 * Links
 */
a {
    color: var(--cds-link-text-color, var(--cds-link-primary, #0f62fe));
    transition: color 70ms cubic-bezier(0.2, 0, 0.38, 0.9);
    vertical-align: initial;
    text-decoration: underline;
}
a:hover {
    color: #002d9c;
}

/**
 * Wrapper
 */
.wrapper {
    width: 100%;
    height: 100%;
    max-width: 58rem;
    margin: 0 1.5rem;
}

/**
 * Clearfix
 */
.wrapper:after {
    content: "";
    display: table;
    clear: both;
}

/**
 * Tables
 */
table {
    display: block;
    width: 100%;
    color: rgb(12.75, 12.75, 12.75);
    border-collapse: collapse;
    overflow: auto;
}
table tr:nth-child(even) {
    background-color: rgb(236.3, 236.3, 236.3);
}
table th, table td {
    padding: 0.5rem;
}
table th {
    background-color: rgb(228.65, 228.65, 228.65);
    border: 1px solid rgb(210.8, 210.8, 210.8);
    border-bottom-color: rgb(190.4, 190.4, 190.4);
}
table td {
    border: 1px solid #dddddd;
}

/**
 * Flex layout
 */
.framework {
    display: flex;
}

.framework .main, .page-content {
    flex: 1;
    min-width: 0; /* <-- fix flexbox width with pre tags  */
}

/**
 * Flex sticky
 */
/**
 * Vertical center
 */
/**
 * Horizontal center
 */
/**
 * Center background image
 */
/**
 * Animation for transparent header
 */
html[data-header-transparent] header.site-header {
    position: fixed;
}
html[data-scroll-status=top] header.site-header-transparent {
    height: 0;
    margin-top: 12px;
    background-color: transparent;
    transition: 0.1s height, background-color, box-shadow;
}
html[data-scroll-status=top] header.site-header-transparent.site-header .site-brand-inner, html[data-scroll-status=top] header.site-header-transparent.site-header .page-link {
    color: #fff;
    transition: 0.1s color;
}
html[data-scroll-status=top] footer.site-footer {
    color: unset;
    background-color: transparent;
}
html[data-scroll-status=top] footer.site-footer .site-footer-inner {
    border-top: solid 1px #eee;
}
html[data-scroll-status=down] header.site-header {
    top: -48px;
}
html[data-scroll-status=down] .framework .sidebar {
    top: 20px;
}

/**
 * Site header
 */
.site-header {
    background-color: #fff;
    height: 48px;
    width: 100%;
    transition: height 0.2s, text-shadow 0.2s, top 0.2s;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.06);
    padding: 0 2rem 0 2rem;
    right: 0;
    left: 0;
    position: sticky;
    position: -moz-sticky; /* <-- fix sticky compatibility issue */
    position: -ms-sticky;
    position: -o-sticky;
    position: -webkit-sticky;
    align-self: flex-start; /* <-- fix the sticky not work issue */
    transform: scale(0.9999); /* <-- fix the sticky x overflow issue */
    top: 0;
    z-index: 1000;
}
.site-header > .wrapper {
    margin: 0 20px;
    padding: 0;
    max-width: 100%;
    transition: 0.2s margin;
}
@media (min-width: 66rem) {
    .site-header > .wrapper {
        margin: 0 60px;
        max-width: unset;
    }
}
.site-header a {
    text-decoration: none;
}
.site-header .site-header-inner {
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
}
.site-header .site-header-inner .site-title {
    color: inherit;
}
.site-header .site-header-inner .site-title > h6 {
    margin: 0;
}

/**
 * Page content
 */
.page-content {
    display: flex;
    justify-content: center;
    /* <-- Keep footer on the bottom */
    -ms-flex: none; /* <-- Fix IE footer issue */
    padding-top: 3rem;
}

/**
 * Posts
 */
.post .post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-wrap: normal;
    word-wrap: normal;
    word-break: normal;
}
.post .post-content img, .post .post-content svg, .post .post-content iframe {
    margin-left: auto;
    margin-right: auto;
}
.post .post-content img:not(.emoji), .post .post-content svg, .post .post-content iframe {
    display: block;
    max-height: 50vh;
}
.post .post-content hr {
    height: 1px;
    background-color: #ebebeb;
    border: none;
    margin: 60px 0;
}

/**
 * Page banner
 */
.page-banner {
    display: flex;
    justify-content: center;
    position: relative;
    height: 640px;
    background-color: rgba(0, 0, 0, 0.8);
    transition: height 0.2s;
}
.page-banner .page-banner-img {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.page-banner .page-banner-img > *:first-child {
    height: 100%;
    max-width: 1000%;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    transition: 0.1s all ease-in-out;
}
.page-banner .page-banner-img > video {
    width: 100vw;
    object-fit: cover;
}
.page-banner .page-banner-img > img.img-placeholder {
    display: none;
}
.page-banner .page-banner-inner {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 5px;
}
.page-banner .page-banner-inner > *:first-child {
    margin: 0;
}
.page-banner .page-banner-inner .post-subtitle {
    padding-right: 0;
}
@media (min-width: 66rem) {
    .page-banner .page-banner-inner .post-subtitle {
        padding-right: 280px;
    }
}
.page-banner .page-banner-inner .post-meta {
    padding-bottom: 1em;
}
.page-banner .page-banner-inner .left-vsplit:before {
    background: rgba(227, 227, 227, 0.5333333333);
}

/**
 * Layout and sidebar
 */
.framework {
    gap: 5rem;
}
.framework .main {
    display: contents;
}
.framework .sidebar {
    display: none;
    transition: top 0.2s, display 0.2s;
    position: sticky;
    position: -moz-sticky; /* <-- fix sticky compatibility issue */
    position: -ms-sticky;
    position: -o-sticky;
    position: -webkit-sticky;
    align-self: flex-start; /* <-- fix the sticky not work issue */
    transform: scale(0.9999); /* <-- fix the sticky x overflow issue */
    top: 68px;
}
@media (min-width: 66rem) {
    .framework .sidebar {
        display: block;
    }
}

/*
 * Post menu
 */
.post-menu {
    width: 14rem;
}
.post-menu .post-menu-content ul {
    border-left: 1px solid #DDE1E6;
}
.post-menu .post-menu-content ul a {
    padding: 0.5rem 1rem;
    display: flex;
    color: #525252;
    text-decoration: none;
}
.post-menu .post-menu-content ul a * {
    pointer-events: none;
}
.post-menu .post-menu-content ul .active {
    transition: background 0.5s;
    margin-left: -1px;
    border-left: 1px solid #000;
    background: var(--Default-Cool-Gray-10, #F2F4F8);
}

/**
 * Common list
 */
.common-list {
    min-width: 200px;
}
.common-list ul {
    list-style: none;
    margin: 0;
}
.common-list li {
    border-bottom: solid 1px rgba(0, 0, 0, 0.0941176471);
}
.common-list li:last-child {
    border-bottom: none;
}
.common-list li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: normal;
    color: #000000;
    transition: background 0.2s;
}

h1 {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-heading-07-font-size, 3.375rem);
    font-weight: var(--cds-heading-07-font-weight, 300);
    line-height: var(--cds-heading-07-line-height, 1.19);
    letter-spacing: var(--cds-heading-07-letter-spacing, 0);
}

h2 {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-heading-06-font-size, 2.625rem);
    font-weight: var(--cds-heading-06-font-weight, 300);
    line-height: var(--cds-heading-06-line-height, 1.199);
    letter-spacing: var(--cds-heading-06-letter-spacing, 0);
}

h3 {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-heading-04-font-size, 1.75rem);
    font-weight: var(--cds-heading-04-font-weight, 400);
    line-height: var(--cds-heading-04-line-height, 1.28572);
    letter-spacing: var(--cds-heading-04-letter-spacing, 0);
}
h3:first-child {
    margin-top: 0 !important;
}

h4, .post-menu-title {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-heading-03-font-size, 1.25rem);
    font-weight: var(--cds-heading-03-font-weight, 400);
    line-height: var(--cds-heading-03-line-height, 1.4);
    letter-spacing: var(--cds-heading-03-letter-spacing, 0);
}
h4.post-menu-title, .post-menu-title.post-menu-title {
    color: #161616;
}

h5, .h-5 {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-heading-02-font-size, 1rem);
    font-weight: var(--cds-heading-02-font-weight, 600);
    line-height: var(--cds-heading-02-line-height, 1.5);
    letter-spacing: var(--cds-heading-02-letter-spacing, 0);
}

h6, .page-banner-subheading {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-heading-01-font-size, 0.875rem);
    font-weight: var(--cds-heading-01-font-weight, 600);
    line-height: var(--cds-heading-01-line-height, 1.42857);
    letter-spacing: var(--cds-heading-01-letter-spacing, 0.16px);
}
h6.page-banner-subheading, .page-banner-subheading.page-banner-subheading {
    font-weight: 400;
}

p, a, ul > li {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; /* 150% */
}

code {
    font-family: "IBM Plex Mono";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 142.857% */
    letter-spacing: 0.02rem;
}

pre > code {
    font-family: "IBM Plex Mono";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1rem; /* 133.333% */
    letter-spacing: 0.02rem;
    border-radius: 1rem;
    background: var(--Default-Cool-Gray-10, #F2F4F8) !important;
    text-wrap: auto;
    padding: 1.5rem !important;
}

blockquote {
    margin: 3rem 0;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--Default-Cool-Gray-10, #F2F4F8);
}
blockquote > :last-child {
    margin-bottom: 0;
}
blockquote h4 {
    margin-bottom: 1rem;
}

ul {
    padding-left: 1.5rem;
}
ul li {
    color: #525252;
}

ol {
    list-style-position: inside;
}

.post-menu-title {
    margin-bottom: 0.5rem;
}

.page-banner-heading {
    margin-bottom: 0.5rem;
    color: #161616;
}

.page-banner-subheading {
    color: #525252;
    margin: 0 !important;
}

.post-menu {
    width: 230px;
}

.page-banner {
    margin-top: 48px;
    height: 413px;
}
@media (min-width: 42rem) {
    .page-banner {
        height: 478px;
    }
}

sup {
    vertical-align: inherit;
    font-size: inherit;
}
sup .footnote {
    color: #000;
    font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
    font-size: var(--cds-body-02-font-size, 1rem);
    font-weight: var(--cds-body-02-font-weight, 400);
    line-height: var(--cds-body-02-line-height, 1.5);
    letter-spacing: var(--cds-body-02-letter-spacing, 0);
}
sup .footnote::before {
    content: "[";
}
sup .footnote::after {
    content: "]";
}

.footnotes {
    position: relative;
}
.footnotes .footnote-title {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: solid 0.0625rem #D9D9D9;
}
.footnotes .footer-background {
    position: absolute;
    left: -50vw;
    right: -50vw;
    height: 100%;
    background: #f9f9f9;
    z-index: -1;
}
.footnotes ol li {
    font-family: "IBM Plex Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 142.857% */
    letter-spacing: 0.02rem;
}
.footnotes ol li p {
    display: inline;
}
.footnotes ol li::marker {
    content: "[" counter(list-item) "] ";
}
.footnotes .reversefootnote {
    display: none;
}

.landing-page {
    margin-top: -3rem;
}

.post-item {
    border-bottom: 1px solid #E4E9F1;
}
.post-item a {
    color: #161616;
    text-decoration: none;
}
.post-item .post-container {
    padding: 3rem 0;
}
.post-item .post-container .post-info {
    display: flex;
    flex-direction: column;
}
.post-item .post-container .post-info .post-title {
    margin-bottom: 0.5rem;
}
.post-item .post-container .post-info .post-subtitle {
    margin-bottom: 0.5rem;
    color: #525252;
}
.post-item .post-container .post-info .post-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}
.post-item .post-container .post-info .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #525252;
}
.post-item .post-container .post-info .post-meta span .icon {
    width: 1em;
    height: 1em;
}
.post-item .post-container .post-info .post-meta span .calendar-icon {
    background: url("/assets/img/calendar.svg") no-repeat center;
    background-size: contain;
}
.post-item .post-container .post-info .post-meta span .clock-icon {
    background: url("/assets/img/clock.svg") no-repeat center;
    background-size: contain;
}
@media (min-width: 42rem) {
    .post-item .post-container .post-info .post-meta {
        display: block;
    }
    .post-item .post-container .post-info .post-meta span {
        margin-left: 1rem;
        padding-right: 1rem;
    }
    .post-item .post-container .post-info .post-meta span:first-child {
        margin-left: 0;
        border-right: 1px solid #E4E9F1;
    }
}
