#mainBody {
    background: #fff !important;
}

.font-primary {
    font-size: 45px !important;
}

.font-secondary {
    font-size: 30px !important;
}


.new-blog article {
    --img-scale: 1.001;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

.new-blog article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}

/* basic article elements styling */
.new-blog article h2 {
    margin: 0 0 18px 0;
    font-family: 'Canela', 'Sans-Serif';
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
}

.new-blog figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.new-blog article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
}

.new-blog .article-body {
    padding: 24px;
}

.new-blog article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #41547d;
}

.new-blog article a:focus {
    outline: 1px dotted #28666e;
}

.new-blog article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
.new-blog article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}



.new-blog .articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

@media screen and (max-width: 960px) {
    .new-blog article {
        container: card/inline-size;
    }

    .new-blog .article-body p {
        display: none;
    }
}

@container card (min-width: 380px) {
    .new-blog .article-wrapper {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

    .new-blog .article-body {
        padding-left: 0;
    }

    .new-blog figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .new-blog figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}


.bg-title-products {
    height: unset;
    border-top: none;
}

.btop {
    border-top: 1px solid #e5e5e5;
}

/* Button Mod to the original Bootstrap Buttons */

.btn-mod.btn-circle {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.btn-mod.btn-border {
    color: #41547d !important;
    /* border: 2px solid #E08AAB;
     */
     border: 1px solid #f0f0f0;
    background: #fff;
    padding: 6px 8px;
}

.btn-mod,
a.btn-mod {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #7C97F4;
    border: 2px solid transparent;
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.btn-mod.btn-border:hover,
.btn-mod.btn-border:focus {
    color: #7C97F4 !important;
    border-color: transparent;
    background: #f0f0f0;
}

.btn-mod:hover,
.btn-mod:focus,
a.btn-mod:hover,
a.btn-mod:focus,
a.btn-mod.active {
    font-weight: 400;
    /* color: rgba(255, 255, 255, .85); */
    color: #7C97F4;
    background: #f0f0f0;
    text-decoration: none;
    outline: none;
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.btn-mod.active {
    color: #7C97F4 !important
}

/* Reveal icon on hover */

a.btn.btn-mod.btn-border.animation-one span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.3s;
}

a.btn.btn-mod.btn-border.animation-one span:after {
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.3s;
}

a.btn.btn-mod.btn-border.animation-one:hover span {
    padding-right: 25px;
}

a.btn.btn-mod.btn-border.animation-one:hover span:after {
    opacity: 1;
    right: 0;
}

.list-style-none {
    list-style: none;
    padding-left: 0;
}

.fixed-height-card {
    height: 320px;
    /* Adjust the height as needed */
}


.card-img {
    height: 200px;
    /* Adjust the image height as needed */
    object-fit: cover;
}

.badge-position {
    position: absolute;
    top: 10px;
    /* Adjust the top position of the badge */
    left: 10px;
    /* Adjust the left position of the badge */
}

.bg-pink {
    background: #F0A0BD !important;
}

/**Featured**/


.featured-blog .row {
    display: flex;
}

.featured-blog .col-lg-6 {
    padding: 10px;
    box-sizing: border-box;
}

.featured-blog .featured-article {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.featured-blog .image-article {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-blog .image-wrapper {
    flex-grow: 1;
    position: relative;
    transform: scale(1.01);
    /* max-height: 628px; */
}

.featured-blog .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.featured-blog .image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background-color: rgba(88, 115, 240, 0.7);
    color: white;
    font-size: 14px;
    text-align: center;
    min-height: 60px;
}

.featured-blog .image-link {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    border-radius: 20px;
}



.featured-blog .image-link .image-wrapper img {
    transition: transform 0.3s ease-in-out;
}

.featured-blog .image-link:hover .image-wrapper img {
    text-decoration: none;
    transform: scale(1.2);
    /* Apply zoom effect to the image */
}

@media (max-width: 1024px) {
    .featured-blog .image-wrapper {
        /* max-height: 480px; */
    }
}

@media (max-width: 767px) {
    .featured-blog .d-flex {
        display: block !important;
    }

    .featured-blog .col-md-6,
    .featured-blog .col-6 {
        width: 100%;
        padding: 10px;
    }


    .fixed-height-card {
        height: 400px;
        /* Adjust the height as needed */
    }
}

/**Preloader CSS**/
.preloader .card-background, .preloader2 .card-background {
    margin: 20px auto;
    height: 84px;
    width: 100%;
    background-color: #FFFFFF;
    padding: 18px 0 0 15px;
}

.preloader .title, .preloader2 .title {
    height: 20px;
    width: 40%;
    border-radius: 2px;
    background-color: #ECF6F9;
}

.preloader .bodycopy, .preloader2 .bodycopy {
    height: 15px;
    width: 100%;
    border-radius: 2px;
    background-color: #F9F9F9;
    margin: 15px 0 0 0;
}

@keyframes fadeIn {
    from {
        opacity: 0.5;
    }
}

.preloader .animate-flicker, .preloader2 .animate-flicker {
    animation: fadeIn 0.5s infinite alternate;
}

.preloader .animate-flicker1, .preloader2 .animate-flicker1 {
    animation: fadeIn 0.5s infinite alternate;
    animation-delay: 0.2s;
}

.preloader .animate-flicker2, .preloader2 .animate-flicker2 {
    animation: fadeIn 0.5s infinite alternate;
    animation-delay: 0.3s;
}


.block {
    transition: height 0.3s ease-in-out;
    overflow: hidden;
}

/**product item button**/
.slider-item a.product-button>i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

.owl-carousel.owl-loaded {
    display: inline-grid !important;
}


/**ad**/
.body-ad a img {
    width: 100% !important;
}


.masonry {
    column-count: 4;
    /* Adjust this value to set the number of columns */
    column-gap: 4px;
    /* Adjust this value to set the gap between columns */
}

.masonry li {
    display: inline-block;
    width: 100%;
}

@media (max-width: 767px) {
    .masonry {
        column-count: 3;
    }
}


.fadeout{
    opacity: 0;
    display: none !important;
    transition: opacity 1s ease-in-out;
}
