:root {
    --primary: #377abf;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #334155;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 300;
    text-decoration: none;
    color: var(--light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--light);
    font-weight: 300;
    transition: color 0.2s ease-in-out;
}

nav a:hover {
    color: var(--text);
}

nav a.active {
    color: var(--light) !important;
    font-weight: 700;
    padding-bottom: 4px;
}

/* Layout Grid */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 10px;
}

.topmain {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text);
}

.topmain-sub {
    margin-top: 0;
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 30px;
}

/* Posts */
.post-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.post-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.post-card h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.post-teaser {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 2px solid var(--primary);
    text-align: left;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 30px;
}

.post-content p {
    margin-top: 0;
    margin-bottom: 1.3rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.3rem;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 0.4rem;
}

/* Sidebar */
.widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.widget h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #999;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.5rem;
}

.widget a {
    text-decoration: none;
    color: var(--primary);
}

.widget.sucheinput {
    gap: 10px;
    background: var(--light);
}

.widget .gallery-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    max-height: 120px;
}

.widget .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.widget .meta-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 15px;
}

.widget .meta-item h4 {
    margin: 0 0 5px 0;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 500;
}

.widget .meta-item p {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    color: #94a3b8;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }
}