/* Tinssen visual system, adapted from tinssen.com/website/css.
 * Font delivery belongs to WP Google Fonts (Lato); no duplicate font imports. */
:root {
    --tinssen-blue: #1b365d;
    --tinssen-text: #322f31;
    --tinssen-grey: #f0f0f0;
    --tinssen-light-grey: #f8f8f8;
    --tns-container: 1220px;
    --tns-container-narrow: 860px;
    --tns-container-wide: 1600px;
    --tns-layout-max: 1680px;
    --tns-gutter: 40px;
    --tns-space-sm: 30px;
    --tns-space-md: 80px;
    --tns-space-lg: 100px;
    --tns-space-xl: 150px;
    --tns-gap-sm: 30px;
    --tns-gap-md: 30px;
    --tns-gap-lg: 60px;
    --tns-gap-xl: 100px;
    --tns-footer-space: 100px;
    --nav-panel-bg: #fff;
    --nav-panel-color: #1b365d;
}
body { margin: 0; color: var(--tinssen-text); background: #fff; font-family: 'Lato', sans-serif; font-size: 18px; line-height: 26px; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a { color: var(--tinssen-blue); text-decoration: none; }
a, button { transition: color .3s, background-color .3s, border-color .3s; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--tinssen-blue); outline-offset: 5px; }
::selection { color: #fff; background: #999; }
.site-skip { position: absolute; top: 0; left: 1rem; transform: translateY(-150%); z-index: 10000; }
.site-skip:focus { transform: none; background: #fff; color: var(--tinssen-blue); padding: 1rem; }
.bg-white, .bg-default { --surface-bg: #fff; --surface-color: #322f31; --surface-heading: #1b365d; }
.bg-grey { --surface-bg: #f0f0f0; --surface-color: #322f31; --surface-heading: #1b365d; }
.bg-light-grey { --surface-bg: #f8f8f8; --surface-color: #322f31; --surface-heading: #1b365d; }
.bg-blue { --surface-bg: #1b365d; --surface-color: #fff; --surface-heading: #fff; }
:is(.c-section, .c-page-header, .c-footer, .c-item, .c-query-item)[class*='bg-'] { color: var(--surface-color); background-color: var(--surface-bg); }
.c-heading { color: var(--surface-heading, var(--tinssen-blue)); font-size: 40px; line-height: 55px; font-weight: 400; overflow-wrap: anywhere; }
.c-heading.h-main { font-size: 70px; line-height: 65px; }
.c-heading.h-large { font-size: 60px; line-height: 65px; font-weight: 500; }
.c-heading.h-normal { font-size: 30px; line-height: 40px; }
.c-heading.h-small { font-size: 20px; line-height: 30px; }
.c-heading.h-vsmall { font-size: 18px; line-height: 26px; }
.c-page-header .c-heading.h-default { font-size: 70px; line-height: 65px; }
.c-subtitle { color: var(--surface-heading, var(--tinssen-blue)); font-size: 24px; line-height: 30px; font-weight: 400; }
.c-content__text, .c-query-item__excerpt, .c-gutenberg { font-size: 18px; line-height: 26px; color: var(--surface-color, #333); }
:is(.c-content__text, .c-query-item__excerpt, .c-gutenberg) p { margin: 0 0 26px; }
:is(.c-content__text, .c-query-item__excerpt, .c-gutenberg) strong { font-weight: 700; }
.c-page-header .c-content__text { font-size: 26px; line-height: 36px; font-weight: 300; }
.c-content__text ul { list-style: none; padding-left: 0; }
.c-content__text ul > li { position: relative; padding-left: 25px; margin-bottom: 12px; }
.c-content__text ul > li::before { content: ''; position: absolute; top: 12px; left: 0; width: 15px; height: 2px; transform: rotate(-60deg); background: var(--surface-heading, var(--tinssen-blue)); }
.c-content__text a, .c-gutenberg a { text-decoration: underline; text-underline-offset: 4px; }
.bg-blue a { color: #fff; }
.c-actions .button, .c-pagination a, .c-pagination span { display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; min-height: 50px; padding: 10px 30px; border: 1px solid var(--tinssen-blue); border-radius: 0; color: #fff; background: var(--tinssen-blue); font-size: 14px; line-height: 28px; font-weight: 700; text-transform: uppercase; text-align: center; }
.c-actions .button:hover, .c-actions .button:focus-visible { background: transparent; color: var(--tinssen-blue); }
.c-actions .button.appearance-secondary { color: var(--tinssen-blue); background: transparent; }
.c-actions .button.appearance-secondary:hover { color: #fff; background: var(--tinssen-blue); }
.c-actions .button:is(.appearance-tertiary, .appearance-text) { min-height: 44px; padding: 0; color: var(--surface-heading, var(--tinssen-blue)); background: transparent; border-color: transparent; }
.bg-blue .c-actions .button { border-color: #fff; }
.bg-blue .c-actions .button:hover { background: #fff; color: var(--tinssen-blue); }
.bg-blue .c-actions .button:is(.appearance-secondary, .appearance-text, .appearance-tertiary) { color: #fff; }
.c-content-addon--icon { color: var(--surface-heading, var(--tinssen-blue)); }
.c-item.variant-card, .c-query-item.variant-card { border: 0; border-radius: 0; box-shadow: none; }
.c-item__content, .c-query-item__content { padding-top: 30px; }
.c-item .c-heading.h-default, .c-query-item .c-heading.h-default { font-size: 30px; line-height: 40px; }
.c-query-item__title a { color: inherit; }
.c-query-item__media, .c-item__media { overflow: hidden; }
.c-query-item__media img, .c-item__media img { transition: transform .5s, opacity .5s; }
.c-query-item:hover .c-query-item__media img { transform: scale(1.025); }
.c-query-item__date, .c-query-item__terms { font-size: 14px; color: #777; }
.c-accordion__item { border-bottom: 1px solid #ccc; padding-block: 20px; }
.c-accordion__summary { color: var(--surface-heading, var(--tinssen-blue)); }
.c-accordion__title { font-size: 26px; line-height: 36px; font-weight: 400; }
.c-navbar.c-navbar { color: var(--tinssen-blue); background: #fff; box-shadow: 0 1px 3px rgba(27,36,50,.15); }
.c-navbar__inner { min-height: 100px; }
.c-navbar__logo { width: 197px; max-width: 197px; }
.c-navbar__logo img { width: 197px; max-height: 25px; object-fit: contain; }
.c-navbar__logo:not(:has(img)) { height: 25px; overflow: hidden; color: transparent; background: url('../images/logo.svg') no-repeat left center / contain; }
.c-navbar__main { justify-content: flex-end; }
.c-navbar .c-nav { gap: clamp(20px, 4vw, 60px); }
.c-navbar .c-nav__row > a { color: var(--tinssen-blue); font-size: 15px; line-height: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.c-navbar .c-nav__row > a:hover { color: #999; }
.c-navbar .current-menu-item > .c-nav__row > a { text-decoration: underline; text-underline-offset: 12px; text-decoration-thickness: 2px; }
.c-navbar .c-nav__submenu { background: #fff; }
.c-navbar__burger { color: var(--tinssen-blue); border: 0; background: transparent; min-width: 44px; min-height: 44px; }
.c-navbar.is-mobile .c-nav { gap: 0; }
.c-navbar.is-mobile .c-nav__row > a { padding-block: 15px; font-size: 26px; line-height: 36px; }
.c-footer { color: #777; background: var(--tinssen-light-grey); font-size: 15px; line-height: 25px; }
.c-footer__heading { color: #777; font-size: 15px; line-height: 25px; font-weight: 700; }
.c-footer__bottom { margin-top: 45px; color: #999; font-size: 14px; line-height: 25px; }
.c-footer a:hover { color: var(--tinssen-blue); }
.c-section input:not([type='checkbox']):not([type='radio']):not([type='submit']), .c-section textarea, .c-section select { box-sizing: border-box; max-width: 100%; padding: 12px 16px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: #333; }
@media (max-width: 1079px) {
    .c-heading, .c-heading.h-section { font-size: 30px; line-height: 40px; }
    .c-heading.h-main, .c-page-header .c-heading.h-default { font-size: 60px; line-height: 55px; }
    .c-heading.h-large { font-size: 50px; line-height: 55px; }
    .c-heading.h-normal, .c-item .c-heading.h-default, .c-query-item .c-heading.h-default { font-size: 20px; line-height: 30px; }
    .c-page-header .c-content__text { font-size: 24px; line-height: 32px; }
    .c-navbar__logo { width: 160px; }
}
@media (max-width: 959px) {
    :root { --tns-space-md: 60px; --tns-space-lg: 80px; --tns-space-xl: 100px; }
    .c-content__text, .c-query-item__excerpt, .c-gutenberg { font-size: 17px; line-height: 24px; }
    .c-actions .button { min-height: 45px; padding: 7.5px 25px; }
}
@media (max-width: 639px) {
    :root { --tns-gutter: 30px; --tns-gap-lg: 30px; --tns-gap-xl: 60px; }
    .c-heading.h-main, .c-page-header .c-heading.h-default { font-size: 50px; line-height: 45px; }
    .c-heading.h-large { font-size: 40px; line-height: 55px; }
    .c-heading.h-small { font-size: 16px; line-height: 26px; }
    .c-page-header .c-content__text { font-size: 22px; line-height: 32px; }
    .c-navbar__logo { width: 128px; height: 16px; }
    .c-navbar__logo img { width: 128px; max-height: 16px; }
    .c-navbar__logo:not(:has(img)) { height: 16px; }
    .c-actions .button { min-height: 44px; padding: 7px 20px; }
}
@media (max-width: 479px) {
    :root { --tns-gutter: 20px; }
    .c-heading, .c-heading.h-section { line-height: 38px; }
    .c-heading.h-large { font-size: 36px; line-height: 45px; }
    .c-subtitle { font-size: 20px; line-height: 26px; }
    .c-content__text, .c-query-item__excerpt, .c-gutenberg { font-size: 15px; line-height: 22px; }
    .c-page-header .c-content__text { font-size: 18px; line-height: 26px; }
}
@media (prefers-reduced-motion: reduce) { a, button, .c-query-item__media img, .c-item__media img { transition: none; } }
