/* THEME: ogrod
   PALETTE: Ciemna Zielen OgrĂłd
*/

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #10b981;
    --primary-light: #d1fae5;
    --accent: #059669;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 4px 10px rgba(16,185,129,0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0v20' stroke='%232f5233' stroke-width='1' stroke-opacity='0.1' fill='none'/%3E%3C/svg%3E");
    color: var(--text-main);
    line-height: 1.7;
}

body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 5px;
    background: var(--primary); z-index: 9999;
}

.site-nav { background: #ffffff; border-bottom: none; padding: 20px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-box { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-icon {
    background: var(--primary) !important; color: #fff !important;
    width: 44px; height: 44px; border-radius: 8px !important; border-bottom: 2px solid var(--accent);
    font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center;
}

.logo-text { color: var(--primary) !important; font-weight: 600; font-size: 24px; letter-spacing: 0;  }

.nav-menu { display: flex; list-style: none; gap: 15px; }
.nav-menu li a {
    color: var(--text-muted); font-weight: 600; font-size: 14px; padding: 8px 15px; 
    transition: all 0.3s; cursor: pointer; text-decoration: none; border-radius: 6px; 
}
.nav-menu li a:hover { background: var(--primary-light); color: var(--primary); }

.btn-read {
    display: inline-block; margin-top: 15px; padding: 12px 24px;
    background: var(--primary); color: #fff !important; font-size: 14px; font-weight: 700; 
    border: none; border-radius: 8px; transition: all 0.3s; cursor: pointer; text-align: center; 
}
.btn-read:hover { background: var(--accent); color: var(--primary) !important; transform: translateY(-2px); }

.tile-item { border: none !important; border-radius: 8px !important; overflow: hidden; box-shadow: var(--shadow) !important; transition: all 0.4s; background: var(--bg-card); }
.tile-item:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(47,82,51,0.15) !important; }
.tile-overlay { background: linear-gradient(to top, rgba(59,64,56,0.9), transparent) !important; padding: 25px !important; border-bottom: none; }
.tile-overlay h3 { font-weight: 800; font-size: 1.4rem; color: #ffffff !important;  }

.card { background: var(--bg-card); border: 1px solid var(--border) !important; transition: all 0.3s; border-radius: 8px; overflow: hidden; box-shadow: none; }
.card:hover { border-color: var(--primary) !important; }
.card-body h4 { font-weight: 800; font-size: 1.25rem; color: var(--text-main); margin-bottom: 12px;  }

#sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 30px; box-shadow: none; }
#sidebar h3 { color: var(--primary); padding: 0 0 10px 0; font-weight: 800; margin: 0 0 20px 0; border-bottom: 2px solid var(--primary-light); font-size: 16px;  }

#view-post article { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 50px; box-shadow: none; }
#p-title { font-size: 2.6rem; font-weight: 800; color: var(--text-main); margin-bottom: 25px; line-height: 1.2;   }
#view-post img { border-radius: 8px !important; margin-bottom: 30px;  }
.post-content { font-size: 1.1rem; color: var(--text-main); line-height: 1.8; }
.post-content h2, .post-content h3 { color: var(--accent); font-weight: 800; margin-top: 2em; margin-bottom: 1em;  }

@media (max-width: 768px) {
    .nav-inner { flex-direction: column; gap: 15px; } .nav-menu { flex-wrap: wrap; justify-content: center; }
}
