/* === link types definition === */
/* keep the links in this order to work in CSS!*/
/* this section only applies to body content, no menu, nor submenu */

.content a:link,
.content a:visited,
.content a:active {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.content a:hover {
    color: red;
    font-weight: normal;
    text-decoration: underline;
}



/* === SAJAT HR vonal === */
.my-custom-hr {
  height: 1px;
  background: rgba(128, 128, 128, 0.4); /* semi-transparent red */
  border: none;
  width: 95%;
  margin: 3em auto;
}


/* === Body and Global === */
body {
    background-color: #dcd9d0;
    color: #000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 13px; /* âŹ
ď¸ matches old layout */
    margin: 0;
    padding: 0;
}

/* === Page Wrapper === */
.page-wrapper {
    width: 80%;
 /*   min-width: 1024px; */
    min-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #aaa;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* === Header === */
.header {
    background-color: #d8d5cb;
/*  background-image: url("pict/main/header.png");*/
    background-image: url("pict/main/header_new.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    height: 130px;
}
/* ============================================================
   FŐMENÜ
   A JavaScript közvetlen hivatkozásokat helyez el benne.
   ============================================================ */

#main-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 10px;
    background: linear-gradient(to bottom, #4973a2, #264d73);
    text-align: center;
    box-sizing: border-box;
}

#main-menu a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #eeeeee;
    border: 1px solid #444444;
    border-radius: 3px;
    color: #000000;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

#main-menu a:hover,
#main-menu a:focus {
    background-color: #d2d2d2;
    color: #000000;
    text-decoration: none;
}

#main-menu a.active {
    background-color: #d2d2d2;
    border-color: #222222;
}

/* ============================================================
   ÁLTALÁNOS ALMENÜ
   Rövid almenükhöz: A gyár, Képgaléria stb.
   ============================================================ */

#sub-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    padding: 8px;
    background-color: #e5e5e5;
    text-align: center;
    box-sizing: border-box;
}

#sub-menu:empty {
    display: none;
}

#sub-menu a {
    display: inline-block;
    margin: 0;
    padding: 4px 6px;
    border-radius: 2px;
    color: #000080;
    font-size: 11px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

#sub-menu a:hover,
#sub-menu a:focus {
    background-color: #c0d8f0;
}

#sub-menu a.active {
    background-color: #4973a2;
    color: #ffffff;
    font-weight: bold;
}

#sub-menu a.disabled-link,
#sub-menu a.disabled-link:hover,
#sub-menu a.disabled-link:focus {
    background-color: transparent;
    color: #999999;
    cursor: default;
    text-decoration: none;
}

/* ============================================================
   A GYÁR ÉS KÉPGALÉRIA ALMENÜ
   Saját JavaScript-osztályt kapnak, de megtartják a közös,
   automatikusan több sorba törő Flexbox-elrendezést.
   ============================================================ */

#sub-menu.sub-menu--factory,
#sub-menu.sub-menu--gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 8px;
    column-gap: 50px;
}

#sub-menu.sub-menu--factory a,
#sub-menu.sub-menu--gallery a {
    flex: 0 0 auto;
    text-align: center;
    white-space: nowrap;
}


/* ============================================================
   TUDÁSTÁR ALMENÜ
   A Tudástár főoldala és négy témaköri aloldala számára.
   ============================================================ */

#sub-menu.sub-menu--knowledge {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 20px;
    padding: 8px 12px;
}

#sub-menu.sub-menu--knowledge a {
    flex: 0 0 auto;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 900px) {
    #sub-menu.sub-menu--knowledge {
        column-gap: 10px;
    }
}

@media screen and (max-width: 600px) {
    #sub-menu.sub-menu--knowledge {
        gap: 4px 6px;
        padding: 7px 6px;
    }

    #sub-menu.sub-menu--knowledge a {
        white-space: normal;
    }
}


/* ============================================================
   TERMÉKEK ALMENÜ
   Rendezett rács, reszponzív oszlopszámmal.
   ============================================================ */

#sub-menu.sub-menu--products {
    display: grid;
    grid-template-columns: repeat(8, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 5px;
    padding: 8px 12px;
}

#sub-menu.sub-menu--products a {
    display: block;
    margin: 0;
    padding: 4px 6px;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 1350px) {
    #sub-menu.sub-menu--products {
        grid-template-columns: repeat(7, max-content);
    }
}

@media screen and (max-width: 1150px) {
    #sub-menu.sub-menu--products {
        grid-template-columns: repeat(6, max-content);
        column-gap: 8px;
    }
}

@media screen and (max-width: 950px) {
    #sub-menu.sub-menu--products {
        grid-template-columns: repeat(5, max-content);
        column-gap: 7px;
    }
}

@media screen and (max-width: 760px) {
    #sub-menu.sub-menu--products {
        grid-template-columns: repeat(4, max-content);
        column-gap: 6px;
        row-gap: 5px;
        padding: 7px 6px;
    }
}

@media screen and (max-width: 570px) {
    #sub-menu.sub-menu--products {
        grid-template-columns: repeat(3, max-content);
        column-gap: 5px;
        row-gap: 4px;
    }

    #sub-menu.sub-menu--products a {
        padding: 4px 5px;
        font-size: 10px;
    }
}

@media screen and (max-width: 390px) {
    #sub-menu.sub-menu--products {
        grid-template-columns: repeat(2, max-content);
    }
}

/* === Content === */
.content {
    background-color: #ffffff;
    padding: 20px;
    min-height: 300px;
    line-height: 1.6;
}

/* === Footer === */
.footer {
    background-color: #e5e5e5;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #555;
    border-top: 1px solid #ccc;
    position: relative;
}

/* === SEO Nav (Footer Mini Menu) === */
#seo-nav {
    text-align: center;
    font-size: 10px;
    margin: 4px 0 8px 0;
    opacity: 0.4;
    letter-spacing: 0.06em;
    font-family: Tahoma, Verdana, sans-serif;
}

#seo-nav a {
    color: #444;
    text-decoration: none;
    padding: 0 3px;
    transition: color 0.2s;
}

#seo-nav a:hover {
    text-decoration: underline;
    color: #003366;
}

/* === Headings === */
h1 {
    font-size: 16px;
    font-weight: bold;
    color: black;
    margin: 20px 0 10px;
    font-family: Tahoma, Verdana, sans-serif;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    color: black;
    margin: 18px 0 10px;
}

/* h3 margin ertek 18px helyett modositva: 0px*/
h3 {
    font-size: 12px;
    font-weight: bold;
    color: #004080;
    margin: 0px 0 10px;
}



/* ============================================================
   KÖZÖS KÁRTYARENDSZER
   Tudástár, képkategóriák és más választóoldalak számára
   ============================================================ */


/* === Kártyarács === */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 30px 0 42px;
    align-items: stretch;
}


/* === Teljes kártya === */

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: #eeeeee;
    border: 1px solid #999999;
    box-sizing: border-box;
}


/* === Kattintható kártya === */

.card__link {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}


/*
   A globális .content a:hover szabály pirosra váltaná
   és aláhúzná a kártyák szövegét.
   Ezt itt célzottan felülírjuk.
*/

.content .card__link:link,
.content .card__link:visited,
.content .card__link:active {
    color: black;
    font-weight: normal;
    text-decoration: none;
}

.content .card__link:hover,
.content .card__link:focus {
    color: black;
    font-weight: normal;
    text-decoration: none;
}


/* === Kártya hover és billentyűzetes fókusz === */

.card:hover,
.card:focus-within {
    background-color: #dddddd;
    border-color: #888888;
}


/* === Képterület === */

.card__image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background-color: #dddddd;
    border-bottom: 1px solid #999999;
}

.card__image img {
    display: block;
    width: 100%;
    height: 100%;
}


/*
   Tudástárhoz és hangulatképekhez:
   a kép teljesen kitölti a képkeretet.
*/

.card__image--cover img {
    object-fit: cover;
    object-position: center;
}


/*
   Rádiókhoz és tárgyfotókhoz:
   a teljes készülék látható marad, nem vágódik le.
*/

.card__image--contain img {
    object-fit: contain;
    object-position: center;
    padding: 10px;
    box-sizing: border-box;
}


/* === Szöveges rész === */

.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 17px 18px;
}


/* === Kártyacím === */

.card__title {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.35;
    color: black;
    text-align: center;
}


/* === Kártyaleírás === */

.card__description {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}


/* === Kiegészítő szöveg, típuslista stb. === */

.card__meta {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}


/* === Kártya alsó hivatkozásszövege === */

.card__action {
    margin: auto 0 0;
    padding-top: 14px;
    font-weight: bold;
    text-align: center;
}


/* === Opcionális állapotjelzés === */

.card__status {
    display: inline-block;
    align-self: center;
    margin-top: auto;
    padding: 4px 8px;
    border: 1px solid #888888;
    background-color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
}


/* === Közepes képernyő === */

@media screen and (max-width: 900px) {

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* === Mobilnézet === */

@media screen and (max-width: 600px) {

    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card__image {
        height: 230px;
    }

}

/* ============================================================
   KÉPGALÉRIA-SPECIFIKUS KIEGÉSZÍTÉSEK
   A közös .card / .card-grid rendszerre épülnek
   ============================================================ */

.gallery-header {
    margin-bottom: 28px;
}

.gallery-header h1 {
    margin-top: 0;
}

.gallery-lead {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
}

.gallery-section {
    margin: 34px 0 44px;
}

.gallery-section__heading {
    margin-bottom: 20px;
}

.gallery-section__heading h2 {
    margin-bottom: 6px;
}

.gallery-section__heading p {
    margin: 0;
}

.gallery-category {
    margin: 34px 0 0;
}

.gallery-category__title {
    margin: 0 0 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid #bbbbbb;
    color: #004080;
    font-size: 13px;
    text-align: left;
}

.gallery-section .card-grid,
.gallery-category .card-grid {
    margin-top: 20px;
}

/* === Opcionális 1 px fekete képkeret === */

.gallery-image--bordered .gallery-image__media img {
    border: 1px solid #000000;
    box-sizing: border-box;
}

.card--ready {
    background-color: #eeeeee;
}

.card--pending {
    background-color: #f2f2f2;
}

.card--pending .card__image img {
    opacity: 0.72;
}

.card--pending .card__title,
.card--pending .card__meta {
    color: #555555;
}

.card__status--ready {
    border-color: #66806b;
    background-color: #edf4ee;
    color: #244a2c;
}

.card__status--pending {
    border-color: #999999;
    background-color: #e5e5e5;
    color: #666666;
}

.gallery-section .card__action {
    margin-top: 12px;
    padding-top: 0;
}

.gallery-back-to-top {
    margin: 22px 0 0;
    text-align: right;
}

.gallery-closing {
    margin: 38px 0 22px;
    padding: 18px 20px;
    background-color: #eeeeee;
    border: 1px solid #999999;
    box-sizing: border-box;
}

.gallery-closing h2 {
    margin-top: 0;
}

.gallery-closing__link {
    margin-bottom: 0;
    text-align: center;
}

.gallery-return-link {
    margin: 0 auto;
    text-align: center;
}

/* A régi, minimum 800 px széles oldalváz mobilon felülírva. */
@media screen and (max-width: 820px) {

    .page-wrapper {
        width: 100%;
        min-width: 0;
        border-left: 0;
        border-right: 0;
    }

    .content {
        padding: 16px;
    }

    .gallery-back-to-top {
        text-align: center;
    }
}


/* ============================================================
   KÉPGALÉRIA – GOMBOS "Galéria megnyitása" megjelenés
   ============================================================ */

.gallery-section .card__status {
    align-self: center;
}

.gallery-section .card__action {
    display: inline-block;
    align-self: center;
    margin-top: 10px;
    padding: 4px 10px;
    border: 1px solid #777777;
    background-color: #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    box-shadow: inset 0 0 0 1px #ffffff;
}

.card:hover .card__action,
.card:focus-within .card__action {
    background-color: #f8f8f8;
    border-color: #666666;
}


/* ============================================================
   TUDÁSTÁR-SPECIFIKUS KIEGÉSZÍTÉSEK
   A közös .card / .card-grid rendszerre épülnek
   ============================================================ */

.knowledge-header {
    margin-bottom: 26px;
}

.knowledge-header h1 {
    margin-top: 0;
}

.knowledge-lead {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
}

.knowledge-intro {
    max-width: 860px;
}

.knowledge-intro p:last-child {
    margin-bottom: 0;
}

.knowledge-section {
    margin: 34px 0 44px;
}

.knowledge-section__heading {
    margin-bottom: 20px;
}

.knowledge-section__heading h2 {
    margin-bottom: 6px;
}

.knowledge-section__heading p {
    margin: 0;
}

/* A Tudástár kártyáin a képek ugyanúgy jelennek meg,
   mint a Képgaléria kártyáin: teljes egészükben láthatók,
   középre igazítva, levágás és torzítás nélkül. */
.knowledge-card .card__image {
    height: 190px;
    background-color: #ffffff;
}

.knowledge-card .card__image img {
    object-fit: contain;
    object-position: center;
    padding: 10px;
    box-sizing: border-box;
}

.knowledge-card .card__body {
    padding-bottom: 16px;
}

.knowledge-card .card__description {
    margin-bottom: 14px;
}

/* A tartalom jellegét mutató rövid sor. */
.knowledge-card__types {
    margin: auto 0 8px;
    padding-top: 12px;
    border-top: 1px solid #c3c3c3;
    color: #555555;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

/* A kártya nem teljes egészében hivatkozás:
   csak a külön gomb nyitja meg a témakört. */
.content .knowledge-card__button:link,
.content .knowledge-card__button:visited,
.content .knowledge-card__button:active {
    display: inline-block;
    align-self: center;
    margin-top: 12px;
    padding: 4px 10px;
    border: 1px solid #777777;
    background-color: #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
    text-decoration: none;
}

.content .knowledge-card__button:hover,
.content .knowledge-card__button:focus {
    background-color: #f8f8f8;
    border-color: #666666;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

/* Alsó tájékoztató rész. */
/* JAVITVA: padding-top: 20px; MODOSITVA ERRE: padding-top: 0px; */
.knowledge-note {
    margin: 38px 0 22px;
    padding-top: 0px;
    /*border-top: 1px solid #999999;*/
}

.knowledge-note h2 {
    margin-top: 0;
}

.knowledge-note__box {
    padding: 16px 18px;
    background-color: #eeeeee;
    border-left: 4px solid #777777;
    box-sizing: border-box;
}

.knowledge-note__box p {
    margin-top: 0;
}

.knowledge-note__box p:last-child {
    margin-bottom: 0;
}

.knowledge-return-link {
    margin: 24px 0 0;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .knowledge-card .card__image {
        height: 210px;
    }
}

/* ============================================================
   TERMÉKEK OLDAL – VÍZSZINTES TERMÉKSÁVOK
   ============================================================ */

.products-header {
    margin-bottom: 32px;
}

.products-header h1 {
    margin-top: 0;
}

.products-lead {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
}

.products-section {
    margin: 34px 0 44px;
}

.products-section__heading {
    margin-bottom: 20px;
}

.products-section__heading h2 {
    margin-bottom: 6px;
}

.products-section__heading p {
    margin: 0;
}

/* === Egymás alatti széles terméksávok === */

.product-strip-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.product-strip {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    background-color: #eeeeee;
    border: 1px solid #999999;
    box-sizing: border-box;
}

.product-strip:hover,
.product-strip:focus-within {
    background-color: #dddddd;
    border-color: #888888;
}

/* === Fehér képmező === */

.product-strip__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 14px;
    background-color: #ffffff;
    border-right: 1px solid #999999;
    box-sizing: border-box;
}

.product-strip__image img {
    display: block;
    width: 100%;
    max-width: 250px;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
}

.product-strip__image--placeholder img {
    max-width: 150px;
}

/* === Szöveges rész === */

.product-strip__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 17px 19px 18px;
    box-sizing: border-box;
}

.product-strip__header {
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid #c3c3c3;
}

.product-strip__title {
    margin: 0 0 5px;
    color: #000000;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
}

.product-strip__models {
    margin: 0;
    color: #555555;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
}

.product-strip__description {
    margin: 0 0 16px;
    line-height: 1.55;
}

/* === Középre igazított, fehér keretes ismertetőgomb === */

.content .product-strip__button:link,
.content .product-strip__button:visited,
.content .product-strip__button:active {
    display: inline-block;
    align-self: center;
    margin-top: auto;
    padding: 4px 10px;
    border: 1px solid #777777;
    background-color: #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
}

.content .product-strip__button:hover,
.content .product-strip__button:focus {
    background-color: #f8f8f8;
    border-color: #666666;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

/* === Még nem elérhető ismertetők === */

.product-strip--pending {
    background-color: #f2f2f2;
}

.product-strip--pending .product-strip__image img {
    opacity: 0.72;
}

.product-strip__status {
    display: inline-block;
    align-self: center;
    margin-top: auto;
    padding: 4px 8px;
    border: 1px solid #999999;
    background-color: #e5e5e5;
    color: #666666;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

/* === Termékarchívum-bővítési felhívás === */

.products-closing {
    margin: 42px 0 22px;
    padding: 18px 20px;
    background-color: #eeeeee;
    border: 1px solid #999999;
    box-sizing: border-box;
}

.products-closing h2 {
    margin-top: 0;
}

.products-closing__link {
    margin-bottom: 0;
    text-align: center;
}

.products-return-link {
    margin: 24px 0 0;
    text-align: center;
}

/* === Mobilnézet === */

@media screen and (max-width: 760px) {

    .product-strip {
        grid-template-columns: 1fr;
    }

    .product-strip__image {
        min-height: 210px;
        border-right: 0;
        border-bottom: 1px solid #999999;
    }

    .product-strip__image img {
        max-width: 280px;
        max-height: 200px;
    }

    .product-strip__content {
        padding: 16px;
    }

}

/* ============================================================
   TERMÉKOLDALAK – FORRÁSOK ÉS HIVATKOZÁSOK
   A Tudástár meglévő tájékoztató dobozának megjelenésére épül
   ============================================================ */

.sources-section {
    margin: 38px 0 22px;
    padding-top: 20px;
    /*border-top: 1px solid #999999;*/
}

.sources-section h2 {
    margin-top: 0;
}

.sources-box {
    padding: 16px 18px;
    background-color: #eeeeee;
    border-left: 4px solid #777777;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.55;
}

.sources-box ol,
.sources-box ul {
    margin: 0;
    padding-left: 24px;
}

.sources-box li {
    margin-bottom: 8px;
}

.sources-box li:last-child {
    margin-bottom: 0;
}

.sources-box p:first-child {
    margin-top: 0;
}

.sources-box p:last-child {
    margin-bottom: 0;
}

/* Rövid kép- vagy dokumentumforrás a galéria alatt vagy felett. */
.gallery-source {
    margin: 10px 0 16px;
    font-size: 11px;
    font-style: italic;
    text-align: center;
}


/* ============================================================
   TUDÁSTÁR ALOLDALAK
   Kategóriaoldalak, témacsoport-jegyzék és cikklisták
   ============================================================ */


/* === Kategóriaoldal fejléce === */

.knowledge-list-header {
    max-width: 900px;
    margin-bottom: 28px;
}

.knowledge-list-header h1 {
    margin-top: 0;
}

.knowledge-list-header p:last-child {
    margin-bottom: 0;
}


/* === Oldalon belüli témacsoport-jegyzék === */

.section-index {
    margin: 26px 0 38px;
    padding: 16px 18px;
    background-color: #eeeeee;
    border: 1px solid #999999;
    box-sizing: border-box;
}

.section-index h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.section-index ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
    margin: 0;
    padding-left: 22px;
}

.section-index li {
    padding: 2px 0;
    line-height: 1.5;
}


/* === Egy témacsoport === */

.knowledge-list-section {
    margin: 38px 0 48px;
}

.knowledge-list-section__header {
    margin-bottom: 18px;
    padding-bottom: 9px;
    border-bottom: 1px solid #999999;
}

.knowledge-list-section__header h2 {
    margin: 0 0 6px;
    color: #004080;
}

.knowledge-list-section__header p {
    margin: 0;
}


/* === Egymás alatti cikkbejegyzések === */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-width: 0;
    padding: 16px 18px;
    background-color: #eeeeee;
    border: 1px solid #999999;
    box-sizing: border-box;
}

.article-entry:hover,
.article-entry:focus-within {
    background-color: #dddddd;
    border-color: #888888;
}

.article-entry__content {
    min-width: 0;
}


/* === Cikk címe és rövid leírása === */

.article-entry__title {
    margin: 0 0 8px;
    color: #000000;
    text-align: left;
}

.article-entry__summary {
    margin: 0 0 12px;
    line-height: 1.55;
}


/* === Rövid cikkadatok === */

.article-entry__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin: 0;
    color: #555555;
    font-size: 12px;
    line-height: 1.5;
}

.article-entry__facts div {
    display: flex;
    gap: 4px;
}

.article-entry__facts dt {
    font-weight: bold;
}

.article-entry__facts dt::after {
    content: ":";
}

.article-entry__facts dd {
    margin: 0;
}


/* === Cikk megnyitása gomb === */

.article-entry__action {
    text-align: center;
}

.content .article-entry__button:link,
.content .article-entry__button:visited,
.content .article-entry__button:active {
    display: inline-block;
    min-width: 125px;
    padding: 4px 10px;
    background-color: #ffffff;
    border: 1px solid #777777;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
}

.content .article-entry__button:hover,
.content .article-entry__button:focus {
    background-color: #f8f8f8;
    border-color: #666666;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}


/* === Visszalépés a témacsoportokhoz === */

.back-to-section-index {
    margin: 16px 0 0;
    text-align: right;
}


/* === Még üres témacsoport === */

.knowledge-empty {
    padding: 14px 16px;
    background-color: #f2f2f2;
    border-left: 4px solid #999999;
    box-sizing: border-box;
    color: #555555;
}

.knowledge-empty p {
    margin: 0;
}


/* === Kategóriaoldal alsó műveleti gombjai === */

.knowledge-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 0;
    text-align: center;
}


/* === Keskeny képernyő === */

@media screen and (max-width: 760px) {

    .section-index ul {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .article-entry {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-entry__facts {
        flex-direction: column;
        gap: 3px;
    }

    .article-entry__action {
        text-align: left;
    }

    .content .article-entry__button:link,
    .content .article-entry__button:visited,
    .content .article-entry__button:active {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .back-to-section-index {
        text-align: center;
    }

    .knowledge-page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .knowledge-page-actions .knowledge-card__button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   BRG RAJZ- ÉS GYÁRTMÁNYSZÁM KATALÓGUS
   Táblázatok oszlopszélessége és térközei
   ============================================================ */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 35px 0;
}

.knowledge-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.knowledge-table th,
.knowledge-table td {
    padding: 10px 18px;
    text-align: left;
    vertical-align: top;
    line-height: 1.45;
}

/* BRG szám */
.knowledge-table th:nth-child(1),
.knowledge-table td:nth-child(1) {
    width: 19%;
    white-space: nowrap;
}

/* Megnevezés */
.knowledge-table th:nth-child(2),
.knowledge-table td:nth-child(2) {
    width: 43%;
}

/* Készülék */
.knowledge-table th:nth-child(3),
.knowledge-table td:nth-child(3) {
    width: 18%;
    white-space: nowrap;
}

/* Rajztípus */
.knowledge-table th:nth-child(4),
.knowledge-table td:nth-child(4) {
    width: 20%;
    white-space: nowrap;
}

/* === BRG Secure CMS 1.1: általános, CMS-ben választható almenü-layoutok === */
#sub-menu.sub-menu--normal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 20px;
    padding: 8px 12px;
}
#sub-menu.sub-menu--wide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 50px;
    padding: 8px 12px;
}
#sub-menu.sub-menu--grid {
    display: grid;
    grid-template-columns: repeat(8, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 5px;
    padding: 8px 12px;
}
#sub-menu .disabled-link {
    background-color: transparent;
    color: #999999;
    cursor: default;
    text-decoration: none;
}
@media screen and (max-width: 1350px) { #sub-menu.sub-menu--grid { grid-template-columns: repeat(7, max-content); } }
@media screen and (max-width: 1150px) { #sub-menu.sub-menu--grid { grid-template-columns: repeat(6, max-content); column-gap: 8px; } }
@media screen and (max-width: 950px)  { #sub-menu.sub-menu--grid { grid-template-columns: repeat(5, max-content); column-gap: 7px; } }
@media screen and (max-width: 760px)  { #sub-menu.sub-menu--grid { grid-template-columns: repeat(4, max-content); column-gap: 6px; } }
@media screen and (max-width: 570px)  { #sub-menu.sub-menu--grid { grid-template-columns: repeat(3, max-content); column-gap: 5px; } }
@media screen and (max-width: 390px)  { #sub-menu.sub-menu--grid { grid-template-columns: repeat(2, max-content); } }

/* === 1.4.0 CMS galériák === */
.cms-gallery{margin:36px 0 28px}.cms-gallery__title{margin-bottom:8px}.cms-gallery__description{margin:0 0 18px}.cms-gallery__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cms-gallery__item{margin:0;padding:10px;border:1px solid #aaa;background:#eee;box-sizing:border-box}.cms-gallery__item a{display:block;background:#fff}.cms-gallery__item img{display:block;width:100%;height:180px;object-fit:contain;object-position:center}.cms-gallery__item figcaption{padding-top:8px;font-size:11px;line-height:1.4;text-align:center;color:#333}@media(max-width:1000px){.cms-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.cms-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-gallery__item img{height:160px}}@media(max-width:430px){.cms-gallery__grid{grid-template-columns:1fr}}

/* CMS multilingual language switcher */
.header{position:relative}
.language-switcher{display:flex;justify-content:flex-end;align-items:center;gap:.55rem;padding:.35rem .75rem;font-size:.92rem;line-height:1.2}
.language-switcher__item{text-decoration:none;white-space:nowrap}
.language-switcher__item.is-current{font-weight:700}
.language-switcher__item.is-disabled{opacity:.38;cursor:default}
.language-switcher__sep{opacity:.45}

/* 1.13.17 – RU navigáció: hiányzó orosz cél diszkrét, inaktív állapotban marad. */
#main-menu .disabled-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(238,238,238,.55);
    border: 1px solid rgba(68,68,68,.35);
    border-radius: 3px;
    color: #777777;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: normal;
    white-space: nowrap;
    cursor: default;
}

/* 1.13.17 – modern, böngésző visited-link színtől független nyelvválasztó. */
.language-switcher {
    position: absolute;
    top: 8px;
    right: 10px;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(45,68,86,.28);
    border-radius: 7px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 1px 3px rgba(0,0,0,.10);
    font-size: 12px;
    line-height: 1.2;
    backdrop-filter: blur(2px);
}
.language-switcher__item,
.language-switcher__item:link,
.language-switcher__item:visited,
.language-switcher__item:active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 5px;
    color: #23384b;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
}
a.language-switcher__item:hover,
a.language-switcher__item:focus {
    color: #16354d;
    background: rgba(73,115,162,.14);
    text-decoration: none;
    outline: none;
}
.language-switcher__code {
    display: inline-block;
    min-width: 20px;
    padding: 1px 4px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    letter-spacing: .04em;
    box-sizing: border-box;
}
.language-switcher__label {
    display: inline-block;
}
.language-switcher__item.is-current {
    color: #ffffff;
    background: #4973a2;
    font-weight: 700;
}
.language-switcher__item.is-disabled {
    color: #7b858e;
    background: transparent;
    opacity: .55;
    cursor: default;
}
.language-switcher__sep {
    color: #8d969d;
    opacity: .55;
    padding: 0 1px;
}
#main-menu .disabled-link.is-active-context {
    background-color: #d2d2d2;
    border-color: #555555;
    color: #333333;
}
#sub-menu .disabled-link.is-active-context {
    background-color: #4973a2;
    color: #ffffff;
    font-weight: bold;
    opacity: .72;
}


/* === 1.13.18: RU navigáció szerkezeti finomhangolás ===
   A hosszabb orosz feliratokhoz az inaktív SPAN elemek ugyanazt a
   tipográfiát és cellaméretet kapják, mint a linkek. A termék-rács RU
   oldalon rugalmas oszlopokat használ, így a hosszú feliratok nem
   nyomják szét vagy lógatják ki a menüt. === */
html[lang="ru"] #sub-menu a,
html[lang="ru"] #sub-menu .disabled-link {
    display: block;
    margin: 0;
    padding: 4px 6px;
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}
html[lang="ru"] #sub-menu.sub-menu--grid,
html[lang="ru"] #sub-menu.sub-menu--products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    column-gap: 10px;
    row-gap: 4px;
    padding: 8px 12px;
}
html[lang="ru"] #sub-menu .disabled-link {
    color: #8b8b8b;
}
html[lang="ru"] #sub-menu .disabled-link.is-active-context {
    color: #ffffff;
}
@media screen and (max-width: 1250px) {
    html[lang="ru"] #sub-menu.sub-menu--grid,
    html[lang="ru"] #sub-menu.sub-menu--products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media screen and (max-width: 920px) {
    html[lang="ru"] #sub-menu.sub-menu--grid,
    html[lang="ru"] #sub-menu.sub-menu--products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media screen and (max-width: 650px) {
    html[lang="ru"] #sub-menu.sub-menu--grid,
    html[lang="ru"] #sub-menu.sub-menu--products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 420px) {
    html[lang="ru"] #sub-menu.sub-menu--grid,
    html[lang="ru"] #sub-menu.sub-menu--products {
        grid-template-columns: 1fr;
    }
}


/* === 1.13.19: RU menü HU fallback ===
   Ha még nincs publikált RU cél, a menüpont a HU eredetire mutathat.
   A link teljes értékű marad: nincs áttetszőség vagy disabled megjelenés. === */
html[lang="ru"] #main-menu a.language-fallback {
    opacity: 1;
}
html[lang="ru"] #sub-menu a.language-fallback {
    opacity: 1;
    color: #000080;
}
html[lang="ru"] #sub-menu a.language-fallback:hover,
html[lang="ru"] #sub-menu a.language-fallback:focus {
    color: #0000b8;
}

/* === 1.13.38: publikus kereső teljes frontend-integráció === */
.header .site-search {
    position: absolute;
    right: 10px;
    bottom: 9px;
    z-index: 3;
}
.site-search {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 12px;
}
.site-search__field {
    position: relative;
    width: 300px;
    min-width: 0;
}
.site-search__input {
    width: 100%;
    height: 30px;
    box-sizing: border-box;
    padding: 4px 31px 4px 8px;
    border: 1px solid #6f7880;
    border-radius: 3px;
    background: rgba(255,255,255,.94);
    color: #111111;
    font: inherit;
    line-height: 20px;
}
.site-search__input:focus {
    border-color: #264d73;
    outline: 2px solid rgba(73,115,162,.28);
    outline-offset: 0;
}
.site-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
.site-search__clear {
    position: absolute;
    top: 50%;
    right: 3px;
    width: 25px;
    height: 25px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #777777;
    font: normal 20px/25px Arial, Helvetica, sans-serif;
    text-align: center;
    cursor: pointer;
}
.site-search__clear:hover,
.site-search__clear:focus {
    background: #e5e5e5;
    color: #222222;
    outline: none;
}
.site-search__clear[hidden] {
    display: none !important;
}
.site-search__submit {
    min-width: 72px;
    height: 30px;
    box-sizing: border-box;
    padding: 4px 10px;
    border: 1px solid #444444;
    border-radius: 3px;
    background: #eeeeee;
    color: #000000;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}
.site-search__submit:hover,
.site-search__submit:focus {
    background: #d2d2d2;
    outline: none;
}

.search-page-content {
    min-height: 420px;
}
.search-page-intro {
    margin: 0 0 16px;
    color: #444444;
}
.search-status {
    margin: 14px 0 12px;
    font-weight: bold;
    line-height: 1.5;
}
.search-results {
    margin: 0;
}
.search-result {
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid #c5c5c5;
    background: #f7f7f7;
}
.search-result__title {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.4;
}
.content .search-result__title a:link,
.content .search-result__title a:visited,
.content .search-result__title a:active,
.content .search-result__open:link,
.content .search-result__open:visited,
.content .search-result__open:active {
    color: #003f73;
    font-weight: bold;
    text-decoration: none;
}
.content .search-result__title a:hover,
.content .search-result__title a:focus,
.content .search-result__open:hover,
.content .search-result__open:focus {
    color: #b00000;
    font-weight: bold;
    text-decoration: underline;
}
.search-result__section {
    margin: 3px 0;
    font-weight: bold;
    color: #333333;
}
.search-result__path {
    margin: 3px 0 8px;
    color: #666666;
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px;
    overflow-wrap: anywhere;
}
.search-result__snippet {
    margin: 7px 0 9px;
}
.search-result mark.match-core {
    padding: 0;
    border: 0;
    background: #fff0a8;
    color: inherit;
}
.search-notes {
    margin: 20px 0 0;
    padding-top: 12px;
    border-top: 1px solid #dddddd;
    color: #666666;
    font-size: 11px;
    line-height: 1.5;
}

@media screen and (max-width: 900px) {
    .header .site-search {
        right: 8px;
        bottom: 8px;
    }
    .site-search__field {
        width: 260px;
    }
}
