/**** BECHEWY POST SHORTCODE ****/
.bchewy-post-shortcode {
    position:relative;
    padding: 0;
    margin: 0;
}
.bchewy-post-shortcode ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bchewy-post-shortcode ul.shortcode-grid { 
    display: flex;
    flex-wrap: wrap;
}
.bchewy-post-shortcode .featured,
.bchewy-post-shortcode .fvp-dynamic.post-thumbnail,
.bchewy-post-shortcode .fvp-overlay.post-thumbnail,
.bchewy-post-shortcode .featured-video-plus.post-thumbnail {
    width: 100% !important;
    margin-top: 30px;
}
.bchewy-post-shortcode .featured img,
.bchewy-post-shortcode .fvp-dynamic.post-thumbnail img,
.bchewy-post-shortcode .fvp-overlay.post-thumbnail img {
    width: 100% !important;
    height: auto !important;
}
.bchewy-post-shortcode .featured a img, 
.bchewy-post-shortcode .fvp-dynamic.post-thumbnail a img,
.bchewy-post-shortcode .fvp-overlay.post-thumbnail a img {
    padding: 0 !important;
    margin: 0 !important;
}
.bchewy-post-shortcode .x-text-headline h3 {
    margin: 2rem 2rem !important;
    font-size: 2.4rem !important;
    line-height: 2.6rem !important;
}
.bchewy-post-shortcode .x-text-headline div.article-title-wrap,
.bchewy-post-shortcode .shortcode-carousel .x-text-headline div.article-title-wrap {
    font-family: var(--bc-headline-primary)!important;
    font-style: normal;
    font-weight: 700;
    overflow: hidden;
    color: #000 !important;
    text-align: center !important;
    letter-spacing: -0.035em !important;
    margin: 2rem 1rem 1rem !important;
    font-size: 2.4rem !important;
    line-height: 2.6rem !important;
}
.x-text .bchewy-post-shortcode .x-text-headline a {
    text-decoration: none !important;
}
.x-text .bchewy-post-shortcode .x-text-headline a:hover {
    font-weight:  700 !important;
    color: rgb(0,41,87) !important;
}
.x-text .bchewy-post-shortcode .x-text p {
    text-align: center !important;
    color:  #000 !important;
    padding: 0 20px !important;
}

.x-text .bchewy-post-shortcode .x-text p a{
    text-decoration: none !important;
    color:  #000 !important;
}
.reverse .x-text .bchewy-post-shortcode .x-text-headline a:link div.article-title-wrap, 
.reverse .x-text .bchewy-post-shortcode .x-text-headline a div.article-title-wrap,
.reverse .x-text .bchewy-post-shortcode .x-text a:link,
.reverse .x-text .bchewy-post-shortcode .x-text p{
    text-decoration: none !important;
    color:  #fff !important;
}
.x-text .bchewy-post-shortcode .x-text a:hover {
    text-decoration: none !important;
    color:  #000 !important;
    font-weight:  400 !important;
}
.x-text.excerpt, .x-text.meta {
    text-align: center;
}
.x-text.no-excerpt .excerpt,
.x-text.no-meta .meta{
    display: none !important;
}
.portrait .bchewy-post-shortcode .featured,
.portrait .bchewy-post-shortcode .fvp-dynamic.post-thumbnail,
.portrait .bchewy-post-shortcode .fvp-overlay.post-thumbnail,
.portrait .bchewy-post-shortcode .fluid-width-video-wrapper {
    width: 100%;
    padding-top: 143%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
}
.portrait .bchewy-post-shortcode .fluid-width-video-wrapper {
    padding-top: 143% !important;
}
.portrait .bchewy-post-shortcode .featured img,
.portrait .bchewy-post-shortcode .fvp-dynamic.post-thumbnail img,
.portrait .bchewy-post-shortcode .fvp-overlay.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    height: 100% !important;
    width: auto !important;
}
/*** for Grids ***/
.bchewy-post-shortcode .shortcode-grid .wrapper{
    width: calc(50% - 30px) !important;
    display: block !important;
    margin: 0 15px !important;
    float: left !important;
    border-bottom: 4px solid #848484;
    margin-bottom: 20px;
}
.bchewy-post-shortcode .shortcode-grid .wrapper .featured {
    width: 100%;
    padding-top: 60%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
}
.bchewy-post-shortcode .shortcode-grid .wrapper .featured img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    height: 100% !important;
    width: auto !important;
}
.bchewy-post-shortcode .shortcode-grid .wrapper .x-text-headline {
    height: 100px !important;
    overflow: hidden;
    margin-bottom: 10px;
}
.bchewy-post-shortcode .shortcode-grid .wrapper .x-text.excerpt {
    height: 70px !important;
    overflow: hidden;
}
.bchewy-post-shortcode .shortcode-grid .wrapper .x-text.meta,
.bchewy-post-shortcode .shortcode-carousel .wrapper .x-text.meta{
    font-size: 14px !important;
    line-height: 16px !important;
    text-align: center;
}
.bchewy-post-shortcode .shortcode-grid .wrapper .x-text.meta .author,
.bchewy-post-shortcode .shortcode-grid .wrapper .x-text.meta .date,
.bchewy-post-shortcode .shortcode-carousel .wrapper .x-text.meta .author,
.bchewy-post-shortcode .shortcode-carousel .wrapper .x-text.meta .date{
    display: block;
    margin: 0 5px !important;
}
.bchewy-post-shortcode .shortcode-carousel .wrapper .x-text.meta .author a:hover {
    font-weight: 700 !important;
    text-decoration: underline !important;
}
.behome .bchewy-post-shortcode .shortcode-grid .wrapper,
.behome .bchewy-post-shortcode .shortcode-carousel .wrapper {
    border-color: rgba(var(--behome), 1) !important;
}
.bewell .bchewy-post-shortcode .shortcode-grid .wrapper,
.bewell .bchewy-post-shortcode .shortcode-carousel .wrapper {
    border-color: rgba(var(--bewell), 1) !important;
}
.begenerous .bchewy-post-shortcode .shortcode-grid .wrapper,
.begenerous .bchewy-post-shortcode .shortcode-carousel .wrapper {
    border-color: rgba(var(--begenerous), 1) !important;
}
.beinspired .bchewy-post-shortcode .shortcode-grid .wrapper,
.beinspired .bchewy-post-shortcode .shortcode-carousel .wrapper {
    border-color: rgba(var(--beinspired), 1) !important;
}
.besmart .bchewy-post-shortcode .shortcode-grid .wrapper,
.besmart .bchewy-post-shortcode .shortcode-carousel .wrapper {
    border-color: rgba(var(--besmart), 1) !important;
}
.new-pet .bchewy-post-shortcode .shortcode-grid .wrapper,
.new-pet .bchewy-post-shortcode .shortcode-carousel .wrapper {
    border-color: rgba(var(--newpet), 1) !important;
}


/***** For Carousels ***/
.bchewy-post-shortcode .shortcode-carousel {
    display: block !important;
    text-align: center;
    width: 100% !important;
    max-width: initial !important;
    overflow: hidden !important;
}
.bchewy-post-shortcode .shortcode-carousel ul {
    list-style: none !important;
    margin: 0 auto 20px !important;
    padding: 0 !important;
    display: flex;
    overflow-x: auto;
    width: 95%;
}
.bchewy-post-shortcode .shortcode-carousel ul li {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.3333% - 30px);
    overflow: hidden;
    margin: 0 15px;
    border-width: 0px 0px 4px 0px;
    border-style:solid;
}
.bchewy-post-shortcode .shortcode-carousel ul li .featured {
    width: 100%;
    padding-top: 60%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
    margin-top: 0px;
}
.bchewy-post-shortcode .shortcode-carousel ul li .featured img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    height: 100% !important;
    width: auto !important;
}
.bchewy-post-shortcode .shortcode-carousel .x-text-headline h3 {
    margin: 2rem 1rem 0rem !important;
    font-size: 2.4rem !important;
    line-height: 2.4rem !important;
    min-height: 100px;
    overflow: hidden;
}
.bchewy-post-shortcode .shortcode-carousel .x-text-headline div.article-title-wrap {
    min-height: 100px;
}
.bchewy-post-shortcode .shortcode-carousel .x-text.excerpt {
    height: 110px !important;
    overflow: hidden;
}
.bchewy-post-shortcode .post-slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 100%;
}
.bchewy-post-shortcode .post-slider-nav-btn { 
    background:none;
    border:0px;
    font-size: 2em;
    width:48px;
    position: absolute;
    top: 45%;
}
.bchewy-post-shortcode .post-slider-nav-btn.prev-post-slider { 
    left: -10px;
}
.bchewy-post-shortcode .post-slider-nav-btn.next-post-slider { 
    right: -10px;
}
.bchewy-post-shortcode .post-slider-nav .next-post-slider { 
    margin-left: auto;
}
.bchewy-post-shortcode .carousel-nav .scroll-tab {
    width: 12px;
    height: 12px;
    border: rgb(var(--bechewy)) solid 2px !important;
    box-sizing: unset;
}

@media (max-width: 640px) {
    .x-text.no-excerpt-mobile .excerpt {
        display: none !important;
    }
    .bchewy-post-shortcode .shortcode-carousel .wrapper { 
        padding:10px;
    }
    .bchewy-post-shortcode .shortcode-grid .wrapper,
    .bchewy-post-shortcode .shortcode-carousel .wrapper {
        width: 100% !important;
        flex: 0 0 100%;
        margin: 0 !important;
        float: none!important;
    }
    .bchewy-post-shortcode .shortcode-carousel .shortcode-carousel-list .wrapper {
        flex: 0 0 calc(100% - 30px);
        margin: 15px !important;
    }
    .bchewy-post-shortcode .shortcode-grid .wrapper .x-text-headline,
    .bchewy-post-shortcode .shortcode-grid .wrapper .x-text.excerpt,
    .bchewy-post-shortcode .shortcode-carousel,
    .bchewy-post-shortcode .shortcode-carousel .wrapper .x-text-headline h3,
    .bchewy-post-shortcode .shortcode-carousel .wrapper .x-text.excerpt{
        height: auto !important;
        margin-bottom: 20px !important;
        overflow: visible !important;
    }
    .bchewy-post-shortcode .shortcode-grid .wrapper .x-text.meta,
    .bchewy-post-shortcode .shortcode-carousel .wrapper .x-text.meta{
        font-size: 12px !important;
        line-height: 14px !important;
    }
    .bchewy-post-shortcode .shortcode-carousel ul li .featured img { 
        margin:0 auto;
    }
    .bchewy-post-shortcode .shortcode-carousel .x-text-headline div.article-title-wrap { 
        min-height:50px;
        margin-bottom: 20px !important;
    }
    .bchewy-post-shortcode .post-slider-nav-btn.prev-post-slider { 
        left: -25px;
    }
    .bchewy-post-shortcode .post-slider-nav-btn.next-post-slider { 
        right: -25px;
    }
    .bchewy-post-shortcode #carousel-nav-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .bchewy-post-shortcode .shortcode-carousel ul { 
        width: 90%;
    }
}