/* SiteHub Frontend Styles */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.navbar-brand {
    font-size: 1.25rem;
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 8px;
}

.card-header {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    padding: 12px 16px;
}

.card-body {
    padding: 16px;
}

.hover-bg {
    transition: background-color 0.2s;
}
.hover-bg:hover {
    background-color: #e9ecef;
}

.btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.article-content p {
    margin-bottom: 1em;
}

.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.badge {
    font-weight: 500;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

footer a {
    color: rgba(248, 249, 250, 0.9);
    text-decoration: none;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.search-result-text {
    word-break: break-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    .card-body {
        padding: 12px;
    }
    .search-result-text {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}
