/* Custom variables and base styles for minimal, high-converting aesthetic */
:root {
    --primary-color: #326CE5;
    /* Kubernetes Blue */
    --secondary-color: #0F172A;
    --text-color: #334155;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0;
    --ad-bg: #F1F5F9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.1rem;
    color: #94A3B8;
    font-weight: 300;
}

/* Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Articles */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.post-card h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-card .meta {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #1E293B;
}

.post-card h3 {
    color: var(--primary-color);
    margin: 25px 0 10px 0;
}

.post-card ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.post-card li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Ads Wrappers */
.ad-wrapper {
    background-color: var(--ad-bg);
    border: 1px dashed #CBD5E1;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    min-height: 100px;
    display: block;
    width: 100%;
    overflow: hidden;
}

.ad-wrapper ins.adsbygoogle {
    width: 100% !important;
}

.ad-label {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.top-ad {
    margin-bottom: 30px;
    min-height: 120px;
}

.in-feed-ad {
    margin: 10px 0;
    min-height: 250px;
}

.sidebar-ad {
    min-height: 600px;
    margin-bottom: 30px;
}

.sticky {
    position: sticky;
    top: 20px;
}

/* Widget */
.widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.widget h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.resource-list {
    list-style: none;
    margin-left: 0;
}

.resource-list li {
    margin-bottom: 15px;
}

.resource-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.resource-list a:hover {
    background-color: #EFF6FF;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #94A3B8;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}