body {
    background-color: #F5F5F5 !important;
}

.breadcrumb {
    display: flex;
    flex-direction: row;
    gap: .75rem;
    color: var(--DoveGray, #666);
    text-align: justify;
    font-size: 1.125rem;
    font-weight: 400;
    margin-block: 1.5rem 4.44rem;
}

.blog-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

form input, form select {
    padding: 1rem 1rem;
    border-radius: var(--Medium, 1rem) !important;
    border: 0.5px solid var(--Gray, #262626) !important;
    height: 3rem;
}

.nav-category {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap:nowrap;
}

.nav-tabs {
    /**/
    flex-wrap: nowrap;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.nav-tabs .nav-link {
    color: var(--Gray, #262626);
    font-size: 1.125rem;
    font-weight: 400;
    display: flex;
    padding: 0.5rem 2rem;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 0 0;
    border-bottom: 1px solid var(--SilverChalice, #B2B2B2);
    transition: none;
}

.nav-tabs .nav-link.active {
    color: var(--Tertiary, #FBBF24);
    text-align: right;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border: 0;
    border-bottom-color: var(--Tertiary, #FBBF24);
    border-bottom: 2px solid;
    padding: 0.5rem 2rem 0.6rem 2rem;
    background: inherit;
}

.tab-pane {
    /* padding: .5rem 1.5rem; */
    display: none;
}
.tab-pane.show{
    display: block;
}
.blog-category-middle {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.category-section {
    margin-block: 10rem;
}

.card-row {
    display: flex;
}

.card-post-first .post-image {
    border: 0.5px solid var(--SilverChalice, #B2B2B2);
    border-left: 0;
    border-radius: 0rem var(--Large, 1.5rem) var(--Large, 1.5rem) 0rem;
    background-size: cover;
    background-position: center;
    padding-top: 32%;
    width: 70%;
}

.card-post-first .card-body {
    width: 30%;
    padding: 1.5rem 2rem 2.5rem 2rem;
    background: white;
    border-radius: var(--Large, 1.5rem) 0 0 var(--Large, 1.5rem);
    border: 0.5px solid var(--SilverChalice, #B2B2B2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-post-first .card-body .card-title {
    color: var(--Gray, #262626);
    text-align: right;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post-first .card-body .card-text {
    color: var(--Gray, #262626);
    text-align: justify;
    font-size: 1.125rem;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post-first .card-body .text-body-secondary {
    color: var(--DoveGray, #666);
    font-size: 0.9375rem;
}
.card-post-first:hover .post-image{
    border-top: 0.5px solid  #1A7EEE;
    border-right: 0.5px solid  #1A7EEE;
    border-bottom: 0.5px solid  #1A7EEE;
}
.card-post-first:hover .card-body{
    border-top: 0.5px solid  #1A7EEE;
    border-left: 0.5px solid  #1A7EEE;
    border-bottom: 0.5px solid  #1A7EEE;
}
.card-post-first:hover .card-body .card-title{
    color: var(--Primary, #1A7EEE);
}
.nav-tabs .nav-link:focus-visible{
    border:none !important;
    border-color: inherit;
    background: none;
    box-shadow: none;
    outline: none;
}
.footer-main{
    margin-top: 10rem;
}
.desktop {
    display: block;
}
@media only screen and (max-width: 1200px) {
    .card-category img{
        max-height: 5rem;
    }
    .card-category .title{
        font-size: .8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-category .description{
        display: none;
    }
    .card-category{
        padding:1rem;
        width: 8.625rem;
    }
    .blog-category-middle{
        gap:1rem;
    }
}
@media only screen and (max-width: 991.98px) {
    .footer-main{
        margin-top: 5rem;
    }
    
    .desktop {
        display: none;
    }
    .card-post-first .card-body {
        width: 50%;
        border-radius: 0rem 0rem var(--Medium, 1rem) var(--Medium, 1rem);
        padding: 1rem 1rem 1.5rem 1rem;
    }
    .category-section {
        margin-block: 5rem;
    }
    .breadcrumb {
        margin-block: 1rem 3.44rem;
    }
    .blog-section{
        gap:1.5rem;
    }

    .card-category img{
        max-height: 5rem;
    }
    .card-category .title{
        font-size: .8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-category .description{
        display: none;
    }
    .card-category{
        padding:1rem;
        width: 8.625rem;
    }
    .blog-category-middle{
        gap:1rem;
    }
    .blog-category-middle{
        gap:1rem;
    }
    .nav-tabs .nav-link {
        font-size: 1rem;
    }
    .nav-tabs .nav-link.active{
        font-size: 1rem;
    }
    .card-post-first .post-image {
        width: 100%;
        border-radius: var(--Medium, 1rem) var(--Medium, 1rem) 0rem 0rem;
        padding-top: 50%;
    }
    .card-post-first:hover .post-image{
        border-top: 0.5px solid  #1A7EEE;
        border-right: 0.5px solid  #1A7EEE;
        border-left: 0.5px solid  #1A7EEE;
        border-bottom: none;
    }
    .card-post-first:hover .card-body{
        border-right: 0.5px solid  #1A7EEE;
        border-left: 0.5px solid  #1A7EEE;
        border-bottom: 0.5px solid  #1A7EEE;
        border-top: none;
    }
    .card-post-first:hover .card-body .card-title{
        color: var(--Primary, #1A7EEE);
    }
}
@media only screen and (max-width: 768px) {
    
    .card-category img{
        max-height: 5rem;
    }
    .card-category .title{
        font-size: .8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-category .description{
        display: none;
    }
    .card-category{
        padding:1rem;
        width: 6.625rem;
    }
    .blog-category-middle{
        gap:1rem;
    }
    .card-row {
        flex-direction: column;
    }

    .card-post-first .post-image {
        width: 100%;
    }

    .card-post-first .card-body {
        width: 100%;
        padding: 1rem 1rem 1.5rem 1rem;
    }

    .card-post-first .card-body .card-text, .card-post-first .card-body .card-title {
        font-size: 1rem;
    }
}
@media only screen and (max-width: 1536px) {

    .card-category .title {
        font-size: .8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-category .description {
        display: none;
    }

    .card-category {
        padding: 1rem;
        width: 11.625rem;
    }
}