/* SJ Plus - Sticky Right panel képernyőhöz igazítása */

#yt_sticky_right {
    top: min(230px, 25dvh);
}

#yt_sticky_right .yt-sticky .module .modcontent {
    max-height: calc(100dvh - min(230px, 25dvh) - 100px);
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: auto;
    scrollbar-color: #999 #eeeeee;
    scrollbar-gutter: stable;
}

/* Chrome, Edge, Safari */
#yt_sticky_right .modcontent::-webkit-scrollbar {
    width: 12px;
}

#yt_sticky_right .modcontent::-webkit-scrollbar-track {
    background: #eeeeee;
}

#yt_sticky_right .modcontent::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 6px;
}
/* Hunyadi fejléc - menü szélességéhez igazítva */

#yt_header {
    background: none !important;
    height: auto !important;
    padding: 0 !important;
}

/* A menüvel megegyező szélességű belső keret */
#yt_header > .container {
    background-image: url('/images/hunyadi-fejlec2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;

    aspect-ratio: 3 / 1;
    height: auto;
    padding: 0;
}
#yt_header #yt_logo,
#yt_header .logo,
#yt_header .site-logo {
    display: none;
}

/* Hunyadi - kereső a fejléc alján középen */

/* A fejléc legyen a pozicionálás alapja */
#yt_header > .container {
    position: relative;
}

/* Keresőmodul áthelyezése */
#yt_header #search {
    position: absolute !important;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    max-width: 90%;
    padding: 0;
    margin: 0;
    float: none;
    z-index: 20;
}

/* A sablon eredeti elválasztóvonalának eltüntetése */
#yt_header #search::before {
    display: none !important;
}


/* Hunyadi - kereső a fejléc jobb felső sarkában */

#yt_header > .container {
    position: relative;
}

#yt_header #search {
    position: absolute !important;
    top: -5px;
    right: -70px;
    bottom: auto;
    left: auto;
    transform: none;
    width: 300px;
    max-width: 90%;
    padding: 0;
    margin: 0;
    float: none;
    z-index: 20;
}

/* Hunyadi - Joomla cikkcímek */

/* Teljes cikkek címe */
.com-content-article .article-header h1,
.com-content-article .article-header h2 {
    color: #0B4D8A !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1.2;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #D8B34A;
}

/* Cikkcímek a főoldalon és blognézetben */
.blog-featured .article-header.item-title,
.blog .article-header h2,
.blog .article-header.item-title {
    color: #0B4D8A !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1.25;
}

/* Kattintható cikkcímek */
.blog-featured .article-header a,
.blog .article-header a,
.com-content-article .article-header a {
    color: #0B4D8A !important;
    font-weight: 400 !important;
}

/* Egér ráhúzásakor */
.blog-featured .article-header a:hover,
.blog .article-header a:hover {
    color: #1679C5 !important;
}

/* Mobiltelefonok */
@media (max-width: 767px) {
    .com-content-article .article-header h1,
    .com-content-article .article-header h2 {
        font-size: 22px !important;
    }

    .blog-featured .article-header.item-title,
    .blog .article-header h2 {
        font-size: 18px !important;
    }
}




/* Hunyadi - cikkcímek finoman áttűnő háttere */

.com-content-article .article-header,
.item-page .article-header,
.blog-featured .article-header,
.blog .article-header {
    position: relative;
    isolation: isolate;

    background: none !important;
    background-image: none !important;

    padding: 18px 26px 22px;
    border-radius: 15px;
    box-sizing: border-box;
}

/* Egyenletes áttűnés mind a négy oldalon */
.com-content-article .article-header::before,
.item-page .article-header::before,
.blog-featured .article-header::before,
.blog .article-header::before {
    content: "";
    position: absolute;
    inset: 12px;

    background-color: #EAF5FF;
    border-radius: 15px;

    filter: blur(14px);
    z-index: -1;
    pointer-events: none;
}


