@media (max-width: 767.98px) {
/* Mobile Single Post Tab Widget */
.mwzd-mobile-tab-widget {
    margin-block: 28px 22px;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: none;
}

.mwzd-mtw-tabs {
    display: flex;
    background: #f3f3f3;
    border-bottom: 1px solid #e1e1e1;
    margin: 0;
    padding: 0;
}

.mwzd-mtw-tab {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 6px 4px;
    font-size: .88rem;
    font-weight: 700 !important;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mwzd-mtw-tab.is-active {
    color: #CC0000;
    background: #f3f3f3;
    border-bottom-color: #CC0000;
    font-weight: 700 !important;
}

.mwzd-mtw-panels {
    padding: 8px 12px;
    min-height: 160px;
}

.mwzd-mtw-panel {
    display: block;
}

.mwzd-mtw-panel[hidden] {
    display: none !important;
}

.mwzd-mtw-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mwzd-mtw-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f1f3f5;
}

.mwzd-mtw-item:last-child {
    border-bottom: none;
}

.mwzd-mtw-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 2px 4px;
    color: var(--text-color, #1f2937);
    text-decoration: none !important;
    font-size: .88rem;
    line-height: 1.35;
    transition: color .12s ease;
}

.mwzd-mtw-link:is(:active, :hover) {
    color: #CC0000;
}

.mwzd-mtw-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.mwzd-mtw-date {
    flex: 0 0 auto;
    color: #9ca3af;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
}

.mwzd-mtw-rank {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
}

.mwzd-mtw-rank.mwzd-rank-1 {
    background: #CC0000;
    color: #ffffff;
}

.mwzd-mtw-rank.mwzd-rank-2 {
    background: #e02424;
    color: #ffffff;
}

.mwzd-mtw-rank.mwzd-rank-3 {
    background: #f05252;
    color: #ffffff;
}

.mwzd-mtw-views {
    flex: 0 0 auto;
    color: #9ca3af;
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
}

.mwzd-mtw-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 6px;
    padding-block: 6px;
}

.mwzd-mtw-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 10px;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    color: #374151;
    text-decoration: none !important;
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.mwzd-mtw-cat-pill:is(:hover, :active) {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.mwzd-mtw-cat-badge {
    position: static !important;
    inset: auto !important;
    font-size: .72rem !important;
    height: 18px !important;
    min-width: 20px !important;
    padding: 0 5px !important;
    border-radius: 2px !important;
}

.mwzd-mtw-empty {
    color: #9ca3af;
    font-size: .85rem;
    text-align: center;
    padding: 24px 0;
    margin: 0;
}

}
