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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #2d3436;
    background: #f8f9fa;
}

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d8cf0;
}
.site-header nav a {
    color: #636e72;
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.95rem;
}
.site-header nav a:hover { color: #2d8cf0; }

/* Video embed */
.video-embed {
    grid-column: 1 / -1;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.video-embed #yt-player,
.video-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

/* Main layout */
main.container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 60px;
}
@media (max-width: 768px) {
    main.container { grid-template-columns: 1fr; }
}

/* Article */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #636e72;
}
.category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}
.article h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a2e;
}
.lead {
    font-size: 1.15rem;
    color: #4a4a5a;
    margin-bottom: 32px;
    border-left: 4px solid #2d8cf0;
    padding-left: 16px;
}
.article h2 {
    font-size: 1.35rem;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #1a1a2e;
}
.article p {
    margin-bottom: 16px;
    color: #444;
}
.article-footer {
    margin-top: 40px;
    padding: 24px;
    background: #f0f4f8;
    border-radius: 8px;
}
.article-footer h3 {
    margin-bottom: 12px;
    color: #1a1a2e;
}

/* Sidebar */
.sidebar { padding-top: 40px; }
.sidebar-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}
.sidebar-section h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}
.sidebar-section ul { list-style: none; }
.sidebar-section li { margin-bottom: 10px; }
.sidebar-section a {
    color: #2d8cf0;
    text-decoration: none;
    font-size: 0.93rem;
}
.sidebar-section a:hover { text-decoration: underline; }
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.newsletter-form input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}
.newsletter-form button {
    padding: 8px 16px;
    background: #2d8cf0;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}
.newsletter-form button:hover { background: #1a7ae0; }

/* Footer */
.site-footer {
    background: #2d3436;
    color: #b2bec3;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}
.site-footer a { color: #74b9ff; text-decoration: none; }
