/* ============================================
   BLOG CSS — Style dla listy artykułów (blog.html)
   ============================================ */

/* Siatka kart */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    min-height: 200px;
    padding-bottom: 60px;
}

/* Karta artykułu */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(37, 99, 235, 0.2);
    border-color: var(--primary);
}

/* Miniatura */
.blog-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.08);
}

.blog-thumb i {
    font-size: 3rem;
    color: #cbd5e1;
    opacity: 0.5;
}

/* Treść karty */
.blog-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-body h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-family: var(--font-head);
    color: var(--text-main);
}

.blog-excerpt {
    flex-grow: 1;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.blog-body .link-arrow {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .link-arrow {
    gap: 12px;
}

/* ============================================
   STYLE DLA ARTYKUŁÓW BLOGOWYCH
   (klasy używane w czarny-ekran.html i windows-10.html)
   ============================================ */

/* Separator sekcji w długich artykułach */
.long-read-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    color: var(--primary);
    font-weight: 700;
    opacity: 0.6;
}

.long-read-marker::before,
.long-read-marker::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed var(--border);
    margin: 0 15px;
}

/* Blok kodu */
.code-block {
    background: #1e293b;
    color: #a5f3fc;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    overflow-x: auto;
    margin: 20px 0;
}

/* Styl klawiszy (np. Ctrl, Alt) */
.kbd {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-bottom: 3px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-weight: bold;
    color: #334155;
}

/* ============================================
   STYLE ARTYKUŁU: AI MONITOR
   ============================================ */

/* Styl dla specjalnej ikony procesora */
.content-image.ai-chip {
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
    transition: filter 0.3s ease;
}

.content-image.ai-chip:hover {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
}

/* Wzmocniony wygląd listy technicznej */
.technical-list {
    position: relative;
    list-style: none;
    padding-left: 20px;
}

.technical-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.6;
}

.technical-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: -10px;
    top: 0;
}