.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.post-holder {
    margin-bottom: 40px;
}

.post-holder .post-header {
    position: relative;
}

.post-holder .post-header .post-info {
    padding: 0 0 10px 0;
}

.post-holder .post-header .post-info .label {
    color: #222;
}

.post-list {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0;
    list-style: none;
}

.post-list>li {
    padding: 0 20px;
}

.post-list .post-ftimg-hld {
    position: relative;
    min-height: 100px;
}

.post-list .post-text-hld {
    padding-top: 15px;
}

.post-list .post-text-hld .post-categories {
    font-size: 107.69%;
}

.post-list .post-text-hld .post-title {
    font-size: 138.46%;
    padding: 7px 0;
    font-weight: 500;
}

.post-list .post-text-hld .post-title a {
    color: #EC008C;
}

.post-list .post-text-hld .read-more-post {
    text-align: right;
}

.post-list .post-text-hld .read-more-post a {
    font-size: 107.69%;
    text-transform: uppercase;
    font-weight: 500;
    color: #EC008C;
    text-decoration: underline;
}

.post-list .post-text-hld .share-post {
    display: none;
    padding-top: 15px;
}

.direction-rtl .post-list>li {
    float: right;
}

.post-ftimg-hld .date-post {
    position: absolute;
    left: 20px;
    top: 20px;
    line-height: 1.6em;
    padding: 9px 18px 7px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    background: #EC008C;
}

.post-ftimg-hld .date-post .day-post {
    font-size: 153.84%;
    margin-bottom: 3px;
}

.post-ftimg-hld .date-post .month-post {
    font-size: 107.69;
}

.post-list .post-content .post-text-hld .share-post .title-share {
    display: inline-block;
    vertical-align: middle;
}

.post-list .post-content .post-text-hld .share-post .addthis_toolbox {
    display: inline-block;
    vertical-align: middle;
    float: right;
}

.blog-category-view .category-content {
    padding-left: 40px;
}

.post-content .post-description ul,
.post-content .post-description ol {
    list-style-position: inside;
}

.post-view .post-description .post-ftimg-hld {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 300px;
}

.post-view .post-description .post-ftimg-hld img {
    margin: 0;
}

.post-bottom .block.related .block-content {
    list-style: none;
    padding: 0;
}

.post-list .post-header .post-title {
    max-width: 80%;
}

.post-list .post-header .post-title a {
    text-decoration: none;
    font-size: 22px;
    color: #636363;
}

.post-list .post-header .post-title {
    margin: 0;
    padding: 10px 0;
    float: left;
}

.post-list .post-holder .post-header .addthis_toolbox {
    float: right;
    padding-top: 20px;
}

.post-list .hidden {
    display: none;
}

.post-list .post-author {
    display: none;
}

.post-list .post-text-hld p {
    font-size: 115%;
}

.post-list .post-categories .label {
    display: none;
}

.post-list .post-categories a {
    color: #999;
}

.post-view .post-holder .post-header .addthis_toolbox {
    float: right;
}

.post-view .post-bottom {
    margin-top: 30px;
}

.post-view .post-nextprev-hld {
    margin-bottom: 30px;
}

.post-view .post-nextprev-hld .prev-link {
    float: left;
}

.post-view .post-nextprev-hld .next-link {
    float: right;
}

.post-view .block {
    margin-bottom: 30px;
}

.widget.block-categories ul {
    list-style: initial;
    padding-left: 0;
}

.widget.block-categories ul ul {
    margin-left: 20px;
}

.widget.block-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget.block-rss .rss-icon {
    float: left;
    width: 23px;
    padding-right: 10px;
    margin-top: 3px;
}

.widget.blog-search {
    width: 100%;
    margin-bottom: 40px;
    margin-top: 42px;
    position: relative;
    float: right;
    z-index: 4;
}



.widget.blog-search .block-content .form {
    position: relative;
}

.widget.blog-search label {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    text-decoration: none;
    display: inline-block;
    float: right;
}

.widget.blog-search .control {
    border-top: 0;
    margin: 0;
    padding: 0;
    clear: both;
}

.widget.blog-search input {
    width: 100%
}

.widget.blog-search .action.search {
    width: 36px;
    height: 36px;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    line-height: 36px;
    background: none;
    border: none;
    padding: 0 !important;
}

.widget.blog-search .action.search:before {
    color: #333;
}

.widget.blog-search .action.search span {
    display: none;
}

.widget.block-tagclaud ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
}

.widget.block-tagclaud ul li {
    float: left;
    margin: 2px 0;
}

.widget.block-tagclaud ul li a {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin-right: 4px;
    background-color: transparent;
}

.blog-widget-recent .post-holder {
    width: 29%;
    float: left;
    margin: 5px;
}

.blog-widget-recent .post-description .post-text-hld {
    max-height: 150px;
    min-height: 150px;
    overflow-y: auto;
}

.blog-widget-recent-masonry .post-description .post-text-hld {
    max-height: none;
    min-height: 0;
}

.blog-widget-recent-masonry .post-description .post-ftimg-hld {
    width: 100%;
    margin: 0;
}

.mfblog-autoloader {
    text-align: center;
}

.mfblog-autoloader .mfblog-show-onload {
    display: none;
}

.sidebar .block.block-categories .block-content,
.sidebar .block.block-recent-posts .block-content,
.sidebar .block.block-archive .block-content {
    padding: 10px 20px;
}

.sidebar .block.block-categories .block-content>ul,
.sidebar .block.block-recent-posts .block-content>ul,
.sidebar .block.block-archive .block-content>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sidebar .block.block-categories .block-content>ul>li,
.sidebar .block.block-recent-posts .block-content>ul>li,
.sidebar .block.block-archive .block-content>ul>li {
    margin: 0;
    background-color: transparent;
    border-bottom: 1px solid #ddd;
    display: block;
    transition: all 0.2s ease 0s;
}

.sidebar .block.block-categories .block-content>ul>li>a,
.sidebar .block.block-recent-posts .block-content>ul>li>a,
.sidebar .block.block-archive .block-content>ul>li>a {
    padding: 13px 0 10px;
    display: block;
}

.sidebar .block.block-categories .block-content>ul>li:last-child,
.sidebar .block.block-recent-posts .block-content>ul>li:last-child,
.sidebar .block.block-archive .block-content>ul>li:last-child {
    border: none;
}

.sidebar .block.block-categories .block-content>ul>li:hover,
.sidebar .block.block-recent-posts .block-content>ul>li:hover,
.sidebar .block.block-archive .block-content>ul>li:hover {
    background-color: #fff;
}

.sidebar .block.block-categories .block-content>ul ul li {
    padding-left: 10px;
    font-size: 12px;
}

.catalog-product-view .post-bottom {
    padding-bottom: 30px;
}

/* ================================================================
   CATEGORIES - Enhancements (Pac/Hiva)
================================================================ */

/* Hover: nền hồng nhạt + link đổi màu brand */
.widget.block-categories li {
    transition: background-color 0.15s ease;
}

.widget.block-categories li:hover {
    background-color: #fdf2f8;
}

.widget.block-categories li>a {
    transition: color 0.15s ease;
}

.widget.block-categories li>a:hover {
    color: #EC008C;
}

/* Sub-categories: chữ nhỏ hơn, màu nhạt hơn */
.widget.block-categories ul ul li {
    font-size: 12px;
    border-bottom-color: #efefef;
}

.widget.block-categories ul ul li>a {
    color: #999;
}

.widget.block-categories ul ul li>a:hover {
    color: #EC008C;
}

/* ================================================================
   ARCHIVE - Enhancements (Pac/Hiva)
================================================================ */

.widget.block-archive .item {
    transition: background-color 0.15s ease;
}

.widget.block-archive .item:hover {
    background-color: #fdf2f8;
}

.widget.block-archive .item a {
    transition: color 0.15s ease;
}

.widget.block-archive .item a:hover {
    color: #EC008C;
}

/* ================================================================
   RECENT POSTS - Enhancements (Pac/Hiva)
================================================================ */

/* Layout: dùng flex để ảnh và text thẳng hàng */
.widget.block-recent-posts ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    transition: background-color 0.15s ease;
}

.widget.block-recent-posts ul li:hover {
    background-color: #fdf2f8;
}

/* Ảnh thumbnail: bo góc, cố định kích thước */
.widget.block-recent-posts ul li div.post-image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f5f5f5;
    margin-right: 0;
}

.widget.block-recent-posts ul li div.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Link tiêu đề bài viết */
.widget.block-recent-posts ul li a {
    color: #444;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.15s ease;
}

.widget.block-recent-posts ul li a:hover {
    color: #EC008C;
}

/* Ngày đăng */
.widget.block-recent-posts ul li div.post-time {
    color: #aaa;
    font-size: 11.5px;
    line-height: 1.2;
    margin-top: 4px;
    font-style: normal;
}

/* ================================================================
   BLOCK TITLE - Sidebar widget headings (Pac/Hiva)
================================================================ */

/* Áp dụng cho tất cả block-title trong sidebar blog */
.sidebar .widget .block-title,
.sidebar .block .block-title {
    position: relative;
    padding: 8px 12px 8px 16px;
    margin-bottom: 0;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #FFF;
    background-color: #EC008C;
    border-bottom: 2px solid #EC008C;
    display: inline-block;
    width: 100%;
}

/* Đường accent dọc bên trái */
.sidebar .widget .block-title::before,
.sidebar .block .block-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #EC008C;
    border-radius: 0 2px 2px 0;
}

.sidebar .widget .block-title strong,
.sidebar .block .block-title strong {
    color: inherit;
    font-weight: inherit;
}

/* ================================================================
   SUBCATEGORIES - Fix layout & style (Pac/Hiva)
================================================================ */

/* Parent có sub: giữ position relative để icon :before định vị đúng */
.widget.block-categories li {
    position: relative;
}

/* Sub-list: thụt lề rõ ràng, nền tách biệt */
.widget.block-categories ul ul {
    margin-left: 0;
    padding-left: 0;
    background-color: #fafafa;
    border-top: 1px solid #efefef;
}

/* Sub-item layout */
.widget.block-categories ul ul li {
    padding: 10px 6px 0px 30px;
    font-size: 12px;
    border-bottom: 1px solid #efefef;
    position: relative;
}

.widget.block-categories ul ul li:last-child {
    border-bottom: none;
}

/* Sub-item link */
.widget.block-categories ul ul li>a {
    color: #888;
    display: block;
    transition: color 0.15s ease;
}

.widget.block-categories ul ul li>a:hover {
    color: #EC008C;
}

/* Icon cho sub-item: nhỏ hơn và màu xám */
.widget.block-categories ul ul li>a:before {
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23bbb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 4.5l7.5 7.5-7.5 7.5'/%3E%3C/svg%3E");
}
ul#accordion-2 {max-width: 100%;}