/* Container for consistent width with other pages */
.container2 {
    width: 96%;
    min-width: 1200px;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    padding: 20px 0 20px 0;
    margin-top: 0px;
    margin-bottom: 0;
    font-size: 14px;
    color: #64748b;
    width: 100%;
    justify-content: flex-start;
}

.breadcrumb-item {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
}

.breadcrumb-item:hover {
    color: var(--color);
}

.breadcrumb-item.breadcrumb-current {
    font-weight: 500;
    cursor: default;
    pointer-events: none;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Process Animation Library Styles */
.process-animation-container {
    min-height: 600px;
    padding: 0px 0 60px;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.page-subtitle {
    margin: 0;
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
}

.animation-categories {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--color);
    border-bottom-color: var(--color);
}

.tab-btn:hover {
    color: var(--color);
}

.animation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.animation-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.animation-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.animation-preview {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f8fafc;
    overflow: hidden;
}

.animation-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.animation-item:hover .play-overlay {
    background: rgba(65, 158, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay .iconfont {
    font-size: 24px;
    color: #ffffff;
    margin-left: 4px;
}

.animation-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.animation-info .animation-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
}

.animation-info .animation-summary {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.animation-info .animation-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    gap: 16px;
}

.animation-info .animation-meta .animation-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.animation-info .animation-meta .animation-views i {
    font-size: 12px;
    color: #94a3b8;
}

.animation-info .animation-meta .animation-views b {
    font-weight: 500;
    color: #64748b;
}

.animation-info .animation-meta .animation-time {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
}

.animation-info .animation-meta .animation-time svg {
    flex-shrink: 0;
}

.animation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.animation-tags .tag {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 12px;
    color: var(--color);
}

@media (max-width: 768px) {
    .animation-grid {
        grid-template-columns: 1fr;
    }
}

/* No Results Styles */
.animation-grid .no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
    width: 100%;
    grid-column: 1 / -1;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
}

.no-results-icon .iconfont {
    font-size: 40px;
    color: #94a3b8;
}

.no-results-text {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.no-results-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    max-width: 400px;
}

/* Process Category Detail Page Styles */
.encyclopedia-detail-container {
    min-height: 600px;
    padding: 0px 0 60px;
}

.encyclopedia-detail-header {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.encyclopedia-detail-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.encyclopedia-detail-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.encyclopedia-detail-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #94a3b8;
}

.encyclopedia-detail-views i {
    font-size: 12px;
    color: #94a3b8;
}

.encyclopedia-detail-views b {
    font-weight: 500;
    color: #64748b;
}

.encyclopedia-detail-date {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #94a3b8;
}

.encyclopedia-detail-date svg {
    flex-shrink: 0;
}

.encyclopedia-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #64748b;
}

.encyclopedia-detail-summary {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 4px;
    color: #64748b;
}

.encyclopedia-detail-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    color: #334155;
    font-size: 16px;
}

.encyclopedia-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.encyclopedia-detail-content p {
    margin: 16px 0;
}

.encyclopedia-detail-content h1,
.encyclopedia-detail-content h2,
.encyclopedia-detail-content h3,
.encyclopedia-detail-content h4 {
    margin: 24px 0 16px 0;
    color: #1e293b;
    font-weight: 600;
}

.encyclopedia-detail-content h1 {
    font-size: 24px;
}

.encyclopedia-detail-content h2 {
    font-size: 22px;
}

.encyclopedia-detail-content h3 {
    font-size: 20px;
}

.encyclopedia-detail-content h4 {
    font-size: 18px;
}

.encyclopedia-detail-content ul,
.encyclopedia-detail-content ol {
    margin: 16px 0;
    padding-left: 30px;
}

.encyclopedia-detail-content li {
    margin: 8px 0;
}

.encyclopedia-detail-content a {
    color: var(--color);
    text-decoration: none;
}

.encyclopedia-detail-content a:hover {
    text-decoration: underline;
}

.encyclopedia-detail-footer {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.encyclopedia-detail-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shareLabel {
    font-size: 14px;
    color: #64748b;
    margin-right: 8px;
}

.shareBtn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shareBtn:hover {
    background: var(--color);
    color: #ffffff;
    transform: translateY(-2px);
}

.encyclopediaBackBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f1f5f9;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.encyclopediaBackBtn:hover {
    background: var(--color);
    color: #ffffff;
}

.encyclopediaBackIcon {
    font-size: 16px;
}
