/**
 * Brandocs Tudástár — közös stíluslap
 *
 * Minden lap (kapuoldal és belső lapok) ugyanezt használja, hogy a vizuális
 * stílus és a megosztott komponensek (fejléc, kereső, sidebar, breadcrumb,
 * footer) konzisztens módon jelenjenek meg. A stílusokat egy helyen
 * szerkesztve minden lap automatikusan frissül.
 */

/* ============================================================
   Base
   ============================================================ */

/* Mobil túlcsordulás elkerülése: hosszú inline kód (pl. URL) törjön; a
   tartalom és a képek soha ne lógjanak ki vízszintesen a viewportból. */
.prose code:not(pre code) {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.prose img,
.prose pre {
    max-width: 100%;
}
.prose {
    overflow-wrap: break-word;
}
/* Endpoint/URL dobozok: hosszú URL törjön, ne lógjon ki. */
.prose .endpoint-box {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* Táblázat soha ne lógjon ki: saját maga vízszintesen görgethető (mobil). */
.prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sima átmenet oldalváltáskor (több-oldalas nézet-átmenet, Chrome/Edge):
   a statikus fejléc+hero miatt az új oldal már készen érkezik, így átúszik,
   nem "pattan". Nem támogató böngészőben egyszerűen sima navigáció marad. */
@view-transition {
    navigation: auto;
}

html {
    scroll-behavior: smooth;
    /* Horgony-ugrás/megérkezés a szürke tartalom tetejére: 82px fejléc + rés.
       A szekciócímek 5px-vel feljebb érkeznek, mint a sidebar megtapadása (120px). */
    scroll-padding-top: 120px;
}

/* Sticky page header — a #page-header wrapper marad fent a viewport tetején,
   így a horgony-ugrás megfelelő távolságra (scroll-padding-top) érkezik.
   A min-height + fehér háttér előre lefoglalja a JS-rendelt fejléc helyét, hogy
   betöltéskor/oldalváltáskor ne "pattanjon" a tartalom (CLS-mentesítés). */
#page-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 82px;
    background: #ffffff;
}

/* A nagy kereső-hero helyének előzetes lefoglalása (üresen is a végleges méret +
   megjelenés), így nincs layout-ugrás, amíg a JS feltölti. */
#hero-search {
    min-height: 233px;
    background: #ffffff;
}

/* Sticky footer: rövid tartalomnál (pl. nagyképernyőn) a lábléc a viewport
   aljára kerül, nem lóg középen. A margin-top:auto felfogja a szabad helyet;
   hosszú tartalomnál nincs hatása. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* A body flex-oszlop + a tartalom-konténer mx-auto (auto oldalmargók) együtt
   kikapcsolja a vízszintes stretch-et, így a konténer a tartalomhoz zsugorodna
   (rövid tartalomnál – pl. coming-soon – keskeny lenne). Explicit 100% szélesség
   visszaadja a teljes szélességet; a max-width továbbra is 1280px-en cap-el. */
body > .max-w-7xl {
    width: 100%;
}
#page-footer {
    margin-top: auto;
}

* {
    font-family: 'Nunito Sans', sans-serif;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ============================================================
   Search Input
   ============================================================ */

.search-input:hover {
    border-color: #E4032E;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-input:focus {
    outline: none;
    border-color: #E4032E;
    box-shadow: 0 0 0 3px rgba(228, 3, 46, 0.1);
}

/* Deep search results dropdown — élő keresés a kapuoldalon és minden belső lapon */
.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 480px;
    overflow-y: auto;
    z-index: 100;
    text-align: left;
}

.search-dropdown.hidden {
    display: none;
}

.search-result-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #F3F4F6;
    color: inherit;
    text-decoration: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #F9FAFB;
}

.search-result-page {
    font-size: 15px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2px;
}

.search-result-summary {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
}

.search-result-empty {
    padding: 16px;
    text-align: center;
    color: #6B7280;
    font-size: 15px;
}

/* ============================================================
   Language Selector Dropdown
   ============================================================ */

/* Egynyelvű módban (app.js ENABLED_LANGS) a nyelvválasztó rejtve — asztali és mobil */
html:not(.multi-lang) .lang-selector,
html:not(.multi-lang) .mobile-lang-section {
    display: none !important;
}

.lang-selector {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.lang-trigger svg.globe-icon {
    width: 24px;
    height: 24px;
    color: #374151;
    transition: color 0.2s ease;
}

.lang-selector:hover .lang-trigger svg.globe-icon {
    color: #E4032E;
}

.lang-trigger svg.chevron-icon {
    width: 20px;
    height: 20px;
    color: #374151;
    transition: transform 0.3s ease, color 0.2s ease;
}

.lang-trigger svg.chevron-icon.rotated {
    color: #E4032E;
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 20px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
}

.lang-option:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.lang-option:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid #F3F4F6;
}

.lang-option:hover {
    background-color: #F3F4F6;
}

.lang-option.active {
    color: #E4032E;
    font-weight: 600;
}

.lang-option.active:hover {
    background-color: #F3F4F6;
    color: #E4032E;
}

/* Nyelvválasztó dropdown elemek MINDIG láthatók (mind a 3 nyelv) */
.lang-dropdown-menu .lang-option {
    display: block !important;
}

/* ============================================================
   Sidebar Navigation
   ============================================================ */

.nav-category-title {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-left: 15px;
}

.nav-link {
    display: block;
    padding: 8px 12px;
    padding-left: 15px;
    color: #374151;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.nav-link:hover {
    background: #F0F1F3;
}

.nav-link.active {
    background: #FEF2F2;
    color: #E4032E;
    font-weight: 600;
}

/* Belső lapok sticky sidebar — scroll-spy aktív kiemelés.
   A `top: 120px` = 82px sticky fejléc + ~38px szürke rés, így görgetéskor a
   TÉMÁK/sidebar a szürke tartalmi szakasz tetején tapad meg (a fejléc alatt
   kényelmes réssel), ugyanott, ahol a szekciók horgony-ugrásnál megérkeznek. */
.sidebar-sticky {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 136px);
    overflow-y: auto;
}

/* A sidebar görgetősávja alapból rejtett; görgetéskor megjelenik, majd
   halványulva eltűnik (mint a natív böngésző-scrollbar). Lásd initSidebarAutoHideScrollbar. */
.sidebar-sticky {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.6s ease;
}
.sidebar-sticky.is-scrolling {
    scrollbar-color: #C7CAD1 transparent;
    transition: scrollbar-color 0.1s ease;
}
.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}
.sidebar-sticky::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-sticky::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
    transition: background-color 0.6s ease;
}
.sidebar-sticky.is-scrolling::-webkit-scrollbar-thumb {
    background: #C7CAD1;
    transition: background-color 0.1s ease;
}
.sidebar-sticky.is-scrolling::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Felsorolások sorköze legyen olyan, mint a normál tartalmi szövegé:
   az elemek közti extra margót a bekezdés-sorközre csökkentjük (felülírja az inline 8px-et). */
main.prose ul li,
main.prose ol li {
    margin-bottom: 2px;
}

/* Horgonyozható al-szekció címek (pl. 9.4, 10.2) fölé több tér, hogy
   horgony-érkezéskor a fejléc alatti résbe ne lógjon be az előző szekció
   képének alja, és vizuálisan is jobban elváljanak. */
main.prose h3[id] {
    margin-top: 52px;
}

/* ============================================================
   Tudástár sidebar — fa-szerkezet
   8 top-level téma, az aktívnak az anchor-jai (kategóriák + items) kibontva.
   ============================================================ */

.kb-sidebar-title {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-left: 15px;
}

/* ===== Új sidebar: funkciócsoport (halvány fejléc) → funkció (nyíllal) → szekciók ===== */
.kb-group-title {
    display: block;
    margin: 20px 0 4px;
    padding: 0 15px;
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
a.kb-group-title:hover { color: #E4032E; }
.kb-group-plain { cursor: default; }

/* Funkció név-sora: név (link, balra) + nyíl (jobbra). */
.kb-func-row {
    display: flex;
    align-items: center;
    border-radius: 6px;
}
.kb-func-row:hover { background: #F0F1F3; }

.kb-func {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 7px 6px 7px 15px;
    font-size: 15px;
    line-height: 1.35;
    color: #374151;
    text-decoration: none;
}
.kb-func:hover { color: #E4032E; }

/* Önálló elem (Első lépések, API dokumentáció) — a többi funkcióval azonos megjelenés. */
.kb-func-top { font-weight: inherit; font-size: 15px; }

/* Csoport-méretű térköz egy önálló elem fölött (pl. Profilom), a .kb-group-title 20px felső margójával azonos. */
.kb-item-gap { margin-top: 20px; }

/* Vékony elválasztó vonal egy önálló elem fölött (Újdonságok — a témafától
   külön álló, „nem téma" jellegű menüpont). */
.kb-item-divider {
    border-top: 1px solid #E5E7EB;
    padding-top: 16px;
}

/* Aktuális oldal funkciója, ill. scroll-spy aktív szekció. */
.kb-func-active,
.nav-spy-link.active {
    color: #E4032E;
    font-weight: 700;
}

/* Nyíl a funkció mellett (alpontok ki/be). */
.kb-func-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 7px 12px 7px 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.kb-item-open .kb-func-toggle .kb-chevron {
    transform: rotate(180deg);
    color: #E4032E;
}

/* Kinyitható szekciók (alcímek) a funkció alatt. */
.kb-func-sections {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-left: 15px;
    padding-left: 10px;
    border-left: 2px solid #FEE2E2;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}
.kb-item-open > .kb-func-sections {
    max-height: 2000px;
    opacity: 1;
    padding-top: 4px;
    padding-bottom: 8px;
}
.kb-func-sections .nav-link {
    display: block;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1.35;
    color: #4B5563;
    text-decoration: none;
    border-radius: 5px;
}
/* Al-al-pont (pl. 9.1, 10.2 …) — kissé beljebb, a hierarchia jelzésére. */
.kb-func-sections .nav-link.nav-sub {
    padding-left: 24px;
    font-size: 13.5px;
    color: #6B7280;
}
.kb-func-sections .nav-link:hover { background: #F0F1F3; color: #E4032E; }
.kb-func-sections .nav-link.active { color: #E4032E; font-weight: 600; background: transparent; }

/* "Hamarosan" — még nem kész funkció helye. */
.kb-func-soon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    font-size: 14.5px;
    color: #B6BAC2;
    cursor: default;
}
.kb-soon-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9CA3AF;
    background: #F3F4F6;
    padding: 1px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.kb-topic {
    margin-bottom: 2px;
}

/* Téma fejléc: a NÉV (link az oldalra) + a chevron (helyben nyit/csuk). */
.kb-topic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    border-radius: 6px;
}

.kb-topic-header:hover {
    background: #F0F1F3;
}

.kb-topic-title {
    flex: 1;
    min-width: 0;
    padding: 8px 4px 8px 15px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.kb-topic-title:hover {
    color: #E4032E;
}

.kb-topic-title-active {
    color: #E4032E;
    font-weight: 700;
}

.kb-topic-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 13px 8px 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.kb-chevron {
    width: 16px;
    height: 16px;
    color: #9CA3AF;
    transition: transform 0.25s ease, color 0.2s ease;
}

.kb-topic-open .kb-topic-toggle .kb-chevron {
    transform: rotate(180deg);
    color: #E4032E;
}

/* Accordion: alapból csukva; az aktív (nyitott) téma tartalma jelenik meg. */
.kb-topic-content {
    margin-left: 7px;
    margin-top: 2px;
    border-left: 2px solid #FEE2E2;
    padding-left: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}

.kb-topic-open > .kb-topic-content {
    max-height: 2000px;
    opacity: 1;
    padding-top: 6px;
    padding-bottom: 10px;
}

.kb-topic-content .nav-category-title {
    margin-top: 8px;
    margin-bottom: 6px;
    padding-left: 8px;
}

.kb-topic-content .nav-category-title:first-child {
    margin-top: 0;
}

.kb-topic-content .nav-link {
    padding: 6px 10px;
    font-size: 14px;
}

/* Sub-page (pl. UNAS az Integrációk alatt) */
.kb-subpage {
    margin-top: 4px;
    margin-bottom: 2px;
}

.kb-subpage-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
}

.kb-subpage-title:hover {
    background: #F0F1F3;
}

.kb-subpage-title-active {
    color: #E4032E;
    font-weight: 700;
}

.kb-subpage-title-active:hover {
    background: transparent;
}

.kb-subpage-coming {
    color: #9CA3AF;
    cursor: default;
    pointer-events: none;
}

.kb-coming-badge {
    background: #F3F4F6;
    color: #6B7280;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.kb-subpage-content {
    margin-top: 4px;
    margin-left: 4px;
    padding-left: 8px;
    border-left: 2px solid #FEE2E2;
}

.kb-subpage-content .nav-category-title {
    margin-top: 8px;
    margin-bottom: 6px;
}

.kb-subpage-content .nav-category-title:first-child {
    margin-top: 0;
}

.kb-subpage-content .nav-link {
    padding: 6px 10px;
    font-size: 14px;
}

/* ============================================================
   Topic Cards (kapuoldal)
   ============================================================ */

.topic-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.topic-card:hover {
    border-color: #E4032E;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.topic-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #E4032E 0%, #FF6B85 100%) !important;
}

.topic-card-icon svg {
    color: white !important;
}

.topic-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.topic-card-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

/* ============================================================
   Újdonságok
   Egy adatforrás (updates.json), két megjelenés:
   - kapuoldali kártya (.updates-list / .update-row): napló-jellegű lista,
     bal oldalon fix szélességű dátum-oszlop, típus-pötty, cím;
   - Újdonságok oldal (.updates-page): hónapokra bontott bejegyzések
     leírással és horgony-linkkel.
   Típusszínek: új funkció = zöld, fejlesztés = kék, javítás = szürke.
   ============================================================ */

/* --- Kapuoldali szekciócím ikonnal (Újdonságok + Segítség) ---
   A 24px bal padding a `.topic-card` belső paddingjével azonos, így a
   szekciócím ikonja pontosan a fölötte lévő kapu-kártyák ikonjaival
   egy vonalban kezdődik. */

.section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    /* 1px kártya-keret + 24px kártya-padding. Jobbról ugyanennyi, hogy az
       „Összes újdonság →" a doboz jobb szélétől is annyira álljon, amennyire
       az ikon a bal széltől. */
    padding-left: 25px;
    padding-right: 25px;
}

.section-heading-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

/* 32px = a sima szekciócím (text-2xl) sormagassága, így az ikonos cím nem
   növeli a szekció magasságát a korábbi, ikon nélküli állapothoz képest. */
.section-heading-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #E4032E 0%, #FF6B85 100%);
}

/* Az Újdonságok a kapuoldal egyetlen narancs eleme — így kiemelkedik a
   végig piros témakártyák közül. */
.section-heading-icon--updates {
    background: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
}

/* A Segítség kékeszöld (teal), egy leheletnyi sárgával a zöld felé húzva —
   melegebb, jádés árnyalat, de nem csúszik át a korábbi keki tartományba. */
.section-heading-icon--help {
    background: linear-gradient(135deg, #2C9B79 0%, #72E6BB 100%);
}

.section-heading-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* „Összes újdonság →" a cím sorában (nem a kártyán belül), hogy a doboz
   ne legyen magasabb a mellette lévő Segítség panelnél. */
.section-heading-link {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: #E4032E;
    text-decoration: none;
    white-space: nowrap;
}

.section-heading-link::after {
    content: '\00a0→';
    display: inline-block;
    transition: transform 0.2s ease;
}

.section-heading-link:hover::after {
    transform: translateX(3px);
}

/* --- Kapuoldali lista --- */

.updates-list {
    display: flex;
    flex-direction: column;
}

.update-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    text-decoration: none;
    color: #1F2937;
    border-bottom: 1px solid #F3F4F6;
}

.update-row:last-child {
    border-bottom: none;
}

.update-row-date {
    flex-shrink: 0;
    width: 88px;
    font-size: 13px;
    color: #9CA3AF;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.update-row-title {
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.update-row:hover .update-row-title {
    color: #E4032E;
}

/* Típus-pötty (a listában és a bejegyzés-címkében is) */
.update-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    background: #9CA3AF;
}

.update-dot--new { background: #10B981; }
.update-dot--improvement { background: #3B82F6; }
.update-dot--fix { background: #9CA3AF; }
.update-dot--integration { background: #8B5CF6; }


.updates-empty {
    font-size: 15px;
    color: #6B7280;
    padding: 8px 0;
}

/* --- Újdonságok oldal --- */

.updates-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
}

.updates-page-intro {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.7;
    margin: 0 0 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid #F3F4F6;
}

.updates-month {
    margin-bottom: 36px;
}

.updates-month-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    margin: 0 0 14px;
}

.update-entry {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
    scroll-margin-top: 100px;
}

/* A kapuoldali kártyáról ide érkezve látszódjon, melyik bejegyzésről van szó. */
.update-entry:target,
.update-entry-current {
    border-color: #E4032E;
    box-shadow: 0 0 0 3px rgba(228, 3, 46, 0.12);
}

.update-entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.update-type {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 999px;
    background: #F3F4F6;
    color: #4B5563;
}

.update-type--new { background: #ECFDF5; color: #047857; }
.update-type--improvement { background: #EFF6FF; color: #1D4ED8; }
.update-type--fix { background: #F3F4F6; color: #4B5563; }
.update-type--integration { background: #F5F3FF; color: #6D28D9; }

.update-entry-date {
    font-size: 13px;
    color: #9CA3AF;
}


.update-entry-title {
    font-size: 17px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 6px;
    line-height: 1.35;
}

.update-entry-summary {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.65;
    margin: 0 0 10px;
}

/* Az utolsó bekezdés után a horgony-link jön — annak nagyobb rés kell. */
.update-entry-summary:last-of-type {
    margin-bottom: 14px;
}

.update-entry-link {
    font-size: 14px;
    font-weight: 600;
    color: #E4032E;
    text-decoration: none;
}

.update-entry-link::after {
    content: '\00a0→';
    display: inline-block;
    transition: transform 0.2s ease;
}

.update-entry-link:hover {
    text-decoration: underline;
}

.update-entry-link:hover::after {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .section-heading {
        gap: 10px;
    }

    .update-row {
        align-items: flex-start;
        gap: 8px;
    }

    .update-row-date {
        width: 84px;
        padding-top: 2px;
    }

    .update-dot {
        margin-top: 6px;
    }
}

/* ============================================================
   Search Highlight
   ============================================================ */

.search-highlight {
    background: #FEF2F2;
    color: #E4032E;
    font-weight: 500;
    padding: 0 2px;
}

/* ============================================================
   Language-specific content blocks
   ============================================================ */

[data-lang] {
    display: none;
}

html[lang="hu"] [data-lang="hu"],
html[lang="en"] [data-lang="en"],
html[lang="de"] [data-lang="de"] {
    display: initial;
}

.lang-block {
    display: none;
}

html[lang="hu"] .lang-block[data-lang="hu"],
html[lang="en"] .lang-block[data-lang="en"],
html[lang="de"] .lang-block[data-lang="de"] {
    display: block;
}

/* Üres nyelvi blokk fallback üzenet — magyar tartalom mellett en/de még üres */
.lang-empty-fallback {
    padding: 48px 24px;
    text-align: center;
    color: #6B7280;
    background: #F9FAFB;
    border: 1px dashed #E5E7EB;
    border-radius: 12px;
    margin: 32px 0;
}

/* ============================================================
   Help Box (kapuoldal segítség doboz)
   ============================================================ */

.help-box {
    background: #E7F0E6;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* A sorok önálló, fehér kártyák a zöld panelen: így a zöld háttéren is
   látszik, hogy külön, kattintható elemek. A hangsúlyos (primary) elem piros
   keretet kap, a jobb szélen álló nyíl pedig minden linknél jelzi, hogy
   tovább lehet lépni. */
.help-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-item + .help-item {
    margin-top: 12px;
}

.help-item-body {
    min-width: 0;
    flex: 1;
}

.help-item--primary {
    border-color: #E4032E;
}

.help-item-arrow {
    flex-shrink: 0;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    transition: color 0.15s ease, transform 0.15s ease;
}

.help-item-arrow svg {
    width: 20px;
    height: 20px;
}

.help-item--primary .help-item-arrow {
    color: #E4032E;
}

a.help-item:hover {
    border-color: #E4032E;
    box-shadow: 0 2px 8px rgba(228, 3, 46, 0.12);
}

a.help-item:hover .help-item-arrow {
    color: #E4032E;
    transform: translateX(3px);
}

a.help-item:hover .help-icon {
    transform: scale(1.05);
}

.help-icon {
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

/* A Tailwind `text-gray-700` osztály az ikon SVG-jén van, ezért a piros
   színt is közvetlenül az SVG-re kell adni (nem elég örökölni). */
.help-item--primary .help-icon {
    background: #FFF1F3;
}

.help-item--primary .help-icon svg {
    color: #E4032E;
}

/* ============================================================
   Breadcrumb
   ============================================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #6B7280;
    font-size: 14px;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #E4032E;
}

.breadcrumb-separator {
    color: #D1D5DB;
    font-size: 14px;
}

.breadcrumb-current {
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   No results / Hidden
   ============================================================ */

.no-results {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: #991B1B;
}

.search-hidden {
    display: none !important;
}

/* ============================================================
   Internal page content typography
   UNAS-stílusú prose: h2 alatt halvány vonal (section-header), 16px szöveg
   #4B5563 színnel, 1.7 sorköz, link piros, alapból nem aláhúzott.
   ============================================================ */

.kb-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-top: 48px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F3F4F6;
}

.kb-content h2:first-child {
    margin-top: 0;
}

.kb-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-top: 28px;
    margin-bottom: 10px;
}

.kb-content p {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.kb-content ul,
.kb-content ol {
    color: #4B5563;
    line-height: 1.7;
    margin: 10px 0;
    padding-left: 24px;
}

.kb-content ul li,
.kb-content ol li {
    font-size: 16px;
    margin-bottom: 6px;
}

.kb-content strong {
    color: #1F2937;
    font-weight: 600;
}

.kb-content a {
    color: #E4032E;
    text-decoration: none;
}

.kb-content a:hover {
    text-decoration: underline;
}

@media (max-width: 1023px) {
    .kb-content h2 {
        font-size: 1.4rem;
    }
}

.kb-content code {
    background: #F3F4F6;
    color: #1F2937;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
}

.kb-content pre {
    background: #1F2937;
    color: #F9FAFB;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.kb-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.kb-content blockquote {
    border-left: 4px solid #3B82F6;
    background: #EFF6FF;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.kb-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    border: 1px solid #E5E7EB;
}

/* ============================================================
   Mobil hamburger gomb + mobil sidebar (sidebar nav + nyelvválasztó)
   ============================================================ */

.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-btn:hover {
    background: #F3F4F6;
}

@media (max-width: 1023px) {
    .hamburger-btn {
        display: flex;
    }

    /* Mobil nézeten a fejléc nyelvválasztója rejtve, a hamburger menüben jelenik meg */
    .lang-selector.lang-selector-desktop {
        display: none;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1023px) {
    .sidebar-overlay {
        display: block;
    }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px 24px calc(env(safe-area-inset-bottom) + 24px);
}

.mobile-sidebar.show {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}

.mobile-sidebar-close {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
}

.mobile-sidebar-close:hover {
    background: #F3F4F6;
}

.mobile-lang-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.mobile-lang-title {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-left: 12px;
}

.mobile-lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    color: #374151;
    background: transparent;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.mobile-lang-option:hover {
    background: #F0F1F3;
}

.mobile-lang-option.active {
    background: #FEF2F2;
    color: #E4032E;
    font-weight: 600;
}

/* ============================================================
   Back-to-top gomb (jobb alsó sarok, lebegő)
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: #E4032E;
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(228, 3, 46, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 30;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.back-to-top.show {
    display: flex;
}

/* ============================================================
   Integration cards (integraciok.html lap)
   Számozott listás kártyák — UNAS és MiniCRM integráció listája.
   ============================================================ */

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.integration-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.integration-card:hover {
    border-color: #E4032E;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.integration-card-number {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #E4032E 0%, #FF6B85 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.integration-card-emblem {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: white;
}

.integration-card-body {
    flex: 1;
    min-width: 0;
}

.integration-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.integration-card-body p {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
}

.integration-card-arrow {
    color: #9CA3AF;
    font-size: 24px;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.integration-card:hover .integration-card-arrow {
    color: #E4032E;
    transform: translateX(3px);
}

/* ============================================================
   "Coming Soon" placeholder (hamarosan oldalak)
   ============================================================ */

.coming-soon {
    text-align: center;
    padding: 80px 24px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.coming-soon-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.coming-soon h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.coming-soon p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* Kezelési műveletek panel – egységes komponens (ikon + műveletnév + leírás),
   teljes szélességű hover-kijelöléssel. Partnerek, Címkék, stb. oldalakon. */
.action-panel {
    max-width: 620px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
}
.action-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 18px;
    transition: background-color 0.15s ease;
}
.action-row + .action-row {
    border-top: 1px solid #E5E7EB;
}
.action-row:hover {
    background: #F9FAFB;
}
.action-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #6B7280;
    margin-top: 1px;
}
.action-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
.action-text {
    min-width: 0;
}
.action-name {
    display: block;
    font-weight: 700;
    color: #374151;
    line-height: 1.4;
}
.action-desc {
    display: block;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 1px;
}
/* Al-parancsok az "Ügyintéző műveletek" (…) fejléc alatt – behúzott alszint. */
.action-sublist {
    display: flex;
    flex-direction: column;
    margin-top: 1px;
}
.action-subitem {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}
.action-subitem strong {
    color: #374151;
    font-weight: 600;
}


/* Szövegközi felületi elemek (gomb, menü, szimbólum) egységes "chip" jelölése. */
.ui-chip {
    display: inline-block;
    background: #EDEEF1;
    color: #374151;
    border: 1px solid #D1D5DB;
    border-radius: 5px;
    padding: 0 6px;
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

/* Ikon a chipen belül – a felületi vezérlő ikonját mutatja a felirata mellett. */
.ui-chip-icon {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    margin-right: 5px;
    vertical-align: -0.3em;
}

/* Az ikon neve szövegesen – vizuálisan rejtett, de a képernyőolvasó felolvassa,
   és a kereső/AI-asszisztens szövegkivonatába is bekerül (pl. „hárompontos Műveletek”).
   Nem a Tailwind .sr-only-ra épít, hogy a CDN cseréje se törje el. */
.ui-icon-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Vizuálisan rejtett, de a DOM-ban benne maradó szöveg – a képernyőolvasó
   felolvassa, a kereső és az AI-asszisztens indexelője pedig beolvassa.
   Például a felület korábbi, angol hibaüzenetei: a felhasználó még ezeket
   másolja be, de a magyar felületen fölösleges kiírni őket. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Az ajánlati oldal (landing) ikonjai a szövegben – ugyanazok az SVG-k, mint az
   ügyfél oldalán, egységes dobozban, hogy a mellettük álló feliratok egy vonalban kezdődjenek. */
.landing-icon {
    display: block;
    color: #E4032E;
}

/* Ikonos felsorolás: pont nélkül, az ikon egy fix oszlopban, a szöveg mellette
   függő behúzással – így a tördelt sor sem csúszik az ikon alá. Az ikonok
   ugyanazzal a léptékkel vannak méretezve (em / SVG-egység), mint az ajánlati
   oldalon, ezért a vonalvastagságuk is egyforma. */
.prose ul.icon-list,
.kb-content ul.icon-list {
    list-style: none;
    padding-left: 0;
}
.prose ul.icon-list li,
.kb-content ul.icon-list li {
    display: grid;
    grid-template-columns: 1.9em 1fr;
    column-gap: 0.55em;
    align-items: start;
    padding-left: 0;
    margin-bottom: 10px;
}
.prose ul.icon-list li::before,
.kb-content ul.icon-list li::before {
    content: none;
    display: none;
}
.prose ul.icon-list li > .landing-icon,
.kb-content ul.icon-list li > .landing-icon {
    justify-self: center;
    margin-top: 0.12em;
}

/* Az Előnézet kék szem ikonja – a felületen is kék, így megkülönbözteti
   magát a szürke Megtekint (adatlap) ikontól. */
.ui-chip-icon--preview {
    color: #00BFFF;
}


/* ============================================================
   Fejlesztési javaslatok oldal (fejlesztesi-javaslatok.html)
   A címet és a bevezetőt az Újdonságok oldal osztályai adják
   (.updates-page-title / .updates-page-intro), így a két lap egyforma.
   ============================================================ */

.sg-promise {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-left: 3px solid #E4032E;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 36px;
}

.sg-promise-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sg-promise-body {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

.sg-promise-intro {
    margin: 0 0 12px;
}

.sg-promise-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sg-promise-list li {
    font-size: 14.5px;
    color: #4B5563;
    line-height: 1.6;
}

.sg-promise-list li strong {
    color: #111827;
}

.sg-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px;
}

.sg-form {
    width: 100%;
    max-width: 100%;
}

.sg-field {
    margin-bottom: 18px;
}

.sg-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.sg-req {
    color: #E4032E;
}

.sg-optional {
    font-weight: 400;
    font-size: 13px;
    color: #9CA3AF;
}

.sg-input {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 15px;
    color: #111827;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg-input:focus {
    outline: none;
    border-color: #E4032E;
    box-shadow: 0 0 0 3px rgba(228, 3, 46, 0.12);
}

.sg-input-invalid {
    border-color: #E4032E;
    background: #FFF9FA;
}

.sg-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.sg-hint {
    font-size: 13px;
    color: #9CA3AF;
    margin: 6px 0 0;
}

.sg-check {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    cursor: pointer;
    margin-bottom: 14px;
}

.sg-check input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #E4032E;
    flex-shrink: 0;
}

.sg-privacy {
    font-size: 13px;
    color: #9CA3AF;
    line-height: 1.6;
    margin: 0 0 20px;
}

.sg-privacy a {
    color: #6B7280;
    text-decoration: underline;
}

.sg-privacy a:hover {
    color: #E4032E;
}

/* Botcsapda: a rejtett mező nem lehet `display: none`, mert azt sok bot
   felismeri — ezért a látómezőn kívülre tesszük, a képernyőolvasók elől
   pedig az `aria-hidden` és a `tabindex="-1"` rejti el. */
.sg-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sg-error {
    font-size: 14px;
    color: #B30225;
    background: #FFF1F3;
    border: 1px solid #FBCFD6;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.sg-submit {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    background: #E4032E;
    border: none;
    border-radius: 8px;
    padding: 11px 24px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.sg-submit:hover:not(:disabled) {
    background: #B30225;
}

.sg-submit:disabled {
    background: #F3A9B6;
    cursor: default;
}

.sg-success {
    max-width: 640px;
    background: #E7F0E6;
    border: 1px solid #CBDCC8;
    border-radius: 10px;
    padding: 22px 24px;
}

.sg-success-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sg-success-body {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

/* Opcionális tétel jelölése – az ajánlat Nova-adatlapjával egyező kis négyzet */
.opt-marker { display: inline-block; width: 0.6em; height: 0.6em; border: 1px solid #E4032E; vertical-align: 0.05em; }
.opt-marker--filled { background: #E4032E; }

/* Oktatóvideó (kb-video): saját borítókép + lejátszás gomb; a YouTube-lejátszó (youtube-nocookie) csak kattintásra töltődik be,
   addig a YouTube nem tesz sütit. Lásd: documents/specifications/brandocs-oktatovideok-specifikacio.md, 8.2 */
.kb-video {
    position: relative;
    width: calc((100% - 16px) / 2);   /* akkora, mint egy kép a kétoszlopos .image-gallery-ben (user, 2026-10-02) */
    aspect-ratio: 16 / 9;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
.prose .kb-video img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.kb-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);   /* fehér kör, piros háromszög (user, 2026-10-02) */
    box-shadow: 0 10px 30px rgba(15, 23, 42, .45), 0 2px 6px rgba(15, 23, 42, .25);
    transition: transform .15s ease, background .15s ease;
}
.kb-video-play svg { margin-left: 3px; }
.kb-video:hover .kb-video-play,
.kb-video:focus-visible .kb-video-play { transform: scale(1.08); background: #fff; }
.kb-video:focus-visible { outline: 3px solid #E4032E; outline-offset: 3px; }
.kb-video-meta {
    position: absolute;
    right: 14px;   /* jobb alsó sarok (user, 2026-10-02) */
    bottom: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
@media (max-width: 640px) {
    .kb-video { width: 100%; }
}
.kb-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
