/* public/assets/css/main.css */

:root {
    /* Color Palette - Core (Orange Rebrand) */
    --primary-color: hsl(25, 95%, 53%);
    --secondary-color: hsl(35, 90%, 55%);
    --accent-color: hsl(45, 100%, 50%);
    --topnav-height: 75px;
    --radius: 16px;
    --transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- LIGHT THEME (Default) --- */
:root,
:root.theme-light,
body.theme-light {
    --bg-color: #f0f2f5;
    --text-color: #1a1a1b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    --primary-gradient: linear-gradient(135deg, hsl(25, 95%, 53%), hsl(15, 90%, 48%));
}

/* --- DARK THEME --- */
:root.theme-dark,
body.theme-dark {
    --bg-color: #0b1016;
    --text-color: #f1f3f5;
    --card-bg: rgba(22, 27, 34, 0.98);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --primary-gradient: linear-gradient(135deg, hsl(25, 95%, 60%), hsl(15, 90%, 50%));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.4s ease, color 0.4s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* --- Header & Navigation --- */
.main-header {
    background: var(--primary-gradient);
    color: white;
    height: var(--topnav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: -1.5px;
}

.horizontal-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.horizontal-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.horizontal-nav a:hover,
.horizontal-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* --- Right Side --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hide mobile-only search elements by default */
.mobile-search-toggle,
.mobile-search-close {
    display: none;
}

.header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 2px 4px 2px 18px;
    transition: var(--transition);
    width: 280px;
    /* Fixed width for stability */
    position: relative;
}

.search-clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 6px;
    font-size: 1rem;
    transition: var(--transition);
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    color: white;
    transform: scale(1.1);
}

.header-search:focus-within {
    max-width: 300px;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.header-search input {
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}


.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search button.search-submit {
    background: var(--primary-gradient);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.user-dropdown {
    position: relative;
}

.user-nav .pfp {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    display: block;
}

.user-nav .pfp:hover {
    border-color: white;
    transform: scale(1.05);
}

.user-nav .pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    padding: 10px;
    border-radius: var(--radius);
    z-index: 1001;
    animation: fadeIn 0.3s ease;
}

/* Hitbox bridge for dropdown stability */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: 600;
}

.dropdown-content a:hover {
    background: rgba(123, 44, 191, 0.1);
    color: var(--primary-color);
}

.dropdown-content .divider {
    height: 1px;
    background: var(--glass-border);
    margin: 5px 0;
}

.dropdown-content .logout-link {
    color: #ff4d4d;
}

/* --- Notification Bell --- */
.notification-nav {
    display: flex;
    align-items: center;
}

.notif-bell {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.notif-bell:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff3040;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(255, 48, 64, 0.4);
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* --- Content Wrapper --- */
.main-content-wrapper {
    flex: 1;
    padding: 30px 0;
}

.content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Global Animations --- */
@keyframes badgeGlow {
    0% {
        filter: drop-shadow(0 0 0px rgba(0, 149, 246, 0));
    }

    50% {
        filter: drop-shadow(0 0 4px rgba(0, 149, 246, 0.6));
    }

    100% {
        filter: drop-shadow(0 0 0px rgba(0, 149, 246, 0));
    }
}

@keyframes pulseAvatar {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(123, 44, 191, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(123, 44, 191, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(123, 44, 191, 0.4);
    }
}

@keyframes successPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        filter: brightness(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* UI Components */
.btn-vibe {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vibe-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    transition: var(--transition);
    color: var(--text-color);
    will-change: transform;
}

.vibe-card:hover {
    transform: translateY(-4px);
}

.vibe-text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.app-footer {
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    color: #888;
}

/* --- Post Modal --- */
.vibe-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vibe-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    max-height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2001;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    height: 100%;
    width: 100%;
}

.modal-image-side {
    flex: 1.4;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-side img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-details-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.8);
    /* Much more opaque for readability */
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--glass-border);
}

.modal-post-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-post-header .username {
    font-weight: 700;
    color: white;
}

.modal-post-header .post-time {
    color: #888;
    font-size: 0.75rem;
}

.modal-post-content {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-post-content p {
    margin: 0;
    color: #ddd;
    line-height: 1.5;
}

.modal-comments-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle backdrop for each comment */
    transition: var(--transition);
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--primary-color);
}

.comment-header {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.comment-header strong {
    color: white;
}

.comment-header small {
    color: #888;
    font-size: 0.75rem;
}

.comment-content p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

.modal-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.modal-actions .action-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.modal-actions .action-btn:hover {
    transform: scale(1.1);
}

.modal-actions .like-btn.active {
    color: #ff3040;
}

.modal-comment-input {
    display: flex;
    gap: 10px;
}

.modal-comment-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 10px 15px;
    border-radius: 20px;
    color: white;
    font-family: inherit;
}

.modal-comment-input button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-comment-input button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .modal-content {
        max-width: 600px;
        height: 95vh;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image-side {
        flex: 0.7;
    }

    .modal-details-side {
        flex: 1;
        border-left: none;
        border-top: 1px solid var(--glass-border);
    }
}

/* --- Notification Popover --- */
.notif-popover {
    position: absolute;
    top: calc(100% + 15px);
    right: -10px;
    width: 380px;
    max-height: 500px;
    background: rgba(15, 15, 15, 0.95);
    /* High opacity for readability */
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transform-origin: top right;
}

.notif-popover.active {
    display: flex;
}

.notif-popover::after {
    content: '';
    position: absolute;
    top: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popover-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popover-header h5 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.popover-list {
    flex: 1;
    overflow-y: auto;
    max-height: 380px;
}

.popover-item {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.popover-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.popover-item.unread {
    background: rgba(123, 44, 191, 0.1);
}

.notif-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.notif-text {
    flex: 1;
}

.notif-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #eee;
}

.notif-text p strong {
    color: white;
}

.notif-text small {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 0.75rem;
}

.popover-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.popover-footer a {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.popover-loading,
.popover-empty,
.popover-error {
    padding: 40px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .notif-popover {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: 100%;
    }

    .notif-popover::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-left {
        gap: 10px;
    }

    .horizontal-nav span,
    .user-name-label {
        display: none;
    }

    .header-search {
        max-width: 150px;
    }
}

/* Shared Post Preview in Chat */
.shared-post-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 250px;
    transition: transform 0.2s;
}

.shared-post-preview:hover {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.15);
}

.shared-p-media {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.shared-p-video-icon {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.shared-p-caption {
    font-size: 0.85rem;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.msg-bubble.me .shared-post-preview {
    background: rgba(0, 0, 0, 0.1);
}


.action-btn.save.saved i {
    color: var(--primary-color) !important;
}


/* Multimedia & Text Post Support */
.post-main-video {
    width: 100%;
    max-height: 600px;
    background: #000;
    display: block;
    border-radius: var(--radius);
}

.post-video-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
}

.post-content.text-only {
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: var(--radius);
    margin: 1rem;
}

.post-content.text-only .caption {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--text-color);
}

/* Modal Video adjustments */
.modal-image-side video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* --- Campus Restructure Components --- */
.feed-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    margin: 0 auto 30px auto;
    width: fit-content;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-item {
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    color: var(--text-color) !important;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.5;
}

.tab-item i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.tab-item:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.tab-item.active {
    background: var(--primary-gradient);
    color: white !important;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
    transform: scale(1.05);
}

.tab-item.active i {
    transform: scale(1.1);
}

/* --- Global Post Components --- */

/* Compact Post Row (Text Only) */
.post-row {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--card-bg);
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.post-row:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    border-color: var(--primary-color);
}

.post-row-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(123, 44, 191, 0.05);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.post-row-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-row-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 2px;
}

.post-row-badge {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
}

.post-row-badge.discussion {
    color: var(--primary-color);
    background: rgba(123, 44, 191, 0.1);
}

.post-row-badge.question {
    color: #ff5722;
    background: rgba(255, 87, 34, 0.1);
}

.post-row-badge.resource {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.post-row-badge.announcement {
    color: #9c27b0;
    background: rgba(156, 39, 176, 0.1);
}

.post-row-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

.post-row-stats {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
}

.post-row-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.post-row-stats .stat:hover,
.post-row-stats .stat.active {
    color: var(--primary-color);
}