.article-content { --wd-font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; --wd-text: #0f172a; --wd-muted: #475569; --wd-soft: #64748b; --wd-border:#e2e8f0; --wd-bg: #ffffff; --wd-bg-soft:#f8fafc; --wd-accent:#2aa9e0; --wd-accent-600:#188bc2; --wd-mark: #fff2b3; color: var(--wd-text); line-height: 1.7; font-size: 1.05rem; } .article-content img, .article-content video, .article-content svg { max-width: 100%; height: auto; border-radius: 8px; } .article-content .lead { font-size: 1.125rem; color: var(--wd-muted); margin-top: .25rem; } .article-content hr { border: 0; height: 1px; background: linear-gradient(to right, transparent, var(--wd-border), transparent); margin: 2rem 0; } .article-content h1, .article-content h2, .article-content h3, .article-content h4 { line-height: 1.25; font-weight: 600; letter-spacing: -.01em; margin: 1.5rem 0 .75rem; } .article-content h1 { font-size: clamp(2rem, 3vw, 2.5rem); } .article-content h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); } .article-content h3 { font-size: clamp(1.25rem, 1.8vw, 1.375rem); } .article-content h4 { font-size: 1.125rem; } .article-content p { margin: .9rem 0; } .article-content strong { font-weight: 600; } .article-content em { font-style: italic; } .article-content u { text-underline-offset: 2px; } .article-content small { color: var(--wd-soft); font-size: .9em; } .article-content mark { background: var(--wd-mark); padding: .05em .25em; border-radius: 3px; } .article-content a { color: var(--wd-accent); text-decoration: underline; text-underline-offset: 2px; transition: color .15s ease; } .article-content a:hover { color: var(--wd-accent-600); } .article-content figure { margin: 1.25rem 0; } .article-content figcaption { color: var(--wd-soft); font-size: .95rem; margin-top: .5rem; } .article-content ul, .article-content ol { padding-left: 1.9rem; margin: .75rem 0 1rem; } .article-content li { margin: .45rem 0; } .article-content ul li { list-style: disc; } .article-content ol { counter-reset: item; } .article-content ol li { list-style: decimal; } .article-content ul ul, .article-content ol ol, .article-content ul ol, .article-content ol ul { margin-left: .75rem; padding-left: 1.5rem; } .article-content blockquote { position: relative; margin: 1.25rem 0; padding: 1.15rem 1.25rem; color: var(--wd-muted); background: linear-gradient(180deg, #f8fafc 0%, #f3f8fc 100%); border: 1px solid var(--wd-border); border-left: 5px solid var(--wd-accent); border-radius: 0px 10px 10px 0px; box-shadow: 0 1px 0 rgba(15,23,42,.03), inset 0 0 0 1px rgba(255,255,255,.4); } .article-content blockquote::before { content: "“"; position: absolute; left: 10px; top: -14px; font-size: 3rem; line-height: 1; color: var(--wd-accent); opacity: .65; pointer-events: none; } .article-content blockquote > :last-child { margin-bottom: 0; } .article-content blockquote strong { color: var(--wd-text); } .article-content blockquote cite { display: block; margin-top: .5rem; color: var(--wd-soft); font-style: normal; font-size: .95em; } .article-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--wd-border); border-radius: 8px; overflow: hidden; } .article-content thead th { background: var(--wd-bg-soft); color: var(--wd-muted); font-weight: 600; } .article-content th, .article-content td { padding: .75rem .9rem; border-bottom: 1px solid var(--wd-border); } .article-content tbody tr:hover { background: #f9fbfd; } .article-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; background: #0f172a0d; padding: .1rem .35rem; border-radius: 4px; font-size: .95em; } .article-content pre { background: #0f172a0d; border: 1px solid var(--wd-border); border-radius: 8px; padding: 1rem; overflow: auto; box-shadow: inset 0 0 0 1px rgba(15,23,42,.02); } .article-content pre code { background: transparent; padding: 0; } .article-content dl { margin: 1rem 0; } .article-content dt { font-weight: 600; margin-top: .5rem; } .article-content dd { margin: 0 0 .5rem 0; color: var(--wd-muted); } .article-content aside { background: linear-gradient(to bottom right, #f8fafc, #f3f8fc); border: 1px solid var(--wd-border); border-left: 4px solid var(--wd-accent); border-radius: 8px; padding: .9rem 1rem; margin: 1.25rem 0; } .article-content nav[aria-label="Tartalomjegyzék"] { background: var(--wd-bg-soft); border: 1px solid var(--wd-border); border-radius: 10px; padding: .9rem 1rem; margin: 1rem 0 1.25rem; } .article-content nav[aria-label="Tartalomjegyzék"] h2 { margin: 0 0 .25rem; font-size: 1.1rem; letter-spacing: .1px; } .article-content nav[aria-label="Tartalomjegyzék"] ul { margin: .25rem 0 0; padding-left: 1rem; } .article-content nav[aria-label="Tartalomjegyzék"] li { margin: .25rem 0; } @media (min-width: 992px) { .article-content nav[aria-label="Tartalomjegyzék"] { position: sticky; top: 96px; } } .article-content header { margin-bottom: 1rem; } .article-content footer { color: var(--wd-soft); } .article-content section + section { margin-top: 1.5rem; } .article-content abbr[title] { text-decoration: underline dotted; cursor: help; }