/* Blog layout. Fonts are provided by the site's main stylesheet. */
.rsm-blog-page {
    box-sizing: border-box;
    max-width: 1366px;
    margin: 0 auto;
    padding: 32px 32px 0 0;
    color: #171717;
}
.rsm-blog-page__breadcrumbs {
    margin: 0 0 24px;
    padding-left: 20px;
    font: 300 13px/1.4 TTCommons, sans-serif;
    color: #888;
}
.rsm-blog-page__breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.rsm-blog-page__breadcrumbs span {
    margin: 0 5px;
    color: #aaa;
}
.rsm-blog {
    display: grid;
    grid-template-columns: 316px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}
.rsm-blog__sidebar {
    min-width: 0;
}
.rsm-blog__title {
    margin: 0 0 13px;
    padding: 0 20px;
    font: 300 42px/1.15 HeliosExtLight, Arial, sans-serif;
    text-transform: uppercase;
}
.rsm-blog__rubrics {
    margin: 0 0 25px;
    padding: 0;
    border: 0;
}
.rsm-blog__rubrics-toggle {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 12px 0 20px;
    border-bottom: 1px solid #888;
    font: 400 14px/20px HeliosExt, Arial, sans-serif;
    color: #171717;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}
/* Replace the site's generic summary arrow with one on the right. */
.rsm-blog__rubrics-toggle::before,
.rsm-blog__rubrics-toggle::-webkit-details-marker {
    display: none;
    content: none;
}
.rsm-blog__rubrics-toggle::marker {
    content: "";
}
.rsm-blog__rubrics-toggle::after {
    box-sizing: border-box;
    content: "";
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    margin: 0 2px 5px 12px;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: rotate(135deg);
}
.rsm-blog__rubrics[open] .rsm-blog__rubrics-toggle::after {
    margin-bottom: -5px;
    transform: rotate(-45deg);
}
.rsm-blog__rubric-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 20px 0;
}
.rsm-blog__rubric {
    display: block;
    max-width: 100%;
    font: 400 15px/1.4 TTCommons, sans-serif;
    color: #888;
    text-decoration: none;
    text-transform: uppercase;
}
.rsm-blog__rubric:hover,
.rsm-blog__rubric.is-active {
    color: #171717;
}
.rsm-blog__tags {
    padding: 3px 20px 0;
    border-top: 1px solid #888;
}
.rsm-blog__tags h2 {
    margin: 0;
    font: 300 14px/20px TTCommons, sans-serif;
    color: #888;
    text-transform: uppercase;
}
.rsm-blog__tags nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.rsm-blog__tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 16px;
    min-height: 22px;
    max-width: 100%;
}
.rsm-blog__tag {
    display: inline-block;
    max-width: 100%;
    font: 300 14px/22px TTCommons, sans-serif;
    color: #888;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.rsm-blog__tag:hover,
.rsm-blog__tag.is-active {
    color: #171717;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rsm-blog__reset,
.rsm-blog__previous {
    display: inline-block;
    font: 300 14px/1.4 TTCommons, sans-serif;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rsm-blog__reset {
    margin-top: 16px;
}
.rsm-blog__tags-empty {
    margin: 8px 0 0;
    font: 300 14px/1.4 TTCommons, sans-serif;
    color: #888;
}
.rsm-blog__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 54px 10px;
}
.rsm-blog-card {
    grid-column: span 3;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.rsm-blog-card:nth-child(7n+5),
.rsm-blog-card:nth-child(7n+6),
.rsm-blog-card:nth-child(7n+7) {
    grid-column: span 2;
}
.rsm-blog-card__image {
    display: block;
    aspect-ratio: 1.52;
    overflow: hidden;
    background: #fafafa;
}
:where(.rsm-blog-card:nth-child(7n+5), .rsm-blog-card:nth-child(7n+6), .rsm-blog-card:nth-child(7n+7)) .rsm-blog-card__image {
    aspect-ratio: 1;
}
.rsm-blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}
.rsm-blog-card__image:hover img {
    transform: scale(1.025);
}
.rsm-blog-card__date {
    display: block;
    margin: 10px 0;
    font: 300 13px/1.25 TTCommons, sans-serif;
    color: #888;
    text-transform: uppercase;
}
.rsm-blog-card__date span {
    margin-left: 5px;
}
.rsm-blog-card__title {
    margin: 0;
    font: 300 15px/1.16 HeliosExtLight, Arial, sans-serif;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.rsm-blog-card__title a {
    color: inherit;
    text-decoration: none;
}
.rsm-blog-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rsm-blog__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 68px 0 0;
}
.rsm-blog__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    min-height: 31px;
    padding: 8px 24px;
    border: 1px solid #666;
    background: transparent;
    font: 300 10px/1.2 HeliosExtLight, Arial, sans-serif;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
}
.rsm-blog__more:hover {
    background: #171717;
    color: #fff;
}
.rsm-blog__status {
    min-height: 20px;
    margin: 16px 0 0;
    font: 300 14px/1.4 TTCommons, sans-serif;
    text-align: center;
}
.rsm-blog__status:empty {
    min-height: 0;
    margin: 0;
}
.rsm-blog__empty {
    font: 300 18px/1.5 TTCommons, sans-serif;
}
.rsm-blog__empty a {
    color: inherit;
    text-decoration: underline;
}
.rsm-blog [hidden] {
    display: none;
}
.rsm-blog[aria-busy="true"] .rsm-blog__grid {
    opacity: .55;
}
.rsm-blog a:focus-visible,
.rsm-blog__rubrics-toggle:focus-visible {
    outline: 2px solid #171717;
    outline-offset: 4px;
}

/* Article layout. */
.rsm-entry {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.rsm-entry__title {
    font: 400 36px/1.2 HeliosExtLight,Arial,sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}

.rsm-entry__hero {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px auto;
}

.rsm-entry__body {
    font: 300 18px/1.6 TTCommons,sans-serif;
    overflow-wrap: anywhere;
}

.rsm-entry__body img,.rsm-entry__body video {
    max-width: 100%;
    height: auto;
}

.rsm-entry__body iframe {
    max-width: 100%;
}

.rsm-entry__body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.rsm-entry__body h2 {
    font: 400 30px/1.35 HeliosExtLight,Arial,sans-serif;
    margin: 48px 0 30px;
    text-align: center;
}

.rsm-entry__body h3 {
    font: 400 24px/1.4 HeliosExtLight,Arial,sans-serif;
    margin: 36px 0 24px;
    text-align: center;
}

.rsm-entry__body ul,.rsm-entry__body ol {
    padding-left: 28px;
}

.rsm-entry__date {
    display: block;
    color: #888;
    margin-bottom: 24px;
}

.rsm-entry__gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 32px 0;
    padding: 0 0 12px;
}

.rsm-entry__gallery figure {
    flex: 0 0 85%;
    scroll-snap-align: start;
    margin: 0;
}

.rsm-entry__gallery figure:only-child {
    flex-basis: 100%;
}

.rsm-entry__gallery img {
    display: block;
    max-height: 650px;
    width: 100%;
    object-fit: contain;
}

.rsm-entry__gallery figcaption {
    color: #777;
    font-size: 15px;
    margin-top: 8px;
    text-align: center;
}

.rsm-entry__author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.rsm-entry__author img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

.rsm-entry__back {
    display: inline-block;
    margin: 32px 0;
    text-decoration: underline;
}

.rsm-entry__related {
    margin: 40px 0;
}

.rsm-entry__related a {
    display: block;
    margin: 10px 0;
    text-decoration: underline;
}

@media (min-width: 701px) and (max-width: 1365px) {
    .rsm-blog-page {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (min-width: 701px) and (max-width: 1100px) {
    .rsm-blog {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 30px;
    }
    .rsm-blog__title {
        font-size: 38px;
    }
    .rsm-blog-card__title {
        font-size: 13px;
    }
    .rsm-blog__tags {
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (max-width: 700px) {
    .rsm-blog-page {
        padding: 24px 16px 0;
    }
    .rsm-blog-page__breadcrumbs {
        margin-bottom: 24px;
        padding-left: 0;
        font-size: 12px;
    }
    .rsm-blog {
        display: block;
    }
    .rsm-blog__sidebar {
        width: 316px;
        max-width: 100%;
    }
    .rsm-blog__title {
        margin-bottom: 16px;
        padding: 0;
        font-size: 36px;
    }
    .rsm-blog__rubrics {
        margin-bottom: 22px;
    }
    .rsm-blog__rubrics-toggle,
    .rsm-blog__rubric-list {
        padding-left: 16px;
    }
    .rsm-blog__tags {
        margin-bottom: 34px;
        padding: 6px 16px 0;
    }
    .rsm-blog__grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .rsm-blog-card__image {
        aspect-ratio: 1.42;
    }
    .rsm-blog-card__title {
        font-size: 15px;
        line-height: 1.25;
    }
    .rsm-blog-card__date {
        margin: 10px 0;
        font-size: 12px;
    }
    .rsm-blog__pagination {
        margin-top: 44px;
    }
    .rsm-blog__more {
        min-width: 200px;
        min-height: 36px;
    }
    .rsm-entry__title {
        font-size: 26px;
    }
    .rsm-entry__body {
        font-size: 17px;
    }
    .rsm-entry__body h2 {
        font-size: 24px;
    }
    .rsm-entry__body h3 {
        font-size: 21px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rsm-blog-card__image img {
        transition: none;
    }
}
