/*******************************************************************************************/
:root {
    --space-4xs: clamp(0.13rem, calc(0.09rem + 0.18vw), 0.25rem);
    --space-3xs: clamp(0.38rem, calc(0.34rem + 0.18vw), 0.5rem);
    --space-2xs: clamp(0.5rem, calc(0.43rem + 0.37vw), 0.75rem);
    --space-xs: clamp(0.63rem, calc(0.51rem + 0.55vw), 1rem);
    --space-s: clamp(1rem, calc(0.85rem + 0.74vw), 1.5rem);
    --space-m: clamp(1.38rem, calc(1.19rem + 0.92vw), 2rem);
    --space-l: clamp(1.63rem, calc(1.37rem + 1.29vw), 2.5rem);
    --space-xl: clamp(2.63rem, calc(2.22rem + 2.02vw), 4rem);
    --space-2xl: clamp(4rem, calc(3.41rem + 2.94vw), 6rem);
    --space-3xl: clamp(6rem, calc(5.12rem + 4.41vw), 9rem);
}

.pattern-3::after {
    height: 250px;
}

.post {
    border-radius: 20px;
    border: 5px solid var(--extralight);
    min-height: 420px;
    max-height: 420px;
    background: var(--white);
}

.post-body {
    padding: 20px 20px 30px 20px;
}

.post .post-img {
    border-radius: 10px 10px 0 0;
    display: block;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    overflow: hidden;
}

.post .post-img>img {
    border-radius: 18px 18px 0 0;
    width: 100%;
}

.post .post-meta {
    margin-top: 15px;
    margin-bottom: 15px;
}

.post-meta .post-category {
    font-size: 0.75em;
    text-transform: uppercase;
    padding: 3px 10px;
    font-weight: 600;
    border-radius: 2px;
    margin-right: 15px;
    color: #FFF;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.post-meta .post-date {
    font-size: 0.75em;
    font-weight: 500;
    color: var(--muted);
    text-wrap: nowrap;
}

.post .post-title,
.post .post-title a {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--black);
    margin-bottom: 0px;
}

.post .post-desc,
.post .post-desc a {
    font-size: 1em;
    line-height: 1.25;
    font-weight: 300;
    color: var(--muted);
    margin: 1em 0;
}

.post:hover .post-img img {
    transform: scale(1.1);
    transition: all 300ms linear 0s;
    cursor: pointer;
}

/********** Post-Row ****************/
.post.post-row {
    border: 0;
    border-radius: 0;
    margin-bottom: 30px;
    min-height: auto;
}

.post.post-row::after {
    content: '';
    display: block;
    clear: both;
}

.post.post-row .post-img {
    width: 35%;
    float: left;
    border-radius: 20px;
}

.post.post-row .post-img>img {
    border-radius: 20px;
    height: 160px;
    object-fit: cover;
}

.post.post-row .post-body {
    margin: 0 20px 0 calc(35% + 30px);
    padding: 5px 0;
    position: relative;
}

.post.post-row .post-meta {
    margin: 0 auto 15px auto;
}

.post.post-row .post-title,
.post.post-row .post-title a {
    font-size: 1.75rem;
    margin: 15px auto 15px auto;
}

/********** style 1 *****************/
.post.style1 {
    border: 2px solid var(--extralight);
    min-height: 600px;
    background-image: linear-gradient(var(--extralight) 1px, transparent 1px), linear-gradient(to right, var(--extralight) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: var(--white);
}

.post.style1 .post-body {
    padding-left: 40px;
    padding-right: 40px;
}

.post.style1 .post-body .body-inner {
    background: #fff;
    margin: -200px auto 20px auto;
    position: relative;
    -webkit-box-shadow: 0px 10px 20px 0px rgba(153, 153, 153, 0.2);
    box-shadow: 0px 10px 20px 0px rgba(153, 153, 153, 0.2);
    padding: 40px;
}

.post.style1.dark {
    /* background: var(--black); */
    background-image: linear-gradient(var(--dark) 1px, transparent 1px), linear-gradient(to right, var(--dark) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: #000000;
}

.post.style1.dark .post-body .body-inner {
    background: linear-gradient(to top, var(--dark), var(--black));
}

/* .post.style1.dark .post-meta .post-category {
    background: var(--muted) !important;
} */

.post.style1.dark .post-body .post-title a,
.post.style1.dark .post-body .post-meta a,
.post.style1.dark .post-body .post-desc a {
    color: var(--white);
}

.post.style1 .post-title,
.post.style1 .post-title a {
    font-size: 2.5rem;
}

.post.style1 .post-img {
    border-radius: 20px 20px 0 0;
}

.post.style1 .post-img img {
    border-radius: 0;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: all ease-in-out 0.5s;
}

/********** style 2 *****************/
.post.style2 {
    margin-bottom: 20px;
    border: 0;
    min-height: auto;
}

.post.style2 .post-body {
    background: #fff;
    color: var(--black);
    transition: all 300ms linear 0s;
    position: absolute;
    bottom: 40px;
    right: 15%;
    width: 70%;
    padding: 20px;
}

.post.style2 .post-title,
.post.style2 .post-title a {
    font-size: 2rem;
}

.post.style2 .post-img {
    border-radius: 10px;
}

.post.style2 .post-img>img {
    height: 290px;
    object-fit: cover;
}

.post.style2 .post-meta {
    margin-top: 0px;
    margin-bottom: 15px;
}

/********** style 3 *****************/
.post.style3 {
    margin-bottom: 20px;
    border: 2px solid var(--extralight);
    min-height: 160px;
    max-height: 160px;
    transition: all 300ms linear 0s;
}

.post.style3 .post-body {
    background: #fff;
    color: var(--black);
    transition: all 300ms linear 0s;
    padding: 20px;
    border-radius: 20px;
}

.post.style3 .post-title,
.post.style3 .post-title a {
    font-size: 2rem;
}

.post.style3 .post-meta {
    margin-top: 0px;
    margin-bottom: 15px;
}

.post.style3:hover,
.post.style3:hover .post-body {
    background: var(--extralight);
}

.post.style3:hover {
    border: 2px solid var(--light);
}

/*********************************/
.post.single {
    border: 0;
}

.post.single .post-desc ul.sub,
.post.single .post-desc ol.sub,
.post.single .post-desc ul,
.post.single .post-desc ol {
    padding-left: 1em;
}

.post.single .post-desc p.sub,
.post.single .post-desc p,
.post.single .post-desc ul.sub li,
.post.single .post-desc ol.sub li,
.post.single .post-desc ul li,
.post.single .post-desc ol li {
    font-size: 1em;
    font-weight: 300;
    line-height: 1.75;
    margin: 10px 0;
    display: block;
    color: var(--dark);
}

.post.single .post-desc ul.sub li,
.post.single .post-desc ol.sub li,
.post.single .post-desc ul li,
.post.single .post-desc ol li {
    line-height: 1.75;
    margin: 0;
    display: table-row;
}

.post.single .post-desc ul.sub li b,
.post.single .post-desc ol.sub li b,
.post.single .post-desc p.sub b,
.post.single .post-desc p b,
.post.single .post-desc ul li b,
.post.single .post-desc ol li b,
.post.single .post-desc ul.sub li strong,
.post.single .post-desc ol.sub li strong,
.post.single .post-desc p.sub strong,
.post.single .post-desc p strong,
.post.single .post-desc ul li strong,
.post.single .post-desc ol li strong {
    font-weight: 500;
    margin-top: 20px;
    display: block;
}

.post.single .post-desc ul.sub li::before,
.post.single .post-desc ol.sub li::before,
.post.single .post-desc ul li::before,
.post.single .post-desc ol li::before {
    content: "\25CF";
    width: 20px;
    display: table-cell;
}

.post.single .post-desc ul.sub.arrow li::before,
.post.single .post-desc ol.sub.arrow li::before,
.post.single .post-desc ul.arrow li::before,
.post.single .post-desc ol.arrow li::before {
    content: "\21D2";
    width: 20px;
    display: table-cell;
}

.post.single .post-tags ul.tags {
    list-style-type: none;
    margin: 30px 0;
    padding-left: 0;
}

.post.single .post-tags ul.tags li {
    list-style-type: none;
    display: inline-block;
    margin: 1px 8px 5px 0;
    padding: 5px 12px;
    border-radius: 5px;
    background: var(--extralight);
    font-size: 0.75em;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 0.5px;
}

.post.single .post-tags ul.tags li::before {
    content: "";
}

.post .post-desc a.cta-btn {
    color: var(--white);
}

/*----------------------------------------------------
TABLE DESIGN
-----------------------------------------------------*/
.post.single table {
    width: 100%;
}

.post.single table thead tr th {
    background: var(--maroon);
    color: var(--white);
    font-size: 1.1em;
    line-height: 2;
    font-weight: 500 !important;
}

.post.single table tr td:last-child {
    background-color: #ffeeee;
}

.post.single table tr td,
.post.single table tr th {
    background: var(--white);
    border: solid 1px var(--dark) !important;
    padding: 20px !important;
    color: var(--black);
    font-size: 1em;
    line-height: 1.75 !important;
    font-weight: 300;
    text-align: center;
}

.post.single table tr td p,
.post.single table tr th p {
    color: var(--black);
    font-size: 1em;
    line-height: 1.75 !important;
    font-weight: 300;
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
}

/*********** aside widget ********/
.side_menu {
    height: auto;
    width: 360px;
    z-index: 1;
}

.side_menu.affix {
    margin-top: -2180px;
}

.aside-widget {
    margin-bottom: 40px;
    background: var(--white);
    padding: 0.5em 2.5em;
    border-radius: 10px;
}

/*********** side menu ***********/

.aside-widget .widget-title {
    margin-bottom: 20px;
}

.aside-widget .widget-title h2 {
    text-transform: capitalize;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 500;
}

.aside-widget .category-widget ul,
.aside-widget .category-widget ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aside-widget .category-widget ul li,
.aside-widget .category-widget ol li {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--extralight);
}

.aside-widget .category-widget ul li>a,
.aside-widget .category-widget ol li>a {
    display: block;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
    color: var(--dark);
    font-weight: 300;
    transition: all ease-in-out 0.5s;
}

.aside-widget .category-widget ul li>a>span,
.aside-widget .category-widget ol li>a>span {
    float: right;
    color: var(--white);
    padding: 0px 5px;
    font-size: 1em;
    font-weight: 500;
    border-radius: 2px;
}

.aside-widget .category-widget ul li.view-all,
.aside-widget .category-widget ol li.view-all {
    border-bottom: 0;
    border-top: solid 1px var(--light);
    color: var(--muted);
}

.aside-widget .category-widget ul li.view-all a,
.aside-widget .category-widget ol li.view-all a {
    color: var(--muted);
}

.aside-widget .category-widget ul li.view-all>a>span,
.aside-widget .category-widget ol li.view-all>a>span {
    font-size: 1.5em;
    color: var(--muted) !important;
}

.aside-widget .category-widget ul li>a:hover,
.aside-widget .category-widget ul li>a:focus,
.aside-widget .category-widget ol li>a:hover,
.aside-widget .category-widget ol li>a:focus,
.aside-widget .category-widget ul li.active>a,
.aside-widget .category-widget ul li.active>a,
.aside-widget .category-widget ol li.active>a,
.aside-widget .category-widget ol li.active>a {
    color: var(--black);
    font-weight: 500;
}

/********** Tag cloud ****************************/
.aside-widget .tags-widget {
    background: var(--white);
    margin-top: 40px;
    padding: 20px;
    border-radius: 20px;
}

.aside-widget .tags-widget ul {
    padding-left: 0;
}

.aside-widget .tags-widget ul li {
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 6px;
}

.aside-widget .tags-widget ul li a {
    display: block;
    color: var(--white);
    background-color: var(--black);
    padding: 4px 8px;
    font-size: 0.8em;
    line-height: 1.5;
    font-weight: 300;
    border-radius: 2px;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

/********** search panel ***************/
.form-inline .form-group {
    display: block !important;
}

.form-inline .input-group {
    width: 100%;
}

.form-inline .input-group input[type="search"] {
    padding: 20px;
    height: 40px;
    font-size: 1em;
    font-weight: 300;
    color: var(--black);
}


.input-group input[type="search"]::placeholder {
    color: var(--extralight);
    font-size: 1em;
    font-weight: 300;
}

.form-control::placeholder {
    color: #cccccc;
    opacity: 1;
}

.input-group-addon:last-child {
    border-left: 0;
}

.input-group-addon {
    padding: 6px 12px;
}

select {
    height: 42px;
    background: #FFF;
    border: solid 1px var(--muted);
    border-radius: 5px;
    padding: 3px 10px;
}

/*
.sort.asc:after {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    content: "";
    position: relative;
    top: 13px;
    right: -5px;
}

.sort.desc:after {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
    content: "";
    position: relative;
    top: -10px;
    right: -5px;
}
*/

.sort {
    background-color: var(--extralight);
    cursor: pointer;
}

.sort.asc,
.sort.desc {
    background-color: var(--light);
}

.sort.asc::after {
    content: "\002B06";
    padding-left: 3px;
}

.sort.desc::after {
    content: "\002B07";
    padding-left: 3px
}

.pagination {
    display: block;
    margin: 50px 0 30px 5px;
    padding: 30px 0 70px 0;
    border-top: solid 1px var(--extralight);
}

.pagination li a {
    color: var(--black);
    font-size: 1em;
    font-weight: 400;
    padding: 6px 16px;
}

.pagination li:hover a {
    cursor: pointer;
}

.pagination li.active a,
.pagination li.active a:hover {
    background-color: #000000;
    color: #fff;
}

.sk {
    font-size: 0.8em;
    line-height: 1.25;
    font-weight: 300;
    padding: 5px 12px;
    background: var(--extralight);
    color: var(--black);
    border: solid 1px var(--light);
    border-radius: 5px;
    margin: 0 5px 5px 0;
    cursor: pointer;
    display: inline-block;
}

.sk:focus,
.sk:hover {
    border: solid 1px var(--muted);
    color: var(--maroon);
}

/** Applies to x-small devices (portrait phones, less than 576px) **/
@media (max-width: 575.98px) {
    .pattern-3::after {
        height: 120px;
    }

    #except .row.mt12 {
        margin-top: 0 !important;
    }

    #panel-sk .mt12 {
        text-align: center;
        margin-top: 1em !important;
    }

    .card-sort {
        font-size: calc(100% - 20%);
        margin: 0 auto 30px auto;
    }

    .post.style1 {
        margin-bottom: 1.5em;
    }

    .post.style1 .post-img img {
        height: 210px;
    }

    .post.style1 .post-body {
        padding: 0;
    }

    .post.style1 .post-body .body-inner {
        margin-top: -15px;
        padding: 10px 20px;
        box-shadow: none;
    }

    .post.style1 .post-title,
    .post.style1 .post-title a {
        font-size: 2rem;
    }

    #panel-featured h1 {
        text-align: center;
    }

    #panel-featured .post {
        margin-bottom: 1.5em;
    }

    .post.post-row .post-img {
        width: 100%;
        float: none;
        overflow: hidden;
        margin-bottom: 1em;
        border-radius: 10px;
    }

    .post.post-row .post-img>img {
        height: auto;
        border-radius: 10px;
    }

    .post.post-row .post-body {
        margin: 10px auto;
        padding: 5px 0;
        position: relative;
        border-bottom: solid 1px var(--light);
    }

    #sectionBlogs h1 {
        text-align: center;
    }

    .banner-1 h4,
    #sectionBlogsDetails h5 {
        text-align: center;
        line-height: 1.5;
    }

    #sectionBlogsDetails h1 {
        margin: 1em auto 0 auto !important;
    }

    #sectionBlogsDetails .post-image {
        margin: 1em auto !important;
        padding: 0;
    }

    #sectionBlogsDetails .post-body {
        padding: 0px 20px 30px 20px;
    }

    #sectionBlogsDetails .post.single .post-tags ul.tags {
        text-align: center;
    }

    #relatedInsights h1 {
        text-align: center;
        margin-top: 0 !important;
    }

    #relatedInsights .post {
        margin-bottom: 1.5em;
    }
}

/********************* Lead magnet **************************/
.highlighted {
    border-bottom: 2px dotted;
    text-decoration: none;
    color: inherit !important;
    /* background-color: #fff8dc;
    padding: 0 5px;*/
    font-weight: inherit !important;
}