/* Blog + article - ported from the Shopify theme */

.osr-main-blog-section {
    padding-top: 100px;
}

.osr-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
    margin-top: 20px;
}

.osr-blog-header .title--primary {
    margin: 0;
}

.blog-sort-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-sort-container label {
    font-size: 24px;
    line-height: 30px;
    color: var(--primary-color);
}

.osr-blog-sort-flex {
    display: flex;
    align-items: center;
    position: relative;
}

.osr-blog-sort-icon {
    width: 20px;
    display: block;
    height: 20px;
    position: absolute;
    top: 30%;
    right: 10px;
}

.blog-articles__article {
    border-radius: 20px;
    border: 2px solid #000000;
    box-shadow: 5px 4px 0px 0px #000000;
    padding: 15px;
}

.blog-articles__article .article-card {
    border-radius: 20px;
}

.article-card__image img {
    border-radius: 14px;
    transform: unset !important;
}

.osr-main-blog-section .blog-articles .article-card .card__information {
    padding: 0;
}

.osr-main-blog-section .card__content {
    padding: 15px 0 0 0;
}

.osr-main-blog-section .article-card__info .circle-divider {
    color: #751DB1;
    font-size: 14px;
    line-height: 24px;
    padding-bottom: 5px;
    display: block;
}

.osr-main-blog-section .underline-links-hover:hover a {
    text-decoration: none;
}

.osr-main-blog-section .article-card__excerpt {
    display: none;
}

.blog-articles__article:hover {
    background: #751DB1;
}

.osr-main-blog-section .blog-articles__article:hover .article-card__info .circle-divider {
    color: #CDD949;
}

.osr-main-blog-section .blog-articles__article:hover .card__heading {
    color: var(--secondary-color);
}

.osr-main-blog-section .blog-articles__article:hover .osr-author {
    color: var(--secondary-color);
}

.osr-main-blog-section .blog-articles {
    row-gap: 20px;
}

.osr-blog-card-link {
    width: 100%;
    z-index: 9;
}

.article-card .card--card:after {
    display: none;
}

.article-card .ratio {
    display: flex;
    position: relative;
    align-items: stretch;
    flex-direction: column;
}

.article-card .card,
.article-card .media,
.article-card .card__media {
    bottom: 0;
    position: unset;
    top: 0;
}

.article-card .media>*:not(.zoom):not(.deferred-media__poster-button),
.media model-viewer {
    display: block;
    max-width: 100%;
    position: unset;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.article-template__hero-container {
    position: relative;
}

.article-template header.osr-article-header {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-width: 750px) {
    .osr-main-blog-section .blog-articles {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 15px;
        row-gap: 20px;
    }
}

@media screen and (max-width: 991px) {
    .article-template__hero-medium {
        height: 500px !important;
    }
}

.osr-main-article-section .article-template__hero-container {
    max-width: 100%;
    margin: 0 auto;
}

.osr-article-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    gap: 30px;
}

.osr-article-flex>* {
    font-size: 18px;
    color: #ffffff;
}

.osr-article-flex .circle-divider:after {
    display: none;
}

.article-template__title {
    color: var(--secondary-color);
}

.article-template__content p {
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
}

.article-template__content h2 {
    color: #004F95;
    font-size: 42px;
    line-height: 40px;
}

.article-template__content h3 {
    color: #004F95;
    font-size: 36px;
    line-height: 40px;
}

.article-template__content img {
    background-color: #FAFAFA;
    width: 100% !important;
    border: 2px solid #000000;
    box-shadow: 7px 6px 0px 0px #000000;
    border-radius: 20px;
}

.article-template__content a {
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    font-family: var(--heading);
}

.article-template__content li a {
    font-size: 16px;
    line-height: 26px;
    font-family: var(--body);
    text-decoration: none;
}

.article-template__content li a:hover {
    text-decoration: underline;
    color: #004F95;
}

.article-template__content li {
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.article-template__content ul {
    padding: 0;
}

.article-template__content li:before {
    content: "";
    width: 12px;
    height: 12px;
    background: #004F95;
    display: block;
    border-radius: 100%;
    position: absolute;
    top: 8px;
    left: 0;
}

.osr-main-article-section .comment-form {
    border: 2px solid #000000;
    box-shadow: 7px 6px 0px 0px #000000;
    border-radius: 20px;
    background: var(--secondary-bg);
    padding: 30px;
    position: relative;
    z-index: 3;
}

.osr-main-article-section .field__input {
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    padding: 10px;
    background: var(--secondary-bg);
}

.osr-main-article-section .field__input:focus {
    box-shadow: none;
    border-radius: 6px;
    padding: 10px;
}

.osr-main-article-section .field:before,
.osr-main-article-section .field:after {
    display: none;
}

.osr-main-article-section .field__label {
    display: none;
}

.osr-main-article-section .field__input::placeholder {
    opacity: 1;
}

.osr-main-article-section .button:after,
.osr-main-article-section .button:before {
    display: none;
}

.osr-main-article-section .button {
    width: 100%;
}

.osr-article-comment-wrapper {
    position: relative;
    overflow: hidden;
}

.osr-article-template-comment {
    position: relative;
    z-index: 1;
}

.osr-main-article-section .article-template__comment-wrapper {
    border-top: 2px solid #000000;
}

@media only screen and (max-width: 1024px) {
    .osr-article-comment-title {
        text-align: center;
        padding-bottom: 50px;
    }
}

@media only screen and (max-width: 767px) {
    .osr-article-flex>* {
        font-size: 14px;
    }

    .article-template__content p {
        font-size: 12px;
        line-height: 22px;
    }

    .article-template__content a {
        font-size: 14px;
        line-height: 20px;
    }

    .article-template__content li a {
        font-size: 12px;
        line-height: 20px;
    }

    .article-template__content h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .article-template__content h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .osr-main-article-section .article-template__comment-wrapper {
        padding: 50px 0;
    }
}

@media screen and (min-width: 990px) {
    .osr-main-article-section .page-width--narrow {
        max-width: 880px;
    }

    .osr-main-article-section .article-template__comment-wrapper {
        padding: 100px 0;
    }
}



/* ===== Blog + article (Shopify look) ===== */
.osr-blog-template #main,
.osr-blog-template #wrapper {
    background: #fff;
}

.osr-blog-page {
    --primary-color: #000;
    --secondary-color: #fff;
    --primary-bg: #000;
    --secondary-bg: #fff;
    color: #121212;
    letter-spacing: .6px;
    line-height: 28.8px;
    font-size: 16px;
    overflow: hidden;
}

.osr-blog-page h1,
.osr-blog-page h2,
.osr-blog-page h3 {
    color: inherit;
    letter-spacing: .6px;
}

.osr-blog-page .osr-bl-pw {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.osr-blog-page .osr-bl-narrow {
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.osr-main-blog-section,
.osr-main-article-section {
    background: linear-gradient(334.86deg, rgba(238, 243, 248, 1) 20.61%, rgba(254, 191, 208, 1) 88.85%);
}

/* index */
.osr-main-blog-section {
    padding-top: 100px;
}

.osr-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0 50px;
}

.osr-blog-header .title--primary {
    margin: 0;
}

.blog-sort-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-sort-container label {
    font-size: 24px;
    line-height: 30px;
    color: #000;
    margin: 0;
}

.osr-blog-sort-flex {
    position: relative;
    display: flex;
    align-items: center;
}

.osr-blog-sort-flex select {
    appearance: none;
    -webkit-appearance: none;
    height: 50px;
    padding: 10px 30px 10px 10px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
    box-shadow: none;
    min-width: 63px;
}

.osr-blog-sort-icon {
    position: absolute;
    top: 30%;
    right: 10px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.osr-blog-sort-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.blog-articles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    row-gap: 20px;
}

.blog-articles__article {
    display: flex;
    border-radius: 20px;
    border: 2px solid #000;
    box-shadow: 5px 4px 0 0 #000;
    padding: 15px;
    background: #fff;
    box-sizing: border-box;
    transition: background .2s;
}

.blog-articles__article:hover {
    background: #751DB1;
}

.article-card-wrapper,
.article-card,
.article-card .card__inner {
    width: 100%;
}

.article-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.article-card__image-wrapper {
    display: block;
    width: 100%;
}

.article-card__image {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(18, 18, 18, .1);
}

.article-card__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 0;
    object-fit: cover;
}

.osr-main-blog-section .card__content {
    padding: 15px 0 0;
}

.osr-main-blog-section .article-card .card__information {
    padding: 0;
}

.osr-main-blog-section .article-card__info {
    margin: 0;
}

.osr-main-blog-section .article-card__info .circle-divider {
    display: block;
    padding-bottom: 5px;
    color: #751DB1;
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-family: Assistant, sans-serif;
}

.osr-main-blog-section .card__heading {
    margin: 0 0 6px;
    font-family: agenda, sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    text-transform: uppercase;
}

.osr-main-blog-section .card__heading a {
    color: #121212;
    text-decoration: none;
}

.osr-author {
    padding-top: 4px;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-family: Assistant, sans-serif;
    color: #121212;
}

.blog-articles__article:hover .article-card__info .circle-divider {
    color: #CDD949;
}

.blog-articles__article:hover .card__heading a,
.blog-articles__article:hover .osr-author {
    color: #fff;
}

.osr-main-blog-section .pagination-wrapper {
    margin: 50px 0 0;
    padding-bottom: 36px;
}

.osr-blog-page .pagination__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.osr-blog-page .pagination__list li {
    margin: 0;
}

.osr-blog-page .pagination__item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    font-size: 16px;
    color: #121212;
    text-decoration: none;
}

.osr-blog-page .pagination__item--current {
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: default;
}

.osr-blog-page .pagination__item:hover {
    text-decoration: underline;
}

.osr-main-blog-section {
    padding-bottom: 0;
}

/* article */
.osr-main-article-section .article-template {
    position: relative;
}

.article-template__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.article-template__hero-medium {
    position: relative;
    height: 550px;
    background-color: rgba(18, 18, 18, .1);
    overflow: hidden;
}

.article-template__hero-medium img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    max-width: 100%;
}

.article-template header.osr-article-header {
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    margin: 0 auto;
    line-height: 12.8px;
    z-index: 2;
}

.article-template header.osr-article-header--noimg {
    position: static;
    padding-top: 140px;
}

.article-template header.osr-article-header--noimg .article-template__title,
.article-template header.osr-article-header--noimg .osr-article-flex>* {
    color: #121212;
}

.article-template__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 64px;
    line-height: 74px;
}

.osr-article-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    gap: 30px;
}

.osr-article-flex>* {
    font-size: 18px;
    color: #fff;
}

.article-template__content {
    margin-top: 30px;
    margin-bottom: 30px;
}

.article-template__content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

.article-template__content h2,
.article-template__content h3 {
    font-family: agenda, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    color: #004F95;
}

.article-template__content h2 {
    font-size: 42px;
    line-height: 40px;
    margin: 34.86px 0;
}

.article-template__content h3 {
    font-size: 36px;
    line-height: 40px;
    margin: 28px 0;
}

.article-template__content h4 {
    font-family: agenda, sans-serif;
    text-transform: uppercase;
    color: #004F95;
}

.article-template__content img {
    display: block;
    height: auto;
}

.article-template__content ul,
.article-template__content ol {
    padding: 0;
    margin: 0 0 16px;
}

.article-template__content li {
    margin: 0;
}

.article-template__content ol {
    list-style: none;
    counter-reset: osr-li;
}

.article-template__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 25.2px;
    box-shadow: 0 0 0 1px rgba(18, 18, 18, .2);
    margin: 20px 0;
    table-layout: auto;
}

.article-template__content th,
.article-template__content td {
    padding: 14px 12px !important;
    border: 1px solid rgba(18, 18, 18, .2);
    text-align: left;
    vertical-align: middle;
    color: #121212;
    background: transparent;
}

.article-template__content th {
    text-align: center;
    font-weight: 700;
    text-transform: none;
    font-size: 14px;
    letter-spacing: .6px;
}

.article-template__content td p,
.article-template__content th p {
    font-size: 14px;
    line-height: 25.2px;
    margin: 0;
}

.article-template__content table img {
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.article-template__content a {
    color: inherit;
    text-decoration: underline;
}

.article-template__content li a {
    text-decoration: none;
}

.article-template__back {
    margin: 50px 0 0;
    text-align: center;
}

.article-template__link {
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #121212;
}

.article-template__link .icon-wrap {
    display: flex;
    margin-right: 10px;
    transform: rotate(180deg);
}

.article-template__link:hover {
    text-decoration: underline;
}

/* comments */
.osr-article-comment-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 100px 0;
    border-top: 2px solid #000;
    background: linear-gradient(220.3deg, rgba(168, 201, 220, 1) 43.17%, rgba(254, 191, 208, 1) 92.32%);
}

.osr-article-comment-wrapper:before {
    content: "";
    background: var(--osr-cm-before) no-repeat;
    background-size: contain;
    width: 420px;
    height: 500px;
    display: block;
    position: absolute;
    left: -160px;
}

.osr-article-comment-wrapper:after {
    content: "";
    background: var(--osr-cm-after) no-repeat;
    background-size: contain;
    width: 360px;
    height: 500px;
    display: block;
    position: absolute;
    right: -160px;
    bottom: 50px;
}

.osr-article-template-comment {
    position: relative;
    z-index: 2;
}

.osr-article-comment-wrapper h2 {
    margin-top: 0;
    font-family: agenda, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

.osr-article-comment-title {
    font-size: 36px;
    line-height: 46px;
    margin: 0 0 30px;
    color: #000;
}

.article-template__comments {
    margin-bottom: 50px;
}

.article-template__comments-comment {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    background: #fff;
}

.article-template__comments-comment p {
    margin: 0 0 10px;
}

.article-template__comments-comment footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    font-size: 14px;
}

.osr-article-comment-wrapper .comment-form {
    border: 2px solid #000;
    box-shadow: 7px 6px 0 0 #000;
    border-radius: 20px;
    background: #fff;
    padding: 30px;
    position: relative;
    z-index: 3;
    margin: 0;
}

.osr-article-comment-wrapper .article-template__comment-fields {
    display: flex;
    gap: 20px;
}

.osr-article-comment-wrapper .field {
    flex: 1 1 0;
    margin: 0 0 20px;
}

.osr-article-comment-wrapper .field__input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .6);
    border-radius: 6px;
    background: #fff;
    margin: 0;
    box-shadow: none;
    font-size: 16px;
}

.osr-article-comment-wrapper .field__input::placeholder {
    opacity: 1;
}

.osr-article-comment-wrapper .field__input:focus {
    box-shadow: none;
    outline: 1px solid #000;
}

.osr-article-comment-wrapper textarea.field__input {
    min-height: 110px;
    resize: vertical;
}

.article-template__comment-warning {
    display: block;
    margin: 0 0 20px;
    font-size: 12px;
    line-height: 20px;
    color: #121212;
}

.osr-article-comment-wrapper .form-submit {
    margin: 0;
}

.osr-article-comment-wrapper .button,
.osr-article-comment-wrapper input[type=submit] {
    width: 100%;
    display: block;
    height: 47px;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #cdd949;
    font-family: agenda, sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    cursor: pointer;
    margin: 0;
    box-shadow: none;
}

/* tablet / mobile */
@media (max-width: 1400px) {
    .osr-article-comment-wrapper:before {
        width: 320px;
        height: 440px;
    }

    .osr-article-comment-wrapper:after {
        width: 320px;
        height: 440px;
    }
}

@media (max-width: 1200px) {
    .osr-article-comment-wrapper:before {
        width: 260px;
        height: 360px;
        left: -150px;
    }

    .osr-article-comment-wrapper:after {
        width: 260px;
        height: 360px;
        right: -150px;
    }
}

@media (max-width: 1024px) {
    .osr-article-comment-wrapper:before {
        width: 150px;
        height: 200px;
        left: -50px;
        top: 0;
    }

    .osr-article-comment-wrapper:after {
        width: 150px;
        height: 200px;
        right: -50px;
        top: 0;
        bottom: auto;
    }

    .osr-article-comment-title {
        text-align: center;
        padding-bottom: 50px;
    }
}

@media (max-width: 991px) {
    .article-template__hero-medium {
        height: 500px;
    }
}

@media (max-width: 749px) {
    .osr-blog-page .osr-bl-pw {
        padding: 0 15px;
    }

    .osr-blog-header .title--primary {
        font-size: 36px;
        line-height: 46px;
    }

    .blog-articles {
        grid-template-columns: 1fr;
        column-gap: 4px;
    }

    .article-template__title {
        font-size: 34px;
        line-height: 44px;
    }

    .osr-article-flex>* {
        font-size: 14px;
    }

    .article-template__content p {
        font-size: 12px;
        line-height: 22px;
    }

    .article-template__content li a {
        font-size: 12px;
        line-height: 20px;
    }

    .article-template__content h2 {
        font-size: 24px;
        line-height: 30px;
        margin: 19.92px 0;
    }

    .article-template__content h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .osr-article-comment-wrapper {
        padding: 50px 0;
        margin-top: 50px;
    }

    .osr-article-comment-wrapper .article-template__comment-fields {
        flex-direction: column;
        gap: 0;
    }
}

.osr-blog-header {
    flex-wrap: nowrap;
}

.osr-blog-header .title--primary {
    width: auto;
    flex: 0 0 auto;
}

.blog-sort-container {
    flex: 0 0 auto;
}

.osr-main-blog-section,
.osr-main-article-section,
.osr-article-comment-wrapper {
    background-attachment: fixed;
}

.osr-article-comment-wrapper #respond,
.osr-article-comment-wrapper .comment-respond {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.osr-article-comment-wrapper .comment-form {
    display: block;
}

.osr-article-comment-wrapper .form-submit input#submit,
.osr-article-comment-wrapper input[type=submit],
.osr-article-comment-wrapper .button {
    background: #000 !important;
    color: #cdd949 !important;
    border-radius: 0 !important;
    width: 100%;
    height: 47px;
    font-family: agenda, sans-serif !important;
    font-size: 20px !important;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.osr-article-comment-wrapper .comment-form p {
    margin: 0;
}

.osr-article-comment-wrapper .article-template__comment-fields .field {
    margin-bottom: 20px;
}

@media (max-width: 749px) {
    .article-template header.osr-article-header {
        top: 180px;
    }
}

.osr-blog-page .article-template__title {
    color: #fff;
}

.osr-blog-page .osr-article-flex>*,
.osr-blog-page .osr-article-flex time {
    color: #fff;
}

.osr-blog-page .article-template header.osr-article-header--noimg .article-template__title,
.osr-blog-page .article-template header.osr-article-header--noimg .osr-article-flex>* {
    color: #121212;
}

.osr-article-comment-wrapper #respond,
.osr-article-comment-wrapper .comment-respond {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.osr-blog-page .caption-with-letter-spacing {
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-family: Assistant, proxima, sans-serif;
}

.osr-blog-page .osr-article-flex-spacer {
    font-size: 18px;
}

.osr-blog-page .article-template__content {
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
}