:root {
    --universal-accent-blue: #3f86d4;
    --universal-accent-blue-strong: #2f6fb8;
    --universal-accent-green: #2f9f65;
    --universal-accent-green-strong: #248651;
    --universal-gold: #caa760;
    --universal-gold-strong: #b38734;
    --universal-text: #1f2f3e;
    --universal-border: #d9e4ed;
    --header-bg-start: #f8f9fb;
    --header-bg-end: #f4f6f8;
    --header-border-color: #a6b0bd;
    --header-shadow-color: #173047;
    --nav-text: #26415a;
    --header-menu-active-text: #b38734;
    --header-menu-active-bg: #f3ead5;
    --burger-line: #30506c;
    --mobile-nav-bg: #f8fbff;
    --mobile-nav-item-bg: #ffffff;
    --mobile-nav-item-hover-bg: #eaf3ff;
    --mobile-nav-item-hover-text: #1f4f78;
    --mobile-nav-active-bg: #f3ead5;
    --component-top-bg: #ffffff;
    --content-top-1-bg: #ffffff;
    --content-top-2-bg: #f3f7fa;
    --content-top-3-bg: #e8f2ec;
    --box-bg-start: #ffffff;
    --box-bg-middle: #f9fcff;
    --box-bg-end: #f8fcf9;
    --body-menu-active-text: #b38734;
    --body-menu-active-bg: #f3ead5;
    --footer-bg-start: #edf6ef;
    --footer-bg-end: #e4f0e7;
    --footer-border: #588266;
    --footer-link: #335840;
    --footer-link-bg: transparent;
    --footer-link-hover: #1f3f2f;
    --footer-link-hover-bg: transparent;
    --footer-menu-active-text: #b38734;
    --footer-menu-active-bg: #f3ead5;
    --form-border: #d5e1eb;
    --form-bg: #ffffff;
    --form-input-padding: 0.375rem 0.75rem;
    --form-input-margin: 0;
    --focus-shadow-color: #caa760;
    --vertical-nav-text: #2a5070;
    --vertical-nav-hover: #1f4f78;

    --header-bg-transparent: linear-gradient(
        90deg,
        color-mix(in srgb, var(--header-bg-start) 75%, transparent) 0%,
        color-mix(in srgb, var(--header-bg-end) 75%, transparent) 100%
    );
    --header-bg-solid: linear-gradient(90deg, var(--header-bg-start) 0%, var(--header-bg-end) 100%);
    --header-height-desktop: 88px;
    --header-height-mobile: 72px;
    --header-logo-max-height: 120px;
    --header-logo-max-height-mobile: 44px;
    --layout-bg: #eaf8fd;
    --surface-border: var(--universal-border);
    --footer-bg: linear-gradient(180deg, var(--footer-bg-start) 0%, var(--footer-bg-end) 100%);
    --footer-text: #2b4a35;
    --footer-padding: 1rem 0;
    --footer-min-height: 0px;
    --footer-logo-max-height: 64px;
    --header-sticky-offset: 220;
    --header-alpha-start-default: 0.75;
    --header-alpha-start-hero: 0.32;
    --header-alpha-end: 0.98;
    --header-normal-background: rgba(248, 249, 251, 0.75);
    --header-normal-text: rgba(38, 65, 90, 1);
    --header-normal-border: rgba(166, 176, 189, 0.25);
    --header-normal-shadow: rgba(23, 48, 71, 0);
    --header-normal-blur: 8px;
    --header-sticky-background: rgba(244, 246, 248, 0.98);
    --header-sticky-text: rgba(38, 65, 90, 1);
    --header-sticky-border: rgba(166, 176, 189, 0.4);
    --header-sticky-shadow: rgba(23, 48, 71, 0.08);
    --header-sticky-blur: 0px;
    --font-body-family: system-ui, -apple-system, sans-serif;
    --font-body-size: 1rem;
    --font-body-weight: 400;
    --font-body-line-height: 1.6;
    --font-heading-family: inherit;
    --font-heading-weight: 700;
    --font-heading-line-height: 1.2;
    --font-h1-size: clamp(2rem, 4vw, 3.5rem);
    --font-h2-size: clamp(1.75rem, 3vw, 2.75rem);
    --font-h3-size: clamp(1.5rem, 2.5vw, 2.1rem);
    --font-h4-size: 1.5rem;
    --font-h5-size: 1.25rem;
    --font-h6-size: 1rem;
    --font-lead-family: inherit;
    --font-lead-size: 1.25rem;
    --font-lead-weight: 400;
    --font-nav-family: inherit;
    --font-nav-size: 1rem;
    --font-nav-weight: 500;
    --font-brand-family: inherit;
    --font-brand-size: 1.15rem;
    --font-brand-weight: 700;
    --font-module-title-family: inherit;
    --font-module-title-size: 1.1rem;
    --font-module-title-weight: 700;
    --font-footer-family: inherit;
    --font-footer-size: 0.95rem;
    --font-footer-weight: 400;
    --brand-gap: 0.65rem;
    --menu-active-radius: 999px;
    --menu-active-indicator-width: 3px;
    --menu-active-indicator-inset: 4px;
    --back-to-top-background: #2f6fb8;
    --back-to-top-color: #ffffff;
    --back-to-top-border-color: #2f6fb8;
    --back-to-top-hover-background: #b38734;
    --back-to-top-hover-color: #ffffff;
    --back-to-top-hover-border-color: #b38734;
    --back-to-top-size: 52px;
    --back-to-top-offset-x: 24px;
    --back-to-top-offset-y: 24px;
    --back-to-top-padding-x: 16px;
    --back-to-top-padding-y: 10px;
    --back-to-top-icon-size: 20px;
    --back-to-top-font-size: 15px;
    --back-to-top-font-weight: 600;
    --back-to-top-border-width: 1px;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--layout-bg);
    color: var(--universal-text);
    font-family: var(--font-body-family);
    font-size: var(--font-body-size);
    font-weight: var(--font-body-weight);
    line-height: var(--font-body-line-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading-family);
    font-weight: var(--font-heading-weight);
    line-height: var(--font-heading-line-height);
}

h1 { font-size: var(--font-h1-size); }
h2 { font-size: var(--font-h2-size); }
h3 { font-size: var(--font-h3-size); }
h4 { font-size: var(--font-h4-size); }
h5 { font-size: var(--font-h5-size); }
h6 { font-size: var(--font-h6-size); }

.lead {
    font-family: var(--font-lead-family);
    font-size: var(--font-lead-size);
    font-weight: var(--font-lead-weight);
}

a {
    color: var(--universal-accent-blue);
}

a:hover,
a:focus,
a:active {
    color: var(--universal-accent-blue-strong);
}

.site-shell {
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 0 0 auto;
    background: var(--layout-bg);
}

.site-shell.has-sticky-footer {
    min-height: 100vh;
}

.site-shell.has-sticky-footer .site-main {
    flex: 1 1 auto;
}

.site-shell.has-sticky-footer .site-footer {
    margin-top: auto;
}

.site-header {
    --header-scroll-progress: 0;
    --header-alpha-start: var(--header-alpha-start-default);
    --header-border-start: 0.25;
    --header-border-end: 0.4;
    --header-alpha-current: calc(var(--header-alpha-start) + (var(--header-alpha-end) - var(--header-alpha-start)) * var(--header-scroll-progress));
    --header-border-current: calc(var(--header-border-start) + (var(--header-border-end) - var(--header-border-start)) * var(--header-scroll-progress));
    --header-shadow-current: calc(0.08 * var(--header-scroll-progress));
    --header-blur-current: calc(8px - 8px * var(--header-scroll-progress));
    z-index: 1030;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--header-bg-start) calc(var(--header-alpha-current) * 100%), transparent) 0%,
        color-mix(in srgb, var(--header-bg-end) calc(var(--header-alpha-current) * 100%), transparent) 100%
    );
    border-bottom: 1px solid color-mix(in srgb, var(--header-border-color) calc(var(--header-border-current) * 100%), transparent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--header-shadow-color) calc(var(--header-shadow-current) * 100%), transparent);
    overflow: visible;
    backdrop-filter: blur(var(--header-blur-current));
    transition: background 0.08s linear, box-shadow 0.08s linear, border-color 0.08s linear, backdrop-filter 0.08s linear;
}

.header-placement-top.has-component-hero .site-header {
    --header-alpha-start: var(--header-alpha-start-hero);
    --header-border-start: 0.15;
}

.site-header.is-scrolled {
    --header-scroll-progress: 1;
}

.header-desktop {
    min-height: var(--header-menu-height, var(--header-height-desktop));
    display: grid;
    align-items: center;
    gap: 1rem;
}

.header-mobile {
    min-height: var(--header-height-mobile);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--nav-text);
}

.site-logo-image {
    display: block;
    max-height: var(--header-logo-max-height);
    width: auto;
    height: auto;
}

.site-header.has-logo-overlap .header-content-brand .site-logo {
    position: relative;
    z-index: 3;
}

.site-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--nav-text);
}

.header-slot {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.header-slot a {
    color: var(--nav-text);
    text-decoration: none;
}

.header-slot a:hover,
.header-slot a:focus {
    color: var(--universal-accent-blue);
}

.burger-btn {
    border: 1px solid color-mix(in srgb, var(--nav-text) 35%, transparent);
    border-radius: 0.65rem;
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.burger-btn:focus {
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--universal-accent-blue) 25%, transparent);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
}

.site-header .burger-btn {
    color: inherit;
    border-color: currentColor;
}

.mobile-nav {
    --menu-active-text-current: var(--header-menu-active-text);
    --menu-active-bg-current: var(--mobile-nav-active-bg);
    --menu-active-base-bg-current: var(--mobile-nav-item-bg);
    background: var(--mobile-nav-bg);
    color: var(--nav-text);
}

.mobile-nav .offcanvas-header {
    border-bottom: 1px solid color-mix(in srgb, var(--header-border-color) 30%, transparent);
}

.mobile-nav .offcanvas-title {
    color: var(--nav-text);
}

.mobile-nav a {
    color: var(--nav-text);
    text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--universal-accent-blue);
}

.mobile-nav .mod-menu ul,
.mobile-nav ul.menu,
.mobile-nav ul.nav,
.mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav .mod-menu ul li a,
.mobile-nav ul.menu li a,
.mobile-nav ul.nav li a,
.mobile-nav ul li a {
    display: block;
    width: 100%;
    padding: 0.58rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid var(--universal-border);
    background: var(--mobile-nav-item-bg);
}

.mobile-nav .mod-menu ul li.active > a,
.mobile-nav ul.menu li.active > a,
.mobile-nav ul.nav li.active > a,
.mobile-nav ul li.active > a,
.mobile-nav :is(.mod-menu, ul.menu, ul.nav) a.active,
.mobile-nav :is(.mod-menu, ul.menu, ul.nav) a[aria-current="page"] {
    color: var(--header-menu-active-text);
}

/* Configurable header states and slots */
.site-header {
    --menu-active-text-current: var(--header-menu-active-text);
    --menu-active-bg-current: var(--header-menu-active-bg);
    --menu-active-base-bg-current: transparent;
    --header-scroll-progress: 0;
    --header-progress-inverse: calc(1 - var(--header-scroll-progress));
    position: relative;
    z-index: 1030;
    color: color-mix(
        in srgb,
        var(--header-normal-text) calc(var(--header-progress-inverse) * 100%),
        var(--header-sticky-text)
    );
    background: color-mix(
        in srgb,
        var(--header-normal-background) calc(var(--header-progress-inverse) * 100%),
        var(--header-sticky-background)
    );
    border-bottom-color: color-mix(
        in srgb,
        var(--header-normal-border) calc(var(--header-progress-inverse) * 100%),
        var(--header-sticky-border)
    );
    box-shadow: 0 8px 20px color-mix(
        in srgb,
        var(--header-normal-shadow) calc(var(--header-progress-inverse) * 100%),
        var(--header-sticky-shadow)
    );
    backdrop-filter: blur(calc(
        var(--header-normal-blur) * var(--header-progress-inverse) +
        var(--header-sticky-blur) * var(--header-scroll-progress)
    ));
}

.site-header.is-sticky.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.site-header-placeholder {
    display: block;
    width: 100%;
    height: 0;
    flex: 0 0 auto;
}

.site-header.has-scroll-animation.is-stuck {
    animation: universal-header-slide-in 0.32s ease-out both;
}

@keyframes universal-header-slide-in {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .site-header.has-scroll-animation.is-stuck {
        animation: none;
    }
}

.header-desktop {
    grid-template-columns: var(
        --header-grid-columns,
        minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)
    );
}

.header-slot.align-left {
    justify-self: start;
    text-align: left;
}

.header-slot.align-center {
    justify-self: center;
    text-align: center;
}

.header-slot.align-right {
    justify-self: end;
    text-align: right;
}

.header-slot ul,
.header-slot .mod-menu ul {
    justify-content: inherit;
}

.header-slot.align-left ul,
.header-slot.align-left .mod-menu ul { justify-content: flex-start; }
.header-slot.align-center ul,
.header-slot.align-center .mod-menu ul { justify-content: center; }
.header-slot.align-right ul,
.header-slot.align-right .mod-menu ul { justify-content: flex-end; }

.site-header a,
.site-header .site-logo-text {
    color: inherit;
}

.header-content-menu,
.mobile-nav {
    font-family: var(--font-nav-family);
    font-size: var(--font-nav-size);
    font-weight: var(--font-nav-weight);
}

.header-content-menu ul,
.header-content-menu .mod-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-content-menu a {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    line-height: 1.2;
    text-decoration: none;
}

.header-desktop :is(.mod-menu, ul.menu, ul.nav) li.active > a,
.header-desktop :is(.mod-menu, ul.menu, ul.nav) a.active,
.header-desktop :is(.mod-menu, ul.menu, ul.nav) a[aria-current="page"] {
    color: var(--header-menu-active-text);
}

.site-logo {
    gap: var(--brand-gap);
}

.site-logo-text {
    font-family: var(--font-brand-family);
    font-size: var(--font-brand-size);
    font-weight: var(--font-brand-weight);
}

.header-mobile.mobile-menu-right .burger-btn { order: 2; }
.header-mobile.mobile-menu-right .site-logo,
.header-mobile.mobile-menu-right .mobile-brand-spacer { order: 1; }
.header-mobile.mobile-menu-left .burger-btn { order: 1; }
.header-mobile.mobile-menu-left .site-logo,
.header-mobile.mobile-menu-left .mobile-brand-spacer { order: 2; }
.mobile-brand-spacer { width: 44px; }

.component-top {
    width: 100%;
}

.component-hero {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.component-hero > * {
    margin-bottom: 0;
}

.component-top-hero {
    margin-top: calc(var(--header-menu-height, var(--header-height-desktop)) * -1);
    padding-top: var(--header-menu-height, var(--header-height-desktop));
}

body:not(.header-placement-top) .component-top-hero {
    margin-top: 0;
    padding-top: 0;
}

.site-header.is-static ~ .component-top-hero {
    margin-top: 0;
    padding-top: 0;
}

.component-top-hero > * {
    margin-bottom: 0;
}

.component-top-inline {
    background: var(--component-top-bg);
}

.content-top-section {
    width: 100%;
}

.content-top-section > .container-xl > *:last-child {
    margin-bottom: 0;
}

.content-top-1 {
    background: var(--content-top-1-bg);
}

.content-top-2 {
    background: var(--content-top-2-bg);
}

.content-top-3 {
    background: var(--content-top-3-bg);
}

.layout-box {
    border: 1px solid var(--universal-border);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--box-bg-start) 0%, var(--box-bg-middle) 58%, var(--box-bg-end) 100%);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--nav-text) 6%, transparent);
    padding: 1rem;
}

.component-box {
    min-height: 12rem;
}

.main-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
}

.main-layout-grid > * {
    min-width: 0;
}

.layout-box.component-box {
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.site-footer {
    --menu-active-text-current: var(--footer-menu-active-text);
    --menu-active-bg-current: var(--footer-menu-active-bg);
    --menu-active-base-bg-current: var(--footer-link-bg);
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: var(--footer-min-height);
    box-sizing: border-box;
    padding: var(--footer-padding);
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid color-mix(in srgb, var(--footer-border) 38%, transparent);
    font-family: var(--font-footer-family);
    font-size: var(--font-footer-size);
    font-weight: var(--font-footer-weight);
}

.site-footer .footer-inner {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.site-footer.has-content-container .footer-inner {
    max-width: var(--footer-content-max-width, 1320px);
    margin-inline: auto;
}

.footer-grid {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: var(--footer-grid-columns, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.footer-slot {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.footer-slot > * {
    max-width: 100%;
}

.footer-additional-modules {
    display: flex;
    flex-direction: column;
    gap: var(--footer-additional-module-gap, 16px);
    min-width: 0;
    max-width: 100%;
}

.footer-slot.has-primary-content .footer-additional-modules {
    margin-top: var(--footer-additional-module-gap, 16px);
}

.footer-additional-module {
    min-width: 0;
    max-width: 100%;
}

.footer-slot.align-left {
    justify-self: start;
    text-align: left;
}

.footer-slot.align-center {
    justify-self: center;
    text-align: center;
}

.footer-slot.align-right {
    justify-self: end;
    text-align: right;
}

.footer-slot .site-logo,
.footer-slot .site-logo-text {
    color: inherit;
}

.footer-slot .site-logo-image {
    max-height: var(--footer-logo-max-height);
}

.footer-content-menu ul,
.footer-content-menu .mod-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-content-menu.align-left ul,
.footer-content-menu.align-left .mod-menu ul { justify-content: flex-start; }
.footer-content-menu.align-center ul,
.footer-content-menu.align-center .mod-menu ul { justify-content: center; }
.footer-content-menu.align-right ul,
.footer-content-menu.align-right .mod-menu ul { justify-content: flex-end; }

.module-title,
.card-header,
.mod-chrome-title {
    font-family: var(--font-module-title-family);
    font-size: var(--font-module-title-size);
    font-weight: var(--font-module-title-weight);
}

.site-footer a {
    color: var(--footer-link);
    background-color: var(--footer-link-bg);
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
    color: var(--footer-link-hover);
    background-color: var(--footer-link-hover-bg);
}

.site-footer :is(.mod-menu, ul.menu, ul.nav) li.active > a,
.site-footer :is(.mod-menu, ul.menu, ul.nav) a.active,
.site-footer :is(.mod-menu, ul.menu, ul.nav) a[aria-current="page"] {
    color: var(--footer-menu-active-text);
}

:is(.site-main, .component-hero, .component-top, .content-top-section) {
    --menu-active-text-current: var(--body-menu-active-text);
    --menu-active-bg-current: var(--body-menu-active-bg);
    --menu-active-base-bg-current: transparent;
}

:is(.site-main, .component-hero, .component-top, .content-top-section)
    :is(.mod-menu, ul.menu, ul.nav) li.active > a,
:is(.site-main, .component-hero, .component-top, .content-top-section)
    :is(.mod-menu, ul.menu, ul.nav) a.active,
:is(.site-main, .component-hero, .component-top, .content-top-section)
    :is(.mod-menu, ul.menu, ul.nav) a[aria-current="page"] {
    color: var(--body-menu-active-text);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
.form-control,
textarea,
.form-select,
select:not(.form-select) {
    border: 1px solid var(--form-border);
    border-radius: 10px;
    background-color: var(--form-bg);
    padding: var(--form-input-padding);
    margin: var(--form-input-margin);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
.form-control:focus,
textarea:focus,
.form-select:focus,
select:not(.form-select):focus {
    border-color: color-mix(in srgb, var(--universal-accent-blue) 65%, transparent);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--focus-shadow-color) 15%, transparent);
}

.mod-chrome-universal-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: left;
}

.mod-chrome-universal-vertical .mod-chrome-title {
    margin: 0;
    font-size: var(--font-module-title-size);
    font-weight: var(--font-module-title-weight);
    color: var(--nav-text);
}

.mod-chrome-universal-vertical .mod-menu,
.mod-chrome-universal-vertical ul.menu,
.mod-chrome-universal-vertical ul.nav,
.mod-chrome-universal-vertical > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.15rem;
    width: 100%;
}

.mod-chrome-universal-vertical .mod-menu li,
.mod-chrome-universal-vertical ul.menu li,
.mod-chrome-universal-vertical ul.nav li,
.mod-chrome-universal-vertical > ul li {
    margin: 0;
    width: 100%;
    text-align: left;
}

.mod-chrome-universal-vertical .mod-menu li > a,
.mod-chrome-universal-vertical ul.menu li > a,
.mod-chrome-universal-vertical ul.nav li > a,
.mod-chrome-universal-vertical > ul li > a {
    display: inline-block;
    width: auto;
    padding: 0.08rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--vertical-nav-text);
    font-size: 0.92rem;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: none;
}

.mod-chrome-universal-vertical .mod-menu li > a:hover,
.mod-chrome-universal-vertical ul.menu li > a:hover,
.mod-chrome-universal-vertical ul.nav li > a:hover,
.mod-chrome-universal-vertical > ul li > a:hover {
    border: 0;
    background: transparent;
    color: var(--vertical-nav-hover);
    text-decoration: underline;
}

.mod-chrome-universal-vertical .mod-menu li.active > a,
.mod-chrome-universal-vertical ul.menu li.active > a,
.mod-chrome-universal-vertical ul.nav li.active > a,
.mod-chrome-universal-vertical > ul li.active > a {
    color: var(--body-menu-active-text);
    border: 0;
    text-decoration: none;
}

/* Joomla mod_menu marks the current entry with .active and/or aria-current. */
body :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    color: var(--menu-active-text-current, var(--body-menu-active-text));
    border-radius: 0;
    background-color: var(--menu-active-base-bg-current, transparent);
    background-image: none;
    background-repeat: no-repeat;
    box-shadow: none;
    text-decoration: none;
}

body.menu-active-design-background
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    border-radius: var(--menu-active-radius);
    background-color: var(--menu-active-bg-current, var(--body-menu-active-bg));
}

body.menu-active-design-underline
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]),
body.menu-active-design-overline
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: calc(100% - var(--menu-active-indicator-inset) - var(--menu-active-indicator-inset)) var(--menu-active-indicator-width);
}

body.menu-active-design-underline
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    background-position: center bottom;
}

body.menu-active-design-overline
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    background-position: center top;
}

body.menu-active-design-outline
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    border-radius: var(--menu-active-radius);
    box-shadow: inset 0 0 0 var(--menu-active-indicator-width) currentColor;
}

body.menu-active-design-left-marker
    :is(.mod-menu, ul.menu, ul.nav) :is(li.active > a, a.active, a[aria-current="page"]) {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: left center;
    background-size: var(--menu-active-indicator-width) calc(100% - var(--menu-active-indicator-inset) - var(--menu-active-indicator-inset));
}

.back-to-top {
    --back-to-top-position-x: 0%;
    --back-to-top-hidden-y: 0px;
    --back-to-top-scale: 1;
    position: fixed;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: var(--back-to-top-size);
    margin: 0;
    padding: var(--back-to-top-padding-y) var(--back-to-top-padding-x);
    color: var(--back-to-top-color);
    background: var(--back-to-top-background);
    border-width: var(--back-to-top-border-width);
    border-color: var(--back-to-top-border-color);
    font: inherit;
    font-size: var(--back-to-top-font-size);
    font-weight: var(--back-to-top-font-weight);
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transform: translateX(var(--back-to-top-position-x)) translateY(var(--back-to-top-hidden-y)) scale(var(--back-to-top-scale));
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.back-to-top.is-visible {
    --back-to-top-hidden-y: 0px;
    --back-to-top-scale: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--back-to-top-hover-color);
    background: var(--back-to-top-hover-background);
    border-color: var(--back-to-top-hover-border-color);
}

.back-to-top:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.back-to-top.position-bottom-right {
    right: max(var(--back-to-top-offset-x), env(safe-area-inset-right, 0px));
    bottom: max(var(--back-to-top-offset-y), env(safe-area-inset-bottom, 0px));
}

.back-to-top.position-bottom-left {
    bottom: max(var(--back-to-top-offset-y), env(safe-area-inset-bottom, 0px));
    left: max(var(--back-to-top-offset-x), env(safe-area-inset-left, 0px));
}

.back-to-top.position-bottom-center {
    --back-to-top-position-x: -50%;
    bottom: max(var(--back-to-top-offset-y), env(safe-area-inset-bottom, 0px));
    left: 50%;
}

.back-to-top.position-top-right {
    top: max(var(--back-to-top-offset-y), env(safe-area-inset-top, 0px));
    right: max(var(--back-to-top-offset-x), env(safe-area-inset-right, 0px));
}

.back-to-top.position-top-left {
    top: max(var(--back-to-top-offset-y), env(safe-area-inset-top, 0px));
    left: max(var(--back-to-top-offset-x), env(safe-area-inset-left, 0px));
}

.back-to-top.position-top-center {
    --back-to-top-position-x: -50%;
    top: max(var(--back-to-top-offset-y), env(safe-area-inset-top, 0px));
    left: 50%;
}

.back-to-top.shape-square { border-radius: 0; }
.back-to-top.shape-rounded { border-radius: 0.75rem; }
.back-to-top.shape-circle,
.back-to-top.shape-pill { border-radius: 999px; }

.back-to-top.content-icon {
    width: var(--back-to-top-size);
    height: var(--back-to-top-size);
    min-height: 0;
    padding: 0;
}

.back-to-top.border-solid { border-style: solid; }
.back-to-top.border-dashed { border-style: dashed; }
.back-to-top.border-double { border-style: double; }

.back-to-top.shadow-none { box-shadow: none; }
.back-to-top.shadow-soft { box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2); }
.back-to-top.shadow-strong { box-shadow: 0 10px 32px rgba(15, 23, 42, 0.38); }
.back-to-top.shadow-soft:hover,
.back-to-top.shadow-soft:focus-visible { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28); }
.back-to-top.shadow-strong:hover,
.back-to-top.shadow-strong:focus-visible { box-shadow: 0 12px 38px rgba(15, 23, 42, 0.46); }

.back-to-top.animation-slide:not(.is-visible) {
    --back-to-top-hidden-y: 16px;
}

.back-to-top.animation-slide:is(.position-top-left, .position-top-center, .position-top-right):not(.is-visible) {
    --back-to-top-hidden-y: -16px;
}

.back-to-top.animation-scale:not(.is-visible) {
    --back-to-top-scale: 0.82;
}

.back-to-top.animation-none {
    transition: none;
}

.back-to-top-icon {
    display: block;
    flex: 0 0 auto;
    width: var(--back-to-top-icon-size);
    height: var(--back-to-top-icon-size);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top-text {
    min-width: 0;
}

body.com_users.view-login .component-box .com-users-login,
body.com_users.view-login .component-box .com-users-login.login {
    width: 100%;
    max-width: 100%;
}

body.com_users.view-login #com-users-login__form.form-horizontal .controls {
    margin-left: 0;
}

body.com_users.view-login #com-users-login__form .control-group {
    margin-bottom: 1rem;
}

body.com_users.view-login #com-users-login__form .com-users-login__remember {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

body.com_users.view-login #com-users-login__form .com-users-login__submit {
    margin-bottom: 0;
}

body.com_users.view-login #com-users-login__form .com-users-login__submit + .com-users-login__submit {
    margin-top: 0.65rem;
}

body.com_users.view-login #com-users-login__form .com-users-login__submit .btn {
    display: block;
    width: 100%;
}

body.com_users.view-login #com-users-login__form .com-users-login__submit .btn[type="submit"] {
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
}

body.com_users.view-registration .component-box .com-users-registration,
body.com_users.view-registration .component-box .com-users-registration.registration {
    width: 100%;
    max-width: 100%;
}

body.com_users.view-registration #member-registration .control-group,
body.com_users.view-registration .com-users-registration__form .com-users-registration__input,
body.com_users.view-registration .com-users-registration__form .mb-3 {
    margin-bottom: 1rem;
}

body.com_users.view-registration #member-registration .control-label {
    margin-bottom: 0.3rem;
}

body.com_users.view-registration #member-registration.form-horizontal .controls {
    margin-left: 0;
}

@media (min-width: 992px) {
    .site-header.no-desktop-slots {
        display: none;
    }

    .main-layout-grid {
        grid-template-columns: var(--main-grid-columns, minmax(0, 1fr));
    }

    .site-header.logo-size-width .header-desktop .site-logo-image {
        width: var(--header-logo-width);
        height: auto;
        max-width: none;
    }

    .site-header.logo-size-height .header-desktop .site-logo-image {
        width: auto;
        height: var(--header-logo-height);
        max-height: none;
    }

    .site-header.logo-size-both .header-desktop .site-logo-image {
        width: var(--header-logo-width);
        height: var(--header-logo-height);
        max-width: none;
        max-height: none;
    }

    body.com_users.view-login .component-box .com-users-login,
    body.com_users.view-login .component-box .com-users-login.login {
        max-width: 38rem;
        margin-left: auto;
        margin-right: auto;
    }

    body.com_users.view-registration .component-box .com-users-registration,
    body.com_users.view-registration .component-box .com-users-registration.registration {
        max-width: 38rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 991.98px) {
    .site-logo-image {
        max-height: var(--header-logo-max-height-mobile);
    }

    .component-top-hero {
        margin-top: calc(var(--header-height-mobile) * -1);
        padding-top: var(--header-height-mobile);
    }

    body:not(.header-placement-top) .component-top-hero {
        margin-top: 0;
        padding-top: 0;
    }

    .component-hero {
        margin-top: 0;
        padding-top: 0;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-slot.align-below-desktop-left {
        justify-self: start;
        text-align: left;
    }

    .footer-slot.align-below-desktop-center {
        justify-self: center;
        text-align: center;
    }

    .footer-slot.align-below-desktop-right {
        justify-self: end;
        text-align: right;
    }

    .footer-content-menu.align-below-desktop-left ul,
    .footer-content-menu.align-below-desktop-left .mod-menu ul {
        justify-content: flex-start;
    }

    .footer-content-menu.align-below-desktop-center ul,
    .footer-content-menu.align-below-desktop-center .mod-menu ul {
        justify-content: center;
    }

    .footer-content-menu.align-below-desktop-right ul,
    .footer-content-menu.align-below-desktop-right .mod-menu ul {
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

@media (min-width: 992px) {
    .site-header.has-logo-overlap .container-xl,
    .site-header.has-logo-overlap .header-desktop,
    .site-header.has-logo-overlap .header-content-brand {
        overflow: visible;
    }

    .site-header.has-logo-overlap .header-content-brand {
        z-index: 6;
    }

    .site-header.has-logo-overlap .header-content-brand .site-logo {
        position: relative;
        z-index: 6;
        height: auto;
        overflow: visible;
        align-items: center;
    }

    .site-header.has-logo-overlap .header-content-brand .site-logo-image {
        max-height: none;
        transform: translateY(var(--logo-overlap-offset, 18px));
    }
}
