:root {
  --primary: #2869ee;        /* Akcent (np. granat, niebieski) */
  --secondary: #f3f7fd;      /* Tło sekcji, np. jasnoszare */
  --border: #e0e6e8;
  --text: #2c3847;
  --shadow: 0 2px 20px 0 rgba(40, 105, 238, 0.08);
  --radius: 12px;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: #f7fafd;
  margin: 0;
}

.blog-container {
  max-width: 820px;
  margin: 40px auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 35px;
  border: 1px solid var(--border);
}

.blog-header {
  margin-bottom: 32px;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.1em;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;  
}

.blog-post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-post-preview {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.blog-post-preview:last-child {
  border-bottom: none;
}

.blog-preview-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.blog-title {
  font-size: 1.0em;
  color: var(--primary);
  margin: 0 0 6px 0;
  font-weight: 700;
}

.blog-meta {
  font-size: 1.00em;
  color: #5681c8;
}

.blog-excerpt {
  color: var(--text);
  font-size: 1.07em;
  margin-bottom: 12px;
}

.blog-btn {
  display: inline-block;
  padding: 9px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(40, 105, 238,0.08);
  transition: background 0.15s;
  margin-top: 8px;
}

.blog-btn:hover {
  background: #1855c7;
}

.blog-post-detail img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 24px 0;
}

.blog-post-detail h1 {
  font-size: 1.3em;
  color: var(--primary);
}

.blog-post-detail {
  line-height: 1.75;
  font-size: 0.9em;
  background: var(--secondary);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .blog-container, .blog-post-detail {
    padding: 9vw 5vw;
    box-shadow: none;
  }
}

.blog-post-content {
    line-height: 1.8;
    font-size: 1.0em;
    color: var(--text);
}

.blog-post-content h2 {
    font-size: 1.2em;
    color: var(--primary);
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 700;
}

.blog-post-content h3 {
    font-size: 1.15em;
    color: var(--primary);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 600;
}

.blog-post-content h4 {
    font-size: 1.1em;
    color: var(--text);
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.blog-post-content p {
    margin-bottom: 1.1em;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.2em;
    padding-left: 2em;
}

.blog-post-content li {
    margin-bottom: 0.6em;
}

.blog-post-content strong {
    color: var(--primary);
    font-weight: 700;
}

.blog-post-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.blog-post-content a:hover {
    color: #1855c7;
}

.blog-post-content code {
    background: var(--secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .blog-post-content h2 {
        font-size: 1.5em;
    }
    
    .blog-post-content h3 {
        font-size: 1.2em;
    }
}