.content-hub {
    padding: 20px;
    background: #b855d4;
}

.content-display {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(184, 85, 212, 0.2);
    overflow: hidden;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 1px solid #b855d4;
}

.banner-area {
    padding: 25px;
    background: linear-gradient(135deg, #b855d4 0%, #d084ff 100%);
    border-bottom: 1px solid #b855d4;
}

.banner-heading {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-heading i {
    font-size: 28px;
    color: #ffffff;
}

.banner-description {
    color: #f3e5ff;
    margin: 0 0 20px 0;
    font-size: 15px;
}

.metrics-panel {
    padding: 0 0 20px 0;
    margin: 0;
}

.metrics-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 12px 16px;
    background: #d084ff;
    border-radius: 6px;
    border: 1px solid #b855d4;
    transition: all 0.3s ease;
}

.metric-box:hover {
    background: #b855d4;
    border-color: #b855d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 85, 212, 0.25);
}

.metric-box i {
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.metric-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.metric-count {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.metric-title {
    font-size: 13px;
    color: #f3e5ff;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .metrics-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .metric-box {
        padding: 10px 12px;
        justify-content: center;
    }

    .metric-info {
        align-items: center;
        text-align: center;
    }

    .metric-count {
        font-size: 18px;
    }

    .metric-title {
        font-size: 12px;
    }
}

.posts-area {
    padding: 25px;
}

.post-entry {
    padding: 18px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.post-entry:hover {
    background-color: rgba(26, 26, 26, 0.8);
    padding-left: 12px;
    margin-left: -12px;
    margin-right: -12px;
    padding-right: 12px;
    border-radius: 6px;
    border-left: 3px solid #b855d4;
}

.post-entry:last-child {
    border-bottom: none;
}

.entry-link {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.5;
    padding-right: 80px;
}

.entry-link:hover {
    color: #b855d4;
}

.fresh-label,
.popular-label {
    position: absolute;
    top: 18px;
    right: 0;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    color: #fff;
}

.fresh-label {
    background: #10b981;
}

.popular-label {
    background: #f59e0b;
    right: 50px;
}

.entry-info {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.entry-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.entry-info i {
    font-size: 14px;
    color: #b855d4;
}

.entry-labels {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.label-tag {
    background: rgba(51, 51, 51, 0.8);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    text-decoration: none;
    border: 1px solid #b855d4;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-tag:hover {
    background: #b855d4;
    color: #fff;
    border-color: #b855d4;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #ffffff;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
    color: #b855d4;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

.layui-tab-title {
    border-bottom: 1px solid #b855d4;
    background: #d084ff;
    padding: 0 25px;
    margin: 0;
}

.layui-tab-title li {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    padding: 0 20px;
}

.layui-tab-title li.layui-this {
    color: #ffffff;
}

.layui-tab-content {
    padding: 0;
}

.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
    padding: 0 25px 25px 25px;
    border-top: 1px solid rgba(51, 51, 51, 0.8);
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #b855d4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
    min-width: 32px;
    text-align: center;
}

.pagination a:hover {
    background: #b855d4;
    color: #fff;
    border-color: #b855d4;
    transform: translateY(-1px);
}

.pagination .current {
    background: #b855d4;
    color: #fff;
    border-color: #b855d4;
}

.pagination .disabled {
    color: #666666;
    border-color: rgba(51, 51, 51, 0.8);
    cursor: not-allowed;
    background: rgba(26, 26, 26, 0.8);
}

.hub-section {
    display: none;
}

.hub-section.active {
    display: block;
}

.portal-wrapper {
    background: linear-gradient(135deg, #b855d4 0%, #d084ff 100%);
}

@media (max-width: 768px) {
    .content-hub {
        padding: 15px;
    }

    .banner-area {
        padding: 20px;
    }

    .banner-heading {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .banner-heading i {
        font-size: 24px;
    }

    .banner-description {
        font-size: 14px;
    }

    .posts-area {
        padding: 20px;
    }

    .post-entry:hover {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        border-radius: 0;
    }

    .entry-link {
        font-size: 16px;
        padding-right: 60px;
    }

    .fresh-label,
    .popular-label {
        font-size: 10px;
        padding: 1px 6px;
    }

    .popular-label {
        right: 35px;
    }

    .entry-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
    }

    .entry-labels {
        gap: 4px;
    }

    .label-tag {
        font-size: 10px;
        padding: 2px 8px;
        max-width: 80px;
    }

    .layui-tab-title {
        padding: 0 20px;
    }

    .layui-tab-title li {
        font-size: 14px;
        padding: 0 12px;
        white-space: nowrap;
    }

    .pagination-wrapper {
        padding: 0 20px 20px 20px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 12px;
    }
}

.layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-title .layui-this:after {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #b855d4;
}
