/* Stránka eduxo.cz/netlab — doplněk k css/index.css (barvy, písmo, hlavička a patička jsou odtamtud) */

.nl-clanek { max-width: 780px; margin: 0 auto; padding: 3rem 2rem 4rem; font-size: 1.05rem; line-height: 1.75; }

/* Úvod: název a podtitulek */
.nl-clanek h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--blue); line-height: 1.15; }
.nl-clanek h1 + p { font-size: 1.2rem; color: var(--text-muted); margin-top: 0.4rem; padding-bottom: 1.5rem;
                    border-bottom: 1px solid #e0e6f3; }

/* Oddíly */
.nl-clanek h2 { font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1.3; text-wrap: balance;
                margin-top: 2.75rem; margin-bottom: 0.75rem; }
.nl-clanek p { margin-top: 0.9rem; }
.nl-clanek h2 + p { margin-top: 0; }
.nl-clanek ul, .nl-clanek ol { margin-top: 0.9rem; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.nl-clanek ul { list-style: disc; }
.nl-clanek ol { list-style: decimal; }
.nl-clanek li::marker { color: var(--blue); font-weight: 700; }
.nl-clanek a { color: #1a56c4; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nl-clanek a:hover { color: var(--blue); }
.nl-clanek code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.88em;
                  background: #e8edf8; padding: 0.1em 0.4em; border-radius: 4px; }

/* Snímky obrazovky s popiskem; kliknutím se zvětší */
.nl-obrazek { margin: 1.75rem 0 0.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.nl-obrazek img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #d6deef;
                  box-shadow: 0 8px 24px rgba(26,58,143,0.12); cursor: zoom-in; }
.nl-obrazek figcaption { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* Postavy: avatar v kolečku s barvou postavy, vedle text */
.nl-clanek ul.nl-postavy { list-style: none; padding-left: 0; gap: 1.1rem; }
.nl-postava { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; align-items: start; }
.nl-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--c); background: var(--white);
             box-shadow: 0 2px 8px rgba(26,58,143,0.15); }

/* Zvětšený obrázek přes celou obrazovku */
.nl-zoom { position: fixed; inset: 0; z-index: 200; background: rgba(10,16,35,0.85);
           display: flex; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.nl-zoom[hidden] { display: none; }
.nl-zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

@media (max-width: 600px) {
    .nl-clanek { padding: 2rem 1rem 3rem; font-size: 1rem; }
    .nl-postava { grid-template-columns: 48px minmax(0, 1fr); gap: 0.8rem; }
    .nl-avatar { width: 48px; height: 48px; border-width: 2px; }
    .nl-zoom { padding: 0.5rem; }
}
