@font-face {
    font-family: DharmaGothicE;
    font-style: normal;
    font-weight: 400;
    src: local(""), url("../fonts/DharmaGothicE-Regular.otf") format("opentype");
}

@font-face {
    font-family: DharmaGothicE;
    font-style: normal;
    font-weight: 700;
    src: local(""), url("../fonts/DharmaGothicE-Bold.otf") format("opentype");
}

@font-face {
    font-family: Abril Fatface;
    font-style: normal;
    font-weight: 400;
    src: local(""), url("../fonts/AbrilFatface-Regular.otf") format("opentype");
}

@font-face {
    font-family: ABC Favorit;
    font-style: normal;
    font-weight: 500;
    src: local(""), url("../fonts/ABCFavorit-Medium.otf") format("opentype");
}

@font-face {
    font-family: ABC Favorit;
    font-style: normal;
    font-weight: 700;
    src: local(""), url("../fonts/ABCFavorit-Bold.otf") format("opentype");
}

:root {
    --font-sans: "ABC Favorit", Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", Times, serif;
    --font-accent-serif: "Abril Fatface", Georgia, "Times New Roman", Times, serif;
    --font-display: DharmaGothicE, Impact, "Arial Narrow", sans-serif;
    --color-primary-text: #050505;
    --color-secondary-text: #050505;
    --color-light-gray: #b5ecff;
    --ts-blue: #45bfeb;
    --ts-border: #39bff0;
    --ts-max-width: 1210px;
}

body {
    background: #fff;
    color: #050505;
}

.gh-outer {
    padding-right: 24px;
    padding-left: 24px;
}

.gh-inner {
    max-width: var(--ts-max-width);
}

body:not(.is-head-stacked) .gh-head,
.gh-head {
    height: 86px;
    background-color: #c9f3ff;
    background-image: url("../images/header-bg.png");
    background-position: center top;
    background-size: cover;
}

body:not(.is-head-stacked) .gh-head-inner,
.gh-head-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(18px, 2.4vw, 34px);
    min-height: 86px;
    border-bottom: 0;
}

.gh-head-logo {
    flex-shrink: 0;
    height: auto;
    line-height: 0;
}

.gh-head-logo img {
    width: 66px;
    max-height: none;
}

.gh-head-menu {
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.gh-head-menu .nav {
    gap: clamp(14px, 1.9vw, 30px);
    font-family: var(--font-display);
    font-size: clamp(1.42rem, 1.3vw, 1.72rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.gh-head-menu .nav > li {
    opacity: 1 !important;
}

.gh-head-menu .nav a {
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.gh-head-menu .nav a:hover,
.gh-head-menu .nav a:focus-visible {
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-color: var(--ts-border);
    opacity: 1;
}

.gh-head-actions {
    gap: 10px;
}

.gh-search {
    display: none !important;
}

.ts-head-search {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #050505;
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid #050505;
    border-radius: 999px;
    cursor: pointer;
}

.ts-head-search:hover {
    opacity: 1;
    background: #fff;
}

.ts-head-search-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
}

.ts-head-search-icon svg {
    width: 16px;
    height: 16px;
}

.ts-head-search-label {
    display: none;
}

.gh-head-members {
    gap: 10px;
}

.gh-head-link,
.gh-head-btn,
.gh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 44px;
    padding: 0 22px;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    color: #050505;
    border: 2px solid #050505;
    border-radius: 999px;
}

.gh-head-link {
    color: #050505;
    background: #45bfeb;
    border-color: transparent;
    box-shadow: none;
}

.gh-head-btn,
.gh-primary-btn {
    color: #050505;
    background: #fff;
}

.gh-main {
    padding-top: 60px;
}

.gh-topic-grid .gh-topic-name,
.gh-pagehead-title,
.gh-topic-header .gh-topic-name,
.gh-card-title,
.gh-topic-link,
.gh-subscribe-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gh-topic-grid .gh-topic-name,
.gh-pagehead-title {
    display: inline-block;
    padding-bottom: 7px;
    margin-bottom: 34px;
    font-size: 4.6rem;
    border-bottom: 2px solid var(--ts-border);
}

.gh-pagehead {
    margin-bottom: 0;
}

.home-template .gh-topic-grid:first-child {
    padding-bottom: 72px;
    border-bottom: 3px solid var(--ts-border);
}

.home-template .gh-topic-grid:first-child .gh-topic-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.home-template .gh-topic-grid:first-child .gh-card.large {
    grid-column: 1 / -1;
    padding-bottom: 44px;
    margin-bottom: 72px;
    border-bottom: 0;
}

.home-template .gh-topic-grid:first-child .gh-card.large .gh-card-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
    gap: 30px;
    align-items: center;
}

.home-template .gh-topic-grid:first-child .gh-card.large .gh-card-image,
.home-template .gh-topic-grid:first-child .gh-card.large .gh-card-wrapper {
    width: 100%;
}

.home-template .gh-topic-grid:first-child .gh-card.large .gh-card-image::before {
    padding-bottom: 56.5%;
}

.home-template .gh-topic-grid:first-child .gh-card.large .gh-card-title {
    max-width: 570px;
    font-size: clamp(5rem, 5.7vw, 7.2rem);
    line-height: 0.89;
}

.home-template .gh-topic-grid:first-child .gh-card.large .gh-card-excerpt {
    max-width: 520px;
    margin-top: 24px;
    font-family: var(--font-accent-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.07;
}

.gh-content {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.72;
}

.gh-content > p,
.gh-content > ul,
.gh-content > ol,
.gh-content > blockquote,
.gh-content .kg-callout-text,
.gh-content .kg-toggle-content > p,
.gh-content .kg-toggle-content > ul,
.gh-content .kg-toggle-content > ol {
    font-family: var(--font-serif);
    font-weight: 400;
}

.gh-content > strong,
.gh-content strong {
    font-weight: 700;
}

.gh-article-excerpt {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

.gh-card-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #050505;
}

.gh-card-footer > * + *:not(script)::before {
    width: 10px;
    height: 2px;
    margin-right: 12px;
    margin-left: 0;
    border-radius: 0;
    transform: translateY(-2px);
}

.home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-link {
    display: grid;
    grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-image {
    width: 100%;
}

.home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-image::before {
    padding-bottom: 56%;
}

.home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-title {
    padding-bottom: 9px;
    font-size: clamp(2.8rem, 3vw, 3.8rem);
    line-height: 0.9;
    border-bottom: 1.5px solid #b5ecff;
}

.home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-footer {
    margin-top: 13px;
}

.gh-topic-footer {
    padding-top: 0;
    margin-top: 44px;
    text-align: center;
    border-top: 0;
}

.gh-topic-grid:first-child .gh-topic-footer {
    margin-top: 34px;
}

.gh-topic-link {
    font-size: 2.8rem;
    color: #050505;
}

.gh-topic-link svg {
    display: none;
}

.gh-topic-link::after {
    content: " »";
}

.gh-topic-grid + .gh-topic-grid,
.gh-topic-list {
    margin-top: 104px;
}

.gh-topic-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 72px;
}

.ts-topic-directory {
    align-items: start;
}

.gh-topic-header {
    display: block;
    padding-bottom: 0;
    margin-bottom: 24px;
    border-bottom: 0;
}

.gh-topic-header .gh-topic-name {
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 18px;
    font-size: 3.8rem;
    border-bottom: 1.5px solid var(--ts-border);
}

.gh-topic-header .gh-topic-link {
    float: right;
    margin-top: 31px;
    font-size: 1.4rem;
}

.gh-topic-minimal .gh-card-title {
    font-family: var(--font-display);
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: capitalize;
}

.gh-topic-minimal .gh-card + .gh-card {
    margin-top: 24px;
}

.gh-topic-minimal .gh-card-footer {
    margin-top: 10px;
    font-size: 1.4rem;
}

.ts-site-footer {
    display: block;
    min-height: 360px;
    padding: 76px 24px 42px;
    margin-top: 110px;
    background-color: #c9f3ff;
    background-image: url("../images/footer-bg-clean.png");
    background-position: center 58%;
    background-size: cover;
}

.ts-site-footer,
.ts-site-footer a,
.ts-site-footer a:hover {
    color: #050505;
}

.ts-site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--ts-max-width);
    margin: 0 auto;
}

.ts-site-subscribe {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.ts-site-subscribe-title {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(4.4rem, 5vw, 6.6rem);
    font-weight: 700;
    line-height: 1;
    color: #050505;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
}

.ts-site-subscribe-description {
    max-width: 560px;
    margin: 16px auto 0;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.12;
    color: #050505;
    white-space: normal;
}

.ts-site-subscribe-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 124px;
    min-height: 40px;
    padding: 0 26px;
    margin-top: 30px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 40px;
    color: #fff;
    background: #050505;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.ts-site-footer-nav {
    width: auto;
    padding: 0;
    border: 0;
}

.ts-site-footer-nav .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    list-style: none;
}

.ts-site-footer-nav .nav li,
.ts-site-footer-nav .nav a {
    display: inline-flex;
    line-height: 1;
}

.ts-site-footer-nav .nav li + li::before {
    display: none;
}

.ts-site-copyright {
    display: none;
}

@media (max-width: 1100px) {
    body:not(.is-head-stacked) .gh-head-inner,
    .gh-head-inner {
        grid-template-columns: auto 1fr auto;
    }

    .gh-head-menu .nav {
        gap: 22px;
    }

    .ts-head-search {
        width: 42px;
        justify-content: center;
        padding: 0;
    }

    .ts-head-search-label {
        display: none;
    }

    .home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-link {
        grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .home-template .gh-topic-grid:first-child .gh-topic-content {
        grid-template-columns: 1fr;
    }

    .home-template .gh-topic-grid:first-child .gh-card.large,
    .home-template .gh-topic-grid:first-child .gh-card.large .gh-card-link {
        grid-column: auto;
    }

    .home-template .gh-topic-grid:first-child .gh-card.large .gh-card-link {
        grid-template-columns: 1fr;
    }

    .gh-topic-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .gh-outer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .gh-main {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .gh-head {
        height: 76px;
    }

    .gh-head-inner {
        min-height: 76px;
    }

    .gh-head-logo img {
        width: 58px;
    }

    .gh-burger::before,
    .gh-burger::after {
        background-color: #050505;
    }

    .ts-head-search {
        width: 100%;
        max-width: 240px;
        justify-content: center;
        padding: 0 18px;
    }

    .ts-head-search-label {
        display: inline;
    }

    .gh-topic-grid .gh-topic-name,
    .gh-pagehead-title {
        font-size: 3.9rem;
    }

    .home-template .gh-topic-grid:first-child {
        padding-bottom: 48px;
    }

    .home-template .gh-topic-grid:first-child .gh-card.large {
        padding-bottom: 20px;
        margin-bottom: 32px;
    }

    .home-template .gh-topic-grid:first-child .gh-card.large .gh-card-title {
        font-size: 4.7rem;
    }

    .home-template .gh-topic-grid:first-child .gh-card.large .gh-card-excerpt {
        font-size: 1.75rem;
    }

    .home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-link {
        grid-template-columns: 42% minmax(0, 1fr);
        gap: 16px;
    }

    .home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-title {
        font-size: 2.6rem;
    }

    .gh-card-footer {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 1.35rem;
    }

    .gh-topic-link {
        font-size: 2.3rem;
    }

    .gh-topic-grid + .gh-topic-grid,
    .gh-topic-list {
        margin-top: 64px;
    }

    .gh-topic-list {
        grid-template-columns: 1fr;
    }

    .gh-topic-header .gh-topic-name {
        font-size: 3.2rem;
    }

    .gh-topic-header .gh-topic-link {
        margin-top: 25px;
    }

    .gh-topic-minimal .gh-card-title {
        font-size: 1.8rem;
    }

    .ts-site-footer {
        padding-top: 54px;
        padding-bottom: 34px;
        margin-top: 68px;
    }

    .ts-site-subscribe-title {
        font-size: 4.4rem;
    }

    .ts-site-subscribe-description {
        font-size: 1.6rem;
    }

    .ts-site-footer-nav .nav {
        gap: 22px;
    }
}

@media (max-width: 520px) {
    .home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-link {
        grid-template-columns: 1fr;
    }

    .home-template .gh-topic-grid:first-child .gh-card:not(.large) .gh-card-image::before {
        padding-bottom: 54%;
    }
}
