.archive-page-header {
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 10px;
    position: relative;
}

.archive-page-header h2 {
    font-size: 16px !important;
    font-weight: bold !important;
    display: inline-block !important;
    background: unset !important;
    width: unset !important;
}

.archive-page-header .more {
    color: #595959;
    font-size: 12px;
    font-weight: normal;
    margin-right: 5px;
    float: right;
    cursor: pointer;
}

#search-content .norecord {
    padding: 15px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    margin: 5%;
    border: solid 1px #f5f5f5;
    border-radius: 8px;
}

/* CSS chung cho format-standard (archive, search, category, tag...) */
.format-standard {
    overflow: hidden;
    border-bottom: solid 5px whitesmoke;
    margin-bottom: 10px;
}

.format-standard .archive-page-header,
.format-standard .search-page-header {
    padding: 15px 5px;
}

.format-standard .archive-page-header h1,
.format-standard .search-page-header h1 {
    font-size: 18px;
    font-weight: normal;
}

/* Đặt entry-title thành inline-block để hiển thị cùng dòng với các phần tử khác (ví dụ: link "Xem thêm") */
.format-standard .archive-page-header .entry-title {
    display: inline-block !important;
}

.format-standard .no-results {
    text-align: center;
    padding-top: 20px !important;
    padding: 10px;
}

.format-standard .posts-list {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    list-style: none;
    margin: 0;
    padding: 0;
}

.format-standard .post-item {
    display: flex;
    align-items: flex-start;
    padding: 5px 6px;
    padding-bottom: 8px;
    background-color: #fff;
    letter-spacing: .36px;
    position: relative;
    list-style: none;
    margin: 0;
}

.format-standard .posts-list .post-item:after {
    content: '';
    height: 1px;
    width: 300%;
    position: absolute;
    left: 0;
    top: auto;
    right: auto;
    bottom: 0;
    background-color: #bfbfbf;
    border: 0 solid transparent;
    border-radius: 0;
    -webkit-border-radius: 0;
    transform: scale(.4);
    -webkit-transform: scale(.4);
    -moz-transform: scale(.4);
    -ms-transform: scale(.4);
    -o-transform: scale(.4);
    transform-origin: top left;
    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    -o-transform-origin: top left
}

.format-standard .posts-list .post-item:last-child:after {
    display: none;
}

.format-standard .entry-thumbnail {
    width: 125px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.format-standard .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.format-standard .entry-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.format-standard .entry-body .post-item-header {
    margin-bottom: 5px;
}

.format-standard .post-item-header .entry-title {
    font-size: 15px;
    line-height: 18px;
    font-weight: 600;
    margin: 0;
}

.format-standard .post-item-header .entry-title a {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.format-standard .entry-body .entry-meta {
    font-size: 12px;
    color: #595959;
    margin-top: 5px;
}

.format-standard .entry-body .post-date {
    display: block;
}

/* ======================================
   Format: Video
   ====================================== */
.format-video .entry-thumbnail {
    position: relative;
}

.format-video .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.format-video .play-icon::after {
    content: '';
    border-left: 10px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}

/* ======================================
   Format: Audio
   ====================================== */
.format-audio .entry-thumbnail {
    position: relative;
}

/* ======================================
   Format Badge (chung cho video, audio)
   ====================================== */
.format-badge {
    display: inline-block;
    background: #f5f5f5;
    line-height: 14px;
    color: #595959;
    font-weight: bold;
    font-size: 6px;
    padding: 0px 6px;
    border-radius: 3px;
    margin-right: 0px;
    text-transform: uppercase;
    vertical-align: middle;
}