/* CSS CHO BỘ LỌC VÀ LƯỚI BÀI VIẾT DLPT BLOG */

.dlpt-blog-archive-container {
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
}

/* Thanh Tab chọn danh mục */
.dlpt-blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.dlpt-blog-tab {
    display: inline-block;
    padding: 8px 18px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    text-decoration: none;
}

.dlpt-blog-tab:hover {
    border-color: #166534;
    color: #166534;
    background: #f0fdf4;
}

.dlpt-blog-tab.active {
    background: #166534;
    border-color: #166534;
    color: #fff;
    box-shadow: 0 4px 10px rgba(22, 101, 52, 0.2);
}

/* Lưới bài viết */
.dlpt-blog-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns, 4), 1fr);
    gap: 20px;
    position: relative;
    min-height: 150px;
    transition: opacity 0.3s ease;
}

.dlpt-blog-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Thẻ bài viết (Post Card) */
.dlpt-post-card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dlpt-post-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: #eaeaea;
}

/* Khung ảnh bài viết */
.dlpt-post-image-wrapper {
    position: relative;
    /* width: calc(100%); */
    /* margin: 8px auto 0 auto; */
    height: 180px;
    background: #f0f0f0;
    border-radius: 16px;
    border: 2.5px solid #eaeaea;
    box-sizing: border-box;
}

.dlpt-post-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.dlpt-post-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.dlpt-post-card:hover .dlpt-post-image {
    transform: scale(1.05);
}

/* Badge đè lên ảnh */
.dlpt-post-badge {
    position: absolute;
    bottom: -8px;
    left: 12px;
    background: #25a85c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(37, 168, 92, 0.25);
    pointer-events: none;
    text-transform: none;
    letter-spacing: 0.3px;
}

/* Phần thông tin */
.dlpt-post-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

/* Tiêu đề bài viết */
.dlpt-post-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 42px;
    box-sizing: border-box;
}

.dlpt-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dlpt-post-title a:hover {
    color: #166534;
}

/* Mô tả ngắn */
.dlpt-post-excerpt {
    font-size: 13px;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 39px;
    box-sizing: border-box;
}

/* Metadata bài viết */
.dlpt-post-meta {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #6c757d;
    flex-wrap: wrap;
    gap: 5px;
    box-sizing: border-box;
}

.dlpt-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dlpt-post-meta-item svg {
    color: #888;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Phân trang AJAX */
.dlpt-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    width: 100%;
}

.dlpt-blog-pagination a,
.dlpt-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px; /* Dạng hình vuông bo góc 8px theo đúng ảnh thiết kế */
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #166534; /* Tông màu chữ xanh lục thương hiệu */
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.dlpt-blog-pagination a:hover {
    border-color: #166534;
    color: #166534;
    background: #f0fdf4;
}

.dlpt-blog-pagination span.current {
    background: #166534;
    border-color: #166534;
    color: #fff;
    box-shadow: 0 3px 8px rgba(22, 101, 52, 0.2);
}

.dlpt-blog-pagination .dots {
    border: none;
    background: none;
    cursor: default;
    box-shadow: none;
    width: auto;
    padding: 0 4px;
}

/* RESPONSIVE LAYOUT CHO BLOG GRID */
@media (max-width: 1024px) {
    .dlpt-blog-grid {
        grid-template-columns: repeat(min(var(--grid-columns, 4), 3), 1fr);
    }
}

@media (max-width: 768px) {
    .dlpt-blog-grid {
        grid-template-columns: repeat(min(var(--grid-columns, 4), 2), 1fr) !important;
        gap: 15px !important;
    }
    .dlpt-post-info {
        padding: 12px;
    }
    .dlpt-post-title {
        font-size: 13.5px;
    }
    .dlpt-post-excerpt {
        font-size: 12.5px;
    }
}

@media (max-width: 600px) {
    /* Cuộn ngang thanh tabs danh mục trên di động */
    .dlpt-blog-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        justify-content: center !important;
        gap: 8px !important;
        padding-bottom: 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .dlpt-blog-tab {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Hiển thị dạng list dọc (hàng ngang) trên di động */
    .dlpt-blog-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important; /* Khoảng cách hàng đúng 20px */
    }

    .dlpt-post-card {
        position: relative !important;
        flex-direction: row !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 20px 0 !important; /* Spacing 20px ở bottom */
        border-bottom: 1px solid #f1f1f1 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        gap: 12px !important;
    }

    .dlpt-post-card:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .dlpt-post-image-wrapper {
        width: 105px !important;
        height: 105px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        border-radius: 16px !important; /* Bo tròn 16px cho khung ảnh như yêu cầu */
        border: 2px solid #eaeaea !important;
        overflow: visible !important; /* Cho phép badge hiển thị tràn ra ngoài không bị cắt */
        background: #f0f0f0 !important;
    }

    .dlpt-post-image-wrapper a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .dlpt-post-image-wrapper img.dlpt-post-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Đảm bảo ảnh lấp đầy hoàn toàn khung, không bị trống */
    }

    /* Đưa badge danh mục lên góc trên bên phải ảnh */
    .dlpt-post-badge {
        position: absolute !important;
        top: 0px !important;
        left: 117px !important;
        bottom: auto !important;
        background: #f0fdf4 !important;
        color: #166534 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 3px 8px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        border-radius: 4px !important;
        text-transform: none !important;
        white-space: nowrap !important;
        margin-bottom: 0 !important;
    }

    .dlpt-post-info {
        padding: 0 !important;
        position: relative !important;
        padding-top: 24px !important; /* Dành chỗ cho badge tuyệt đối */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        flex-grow: 1 !important;
    }

    .dlpt-post-title {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        margin: 10px 0 6px 0 !important;
        min-height: auto !important;
        -webkit-line-clamp: 2 !important;
    }

    .dlpt-post-excerpt {
        display: none !important; /* Ẩn mô tả ngắn trên di động */
    }

    .dlpt-post-meta {
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important; /* Đưa ngày tháng và thời gian đọc gần nhau */
        flex-wrap: nowrap !important;
        gap: 6px !important;
        font-size: 10.5px !important;
        color: #6c757d !important;
    }

    .dlpt-post-meta-item.author {
        display: none !important; /* Ẩn tác giả trên di động */
    }

    .dlpt-post-meta-item.date::after {
        content: "·"; /* Dấu chấm phân tách đúng chuẩn */
        margin-left: 6px;
        color: #ccc;
        font-weight: bold;
    }
}

/* ==========================================
   TABLE OF CONTENTS (MENU TOC)
   ========================================== */
.dlpt-toc-wrapper {
    background: #f4f7f5;
    border-radius: 16px;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
    max-width: 100%;
}

.dlpt-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5ebe7;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.dlpt-toc-title {
    font-size: 17px;
    font-weight: 700;
    color: #166534;
}

.dlpt-toc-toggle {
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    color: #166534 !important;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: none !important;
    outline: none !important;
}

.dlpt-toc-toggle.collapsed svg {
    transform: rotate(-180deg);
}

.dlpt-toc-body {
    display: block;
}

.dlpt-toc-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.dlpt-toc-list li,
.dlpt-toc-sublist li {
    list-style: none !important;
}

.dlpt-toc-list li::before,
.dlpt-toc-sublist li::before {
    content: none !important;
    display: none !important;
}

.dlpt-toc-item {
    margin-bottom: 10px;
    font-size: 14.5px;
    line-height: 1.5;
}

.dlpt-toc-item a {
    color: #166534;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.dlpt-toc-item a:hover {
    color: #15803d;
    text-decoration: underline;
}

.dlpt-toc-sublist {
    list-style: none !important;
    padding-left: 15px !important;
    margin-top: 5px !important;
}

.dlpt-toc-item.h3 {
    margin-top: 6px;
    margin-bottom: 6px;
}

.dlpt-toc-item.h3 a {
    font-weight: 500;
    font-size: 13.5px;
    color: #166534;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .dlpt-toc-title {
        font-size: 19px;
    }
    .dlpt-toc-item {
        font-size: 16px;
    }
    .dlpt-toc-item.h3 a {
        font-size: 15px;
    }
}

/* ==========================================
   BÀI VIẾT LIÊN QUAN (RELATED POSTS)
   ========================================== */
.dlpt-related-posts-wrapper {
    margin: 30px 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    width: 100%;
}

.dlpt-related-posts-heading {
    font-size: 18px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 20px 0;
    position: relative;
}

.dlpt-related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dlpt-related-post-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e5ebe7;
}

.dlpt-related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dlpt-related-post-image {
    width: 110px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}

.dlpt-related-post-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.dlpt-related-post-item:hover .dlpt-related-post-image img {
    transform: scale(1.05);
}

.dlpt-related-post-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 4px; */
    flex-grow: 1;
}

.dlpt-related-post-badge {
    background: #f0fdf4;
    color: #166534;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
    display: inline-block;
}

.dlpt-related-post-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dlpt-related-post-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dlpt-related-post-title a:hover {
    color: #166534;
}

.dlpt-related-post-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: #6c757d;
}

.dlpt-related-post-meta svg {
    vertical-align: middle;
    margin-right: 2px;
}

.dlpt-related-post-separator {
    color: #ccc;
    font-weight: bold;
}

/* ==========================================
   CHIA SẺ BÀI VIẾT (SHARE POST WIDGET)
   ========================================== */
.dlpt-share-box {
    background: #f4f7f5;
    border-radius: 16px;
    padding: 15px 20px;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.dlpt-share-title {
    font-size: 16px;
    font-weight: 700;
    color: #166534;
}

.dlpt-share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dlpt-share-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
    margin: 0 !important;
}

.dlpt-share-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08) !important;
}

/* Nút Facebook màu xanh lá cây đồng bộ thương hiệu */
.dlpt-share-btn.facebook {
    background: #166534 !important;
    color: #fff !important;
}

.dlpt-share-btn.facebook:hover {
    background: #15803d !important;
}

/* Nút Zalo màu xanh nước biển đồng bộ */
.dlpt-share-btn.zalo {
    background: #1e70cd !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: -0.3px !important;
    font-family: 'Be Vietnam Pro', 'Montserrat', sans-serif !important;
    text-transform: none !important;
}

.dlpt-share-btn.zalo:hover {
    background: #1b63b8 !important;
}

/* Nút Sao chép liên kết màu trắng, viền xám nhẹ */
.dlpt-share-btn.copy-link {
    background: #fff !important;
    color: #166534 !important;
    border: 1px solid #d1d5db !important;
}

.dlpt-share-btn.copy-link:hover {
    background: #f9fafb !important;
    border-color: #166534 !important;
}

/* Nút Email màu trắng, viền xám nhẹ */
.dlpt-share-btn.email {
    background: #fff !important;
    color: #166534 !important;
    border: 1px solid #d1d5db !important;
}

.dlpt-share-btn.email:hover {
    background: #f9fafb !important;
    border-color: #166534 !important;
}

/* -------------------------------------------------------------
   DLPT BLOG LIST VIEW LAYOUT
------------------------------------------------------------- */

/* Lưới dạng danh sách (Dọc) */
.dlpt-blog-grid.layout-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.dlpt-blog-grid.layout-list .dlpt-post-card {
    flex-direction: row !important;
    align-items: center !important;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    padding: 10px;
    gap: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    width: 100% !important;
    box-sizing: border-box;
}

.dlpt-blog-grid.layout-list .dlpt-post-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: #e2e8f0;
}

.dlpt-blog-grid.layout-list .dlpt-post-image-wrapper {
    width: 280px !important;
    height: 160px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    border: none !important;
    overflow: hidden;
}

.dlpt-blog-grid.layout-list .dlpt-post-image-wrapper a,
.dlpt-blog-grid.layout-list .dlpt-post-image-wrapper img {
    border-radius: 12px !important;
}

.dlpt-blog-grid.layout-list .dlpt-post-badge {
    display: none !important; /* Ẩn nhãn đè ảnh ở dạng list */
}

.dlpt-blog-grid.layout-list .dlpt-post-info {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    height: auto;
}

.dlpt-blog-grid.layout-list .dlpt-post-title {
    font-size: 18px !important;
    font-weight: 700;
    color: #166534 !important; /* Xanh lục thương hiệu */
    margin: 0 0 10px 0 !important;
    line-height: 1.4;
    min-height: auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dlpt-blog-grid.layout-list .dlpt-post-title a {
    color: #166534 !important;
}

.dlpt-blog-grid.layout-list .dlpt-post-title a:hover {
    color: #15803d !important;
}

.dlpt-blog-grid.layout-list .dlpt-post-excerpt {
    font-size: 13.5px;
    color: #4b5563;
    margin: 0 0 16px 0 !important;
    line-height: 1.5;
    min-height: auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dlpt-blog-grid.layout-list .dlpt-post-meta {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: flex;
    gap: 20px;
    justify-content: flex-start !important;
    font-size: 12px;
    color: #6b7280;
}

.dlpt-blog-grid.layout-list .dlpt-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dlpt-blog-grid.layout-list .dlpt-post-meta-item svg {
    color: #9ca3af;
}

.dlpt-post-meta-item.category {
    display: none; /* Mặc định ẩn ở dạng grid card */
}

.dlpt-blog-grid.layout-list .dlpt-post-meta-item.category {
    display: inline-flex;
    color: #166534;
    font-weight: 600;
}

.dlpt-blog-grid.layout-list .dlpt-post-meta-item.category svg {
    color: #166534;
}

/* responsive điện thoại di động */
@media (max-width: 768px) {
    .dlpt-blog-grid.layout-list .dlpt-post-card {
        flex-direction: row !important;
        /* padding: 12px !important; */
        gap: 12px !important;
        align-items: flex-start !important;
    }
    
    .dlpt-blog-grid.layout-list .dlpt-post-image-wrapper {
        width: 105px !important;
        height: 105px !important;
        border-radius: 16px !important;
    }
    
    .dlpt-blog-grid.layout-list .dlpt-post-image-wrapper a,
    .dlpt-blog-grid.layout-list .dlpt-post-image-wrapper img {
        border-radius: 16px !important;
    }
    
    .dlpt-blog-grid.layout-list .dlpt-post-title {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        line-height: 1.35;
    }
    
    .dlpt-blog-grid.layout-list .dlpt-post-excerpt {
        display: none !important;
    }
    
    .dlpt-blog-grid.layout-list .dlpt-post-meta {
        gap: 8px;
        font-size: 10px;
    }
    
    .dlpt-blog-grid.layout-list .dlpt-post-meta-item.author,
    .dlpt-blog-grid.layout-list .dlpt-post-meta-item.reading-time {
        display: none !important;
    }
}

/* Sidebar Category List Card Widget */
.dlpt-category-list-card {
    background: #fff;
    padding: 20px;
    font-family: inherit;
    box-sizing: border-box;
    border-radius: 20px;
}

.dlpt-category-list-title {
    font-size: 16px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.dlpt-category-list-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dlpt-category-list-item {
    border-radius: 8px;
    transition: all 0.2s ease;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dlpt-category-list-item a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
}

.dlpt-category-list-item:hover {
    background: #f8f9fa;
}

.dlpt-category-list-item .dlpt-item-icon {
    display: flex;
    align-items: center;
    color: #166534;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.dlpt-category-list-item .dlpt-item-name {
    flex-grow: 1;
    text-align: left;
}

.dlpt-category-list-item .dlpt-item-arrow {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: #166534;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Active State styling matching mockup */
.dlpt-category-list-item.active {
    background: #eef7f2 !important;
}

.dlpt-category-list-item.active a {
    color: #166534 !important;
    font-weight: 600;
}

.dlpt-category-list-item.active .dlpt-item-icon {
    opacity: 1;
}

.dlpt-category-list-item.active .dlpt-item-arrow {
    opacity: 1;
    transform: translateX(3px);
}



