ul.posts-khoa-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

ul.posts-khoa-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

ul.posts-ctdt {
    display: grid;
    gap: 30px;
}

ul.posts-khoa {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.posts-khoa-1>li:first-child {
    grid-row: 1 / span 2;
    grid-column: 1 / span 2;
    gap: 30px;
}

ul.posts-khoa li {
  text-overflow: ellipsis;
}

ul.posts-khoa .box-img{
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
}

ul.posts-khoa .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s;
}

ul.posts-khoa .box-img:hover img {
    transform: scale(1.1);
}

ul.posts-khoa li .content .post-title a{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #051A53;
}

ul.posts-khoa li .content .post-title:hover a {
    text-decoration: underline;
}


ul.posts-khoa.posts-khoa-1 li:first-child .content .post-title a{
    font-size: 30px;
    font-weight: 800;
    line-height: 43.5px;
    letter-spacing: 0.02em;
}

ul.posts-khoa li .content .post-title {
    margin: 0;
}

ul.posts-khoa.posts-khoa-1 li:not(:first-child) .content .post-title a {
    font-size: 18px;
    font-weight: 800;
    line-height: 27px;
    letter-spacing: 0.03em;
    -webkit-line-clamp: 3;
}

ul.posts-khoa.posts-khoa-1 li:not(:first-child) .content .post-des {
    display: none;
}

ul.posts-khoa.posts-khoa-1 li:first-child .content .post-des {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.03em;
    color: #373D4E;
    margin-top: 16px;
}

ul.posts-khoa.posts-khoa-1 li:first-child .content .post-des p {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

ul.posts-khoa.posts-khoa-1 li .post-meta {
    margin-top: 21px;
    margin-bottom: 16px;
}
ul.posts-khoa.posts-khoa-1 li .post-meta .post-date {
    font-size: 15px;
    font-weight: 400;
    line-height: 17.9px;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

ul.posts-khoa.posts-khoa-1 li .post-meta .post-date i {
    color: var(--primary);
}

ul.posts-khoa.posts-khoa-1 li .read-more {
    font-size: 15px;
    font-weight: 500;
    line-height: 17.89px;
    letter-spacing: 0.03em;
    color: #6B6C70;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #D5D5D5;
    transition: .2s;
}

ul.posts-khoa.posts-khoa-1 li .read-more:hover {
    color: var(--primary);
}

ul.posts-khoa.posts-khoa-1 li .read-more .text-button{
    text-decoration: underline;
}
ul.posts-khoa.posts-khoa-1 li:not(:first-child) .read-more {
    display: none;
}

ul.posts-khoa.posts-khoa-1 li:nth-child(2), ul.posts-khoa.posts-khoa-1 li:nth-child(3) {
    position: relative;
}

ul.posts-khoa.posts-khoa-1 li:nth-child(2)::after, ul.posts-khoa.posts-khoa-1 li:nth-child(3)::after {
    position: absolute;
    width: 100%;
    height: 1px;
    content: '';
    bottom: -15px;
    background-color: #D5D5D5;
}

ul.posts-khoa.posts-khoa-2 .media {
    padding-left: 24px;
    padding-right: 24px;
}

ul.posts-khoa.posts-khoa-2 .content {
    border-top: 3px solid #BC2626;
    padding: 60px 24px 36px 24px;
    gap: 30px;
    box-shadow: 0px 0px 32px 0px #0B0D3912;
    margin-top: -30px;
}

ul.posts-khoa.posts-khoa-2 .content .post-title a {
    font-size: 22px;
    font-weight: 800;
    height: 66px;
    line-height: 33px;
    letter-spacing: 0.03em;
}

ul.posts-ctdt .content {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -50px;
}

ul.posts-ctdt .content .post-title {
    padding: 24px 24px 20px 24px;
    box-shadow: 0px 0px 32px 0px #0B0D3912;
    background: white;
    z-index: 1;
    position: relative;
}


ul.posts-ctdt .content .post-title a {
    font-size: 22px;
    font-weight: 800;
    line-height: 33px;
    letter-spacing: 0.03em;
    text-align: center;
}

.ova-image-box-1 {
    border: 2px solid var(--Color-2, #E8EAF0);
    padding: 24px 28px 24px 28px;
    height: 100%;
}

.ova-image-box-1 .title {
    margin: 0;
}

.ova-image-box-1 .thong_tin {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ova-image-box-1 .thong_tin li::marker {
    color: var(--heading);
}

.ova-image-box-1 .heading {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--Color-2, #E8EAF0);
}

.ova-image-box-1 .heading img {
    width: 64px;
}

.ova-image-box-1 .thong_tin p {
    margin-bottom: 0;
    color: var(--heading);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.03em; 
}

/* style for doi ngu giang vien */
.doi-ngu-giang-vien {
    display: flex;
    border: 1px solid #E8EAF0;
}

.doi-ngu-giang-vien img.img-box {
    width: 128px;
    height: 100%;
    object-fit: cover;
}

.doi-ngu-giang-vien .content_inner {
    width: calc(100% - 128px);
    padding: 16px;
    box-shadow: 5px 5px 0px 0px #00000008; 
}

.doi-ngu-giang-vien ul.thong_tin {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doi-ngu-giang-vien ul.thong_tin p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 18.9px;
    letter-spacing: 0.03em;
    color: var(--heading);
}

.doi-ngu-giang-vien .heading {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E5E4;
}
.doi-ngu-giang-vien .title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 27px;
    letter-spacing: 0.03em;
    color: var(--heading);
}

.doi-ngu-giang-vien .title:hover {
    text-decoration: underline;
}

.doi-ngu-giang-vien ul.thong_tin li {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* custom hien thi card event */
.for-khoa .type5{
    padding: 0;
}

.for-khoa .type5 .desc .event-thumbnail-v2 img {
    width: 213px;
    height: 220px;  
    border-radius: 0;
}

.for-khoa .type5 .date-event {
    left: 0;
}

.for-khoa .type5 .desc {
    gap: 0;
}
.for-khoa .type5 .event_post {
    padding: 21.5px 24px 0px 24px;
}

.for-khoa .archive_event .type5 .event_title>* {
    font-size: 22px;
    -webkit-line-clamp: 3;
    height: 90px;
}

.for-khoa .search_archive_event {
    display: none;
}
@media only screen and (max-width:960px){
    ul.posts-khoa-1, ul.posts-khoa-2, ul.posts-ctdt {
        grid-template-columns: repeat(2, 1fr);
    }

    ul.posts-khoa.posts-khoa-1 li:nth-child(2)::after, ul.posts-khoa.posts-khoa-1 li:nth-child(3)::after {
        display: none;
    }
    
}

@media only screen and (max-width: 782px) {
	ul.posts-khoa-1, ul.posts-khoa-2, ul.posts-ctdt {
        grid-template-columns: 1fr;
    }

    .for-khoa .type5 .desc .event-thumbnail-v2 img {
        width: 100%;
    }

    ul.posts-khoa-1>li:first-child {
        grid-row: unset;
        grid-column: unset;
    }

    ul.posts-khoa.posts-khoa-1 li:first-child .content .post-title a {
        font-size: 18px;
        line-height: 27px;
    }
}
