/*! WinRMB Theme (c) WinRMB - commercial component, see LICENSE.txt */
.aura-related-posts-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}
.related-section-header {
    margin-bottom: 20px;
}
.title-accent {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, #a855f7, #ec4899);
    border-radius: 4px;
    margin-right: 10px;
}
.related-title-text {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
}
.related-title-text i {
    color: #64748b;
    margin-right: 8px;
    font-size: 18px;
}
.aura-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.aura-related-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.aura-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
}
.related-thumb-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8fafc;
}
.vip-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
}
.related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aura-related-card:hover .related-img {
    transform: scale(1.05);
}
.related-info-box {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.related-category {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.related-category .dot {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    margin-right: 6px;
}
.related-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}
.aura-related-card:hover .related-post-title {
    color: var(--primary-color, #3b82f6);
}
.related-post-desc {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 12px;
}
.related-post-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
    gap: 4px;
}
.related-post-meta span {
    display: flex;
    align-items: center;
}
.related-post-meta i {
    margin-right: 3px;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .aura-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .aura-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .aura-related-grid {
        grid-template-columns: 1fr;
    }
}

html[data-theme="dark"] .aura-related-posts-section {
    border-top-color: #334155;
}
html[data-theme="dark"] .related-title-text {
    color: #e2e8f0;
}
html[data-theme="dark"] .aura-related-card {
    background: #1e293b;
    border-color: #334155;
}
html[data-theme="dark"] .aura-related-card:hover {
    border-color: #475569;
}
html[data-theme="dark"] .related-post-title {
    color: #cbd5e1;
}
html[data-theme="dark"] .related-post-meta {
    color: #64748b;
}