/* Layout + content elements. Values measured from the previous site (docs/theme-inventory.md). */

/* ---------- Typography ---------- */
html { font-size: 100%; }
body { font-size: 1rem; line-height: 1.6; color: var(--tsd-text); }
p { margin: 0 0 1.3em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.3; text-rendering: optimizeSpeed; }
h1 { font-size: 1.7em; line-height: 1.3; }
h2 { font-size: 1.6em; line-height: 1.3; }
h3 { font-size: 1.25em; line-height: 1.6; margin-bottom: 10px; }
h4 { font-size: 1.125em; }
h5 { font-size: 1em; }
h6 { font-size: .85em; opacity: .8; }
@media (max-width: 549px) {
  h1 { font-size: 1.4em; } h2 { font-size: 1.2em; } h3 { font-size: 1em; margin-bottom: 8px; }
}
b, strong { font-weight: 700; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.uppercase { text-transform: uppercase; letter-spacing: .05em; line-height: 1.05; }
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.text-center > div, .text-center .is-divider { margin-left: auto; margin-right: auto; }
.text-right > div, .text-right .is-divider { margin-left: auto; margin-right: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.fill { position: absolute; inset: 0; height: 100%; padding: 0 !important; margin: 0 !important; }
.clearfix::after { content: ""; display: table; clear: both; }
.last-reset > *:last-child, .text-inner > *:last-child, .icon-box-text > *:last-child { margin-bottom: 0; }

/* Dark (light-on-dark) context */
.dark, .dark p, .dark td { color: #f1f1f1; }
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark a:not(.button):not(.ms-button) { color: #fff; }

/* Visibility helpers (small < 550, medium < 850) */
@media (max-width: 549px) { .hide-for-small { display: none !important; } }
@media (min-width: 550px) { .show-for-small { display: none !important; } }
@media (max-width: 849px) { .hide-for-medium { display: none !important; } }
@media (min-width: 850px) { .show-for-medium { display: none !important; } .hide-for-large { display: none !important; } }

/* ---------- Grid ---------- */
.container, .row { width: 100%; margin-left: auto; margin-right: auto; }
.container { max-width: calc(var(--tsd-site-width) - 30px); padding-left: 15px; padding-right: 15px; }
.row { display: flex; flex-flow: row wrap; max-width: calc(var(--tsd-site-width) - 30px); }
.row.row-collapse { max-width: calc(var(--tsd-site-width) - 60px); }
.row.row-small { max-width: calc(var(--tsd-site-width) - 22.5px); }
.row.row-large { max-width: var(--tsd-site-width); }
.row .row:not(.row-collapse), .container .row:not(.row-collapse) { margin-left: -15px; margin-right: -15px; width: auto; }
.row .row-small:not(.row-collapse), .container .row-small:not(.row-collapse) { margin-left: -10px; margin-right: -10px; }
.row .row-large:not(.row-collapse), .container .row-large:not(.row-collapse) { margin-left: -30px; margin-right: -30px; }
.row-full-width { max-width: 100% !important; }
.banner + .row, .section + .row, .row + .row { margin-top: 0; }
#content > .row:first-child, .page-wrapper > .row:first-child { margin-top: 0; }
.banner + .row { margin-top: 30px; }

.col { position: relative; margin: 0; padding: 0 15px 30px; width: 100%; }
.row-collapse > .col { padding: 0 !important; }
.row-small > .col { padding: 0 9.8px 19.6px; }
.row-large > .col { padding: 0 30px 30px; }
.col-inner { position: relative; width: 100%; margin-left: auto; margin-right: auto; background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; flex: 1 0 auto; }
.align-equal > .col { display: flex; }
.align-middle { align-items: center !important; align-content: center !important; flex-direction: row !important; }
.align-bottom { align-items: flex-end !important; align-content: flex-end !important; flex-direction: row !important; }
.align-top { align-items: flex-start !important; align-content: flex-start !important; flex-direction: row !important; }
.align-center { justify-content: center !important; }
.align-right { justify-content: flex-end !important; }
.col-divided { border-right: 1px solid #ececec; padding-right: 30px; }
.is-border { position: absolute; inset: 0; border: 1px solid #ececec; pointer-events: none; }

.small-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .small-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
.small-3 { flex-basis: 25%; max-width: 25%; } .small-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
.small-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .small-6 { flex-basis: 50%; max-width: 50%; }
.small-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .small-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
.small-9 { flex-basis: 75%; max-width: 75%; } .small-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
.small-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .small-12 { flex-basis: 100%; max-width: 100%; }
@media (min-width: 550px) {
  .medium-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .medium-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
  .medium-3 { flex-basis: 25%; max-width: 25%; } .medium-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
  .medium-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .medium-6 { flex-basis: 50%; max-width: 50%; }
  .medium-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .medium-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
  .medium-9 { flex-basis: 75%; max-width: 75%; } .medium-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
  .medium-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .medium-12 { flex-basis: 100%; max-width: 100%; }
}
@media (min-width: 850px) {
  .large-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .large-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
  .large-3 { flex-basis: 25%; max-width: 25%; } .large-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
  .large-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .large-6 { flex-basis: 50%; max-width: 50%; }
  .large-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .large-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
  .large-9 { flex-basis: 75%; max-width: 75%; } .large-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
  .large-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .large-12 { flex-basis: 100%; max-width: 100%; }
}

/* ---------- Section ---------- */
.section { position: relative; display: flex; flex-flow: row wrap; align-items: center; width: 100%; min-height: auto; padding: 30px 0; }
.section-bg { overflow: hidden; }
.section-bg img.bg, .section-bg .bg { object-fit: cover; width: 100%; height: 100%; max-width: 100%; position: absolute; inset: 0; }
.section-content { width: 100%; z-index: 1; }
.section-bg-overlay { pointer-events: none; }

/* ---------- Banner ---------- */
.banner { position: relative; width: 100%; min-height: 30px; padding-top: 500px; background-color: var(--tsd-primary); }
.banner.is-full-height { height: 100vh; min-height: 550px; padding-top: 0 !important; }
.banner-inner, .banner-bg { position: absolute; inset: 0; }
.banner-bg { overflow: hidden; }
.banner-bg img.bg, .banner-bg .bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 50%; }
.banner-bg .overlay { position: absolute; inset: 0; pointer-events: none; }
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; z-index: 1; }
.no-click { pointer-events: none; }
.banner-layers { position: relative; height: 100%; max-height: 100%; margin: 0 auto; }
.banner-layers > * { position: absolute !important; }
.banner-layers.container { max-width: calc(var(--tsd-site-width) - 30px); }
@media (max-width: 549px) { .banner-layers.container { padding: 0; max-width: 100%; } }
.banner-link { z-index: 0; }

/* Text box positions: xN / yN for small, md-*, lg-* for medium/large.
   N <= 50 anchors from the left/top, N > 50 anchors from the right/bottom. */
.text-box { max-height: 100%; }
.text-box-content { position: relative; z-index: 10; }
.res-text { font-size: 11px; }
@media (min-width: 550px) { .res-text { font-size: 1.8vw; } }
@media (min-width: 1200px) { .res-text { font-size: 16px; } }
.banner-layer{transform:translate(var(--tsd-tx,0),var(--tsd-ty,0))}
.x0{left:0%;right:auto;--tsd-tx:0}
.x5{left:5%;right:auto;--tsd-tx:0}
.x10{left:10%;right:auto;--tsd-tx:0}
.x15{left:15%;right:auto;--tsd-tx:0}
.x20{left:20%;right:auto;--tsd-tx:0}
.x25{left:25%;right:auto;--tsd-tx:0}
.x30{left:30%;right:auto;--tsd-tx:0}
.x35{left:35%;right:auto;--tsd-tx:0}
.x40{left:40%;right:auto;--tsd-tx:0}
.x45{left:45%;right:auto;--tsd-tx:0}
.x50{left:50%;right:auto;--tsd-tx:-50%}
.x55{left:auto;right:45%;--tsd-tx:0}
.x60{left:auto;right:40%;--tsd-tx:0}
.x65{left:auto;right:35%;--tsd-tx:0}
.x70{left:auto;right:30%;--tsd-tx:0}
.x75{left:auto;right:25%;--tsd-tx:0}
.x80{left:auto;right:20%;--tsd-tx:0}
.x85{left:auto;right:15%;--tsd-tx:0}
.x90{left:auto;right:10%;--tsd-tx:0}
.x95{left:auto;right:5%;--tsd-tx:0}
.x100{left:auto;right:0%;--tsd-tx:0}
.y0{top:0%;bottom:auto;--tsd-ty:0}
.y5{top:5%;bottom:auto;--tsd-ty:0}
.y10{top:10%;bottom:auto;--tsd-ty:0}
.y15{top:15%;bottom:auto;--tsd-ty:0}
.y20{top:20%;bottom:auto;--tsd-ty:0}
.y25{top:25%;bottom:auto;--tsd-ty:0}
.y30{top:30%;bottom:auto;--tsd-ty:0}
.y35{top:35%;bottom:auto;--tsd-ty:0}
.y40{top:40%;bottom:auto;--tsd-ty:0}
.y45{top:45%;bottom:auto;--tsd-ty:0}
.y50{top:50%;bottom:auto;--tsd-ty:-50%}
.y55{top:auto;bottom:45%;--tsd-ty:0}
.y60{top:auto;bottom:40%;--tsd-ty:0}
.y65{top:auto;bottom:35%;--tsd-ty:0}
.y70{top:auto;bottom:30%;--tsd-ty:0}
.y75{top:auto;bottom:25%;--tsd-ty:0}
.y80{top:auto;bottom:20%;--tsd-ty:0}
.y85{top:auto;bottom:15%;--tsd-ty:0}
.y90{top:auto;bottom:10%;--tsd-ty:0}
.y95{top:auto;bottom:5%;--tsd-ty:0}
.y100{top:auto;bottom:0%;--tsd-ty:0}
@media (min-width:550px){
.md-x0{left:0%;right:auto;--tsd-tx:0}
.md-x5{left:5%;right:auto;--tsd-tx:0}
.md-x10{left:10%;right:auto;--tsd-tx:0}
.md-x15{left:15%;right:auto;--tsd-tx:0}
.md-x20{left:20%;right:auto;--tsd-tx:0}
.md-x25{left:25%;right:auto;--tsd-tx:0}
.md-x30{left:30%;right:auto;--tsd-tx:0}
.md-x35{left:35%;right:auto;--tsd-tx:0}
.md-x40{left:40%;right:auto;--tsd-tx:0}
.md-x45{left:45%;right:auto;--tsd-tx:0}
.md-x50{left:50%;right:auto;--tsd-tx:-50%}
.md-x55{left:auto;right:45%;--tsd-tx:0}
.md-x60{left:auto;right:40%;--tsd-tx:0}
.md-x65{left:auto;right:35%;--tsd-tx:0}
.md-x70{left:auto;right:30%;--tsd-tx:0}
.md-x75{left:auto;right:25%;--tsd-tx:0}
.md-x80{left:auto;right:20%;--tsd-tx:0}
.md-x85{left:auto;right:15%;--tsd-tx:0}
.md-x90{left:auto;right:10%;--tsd-tx:0}
.md-x95{left:auto;right:5%;--tsd-tx:0}
.md-x100{left:auto;right:0%;--tsd-tx:0}
.md-y0{top:0%;bottom:auto;--tsd-ty:0}
.md-y5{top:5%;bottom:auto;--tsd-ty:0}
.md-y10{top:10%;bottom:auto;--tsd-ty:0}
.md-y15{top:15%;bottom:auto;--tsd-ty:0}
.md-y20{top:20%;bottom:auto;--tsd-ty:0}
.md-y25{top:25%;bottom:auto;--tsd-ty:0}
.md-y30{top:30%;bottom:auto;--tsd-ty:0}
.md-y35{top:35%;bottom:auto;--tsd-ty:0}
.md-y40{top:40%;bottom:auto;--tsd-ty:0}
.md-y45{top:45%;bottom:auto;--tsd-ty:0}
.md-y50{top:50%;bottom:auto;--tsd-ty:-50%}
.md-y55{top:auto;bottom:45%;--tsd-ty:0}
.md-y60{top:auto;bottom:40%;--tsd-ty:0}
.md-y65{top:auto;bottom:35%;--tsd-ty:0}
.md-y70{top:auto;bottom:30%;--tsd-ty:0}
.md-y75{top:auto;bottom:25%;--tsd-ty:0}
.md-y80{top:auto;bottom:20%;--tsd-ty:0}
.md-y85{top:auto;bottom:15%;--tsd-ty:0}
.md-y90{top:auto;bottom:10%;--tsd-ty:0}
.md-y95{top:auto;bottom:5%;--tsd-ty:0}
.md-y100{top:auto;bottom:0%;--tsd-ty:0}
}
@media (min-width:850px){
.lg-x0{left:0%;right:auto;--tsd-tx:0}
.lg-x5{left:5%;right:auto;--tsd-tx:0}
.lg-x10{left:10%;right:auto;--tsd-tx:0}
.lg-x15{left:15%;right:auto;--tsd-tx:0}
.lg-x20{left:20%;right:auto;--tsd-tx:0}
.lg-x25{left:25%;right:auto;--tsd-tx:0}
.lg-x30{left:30%;right:auto;--tsd-tx:0}
.lg-x35{left:35%;right:auto;--tsd-tx:0}
.lg-x40{left:40%;right:auto;--tsd-tx:0}
.lg-x45{left:45%;right:auto;--tsd-tx:0}
.lg-x50{left:50%;right:auto;--tsd-tx:-50%}
.lg-x55{left:auto;right:45%;--tsd-tx:0}
.lg-x60{left:auto;right:40%;--tsd-tx:0}
.lg-x65{left:auto;right:35%;--tsd-tx:0}
.lg-x70{left:auto;right:30%;--tsd-tx:0}
.lg-x75{left:auto;right:25%;--tsd-tx:0}
.lg-x80{left:auto;right:20%;--tsd-tx:0}
.lg-x85{left:auto;right:15%;--tsd-tx:0}
.lg-x90{left:auto;right:10%;--tsd-tx:0}
.lg-x95{left:auto;right:5%;--tsd-tx:0}
.lg-x100{left:auto;right:0%;--tsd-tx:0}
.lg-y0{top:0%;bottom:auto;--tsd-ty:0}
.lg-y5{top:5%;bottom:auto;--tsd-ty:0}
.lg-y10{top:10%;bottom:auto;--tsd-ty:0}
.lg-y15{top:15%;bottom:auto;--tsd-ty:0}
.lg-y20{top:20%;bottom:auto;--tsd-ty:0}
.lg-y25{top:25%;bottom:auto;--tsd-ty:0}
.lg-y30{top:30%;bottom:auto;--tsd-ty:0}
.lg-y35{top:35%;bottom:auto;--tsd-ty:0}
.lg-y40{top:40%;bottom:auto;--tsd-ty:0}
.lg-y45{top:45%;bottom:auto;--tsd-ty:0}
.lg-y50{top:50%;bottom:auto;--tsd-ty:-50%}
.lg-y55{top:auto;bottom:45%;--tsd-ty:0}
.lg-y60{top:auto;bottom:40%;--tsd-ty:0}
.lg-y65{top:auto;bottom:35%;--tsd-ty:0}
.lg-y70{top:auto;bottom:30%;--tsd-ty:0}
.lg-y75{top:auto;bottom:25%;--tsd-ty:0}
.lg-y80{top:auto;bottom:20%;--tsd-ty:0}
.lg-y85{top:auto;bottom:15%;--tsd-ty:0}
.lg-y90{top:auto;bottom:10%;--tsd-ty:0}
.lg-y95{top:auto;bottom:5%;--tsd-ty:0}
.lg-y100{top:auto;bottom:0%;--tsd-ty:0}
}

/* ---------- Image ---------- */
.img { position: relative; width: 100%; }
.img .img-inner { position: relative; overflow: hidden; }
.img img { width: 100%; height: auto; }
.img-inner.image-cover { height: auto; background-position: 50% 50%; background-size: cover; padding-top: 100%; }
.img-inner.image-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img .caption { font-size: .9em; padding: .4em 0; }

/* ---------- Text / divider / gap / stack ---------- */
.text { position: relative; }
.is-divider { display: block; height: 3px; width: 100%; max-width: 30px; margin: 1em 0; background-color: rgba(0, 0, 0, .1); }
.is-divider.small { max-width: 30px; height: 2px; }
.gap-element { display: block; height: auto; }
.stack { display: flex; --stack-gap: 0; }
.stack-row { flex-direction: row; }
.stack-row > * { margin: 0 !important; }
.stack-row > * + * { margin-left: var(--stack-gap) !important; }
.stack-col { flex-direction: column; }
.stack-col > * + * { margin-top: var(--stack-gap) !important; }
.justify-start { justify-content: flex-start; } .justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; } .justify-between { justify-content: space-between; }
.items-start { align-items: flex-start; } .items-center { align-items: center; }
.items-end { align-items: flex-end; } .items-stretch { align-items: stretch; }

/* ---------- Section title ---------- */
.section-title-container { margin-bottom: 1.5em; padding: 0; }
.section-title { position: relative; display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; width: 100%; }
.section-title b { display: block; flex: 1; height: 2px; opacity: .1; background-color: currentColor; }
.section-title-normal b { display: none; }
.section-title-normal { border-bottom: 2px solid #ececec; }
.section-title-normal span { margin-right: 15px; padding-bottom: 7.5px; border-bottom: 2px solid rgba(0, 0, 0, .1); margin-bottom: -2px; }
.section-title-center span { margin: 0 15px; text-align: center; }
.section-title-main i { margin-right: .5em; opacity: .7; line-height: 1.2; }
.section-title a { margin-left: auto; font-size: .8em; }

/* ---------- Button ---------- */
.button { position: relative; display: inline-block; min-height: 2.5em; margin: 0 1em 1em 0; padding: 0 1.2em; max-width: 100%;
  font-size: .97em; font-weight: 700; line-height: 2.4em; letter-spacing: .03em; text-align: center; text-decoration: none; vertical-align: middle;
  color: #fff; background-color: var(--tsd-primary); border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s; }
.button span { display: inline-block; line-height: 1.6; }
.button i { position: relative; top: -1px; vertical-align: middle; }
.button.icon-left i { margin-right: .4em; } .button.icon-right i { margin-left: .4em; }
.button.secondary { background-color: var(--tsd-secondary); color: var(--tsd-text); }
.button.success { background-color: var(--tsd-success); color: var(--tsd-text); }
.button.alert { background-color: var(--tsd-alert); }
.button.is-shade::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1)); pointer-events: none; }
.button:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); }
.box-shadow-1 { box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); }
.box-shadow-2 { box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); }
.box-shadow-3 { box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22); }
.box-shadow-4-hover:hover { box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22); }

/* ---------- Icon box ---------- */
.icon-box { position: relative; }
.icon-box-img { margin-bottom: 1em; max-width: 100%; }
.icon-box-img img { width: 100%; height: auto; display: block; }
.icon-box-img svg { width: 100%; height: auto; }
.icon-box-img .icon { position: relative; }
.icon-box-img.has-icon-bg .icon-inner { border: 2px solid currentColor; border-radius: 100%; padding: 20%; }
.icon-box-left, .icon-box-right { display: flex; flex-flow: row wrap; width: 100%; }
.stack.stack-row .icon-box { flex-flow: row; }
.icon-box-left .icon-box-img, .icon-box-right .icon-box-img { flex: 0 0 auto; margin-bottom: 0; max-width: 200px; }
.icon-box-left .icon-box-text, .icon-box-right .icon-box-text { flex: 1 1 0px; }
.icon-box-left .icon-box-img + .icon-box-text { padding-left: 1em; }
.icon-box-right { flex-direction: row-reverse; }
.icon-box-right .icon-box-img + .icon-box-text { padding-right: 1em; }
.icon-box-top .icon-box-img, .icon-box-center .icon-box-img { margin: 0 auto 1em; }
a.plain { color: inherit; }

/* ---------- Spacing utilities used in stored content ---------- */
.pb-0 { padding-bottom: 0 !important; } .pt-0 { padding-top: 0 !important; }
.pb-half { padding-bottom: 15px !important; } .pt-half { padding-top: 15px !important; }
.pb { padding-bottom: 30px !important; } .pt { padding-top: 30px !important; }
.mb-0 { margin-bottom: 0 !important; } .mt-0 { margin-top: 0 !important; } .ml-0 { margin-left: 0 !important; }
.mb-half { margin-bottom: 15px; } .mt-half { margin-top: 15px; }
.list-style-none ul, .list-style-none ol, ul.list-style-none { list-style: none; padding-left: 0; }
.page-wrapper { padding-top: 30px; padding-bottom: 30px; }
.col .section { padding-left: 30px; padding-right: 30px; }
