/* Blog homepage */

.blog-post-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    padding: 0;
}

.blog-post-item {
    border: 1px solid #e6e6e6;
    border-radius: 1px;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

@media print, screen and (min-width: 30em) {
    .blog-post-item {
        width: 44.5%;
        width: calc(50% - 1rem);
    }
}

@media print, screen and (min-width: 64em) {
    .blog-post-item {
        max-width: 15rem;
        min-width: 10rem;
        width: 30%;
        width: calc(33.33333% - 1rem);
    }
}

.blog-post-details {
    padding: 1rem;
}

.blog-post-title {
    color: #016fcb;
    font-family: 400 1rem/1.2 'Montserrat', sans-serif;
    letter-spacing: -0.0225em;
    margin-bottom: 0.5rem;
}

.blog-post-item:focus .blog-post-title,
.blog-post-item:hover .blog-post-title {
    color: #0161b2;
}

.blog-post-thumbnail {
    position: relative;
}

.blog-post-thumbnail-video {
    height: 3rem;
    left: calc(50% - 1.5rem);
    position: absolute;
    top: calc(50% - 1.5rem);
    width: 3rem !important;
}

.blog-post-date {
    color: #767676;
    margin-bottom: 0.5rem;
}

.blog-post-date svg {
    top: -2px;
}

.blog-post-summary {
    flex: 1 0 auto;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

/* Post */

.post .blog-post-date-author {
    font-size: 0.85em;
}

.post .blog-post-tags,
.post .blog-post-tags .sfTagsList,
.post .blog-title,
.post .blog-title .title,
.post .catagory-posts .blog-post-thumbnail,
.post .medium .blog-post-thumbnail,
.post .recent-post .desc .blog-post-link,
.post .small .blog-post-thumbnail {
    position: relative;
}

.post .blog-post-tags {
    border-bottom: 1px solid #e6e6e6;
    border-top: 1px solid #cacaca;
    clear: both;
    display: flex;
    flex-wrap: wrap;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 1rem 0 0.6rem;
}

.post .sfTagsList {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.post .sfTagsList li {
    color: #767676;
    flex: 0 0 auto;
    list-style-type: none;
}

.post .sfTagsList li:first-of-type {
    margin-left: 0.25em;
}

.post .sfTagsList a {
    background-color: #e9e9e9;
    border-radius: 1px;
    color: #0a0a0a;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0.5em 0.5em 0;
    padding: 0.33333em 0.5em;
    -webkit-text-decoration: 1px underline transparent;
    text-decoration: 1px underline transparent;
    text-transform: lowercase;
    transition: 0.2s ease-out;
}

.post .sfTagsList a:focus,
.post .sfTagsList a:hover {
    -webkit-text-decoration-color: currentColor;
    text-decoration-color: currentColor;
}

.blog-post-related {
    border-top: 1px solid #cacaca;
    padding-top: 1rem;
}

.post .author-desc-table .icon img {
    border-radius: 50%;
    max-width: 5rem;
}

.post .author-desc-table .desc p:not(.author) {
    color: #767676;
    font-size: 0.8rem;
}

.post .author-desc-table .author {
    margin-bottom: 0;
}

.sfsearchResultsWrp {
    margin: 0 0 1rem 0;
}

.sfsearchResultTitle {
    border-top: 1px solid #e6e6e6;
    list-style: none;
    margin: 1rem 0 0;
    padding-top: 1rem;
}

.sfsearchResultTitle:last-child {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 1rem;
}

.sfsearchResultHighLighter {
    display: none;
}

.sfsearchResultSnippet,
.sfsearchResultUrl {
    font-size: 0.8em;
}

.sfsearchResultUrl {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sfsearchResultUrl a {
    color: #767676;
}

.blog-post-content {
    margin-bottom: 4rem;
}

.blog-post-content img {
    margin-bottom: 1rem;
}

.blog-post-content p > img:not(.image-left):not(.image-right) {
    margin-bottom: 0;
}

.blog-post-content .drop-cap,
.blog-post-content .pull-quote {
    color: #0a0a0a;
    float: left;
    font: 1.5rem/1.5 'Montserrat', sans-serif;
    margin: 0;
    padding: 0 0.5em 0.5em;
    vertical-align: top;
}

.blog-post-content .pull-quote.short {
    padding-bottom: 0;
}

.blog-post-content .pull-quote.pull-right {
    float: right;
}

.blog-post-content .video-container {
    margin-left: -1rem;
    margin-right: -1rem;
}

@media print, screen and (min-width: 40em) {
    .blog-post-content {
        text-align: justify;
    }

    .blog-post-content .video-container {
        margin-left: 0;
        margin-right: 0;
    }

    .blog-post-content .drop-cap,
    .blog-post-content .pull-quote {
        font-size: 2.75rem;
        line-height: 1;
    }
}

.sf-social-share a span {
    background-image: none;
    background-origin: content-box;
    background-position: 0 0 !important;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    height: 1.2rem;
    margin: 0;
    opacity: 0.4;
    text-indent: -9999px;
    transition: opacity 0.2s;
    width: 1.2rem;
}

.sf-social-share a span:focus,
.sf-social-share a span:hover {
    opacity: 0.6;
}

.sf-social-share .sf-icon-linkedin {
    background-image: url(/images/svg/icons/social/linkedin.svg);
}

.sf-social-share .sf-icon-mailto {
    background-image: url(/images/svg/icons/social/email-outline.svg);
}

.sf-social-share .sf-icon-facebook {
    background-image: url(/images/svg/icons/social/facebook.svg);
}

.sf-social-share .sf-icon-twitter {
    background-image: url(/images/svg/icons/social/twitter.svg);
}

.sfcommentsCounterWrp,
.k-animation-container {
    display: none !important;
}

/* Inset images */

.image-left {
    float: left;
    margin-bottom: 1rem;
    margin-right: 2rem;
}

.image-right {
    float: right;
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.instagram-media {
    max-width: 400px;
    min-width: 250px !important;
    width: 99.375%;
    width: calc(100% - 2px);
}

/* New styles */
/* TODO: remove old styles */

.blog-header {
    margin-bottom: 2rem;
}

.post .blog-header {
    display: none;
}

.post .breadcrumbs li:nth-child(3) {
    display: none;
}

.blog-header .columns {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.blog-header .columns h1 {
    flex-grow: 1;
}

@media (max-width: 39.9em) {
    .blog-header .menu {
        margin-bottom: 1rem;
    }

    .blog-header .menu li:first-child a {
        padding-left: 0;
    }

    .blog-header .menu li:last-child a {
        padding-right: 0;
    }
}

@media (min-width: 40em) {
    .blog-header .columns {
        align-items: center;
        flex-direction: row;
    }

    .blog-header .columns h1 {
        margin-bottom: 0;
    }
}

.blog-header .search-box input {
    margin: 0;
}

.post-info {
    font-size: 78.5%;
    margin-bottom: 1rem;
}

.post-headline a {
    color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: -0.0225em;
}

.post-date::after,
.post-author::after,
.post-category a:not(:last-child)::after {
    content: '\00B7';
    padding: 0 0.5em;
}

.post-category a:not(:last-child)::after {
    padding: 0 0.25em 0 0.5em;
}

.blog-post-list {
    font-size: 92%;
}

@media (min-width: 30em) {
    .blog-post-list .card + .card {
        margin-left: 2rem;
    }

    .blog-post-list .card {
        flex-basis: 40%;
        margin-bottom: 2rem;
        max-width: calc(50% - 1rem);
    }

    .blog-post-list .card:nth-child(2n + 1) {
        margin-left: 0;
    }
}

@media (min-width: 48em) {
    .blog-post-list .card {
        flex-basis: 30%;
        max-width: calc(33% - 1.3rem);
    }

    .blog-post-list .card:nth-child(2n + 1) {
        margin-left: 2rem;
    }

    .blog-post-list .card:nth-child(3n + 1) {
        margin-left: 0;
    }
}

.blog-post-header {
    align-items: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

@media (max-width: 30em) {
    .blog-post-header .columns:last-child {
        flex-basis: 100%;
    }

    .blog-post-header .sf-social-share {
        margin-left: -1rem;
    }
}

.blog-post-header .post-info {
    margin-bottom: 0;
}

/* Video icon */

.has-video {
    position: relative;
}

.has-video::after {
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ccircle cx='12' cy='12' r='11.8' opacity='.5' fill='%230a0a0a'/%3E%3Cpath d='M9.8 8.5v7l5.7-3.5z'/%3E%3C/svg%3E")
        center/contain no-repeat;
    content: '';
    height: 30%;
    left: 50%;
    max-height: 6rem;
    max-width: 6rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
}

/* Blog Subscribe Form */
.blog-subscribe {
    align-items: center;
    display: flex !important;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    overflow: auto;
    position: absolute;
    text-align: center;
    top: 0;
    transition: opacity 0.2s ease-out;
    visibility: hidden;
    width: 100%;
    z-index: 10;
}

.blog-subscribe.is-visible {
    opacity: 1;
    visibility: visible;
}

.blog-subscribe-form {
    background-color: #fff;
    border: 1px solid #767676;
    margin: auto;
    max-width: 32rem;
    padding: 1.25rem;
}

.subscribe-form-close {
    position: absolute !important;
    right: 0;
    top: 0;
}

.modaal-content-container {
    text-align: center;
}

@media (max-width: 30em) {
    .blog-subscribe-form {
        max-width: 15rem;
    }
}

/* Scroll for Related Posts */
@media (max-width: 63.9375em) {
    .blog-post-related {
        position: relative;
    }

    .blog-post-related::after,
    .blog-post-related::before {
        content: '';
        height: 100%;
        position: absolute;
        top: 0;
        width: 1rem;
        z-index: 1;
    }

    .blog-post-related::after {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 85%);
        right: -1rem;
    }

    .blog-post-related::before {
        background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0) 85%);
        left: -1rem;
    }

    .blog-post-related .blog-post-list {
        display: flex;
        flex-wrap: nowrap;
        margin: 0 -1rem;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        -ms-scroll-snap-type: x proximity;
        scroll-snap-type: x proximity;
    }

    .blog-post-related .blog-post-list::after {
        content: '';
        display: table;
        flex: 0 0 12.5%;
    }

    .blog-post-related .blog-post-list .card {
        flex: 0 0 75%;
        margin-left: 1rem;
        max-width: 20rem;
        scroll-snap-align: center;
    }

    .blog-category .blog-post-list .card:first-child {
        margin-left: 12.5%;
    }

    .blog-category .blog-post-list .card:last-child::after {
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        right: calc(-12.5% - 1rem);
        width: calc(12.5% + 1rem);
    }
}

/* Reformer Compare */

.compare-banner {
    background: #fff;
    border: 1px solid #cacaca;
    max-width: 728px;
    margin: auto;
}

.compare-banner .text-promo {
    color: #efb354;
}

.compare-banner .leader-btn .button {
    background: #efb354;
    border-radius: 100px;
    color: #fff;
}

.compare-banner .leader-btn .button:hover,
.compare-banner .leader-btn .button:focus {
    background: #e9a336;
    border-color: #e9a336;
    border-radius: 100px;
    color: #fff;
}

/* April Freight Promo '26 */

.reformer-banner {
    background: #E8E5DD;
}

.reformer-banner img {
    margin-bottom: 0 !important;
}

.reformer-banner .text-promo{
	color: #AD6F58;
}

.reformer-banner .leader-txt .h2 {
	letter-spacing: .5px;
}

.reformer-banner .button {
    background: #AD6F58;
    border: none;
    color: #fff;
}

.reformer-banner .button:hover,
.reformer-banner .button:focus {
    background: #925c48;
    border: none;
    color: #fff;
}

@media print, screen and (min-width: 48em) {
    .reformer-banner {
        margin: 0 1rem;
    }
}

@media print, screen and (min-width: 64em) {
    .reformer-banner {
        margin: auto;
    }
}


/* new */

.tags a {
    cursor: pointer;
    margin: 0 0.5em 0.5em 0;
    -webkit-text-decoration: 1px underline transparent;
    text-decoration: 1px underline transparent;
    text-transform: lowercase;
    transition: 0.2s ease-out;
}

.tags a:focus,
.tags a:hover {
    -webkit-text-decoration-color: currentColor;
    text-decoration-color: currentColor;
}

.card.featured .label {
    background: 0;
    color: #823d5f;
    padding: 0;
    text-transform: uppercase;
}

@media print, screen and (min-width: 48em) {
    .card.featured {
        flex-direction: row;
    }

    .card.featured .card-image,
    .card.featured .card-section {
        flex-basis: 50%;
    }

    .card.featured .card-section {
        padding: 3rem;
    }

    .card.featured .card-image img {
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
    }
}

.blog-category .blog-post-list {
    margin-bottom: 2rem;
}

.blog-category .blog-post-list .card {
    margin-bottom: 0;
}

@media (min-width: 64em) {
    .blog-category .blog-post-list .card {
        flex-basis: 20%;
        max-width: calc(33% - 1.3rem);
    }

    .blog-category .blog-post-list .card:not(:first-child) {
        margin-left: 1rem;
    }
}

.blog-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    position: relative;
}

.blog-menu a {
    display: block;
    line-height: 1;
    padding: 0.7rem 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.blog-menu .sfNavHorizontal.sfNavList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-category .blog-post-list .card:last-child::after {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    right: calc(-12.5% - 1rem);
    width: calc(12.5% + 1rem);
}

.card-cover .secondary-link:focus,
.card-cover .secondary-link:hover {
    text-decoration: underline;
}

.card-cover .cover-link {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-box .search-button,
.card-cover .secondary-link {
    z-index: 1;
}

@media screen and (max-width: 39.9375em) {
    .pagination {
        text-align: center;
    }

    .pagination li {
        display: inline-block;
    }
}

.blog.german .search-box,
.blog.chinese .search-box,
.blog.korean .search-box,
.blog.japanese .search-box,
.blog.spanish .search-box {
    display: none;
}
