.new-pDetails .section_detailstitle header {
    background-color: var(--grey-background);
    font-weight: bold;
    padding: 15px 5px;
}

.new-pDetails .news_details_and_socials {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}

.new-pDetails .news_time_source {
    background-color: var(--primary-color);
    color: white;
    padding: 0 14px;
    font-size: 12px;
}

.new-pDetails .news_socials a {
    background: var(--secondary-color);
    color: white;
    padding: 0 8px;
    font-size: 15px;
    transition: color 0.3s ease-in-out;
}

.new-pDetails .news_socials a:hover {
    color: var(--primary-color);
}


.new-pDetails .news_socials.pull-left-md {
    display: flex;
    align-items: center;
}

.new-pDetails .clearfix::after {
    display: none;
}

.new-pDetails .news_socials.pull-left-md span {
    color: white;
    background: var(--primary-color);
    padding: 0 10px;
}

.new-pDetails svg.svg-inline--fa.fa-eye.fa-fw {
    margin-right: 5px;

}

.new-pDetails p.summary {
    color: var(--summary-color);
    margin-top: 30px;
}


.new-pDetails img {
    height: auto;
    width: 100%;
    margin-top: 20px;
}


.new-pDetails .tags_holder.details {
    margin-bottom: 10px;
}

.new-pDetails .tags_holder.details a {
    color: white;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 40px;
    transition: color 0.3s ease-in-out, padding 0.3s ease-in-out;
    font-size: 12pt;
}

.new-pDetails .tags_holder.details a:hover {
    color: var(--secondary-color);
    padding: 5px 18px;
}

.new-pDetails-cover {
    position: relative;
    margin-bottom: 40px;
}

.new-pDetails .media-caption {
    position: absolute;
    bottom: 0;
    line-height: 1.5;
    color: white;
    padding: 20px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

@media (max-width: 576px) {
    .new-pDetails .media-caption, .new-pDetails-cover .media-caption {
        padding: 9px;
        font-size: 14px;
    }
}


.new-pDetails .section_title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.new-pDetails .gallery_item_box img {
    margin: 0;
    position: relative;
}

.gallery_item_box {
    position: relative;
}

.new-pDetails p.gallery_title {
    position: absolute;
    bottom: 0;
    color: white;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 0;
    font-size: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.5em; /* Step 1: Set a specific line-height */
    max-height: 50px;
    padding: 10px;
}

.new-pDetails-description {
    margin-top: 40px;
}

.new-pDetails .tags_holder.details a:hover {
    padding: 5px 15px;
}


.new-pDetails div#nav-tabContent {
    margin-top: 20px;
}


.new-pDetails .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.new-pDetails .nav-link:not(.active) {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.new-pDetails div#nav-tab {
    column-gap: 10px;
}

iframe.dailymotion {
    width: 100%;
    height: 500px;
}

@media (max-width: 992px) {
    iframe.dailymotion {
        height: 250px;
    }

    .new-pDetails .tags_holder.details a {
        font-size: 10pt;
    }
}

.new-pDetails div#nav-tabContent {
    background: transparent;
    border: none !important;
}