/******* Home page design *******/

.blog-index-container {
    margin-top: 160px;
    margin-bottom: 57px;
}

#category .blog-index-container {
    margin-top: 160px;
    margin-bottom: 80px;
}

/* Make blog index header match CustomPages product block header */
.blog-index-container .custom-page-product-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.blog-index-container .custom-page-product-block__title {
    margin: 0;
    margin-left: 40px;
    color: var(--menu-text);
    font-family: var(--second-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.blog-index-container .custom-page-product-block__cta {
    margin-right: 39px;
    font-family: var(--main-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 17px;
    text-transform: uppercase;
    letter-spacing: 0.36px;
    color: var(--menu-text);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    margin-top: 1px;
}

.blog-index-container .custom-page-product-block__cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.blog-index-container .custom-page-product-block__cta:hover::after {
    transform: scaleX(0);
}

.blog-index-container .custom-page-product-block__cta:hover,
.blog-index-container .custom-page-product-block__cta:focus {
    color: var(--secondary-color) !important;
}

@media (max-width: 767px) {
    .blog-index-container .custom-page-product-block__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 50px;
    }

    .blog-index-container .custom-page-product-block__title {
        margin-left: 0;
        font-size: 18px;
    }

    .blog-index-container .custom-page-product-block__cta {
        margin-right: 0;
        margin-top: 32px;
    }

    .blog-index-container {
        margin-bottom: -33px;
    }

    #category .blog-index-container,
    #product .blog-index-container{
        margin-bottom: 80px;
    }
}

ul.blog-index-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

ul.blog-index-list li {
    float: left;
    position: relative;
    text-align: center;
    padding-bottom: 10px;
    box-sizing: border-box;
    border-radius: 4px;
}

.blog-list-post .blog-category-container,
.blog-list-post .blog-name-container {
    text-align: left;
}

.blog-list-post .blog-category-container a,
#module-prblog-postpage .blog-category-container a{
    background: var(--btn-1-bg);
    padding: 3px 10px;
    font-size: 14px;
    line-height: 17px;
    font-style: normal;
    font-weight: 500;
    color: var(--btn-1-text);
}
.blog-list-post .blog-category-container a:hover,
#module-prblog-postpage .blog-category-container a:hover {
    background: var(--btn-1-bg-hover);
    color: var(--btn-1-text-hover);
}

.blog-list-post .blog-name-container a {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: var(--text-color);
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 15px;
    height: 42px;
}

.blog-list-post .blog-name-container a:hover {
    color: var(--btn-1-text-hover);
}

.blog-list-post .blog-category-container {
    margin: 15px 0 15px 0;
}

.blog-index-container #blog-index-carousel,
.blog-index-mobile-button {
    display: none ;
}

.prblog-home-carousel__slider > .keen-slider__slide:nth-child(even) .prblog-card__image-slot {
    aspect-ratio: 427 / 480;
}

.blog-index-mobile-button a {
    background: var(--btn-1-bg);
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin-top: 16px;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: var(--btn-1-text);
    padding: 11px 16px;
    border-radius: 100px;
    border: 1px solid var(--btn-1-bg);
}
.blog-index-mobile-button a:hover {
    color: var(--btn-1-text-hover);
    background: var(--btn-1-bg-hover);
}

#index #blog-index-carousel .owl-nav button.owl-next .go-right-owl {
    right: -33px;
    bottom: 60px
}

#index #blog-index-carousel .owl-nav button.owl-prev .go-left-owl {
    left: -33px;
    bottom: 60px
}

@media (min-width: 651px) {
    .blog-index-list .blog-list-post .blog-image-container img,
    .blog-category-list .blog-list-post .blog-image-container img {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        height: 100%;
        max-width: unset;
    }
}

@media (max-width: 950px) and (min-width: 651px) {
    ul.blog-index-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-index-container {
        padding-bottom: 0px;
    }
}

@media (max-width: 650px)  {
    .blog-index-container #blog-index-carousel,
    .blog-index-mobile-button {
        display: block;
    }

    .blog-index-container .blog-index-list-desktop {
        display: none;
    }

    .blog-index-container li.blog-list-post {
        box-sizing: border-box;
        padding-bottom: 10px;
    }

    ul.blog-index-list li {
        width: 100%;
        margin: 0px;
    }

    .blog-index-container {
        padding-bottom: 0px;
    }
}

/******* END Home page design *******/

/********* Blog category page design *********/

#module-prblog-category #main header.page-header {
    display: none;
}

ul.blog-category-list {
    list-style: none;
    display: block;
    column-count: 3;
    column-gap: 60px;
    margin-bottom: 20px;
    padding-left: 0;
}

/* Reuse custompages "large-image-text-block" 1:1 */
.large-image-text-block {
    width: 100%;
}
.large-image-text-block__inner {
    display: flex;
    flex-wrap: wrap;
}
.large-image-text-block__col {
    display: flex;
}
.large-image-text-block__col--image {
    flex: 0 0 65.21%;
    max-width: 65.21%;
    aspect-ratio: 913 / 540;
}
.large-image-text-block__col--text {
    flex: 0 0 34.79%;
    max-width: 34.79%;
    align-items: flex-end;
}
.large-image-text-block--align-top .large-image-text-block__col--text {
    align-items: flex-start;
}
.large-image-text-block--align-bottom .large-image-text-block__col--text {
    align-items: flex-end;
}
.large-image-text-block__image-link {
    display: block;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

@media (max-width: 767px) {
    #module-prblog-list .large-image-text-block__image-link {
        margin-bottom: 16px;
    }
}

.large-image-text-block__image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.large-image-text-block__image-link:hover .large-image-text-block__image {
    transform: scale(1.02);
    opacity: 0.96;
}
.large-image-text-block__text-wrap {
    width: 100%;
    padding: 0 0 0 60px;
}
.large-image-text-block__heading {
    margin: 0 0 16px;
    font-family: var(--second-font);
    font-size: 24px;
    line-height: 1.3;
    text-transform: none !important;
}
.large-image-text-block__body {
    font-family: var(--main-font);
    font-size: 14px;
    line-height: 1.7;
}
.large-image-text-block__body p, .prblog-list .large-image-text-block__body p {
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.42px;
    margin-bottom: 10px;
}
.large-image-text-block__body p:last-child {
    margin-bottom: 0;
}

/* Blog list: featured + masonry cards */
.prblog-featured {
    margin: 0 0 72px;
}
.prblog-featured.is-last {
    margin-bottom: 80px !important;
}
.prblog-featured__title-link {
    color: inherit;
}

@media (max-width: 767px) {
    .prblog.has-view-more .prblog-featured.is-last {
        margin-bottom: 40px !important;
    }

    .prblog:not(.has-view-more) .prblog-featured.is-last {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .prblog-featured {
        margin-bottom: 56px !important;
    }

    .prblog-featured .large-image-text-block__col--image {
        aspect-ratio: 296 / 176 !important;
        margin-bottom: 16px;
    }

    .prblog-featured .large-image-text-block__image-link {
        height: auto !important;
    }

    .prblog-featured .large-image-text-block__image {
        height: auto !important;
        aspect-ratio: 296 / 176 !important;
        object-fit: cover;

    }
}

.prblog-masonry-grid--append {
    display: none !important;
}

.prblog-card-date {
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    color: #081737;
    margin: 0 0 16px;
}

.cms-content a:hover {
    text-decoration: none;
}

.prblog-masonry-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin: 0 0 47px;
}
.prblog-masonry-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 72px;
    min-width: 0;
}

.prblog-card--masonry {
    margin: 0;
}
.prblog-card__image-link {
    display: block;
    overflow: hidden;
}
.prblog-card__image-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 427 / 568;
}
.prblog-card__image-slot img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prblog-card__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.prblog-card__image-link:hover .prblog-card__image {
    transform: scale(1.02);
    opacity: 0.96;
}

.prblog-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.prblog-card__link:hover {
    text-decoration: none;
}

/* Middle column: shorter image ratio */
.prblog-masonry-col--2 .prblog-card__image-slot {
    aspect-ratio: 427 / 480;
}

.prblog-card__meta {
    display: block;
    padding-top: 16px;
}
.prblog-card__title {
    display: block;
    font-family: var(--second-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin: 0 0 16px;
}
.prblog-card__excerpt {
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
}

.prblog-card__excerpt p {
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.42px;
    font-size: 14px;
}

.prblog-card__read-more {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 17px; /* 141.667% */
    letter-spacing: 0.36px;
    text-transform: uppercase;
    margin-top: 16px;
    margin-bottom: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #05038D;
}

.prblog-card--masonry:hover .prblog-card__read-more {
    opacity: 1;
}

/* 9+1 blog layout: cap description width */
.prblog-masonry-grid .prblog-card__excerpt,
.prblog-masonry-grid .blog-list-post .blog-description {
    max-width: 213px;
}

@media (max-width: 768px) {
    /* Mobile/tablet: single column, image left + text right */
    .prblog-masonry-grid {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 16px;
    }
    .prblog-masonry-col {
        gap: 40px;
    }
    .prblog-masonry-grid .prblog-card__link {
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }
    .prblog-masonry-grid .prblog-card__image-slot {
        flex: 0 0 40%;
        max-width: 100px;
    }
    .prblog-masonry-grid .prblog-card__meta {
        flex: 1 1 auto;
        padding-top: 0;
    }
    .prblog-card__title {
        font-size: 18px;
    }
    .prblog-masonry-grid .prblog-card__title {
        font-size: 18px;
        line-height: normal;
    }

    .prblog-card__meta {
        padding-top: 24px;
    }

    .prblog-card__excerpt p, .prblog-card__excerpt {
        font-size: 12px;
        letter-spacing: -0.36px;
    }

    .prblog-featured .prblog-read-more,
    .prblog-card__read-more {
        display: none;
    }
}

ul.blog-category-list li span.blog-tag {
    display: none;
}

.category-blog-date {
    font-size: 13px;
    font-weight: 500;
}

.prblog .category-description {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 10px;
}

.prblog .category-description p {
    margin-bottom: 0;
}

#module-prblog-postpage .custom-page-product-block {
    margin-bottom: 48px;
    margin-top: 48px;
}

#module-prblog-postpage .prblog-related-posts-block {
    margin-bottom: 80px;
    margin-top: 0 !important;
}

.prblog .blog-category-container i.fa {
    width: 12px;
    text-align: center;
}

ul.blog-category-list li {
    position: relative;
    text-align: left;
    padding-bottom: 60px;
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.prblog-view-more {
    display: flex;
    justify-content: center;
    margin: 0;
}

@media (max-width: 768px) {
    .prblog-view-more {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .prblog-view-more .prblog-view-more-btn {
        margin-top: 20px;
    }
}

body #module-prblog-postpage .blog-content-hold {
    margin-bottom: 10px !important
}

@media (max-width: 768px) {
    body #module-prblog-postpage .blog-content-hold {
        margin-bottom: 0 !important
    }
}

.prblog-view-more .prblog-view-more-btn {
    display: flex;
    width: 100%;
    max-width: 426px;
    height: 48px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--Blue-100, #081737);
    background: var(--White-100, #FFF);
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-style: normal;
    font-size: 12px;
    line-height: normal;
    text-transform: uppercase;
    color: var(--Blue-100, #081737);
    text-align: center;
    font-family: var(--main-font, Inter);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
}

body#module-prblog-list .prblog-view-more,
body#module-prblog-list .prblog-view-more:hover,
body#module-prblog-list .prblog-view-more:focus,
body#module-prblog-list .prblog-view-more:active,
body#module-prblog-list .prblog-view-more .prblog-view-more-btn,
body#module-prblog-list .prblog-view-more .prblog-view-more-btn:hover,
body#module-prblog-list .prblog-view-more .prblog-view-more-btn:focus,
body#module-prblog-list .prblog-view-more .prblog-view-more-btn:active,
body#module-prblog-list .prblog-view-more .prblog-view-more-btn::before,
body#module-prblog-list .prblog-view-more .prblog-view-more-btn::after {
    border-radius: 0 !important;
}

.prblog-view-more .prblog-view-more-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--Blue-100, #081737);
    transform: translateY(100%);
    transition: transform 0.35s ease;
    z-index: -1;
}

.prblog-view-more .prblog-view-more-btn:hover {
    color: #fff;
}

.prblog-view-more .prblog-view-more-btn:hover::before {
    transform: translateY(0);
}

.prblog-view-more .prblog-view-more-btn:focus,
.prblog-view-more .prblog-view-more-btn:focus-visible,
.prblog-view-more .prblog-view-more-btn:active,
.prblog-view-more .prblog-view-more-btn:focus:active {
    border-radius: 0 !important;
}
.prblog-view-more .prblog-view-more-btn.is-disabled,
.prblog-view-more .prblog-view-more-btn[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
}

.prblog-view-more-loader {
    display: none;
    justify-content: center;
    margin: 10px 0 20px;
}

.prblog-view-more-loader.is-active {
    display: flex;
}

.prblog-view-more-loader-spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: rgba(0, 0, 0, 0.5);
    animation: prblogSpin 0.9s linear infinite;
}

@keyframes prblogSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 950px) and (min-width: 651px) {
    ul.blog-category-list {
        column-count: 2;
        column-gap: 20px;
    }

    .blog-index-container {
        padding-bottom: 0px;
    }
}

@media (max-width: 768px) {
    .prblog-masonry-grid {
        gap: 40px;
    }
    .prblog-masonry-col {
        gap: 40px;
    }
}

@media(max-width: 650px) {
    ul.blog-category-list {
        width: 100%;
        column-count: 1;
        column-gap: 0;
    }

    .blog-category-list .blog-list-post .blog-image-container {
        max-height: 250px;
        height: unset;
    }
}

.prblog .post-content ul {
    padding-inline-start: 40px;
}

.blog-list-post .blog-description {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18.2px;
    text-align: left;
    color: var(--text-color);
    margin-bottom: 7px;
}

.blog-list-post .blog-description p {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 72px;
    word-break: break-word;
    margin-bottom: 0;
}

.blog-list-post .blog-description ul {
    padding-inline-start: 40px;
    list-style: disc;
}

.blog-list-post .blog-description ul li {
    float: none;
}

a.blog-button {
    background: var(--btn-1-bg);
    padding: 3px 10px;
    font-size: 14px;
    line-height: 17px;
    font-style: normal;
    font-weight: 500;
    color: var(--btn-1-text);
    display: flex;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

a.blog-button::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 1px;
    background-color: currentColor;
    /* Animate: appear from left, disappear to right */
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

a.blog-button:hover{
    background: var(--btn-1-bg-hover);
    color: var(--btn-1-text-hover);
}

a.blog-button:hover::after{
    transform-origin: left;
    transform: scaleX(1);
}

/********* Blog "Read more" link (single post card) *********/
.prblog-read-more a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 17px; /* 141.667% */
    letter-spacing: 0.36px;
    text-transform: uppercase;
    margin-top: 16px;
}

.prblog-read-more a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: currentColor;
    /* Match custompages faq-block__view-more-link: visible by default, hides on hover */
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.prblog-read-more a:hover::after,
.prblog-read-more a:focus::after {
    transform: scaleX(0);
}

.prblog-read-more a:hover,
.prblog-read-more a:focus {
    color: var(--secondary-color) !important;
}

/******* END Blog category page design *******/

/********* Blog inner page design *********/

/* Homepage blog slider (KeenSlider). Keep card styling unchanged. */
.prblog-home-carousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .prblog-home-carousel {
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
    }
}

.prblog-home-carousel .keen-slider:not([data-keen-slider-disabled]) {
    overflow-x: visible;
}

.prblog-home-carousel,
.prblog-home-carousel .navigation-wrapper {
    background: transparent;
    border: 0;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.prblog-home-carousel::before,
.prblog-home-carousel .navigation-wrapper::before,
.prblog-home-carousel::after,
.prblog-home-carousel .navigation-wrapper::after {
    content: none !important;
}

.prblog-home-carousel__slide {
    min-width: 0;
}

@media (max-width: 1099px) {
    /* In 2-up mode, alternate big/small by slide order. */
    .prblog-home-carousel__slider > .keen-slider__slide:nth-child(even) .prblog-card__image-slot {
        aspect-ratio: 427 / 480;
    }
}

#module-prblog-postpage #main {
    padding-top: 0;
}

/* Keep theme breadcrumbs visible on blog pages */
#module-prblog-list #wrapper .bread-row,
#module-prblog-category #wrapper .bread-row,
#module-prblog-search #wrapper .bread-row,
#module-prblog-postpage #wrapper .bread-row {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#module-prblog-postpage .prblog-post-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
    padding-top: 65px;
    margin: 0 0 105px;
}

#module-prblog-postpage .prblog-post-hero__text {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#module-prblog-postpage .prblog-post-hero__back {
    font-family: var(--main-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
    letter-spacing: 0.48px;
}

@media (min-width: 768px) {
    #module-prblog-postpage .prblog-post-hero__back {
        margin-top: 37px;
        margin-left: 6px;
    }
}

#module-prblog-postpage .prblog-post-hero__back-icon {
    display: block;
    flex: 0 0 auto;
}

#module-prblog-postpage .prblog-post-hero__title {
    font-family: var(--second-font);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0 0 16px;
}

#module-prblog-postpage .prblog-post-hero__date {
    font-family: var(--main-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
    letter-spacing: 0.48px;
}

#module-prblog-postpage .prblog-post-hero__description {
    margin-top: auto;
    font-family: var(--second-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
}

#module-prblog-postpage .prblog-post-hero__subtext {
    margin-top: 32px;
    font-family: var(--second-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
}

#module-prblog-postpage .prblog-post-hero__subtext * {
    margin-top: 0;
    font-family: var(--second-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
}

#module-prblog-postpage .prblog-post-hero__image {
    flex: 0 0 auto;
    width: clamp(280px, 42vw, 670px);
    max-width: 100%;
    aspect-ratio: 670 / 891;
    overflow: hidden;
    border-radius: 0 !important;
}

#module-prblog-postpage .prblog-post-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
}

#module-prblog-postpage .header-container {
    display: flex;
    align-items: center;
}

#module-prblog-postpage .page-header h1 {
    text-align: left;
}

#module-prblog-postpage .page-header {
    padding-bottom: 34px;
    display: inline-block;
}

#module-prblog-postpage .page-header h1::before {
    bottom: 10px;
    top: auto;
}

#module-prblog-postpage .blog-category-container {
    padding-bottom: 37px;
    min-width: 140px;
}

.prblog.prblog-post-page .blog-content-hold,
.prblog.prblog-post-page .blog-content-related{
    box-sizing: border-box;
    border-radius: 4px;
}

.prblog-post-page .post-meta-info {
    margin-bottom: 10px;
}

.prblog.prblog-post-page .blog-content-hold .post-content {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-color);
    word-break: break-word;
}

#module-prblog-postpage .block-section {
    padding: 0;
}

#module-prblog-postpage .block-section .section-title {
    border: none;
    margin-top: 18px;
    margin-bottom: 20px;
}

.prblog-related-products .products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.prblog-related-products .section-title span {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    color: var(--text-color);
}

.prblog-related-products .block-content li {
    list-style-type: none;
}

#module-prblog-postpage .post-content ul {
    list-style-type: disc;
}

#module-prblog-postpage .post-content .custom-page-product-block ul {
    list-style-type: none;
}

@media (max-width: 991px) {
    .prblog-related-products .js-product-miniature .products-vertical-item div.product-image > img {
        width: 100%;
        height: auto;
        max-width: 115px;
    }

    .prblog-related-products .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .prblog-related-products .js-product-miniature div.product-image {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    #module-prblog-postpage .col-xs-12 {
        padding-left: 12px;
        padding-right: 12px;
    }

    #module-prblog-postpage .prblog-post-hero {
        flex-direction: column;
        gap: 0;
        padding-top: 25px;
        margin: 0 0 64px;
    }

    /* Allows re-ordering hero elements on mobile */
    #module-prblog-postpage .prblog-post-hero__text {
        display: contents;
    }

    #module-prblog-postpage .prblog-post-hero__back {
        order: 1;
        margin-bottom: 32px;
    }

    #module-prblog-postpage .prblog-post-hero__title {
        order: 2;
        font-size: 20px;
        margin-bottom: 8px;
    }

    #module-prblog-postpage .prblog-post-hero__date {
        order: 3;
        margin-bottom: 24px;
    }

    #module-prblog-postpage .prblog-post-hero__image {
        order: 4;
        width: 100%;
        margin-bottom: 24px;
    }

    #module-prblog-postpage .prblog-post-hero__description {
        order: 5;
        margin-top: 0;
        font-size: 18px;
    }

    #module-prblog-postpage .prblog-post-hero__subtext {
        order: 6;
        margin-top: 40px;
        font-size: 12px;
    }

    #module-prblog-postpage .prblog-post-hero__subtext * {
        order: 6;
        margin-top: 0;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .prblog-related-products .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    .prblog-related-products .block-content li.js-product-miniature {
        width: 100%;
    }

    #module-prblog-postpage .page-header {
        margin-bottom: 0;
    }

    #module-prblog-postpage .blog-category-container {
        margin-left: 0;
        padding-bottom: 10px;
    }

    #module-prblog-postpage .header-container {
        flex-wrap: wrap;
    }

    .prblog-related-products .products {
        grid-template-columns: repeat(1, 1fr);
    }
}

/******* END Blog inner page design *******/

/********* Blog banners design *********/

#module-prblog-category .prblog-category-image,
#module-prblog-postpage .post-featured-image {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

#module-prblog-postpage .post-featured-image {
    max-height: none;
    width: 540px;
    max-width: 100%;
    aspect-ratio: 540 / 913;
}

#module-prblog-postpage .post-featured-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#module-prblog-category .prblog-category-image img {
    width: 100%;
}

#module-prblog-category header.page-header:not(#module-prblog-category #main header.page-header) {
    position: absolute;
}

#module-prblog-category header.page-header.category {
    display: block;
    width: 100%;
    max-width: 1110px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#module-prblog-category header.page-header h1:not(#module-prblog-category #main header.page-header h1) {
    text-align: left;
}

@media (max-width: 1139px) {
    #module-prblog-category header.page-header.category {
        padding-left: 15px;
    }
}

.blog-image-container {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-list-post .post-category{
    padding: 5px 0;
}

.blog-img {
    margin-bottom: 25px;
}

#module-prblog-postpage .page-header{
    margin: 0;
    padding-bottom: 15px;
}

#module-prblog-postpage .page-header h1{
    font-weight: 600;
    font-size: 26px;
    color: var(--text-color);
}

/******* left column of blogs *******/
#module-prblog-list #wrapper .container > .row,
#module-prblog-category #wrapper .container > .row,
#module-prblog-search #wrapper .container > .row{
    gap: 42px;
    padding: 0 15px;
}
#module-prblog-list #wrapper #left-column,
#module-prblog-category #wrapper #left-column,
#module-prblog-search #wrapper #left-column{
    flex: 1 1;
    max-width: 220px;
    border: 1px solid var(--border-color);
    padding: 20px;
}

#module-prblog-list #wrapper #content-wrapper,
#module-prblog-category #wrapper #content-wrapper,
#module-prblog-search #wrapper #content-wrapper{
    flex: 1 1 320px;
    /*max-width: 1040px;*/
    padding: 0;
}

#left-column .left-column-category > span{
    font-size: 15px;
    line-height: 18px;
    font-weight: 500;
    color: var(--text-color);
}

#left-column label{
    display: flex;
    font-size: 14px;
    line-height: 17px;
    color: var(--text-color);
    font-weight: 300;
}

#module-prblog-list #wrapper > .container,
#module-prblog-category #wrapper > .container,
#module-prblog-search #wrapper > .container{
    padding-top: 17px;
}

#module-prblog-list .breads,
#module-prblog-category .breads,
#module-prblog-search .breads{
    margin-bottom: 25px;
}

#module-prblog-list .page-header h1,
#module-prblog-category .page-header h1,
#module-prblog-search .page-header h1{
    text-align: center;
    font-family: var(--second-font);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 0;
}

#module-prblog-list .page-header,
#module-prblog-category .page-header,
#module-prblog-search .page-header{
    margin: 0 0 48px;
}

@media (max-width: 768px) {
    #module-prblog-list .page-header,
    #module-prblog-category .page-header,
    #module-prblog-search .page-header{
        margin: 0 0 24px;
    }

    #module-prblog-list .page-header h1,
    #module-prblog-category .page-header h1,
    #module-prblog-search .page-header h1{
        font-size: 20px;
    }
}

.filter-button{
    background: var(--btn-1-bg);
    padding: 3px 10px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    color: var(--btn-1-text);
    border: none;
    border-radius: 3px
}

.filter-button:hover{
    background: var(--btn-1-bg-hover);
    color: var(--btn-1-text-hover);
}

#module-prblog-list #wrapper #left-column form,
#module-prblog-category #wrapper #left-column form,
#module-prblog-search #wrapper #left-column form{
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px
}

@media (max-width: 767px) {
    #module-prblog-list #wrapper .container > .row,
    #module-prblog-category #wrapper .container > .row,
    #module-prblog-search #wrapper .container > .row{
        gap: 0;
        padding: 0 12px;
        display: grid;
    }

    #module-prblog-list #wrapper #left-column,
    #module-prblog-category #wrapper #left-column,
    #module-prblog-search #wrapper #left-column{
        max-width: -webkit-fill-available;
    }
}

@media (max-width: 650px){
    .blog-image-container{
        display: block;
        height: unset;
    }

    .owl-carousel .owl-item img{
        object-fit: cover;
    }
}
/******* END Blog banners design *******/
/******* Blog my account design *******/
.prblog-my-account-dashboard .posts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-height: 884px;
    overflow-y: auto;

    &::-webkit-scrollbar-thumb {
        background-color: var(--main-color);
        border: 1px solid var(--main-color);
    }

    &::-webkit-scrollbar {
        height: 8px;
        width: 5px;
    }
}

.prblog-my-account-dashboard .blog-list-post {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.prblog-my-account-dashboard .blog-list-post .blog-image-container {
    height: auto;
    max-width: 100px;
    flex: 1 0 100px;
    border-radius: 0;
}

.prblog-my-account-dashboard .blog-list-post .blog-name-container a {
    font-family: var(--second-font);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    height: unset;
    -webkit-line-clamp: unset;
    overflow: unset;
    text-overflow: unset;
    margin-bottom: 16px;
}

.prblog-my-account-dashboard .blog-list-post .blog-name-container a:hover {
    color: var(--secondary-color);
}

.prblog-my-account-dashboard .blog-list-post .blog-description {
    margin: 0;
}

.prblog-my-account-dashboard .blog-list-post .blog-description p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.42px;
    height: 60px;
    -webkit-line-clamp: 3;
    margin: 0;
}

@media (max-width: 991px) {
    .prblog-my-account-dashboard .blog-list-post .blog-name-container a {
        font-size: 18px;
    }
}
/******* END Blog my account design *******/
