/* =============================================================================================
   Borboly – bejegyzéslisták, szekciócímek, címkék, lapozók
   ============================================================================================= */

/* --- Közös: doboz-alsó margó (a blokkok és widgetek 48 px távolsága) --------------------------- */
.bs-listing, .bs-shortcode { margin-bottom: 48px; }
.widget > .bs-listing, .sidebar > .widget:last-child { margin-bottom: 0; }
.bs-listing-modern-grid-listing-3.bs-listing { margin-bottom: 24px; }

/* --- Szekciócím (sh-t4: kitöltött címke, sh-s1 ferde, sh-s4 pöttyös) --------------------------- */
.section-heading {
	position: relative;
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 20px;
}
.section-heading::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgba(0, 0, 0, .08);
}
.section-heading .h-text {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 32px;
	text-transform: uppercase;
	transition: .35s cubic-bezier(.39, .58, .57, 1) 0s;
}
.section-heading .h-text .bf-icon { margin-right: 3px; vertical-align: top; line-height: inherit; }
.section-heading .bf-custom-icon img { width: auto; height: 100%; vertical-align: top; }
.section-heading .other-link { float: right; outline: 0; }
.section-heading .other-link .h-text { padding: 4px 0 4px 14px; font-size: 82%; font-weight: 400; color: #484848; text-transform: capitalize; }

/* sh-t4: a cím színes háttérrel, fehér betűvel */
.section-heading.sh-t4 .h-text { padding: 0 12px; color: #fff; background-color: var(--b-accent); }
.section-heading.sh-t4 a:hover .h-text, .section-heading.sh-t4 a.active .h-text { color: #fff; border-color: transparent; }

/* sh-s1: szürke sáv a cím mögött, a címke szélén fehér ék */
.section-heading.sh-t4.sh-s1::after { top: 0; height: 100%; background: rgba(0, 0, 0, .04); }
.section-heading.sh-t4.sh-s1 .h-text::after {
	content: '';
	position: absolute;
	top: -1px;
	right: -13px;
	display: inline-block;
	width: 12px;
	height: 110%;
	background: #fff;
}

/* sh-s4: pöttyös sáv, ferde végű címke */
.section-heading.sh-t4.sh-s4::after {
	top: 9px;
	height: 13px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjQ4NUVFODNGNzc1MTFFN0I4NTdCMTRBMzQ3RTIwNTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjQ4NUVFODRGNzc1MTFFN0I4NTdCMTRBMzQ3RTIwNTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCNDg1RUU4MUY3NzUxMUU3Qjg1N0IxNEEzNDdFMjA1NCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCNDg1RUU4MkY3NzUxMUU3Qjg1N0IxNEEzNDdFMjA1NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk86A7EAAAASSURBVHjaYmBgYLBgIAgAAgwAB88AOccVbLsAAAAASUVORK5CYII=");
}
.section-heading.sh-t4.sh-s4 .h-text { height: 35px; padding-top: 2px; line-height: 34px; background-color: var(--b-accent); }
.section-heading.sh-t4.sh-s4 .h-text::before {
	content: '';
	position: absolute;
	top: 0;
	right: -11px;
	z-index: -1;
	display: inline-block;
	width: 25px;
	height: 35px;
	background-color: var(--b-accent);
	transform: skew(29deg);
}
.section-heading.sh-t4.sh-s4 .h-text::after {
	content: '';
	position: absolute;
	top: -1px;
	right: -42px;
	z-index: -2;
	display: inline-block;
	width: 42px;
	height: 110%;
	background: #fff;
}

/* --- Lista-alapok ------------------------------------------------------------------------------ */
.listing .listing-item { min-height: 0; }
.listing-item .title { font-family: 'Roboto', sans-serif; font-weight: 500; color: #383838; }
.listing-item .title a { color: inherit; }

/* Oszlopos listák (columns-N) */
.listing.columns-1 .listing-item { width: 100%; float: none; }
.listing.columns-2 .listing-item { float: left; width: 50%; }
.listing.columns-2 .listing-item:nth-child(odd) { padding-right: 18px; clear: left; }
.listing.columns-2 .listing-item:nth-child(even) { padding-left: 18px; }
.listing.columns-3 .listing-item { float: left; width: 33.3333%; }
.listing.columns-3 .listing-item:nth-child(3n-1) { padding-left: 9px; padding-right: 9px; }
.listing.columns-3 .listing-item:nth-child(3n-2) { padding-right: 18px; clear: left; }
.listing.columns-3 .listing-item:nth-child(3n+3) { padding-left: 18px; }
.listing.columns-4 .listing-item { float: left; width: 25%; }
.listing.columns-4 .listing-item:nth-child(4n-3) { padding-left: 0; padding-right: 16px; clear: left; }
.listing.columns-4 .listing-item:nth-child(4n+2) { padding-left: 5px; padding-right: 11px; }
.listing.columns-4 .listing-item:nth-child(4n+3) { padding-left: 10px; padding-right: 6px; }
.listing.columns-4 .listing-item:nth-child(4n+4) { padding-left: 16px; padding-right: 0; }
/* Szűkebb oszlopos lista (scolumns-2: a mix blokk jobb oldala) */
.listing.scolumns-2 .listing-item { float: left; width: 50%; }
.listing.scolumns-2 .listing-item:nth-child(odd) { padding-right: 12px; clear: left; }
.listing.scolumns-2 .listing-item:nth-child(even) { padding-left: 12px; }

@media (max-width: 900px) {
	.listing.columns-4 .listing-item { width: 33.3333%; }
	.listing.columns-4 .listing-item:nth-child(3n-1) { padding-left: 6px; padding-right: 6px; clear: none; }
	.listing.columns-4 .listing-item:nth-child(3n-2) { padding-left: 0; padding-right: 12px; clear: left; }
	.listing.columns-4 .listing-item:nth-child(3n+3) { padding-left: 12px; padding-right: 0; clear: none; }
}
@media (max-width: 600px) {
	.listing.columns-3 .listing-item, .listing.columns-4 .listing-item { width: 50%; }
	.listing.columns-3 .listing-item:nth-child(odd), .listing.columns-4 .listing-item:nth-child(odd) { padding-left: 0; padding-right: 13px; clear: left; }
	.listing.columns-3 .listing-item:nth-child(even), .listing.columns-4 .listing-item:nth-child(even) { padding-left: 13px; padding-right: 0; clear: none; }
}
@media (max-width: 500px) {
	.listing.columns-2 .listing-item, .listing.columns-3 .listing-item, .listing.columns-4 .listing-item {
		width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		clear: none !important;
	}
}

/* --- Képtartó (lusta betöltésű háttérkép) ------------------------------------------------------- */
.img-holder {
	position: relative;
	display: inline-block;
	float: left;
	width: 80px;
	margin-right: 15px;
	transition: none;
}
.img-holder::before { content: " "; display: block; width: 100%; padding-top: 70%; }
.img-holder.b-load-ready { opacity: 0; }
.img-holder.b-error, .img-holder.b-loaded {
	background-size: cover;
	background-position: top center;
	animation: none;
}
.img-holder.b-loaded { opacity: 1; transition: opacity .2s ease-in-out; }
/* Betöltés előtti szürke villogó háttér */
.img-cont::before, .img-holder::before {
	background-color: #e9ebee;
	background-image: linear-gradient(to left, #e9ebee 0, #f4f5f6 20%, #e9ebee 40%, #e9ebee 100%);
	background-repeat: no-repeat;
	background-size: 1000px 900px;
	animation: 1.01s linear infinite forwards bs-lazy-anim;
}
.img-cont.b-error::before, .img-cont.b-loaded::before, .img-holder.b-error::before, .img-holder.b-loaded::before {
	background: none;
	opacity: 0;
	animation: none;
}
@keyframes bs-lazy-anim { 0% { background-position: 0 0; } 100% { background-position: 1000px 0; } }

/* --- Címkék (kategória-jelvények) ------------------------------------------------------------- */
.term-badges .term-badge, .term-badges .format-badge { display: inline-block; line-height: 0; font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 12px; text-transform: uppercase; }
.term-badges a { color: #8b8b8b; padding: 0 0 4px; }
.term-badges.floated { position: absolute; top: 0; left: 0; z-index: 1; line-height: 0; font-size: 0; }
.term-badges.floated a {
	display: inline-block;
	max-width: 150px;
	margin: 0 3px 3px 0;
	padding: 2px 7px;
	overflow: hidden;
	vertical-align: top;
	line-height: 1.7;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #fff;
	background-color: var(--b-accent);
}

/* --- Meta-sor, kivonat --------------------------------------------------------------------------- */
.post-meta { padding-top: 2px; font-style: inherit; font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 12px; text-transform: none; color: var(--b-muted); }
.post-meta a { color: var(--b-muted); }
.post-meta .time { margin-right: 10px; }
.post-meta .comments { float: right; margin-left: 10px; font-style: normal; white-space: nowrap; }
.post-meta .comments .fa { display: inline-block; margin-right: 3px; }
.post-meta > a:last-child, .post-meta > span:last-child { margin-right: 0 !important; }
.post-summary { font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 13px; line-height: 20px; color: var(--b-summary); }

/* --- Nagy képes rács (grid-1) --------------------------------------------------------------------- */
.listing-item-grid-1 { margin-bottom: 22px; }
.listing-item-grid-1 .featured { position: relative; margin-bottom: 13px; line-height: 0; }
.listing-item-grid-1 .featured .img-holder { display: block; float: none; width: 100%; margin: 0; }
.listing-item-grid-1 .featured .img-holder::before { padding-top: 58%; }
.listing-item-grid-1 .title { margin: 0 0 6px; font-size: 17px; line-height: 22px; text-transform: none; }
.listing-item-grid-1 .post-meta { margin: 0 0 7px; }
.listing-item-grid-1 .post-summary { padding-bottom: 22px; border-bottom: 1px solid rgba(0, 0, 0, .07); }

/* --- Mix 1-2 (nagy + kis bélyegképek) -------------------------------------------------------------- */
.listing.listing-mix-1-2 .listing-item-grid-1 { margin-bottom: 30px; }
.listing.listing-mix-1-2 .listing-item-grid-1 .post-summary { padding-bottom: 0; border-bottom: 0; }
.listing.listing-mix-1-2 .column-1 { float: left; width: 50%; padding-right: 18px; }
.listing.listing-mix-1-2 .column-2 { float: left; width: 50%; padding-left: 18px; }
@media (max-width: 450px) {
	.listing.listing-mix-1-2 .column-1, .listing.listing-mix-1-2 .column-2 { float: none !important; width: 100% !important; padding: 0 !important; }
	.listing.listing-mix-1-2 .column-1 { margin-bottom: 20px; }
}

/* --- Mix 3-3 ---------------------------------------------------------------------------------------- */
.listing.listing-mix-3-3 .row-1 + .row-2 { margin-top: 23px; }
.listing.listing-mix-3-3 .listing-item-grid-1 { margin-bottom: 0; }
.listing.listing-mix-3-3 .listing-item-text-2 { margin-bottom: 25px; }
.listing-mix-3-3.l-1-col .listing.columns-2 .listing-item { float: none; width: 100%; padding: 0 !important; }
@media (max-width: 450px) {
	.listing-mix-3-3 .listing.columns-2 .listing-item { float: none; width: 100%; padding: 0 !important; }
}

/* --- Magas képes (tall-1) ------------------------------------------------------------------------------ */
.listing-item-tall-1 { margin-bottom: 23px; }
.listing-item-tall-1:last-child { margin-bottom: 0; }
.listing-item-tall-1 .featured { position: relative; }
.listing-item-tall-1 .featured .img-holder { width: 100%; margin: 0; background-position: top center; }
.listing-item-tall-1 .featured .img-holder.img-holder::before { padding-top: 134%; }
.listing-item-tall-1 > .title { margin: 15px 0 9px; }
.listing-item-tall-1 .post-summary { margin-top: 10px; }
.listing-item-tall-1 .title a { color: var(--b-link); } /* a régi CSS itt nem érvényesült: a link az alap színét kapja */
.listing-item-tall-1 .title { font-size: 16px; line-height: 20px; text-transform: none; }

/* --- Bélyegképes lista tb-2 (nagy kép felül) --------------------------------------------------------- */
.listing-item-tb-2 { position: relative; margin-bottom: 20px; }
.listing-item-tb-2 .item-inner { position: relative; }
.listing-item-tb-2 .featured { position: relative; margin-bottom: 10px; line-height: 0; }
.listing-item-tb-2 .img-holder { display: block; float: none; width: 100%; margin-right: 0; }
.listing-item-tb-2 .img-holder::before { padding-top: 70%; }
.listing-item-tb-2 .img-holder.b-error, .listing-item-tb-2 .img-holder.b-loaded { background-size: cover !important; background-position: top center !important; }
.listing-item-tb-2 .term-badges.floated .term-badge a { font-size: 83%; }
.listing-item-tb-2 .post-meta, .listing-item-tb-2 .post-summary { margin-top: 5px; }
.listing-item-tb-2 .title { margin: 0; font-size: 14px; line-height: 17px; text-transform: none; }

/* --- Bélyegképes lista tb-3 (kis kép jobbra) -------------------------------------------------------- */
.listing-item-tb-3 { position: relative; margin-bottom: 20px; }
.listing-item-tb-3:last-child { margin-bottom: 0; }
.listing-tb-3 > .listing-item-tb-3:last-child { margin-bottom: 20px; }
.listing-item-tb-3 .featured { position: relative; float: right; margin-left: 15px; line-height: 0; }
.listing-item-tb-3 .img-holder { float: none; width: 86px; margin-right: 0; }
.listing-item-tb-3 .img-holder::before { padding-top: 74%; }
.listing-item-tb-3 .img-holder.b-error, .listing-item-tb-3 .img-holder.b-loaded { background-size: cover !important; background-position: top center !important; }
.listing-item-tb-3 .title { margin: 0; font-size: 14px; line-height: 18px; text-transform: none; }

/* --- Szöveges lista text-2 ------------------------------------------------------------------------------ */
.listing-item-text-2 { position: relative; margin-bottom: 15px; }
.listing-item-text-2:last-child { margin-bottom: 0; }
.listing-item-text-2 .item-inner { padding: 6px 0 6px 14px; border-left: 3px solid rgba(0, 0, 0, .11); transition: .3s cubic-bezier(.55, -.01, .19, .98) 0s; }
.listing-item-text-2 .title { margin: 0; font-size: 14px; line-height: 19px; text-transform: capitalize; }
.listing-item-text-2 .post-meta, .listing-item-text-2 .post-meta .comments { font-size: 11px; }

/* --- Hover: cím és címke a kiemelőszínre ------------------------------------------------------------------- */
.listing-item-thumbnail:hover .title a, .listing-item-grid:hover .title a, .listing-item-text-2:hover .title a,
.listing-mg-5-item:hover .title, .post-meta a:hover { color: var(--b-accent); }
.listing-item-tb-2:hover .term-badges.floated .term-badge a { background-color: var(--b-accent); }

/* --- Modern grid: közös overlay-elemek ----------------------------------------------------------------------- */
.listing-mg-item { position: relative; overflow: hidden; }
.listing-mg-item .img-cont { background-repeat: no-repeat !important; background-position: center center !important; transition: all .5s; backface-visibility: hidden; }
.listing-mg-item .img-cont::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: inline-block; }
.listing-mg-item .img-cont.b-error, .listing-mg-item .img-cont.b-loaded { background-size: cover !important; animation: none; }
.listing-mg-item .img-cont::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; transition: all .35s ease; }
.listing-modern-grid.slider-overlay-simple-gr .listing-mg-item .img-cont::after { top: auto; height: 75%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .65) 100%); }
/* A régi Publisherben a mg-5 típusnak nincs ::after fedőrétege (nincs gradiens) */
.listing-modern-grid .listing-mg-5-item .img-cont::after { content: none; }
.listing-mg-item .content-container a { pointer-events: all; }

/* --- Modern grid 1 (kategória-oldal fejléce, mg-1) ------------------------------------------------------------ */
/* A fejléc-blokk a teljes 1180 px-es keretet használja (nincs 5 px oldalsó belső tér), 25 px-es belső térrel */
.slider-container .content-wrap { padding-left: 0; padding-right: 0; }
.slider-container .container { width: 100%; max-width: 1180px; padding-left: 24px; padding-right: 24px; }
.slider-style-1-container { margin: 0 0 24px; padding: 24px 0; background-color: #fff; }
.listing-mg-type-1::before { content: " "; display: block; width: 100%; padding-top: 68.17%; }
.listing-mg-type-1 .item-content { position: absolute !important; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
.listing-mg-type-1 .img-cont { position: absolute; top: -1px; right: -2px; bottom: -1px; left: -2px; }
.listing-mg-type-1 .content-container { position: absolute; right: 20px; bottom: 15px; left: 20px; max-height: 75%; padding: 0; overflow: hidden; pointer-events: none; }
.listing-mg-1-item .title, .listing-mg-1-item .content-container { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 21px; text-transform: capitalize; color: #fff; }
.listing-mg-type-1 .title { margin: 0; line-height: 1.4; text-shadow: 1px 1px 3px rgba(0, 0, 0, .2); }
.listing-item.listing-mg-type-1 .title.title a.post-url.post-url, .listing-item.listing-mg-type-1 .title.title a.post-url.post-url:hover { color: inherit !important; }
.listing-mg-type-1 .post-meta { margin-top: 3px; }
.listing-mg-type-1 .post-meta .comments { float: right; margin: 0 0 0 15px; color: #fff; }
.listing-mg-type-1 .post-meta .time { color: rgba(255, 255, 255, .57); }
.listing-mg-1-item.listing-item-2 .title, .listing-mg-1-item.listing-item-3 .title, .listing-mg-1-item.listing-item-4 .title, .listing-mg-1-item.listing-item-5 .title { font-size: 72%; }
.listing-mg-1-item.listing-item-2 .title { font-size: 80%; }
.listing-modern-grid-1 .mg-col-1 { float: left; width: 56%; padding-right: 1px; overflow: hidden; }
.listing-modern-grid-1 .mg-col-2 { float: left; width: 44%; padding-left: 1px; overflow: hidden; }
.listing-modern-grid-1 .mg-row-1 { margin: 0 0 2px; overflow: hidden; }
.listing-mg-1-item.listing-item-2::before { padding-top: 47.29%; }
.listing-modern-grid-1 .item-3-cont, .listing-modern-grid-1 .item-4-cont { float: left; width: 50%; overflow: hidden; }
.listing-modern-grid-1 .item-3-cont { padding-right: 1px; }
.listing-modern-grid-1 .item-4-cont { padding-left: 1px; }
.listing-mg-1-item.listing-item-3::before, .listing-mg-1-item.listing-item-4::before { padding-top: 78.54%; }

@media (max-width: 980px) {
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-3::before, .listing-modern-grid-1 .listing-mg-1-item.listing-item-4::before { padding-top: 78.43%; }
}
@media (max-width: 780px) {
	.listing-modern-grid-1 .listing-mg-1-item::before { padding-top: 89%; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-2::before { padding-top: 63.74%; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-3::before, .listing-modern-grid-1 .listing-mg-1-item.listing-item-4::before { padding-top: 98.58%; }
	.listing-modern-grid-1 .listing-item-1 .title { font-size: 80%; }
	.listing-modern-grid-1 .listing-item-2 .title { font-size: 72%; }
	.listing-modern-grid-1 .listing-item-3 .title, .listing-modern-grid-1 .listing-item-4 .title { font-size: 62%; }
	.listing-modern-grid-1 .listing-mg-item .content-container { right: 15px; bottom: 10px; left: 15px; max-height: 50%; }
}
@media (max-width: 620px) {
	.listing-modern-grid-1 .mg-col-1 { width: 100%; padding: 0; }
	.listing-modern-grid-1 .mg-col-2 { width: 100%; padding: 2px 0 0; }
	.listing-modern-grid-1 .mg-row-1, .listing-modern-grid-1 .mg-row-2 { float: none; width: 100%; padding: 0; }
	.listing-modern-grid-1 .listing-item-1::before, .listing-modern-grid-1 .listing-mg-1-item.listing-item-2::before { padding-top: 46%; }
	.listing-modern-grid-1 .listing-item-2 .title { font-size: 72%; }
	.listing-modern-grid-1 .listing-item-2 .post-meta, .listing-modern-grid-1 .listing-item-3 .term-badges.floated, .listing-modern-grid-1 .listing-item-4 .term-badges.floated { display: none; }
}
@media (max-width: 560px) {
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-1::before { padding-top: 50%; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-2 .term-badges.floated { display: none; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-2::before { padding-top: 38%; }
}
@media (max-width: 480px) {
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-2::before { padding-top: 50.5%; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-1::before { padding-top: 57%; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-1 .post-meta { display: none; }
	.listing-modern-grid-1 .listing-item-2 .title { font-size: 64%; }
	.listing-modern-grid-1 .listing-mg-item .content-container { right: 12px; bottom: 12px; left: 12px; }
	.listing-modern-grid-1 .listing-mg-item.listing-item-2 .content-container { max-height: 40%; }
	.listing-modern-grid-1 .listing-mg-1-item.listing-item-3::before, .listing-modern-grid-1 .listing-mg-1-item.listing-item-4::before { padding-top: 88%; }
}

/* --- Modern grid 3 (három hasábos, középre igazított felirat) ---------------------------------------------- */
.listing-mg-3-item { position: relative; margin-bottom: 20px; overflow: hidden; }
.listing-mg-3-item .item-content { position: relative; overflow: hidden; }
.listing-mg-3-item .item-content::before { content: " "; display: block; width: 100%; padding-top: 65%; }
.listing-mg-3-item .img-cont { position: absolute; top: -1px; right: -2px; bottom: -1px; left: -2px; }
.listing-mg-3-item .content-container { position: absolute !important; right: 20px; bottom: 20px; left: 20px; padding: 0; overflow: hidden; pointer-events: none; }
.listing-mg-3-item .content-container, .listing-mg-3-item .title { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 18px; text-transform: none; color: #fff; }
.listing-mg-3-item .title { margin: 0; line-height: 1.4; text-align: center !important; text-shadow: 1px 1px 3px rgba(0, 0, 0, .2); }
.listing-mg-3-item .title a { color: #fff; }
.listing-mg-3-item .post-meta { margin-top: 12px; font-size: 11px; text-align: center !important; }
.listing-mg-3-item .post-meta .comments { float: none; margin-left: 0; font-size: 11px; color: #fff; }
.listing-mg-3-item .post-meta .time { color: rgba(255, 255, 255, .57); }
.listing-mg-3-item .term-badges.floated { position: relative; top: auto; right: auto; bottom: auto; left: auto; margin-bottom: 15px; text-align: center; }
.listing-mg-3-item .term-badges.floated .term-badge a { margin: 0 2px; }
@media (max-width: 480px) {
	.listing-mg-3-item .title a { display: inline-block; }
	.listing-mg-3-item .post-meta { display: none; }
	.listing-mg-3-item .item-content::before { padding-top: 65% !important; }
}

/* --- Modern grid 5 (nagy kép középen, két oldalt kisebbek) -------------------------------------------------- */
.listing-modern-grid-5 .mg-col { position: relative; float: left; }
.listing-modern-grid-5 .mg-col-1 { left: 22.5%; width: 55%; padding: 0 10px; }
.listing-modern-grid-5 .mg-col-2 { left: -55%; width: 22.5%; padding: 0 20px 0 0; }
.listing-modern-grid-5 .mg-col-3 { width: 22.5%; padding: 0 0 0 20px; }
.listing-modern-grid-5 .term-badges.floated { position: absolute; top: 0; right: 0; bottom: auto; left: 0; z-index: 1; line-height: 0; text-align: center; pointer-events: none; }
.listing-modern-grid-5 .term-badges.floated a { pointer-events: all; }
.listing-mg-5-item .item-content { position: relative; z-index: 1; overflow: hidden; }
.listing-mg-5-item .item-content::before { content: " "; display: block; width: 100%; padding-top: 70.29%; }
.listing-mg-5-item .img-cont { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.listing-mg-5-item .title { line-height: 1.4; color: #2d2d2d; }
.listing-mg-5-item .title a { color: inherit; }
.listing-mg-5-item .content-container { padding: 0 !important; background: none !important; }
.listing-mg-5-item-big .img-cont { top: -1px; right: -2px; bottom: -1px; left: -2px; }
.listing-mg-5-item-big .item-content::before { padding-top: 66.29%; }
.listing-mg-5-item-big .content-container { position: relative; z-index: 1; min-height: 100px; margin: -80px 35px 0; padding: 20px !important; overflow: hidden; pointer-events: none; background: #fff !important; }
.listing-mg-5-item-big .title { margin: 0 0 6px; font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 23px; text-align: center; text-transform: capitalize; }
.listing-mg-5-item-big .post-meta { text-align: center; }
.listing-mg-5-item-big .post-meta .comments { float: none; margin-left: 0; }
.listing-mg-5-item-small { margin-bottom: 16px; }
.mg-col .listing-mg-5-item-small:last-child { margin-bottom: 0; }
.listing-mg-5-item-small .item-content::before { padding-top: 68%; }
.listing-mg-5-item-small .title { min-height: 38px; margin: 10px 0 0; padding: 0 13px; font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 15px; text-align: center; text-transform: capitalize; }

@media (max-width: 780px) {
	.listing-modern-grid-5 .mg-col-1 { left: auto; width: 100%; margin: 0 0 20px; padding: 0; }
	.listing-modern-grid-5 .mg-col-2, .listing-modern-grid-5 .mg-col-3 { left: auto; width: 50%; padding: 0 40px; }
	.listing-modern-grid-5 .listing-mg-5-item-big .title { line-height: 1; }
	.listing-modern-grid-5 .listing-mg-5-item-big .title a { font-size: 71%; }
	.listing-modern-grid-5 .listing-mg-5-item-big .item-content::before { padding-top: 54%; }
}
@media (max-width: 620px) {
	.listing-modern-grid-5 .mg-col-1 { margin-bottom: 10px; }
	.listing-modern-grid-5 .mg-col-2, .listing-modern-grid-5 .mg-col-3 { padding: 0 20px; }
	.listing-modern-grid-5 .listing-mg-5-item-small .title { padding: 0; line-height: 1.3; }
	.listing-modern-grid-5 .listing-mg-5-item-small .title a { font-size: 90%; }
}
@media (max-width: 560px) {
	.listing-modern-grid-5 .listing-mg-5-item-big .item-content::before { padding-top: 62%; }
	.listing-modern-grid-5 .listing-mg-5-item-small .term-badges.floated { display: none; }
	.listing-modern-grid-5 .listing-mg-5-item-small .item-content::before { padding-top: 70%; }
}
@media (max-width: 480px) {
	.listing-modern-grid-5 .mg-col-3 { padding: 0 0 0 10px !important; }
	.listing-modern-grid-5 .mg-col-2 { padding: 0 10px 0 0 !important; }
}
@media (max-width: 450px) {
	.listing-modern-grid-5 .listing-mg-5-item-big .content-container { margin: -80px 18px 0; padding: 20px 15px !important; }
}

/* --- Widget lapozó (előző / következő gombok) -------------------------------------------------------------------- */
.bs-pagination { margin: 15px 0 0; user-select: none; }
.post-related .bs-pagination,
.bs-listing-listing-thumbnail-1 .bs-pagination, .bs-listing-listing-thumbnail-2 .bs-pagination, .bs-listing-listing-thumbnail-3 .bs-pagination,
.bs-listing-listing-mix-3-2 .bs-pagination, .bs-listing-listing-mix-2-1 .bs-pagination, .bs-listing-listing-grid-1 .bs-pagination, .bs-listing-listing-grid-2 .bs-pagination,
.bs-listing-modern-grid-listing-3 .bs-pagination, .bs-listing-listing-tall-1 .bs-pagination, .bs-listing-listing-tall-2 .bs-pagination { margin-top: 0; }
.bs-pagination-wrapper { position: relative; }
.bs-pagination-label { margin-left: 4px; font-size: 11px; color: rgba(138, 138, 138, .83); }
.btn-bs-pagination {
	display: inline-block;
	min-width: 26px;
	padding: 0 6px;
	border: 1px solid rgba(138, 138, 138, .33);
	font-family: 'Open Sans', sans-serif;
	font-size: 11px !important;
	line-height: 22px !important;
	text-align: center !important;
	text-transform: uppercase !important;
	color: rgba(138, 138, 138, .83) !important;
	cursor: pointer;
}
.btn-bs-pagination.disabled, .btn-bs-pagination.disabled:hover { opacity: .5; }
.btn-bs-pagination .fa { font-weight: 700; }
.btn-bs-pagination.next .fa { margin-left: 2px; }
.btn-bs-pagination.prev .fa { margin-right: 2px; }
.btn-bs-pagination:hover, .btn-bs-pagination.hover { color: #fff !important; background-color: var(--b-accent); border-color: var(--b-accent); }

/* --- Archív lapozó (régebbi / újabb bejegyzések) ------------------------------------------------------------------- */
.pagination { margin: 20px 0 0; font-size: 18px; }
.pagination:last-child { margin-bottom: 0 !important; }
.pagination.bs-links-pagination .older { float: left; width: 50%; text-align: left; }
.pagination.bs-links-pagination .newer { float: right; width: 50%; text-align: right; }
.pagination.bs-links-pagination a {
	display: inline-block;
	min-width: 30px;
	height: 26px;
	margin-right: 1px;
	padding: 0 9px;
	border: 1px solid #dadada;
	font-size: 12px;
	line-height: 26px;
	text-align: center;
	text-transform: uppercase;
	color: #8a8f92;
	background-color: #fff;
}
.pagination.bs-links-pagination a:hover { color: #fff; background-color: var(--b-accent); border-color: var(--b-accent); }

/* =============================================================================================
   v2 finomítások
   ============================================================================================= */

/* Magas kártyák (tall-1): egyhasábos (mobil) nézetben nem álló, hanem 16:10-es kivágás */
@media (max-width: 600px) {
	.listing-item-tall-1 .featured .img-holder.img-holder::before { padding-top: 62.5%; }
}

/* Címek az eredeti írásmóddal (a magyarban nincs „Minden Szó Nagybetűvel”) */
.listing-item-text-2 .title,
.listing-mg-1-item .title,
.listing-mg-5-item-big .title,
.listing-mg-5-item-small .title { text-transform: none; }

/* Szakaszcímek: a zöld címke marad, mellette a szürke sáv helyett vékony vonal; egységesen */
.section-heading::after,
.section-heading.sh-t4.sh-s1::after,
.section-heading.sh-t4.sh-s4::after {
	top: auto;
	bottom: 0;
	height: 2px;
	background: #e9e9e9;
}
.section-heading.sh-t4.sh-s1 .h-text::after,
.section-heading.sh-t4.sh-s4 .h-text::before,
.section-heading.sh-t4.sh-s4 .h-text::after { content: none; }
.section-heading.sh-t4.sh-s4 .h-text { height: auto; padding-top: 0; line-height: 32px; }

/* Kártyák: rámutatáskor enyhe képnagyítás és zöld cím */
.listing-item .featured { overflow: hidden; }
.listing-item .featured .img-holder.b-loaded { transition: opacity .2s ease-in-out, transform .45s ease; }
.listing-item:hover .featured .img-holder { transform: scale(1.04); }
.listing-item .title a { transition: color .2s ease; }
.listing-item:not(.listing-mg-item):hover .title a { color: var(--b-accent); }
@media (prefers-reduced-motion: reduce) {
	.listing-item:hover .featured .img-holder { transform: none; }
}

/* Lapozók: jól látható, zöld körvonalas gombok */
.btn-bs-pagination {
	min-width: 32px;
	padding: 0 10px;
	border: 1px solid var(--b-accent);
	border-radius: 3px;
	font-size: 12px !important;
	font-weight: 600;
	line-height: 28px !important;
	color: var(--b-accent) !important;
	transition: color .2s ease, background-color .2s ease;
}
.btn-bs-pagination.disabled,
.btn-bs-pagination.disabled:hover { color: #9a9a9a !important; background: none; border-color: #ddd; opacity: 1; cursor: default; }
.bs-pagination-label { margin-left: 8px; font-size: 12px; color: #777; text-transform: none; }
.pagination.bs-links-pagination a {
	height: auto;
	padding: 8px 18px;
	border: 2px solid var(--b-accent);
	border-radius: 3px;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--b-accent);
	transition: color .2s ease, background-color .2s ease;
}

/* Listakártyák: a 0-s hozzászólás-számláló rejtve (0 hozzászólásnál a link a #respond-ra mutat) */
.listing-item .post-meta a.comments[href$='#respond'] { display: none; }
