* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html {
    --section-anchor-offset: 12rem;
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    position: relative;
    background: #f7f9fc;
    color: #172033;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 1.6rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    min-width: 32rem;
    max-width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
body::-webkit-scrollbar {
    display: none;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(199, 199, 199, 0.79);
    background: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: visible;
    transition: height 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, background-color 240ms ease;
    width: 100%;
    height: 12rem;
    display: block;
    will-change: height;
}
.site-main {
    width: 100%;
    margin-top: 12rem;
}
.site-main > :is(#home, #category, #account, #news, #library, #contact) {
    scroll-margin-top: var(--section-anchor-offset);
}
.site-header.is-compact {
    height: 5rem;
}
.site-header .header-info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    position: relative;
    width: 100%;
    height: 7rem;
    background: #1b4675;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: translateY(0);
    opacity: 1;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
    will-change: transform, opacity;
    border-bottom: 0.1rem solid #1b4675;
}
.site-header.is-compact .header-info {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.header-info .logo {
    width: 18rem;
    height: 100%;
    background: #fff;
    border-bottom-right-radius: 3.5rem;
    display: grid;
    place-content: center;
}
.header-info .logo a img {
    width: 5.5rem;
    height: 5.5rem;
}
.header-info .name {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    overflow: hidden;
}
.header-info .name span {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border-top-left-radius: 3.5rem;
    background: #1b4675;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    gap: 0.2rem;
}
.header-info .name span strong,
.header-info .name span small {
    width: 40rem;
    display: grid;
    place-items: center;
}
.header-info .name span strong {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.7rem;
}
.header-info .name span small {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
}
.header-info .header-auth {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 2.4rem;
}
.header-info .header-auth form {
    display: flex;
}
.header-info .navigation-cta,
.header-info .navigation-logout {
    flex: 0 0 auto;
    padding: 1.1rem 2.2rem;
    border-radius: 999px;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.header-info .navigation-cta {
    border: 1px solid #d8a02f;
    color: #fff;
    background: linear-gradient(135deg, #d8a02f, #b7790d);
    box-shadow: 0 0.8rem 2rem rgba(92, 56, 0, 0.24);
}
.header-info .navigation-logout {
    border: 1px solid rgba(27, 70, 117, 0.22);
    color: #1b4675;
    background: #fff;
    box-shadow: 0 0.6rem 1.6rem rgba(23, 32, 51, 0.1);
}
.header-info .navigation-cta:hover,
.header-info .navigation-cta:focus-visible,
.header-info .navigation-logout:hover,
.header-info .navigation-logout:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 1.1rem 2.6rem rgba(92, 56, 0, 0.34);
}
.header-info .navigation-logout:hover,
.header-info .navigation-logout:focus-visible {
    color: #fff;
    background: #1b4675;
    box-shadow: 0 1rem 2.4rem rgba(27, 70, 117, 0.24);
}
.header-info .navigation-cta:focus-visible,
.header-info .navigation-logout:focus-visible {
    outline: 0.3rem solid rgba(216, 160, 47, 0.3);
    outline-offset: 0.2rem;
}
.site-header .header-menu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    position: relative;
    width: 100%;
    height: 5rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-bottom: 1px solid rgba(27, 70, 117, 0.12);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 0.8rem 2.4rem rgba(19, 42, 68, 0.08);
    transform: translateY(0);
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
    will-change: transform;
}
.site-header.is-compact .header-menu {
    transform: translateY(-7rem);
    box-shadow: 0 1rem 2.8rem rgba(19, 42, 68, 0.16);
}
.header-menu .primary-navigation {
    height: 100%;
    display: flex;
    align-items: stretch;
}
.header-menu ul {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    list-style-type: none;
}
.header-menu li {
    height: 100%;
    display: flex;
    align-items: stretch;
}
.header-menu li a {
    position: relative;
    min-width: 11rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0 1.8rem;
    color: #31445d;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.header-menu li a ion-icon {
    flex: 0 0 auto;
    color: #6f8299;
    font-size: 1.9rem;
    transition: color 180ms ease, transform 180ms ease;
}
.header-menu li a span {
    font-family: inherit;
}
.header-menu li a::after {
    content: "";
    position: absolute;
    right: 1.8rem;
    bottom: 0;
    left: 1.8rem;
    height: 0.3rem;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #d8a02f, #1b7191);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}
.header-menu li a:hover,
.header-menu li a:focus-visible {
    color: #1b4675;
    background: rgba(27, 70, 117, 0.06);
    transform: translateY(-1px);
}
.header-menu li a:hover ion-icon,
.header-menu li a:focus-visible ion-icon,
.header-menu li a[aria-current="location"] ion-icon {
    color: #d0921c;
    transform: translateY(-1px) scale(1.08);
}
.header-menu li a:hover::after,
.header-menu li a:focus-visible::after,
.header-menu li a[aria-current="location"]::after {
    transform: scaleX(1);
}
.header-menu li a[aria-current="location"] {
    color: #123a65;
    background: linear-gradient(180deg, rgba(27, 70, 117, 0.03), rgba(216, 160, 47, 0.1));
}
.header-menu li a:focus-visible {
    outline: 0.3rem solid rgba(27, 113, 145, 0.22);
    outline-offset: -0.3rem;
}
.site-header.is-scrolled .header-menu {
    box-shadow: 0 1rem 2.8rem rgba(19, 42, 68, 0.14);
}
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header .header-info,
    .site-header .header-menu {
        transition-duration: 0.01ms;
    }
}
@media (max-width: 640px) {
    .header-info .logo {
        width: 8rem;
    }
    .header-info .name span strong,
    .header-info .name span small {
        width: auto;
        padding-left: 1.6rem;
        place-items: start;
    }
    .header-info .name span small {
        display: none;
    }
    .header-info .header-auth {
        gap: 0.5rem;
        margin: 0 0.8rem;
    }
    .header-info .navigation-cta,
    .header-info .navigation-logout {
        padding: 0.9rem 1rem;
        font-size: 1.2rem;
    }
    .site-header .header-menu {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .header-menu .primary-navigation,
    .header-menu ul {
        min-width: max-content;
    }
    .header-menu li a {
        min-width: auto;
        padding: 0 1.4rem;
    }
}