* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Globals */
ul {
    list-style: none;
    padding-left: 0px;
}
ul, h6 {
    margin-bottom: 0px;
}

a {
    text-decoration: none !important;
}
a:hover, a:focus {
    text-decoration: none !important;
    cursor: pointer;
}
.header-blog .btn {
    padding: 14px 18px;
    border-radius: 0px !important;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #002654;
    border-color: #002654;
    margin-top: 16px;
    letter-spacing: 0.4px;
}

.header-blog .btn:hover {
    background-color: #A0CF67;
    border-color: #A0CF67;
    color: #002654;
    font-weight: 500 !important;
}

/* Header Section */

.header-blog {
    margin: auto;
    background-color: rgba(215, 233, 255, 0.49);
    padding: 5em 0em;
    display: flex;
    justify-content: center;
}   
.header-content {
    max-width: 1440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content img {
    border-radius: 18px;
    max-height: auto;
    width: 960px;
}

.header-content .article-snippet {
    border-radius: 18px 18px 0px 0px;
    background: linear-gradient(180deg, #002654 50%, rgba(0, 38, 84, 0.00) 100%);
    color: #fff;
    padding: 30px 24px;
    z-index: 5;
    width: 460px;
    margin-left: -16%;
}

    

/* Text Box for single post */
    .header-content .article-snippet.single {
        border-radius: 18px 18px 0px 0px;
        background: linear-gradient(180deg, #FFF 60%, rgba(255, 255, 255, 0.00) 100%);
        color: #002654;
    }

.header-content .article-snippet ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0px !important;
    margin: 0px;
}

.header-content .article-snippet ul h6 {
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.36px;
}

.header-content .article-snippet.single ul h6 {
    color: #002654;
}

.header-content .article-snippet h3 {
    color: #A0CF67 !important;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 105.023%; /* 33.607px */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 20px 0px;
    text-transform: capitalize;
    height: 92px;
}

.header-content .article-snippet p {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110.0%; /* 33.607px */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Colot of title in single post */
    .header-content .article-snippet.single h3 {
        color: #232323;
    }

.header-content .article-snippet.single .post-data {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.36px;
    color: #8C8C8C;
}

/*  Article Listings */

.article-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 0px;
}

.article-title h2 {
    margin-bottom: 0px;
    font-weight: 400;
}

.article-title .tab-button {
    padding: 12px 16px;
    border: none;
    background-color: transparent;
    color: #AAA;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.article-title .tab-button.active {
    color: #002654;
    background: rgba(181, 214, 255, 0.28);
}

.blue {
    color: #002654 !important;
}
.article-list .card {
    --bs-card-spacer-y: 0.6rem;
    --bs-card-spacer-x: 0.6rem;
    border-radius: 18px;
    border: 0.5px solid #DBDBDB;
    background: #FFF;
    margin-bottom: 22px;
    z-index: 1;
}

.article-list .card img {
    border-radius: 18px;
    z-index: 1;
    height: 160px;
    width: 100%;
    transition: all ease 300ms;
}
.side-list img{
    border-radius: 18px;
    z-index: 1;
    width: 100%;
}

.article-list .card-body {
    border-radius: 18px;
    padding-top: 24px;
    margin-top: -24px;
    padding-bottom: 10px;
    z-index: 1;
    padding-bottom: 0px;
    transition: all ease 300ms;
}

.side-list .card {
    border-radius: 18px;
    padding-top: 10px;
    margin-top: -30px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    transition: all ease 300ms;
    --bs-card-spacer-y: 0.4rem;
    --bs-card-spacer-x: 0.4rem;
    border: 0.5px solid #DBDBDB;
}
.side-list .card-description {
    display: none;
}


.side-list .card-category, .side-list .card-description {
 color: #8C8C8C;
}
.side-list .card:hover {
    z-index: 999;
    background-color: #EAF4FF;
    & .card-description {
        display: block;
    }
}

.article-list .card ul {
    margin: 0px;
    padding: 0px;
}

.article-list .card-category, .side-list .card-category a, .article-list p, .article-list a{
    color: #8C8C8C;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.article-list .card-title, .side-list .card-title {
    color: #232323;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-list .card-description {
    color: #232323;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
    transition: all ease 300ms;
}

.article-list .card-date {
    color: #A0CF67;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    display: none;
    transition: all ease 300ms;
}

.article-list .col-lg-3.col-md-4.col-sm-6.col-12:hover {
    & .card {
        .article-list .card img {
            z-index: 1;
        }
        & .card-body {
            background-color: #EAF4FF;
            z-index: 2;

            .card-description {
                display: block;
                position: relative;
            }
            .card-date {
                display: block;
            }
        }
    }
    
}



@media (max-width: 1439px) {
    .header-content {
        max-width: 100%;
        padding: 0em 4em;
        padding-top: 3em;
    }
    .header-content img {
        width: 100%;
    }
    .header-content .article-snippet h3 {
        font-size: 24px;
        padding: 16px 0px;
        height: 70px;
    }
    .header-content .article-snippet h6 {
        font-size: 14px;
    }
    .header-content .article-snippet.single {
        border-radius: 18px 18px 18px 18px;
    }

    .article-title h2 {
        padding-bottom: 12px;
    }
    
}
@media (max-width: 1200px) {

    .article-title {
        display: block;
        padding: 26px 0px;
    }

    .article-list .card img {
        height: auto;
        width: 100%;
    }
    .article-list .card-body {
        padding-top: 26px;
        margin-top: -20px;
        padding-bottom: 26px;
    }
}

@media (max-width: 576px) {
    .header-content {
        display: block;
        padding: 2em 0.8em;
    }
    .header-content .article-snippet {
        width: 100%;
        margin-left: auto;
        margin-top: -30px;
        z-index: 5;
        position: relative;
    }
    .header-content .article-snippet h3 {
        font-size: 20px;
        padding: 14px 0px;
        height: 60px;
    }
    .header-content .article-snippet h6 {
        font-size: 12px;
    }
    .article-title .tab-button {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .article-title ul {
        margin: 0px;
        padding: 0px;
    }
    .article-title .tab-button.active {
        padding: 10px 12px;
        color: #002654;
        background: rgba(181, 214, 255, 0.28);
    }
    
}

