:root {
    --yd-bg: #ffffff;
    --yd-bg-soft: #f7f7f7;
    --yd-text: #444444;
    --yd-title: #000000;
    --yd-muted: #8c919b;
    --yd-border: #dddddd;
    --yd-dark: #242628;
    --yd-dark-2: #222222;
    --yd-link-hover: #333333;
    --yd-focus: #0a6cff;
    --yd-font-body: "Lato", Arial, sans-serif;
    --yd-font-head: "Oswald", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--yd-bg);
    color: var(--yd-text);
    font-family: var(--yd-font-body);
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--yd-title);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

a:hover {
    color: var(--yd-link-hover);
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--yd-focus);
    outline-offset: 2px;
}

.wrapper {
    width: 1050px;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.grids {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.grid-4 {
    width: calc((100% - 60px) / 3);
}

.grid-8 {
    width: 100%;
}

.grid-10 {
    width: calc(100% - 140px);
}

.grid-2 {
    width: 120px;
    text-align: right;
}

#pageslide {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px, 75vw);
    background: var(--yd-dark);
    color: var(--yd-muted);
    z-index: 99;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
}

body.st-menu-open #pageslide {
    transform: translateX(0);
}

body.st-menu-open #site {
    transform: translateX(min(360px, 75vw));
}

#site {
    position: relative;
    background: var(--yd-bg);
    transition: transform .3s ease;
    min-height: 100vh;
}

#pageslide .block {
    padding: 20px;
}

#pageslide .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#pageslide .menu li {
    border-top: 1px solid #343133;
}

#pageslide .menu a {
    display: block;
    padding: 14px 0;
    color: var(--yd-muted);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
}

#pageslide .menu a:hover {
    color: #ffffff;
}

.menu-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: var(--yd-font-head);
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: 12px;
}

.menu-toggle:hover {
    opacity: .78;
}

.menu-toggle:active {
    transform: translateY(1px);
}

.menu-toggle-close {
    width: 100%;
    color: var(--yd-muted);
    text-align: center;
    padding: 14px 0;
    border-bottom: 1px solid #343133;
}

.top-strip {
    background: #000000;
    height: 50px;
}

.top-strip .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.secondary-menu .menu,
.main-menu .menu,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.secondary-menu .menu {
    display: flex;
    gap: 24px;
}

.secondary-menu a {
    color: var(--yd-muted);
    text-transform: uppercase;
    letter-spacing: .18em;
    font: 400 11px/1 var(--yd-font-head);
}

.secondary-menu a:hover {
    color: #ffffff;
}

#branding {
    margin: 30px 0;
}

.header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border: 3px solid #000;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 700 20px/1 var(--yd-font-head);
}

.logo-name {
    font: 700 32px/1 var(--yd-font-head);
    letter-spacing: .08em;
    color: #000;
    text-transform: uppercase;
}

.main-menu-container {
    border-top: 1px solid var(--yd-border);
    border-bottom: 1px solid var(--yd-border);
}

.main-menu .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 16px 0;
}

.main-menu a {
    text-transform: uppercase;
    letter-spacing: .16em;
    font: 400 12px/1 var(--yd-font-head);
}

#content {
    padding-top: 24px;
    padding-bottom: 50px;
}

.yd-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    color: var(--yd-muted);
    font: 400 12px/1.5 var(--yd-font-head);
    text-transform: uppercase;
    letter-spacing: .14em;
}

.yd-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
}

.entry-title,
h1,
h2,
h3 {
    margin: 0;
    font-family: var(--yd-font-head);
    color: var(--yd-title);
}

.title-with-sep {
    text-align: center;
    margin: 0 0 26px;
}

.title-with-sep .title,
.title-with-sep .entry-title {
    display: inline-block;
    padding: 8px 16px;
    border-left: 3px solid #000;
    border-right: 3px solid #000;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-unit {
    background: #000;
    color: #fff;
    padding: 30px;
}

.hero-unit .hero-title {
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-unit p {
    margin-top: 14px;
    font-size: 18px;
}

.read-more {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 24px;
    border: 3px solid #000;
    letter-spacing: .16em;
    text-transform: uppercase;
    font: 400 12px/1 var(--yd-font-head);
    background: transparent;
    color: #000;
}

.hero-unit .read-more {
    border-color: #fff;
    color: #fff;
}

.read-more:hover {
    text-decoration: none;
    box-shadow: 3px 3px 0 #000;
}

.read-more:active {
    transform: translate(1px, 1px);
}

.read-more:disabled,
button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.home-section {
    margin-top: 44px;
}

.grids.grid-layout.entries .entry-card {
    float: none;
}

.entry-card .entry-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    text-align: left;
    width: 100%;
    margin: 0;
    display: block;
}

.entry-card .entry-image > a {
    display: block;
    width: 100%;
}

.entry-card .entry-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    transition: transform .25s ease;
}

.entry-card:hover .entry-image img {
    transform: scale(1.03);
}

.top-left {
    position: absolute;
    top: 0;
    left: 0;
    border-top: 30px solid #000;
    border-right: 30px solid transparent;
}

.article-content-wrapper {
    padding-top: 14px;
    width: 100%;
}

.entry-card .entry-title {
    font-size: 23px;
    line-height: 1.32;
    letter-spacing: .02em;
    width: 100%;
}

.entry-summary p {
    margin-top: 10px;
    color: #585b61;
}

.entry-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--yd-muted);
    font: 400 12px/1 var(--yd-font-head);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.entry-category a,
.entry-meta a {
    color: var(--yd-muted);
}

.single-post-article .entry-content {
    margin-top: 22px;
    font-size: 18px;
}

.single-post-article .entry-content p {
    margin: 0 0 18px;
}

.single-post-article .entry-content h2 {
    margin: 34px 0 14px;
    font-size: 30px;
}

.single-post-article .entry-content h3 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.faq-block {
    margin-top: 34px;
    border-top: 1px solid var(--yd-border);
    padding-top: 20px;
}

.faq-block h2 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.faq-item {
    margin-top: 16px;
    padding: 14px;
    background: var(--yd-bg-soft);
    border: 1px solid #ececec;
}

.faq-item h3 {
    font-size: 20px;
    letter-spacing: .03em;
}

.faq-answer {
    margin-top: 8px;
}

.related-entries .entry-summary {
    margin-top: 10px;
    font: 700 16px/1.4 var(--yd-font-head);
}

.static-page .entry-content h2 {
    margin: 30px 0 12px;
    font-size: 28px;
    letter-spacing: .04em;
}

.yd-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    min-width: 40px;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid var(--yd-border);
    font: 700 12px/1 var(--yd-font-head);
    letter-spacing: .08em;
}

.page-link.is-current {
    background: #000;
    color: #fff;
    border-color: #000;
}

#footer {
    margin-top: 40px;
    border-top: 1px solid var(--yd-border);
}

.footer-sidebar {
    background: #f8f8f8;
    padding: 38px 0;
}

#supplementary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.widget h3 {
    font: 700 20px/1 var(--yd-font-head);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.footer-links li + li {
    margin-top: 8px;
}

.copyright {
    background: var(--yd-dark-2);
    color: var(--yd-muted);
    padding: 14px 0;
}

.copyright .grids {
    align-items: center;
    gap: 20px;
}

.copyright,
.copyright a,
.back-top {
    color: var(--yd-muted);
    font: 400 12px/1 var(--yd-font-head);
    text-transform: uppercase;
    letter-spacing: .14em;
}

.back-top {
    border: 0;
    background: transparent;
    padding: 0;
}

.back-top:hover {
    color: #ffffff;
    text-decoration: none;
}

.back-top:active {
    transform: translateY(1px);
}

.error-wrapper {
    max-width: 760px;
    text-align: center;
}

.error-wrapper p + p {
    margin-top: 10px;
}

.error-categories {
    margin-top: 24px;
}

.error-categories h2 {
    font-size: 24px;
    margin-bottom: 14px;
}

.error-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.error-categories a {
    border: 1px solid var(--yd-border);
    padding: 8px 12px;
}

@media only screen and (max-width: 960px) {
    .main-menu {
        display: none;
    }

    .secondary-menu {
        display: none;
    }

    .menu-toggle-open {
        display: inline-block;
        color: #111111;
    }

    .grid-4 {
        width: calc((100% - 30px) / 2);
    }

    .hero-unit .hero-title {
        font-size: 32px;
    }
}

@media only screen and (min-width: 961px) {
    .menu-toggle-open {
        display: none;
    }
}

@media only screen and (max-width: 750px) {
    .wrapper {
        max-width: calc(100% - 30px);
    }

    .grids {
        gap: 20px;
    }

    .grid-4,
    .grid-10,
    .grid-2 {
        width: 100%;
        text-align: left;
    }

    #supplementary {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-unit {
        padding: 22px;
    }

    .hero-unit .hero-title {
        font-size: 26px;
    }

    body.st-menu-open #site {
        transform: translateX(min(300px, 72vw));
    }

    #pageslide {
        width: min(300px, 72vw);
    }
}
