.safaricards h4 {
    letter-spacing: 1px;
    margin: 10px 10px 0px 0;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.safarititle {
    background: #ffffff;
    position: relative;
    display: table;
    width: 100%;
    padding: 0px;
}

.safarititle h4 a {
    color: #27412b
}

article.post .post-date {
    float: left;
    text-align: center;
    position: absolute;
    left: 16px;
    top: 16px;
    margin-right: 0px;
    border: 0px solid #fff;
    border-right: 0px;
    border-bottom: 0px;
    border-radius: 0px 0 0 0;
    overflow: hidden;
}

article.post .post-date .day {
    background: #000000;
}

.recent-posts .date .day,
article.post .post-date .day {
    color: #fff;
}

article.post .post-date .month {
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 7px 10px;
    display: flex;
    padding: var(--small-14-px, 4px) var(--small-312-px, 12px);
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: var(--small-28-px, 8px);
    background: var(--Shades-Old-Lace, #FDF5E8);
    color: var(--Primary-Dark-Green, #27412B);
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

.safaricard-content {
    padding: 16px 20px 20px 20px;
}

.safaricard-content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /*line-height: 20px;*/
    /*margin-bottom: 60px;*/
    /*min-height: 60px;*/
    
    color: var(--Dark-mode-colors-Body-text, #1B1B1B);

    /* Paragraph/Small/Regular */
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    margin-bottom: 20px;
    margin-top: 0px!important;
}

.safaricard {
    border: 1px solid var(--Dark-mode-colors-Border-color, #E9E9E9);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.safariicons {
       /* margin-bottom: 70px !important; */
       margin-top: 15px!important;
}


.safariicons span {
    height: 50px;
    background: #f2f3f5;
    width: 54px;
    padding: 10px;
    margin: 3px 1px;
    min-width: 45px;
    text-align: center;
    border-radius: 5px;
}

.safariicons span img {
    height: 30px;
    max-width: 35px;
}

.recent-posts {
    transition: all ease 0.5s;
    border-radius: 24px;
    height: 100%;
}

.recent-posts:hover {
    /*box-shadow: 0 0 44px -10px rgb(0 0 0 / 15%);*/
}

.operating-text {
    position: absolute;
    /* bottom: calc(100% + 0px); */
    background: #243c28;
    padding: 5px 10px;
    color: #fff;
    left: 10px;
    font-weight: bold;
    text-transform: uppercase;
    top: calc(100% + 10px);
}

.btns-container {
    position: unset;
    /*bottom: 15px;*/
    width: 100%;
    margin: 0px;
}

html.side-panel .side-panel-wrapper {
    width: 35vw;
}

.exp-gallery-desc {
    position: absolute;
    margin-bottom: 0px;
    background: rgba(0, 0, 0, 0.5);
    bottom: 0px;
    padding: 5px 10px;
    color: #fff;
    z-index: 99;
}

.popup-title {
    background: #f2f3f5;
    position: relative;
    display: table;
    width: 100%;
    padding: 25px 50px 25px 15px;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

html.side-panel .side-panel-wrapper .side-panel-close {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 999;
}

html.side-panel .side-panel-wrapper {
    padding: 0.1px;
}

.sp-popup-content {
    padding: 1rem;
}

.details-vid-btn {
    position: absolute;
    display: flex;
    top: 0px;
    left: 0pc;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.details-vid-btn i {
    width: 50px;
    height: 50px;
    background: #f79420;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    box-shadow: 0 0 10px 1px rgb(0 0 0 / 10%);
}

@media (max-width: 768px) {

    html.side-panel .side-panel-wrapper {
        width: 100%;
    }
}

article.post .post-meta{
    margin-bottom: 0px;
}
.heritage-timing{
    display: none;
}

@media (min-width: 991px) {
.safarititle {

    display: flex;
    justify-content: space-between;
}
    .recent-posts h4 {
    color: var(--Dark-mode-colors-Body-text, #1B1B1B);
    /* Paragraph/Large/Medium */
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 140% */
    margin-bottom: 4px;
}
article.post .safarititle .post-meta > span {
    padding-right: 0px;
    font-size: 0.8em;
}

}

@media (min-width: 991px) and (max-width: 1399px){
    .partners-title h4 {
        min-height: 55px!important;
        display: flex!important;
        align-items: center!important;
    }
}