/* Master Styles for BlogNix - 2026 */
:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #6366f1;
    --gold: #ffc107;
}

/* Force Desktop View Logic */
body {
    min-width: 1200px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f1f5f9;
    color: #1e293b;
    margin: 0;
    overflow-x: auto;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 50px rgba(0,0,0,0.08);
    min-height: 100vh;
}

/* Navigation */
.mega-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 2px solid #f1f5f9;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    margin-left: 25px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Trending Grid (Top 4) */
.trending-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 25px 40px;
}

.trend-box {
    background: var(--light);
    padding: 15px;
    border-radius: 15px;
    border-bottom: 4px solid var(--primary);
    transition: 0.4s;
}

.trend-box:hover {
    transform: translateY(-5px);
    background: #eef2ff;
}

/* Layout Modules */
.content-layout {
    display: flex;
    padding: 30px 40px;
    gap: 30px;
}

.main-area { flex: 0 0 780px; }
.sidebar-area { flex: 1; }

/* Components */
.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.sidebar-card {
    background: #fafafa;
    border-radius: 25px;
    padding: 25px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.post-item-small {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.thumb-small {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

/* Video Section */
.video-strip {
    background: var(--dark);
    padding: 40px;
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-thumb-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.video-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 0.5s;
}

.video-thumb-card:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* Feed List */
.feed-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.feed-img-large {
    width: 350px;
    height: 230px;
    border-radius: 20px;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 40px;
    margin-top: 50px;
}