/*
Theme Name: Biocomnetwork
Theme URI: https://biocomnetwork.hu
Author: Biocom
Description: Egyedi WordPress téma a Biocomnetwork számára (PHP 8.4 kompatibilis, klasszikus szerkesztőhöz).
Version: 1.0.0
Text Domain: biocomnetwork
*/

:root {
    --color-primary: #8cc63f; /* Biocom zöld */
    --color-dark: #282828;    /* Sötétszürke */
    --color-light-bg: #f5f5f5;/* Szekció háttér */
    --color-text: #333333;
    --color-border: #e5e5e5;
    --font-main: 'Montserrat', sans-serif;
}
h1, 
h2,
h3,
h4,
selelect,
option,
body{font-family:'Montserrat', sans-serif;}
/* Alap elrendezés */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* --- HEADER RESET & LAYOUT FIXES --- */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background-color: #3C3C3C;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0;
}
.top-bar a.social-icon{
	color: #ffffff;
	font-size: 20px;}
	
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Online Regisztráció Gomb */
.btn-online-reg {
    background-color: #95C11F;
    color: #ffffff;
    padding: 0 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-online-reg:hover {
    background-color: #7ab332;
    color: #ffffff;
}

/* SVG Ikon igazítása */
.btn-online-reg .btn-reg-svg {
    width: 18px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Nyelvválasztó Fő Konténer */
.lang-switcher-wrapper {
    position: relative;
    display: inline-block;
}

/* Kapszula Gomb */
.lang-switcher-capsule {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 0 14px;
	height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
span.lang-text {
    margin-right: 28px;
}
.lang-switcher-wrapper:hover .lang-switcher-capsule {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Kör alakú maszk konténer */
.lang-switcher-capsule .flag-icon,
.lang-dropdown-inner .flag-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000; /* Biztonsági háttér */
}

/* A kép skálázása a csonka szélek eltüntetéséhez */
.lang-switcher-capsule .flag-icon img.emoji,
.lang-dropdown-inner .flag-icon img.emoji {
    width: 100% !important;
    height: auto !important;
    transform: scale(1.45) !important; /* Nagyítás, hogy a csapott alsó/felső rész kívülre essen */
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.lang-switcher-capsule .fa-chevron-down {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.lang-switcher-wrapper:hover .lang-switcher-capsule .fa-chevron-down {
    transform: rotate(180deg);
}

/* Legördülő Menü Konténer (Áthidaló réssel) */
.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 8px;
    padding-top: 6px; /* Láthatatlan híd a gomb és a menü között */
    z-index: 99999;
}

/* Láthatatlan áthidaló elem, hogy ne záródjon be mozgás közben */
.lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

/* Hoverre megjelenítés */
.lang-switcher-wrapper:hover .lang-dropdown-menu {
    display: block;
    animation: fadeInLang 0.2s ease;
}

@keyframes fadeInLang {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sötét Kártya Belső Lista (Reset & Stílusok) */
ul.lang-dropdown-inner,
.lang-dropdown-inner {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    background-color: #282828 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    min-width: 150px;
}

ul.lang-dropdown-inner li,
.lang-dropdown-inner li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Linkek Stílusa (Kék és aláhúzás felülírása) */
ul.lang-dropdown-inner li a,
.lang-dropdown-inner li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 16px !important;
    color: #cccccc !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

ul.lang-dropdown-inner li a:hover,
.lang-dropdown-inner li.active a {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

ul.lang-dropdown-inner li.active a {
    color: var(--color-primary, #8cc63f) !important; /* Biocom zöld zöld kiemelés */
}

ul.lang-dropdown-inner img.emoji,
.lang-dropdown-inner img.emoji {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
}



/* Logo Bar */
.logo-bar {
    background-color: #282828;
    padding: 25px 0;
    text-align: center;
}

.logo-bar-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    max-height: 45px;
    width: auto;
    display: block;
    margin: 0 auto;
	max-width: 290px;
}

/* Main Nav Bar (Fehér alapon) */
.main-nav-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #282828;
    position: relative;
}

.main-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Desktop Menu */
.primary-menu-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-menu-ul > li {
    position: relative;
}

.primary-menu-ul > li > a {
    display: block;
    padding: 18px 0;
    text-decoration: none;
    color: #333333;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
	font-family:'Montserrat', sans-serif;
}

.primary-menu-ul > li.current-menu-item > a,
.primary-menu-ul > li > a:hover {
    color: #8cc63f;
}

/* DROPDOWN SUBMENU FIX (Alapból rejtve, hoverre nyílik) */
.primary-menu-ul ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 9999;
    border-top: 3px solid #8cc63f;
}

.primary-menu-ul li:hover > ul.sub-menu {
    display: block;
}

.primary-menu-ul ul.sub-menu li {
    width: 100%;
}

.primary-menu-ul ul.sub-menu li a {
    display: block;
    padding: 12px 18px;
    color: #333333;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    text-transform: none;
    white-space: nowrap;
	font-family:'Montserrat', sans-serif;
}

.primary-menu-ul ul.sub-menu li a:hover {
    background: #f5f5f5;
    color: #8cc63f;
}

/* Kereső form (Kapszula stílus) */
.custom-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: #E5E5E5;
    border-radius: 30px;
    padding: 3px 3px 3px 18px;
    width: 280px;
	height: 48px;
}
.custom-search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
}
.custom-search-btn {
    background: var(--color-primary);
    border: none;
    /*
	width: 40px;
    height: 36px;
	*/
	 width: 48px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
	margin-right: 3px;
}


/* Kereső form igazítása */
.desktop-search-form .custom-search-form {
    width: 290px;
}

/* Mobil Menü Rejtés / Megjelenítés */
.mobile-menu-toggle,
.mobile-menu-drawer {
    display: none;
}

@media (max-width: 991px) {
    .top-bar, .desktop-nav {
        display: none;
    }
  
  .logo-bar-flex{    max-width: 70%;}
  .desktop-search-form .custom-search-form {
    width: 330px;
	max-width: 100%;
}
.custom-search-form {
     width: 330px;
    margin: 0 auto;
}

/* Mobil Bezáró X gomb a fiók tetején */
.mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 20px;
    background: transparent;
    border: none;
    color: #333333;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: var(--color-primary, #8cc63f);
}

.mobile-menu-inner {
    position: relative;
    padding-top: 45px; /* Hely az X gombnak */
}

/* HAMBURGER IKON ÁTALAKULÁSA X-SZÉ (Opcionális vizuális plusz a fő gombra) */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    padding: 0;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: #333333;
    transition: all 0.3s ease;
    transform-origin: left center;
}

/* Amikor a gomb kinyitott állapotban van (is-open) */
.mobile-menu-toggle.is-open .hamburger-bar:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg);
}




    .mobile-menu-drawer {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #ffffff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999;
        overflow-y: auto;
    }
    .mobile-menu-drawer.is-active {
        transform: translateX(0);
    }
    .mobile-menu-inner {
        padding: 20px;
    }
    .mobile-menu-ul {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }
    .mobile-menu-ul li {
        border-bottom: 1px solid var(--color-border);
    }
    .mobile-menu-ul a {
        display: block;
        padding: 12px 0;
        text-decoration: none;
        color: var(--color-dark);
        font-weight: 700;
        text-transform: uppercase;
    }
    .mobile-menu-ul .current-menu-item a {
        color: var(--color-primary);
    }
    .mobile-menu-footer {
        background: var(--color-dark);
        color: #fff;
        text-align: center;
        padding: 30px 20px;
        margin-top: 30px;
    }
}

/* General Layout Helpers */
.padding-top-bottom { padding: 60px 0; }
.bg-light { background-color: var(--color-light-bg); }

/*
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}
.custom-select-filter {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: #fff;
    outline: none;
}
*/


.section-header-flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Bal oldal, Középső cím, Jobb oldali szűrő */
    align-items: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .taxonomy-filter-dropdown {
        width: 100%;
    }
}
.section-title {
    grid-column: 2; /* A címet középre, a 2. oszlopba kényszerítjük */
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.taxonomy-filter-dropdown {
    grid-column: 3; /* A dropdown-t a jobb szélre, a 3. oszlopba rakjuk */
    justify-self: end;
}


/* Custom Dropdown */
.taxonomy-filter-dropdown {
    position: relative;
    display: inline-block;
    min-width: 240px;
	width: 420px;
	vertical-align: middle;
}

/* Egyedi lefelé mutató nyíl ikon elhelyezése a jobb szélen */
.taxonomy-filter-dropdown::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; 
    height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23222222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    pointer-events: none; /* Kikerüli a kattintást, hogy a select nyíljon meg */
    z-index: 5;
}

/* Select mező formázása */
.custom-select-filter {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100%;
    background-color: #ffffff !important;
    border: 1px solid #777777 !important; /* Vékony sötétszürke keret */
    border-radius: 30px !important; /* Kapszula forma */
    padding: 10px 45px 10px 22px !important; /* Hely a nyilacskának a jobb szélen */
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #282828 !important;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
	height: 56px;
	font-family:'Montserrat', sans-serif;
}

/* Dupla nyíl elrejtése Internet Explorer / Edge alatt */
.custom-select-filter::-ms-expand {
    display: none;
}

.custom-select-filter:hover,
.custom-select-filter:focus {
    border-color: var(--color-primary) !important;
}

/* Option elemek stílusa */
.custom-select-filter option {
    font-weight: 500;
    padding: 8px 12px;
    color: #282828;
    background: #ffffff;
	font-family:'Montserrat', sans-serif;
}





/* Mobil nézetben (ha szűk a hely), visszaállítjuk egymás alá */
@media (max-width: 768px) {
    .section-header-flex {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .taxonomy-filter-dropdown {
        justify-self: center;
		        width: 360px;
    }
	
	.custom-select-filter {
     padding: 10px 45px 10px 22px !important;
    height: 48px;
}
	.nl-pill-input {
    height: 48px;
	}
	
}


/* Cards Grid (3 oszlop Desktop, 2 oszlop Mobil) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.card-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ag-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
	border-bottom-right-radius: 25px;
}

.card-content { 
padding: 12px 20px 20px 20px;
 }
 
h2.card-title,
h3.card-title {
    font-size: 18px;
    line-height: 1.4;
	font-weight:700;
}
h3.card-title { 
 margin: 0 0 10px 0;
 }
.card-date {     
font-size: 12px;
    color: #282828;
    display: block;
    margin-bottom: 8px;
    border-bottom: 1px solid #c3c3c3;
  padding: 0 0 12px 0;
    font-style: italic; }

.card-title a { color: var(--color-dark); text-decoration: none; }
.card-title a:hover { color: var(--color-primary); }
.card-excerpt {
    font-size: 14px;
	line-height: 24px;
}

.section-footer-link { text-align: right; margin-top: 30px; }
/* Összes hír / Ághír gomb gomb */
.btn-all-posts {
    color: var(--color-dark, #282828);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
}

.btn-all-posts:hover {
    color: var(--color-primary, #8cc63f);
}

/* SVG nyíl igazítása és animációja */
.btn-all-posts .btn-all-posts-svg {
    width: 32px;
    height: 12px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.2s ease;
}
.btn-all-posts:hover .btn-all-posts-svg {
    transform: translateX(5px); /* Finom elmozdulás jobbra hover esetén */
}

/* --- MOBIL NÉZET FIXEK (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Container széli margók */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
		width: calc(100% - 30px);
    }

    /* Grid átállítása 2 oszlopra (A Figma terv szerint) */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Kártyák belső terek és képek */
    .archive-card, .news-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .card-image-wrap {
        height: 120px !important; /* Fix, arányos képmagasság mobilon */
        width: 100%;
    }

    .card-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.ag-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    padding: 8px 14px 8px 10px;
    border-radius: 4px;
    font-weight: 600;
border-bottom-right-radius: 25px;}


    .card-content {
        padding: 12px !important;
    }

    .card-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    .card-date {
        font-size: 10px !important;
    }

    .card-excerpt {
        font-size: 11px !important;
        line-height: 1.3 !important;
		display:none;
    }

    /* Tab szűrő kiválasztó mobilon */
    .archive-tabs-desktop {
        display: none !important;
    }

    .archive-tabs-mobile {
        display: block !important;
        padding: 10px 0;
    }

    /* Lapozó mobilon */
    .custom-pagination-list {
        gap: 8px !important;
    }

    .custom-pagination-list li a,
    .custom-pagination-list li span.current {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
    }
}

/* Kisebb mobil képernyőkre (max-width: 480px) */
@media (max-width: 480px) {
    .card-image-wrap {
        height: 105px !important;
    }
}







/* --- NEWSLETTER SECTION STYLES --- */
.section-newsletter {
    background-color: #7ab332; /* Biocom Zöld */
    background-image: url('images/newsletter-block-bg.png'); 
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 50px 0;
}

.newsletter-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    color: #ffffff;
	line-height: 48px; 
    align-self: flex-start;
}

.newsletter-form-wrap {
    flex-grow: 1;
    max-width: 750px;
}

/* Input Mezők (Kapszula forma) */
.nl-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.nl-pill-input {
    width: 100%;
	height: 56px;
    background-color: #597413; 
    border: 1.5px solid #ffffff;
    border-radius: 30px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nl-pill-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.nl-pill-input:focus {
    background-color: rgba(60, 110, 20, 0.8);
    border-color: #ffffff;
}

/* Alsó sáv (Checkbox & Gomb) */
.nl-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nl-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
}

/* Egyedi fehér Checkbox */
.nl-custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 3px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    margin-top: 1px;
}

.nl-custom-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #7ab332;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Feliratkozás gomb */
.btn-nl-submit {
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0;
    transition: opacity 0.2s ease;
}

/* Nyíl SVG méretezése és animációja hoverre */
.btn-nl-submit .nl-submit-svg {
    width: 32px;
    height: 12px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.2s ease;
}

.btn-nl-submit:hover .nl-submit-svg {
    transform: translateX(4px); /* Finom mozgás jobbra hoverre */
}

/* RESPONSIVE (MOBIL NÉZET) */
@media (max-width: 991px) {
    .newsletter-flex {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .newsletter-form-wrap {
        width: 100%;
    }

    .nl-inputs-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nl-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nl-checkbox-label {
        text-align: left;
    }

    .btn-nl-submit {
        font-size: 16px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-dark);
    color: #ffffff;
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 13px;
}

.footer-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 40px;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    margin-bottom: 20px;
	max-width:280px;
}

.footer-contact .contact-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-contact p {
    margin: 0 0 5px 0;
	  font-weight: 600;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.5;
}

.footer-contact a {
    color: #cccccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

/* Footer Linkek (Jogi menü) */
.footer-menu-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-menu-ul a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-menu-ul a:hover {
    color: var(--color-primary);
}

/* Copyright Bar */
.footer-bottom {
    text-align: left;
    padding-top: 20px;
    color: #777777;
    font-size: 12px;
}

/* Mobil nézet igazítások */
@media (max-width: 768px) {
    .footer-main-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-menu-ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}


.margin-bottom { margin-bottom: 30px; }
.margin-top { margin-top: 40px; }
.page-title { font-size: 32px; font-weight: 700; color: var(--color-dark); }

/* Pagination */
.pagination-wrap { display: flex; justify-content: center; gap: 8px; }
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}


/* --- ARCHIVE PAGE STYLES --- */
.padding-bottom-60 { padding-bottom: 60px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-30 { margin-top: 30px; }
.margin-top-50 { margin-top: 50px; }

/* Filter Bar (Tabok sávja) */
.archive-filter-bar {
    background-color: #ffffff;
    padding: 0;
}




.archive-tabs-desktop li.active a,
.archive-tabs-desktop li a:hover {
  /*  color: var(--color-primary);*/
	background-color: #f5f5f5;
	text-decoration:underline;
}
/*
.archive-tabs-desktop li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}
*/
.archive-tabs-mobile {
    display: none;
    padding: 12px 0;
}

.custom-select-capsule {
    width: 100%;
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    outline: none;
}

/* Breadcrumb */
.breadcrumb-nav {
    font-size: 12px;
    color: #888888;
}

.breadcrumb-nav a {
    color: #888888;
    text-decoration: none;
}

.breadcrumb-nav .current {
    color: #333333;
    font-weight: 600;
}

/* Kártya stílusok */
.archive-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.card-divider {
    height: 1px;
    background-color: #eeeeee;
    margin: 8px 0 12px 0;
}

/* Custom Pagination  */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.pagination-prev,
.pagination-next {
    flex: 1;
}

.pagination-next {
    text-align: right;
}

/* Előző / Következő gombok stílusa */
.pagination-prev a,
.pagination-next a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: #282828;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pagination-prev a:hover,
.pagination-next a:hover {
    color: var(--color-primary, #8cc63f);
}

/* KÖR ALAKÚ OLDALSZÁMOK (KÖZÉPEN) */
.pagination-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pagination-numbers li a,
.pagination-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #282828;
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

/* Aktív oldalszám */
.pagination-numbers li span.current {
    background-color: #dedede;
    color: #ffffff;
    box-shadow: none;
}

.pagination-numbers li a:hover {
    background-color: #f2f2f2;
    color: #282828;
}

/* SVG nyilak igazítása */
.pagination-arrow-svg {
    width: 32px;
    height: 12px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.2s ease;
}

.pagination-prev a:hover .nav-arrow-left {
    transform: translateX(-4px);
}

.pagination-next a:hover .nav-arrow-right {
    transform: translateX(4px);
}

/* Reszponzív nézet mobilon */
@media (max-width: 600px) {
    .pagination-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .pagination-next {
        text-align: center;
    }
}


/* Mobil nézet */
@media (max-width: 768px) {
    .archive-tabs-desktop { display: none; }
    .archive-tabs-mobile { display: block; }
    
    .custom-pagination-list li a.prev span,
    .custom-pagination-list li a.next span {
        display: none; /* Mobilon csak a nyilak látszanak */
    }
	.footer-logo img {
    max-width: 200px;
}
}


/* --- SINGLE POST STYLES --- */
.margin-bottom-20 { margin-bottom: 20px; }
.padding-top-20 { padding-top: 20px; }

/* Grid Layout (2 Oszlop: Fő tartalom + Sidebar) */
.single-layout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.single-main-content {
    background: transparent;
}

.single-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.25;
    margin: 0 0 25px 0;
}

.single-featured-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Törzsszöveg és Betűtípusok */
.entry-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2, .entry-content h3 {
    font-weight: 700;
    color: var(--color-dark);
    margin: 35px 0 15px 0;
}

.entry-content h2 { font-size: 22px; }
.entry-content h3 { font-size: 18px; }

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

/* Navigáció a Cikk Alatt (Vissza / Következő Cikk) */
.single-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.btn-single-nav {
    color: var(--color-dark, #282828);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
}

.btn-single-nav:hover {
    color: var(--color-primary, #8cc63f);
}

/* SVG nyilak méretezése és mikromozi hoverre */
.btn-single-nav .single-nav-svg {
    width: 32px;
    height: 12px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.2s ease;
}

/* Balra nyíl elmozdulása hoverkor */
.btn-single-nav:hover .nav-arrow-left {
    transform: translateX(-5px);
}

/* Jobbra nyíl elmozdulása hoverkor */
.btn-single-nav:hover .nav-arrow-right {
    transform: translateX(5px);
}

/* SIDEBAR KÁRTYA DOBOZ */
.sidebar-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.sidebar-box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 20px 0;
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-list li {
    margin-bottom: 12px;
}

.sidebar-cat-list li:last-child {
    margin-bottom: 0;
}

.sidebar-cat-list li a {
    color: #555555;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.sidebar-cat-list li.active a,
.sidebar-cat-list li a:hover {
    color: var(--color-primary);
}

/* RESPONSIVE (MOBIL NÉZET) */
@media (max-width: 991px) {
    .single-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-title {
        font-size: 24px;
    }

    .single-sidebar {
        order: 2; /* Mobilon a tartalom és a navigáció alá kerül */
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
.single-main-content {
        width: calc(100% - 20px);
		}
}




/* Tabok sávja - görgethető, ha nem fér el 1 sorban */
.archive-tabs-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0px;
    overflow-x: auto; /* Ha sok az ág, vízszintesen görgethető marad */
    white-space: nowrap;
    scrollbar-width: none; /* Firefox scrollbar rejtés */
}

.archive-tabs-desktop::-webkit-scrollbar {
    display: none; /* Chrome/Safari scrollbar rejtés */
}

.archive-tabs-desktop li a {
    display: inline-block;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 600;
    color: #282828;
    text-decoration: none;
    white-space: nowrap;
	position: relative;
	height: 80px;
    line-height: 80px;
}
}


/* Reszponzív láthatósági osztályok */
.mobile-only { display: none !important; }
.desktop-only { display: block; }

@media (max-width: 991px) {
    .mobile-only { display: flex !important; }
    .desktop-only { display: none !important; }
.desktop-search-form {
    margin: 0 auto;
}
    /* Logo Bar igazítás mobilon */
    .logo-bar-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .mobile-placeholder {
        width: 26px; /* Ugyanannyi, mint a hamburger gomb szélessége a szimmetriához */
    }

    /* Hamburger Gomb */
    .mobile-menu-toggle {
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        padding: 0;
		position: absolute;
        left: 20px;
    }

    .hamburger-bar {
        width: 100%;
        height: 2px;
        background-color: #ffffff; /* Fehér vonalak a sötét sávban */
        border-radius: 2px;
    }

    /* MOBIL DRAWER (PANEL) */
    .mobile-menu-drawer {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 99999;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
    }

    .mobile-menu-drawer.is-active {
        left: 0;
    }

    /* Drawer sötét fejléce */
    .mobile-drawer-header {
        background-color: #282828;
        padding: 23px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
a.mobile-drawer-logo-wrap,
a.site-branding {
    max-width: 260px;
    margin: 0 auto;
}
    .mobile-drawer-logo {
        max-height: 38px;
        width: 100%;
		max-width: 260px;
    }
.site-logo {
    max-width: 260px;
}
    .mobile-menu-close {
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 28px;
        cursor: pointer;
        padding: 0;
    }

    /* Belső tartalom */
    .mobile-menu-inner {
        padding: 20px 15px 40px 15px;
    }

    .mobile-search-wrapper {
        margin-bottom: 10px;
		        padding: 8px 0 0 0;
    }

    .mobile-menu-ul {
        list-style: none;
        padding: 0;
        margin: 0 0 30px 15px;
        border-bottom: 1px solid #eeeeee;
    }

   .mobile-menu-ul li {
        list-style: none !important;
        border-bottom: 1px solid #f0f0f0;
        margin: 0 !important;
    }

    .mobile-menu-ul li a {
        display: block;
        padding: 12px 0;
        color: #282828;
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        text-decoration: none;
    }
    /* Extra elemek a menü alján */
	
	.mobile-menu-dark-section{
		background-color:#3C3C3C;
		text-align:center;
		padding: 25px;
	}
	
	
    .mobile-drawer-extra {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .btn-mobile-full {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .mobile-lang-and-social {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
    }
.mobile-lang-wrapper {
    text-align: center;
    padding: 20px 0;
}
    .mobile-lang-wrapper  .footer-menu-ul {
        flex-direction: row;
		justify-content: center;
    }

    .mobile-socials-row {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 16px;
        color: #fff;
		 justify-content: center;
    }

    .mobile-socials-row a {
        color: #fff;
        font-size: 20px;
    }
}


/* --- SIDEBAR BLOCK CARDS (TERV SZERINT) --- */
.sidebar-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Távolság a különálló blokk-kártyák között */
}

.sidebar-block-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* Kártya Fejléc (1. Szint) */
.card-block-header {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.card-block-header a {
    font-size: 18px;
    font-weight: 600;
    color: #282828;
    text-decoration: none;
    display: block;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.card-block-header a:hover {
    color: var(--color-primary, #8cc63f);
}

/* Aloldalak Listája (2. Szint) */
.card-block-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.card-block-list li {
    list-style: none !important;
    margin: 0 !important;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.card-block-list li:last-child {
    border-bottom: none;
}

.card-block-list li a {
    display: block;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 300;
    color: #282828;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* Hover és Aktív Állapot (Világosszürke háttér kiemelés a terv alapján) */
.card-block-list li:hover {
    background-color: #f9f9f9;
}

.card-block-list li.active {
    background-color: #f2f2f2; /* A terven látható aktív kijelölő háttér */
}

.card-block-list li.active a {
    font-weight: 600;
    color: #282828;
}

.card-block-list li a:hover {
    color: #282828;
}





/* --- KATALÓGUS KÁRTYÁK  --- */
.catalog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.catalog-img-wrap {
    height: 220px !important;
    background-color: #e0e0e0;
}

.catalog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-content {
    padding: 22px 20px 25px 20px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #282828 !important;
    line-height: 1.25 !important;
    margin: 0 0 6px 0 !important;
}

.catalog-lang-count {
    font-size: 20px;
    color: #282828;
    font-weight: 500;
    margin-bottom: 25px;
    display: block;
}

.catalog-download-section {
    margin-top: auto; /* Mindig a kártya aljára tolja a letöltőt */
}

.download-instruction {
    font-size: 14px;
    font-weight: 700;
    color: #282828;
    margin: 0 0 10px 0;
}

/* Zászló ikonok sora */
.catalog-flags-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.catalog-flag-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
	text-decoration: none;
    border-radius: 30px;
    display: inline-block;
}

.catalog-flag-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Kör alakú zászlók (FlagCDN) */
.catalog-flag-img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12); /* Szebb árnyék a nagyobb mérethez */
}

@media (max-width: 768px) {
    .cards-grid.catalog-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 12px !important;
    }
}




/* Egyedi Dropdown Konténer */
.custom-dropdown-wrap {
    position: relative;
    user-select: none;
    font-family: inherit;
	  grid-column: 3; /* A dropdown-t a jobb szélre, a 3. oszlopba rakjuk */
    justify-self: end;
	    min-width: 240px;
	width: 345px;
	vertical-align: middle;
	    max-width: 100%;
}

/* A Zárt Gomb (A kapszula) */
.custom-dropdown-trigger {
    background: #ffffff;
	height:32px;
    border: 1px solid var(--color-primary, #8cc63f);
    border-radius: 30px;
    padding: 12px 45px 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary, #8cc63f);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Nyilacska a gombban */
.custom-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23222222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s ease;
}

/* Ha nyitva van a menü, a nyíl megfordul */
.custom-dropdown-wrap.is-open .custom-dropdown-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

/* A Lenyíló Lista (Terv szerinti kártya) */
.custom-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    list-style: none !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
}

/* Nyitott állapot animációja */
.custom-dropdown-wrap.is-open .custom-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Lista Elemek (Option-ök) */
.custom-dropdown-list li {
    margin: 0 !important;
    padding: 0 !important;
	text-align: left;
}

.custom-dropdown-list li a,
.custom-dropdown-list li span {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    text-decoration: none;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

/* Hover és Aktív Állapot (Világosszürke kijelölés a terv szerint) */
.custom-dropdown-list li a:hover,
.custom-dropdown-list li.is-selected a {
    background-color: #f2f2f2;
}




/* A cikk tartalmában lévő elemek nem nyúlhatnak ki a konténerből */
.single-main-content img,
.single-main-content iframe,
.single-main-content video,
.single-main-content figure {
    max-width: 100% !important;
    height: auto !important;
}

/* Flex layout stabilitása */
.single-layout-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.single-main-content {
    flex: 1;
    min-width: 0; /* KRITIKUS: Megakadályozza, hogy a flex elem kinyúljon a tartalom miatt */
}

.single-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* WP Caption inline width felülírása */
.entry-content .wp-caption,
.entry-content .wp-caption.alignnone,
.entry-content .wp-caption.aligncenter,
.entry-content .wp-caption.alignleft,
.entry-content .wp-caption.alignright {
    max-width: 100% !important;
    width: auto !important; /* Szükség esetén '100% !important' is használható */
    box-sizing: border-box;
}

/* A képaláírásos konténeren belüli elemek méretezése */
.entry-content .wp-caption img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
}

/* Képaláírás szövegének igazítása */
.entry-content .wp-caption-text {
    font-size: 13px;
    color: #666666;
    margin-top: 8px;
    text-align: center;
}


/* Automatikus nyelvi elválasztás és törés a kártyák címeiben */
.card-title,
.catalog-title,
.entry-content h1,
.entry-content h2 {
    /* Automatikus nyelvhelyes elválasztás kötőjellel */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;

    /* Biztonsági háló: ha egy szó hosszabb mint a doboz szélessége, törje meg */
    overflow-wrap: break-word;
    word-break: break-word;
}


/* MOBIL NÉZET (992px vagy 768px alatt) */
@media (max-width: 991px) {
    
    /* Elrendezés törése függőleges oszlopra */
    .single-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* A fő tartalom és az oldalsáv teljes szélességű lesz */
    .single-main-content,
    .single-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        position: static !important; /* Megakadályozza az absolute lebegést */
        float: none !important;
    }

    /* Az oldalsáv kártyáinak szélességkorrekciója */
    .sidebar-cards-wrapper,
    .sidebar-block-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}