/* ==========================================================================
   PAGE HEADER - NADPIS STRÁNKY S DESIGNOVÝMI PRVKY
   ========================================================================== */

.page-head {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 0.5rem 0;
}

/* Barevné kostičky - horizontální uspořádání pod nadpisem */
.page-head::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary-blue, #175ee6);
    border-radius: 2px;
    box-shadow: 
        16px 0 0 0 #10b981,
        32px 0 0 0 #fbbf24;
}

/* Subtilní animace */
@keyframes float-cubes {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.page-head::before {
    animation: float-cubes 3s ease-in-out infinite;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue, #175ee6);
    background: rgba(23, 94, 230, 0.05);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.page-head h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark, #1e293b);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.page-excerpt {
    font-size: 1.125rem;
    color: var(--text-medium, #64748b);
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 65ch;
}

/* Content Shell */
.content-shell {
    flex: 1;
}

.content-prose {
    color: var(--text-dark, #1e293b);
    line-height: 1.75;
}

.content-prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark, #1e293b);
}

.content-prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark, #1e293b);
}

.content-prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark, #1e293b);
}

.content-prose p {
    margin-bottom: 1.25rem;
}

.content-prose a {
    color: var(--primary-blue, #175ee6);
    text-decoration: underline;
    text-decoration-color: rgba(23, 94, 230, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.content-prose a:hover {
    color: #0f4bc5;
    text-decoration-color: #0f4bc5;
}

.content-prose ul,
.content-prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
}

.content-prose li {
    margin-bottom: 0.5rem;
}

.content-prose blockquote {
    border-left: 3px solid var(--primary-blue, #175ee6);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-medium, #64748b);
}

.content-prose img {
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-prose pre {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.content-prose code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875em;
    background: rgba(15, 23, 42, 0.05);
    padding: 0.25em 0.5em;
    border-radius: 3px;
}

.content-prose pre code {
    background: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-head h1 {
        font-size: 2.25rem;
    }
    
    .page-excerpt {
        font-size: 1.0625rem;
    }
}

@media (max-width: 768px) {
    .page-head {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .page-head::before {
        left: 0;
        width: 6px;
        height: 6px;
        box-shadow: 
            12px 0 0 0 #10b981,
            24px 0 0 0 #fbbf24;
    }
    
    .page-head h1 {
        font-size: 1.875rem;
    }
    
    .page-excerpt {
        font-size: 1rem;
    }
    
    .content-prose h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .content-prose h3 {
        font-size: 1.25rem;
    }
}
