/*
Theme Name: Napotki new
Theme URI: https://napotki.top
Author: Lavrič_T
Author URI: https://napotki.top
Description: Profesionalni časopisni dizajn za kratke novice, gospodarstvo, nasvete in YouTube
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: napotki-new
Domain Path: /languages
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* HEADER */
.site-header {
    background: #1a1a2e;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-header-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.site-nav {
    display: flex;
    gap: 30px;
}

.site-nav a {
    color: white;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.site-nav a:hover {
    opacity: 1;
    text-decoration: none;
}

/* MAIN CONTENT */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 30px 0;
}

/* FEATURED */
.featured-article {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid #e74c3c;
}

.featured-article h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.featured-article p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.featured-meta {
    font-size: 12px;
    color: #999;
}

/* ARTICLES GRID */
.articles-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-item {
    display: flex;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e0e0e0;
    transition: transform 0.3s;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    transform: translateX(5px);
}

.article-thumb {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    border-radius: 3px;
    flex-shrink: 0;
}

.article-body h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    line-height: 1.4;
}

.article-meta {
    font-size: 11px;
    color: #999;
}

/* SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    background: #f9f9f9;
    border-radius: 4px;
    padding: 20px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.trending-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-num {
    font-size: 20px;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 5px;
}

.trending-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* FOOTER */
.site-footer {
    background: #f0f0f0;
    padding: 30px 20px;
    margin-top: 50px;
    text-align: center;
    color: #666;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .site-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-thumb {
        width: 100%;
        height: 150px;
    }
    
    .featured-article h2 {
        font-size: 18px;
    }
}

/* POST SINGLE */
.post-single {
    background: white;
    padding: 30px 0;
}

.post-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    font-size: 13px;
    color: #999;
}

.post-content {
    font-size: 15px;
    line-height: 1.8;
    max-width: 800px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* SEARCH */
.search-form {
    margin-bottom: 30px;
}

.search-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-form button {
    background: #1a1a2e;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

/* 404 */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 h1 {
    font-size: 72px;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-404 a {
    display: inline-block;
    background: #1a1a2e;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
}

/* PAGINATION */
.pagination {
    display: flex;
    gap: 5px;
    margin: 30px 0;
    justify-content: center;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: white;
}

.pagination a:hover {
    background: #1a1a2e;
    color: white;
    text-decoration: none;
}

.pagination .current {
    background: #1a1a2e;
    color: white;
}