/* Kiegészítő stílusok, amik Tailwind osztályként kényelmetlenek. */

/* Vízszintesen görgethető sávoknál elrejti a görgetősávot (pl. mobil rovat-gombok). */
.no-scrollbar {
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ===== Cikk szövege (a cikkoldalon az AI/szerkesztő által írt HTML) ===== */
.article-body {
    font-size: 18px;
    line-height: 1.75;
    color: #1F242D;
}

.article-body > * + * {
    margin-top: 1.25em;
}

.article-body h2 {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    margin-top: 1.8em;
    color: #0E1116;
}

.article-body h3 {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-size: 21px;
    font-weight: 700;
    margin-top: 1.6em;
}

.article-body a {
    color: #1F4FE0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body ul,
.article-body ol {
    padding-left: 1.4em;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li + li {
    margin-top: 0.4em;
}

.article-body li::marker {
    color: #1F4FE0;
}

.article-body blockquote {
    border-left: 4px solid #1F4FE0;
    padding: 0.2em 0 0.2em 1em;
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    color: #0E1116;
}

.article-body em {
    color: #5B6270;
}

@media (max-width: 640px) {
    .article-body { font-size: 17px; }
    .article-body h2 { font-size: 22px; }
    .article-body blockquote { font-size: 19px; }
}

/* ===== Cikk szövege: képek, táblázatok, videók (a szerkesztőből beszúrva) ===== */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-body figure {
    margin: 1.75em 0;
}

.article-body figure img {
    display: block;
}

.article-body figcaption {
    margin-top: 0.5em;
    font-size: 14px;
    line-height: 1.5;
    color: #5B6270;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    display: block;          /* széles táblázat mobilon vízszintesen görgethető */
    overflow-x: auto;
}

.article-body th,
.article-body td {
    border: 1px solid #E4E7EC;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: #F4F5F7;
    font-weight: 600;
    color: #0E1116;
}

.article-body iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 12px;
}

.article-body hr {
    border: 0;
    border-top: 1px solid #E4E7EC;
}
