/* Théma21 – SmartMag és Elementor finomhangolások. */

/* Sidebar publikációs widget – SmartMag badge a dátum alatt */
.thema21-sidebar-publication-category-row {
  display: block !important;
  flex-basis: 100% !important;
  width: 100% !important;
  margin-top: 8px !important;
}

.thema21-sidebar-publication-category-meta {
  display: inline-block !important;
}

/**
 * A saját kategória-badge ne jelenjen meg a fő single bejegyzés meta sorában,
 * de megjelenhessen sidebarban, Reflexiók blokkban és Kapcsolódó tartalmakban.
 */
.single-post .post-meta-single .thema21-sidebar-publication-category-row,
.single-post .the-post-meta .thema21-sidebar-publication-category-row {
	display: none !important;
}

/* Single bejegyzés: kiemelt kép alatti caption elrejtése,
   de a Médiatárban és Elementor galériákban megmarad */
.single-post .featured figcaption,
.single-post .featured .wp-caption-text,
.single-post .main-featured figcaption,
.single-post .main-featured .wp-caption-text,
.single-post .post-featured figcaption,
.single-post .post-featured .wp-caption-text,
.single-post .post-cover figcaption,
.single-post .post-cover .wp-caption-text {
  display: none !important;
}

/* Főoldali Cards blokk – cím és meta térköz finomítása */
.thema21-home-cards .post-title {
	margin-bottom: 4px !important;
}

.thema21-home-cards .post-meta {
	margin-top: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
}

/* Badge-ek sora: ugyanakkora vízszintes térköz, mint az alsó listás blokknál */
.thema21-home-cards .post-cats,
.thema21-home-cards .post-cat-wrap,
.thema21-home-cards .cat-labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	margin-top: 0;
	width: auto;
}

/* Badge-ek közti térköz beállítása */
.thema21-home-cards .post-cats a,
.thema21-home-cards .post-cat-wrap a,
.thema21-home-cards .cat-labels a,
.thema21-home-cards .cat-label {
	display: inline-flex;
	align-items: center;
	margin-right: 6px !important;
	margin-left: 0 !important;
	width: auto;
}

/* Utolsó badge után ne legyen fölösleges térköz */
.thema21-home-cards .post-cats a:last-child,
.thema21-home-cards .post-cat-wrap a:last-child,
.thema21-home-cards .cat-labels a:last-child,
.thema21-home-cards .cat-label:last-child {
	margin-right: 0 !important;
}

/* =========================================================
   Lower Footer menü link hover – Théma21 aranybarna
   A header menü hover-színéhez igazítva
========================================================= */

.site-footer .lower-footer a:hover,
.site-footer .lower-footer .menu a:hover,
.site-footer .lower-footer .menu-item > a:hover,
.lower-footer a:hover,
.lower-footer .menu a:hover,
.lower-footer .menu-item > a:hover {
  color: var(--c-main, #c8a96a) !important;
}

/* SmartMag block heading alatti accent-vonal egységesítése
   Pl.: <div class="block-head block-head-ac block-head-c block-head-c2 is-left"> */
.block-head.block-head-ac,
.block-head.block-head-c,
.block-head.block-head-c2 {
  --c-main: #c8a96a !important;
  --main-color: #c8a96a !important;
  --c-head-accent: #c8a96a !important;
  --block-head-accent: #c8a96a !important;
}

.block-head.block-head-ac::before,
.block-head.block-head-ac::after,
.block-head.block-head-c::before,
.block-head.block-head-c::after,
.block-head.block-head-c2::before,
.block-head.block-head-c2::after,
.block-head.block-head-ac .heading::before,
.block-head.block-head-ac .heading::after,
.block-head.block-head-c .heading::before,
.block-head.block-head-c .heading::after,
.block-head.block-head-c2 .heading::before,
.block-head.block-head-c2 .heading::after {
  background: #c8a96a !important;
  background-color: #c8a96a !important;
  border-color: #c8a96a !important;
}

.block-head.block-head-ac .heading,
.block-head.block-head-c .heading,
.block-head.block-head-c2 .heading {
  border-color: #c8a96a !important;
}

.thema21-inline-word {
  display: inline-block;
  height: 1.5em;
  width: auto;
  vertical-align: -0.15em;
  margin: 0 0.08em;
}
