/* Custom overrides for the static build */
@font-face {
    font-family: 'Unica One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/UnicaOne-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Alegreya Sans SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/AlegreyaSansSC-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url('/fonts/Inter-Regular.woff2') format('woff2'),
        url('/fonts/Inter-Regular.ttf') format('truetype');
}

.gh-head-logo {
    font-family: 'Unica One';
    font-weight: 400;
}

body {
    font-family: 'Alegreya Sans SC', sans-serif;
}

.post-template .gh-content {
    font-family: 'Inter', 'Alegreya Sans SC', sans-serif;
    font-weight: 400;
}

.gh-copyright {
    font-family: 'Inter', 'Alegreya Sans SC', sans-serif;
}

.sf-newsletter {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sf-newsletter__label {
    font-size: 1.2rem;
    text-transform: lowercase;
}
.sf-newsletter__description {
    margin: 0;
    font-size: 1rem;
}
.sf-newsletter__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sf-newsletter input[type="email"] {
    flex: 1 1 240px;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    border: 1px solid #00394e;
    font-size: 1rem;
}
.sf-fade {
    opacity: 1;
    transition: opacity 0.35s ease;
}
.sf-preload .sf-fade {
    opacity: 0;
}

.sf-search {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding-top: 8rem;
}
.sf-search.is-active {
    display: flex;
}
.sf-search__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}
.sf-search__panel {
    position: relative;
    background: var(--sf-search-bg, #ffffff);
    color: #00394e;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
    width: min(51.2rem, 95vw);
    max-height: 80vh;
    border-radius: 16px;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
    justify-content: center;
}
.sf-search__body {
    padding: 0 1.5rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    flex: 1;
}
.sf-search__input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding-top: 1.5rem;
}
.sf-search__input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--sf-search-bg, #ffffff);
    padding: 0.85rem 0;
    border-radius: 12px;
    border: none;
    margin-bottom: 0;
    flex: 1;
}
.sf-search__icon {
    display: flex;
    align-items: center;
    color: #00394e;
}
.sf-search__body input[type="search"] {
    width: 100%;
    padding: 0;
    font-size: 1.65rem;
    font-family: inherit;
    font-weight: 400;
    border-radius: 0;
    border: none;
    background: transparent;
    color: rgb(115 115 115 / var(--tw-text-opacity, 1));
    --tw-text-opacity: 1;
}
.sf-search__body input[type="search"]:focus {
    outline: none;
    box-shadow: none;
}
.sf-search__cancel {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: rgb(115 115 115 / var(--tw-text-opacity, 1));
    cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.5rem;
    font-family: inherit;
    font-weight: 400;
}
@media (max-width: 640px) {
    .sf-search__panel {
        width: 95vw;
        margin: 0 auto;
        justify-content: center;
    }
    .sf-search__input-row {
        align-items: center;
        width: 100%;
    }
    .sf-search__cancel {
        display: flex;
        margin-left: auto;
    }
}
.sf-search__results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: none;
    padding-top: 0;
}
.sf-search__results.has-results {
    border-top: 1px solid #000;
    margin-top: 5px;
    padding-top: 1.5rem;
}
.sf-fade {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sf-site-ready .sf-fade {
    opacity: 1;
}
.gh-card-image,
.gh-article-image {
    width: 100%;
    overflow: hidden;
}
.gh-card-image img,
.gh-article-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    color: transparent;
}
.sf-card {
    opacity: 0;
    transition: opacity 0.45s ease;
}
.sf-card.is-visible {
    opacity: 1;
}
.sf-search-result {
    border-bottom: 1px solid rgba(0, 57, 78, 0.2);
    padding-bottom: 1rem;
}
.sf-search-result:last-child {
    border-bottom: none;
}
.sf-search-result a {
    color: #00394e;
    text-decoration: none;
}
.sf-search-result h3 {
    margin: 0 0 0.25rem;
    font-size: 1.65rem;
    font-family: inherit;
    font-weight: 400;
}
.sf-search-result p {
    font-size: 1.65rem;
    font-family: inherit;
    font-weight: 400;
}
.gh-load-more {
    background: none;
    border: none;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: rgb(115 115 115 / 1);
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}
.gh-load-more:hover {
    color: #00394e;
}
.gh-load-more:focus-visible {
    outline: 2px dotted #00394e;
    outline-offset: 4px;
}
.gh-feed-actions {
    text-align: center;
    margin-top: 1.5rem;
}
@media (max-width: 767px) {
    #gh-main {
        padding-top: 0;
    }
}
.has-classic-feed .gh-card-title {
    background-attachment: fixed;
}

.sf-post-nav {
    position: relative;
    margin: 1.8rem auto 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.sf-post-nav-inner {
    position: relative;
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0;
}
.sf-post-nav__sentinel {
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: -1px;
    opacity: 0;
}
.gh-navigation {
    position: relative;
    display: flex;
    gap: 1.6rem;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-radius: 999px;
    background: transparent;
    width: 100%;
    margin: 0 auto;
}
.gh-navigation.is-sticky {
    position: fixed;
    top: 2.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(
        var(--container-width, 1200px),
        calc(100% - var(--gap, 3.6rem) * 2)
    );
    z-index: 20;
    pointer-events: auto;
}
.gh-navigation-middle {
    display: none;
}
.gh-navigation-previous,
.gh-navigation-next {
    flex: 1;
}
.gh-navigation-link {
    display: inline-flex;
    justify-content: center;
    font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.6rem);
    font-weight: 600;
    color: #00394e;
    letter-spacing: 0.25em;
    text-transform: lowercase;
    line-height: 1.2;
    background-color: #fff;
    padding: 13px;
}
@media (max-width: 640px) {
    .sf-post-nav {
        width: 100%;
    }
    .gh-navigation {
        padding: 1rem 0;
        border-radius: 1.6rem;
    }
    .gh-navigation-link {
        font-size: clamp(1.4rem, 1rem + 1.8vw, 2rem);
        letter-spacing: 0.15em;
    }
}

@media (max-width: 767px) {
    .gh-head-brand {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 0.75rem;
        padding: 0;
    }
    .gh-head-brand-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gh-head-logo {
        margin: 0 auto;
        padding-left: 6rem;
    }
    .gh-head-brand .gh-search {
        display: inline-flex !important;
        margin-left: auto;
        margin-right: calc(var(--gap, 3.6rem) - 1rem);
    }
    .gh-head-brand .gh-burger {
        margin-left: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gh-head-inner {
        display: flex;
        align-items: center;
        height: 100%;
    }
    .gh-head-brand {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 0.75rem;
        padding: 0 var(--gap, 3.6rem);
    }
    .gh-head-brand-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gh-head-logo {
        margin: 0 auto;
        padding-left: 9rem;
    }
    .gh-head-brand .gh-search {
        display: inline-flex !important;
        margin-left: auto;
        margin-right: calc(var(--gap, 3.6rem) - 1rem);
    }
    .gh-head-brand .gh-burger,
    .gh-head-actions,
    .gh-head-menu,
    .gh-head .nav {
        display: none;
    }
}

.gh-card-wrapper-post {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.gh-card-date {
    text-transform: lowercase;
}
