.c-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 32px;
}

.c-post-card-wrap {
    display: flex;
    transition: transform 0.5s ease;
}

.c-post-card__media {
    overflow: hidden;
    background: var(--color-surface);
}

.c-post-card__image-wrap {
    position: relative;
    display: block;
    padding-top: 75%;
}

.c-post-card__image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-post-card__content { flex-grow: 1; }

.c-post-card__tags {
    float: left;
    margin-top: 20px;
    margin-bottom: 14px;
    padding-left: 8px;
    border-left: 2px solid var(--color-accent);
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.c-post-card__tags a {
    margin-right: 4px;
    margin-left: 4px;
    color: var(--color-muted);
    text-transform: uppercase;
}

.c-post-card__tags a:first-child { margin-left: 0; }
.c-post-card__tags a:hover { color: var(--color-text); }

.c-post-card__title {
    clear: both;
    margin-bottom: 14px;
    font-size: 19px;
    font-weight: 500;
}

.c-post-card__title-link {
    border-bottom: 1px solid transparent;
    transition: border-color 0.5s;
}

.c-post-card:hover .c-post-card__title-link {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
}

.c-post-card:hover .c-post-card__image-wrap { transform: scale(1.01); }

.c-post-card__meta {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.c-post-card__author { display: inline-block; }
.c-post-card__author a { color: var(--color-muted); }
.c-post-card__author a:hover { color: var(--color-text); }

.c-post-card__author::before {
    content: "/";
    display: inline-block;
    margin-right: 8px;
    padding-left: 4px;
}

@media (min-width: 64em) {
    .home-template .c-post-card-wrap--lead .c-post-card__image-wrap {
        padding-top: calc(60% - 32px);
    }

    .home-template .c-post-card-wrap--side .c-post-card__image-wrap {
        padding-top: calc(125.2% - 32px);
    }
}

.c-archive {
    margin-bottom: 32px;
    padding: 32px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}

.c-archive__title { margin-bottom: 0; font-size: 19px; }
.c-archive__description { margin: 8px 0 0; font-size: 14px; line-height: 22px; }

.c-pagination { margin: 32px 0; }

.c-btn {
    display: inline-block;
    padding: 16px 32px;
    border: 1px solid #000;
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 1px;
    line-height: initial;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: 250ms;
}

.c-btn:hover,
.c-btn:focus {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
}

.c-btn--full { width: 100%; }
.c-btn--small { padding: 12px 24px; }

.c-btn--active {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
}

.c-empty {
    margin: 32px 0;
    color: var(--color-muted);
}

.c-post-hero { margin-bottom: 32px; }

.c-post-hero__media {
    position: relative;
    display: block;
    padding-top: 58%;
    background: var(--color-surface);
}

.c-post-hero__image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--color-surface);
}

.c-post-hero__content {
    padding: 24px;
    border: 1px solid var(--color-line);
    border-top: 0;
    background: var(--color-surface);
}

.c-post-hero__content--raw {
    border-width: 1px;
    border-color: var(--color-line);
    text-align: center;
}

.c-post-hero__content--raw .c-post-hero__title {
    max-width: 60%;
    margin-right: auto;
    margin-left: auto;
}

.c-post-hero__title {
    margin-bottom: 8px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: normal;
}

@media (min-width: 40em) {
    .c-post-hero__title { font-size: 28px; }
}

@media (min-width: 64em) {
    .c-post-hero .o-grid { align-items: stretch; }

    .c-post-hero .o-grid__col {
        display: flex;
        flex-direction: column;
    }

    .c-post-hero__media { margin-right: -32px; }

    .c-post-hero__content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 32px;
        border-width: 1px;
        border-color: var(--color-line) var(--color-line) var(--color-line) var(--color-white);
    }

    .c-post-hero__title {
        margin-top: auto;
        font-size: 32px;
    }

    .c-post-hero__content--raw { border-color: var(--color-line); }
}

.c-post-hero__meta {
    color: var(--color-muted);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.c-post-hero__meta time + .c-post-hero__reading { margin-left: 8px; }
.kg-toggle-card {
    background: transparent;
    box-shadow: inset 0 0 0 1px #7c8b9a40;
    border-radius: 4px;
    padding: 1.2em
}

.kg-toggle-card[data-kg-toggle-state=close] .kg-toggle-content {
    height: 0;
    overflow: hidden;
    transition: opacity .5s ease,top .35s ease;
    opacity: 0;
    top: -.5em;
    position: relative
}

.kg-toggle-content {
    height: auto;
    opacity: 1;
    transition: opacity 1s ease,top .35s ease;
    top: 0;
    position: relative
}

.kg-toggle-card[data-kg-toggle-state=close] svg {
    transform: unset
}

.kg-toggle-heading {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.kg-toggle-card h4.kg-toggle-heading-text {
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.3em;
    margin-top: 0;
    margin-bottom: 0
}

.kg-toggle-content p:first-of-type {
    margin-top: .5em
}

.kg-toggle-card .kg-toggle-content p,.kg-toggle-card .kg-toggle-content ol,.kg-toggle-card .kg-toggle-content ul {
    font-size: .95em;
    line-height: 1.5em;
    margin-top: .95em;
    margin-bottom: 0
}

.kg-toggle-card li+li {
    margin-top: .5em
}

.kg-toggle-card-icon {
    height: 24px;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1em;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer
}

.kg-toggle-heading svg {
    width: 14px;
    color: #7c8b9a80;
    transition: all .3s;
    transform: rotate(-180deg)
}

.kg-toggle-heading path {
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    fill-rule: evenodd
}

.kg-toggle-card+.kg-toggle-card {
    margin-top: 1em
}