/* ==========================================================================
   Agro Jager News – téma stílusok
   ========================================================================== */

:root {
	--aj-accent: #B4421A;
	--aj-ink: #16241B;
	--aj-darker: #0F1912;
	--aj-bg: #F3F1EC;
	--aj-sand: #E7E3D8;
	--aj-line: #CFCBC0;
	--aj-line-dark: #3B4A3F;
	--aj-muted: #5C6B5F;
	--aj-body: #3C4A40;
	--aj-on-dark: #EDEAE2;
	--aj-on-dark-muted: #B9C0B6;
	--aj-peach: #F2B48F;
	--aj-green: #4E6B2E;
	--aj-teal: #2F6672;
	--aj-yellow: #E9C46A;
	--aj-surface: #16241B;
	--aj-card: #fff;
	--aj-card-line: #D3CEC1;
	--aj-field: #fff;
	color-scheme: light;
	--aj-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--aj-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--aj-wrap: 1320px;
	--aj-gutter: 32px;
}

/* ---------- Alap ---------- */

body.aj-theme {
	margin: 0;
	background: var(--aj-bg);
	color: var(--aj-ink);
	font-family: var(--aj-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.aj-theme a {
	color: var(--aj-ink);
	text-decoration: none;
}

body.aj-theme a:hover,
body.aj-theme a:focus-visible {
	color: var(--aj-accent);
}

body.aj-theme :focus-visible {
	outline: 2px solid var(--aj-accent);
	outline-offset: 2px;
}

body.aj-theme h1,
body.aj-theme h2,
body.aj-theme h3,
body.aj-theme h4 {
	font-family: var(--aj-serif);
	font-weight: 600;
	color: inherit;
}

.aj-wrap {
	max-width: var(--aj-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--aj-gutter);
	padding-right: var(--aj-gutter);
	box-sizing: border-box;
}

.aj-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aj-ph {
	background-color: #2E3B2F;
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px);
	min-height: 100%;
}

.aj-meta {
	display: block;
	font-size: 13px;
	color: var(--aj-muted);
}

.aj-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--aj-accent);
}

.aj-label--ink {
	color: var(--aj-ink);
}

.aj-label--line {
	color: var(--aj-ink);
	letter-spacing: .16em;
	border-bottom: 2px solid var(--aj-ink);
	padding-bottom: 10px;
}

.aj-kicker {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--aj-cat, var(--aj-accent));
}

.aj-kicker--pill {
	display: inline-block;
	align-self: flex-start;
	background: var(--aj-cat, var(--aj-accent));
	color: #fff;
	font-size: 11px;
	padding: 5px 10px;
}

/* Gombok */
.aj-btn,
body.aj-theme a.aj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	font-family: var(--aj-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.aj-btn--dark,
body.aj-theme a.aj-btn--dark {
	background: var(--aj-surface);
	color: #fff;
}

.aj-btn--dark:hover,
body.aj-theme a.aj-btn--dark:hover {
	background: var(--aj-accent);
	color: #fff;
}

.aj-btn--accent,
body.aj-theme a.aj-btn--accent {
	background: var(--aj-accent);
	color: #fff;
}

.aj-btn--accent:hover,
body.aj-theme a.aj-btn--accent:hover {
	background: var(--aj-surface);
	color: #fff;
}

.aj-btn--outline,
body.aj-theme a.aj-btn--outline {
	background: transparent;
	color: var(--aj-ink);
	border: 1.5px solid var(--aj-ink);
	font-weight: 600;
	font-size: 14px;
}

.aj-btn--outline:hover,
body.aj-theme a.aj-btn--outline:hover {
	background: var(--aj-surface);
	color: #fff;
}

/* Rácsok */
.aj-grid {
	display: grid;
	gap: 24px;
}

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

.aj-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.aj-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aj-section {
	padding-top: 64px;
	padding-bottom: 64px;
}

.aj-section--last {
	padding-top: 0;
}

/* Szekciófej */
.aj-shead {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--aj-ink);
	margin-bottom: 28px;
}

body.aj-theme .aj-shead__title {
	margin: 0;
	font-size: 40px;
	line-height: 1;
}

body.aj-theme .aj-shead__more {
	font-size: 14px;
	font-weight: 600;
}

/* Sávok */
.aj-band {
	padding: 64px 0;
}

.aj-band--sand {
	background: var(--aj-sand);
}

.aj-band--dark {
	background: var(--aj-surface);
	color: var(--aj-on-dark);
}

.aj-band--dark .aj-shead {
	border-bottom: 1px solid var(--aj-line-dark);
}

body.aj-theme .aj-band--dark .aj-shead__title {
	font-size: 48px;
	color: var(--aj-on-dark);
}

body.aj-theme .aj-band--dark .aj-shead__more {
	color: var(--aj-peach);
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.aj-theme .aj-band--dark a {
	color: var(--aj-on-dark);
}

body.aj-theme .aj-band--dark a:hover {
	color: var(--aj-peach);
}

.aj-band--dark .aj-kicker {
	color: var(--aj-peach) !important;
}

.aj-band--dark .aj-card__excerpt {
	color: var(--aj-on-dark-muted);
}

.aj-band--dark .aj-ph {
	background-color: #24332A;
}

/* ---------- Felső sáv ---------- */

.aj-topbar {
	background: var(--aj-surface);
	color: #E7E4DC;
	font-size: 13px;
}

.aj-topbar__in {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
	flex-wrap: wrap;
	min-height: 40px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.aj-topbar__links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: center;
}

body.aj-theme .aj-topbar a {
	color: #E7E4DC;
}

body.aj-theme .aj-topbar a:hover {
	color: #fff;
}

body.aj-theme .aj-topbar a.aj-topbar__shop {
	color: var(--aj-peach);
	font-weight: 600;
}

/* ---------- Fejléc ---------- */

.aj-header {
	background: var(--aj-bg);
}

.aj-logo {
	font-family: var(--aj-serif);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1;
	white-space: nowrap;
}

body.aj-theme a.aj-logo {
	color: var(--aj-ink);
}

.aj-logo em {
	font-style: italic;
	font-weight: 400;
	color: var(--aj-accent);
}

.aj-logo--image img {
	display: block;
	max-height: 96px;
	width: auto;
}

.aj-header--big .aj-header__in {
	padding-top: 36px;
	padding-bottom: 20px;
	text-align: center;
}

.aj-header__kicker {
	font-size: 12px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--aj-muted);
}

body.aj-theme .aj-header__title {
	margin: 10px 0 0;
	font-size: 88px;
	line-height: 1;
	font-weight: 700;
}

.aj-header--big .aj-logo--image img {
	margin: 0 auto;
}

.aj-header__tagline {
	margin: 12px auto 0;
	max-width: 620px;
	font-family: var(--aj-serif);
	font-style: italic;
	font-size: 19px;
	color: var(--aj-body);
}

.aj-header--compact .aj-header__in {
	padding-top: 18px;
	padding-bottom: 14px;
}

.aj-header--compact .aj-logo {
	font-size: 40px;
}

.aj-header--compact .aj-logo--image img {
	max-height: 56px;
}

/* Rovatmenü */
.aj-nav__in {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.aj-nav {
	background: var(--aj-bg);
}

.aj-header--big .aj-nav__in,
.aj-header--compact .aj-nav__in {
	border-top: 2px solid var(--aj-ink);
	border-bottom: 1px solid var(--aj-ink);
}

.aj-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aj-nav__list li {
	margin: 0;
}

body.aj-theme .aj-nav__list a {
	display: block;
	padding: 14px 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--aj-ink);
}

body.aj-theme .aj-nav__list .current-menu-item > a,
body.aj-theme .aj-nav__list .current-post-ancestor > a,
body.aj-theme .aj-nav__list .current-menu-parent > a,
body.aj-theme .aj-nav__list a:hover {
	color: var(--aj-accent);
}

.aj-nav__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 4px;
	background: none;
	border: 0;
	color: var(--aj-ink);
	font-family: var(--aj-sans);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}

.aj-nav__toggle:hover,
.aj-nav__toggle:focus {
	background: none;
	color: var(--aj-accent);
}

.aj-nav__icon {
	display: inline-flex;
}

.aj-nav__icon--close,
.aj-nav.is-open .aj-nav__icon--open {
	display: none;
}

.aj-nav.is-open .aj-nav__icon--close {
	display: inline-flex;
}

.aj-nav__search {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin-left: 12px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--aj-ink);
	cursor: pointer;
}

.aj-nav__search:hover {
	background: none;
	color: var(--aj-accent);
}

.aj-search {
	background: var(--aj-sand);
	border-bottom: 1px solid var(--aj-line);
}

.aj-search__form {
	display: flex;
	gap: 10px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.aj-search__form input[type="search"] {
	flex: 1 1 auto;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--aj-ink);
	background: var(--aj-field);
	font-family: var(--aj-sans);
	font-size: 16px;
	color: var(--aj-ink);
}

.aj-search__form--inline {
	max-width: 640px;
	padding: 0;
	margin-top: 20px;
}

/* Friss sáv */
.aj-ticker {
	display: flex;
	gap: 16px;
	align-items: center;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 14px;
	overflow: hidden;
}

.aj-ticker__label {
	flex: none;
	background: var(--aj-accent);
	color: #fff;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .14em;
	padding: 5px 10px;
	text-transform: uppercase;
}

.aj-ticker__items {
	display: flex;
	gap: 16px;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aj-ticker__sep {
	color: #9AA49C;
}

/* ---------- Címlapsztori ---------- */

.aj-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 40px;
	padding-top: 16px;
	padding-bottom: 56px;
}

.aj-hero__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	margin-bottom: 22px;
}

body.aj-theme .aj-hero__title {
	margin: 10px 0 0;
	font-size: 52px;
	line-height: 1.05;
	letter-spacing: -.015em;
}

.aj-hero__excerpt {
	margin: 16px 0 14px;
	max-width: 760px;
	font-family: var(--aj-serif);
	font-size: 21px;
	line-height: 1.5;
	color: var(--aj-body);
}

.aj-hero__side {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Hirdetés */
body.aj-theme a.aj-ad {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 26px;
	background: var(--aj-accent);
	color: #fff;
}

body.aj-theme a.aj-ad:hover {
	color: #fff;
	filter: brightness(1.06);
}

.aj-ad__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.aj-ad__badge {
	background: #fff;
	color: var(--aj-accent);
	padding: 4px 8px;
}

.aj-ad__big {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.1;
}

.aj-ad__big b {
	font-weight: 700;
	font-size: 64px;
	line-height: .9;
}

.aj-ad__text {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.15;
}

.aj-ad__btn {
	align-self: flex-start;
	margin-top: 6px;
	background: var(--aj-surface);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 18px;
}

/* Népszerű most */
.aj-popular {
	background: var(--aj-surface);
	color: var(--aj-on-dark);
	padding: 24px 22px 10px;
	border-top: 5px solid var(--aj-accent);
}

.aj-popular__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

body.aj-theme .aj-popular__head h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1;
	color: var(--aj-on-dark);
}

.aj-popular__head span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--aj-peach);
}

.aj-popular__list {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.aj-popular__list li {
	margin: 0;
	border-top: 1px solid var(--aj-line-dark);
}

body.aj-theme .aj-popular__list a {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px 0;
	color: var(--aj-on-dark);
}

body.aj-theme .aj-popular__list a:hover {
	color: var(--aj-peach);
}

.aj-popular__img {
	position: relative;
	display: block;
	width: 96px;
	height: 72px;
	overflow: hidden;
}

.aj-popular__num {
	position: absolute;
	left: 0;
	top: 0;
	min-width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--aj-accent);
	color: #fff;
	font-family: var(--aj-serif);
	font-weight: 700;
	font-size: 18px;
}

.aj-popular__title {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
}

/* ---------- Kiemelt 2–3 ---------- */

.aj-feats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding-bottom: 56px;
}

body.aj-theme a.aj-feat {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--aj-surface);
	color: #fff;
}

.aj-feat > .aj-img {
	position: absolute;
	inset: 0;
	transition: transform .4s ease;
}

.aj-feat:hover > .aj-img {
	transform: scale(1.04);
}

.aj-feat__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 25, 18, 0) 12%, rgba(15, 25, 18, .62) 45%, rgba(15, 25, 18, .95) 100%);
}

.aj-feat__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aj-feat__title {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 36px;
	line-height: 1.08;
	color: #fff;
}

.aj-feat__excerpt {
	max-width: 520px;
	font-family: var(--aj-serif);
	font-size: 18px;
	line-height: 1.45;
	color: #E4E7E1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.aj-feat__time {
	font-size: 13px;
	color: #C9CFC4;
}

/* Képre írt kártyák változatai */
.aj-feat--contain::before {
	content: '';
	position: absolute;
	inset: -24px;
	background: var(--aj-feat-bg, none) center / cover no-repeat;
	filter: blur(20px) brightness(.5) saturate(1.1);
}

.aj-feat--contain > .aj-img {
	object-fit: contain;
}

.aj-feat--contain:hover > .aj-img {
	transform: none;
}

body.aj-theme a.aj-feat--lead {
	aspect-ratio: 16 / 10;
}

.aj-feat--lead .aj-feat__body,
.aj-feat--wide .aj-feat__body {
	padding: 36px 40px;
	gap: 12px;
}

.aj-feat--lead .aj-feat__title,
.aj-feat--wide .aj-feat__title {
	margin: 0;
	font-size: 44px;
	line-height: 1.06;
	letter-spacing: -.015em;
}

.aj-feat--lead .aj-feat__excerpt,
.aj-feat--wide .aj-feat__excerpt {
	max-width: 720px;
	font-size: 19px;
}

body.aj-theme a.aj-feat--wide {
	aspect-ratio: 21 / 9;
	margin-bottom: 40px;
}

body.aj-theme a.aj-feat--col {
	aspect-ratio: 3 / 2;
}

.aj-feat--col .aj-feat__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.12;
}

.aj-feat .aj-feat__title {
	font-family: var(--aj-serif);
	font-weight: 600;
	color: #fff;
}

.aj-hunt-grid {
	row-gap: 44px;
}

/* Partner logó a Vadászat sáv tetején */
.aj-partner {
	margin-bottom: 36px;
	text-align: center;
}

.aj-partner a {
	display: inline-block;
	transition: opacity .15s ease;
}

.aj-partner a:hover {
	opacity: .8;
}

.aj-partner img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: 144px;
	object-fit: contain;
}

/* Alsó három hasáb: soros elrendezés, egyforma magas cikkek */
.aj-trio-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: auto;
	grid-auto-rows: 1fr;
	column-gap: 32px;
	row-gap: 0;
}

.aj-trio-grid > * {
	grid-column: var(--c);
	grid-row: var(--r);
}

.aj-trio__item {
	display: flex;
	flex-direction: column;
	padding: 24px 0 28px;
	border-bottom: 1px solid var(--aj-line);
}

.aj-trio__item .aj-trio__media {
	margin-top: 0;
}

.aj-trio__item .aj-meta {
	margin-top: auto;
	padding-top: 12px;
}

body.aj-theme .aj-trio__item .aj-trio__title {
	font-size: 22px;
	line-height: 1.2;
}

/* ---------- Kártyák ---------- */

.aj-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aj-card__media {
	display: block;
	overflow: hidden;
}

.aj-card__media .aj-img {
	transition: transform .4s ease;
}

.aj-card:hover .aj-card__media .aj-img {
	transform: scale(1.03);
}

.aj-card .aj-kicker {
	font-size: 11px;
}

body.aj-theme .aj-card__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
}

.aj-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--aj-body);
}

/* Sor-kártya */
.aj-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-row:last-child {
	border-bottom: 0;
}

.aj-row__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

body.aj-theme .aj-row__title {
	margin: 6px 0 0;
	font-size: 22px;
	line-height: 1.2;
}

/* Listaelem (Természetvédelem) */
.aj-list-item {
	padding: 22px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-list-item:first-of-type {
	padding-top: 0;
}

.aj-list-item:last-child {
	border-bottom: 0;
}

.aj-list-item__media {
	display: block;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	margin-bottom: 16px;
}

body.aj-theme .aj-list-item__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
}

body.aj-theme .aj-list-item--lead .aj-list-item__title {
	font-size: 28px;
	line-height: 1.15;
}

.aj-list-item__excerpt {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--aj-body);
}

.aj-grid--wide .aj-row:first-of-type {
	padding-top: 0;
}

/* Teszt & Fegyvermester */
.aj-tests .aj-grid {
	margin-top: 20px;
}

.aj-test {
	display: grid;
	gap: 16px;
}

.aj-test__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

body.aj-theme .aj-test__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.1;
}

.aj-test__excerpt {
	margin: 0;
	font-family: var(--aj-serif);
	font-size: 18px;
	line-height: 1.5;
	color: var(--aj-body);
}

/* Horgászat / Agrogasztro / Emberek */
body.aj-theme a.aj-trio__label {
	display: block;
	padding-top: 12px;
	border-top: 3px solid var(--aj-cat);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--aj-cat);
}

.aj-trio__media {
	display: block;
	margin-top: 16px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

body.aj-theme .aj-trio__title {
	margin: 16px 0 0;
	font-size: 26px;
	line-height: 1.15;
}

.aj-trio__excerpt {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--aj-body);
}

.aj-trio__more {
	margin: 16px 0 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

/* Hubert */
.aj-hubert {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
	align-items: center;
	padding: 40px;
	background: var(--aj-yellow);
	color: #16241B;
}

body.aj-theme .aj-hubert a:not(.aj-btn) {
	color: #16241B;
}

body.aj-theme .aj-hubert__title {
	margin: 10px 0 0;
	font-size: 40px;
	line-height: 1.05;
}

.aj-hubert__text {
	margin: 12px 0 20px;
	font-size: 16px;
	line-height: 1.5;
}

.aj-hubert__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

/* ---------- Shop kártyák ---------- */

.aj-pcard {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 16px 18px;
	background: var(--aj-card);
	border: 1px solid var(--aj-card-line);
	box-shadow: 0 1px 2px rgba(22, 36, 27, .06), 0 8px 24px rgba(22, 36, 27, .08);
	transition: transform .15s ease, box-shadow .15s ease;
}

.aj-pcard:hover {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(22, 36, 27, .08), 0 14px 32px rgba(22, 36, 27, .14);
}

.aj-pcard__media {
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: 6px;
	background: #fff;
}

.aj-pcard__media .aj-img,
.aj-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.aj-pcard__cat {
	font-size: 12px;
	color: var(--aj-muted);
}

body.aj-theme a.aj-pcard__title {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
}

.aj-pcard__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--aj-sand);
}

.aj-pcard__price {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 22px;
}

.aj-pcard__price del {
	font-size: 15px;
	color: var(--aj-muted);
}

.aj-pcard__price ins {
	text-decoration: none;
}

.aj-pcard .added_to_cart {
	font-size: 13px;
	font-weight: 600;
}

/* ---------- Cikkoldal ---------- */

.aj-article__head {
	padding-top: 48px;
}

.aj-crumbs {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 13px;
	color: var(--aj-muted);
}

body.aj-theme .aj-crumbs a {
	color: var(--aj-muted);
}

body.aj-theme .aj-crumbs a.aj-crumbs__cat {
	color: var(--aj-cat, var(--aj-accent));
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

body.aj-theme .aj-article__title {
	max-width: 980px;
	margin: 18px 0 0;
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -.02em;
}

.aj-article__lead {
	max-width: 820px;
	margin: 22px 0 0;
	font-family: var(--aj-serif);
	font-style: italic;
	font-size: 24px;
	line-height: 1.45;
	color: var(--aj-body);
}

.aj-byline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 28px;
	padding: 18px 0;
	border-top: 1px solid var(--aj-ink);
	border-bottom: 1px solid var(--aj-line);
}

.aj-byline__who {
	display: flex;
	align-items: center;
	gap: 14px;
}

.aj-byline__avatar {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--aj-surface);
	color: #F3F1EC;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 17px;
}

body.aj-theme .aj-byline__name {
	display: block;
	font-weight: 600;
	font-size: 15px;
}

.aj-byline__share {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.aj-article__hero {
	margin-top: 32px;
	margin-bottom: 0;
}

.aj-article__hero .aj-img {
	aspect-ratio: 21 / 10;
	height: auto;
}

.aj-article__hero figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--aj-muted);
}

.aj-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 64px;
	padding-top: 48px;
	padding-bottom: 64px;
}

.aj-article__main {
	min-width: 0;
	max-width: 720px;
}

.aj-article__side {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Cikk szövege */
.aj-prose {
	font-family: var(--aj-serif);
	font-size: 21px;
	line-height: 1.65;
	color: var(--aj-ink);
	overflow-wrap: break-word;
}

.aj-prose > * {
	margin-top: 0;
	margin-bottom: 22px;
}

.aj-prose > p:first-of-type::first-letter {
	float: left;
	margin: 6px 12px 0 0;
	font-size: 88px;
	line-height: .82;
	font-weight: 700;
	color: var(--aj-accent);
}

.aj-prose > p:first-of-type {
	font-weight: 600;
}

body.aj-theme .aj-prose h2 {
	margin: 40px 0 16px;
	font-size: 32px;
	line-height: 1.15;
}

body.aj-theme .aj-prose h3 {
	margin: 32px 0 12px;
	font-size: 26px;
	line-height: 1.2;
}

body.aj-theme .aj-prose a {
	color: var(--aj-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.aj-theme .aj-prose a:hover {
	color: var(--aj-ink);
}

.aj-prose ul,
.aj-prose ol {
	padding-left: 1.3em;
}

.aj-prose li {
	margin-bottom: 8px;
}

.aj-prose blockquote,
.aj-prose .wp-block-quote,
.aj-prose .wp-block-pullquote {
	margin: 32px 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--aj-accent);
	font-style: italic;
	font-size: 24px;
	line-height: 1.45;
	color: var(--aj-ink);
	background: none;
}

.aj-prose blockquote p:last-child {
	margin-bottom: 0;
}

.aj-prose cite {
	display: block;
	margin-top: 8px;
	font-family: var(--aj-sans);
	font-style: normal;
	font-size: 14px;
	color: var(--aj-muted);
}

.aj-prose img,
.aj-prose video,
.aj-prose iframe {
	max-width: 100%;
	height: auto;
}

.aj-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.aj-prose figcaption,
.aj-prose .wp-caption-text,
.aj-prose .wp-element-caption {
	margin-top: 8px;
	font-family: var(--aj-sans);
	font-size: 13px;
	line-height: 1.45;
	color: var(--aj-muted);
	text-align: left;
}

.aj-prose .wp-caption {
	max-width: 100%;
}

.aj-prose table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--aj-sans);
	font-size: 15px;
}

.aj-prose th,
.aj-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--aj-line);
	text-align: left;
}

.aj-prose hr {
	border: 0;
	border-top: 1px solid var(--aj-line);
	margin: 36px 0;
}

/* „Röviden” tényblokk: a szerkesztőben egy Csoport blokkra tett „aj-roviden” CSS osztállyal. */
.aj-prose .aj-roviden {
	margin: 36px 0;
	padding: 26px 28px;
	background: var(--aj-surface);
	color: var(--aj-on-dark);
	font-family: var(--aj-sans);
	font-size: 16px;
	line-height: 1.5;
}

.aj-prose .aj-roviden > p:first-child,
.aj-prose .aj-roviden > .wp-block-group__inner-container > p:first-child {
	margin-top: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--aj-peach);
	font-family: var(--aj-sans);
}

.aj-prose .aj-roviden p {
	margin: 0 0 10px;
}

.aj-prose .aj-roviden > :last-child,
.aj-prose .aj-roviden > .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}

.aj-prose .aj-roviden p::first-letter {
	float: none;
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.aj-prose .aj-roviden > :last-child {
	margin-bottom: 0;
}

body.aj-theme .aj-prose .aj-roviden a {
	color: var(--aj-peach);
}

/* Galériák (blokk és régi [gallery] rövidkód) */
.aj-prose .wp-block-gallery,
.aj-prose .gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px !important;
	margin: 28px 0;
}

.aj-prose .wp-block-gallery.columns-2,
.aj-prose .gallery-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aj-prose .wp-block-gallery.columns-3,
.aj-prose .gallery-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aj-prose .wp-block-gallery > figure,
.aj-prose .gallery .gallery-item {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.aj-prose .wp-block-gallery > figure img,
.aj-prose .gallery .gallery-item img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	border: 0 !important;
	transition: transform .3s ease;
}

.aj-prose .wp-block-gallery > figure:hover img,
.aj-prose .gallery .gallery-item:hover img {
	transform: scale(1.04);
}

.aj-prose .wp-block-gallery > figure:first-child,
.aj-prose .gallery .gallery-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.aj-prose .gallery br {
	display: none;
}

.aj-prose .gallery .gallery-caption,
.aj-prose .wp-block-gallery figcaption {
	display: none;
}

/* Címkék */
.aj-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

body.aj-theme .aj-tags a {
	display: inline-block;
	padding: 8px 12px;
	background: var(--aj-sand);
	font-size: 13px;
	font-weight: 600;
}

body.aj-theme .aj-tags a:hover {
	background: var(--aj-surface);
	color: #fff;
}

/* Olvasói felhívás */
.aj-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	margin-top: 40px;
	padding: 28px;
	border: 1.5px solid var(--aj-ink);
}

.aj-cta__title {
	margin: 0;
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 26px;
	line-height: 1.15;
}

.aj-cta__text {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--aj-body);
}

.aj-comments {
	margin-top: 48px;
}

/* Ne hagyja ki */
body.aj-theme a.aj-dontmiss__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.aj-dontmiss__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.aj-dontmiss .aj-kicker {
	font-size: 11px;
}

.aj-dontmiss__title {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.2;
}

/* ---------- Rovatoldal ---------- */

.aj-archive__head {
	padding-top: 48px;
	padding-bottom: 32px;
}

body.aj-theme .aj-archive__title {
	margin: 10px 0 0;
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -.02em;
}

.aj-archive__desc {
	max-width: 760px;
	margin-top: 14px;
	font-family: var(--aj-serif);
	font-size: 20px;
	line-height: 1.5;
	color: var(--aj-body);
}

.aj-archive__body {
	padding-top: 32px;
	padding-bottom: 64px;
	border-top: 2px solid var(--aj-ink);
}

.aj-archive__lead {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 40px;
	align-items: center;
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--aj-line);
}

.aj-archive__lead-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.aj-archive__lead-body .aj-kicker {
	margin-bottom: 10px;
}

body.aj-theme .aj-archive__lead-title {
	margin: 0;
	font-size: 40px;
	line-height: 1.08;
}

.aj-archive__grid {
	row-gap: 48px;
}

.aj-pagination {
	margin-top: 56px;
}

.aj-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.aj-theme .aj-pagination a,
.aj-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--aj-ink);
	font-weight: 600;
	font-size: 15px;
}

.aj-pagination .current {
	background: var(--aj-surface);
	color: #fff;
}

body.aj-theme .aj-pagination a:hover {
	background: var(--aj-surface);
	color: #fff;
}

.aj-pagination .dots {
	border-color: transparent;
}

/* Végtelen görgetés */
.aj-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	margin-top: 48px;
}

.aj-more[hidden],
.aj-more__btn[hidden],
.aj-pagination[hidden] {
	display: none;
}

.aj-more__status {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--aj-muted);
}

.aj-more.is-loading .aj-more__status::before {
	content: '';
	width: 22px;
	height: 22px;
	border: 2px solid var(--aj-line);
	border-top-color: var(--aj-accent);
	border-radius: 50%;
	animation: aj-spin .8s linear infinite;
}

.aj-more.is-end .aj-more__status {
	padding-top: 20px;
	border-top: 1px solid var(--aj-line);
}

@keyframes aj-spin {
	to {
		transform: rotate(360deg);
	}
}

.aj-empty p {
	font-family: var(--aj-serif);
	font-size: 22px;
}

/* ---------- Agrofeed (összes cikk, rovat-tabokkal) ---------- */

.aj-feed-page__head {
	padding-bottom: 24px;
}

.aj-feed-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 64px;
	padding-bottom: 64px;
}

.aj-feed {
	min-width: 0;
}

.aj-feed__tabs {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 0;
	background: var(--aj-bg);
	border-top: 2px solid var(--aj-ink);
	border-bottom: 1px solid var(--aj-ink);
}

.aj-feed__tabs::-webkit-scrollbar {
	display: none;
}

body.admin-bar .aj-feed__tabs {
	top: 32px;
}

body.aj-theme a.aj-feed__tab {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1.5px solid var(--aj-line);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--aj-ink);
	background: transparent;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body.aj-theme a.aj-feed__tab:hover {
	border-color: var(--aj-cat, var(--aj-accent));
	color: var(--aj-cat, var(--aj-accent));
}

body.aj-theme a.aj-feed__tab[aria-current="page"] {
	background: var(--aj-cat, var(--aj-accent));
	border-color: var(--aj-cat, var(--aj-accent));
	color: #fff;
}

.aj-feed__results {
	transition: opacity .2s ease;
}

.aj-feed__results.is-loading {
	opacity: .4;
	pointer-events: none;
}

.aj-feed__item {
	padding: 24px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-feed__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	font-size: 13px;
	color: var(--aj-muted);
}

.aj-feed__meta time {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--aj-ink);
}

.aj-feed__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}

body.aj-theme a.aj-feed__cat {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--aj-cat, var(--aj-accent));
}

body.aj-theme a.aj-feed__cat:hover {
	color: var(--aj-ink);
}

body.aj-theme .aj-feed__title {
	margin: 8px 0 0;
	font-size: 25px;
	line-height: 1.18;
}

.aj-feed__excerpt {
	margin: 8px 0 0;
	max-width: 760px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--aj-body);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.aj-feed__empty {
	padding: 40px 0;
	font-family: var(--aj-serif);
	font-size: 22px;
}

.aj-feed .aj-pagination {
	margin-top: 40px;
}

/* ---------- Lábléc ---------- */

.aj-footer {
	background: var(--aj-darker);
	color: #C9CEC6;
	padding: 56px 0 32px;
	border-top: 3px solid var(--aj-accent);
	font-size: 14px;
}

.aj-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
}

.aj-logo--footer,
body.aj-theme a.aj-logo--footer {
	font-size: 34px;
	color: #F3F1EC;
}

.aj-logo--footer em {
	color: var(--aj-peach);
}

.aj-footer__about p {
	margin: 14px 0 0;
	line-height: 1.6;
}

.aj-footer__head {
	display: block;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #F3F1EC;
}

.aj-footer__list,
.aj-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aj-footer__list li {
	margin: 0 0 10px;
}

body.aj-theme .aj-footer a {
	color: #C9CEC6;
}

body.aj-theme .aj-footer a:hover {
	color: #fff;
}

.aj-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid #2A362D;
	font-size: 13px;
}

.aj-footer__legal {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

/* ---------- GeneratePress oldalak (Impresszum, ÁSZF, Shop) ---------- */

body.aj-theme:not(.aj-full) .site.grid-container {
	max-width: var(--aj-wrap);
	padding-top: 40px;
	padding-bottom: 64px;
	background: transparent;
}

body.aj-theme:not(.aj-full) .inside-article,
body.aj-theme:not(.aj-full) .woocommerce-archive-wrapper,
body.aj-theme:not(.aj-full) .site-main > .page-header {
	background: transparent;
	padding-left: var(--aj-gutter);
	padding-right: var(--aj-gutter);
}

body.aj-theme:not(.aj-full) .entry-title,
body.aj-theme:not(.aj-full) .page-title,
body.aj-theme.woocommerce-page h1.product_title {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 48px;
	line-height: 1.05;
	letter-spacing: -.015em;
}

body.aj-theme:not(.aj-full) .entry-content {
	font-size: 17px;
	line-height: 1.65;
}

/* WooCommerce termékrács a shop oldalon: ugyanaz a kártyastílus */
body.aj-theme.woocommerce ul.products li.product,
body.aj-theme.woocommerce-page ul.products li.product {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 18px;
	background: var(--aj-card);
	border: 1px solid var(--aj-card-line);
	box-shadow: 0 1px 2px rgba(22, 36, 27, .06), 0 8px 24px rgba(22, 36, 27, .08);
	text-align: left;
	transition: transform .15s ease, box-shadow .15s ease;
}

body.aj-theme.woocommerce ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(22, 36, 27, .08), 0 14px 32px rgba(22, 36, 27, .14);
}

body.aj-theme.woocommerce ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}

body.aj-theme.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--aj-sans);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	color: var(--aj-ink);
}

body.aj-theme.woocommerce ul.products li.product .price {
	margin-top: auto;
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 22px;
	color: var(--aj-ink);
}

body.aj-theme.woocommerce a.button,
body.aj-theme.woocommerce button.button,
body.aj-theme.woocommerce input.button,
body.aj-theme.woocommerce #respond input#submit,
body.aj-theme.woocommerce .button.alt {
	border-radius: 0;
	background: var(--aj-surface);
	color: #fff;
	font-family: var(--aj-sans);
	font-weight: 700;
}

body.aj-theme.woocommerce a.button:hover,
body.aj-theme.woocommerce button.button:hover,
body.aj-theme.woocommerce .button.alt:hover {
	background: var(--aj-accent);
	color: #fff;
}

body.aj-theme.woocommerce span.onsale {
	background: var(--aj-accent);
	border-radius: 0;
}

/* ---------- Képernyőolvasó-szöveg ---------- */

.screen-reader-text:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto !important;
	clip-path: none;
	padding: 12px 16px;
	background: #fff;
	color: var(--aj-ink);
	font-weight: 700;
}

/* ==========================================================================
   Reszponzív
   ========================================================================== */

@media (max-width: 1100px) {
	body.aj-theme .aj-header__title {
		font-size: 72px;
	}

	.aj-article__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 40px;
	}
}

@media (max-width: 980px) {
	.aj-hero,
	.aj-feats,
	.aj-grid--2,
	.aj-article__layout,
	.aj-archive__lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.aj-grid--3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.aj-trio-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
	}

	.aj-trio-grid > * {
		grid-column: auto;
		grid-row: auto;
	}

	.aj-trio-grid > .aj-trio__label:not(:first-child) {
		margin-top: 32px;
	}

	.aj-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 36px;
	}

	.aj-archive__grid.aj-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
	}

	.aj-article__main {
		max-width: none;
	}

	.aj-feed-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.aj-hero__side {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		align-items: start;
	}

	body.aj-theme .aj-article__title,
	body.aj-theme .aj-archive__title {
		font-size: 48px;
	}
}

@media (max-width: 700px) {
	:root {
		--aj-gutter: 16px;
	}

	.aj-header--compact .aj-header__in {
		text-align: center;
	}

	body.aj-theme .aj-header__title {
		font-size: 48px;
	}

	.aj-header--compact .aj-logo {
		font-size: 34px;
	}

	.aj-header__tagline {
		font-size: 16px;
	}

	/* Hamburger menü */
	.aj-nav__in {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 0;
	}

	.aj-nav__toggle {
		display: inline-flex;
	}

	.aj-nav__list {
		display: none;
		order: 3;
		flex: 0 0 100%;
		flex-direction: column;
		gap: 0;
		padding: 4px 0 12px;
		border-top: 1px solid var(--aj-line);
	}

	.aj-nav.is-open .aj-nav__list {
		display: flex;
	}

	.aj-nav__list li {
		border-bottom: 1px solid var(--aj-line);
	}

	.aj-nav__list li:last-child {
		border-bottom: 0;
	}

	body.aj-theme .aj-nav__list a {
		padding: 14px 4px;
		font-size: 15px;
	}

	.aj-nav__search {
		margin-left: 0;
	}

	.aj-ticker__items a:not(:first-child),
	.aj-ticker__sep {
		display: none;
	}

	.aj-ticker__items {
		display: block;
	}

	body.aj-theme .aj-hero__title {
		font-size: 34px;
	}

	.aj-hero__excerpt {
		font-size: 18px;
	}

	body.aj-theme a.aj-feat {
		aspect-ratio: 4 / 5;
	}

	.aj-feat__body {
		padding: 22px;
	}

	.aj-feat__title {
		font-size: 28px;
	}

	body.aj-theme a.aj-feat--lead,
	body.aj-theme a.aj-feat--wide {
		aspect-ratio: 4 / 5;
	}

	.aj-feat--lead .aj-feat__body,
	.aj-feat--wide .aj-feat__body {
		padding: 22px;
	}

	.aj-feat--lead .aj-feat__title,
	.aj-feat--wide .aj-feat__title {
		font-size: 30px;
	}

	.aj-feat--lead .aj-feat__excerpt,
	.aj-feat--wide .aj-feat__excerpt {
		font-size: 16px;
	}

	.aj-partner img {
		height: 104px;
	}

	.aj-feat__excerpt {
		font-size: 16px;
	}

	.aj-grid--4,
	.aj-archive__grid.aj-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	body.aj-theme .aj-shead__title,
	body.aj-theme .aj-band--dark .aj-shead__title {
		font-size: 34px;
	}

	.aj-band,
	.aj-section {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.aj-row {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 14px;
	}

	body.aj-theme .aj-row__title,
	body.aj-theme .aj-list-item__title {
		font-size: 19px;
	}

	body.aj-theme .aj-test__title {
		font-size: 26px;
	}

	.aj-hubert {
		padding: 24px;
	}

	body.aj-theme .aj-hubert__title {
		font-size: 30px;
	}

	body.aj-theme .aj-article__title,
	body.aj-theme .aj-archive__title {
		font-size: 36px;
	}

	.aj-article__lead {
		font-size: 19px;
	}

	.aj-article__hero.aj-wrap {
		padding-left: 0;
		padding-right: 0;
	}

	.aj-article__hero figcaption {
		padding: 0 var(--aj-gutter);
	}

	.aj-article__hero .aj-img {
		aspect-ratio: 4 / 3;
	}

	.aj-prose {
		font-size: 19px;
	}

	.aj-prose > p:first-of-type::first-letter {
		font-size: 68px;
	}

	.aj-prose .wp-block-gallery,
	.aj-prose .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.aj-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	body.aj-theme .aj-archive__lead-title {
		font-size: 30px;
	}

	body.aj-theme .aj-feed__title {
		font-size: 21px;
	}

	/* Mobilon a több sorba tördelt tabsor ne tapadjon fel, mert túl sok helyet foglalna. */
	.aj-feed__tabs {
		position: static;
		gap: 6px;
	}

	body.aj-theme a.aj-feed__tab {
		min-height: 38px;
		padding: 0 10px;
		font-size: 12px;
		letter-spacing: .06em;
	}

	body.aj-theme:not(.aj-full) .entry-title,
	body.aj-theme:not(.aj-full) .page-title {
		font-size: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aj-img,
	.aj-pcard,
	.aj-feat > .aj-img {
		transition: none !important;
	}
}

/* ==========================================================================
   Nyomtatás (Nyomtatás gomb, Ctrl+P, Mentés PDF-ként)
   ========================================================================== */

.aj-print {
	gap: 8px;
}

.aj-print svg {
	width: 18px;
	height: 18px;
}

.aj-print-source {
	display: none;
}

@media print {
	@page {
		size: A4;
		margin: 16mm 16mm 18mm;
	}

	html,
	body.aj-theme {
		background: #fff !important;
		color: #000 !important;
		font-size: 10.5pt;
	}

	/* Amire papíron nincs szükség */
	.aj-topbar,
	.aj-nav,
	.aj-header__kicker,
	.aj-header__tagline,
	.aj-crumbs,
	.aj-byline__share,
	.aj-byline__avatar,
	.aj-article__side,
	.aj-related,
	.aj-tags,
	.aj-cta,
	.aj-comments,
	.aj-pages,
	.aj-footer,
	.skip-link,
	#wpadminbar,
	.aj-prose iframe,
	.aj-prose video,
	.aj-prose .wp-block-embed,
	.aj-prose .sharedaddy,
	.aj-prose .printfriendly,
	.aj-prose .pf-button {
		display: none !important;
	}

	.aj-wrap {
		max-width: none !important;
		padding: 0 !important;
	}

	/* Fejléc: csak a logó, alatta vékony vonal */
	.aj-header,
	.aj-nav {
		background: none !important;
	}

	.aj-header__in {
		padding: 0 0 4mm !important;
		margin-bottom: 6mm;
		border-bottom: 1.5pt solid #000;
		text-align: left !important;
	}

	.aj-header .aj-logo,
	body.aj-theme .aj-header a.aj-logo {
		font-size: 18pt !important;
		color: #000 !important;
	}

	.aj-logo--image img {
		max-height: 14mm !important;
	}

	/* Cikkfej */
	.aj-article__head {
		padding: 0 !important;
	}

	body.aj-theme .aj-article__title {
		max-width: none;
		margin: 0 !important;
		font-size: 24pt !important;
		line-height: 1.12 !important;
		color: #000;
	}

	.aj-article__lead {
		margin: 4mm 0 0 !important;
		font-size: 12.5pt !important;
		color: #222 !important;
	}

	.aj-byline {
		margin-top: 4mm !important;
		padding: 2.5mm 0 !important;
		border-color: #999 !important;
	}

	body.aj-theme .aj-byline__name,
	.aj-byline .aj-meta {
		color: #333 !important;
		font-size: 9.5pt !important;
	}

	/* Fő kép */
	.aj-article__hero {
		margin: 5mm 0 0 !important;
		padding: 0 !important;
		break-inside: avoid;
	}

	.aj-article__hero .aj-img {
		aspect-ratio: auto !important;
		max-height: 95mm;
		width: 100% !important;
		object-fit: cover;
	}

	.aj-article__hero figcaption {
		padding: 0 !important;
		font-size: 8.5pt !important;
		color: #555 !important;
	}

	/* Szöveg egy hasábban, teljes szélességben */
	.aj-article__layout {
		display: block !important;
		padding: 6mm 0 0 !important;
	}

	.aj-article__main {
		max-width: none !important;
	}

	.aj-prose {
		font-size: 11.5pt !important;
		line-height: 1.55 !important;
		color: #000 !important;
		orphans: 3;
		widows: 3;
	}

	.aj-prose > * {
		margin-bottom: 3.5mm !important;
	}

	.aj-prose > p:first-of-type::first-letter {
		font-size: 34pt;
		margin: 1.5mm 2.5mm 0 0;
	}

	body.aj-theme .aj-prose h2,
	body.aj-theme .aj-prose h3 {
		break-after: avoid;
		color: #000;
	}

	body.aj-theme .aj-prose h2 {
		font-size: 15pt !important;
		margin-top: 6mm !important;
	}

	body.aj-theme .aj-prose h3 {
		font-size: 13pt !important;
	}

	.aj-prose figure,
	.aj-prose img,
	.aj-prose blockquote,
	.aj-prose table,
	.aj-prose .aj-roviden {
		break-inside: avoid;
	}

	.aj-prose img {
		max-height: 110mm;
		width: auto;
	}

	/* Linkek: a szövegben a cím is látsszon */
	body.aj-theme .aj-prose a {
		color: #000 !important;
		text-decoration: underline;
	}

	.aj-prose a[href^="http"]:not(:has(img))::after {
		content: " (" attr(href) ")";
		font-family: var(--aj-sans);
		font-size: 8pt;
		color: #555;
		word-break: break-all;
	}

	/* Tényblokk: festékkímélő, keretes */
	.aj-prose .aj-roviden {
		background: none !important;
		color: #000 !important;
		border: 1pt solid #000;
		padding: 4mm 5mm !important;
	}

	.aj-prose .aj-roviden,
	.aj-prose .aj-roviden p {
		color: #000 !important;
	}

	/* Galéria: kisebb, 4 hasábos rács */
	.aj-prose .wp-block-gallery,
	.aj-prose .gallery {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 2mm !important;
	}

	.aj-prose .wp-block-gallery > figure:first-child,
	.aj-prose .gallery .gallery-item:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	.aj-prose .wp-block-gallery > figure img,
	.aj-prose .gallery .gallery-item img {
		max-height: none;
	}

	/* Forrás a cikk végén */
	.aj-print-source {
		display: block;
		margin-top: 6mm;
		padding-top: 3mm;
		border-top: 0.75pt solid #999;
		font-family: var(--aj-sans);
		font-size: 8.5pt;
		color: #444;
		word-break: break-all;
	}

	.aj-img,
	.aj-card__media .aj-img {
		transition: none !important;
		transform: none !important;
	}
}

/* Címlapsztori + második kiemelt cikk egymás alatt */
.aj-hero__lead {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

/* Banner a Népszerű most alatt */
.aj-sidebanner a {
	display: block;
	transition: opacity .15s ease;
}

.aj-sidebanner a:hover {
	opacity: .9;
}

.aj-sidebanner img {
	display: block;
	width: 100%;
	height: auto;
}

@media print {
	.aj-sidebanner {
		display: none !important;
	}
}

/* ---------- Lightbox (galériaképek nagyítása) ---------- */

.aj-zoom {
	cursor: zoom-in;
}

html.aj-lb-open {
	overflow: hidden;
}

.aj-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 72px;
	background: rgba(10, 16, 12, .94);
	color: #fff;
}

.aj-lb[hidden] {
	display: none;
}

.aj-lb__fig {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
}

.aj-lb__img {
	display: block;
	max-width: 100%;
	max-height: calc(100% - 48px);
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	transition: opacity .2s ease;
}

.aj-lb.is-loading .aj-lb__img {
	opacity: .35;
}

.aj-lb__cap {
	max-width: 760px;
	margin-top: 14px;
	font-family: var(--aj-sans);
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
	color: #D9DDD6;
}

.aj-lb__btn,
body.aj-theme .aj-lb__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	cursor: pointer;
	transition: background-color .15s ease;
}

.aj-lb__btn:hover,
.aj-lb__btn:focus-visible,
body.aj-theme .aj-lb__btn:hover {
	background: var(--aj-accent);
	color: #fff;
}

.aj-lb__btn[hidden] {
	display: none;
}

.aj-lb__close {
	top: 14px;
	right: 14px;
}

.aj-lb__prev {
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
}

.aj-lb__next {
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
}

.aj-lb__count {
	position: absolute;
	top: 28px;
	left: 24px;
	font-family: var(--aj-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	color: #D9DDD6;
}

@media (max-width: 700px) {
	.aj-lb {
		padding: 64px 8px 24px;
	}

	.aj-lb__prev,
	.aj-lb__next {
		top: auto;
		bottom: 14px;
		transform: none;
		width: 46px;
		height: 46px;
	}

	.aj-lb__img {
		max-height: calc(100% - 96px);
	}
}

@media print {
	.aj-lb {
		display: none !important;
	}
}

/* ==========================================================================
   Sötét mód (a fejléc váltógombja, ill. a rendszer beállítása alapján)
   ========================================================================== */

html[data-theme="dark"] {
	--aj-ink: #ECE9E1;
	--aj-bg: #111914;
	--aj-sand: #18221B;
	--aj-line: #34433A;
	--aj-line-dark: #34433A;
	--aj-muted: #9EAAA0;
	--aj-body: #C5CDC4;
	--aj-on-dark: #ECE9E1;
	--aj-on-dark-muted: #A9B3A8;
	--aj-green: #94BA6E;
	--aj-teal: #73B5C4;
	--aj-surface: #1B2920;
	--aj-darker: #0B110D;
	--aj-card: #1B2920;
	--aj-card-line: #34433A;
	--aj-field: #0E1511;
	color-scheme: dark;
}

html[data-theme="dark"] body.aj-theme {
	background: var(--aj-bg);
}

/* Sötét gombok sötét háttéren: legyenek láthatók */
html[data-theme="dark"] .aj-btn--dark,
html[data-theme="dark"] body.aj-theme a.aj-btn--dark {
	background: #2B3B31;
	color: #fff;
}

html[data-theme="dark"] .aj-btn--dark:hover,
html[data-theme="dark"] body.aj-theme a.aj-btn--dark:hover {
	background: var(--aj-accent);
}

html[data-theme="dark"] .aj-hubert .aj-btn--dark,
html[data-theme="dark"] body.aj-theme .aj-hubert a.aj-btn--dark {
	background: #16241B;
}

html[data-theme="dark"] .aj-btn--outline:hover,
html[data-theme="dark"] body.aj-theme a.aj-btn--outline:hover,
html[data-theme="dark"] body.aj-theme .aj-pagination a:hover,
html[data-theme="dark"] .aj-pagination .current,
html[data-theme="dark"] body.aj-theme .aj-tags a:hover {
	background: var(--aj-ink);
	color: var(--aj-bg);
}

html[data-theme="dark"] .aj-pcard,
html[data-theme="dark"] body.aj-theme.woocommerce ul.products li.product {
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
}

/* A termékfotók fehér alapon maradnak */
html[data-theme="dark"] .aj-pcard__media {
	background: #fff;
}

html[data-theme="dark"] .aj-feat {
	background: #0B110D;
}

html[data-theme="dark"] .aj-ph {
	background-color: #1F2C24;
}

html[data-theme="dark"] .aj-prose .aj-roviden {
	background: var(--aj-surface);
	border: 1px solid var(--aj-line);
}

html[data-theme="dark"] .aj-feed__tabs,
html[data-theme="dark"] .aj-header,
html[data-theme="dark"] .aj-nav {
	background: var(--aj-bg);
}

html[data-theme="dark"] .aj-topbar {
	background: #0B110D;
}

html[data-theme="dark"] .aj-footer {
	border-top-color: var(--aj-accent);
}

/* GeneratePress oldalak (Impresszum, ÁSZF, Shop) szövegszíne */
html[data-theme="dark"] body.aj-theme:not(.aj-full) .site-content,
html[data-theme="dark"] body.aj-theme:not(.aj-full) .entry-content,
html[data-theme="dark"] body.aj-theme:not(.aj-full) .entry-title,
html[data-theme="dark"] body.aj-theme:not(.aj-full) .page-title {
	color: var(--aj-ink);
}

html[data-theme="dark"] body.aj-theme .entry-content a {
	color: var(--aj-peach);
}

html[data-theme="dark"] body.aj-theme input[type="text"],
html[data-theme="dark"] body.aj-theme input[type="email"],
html[data-theme="dark"] body.aj-theme input[type="search"],
html[data-theme="dark"] body.aj-theme input[type="tel"],
html[data-theme="dark"] body.aj-theme input[type="number"],
html[data-theme="dark"] body.aj-theme textarea,
html[data-theme="dark"] body.aj-theme select {
	background: var(--aj-field);
	color: var(--aj-ink);
	border-color: var(--aj-line);
}

/* Váltógomb a felső sávban */
.aj-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 10px;
	border: 1px solid rgba(231, 228, 220, .35);
	border-radius: 999px;
	background: transparent;
	color: #E7E4DC;
	font-family: var(--aj-sans);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.aj-theme-toggle:hover,
.aj-theme-toggle:focus-visible {
	background: rgba(255, 255, 255, .1);
	border-color: #E7E4DC;
	color: #fff;
}

.aj-theme-toggle svg {
	width: 16px;
	height: 16px;
}

.aj-theme-toggle .aj-theme-toggle__sun,
html[data-theme="dark"] .aj-theme-toggle .aj-theme-toggle__moon {
	display: none;
}

html[data-theme="dark"] .aj-theme-toggle .aj-theme-toggle__sun {
	display: inline-flex;
}

@media (max-width: 700px) {
	.aj-theme-toggle__label {
		display: none;
	}
}

/* Nyomtatásban mindig világos */
@media print {
	html[data-theme="dark"] {
		--aj-ink: #16241B;
		--aj-bg: #fff;
		--aj-line: #999;
		--aj-muted: #555;
		--aj-body: #222;
		--aj-surface: #fff;
	}

	.aj-theme-toggle {
		display: none !important;
	}
}

/* Finom átmenet váltáskor (csak a gomb megnyomása után) */
html.aj-theme-anim,
html.aj-theme-anim * {
	transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
}

/* Hubert sáv: a sárga alapon mindig sötét szöveg */
.aj-hubert .aj-label,
.aj-hubert .aj-hubert__title {
	color: #16241B;
}

/* ---------- Részletes kereső ---------- */

.aj-sp__head {
	padding-bottom: 28px;
}

.aj-sp__form {
	margin-top: 24px;
	max-width: 980px;
}

.aj-sp__main {
	position: relative;
	display: flex;
	gap: 10px;
}

.aj-sp__icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: var(--aj-muted);
	pointer-events: none;
}

body.aj-theme .aj-sp__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 56px;
	padding: 0 16px 0 48px;
	border: 1.5px solid var(--aj-ink);
	border-radius: 0;
	background: var(--aj-field);
	color: var(--aj-ink);
	font-family: var(--aj-sans);
	font-size: 18px;
}

.aj-sp__submit {
	min-height: 56px;
	padding: 0 24px;
}

.aj-sp__filters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.aj-sp__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.aj-sp__field label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--aj-muted);
}

body.aj-theme .aj-sp__field select,
body.aj-theme .aj-sp__field input {
	min-height: 46px;
	width: 100%;
	padding: 0 12px;
	border: 1px solid var(--aj-line);
	border-radius: 0;
	background: var(--aj-field);
	color: var(--aj-ink);
	font-family: var(--aj-sans);
	font-size: 15px;
}

body.aj-theme .aj-sp__field select:focus,
body.aj-theme .aj-sp__field input:focus,
body.aj-theme .aj-sp__input:focus {
	outline: 2px solid var(--aj-accent);
	outline-offset: 0;
	border-color: var(--aj-accent);
}

.aj-sp__results {
	padding-bottom: 64px;
	transition: opacity .2s ease;
}

.aj-sp__results.is-loading {
	opacity: .45;
}

.aj-sp__bar {
	border-top: 2px solid var(--aj-ink);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-sp__count {
	margin: 0;
	font-size: 15px;
	color: var(--aj-body);
}

.aj-sp__count strong {
	font-family: var(--aj-serif);
	font-size: 22px;
	color: var(--aj-ink);
}

.aj-sp__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.aj-theme a.aj-sp__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 0 12px;
	background: var(--aj-sand);
	font-size: 13px;
	font-weight: 600;
}

body.aj-theme a.aj-sp__chip:hover {
	background: var(--aj-accent);
	color: #fff;
}

body.aj-theme a.aj-sp__clear {
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--aj-muted);
}

.aj-sres__item {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-sres__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

body.aj-theme .aj-sres__title {
	margin: 8px 0 0;
	font-size: 25px;
	line-height: 1.18;
}

.aj-sres__excerpt {
	margin: 8px 0 0;
	max-width: 760px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--aj-body);
}

.aj-sres__item mark {
	padding: 0 2px;
	background: rgba(233, 196, 106, .55);
	color: inherit;
}

html[data-theme="dark"] .aj-sres__item mark {
	background: rgba(233, 196, 106, .3);
}

.aj-sp__empty {
	padding: 48px 0;
}

.aj-sp__empty-title {
	margin: 0 0 6px;
	font-family: var(--aj-serif);
	font-size: 28px;
}

@media (max-width: 700px) {
	.aj-sp__filters {
		grid-template-columns: minmax(0, 1fr);
	}

	.aj-sp__submit {
		padding: 0 14px;
	}

	body.aj-theme .aj-sp__input {
		font-size: 16px;
	}

	.aj-sres__item {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 14px;
	}

	body.aj-theme .aj-sres__title {
		font-size: 19px;
	}

	.aj-sres__excerpt {
		display: none;
	}
}

/* ---------- Kereső ablak (nagyító ikon) ---------- */

html.aj-modal-open {
	overflow: hidden;
}

.aj-smodal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 6vh 16px 24px;
	background: rgba(10, 16, 12, .72);
	overflow-y: auto;
}

.aj-smodal[hidden] {
	display: none;
}

.aj-smodal__box {
	width: 100%;
	max-width: 860px;
	padding: 24px 28px 28px;
	background: var(--aj-bg);
	color: var(--aj-ink);
	border-top: 5px solid var(--aj-accent);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.aj-smodal__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

.aj-smodal__close,
body.aj-theme .aj-smodal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--aj-ink);
	cursor: pointer;
}

.aj-smodal__close:hover,
body.aj-theme .aj-smodal__close:hover {
	background: none;
	color: var(--aj-accent);
}

.aj-sp__form--modal {
	margin-top: 0;
	max-width: none;
}

.aj-smodal__results {
	transition: opacity .2s ease;
}

.aj-smodal__results:not(:empty) {
	margin-top: 22px;
	padding-top: 6px;
	border-top: 2px solid var(--aj-ink);
}

.aj-smodal__results.is-loading {
	opacity: .45;
}

.aj-smodal__list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.aj-smodal__list li {
	margin: 0;
	border-bottom: 1px solid var(--aj-line);
}

body.aj-theme .aj-smodal__list a {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 12px 0;
}

.aj-smodal__img {
	display: block;
	width: 84px;
	height: 63px;
	overflow: hidden;
	background: var(--aj-sand);
}

.aj-smodal__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aj-smodal__meta {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--aj-muted);
}

.aj-smodal__title {
	display: block;
	margin-top: 3px;
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.2;
}

.aj-smodal__title mark {
	padding: 0 2px;
	background: rgba(233, 196, 106, .55);
	color: inherit;
}

html[data-theme="dark"] .aj-smodal__title mark {
	background: rgba(233, 196, 106, .3);
}

.aj-smodal__all {
	width: 100%;
}

.aj-smodal__empty {
	margin: 16px 0 0;
	font-size: 15px;
	color: var(--aj-body);
}

@media (max-width: 700px) {
	.aj-smodal {
		padding: 0;
	}

	.aj-smodal__box {
		min-height: 100%;
		padding: 16px 16px 24px;
	}

	.aj-smodal__title {
		font-size: 17px;
	}
}

@media print {
	.aj-smodal {
		display: none !important;
	}
}

.aj-smodal,
.aj-smodal *,
.aj-sp__form,
.aj-sp__form * {
	box-sizing: border-box;
}

/* Friss cikkek (címlap alja): 3 hasáb, egyforma magas sorok */
.aj-latest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	column-gap: 32px;
}

.aj-latest .aj-trio__item .aj-kicker {
	margin-top: 16px;
	font-size: 11px;
}

body.aj-theme .aj-latest .aj-trio__item .aj-trio__title {
	margin-top: 8px;
}

@media (max-width: 980px) {
	.aj-latest-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
	}
}

@media (max-width: 700px) {
	.aj-latest-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
	}
}

/* Prediktív javaslatok a keresőmező alatt */
.aj-suggest {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	margin: 2px 0 0;
	padding: 6px 0;
	list-style: none;
	background: var(--aj-field);
	border: 1.5px solid var(--aj-ink);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
	max-height: 360px;
	overflow-y: auto;
}

.aj-suggest[hidden] {
	display: none;
}

.aj-suggest li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 10px 16px 10px 48px;
	font-size: 16px;
	color: var(--aj-body);
	cursor: pointer;
}

.aj-suggest li b {
	font-weight: 700;
	color: var(--aj-ink);
}

.aj-suggest li:hover,
.aj-suggest li.is-active {
	background: var(--aj-sand);
	color: var(--aj-ink);
}

.aj-suggest__type {
	flex: none;
	padding: 2px 8px;
	border: 1px solid var(--aj-line);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--aj-muted);
}

@media (max-width: 700px) {
	.aj-suggest li {
		padding-left: 16px;
	}
}

/* Ne hagyja ki: további 4 ajánlott cikk */
.aj-dontmiss__list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.aj-dontmiss__list li {
	margin: 0;
	border-top: 1px solid var(--aj-line);
}

body.aj-theme .aj-dontmiss__list a {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px 0;
}

.aj-dontmiss__thumb {
	display: block;
	width: 84px;
	height: 63px;
	overflow: hidden;
}

.aj-dontmiss__txt {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.aj-dontmiss__txt .aj-kicker {
	font-size: 10px;
	letter-spacing: .14em;
}

.aj-dontmiss__small {
	font-family: var(--aj-serif);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.2;
}

/* ---------- Logó jelképpel (farkasok + „27 év”) ---------- */

.aj-logo--mark,
body.aj-theme a.aj-logo--mark {
	display: inline-flex;
	align-items: flex-end;
	gap: .22em;
}

.aj-logo__mark {
	display: inline-flex;
	flex: none;
}

.aj-logo__mark img {
	display: block;
	width: auto;
	height: 1.15em;
}

.aj-logo__mark-dark,
html[data-theme="dark"] .aj-logo__mark-light {
	display: none !important;
}

html[data-theme="dark"] .aj-logo__mark-dark {
	display: block !important;
}

.aj-logo__text {
	display: inline-block;
	padding-bottom: .02em;
}

/* A lábléc mindig sötét: ott a világos változat kell */
.aj-logo--footer .aj-logo__mark-light {
	display: none !important;
}

.aj-logo--footer .aj-logo__mark-dark {
	display: block !important;
}

@media (max-width: 700px) {
	.aj-header--big .aj-logo--mark {
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}

	.aj-header--big .aj-logo__mark img {
		height: 64px;
	}
}

@media print {
	.aj-logo__mark-dark {
		display: none !important;
	}

	.aj-logo__mark-light {
		display: block !important;
	}
}

/* ==========================================================================
   Kisebb cikkcímek: címlap és cikkoldal (az eredeti méretek kb. 60%-a,
   alsó határ: 20px)
   ========================================================================== */

body.aj-theme .aj-home .aj-feat.aj-feat--lead .aj-feat__title,
body.aj-theme .aj-home .aj-feat.aj-feat--wide .aj-feat__title {
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: 0;
}

body.aj-theme .aj-home .aj-feat .aj-feat__title {
	font-size: 22px;
	line-height: 1.2;
}

body.aj-theme .aj-home .aj-feat--col .aj-feat__title,
body.aj-theme .aj-home .aj-card__title,
body.aj-theme .aj-home .aj-row__title,
body.aj-theme .aj-home .aj-list-item__title,
body.aj-theme .aj-home .aj-list-item--lead .aj-list-item__title,
body.aj-theme .aj-home .aj-trio__title,
body.aj-theme .aj-home .aj-trio__item .aj-trio__title,
body.aj-theme .aj-home .aj-popular__title {
	font-size: 20px;
	line-height: 1.25;
}

body.aj-theme .aj-home .aj-test__title {
	font-size: 21px;
	line-height: 1.25;
}

body.aj-theme .aj-single .aj-article__title {
	font-size: 40px;
	line-height: 1.12;
	letter-spacing: -.01em;
}

@media (max-width: 980px) {
	body.aj-theme .aj-single .aj-article__title {
		font-size: 30px;
	}
}

@media (max-width: 700px) {
	body.aj-theme .aj-home .aj-feat--lead .aj-feat__title,
	body.aj-theme .aj-home .aj-feat--wide .aj-feat__title,
	body.aj-theme .aj-home .aj-feat .aj-feat__title,
	body.aj-theme .aj-home .aj-test__title,
	body.aj-theme .aj-home .aj-feat--col .aj-feat__title,
	body.aj-theme .aj-home .aj-card__title,
	body.aj-theme .aj-home .aj-row__title,
	body.aj-theme .aj-home .aj-list-item__title,
	body.aj-theme .aj-home .aj-trio__title,
	body.aj-theme .aj-home .aj-popular__title {
		font-size: 20px;
	}

	body.aj-theme .aj-home .aj-feat.aj-feat--lead .aj-feat__title,
	body.aj-theme .aj-home .aj-feat.aj-feat--wide .aj-feat__title {
		font-size: 22px;
	}

	body.aj-theme .aj-single .aj-article__title {
		font-size: 25px;
	}
}

/* Kisebb kivonatok a kisebb címekhez igazítva */
body.aj-theme .aj-home .aj-feat .aj-feat__excerpt,
body.aj-theme .aj-home .aj-test__excerpt {
	font-size: 15px;
	line-height: 1.5;
}

body.aj-theme .aj-home .aj-card__excerpt,
body.aj-theme .aj-home .aj-list-item__excerpt,
body.aj-theme .aj-home .aj-trio__excerpt {
	font-size: 14px;
	line-height: 1.5;
}

body.aj-theme .aj-single .aj-article__lead {
	font-size: 18px;
	line-height: 1.5;
}

@media (max-width: 700px) {
	body.aj-theme .aj-home .aj-feat .aj-feat__excerpt,
	body.aj-theme .aj-home .aj-test__excerpt {
		font-size: 14px;
	}

	body.aj-theme .aj-single .aj-article__lead {
		font-size: 16px;
	}
}

/* Mobil: nagyobb kivonatok a címlapon, kisebb Népszerű most címek */
@media (max-width: 700px) {
	body.aj-theme .aj-home .aj-feat .aj-feat__excerpt,
	body.aj-theme .aj-home .aj-test__excerpt,
	body.aj-theme .aj-home .aj-card__excerpt,
	body.aj-theme .aj-home .aj-list-item__excerpt,
	body.aj-theme .aj-home .aj-trio__excerpt {
		font-size: 16px;
	}

	body.aj-theme .aj-popular__title {
		font-size: 15px;
	}

	body.aj-theme .aj-home .aj-popular__title {
		font-size: 17px;
	}
}

/* ---------- Alkalmazás telepítése (PWA) sáv ---------- */

.aj-install {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 99990;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	width: calc(100% - 32px);
	max-width: 640px;
	padding: 16px 44px 16px 16px;
	background: var(--aj-bg);
	color: var(--aj-ink);
	border-top: 4px solid var(--aj-accent);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
	box-sizing: border-box;
	transform: translate(-50%, 140%);
	transition: transform .3s ease;
}

.aj-install.is-in {
	transform: translate(-50%, 0);
}

.aj-install__icon {
	display: block;
	width: 48px;
	height: 48px;
	border: 1px solid var(--aj-line);
}

.aj-install__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--aj-body);
}

.aj-install__txt strong {
	font-family: var(--aj-serif);
	font-size: 18px;
	color: var(--aj-ink);
}

.aj-install__txt svg {
	vertical-align: -3px;
}

.aj-install__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aj-install__later,
body.aj-theme .aj-install__later {
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	background: none;
	color: var(--aj-muted);
	font-family: var(--aj-sans);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.aj-install__later:hover,
body.aj-theme .aj-install__later:hover {
	background: none;
	color: var(--aj-ink);
}

.aj-install__x,
body.aj-theme .aj-install__x {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--aj-muted);
	cursor: pointer;
}

body.aj-theme .aj-install__x:hover {
	background: none;
	color: var(--aj-ink);
}

@media (max-width: 560px) {
	.aj-install {
		grid-template-columns: 48px minmax(0, 1fr);
		bottom: 0;
		width: 100%;
		max-width: none;
	}

	.aj-install__actions {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}
}

@media print {
	.aj-install {
		display: none !important;
	}
}

/* ===== Betűméret-állító a cikkoldalon (A− / A+) ===== */
.aj-fontsize {
	display: inline-flex;
	border: 1px solid var(--aj-line);
	border-radius: 999px;
	overflow: hidden;
}

body.aj-theme .aj-fontsize__btn {
	min-width: 48px;
	height: 44px;
	padding: 0 12px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--aj-ink);
	font-family: var(--aj-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

body.aj-theme .aj-fontsize__btn--big {
	font-size: 18px;
	border-left: 1px solid var(--aj-line);
}

body.aj-theme .aj-fontsize__btn span {
	margin-left: 1px;
	font-size: .85em;
}

body.aj-theme .aj-fontsize__btn:hover:not(:disabled),
body.aj-theme .aj-fontsize__btn:focus-visible {
	background: var(--aj-sand);
	color: var(--aj-accent);
}

body.aj-theme .aj-fontsize__btn:disabled {
	opacity: .35;
	cursor: default;
}

.aj-prose {
	font-size: calc(21px * var(--aj-fs, 1));
}

body.aj-theme .aj-prose h2 {
	font-size: calc(32px * var(--aj-fs, 1));
}

body.aj-theme .aj-prose h3 {
	font-size: calc(26px * var(--aj-fs, 1));
}

.aj-prose blockquote,
.aj-prose .wp-block-quote,
.aj-prose .wp-block-pullquote {
	font-size: calc(24px * var(--aj-fs, 1));
}

.aj-prose .aj-roviden {
	font-size: calc(16px * var(--aj-fs, 1));
}

@media (max-width: 700px) {
	.aj-prose {
		font-size: calc(19px * var(--aj-fs, 1));
	}
}

@media print {
	:root {
		--aj-fs: 1 !important;
	}

	.aj-fontsize {
		display: none !important;
	}
}

/* A betűméret-állító közvetlenül a cikk szövege előtt */
.aj-fontsize-bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin: 0 0 18px;
}

.aj-fontsize-bar__label {
	font-family: var(--aj-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--aj-muted);
}

@media print {
	.aj-fontsize-bar {
		display: none !important;
	}
}

/* Betűméret-gomb: szögletes, világos módban sötétzöld */
.aj-fontsize {
	border-radius: 0;
}

html:not([data-theme="dark"]) .aj-fontsize {
	border-color: #16241B;
	background: #16241B;
}

html:not([data-theme="dark"]) body.aj-theme .aj-fontsize__btn {
	color: #F3F1EC;
}

html:not([data-theme="dark"]) body.aj-theme .aj-fontsize__btn--big {
	border-left-color: rgba(243, 241, 236, .25);
}

html:not([data-theme="dark"]) body.aj-theme .aj-fontsize__btn:hover:not(:disabled),
html:not([data-theme="dark"]) body.aj-theme .aj-fontsize__btn:focus-visible {
	background: #24382B;
	color: #fff;
}

/* ===== FRISS ticker: az 5 legfrissebb cikk folyamatosan körbefut ===== */
body.aj-theme .aj-ticker__items {
	display: block;
	flex: 1 1 auto;
	position: relative;
	overflow: hidden !important;
	scrollbar-width: none;
	text-overflow: clip;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent 100%);
}

.aj-ticker__track {
	display: flex;
	width: max-content;
	animation: aj-ticker var(--aj-tk-dur, 60s) linear infinite;
}

.aj-ticker__items:hover .aj-ticker__track,
.aj-ticker__items:focus-within .aj-ticker__track {
	animation-play-state: paused;
}

.aj-ticker__group {
	display: flex;
	flex: none;
	align-items: center;
	gap: 16px;
	padding-right: 16px;
	white-space: nowrap;
}

body.aj-theme .aj-ticker__items a,
body.aj-theme .aj-ticker__sep {
	display: inline;
}

@keyframes aj-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media print {
	.aj-ticker {
		display: none !important;
	}
}

/* ===== Cikkoldal: szerzősor felül, alatta a kiemelt kép a címmel, kivonattal, morzsamenüvel ===== */
.aj-single .aj-article__head {
	padding-top: 28px;
}

.aj-single .aj-byline {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-top: 0;
	border-bottom: 0;
}

.aj-article__titles {
	padding-top: 32px;
}

.aj-article__hero--over {
	margin-top: 28px;
}

.aj-article__cover {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 46vw, 620px);
	overflow: hidden;
	background: var(--aj-surface);
}

.aj-article__hero--over .aj-article__cover > .aj-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}

.aj-article__over {
	position: relative;
	width: 100%;
	padding: 140px 48px 44px;
	background: linear-gradient(to top, rgba(10, 18, 13, .94) 0%, rgba(10, 18, 13, .78) 45%, rgba(10, 18, 13, 0) 100%);
	color: #F3F1EC;
}

.aj-article__over .aj-crumbs,
body.aj-theme .aj-article__over .aj-crumbs a {
	color: #DDE2D9;
}

body.aj-theme .aj-article__over .aj-crumbs a:hover {
	color: #fff;
}

body.aj-theme .aj-article__over .aj-crumbs a.aj-crumbs__cat {
	padding: 5px 10px;
	background: var(--aj-cat, var(--aj-accent));
	color: #fff;
	font-size: 11px;
	letter-spacing: .14em;
}

body.aj-theme .aj-single .aj-article__over .aj-article__title {
	max-width: 900px;
	margin-top: 16px;
	color: #fff;
	text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}

body.aj-theme .aj-single .aj-article__over .aj-article__lead {
	max-width: 780px;
	margin-top: 14px;
	color: #E6E9E2;
}

@media (max-width: 700px) {
	.aj-single .aj-article__head {
		padding-top: 16px;
	}

	.aj-article__hero--over {
		margin-top: 16px;
	}

	.aj-article__cover {
		min-height: 440px;
	}

	.aj-article__over {
		padding: 110px 20px 24px;
	}
}

@media print {
	.aj-article {
		display: flex !important;
		flex-direction: column;
	}

	.aj-article > .aj-article__hero {
		order: -1;
	}

	.aj-article > * {
		align-self: stretch;
		width: auto !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}

	.aj-article__cover {
		display: flex !important;
		flex-direction: column;
		min-height: 0 !important;
		background: none !important;
	}

	.aj-article__hero--over .aj-article__cover > .aj-img {
		position: static !important;
		height: auto !important;
		margin-top: 5mm;
	}

	.aj-article__over {
		order: -1;
		padding: 0 !important;
		background: none !important;
		color: #000 !important;
	}

	body.aj-theme .aj-single .aj-article__over .aj-article__title {
		color: #000 !important;
		text-shadow: none !important;
	}

	body.aj-theme .aj-single .aj-article__over .aj-article__lead {
		color: #222 !important;
	}
}

/* ===== Cikkoldal: az oldalsáv görgetéskor az aljánál fixen marad ===== */
@media (min-width: 981px) {
	.aj-article__side {
		position: sticky;
		top: var(--aj-side-top, 24px);
		align-self: start;
	}

	.aj-single .aj-article__layout {
		column-gap: 30px;
	}

	.aj-single .aj-article__main {
		max-width: none;
	}
}

/* ===== GTranslate nyelvválasztó a menüben, a keresés ikon mellett ===== */
.aj-nav__lang {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-left: 4px;
	font-family: var(--aj-sans);
	font-size: 13px;
	line-height: 1;
}

.aj-nav__lang .gtranslate_wrapper,
.aj-nav__lang .gt_container,
.aj-nav__lang > div {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Legördülő változat (GTranslate: Dropdown) – a menü betűtípusához és vonalaihoz igazítva */
body.aj-theme .aj-nav__lang select,
body.aj-theme .aj-nav__lang select.gt_selector {
	-webkit-appearance: none;
	appearance: none;
	width: 96px;
	max-width: 96px;
	height: 34px;
	margin: 0;
	padding: 0 30px 0 12px;
	border: 1px solid var(--aj-ink);
	border-radius: 0;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B4421A' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 11px center;
	box-shadow: none;
	color: var(--aj-ink);
	font-family: var(--aj-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 32px;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

body.aj-theme .aj-nav__lang select:hover,
body.aj-theme .aj-nav__lang select:focus-visible {
	border-color: var(--aj-accent);
	color: var(--aj-accent);
	outline: none;
}

body.aj-theme .aj-nav__lang select option {
	background: var(--aj-bg);
	color: var(--aj-ink);
	text-transform: none;
	letter-spacing: 0;
}

/* Zászlós / szöveges linkek (GTranslate: Flags, Nice dropdown, Popup) */
body.aj-theme .aj-nav__lang a,
body.aj-theme .aj-nav__lang a.glink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--aj-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
}

body.aj-theme .aj-nav__lang a:hover {
	color: var(--aj-accent);
}

.aj-nav__lang img {
	display: inline-block;
	vertical-align: middle;
	border-radius: 0;
}

/* GTranslate „Float” kapcsoló a menüben (zászló + nyelvkód + nyíl, lenyíló lista) */
body.aj-theme .aj-nav__lang #gt_float_wrapper {
	position: relative !important;
	inset: auto !important;
	z-index: 60;
}

body.aj-theme .aj-nav__lang .gt_float_switcher {
	position: relative;
	display: inline-block;
	overflow: visible !important;
	margin: 0;
	padding: 0;
	border: 1px solid var(--aj-ink);
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--aj-ink);
	font-family: var(--aj-sans) !important;
	font-size: 12px !important;
	line-height: 1;
	transition: border-color .15s ease;
}

body.aj-theme .aj-nav__lang .gt_float_switcher:hover {
	border-color: var(--aj-accent);
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt-selected {
	background: transparent !important;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt-selected .gt-current-lang {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 10px !important;
	color: var(--aj-ink) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt-selected .gt-current-lang:hover {
	color: var(--aj-accent) !important;
}

body.aj-theme .aj-nav__lang .gt_float_switcher img {
	width: 20px !important;
	height: auto !important;
	margin: 0 !important;
	border-radius: 0;
	vertical-align: middle;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt-lang-code {
	position: static !important;
	top: auto !important;
	margin: 0 !important;
	font-size: 12px !important;
	line-height: 1;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt_float_switcher-arrow {
	display: inline-block;
	width: 10px !important;
	height: 6px !important;
	margin: 0 0 0 2px !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B4421A' stroke-width='1.6'/%3E%3C/svg%3E") center / 10px 6px no-repeat !important;
	transform: none;
	transition: transform .15s ease;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt_float_switcher-arrow.gt_arrow_rotate {
	transform: rotate(180deg) !important;
}

/* A lenyíló nyelvlista: a gomb alatt, jobbra igazítva, a lap fölött */
body.aj-theme .aj-nav__lang .gt_float_switcher .gt_options {
	position: absolute !important;
	top: calc(100% + 6px);
	right: -1px;
	left: auto;
	z-index: 60;
	width: 230px !important;
	min-width: 230px;
	max-height: min(380px, 70vh) !important;
	overflow-y: auto;
	padding: 6px 0;
	border: 1px solid var(--aj-ink);
	background: var(--aj-bg) !important;
	box-shadow: 0 14px 32px rgba(22, 36, 27, .18);
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt_options a {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 9px 14px !important;
	color: var(--aj-ink) !important;
	font-size: 14px !important;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	background: transparent;
	transition: background-color .15s ease, color .15s ease;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt_options a.gt-current {
	display: none !important;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt_options a:hover,
body.aj-theme .aj-nav__lang .gt_float_switcher .gt_options a:focus-visible {
	background: var(--aj-sand) !important;
	color: var(--aj-accent) !important;
	outline: none;
}

body.aj-theme .aj-nav__lang .gt_float_switcher .gt_options a img {
	width: 22px !important;
}

/* A GTranslate saját, a képernyő sarkában lebegő kapcsolója feleslegessé válik, ha a menüben van */
body.aj-theme:has(.aj-nav__lang .gt_float_switcher) > .gtranslate_wrapper {
	display: none !important;
}

/* Hogy a menü a nyelvválasztóval együtt is egy sorban elférjen */
@media (min-width: 701px) {
	.aj-nav__in:has(.aj-nav__lang) .aj-nav__list {
		column-gap: 18px;
	}
}

@media (min-width: 701px) and (max-width: 1360px) {
	.aj-nav__in:has(.aj-nav__lang) .aj-nav__list {
		column-gap: 14px;
	}

	body.aj-theme .aj-nav__in:has(.aj-nav__lang) .aj-nav__list a {
		font-size: 13px;
		letter-spacing: .04em;
	}
}

@media (max-width: 700px) {
	.aj-nav__search {
		margin-left: auto;
	}

	.aj-nav__lang {
		order: 2;
		margin-left: 0;
	}
}

@media print {
	.aj-nav__lang {
		display: none !important;
	}
}

/* ==========================================================================
   Címlap: 20%-kal nagyobb cikkcímek, hozzájuk igazított kivonatok
   ========================================================================== */
body.aj-theme .aj-home .aj-feat.aj-feat--lead .aj-feat__title,
body.aj-theme .aj-home .aj-feat.aj-feat--wide .aj-feat__title {
	font-size: 34px;
}

body.aj-theme .aj-home .aj-feat .aj-feat__title {
	font-size: 26px;
}

body.aj-theme .aj-home .aj-feat--col .aj-feat__title,
body.aj-theme .aj-home .aj-card__title,
body.aj-theme .aj-home .aj-row__title,
body.aj-theme .aj-home .aj-list-item__title,
body.aj-theme .aj-home .aj-list-item--lead .aj-list-item__title,
body.aj-theme .aj-home .aj-trio__title,
body.aj-theme .aj-home .aj-trio__item .aj-trio__title,
body.aj-theme .aj-home .aj-popular__title {
	font-size: 24px;
}

body.aj-theme .aj-home .aj-test__title {
	font-size: 25px;
}

body.aj-theme .aj-home .aj-feat .aj-feat__excerpt,
body.aj-theme .aj-home .aj-test__excerpt {
	font-size: 18px;
}

body.aj-theme .aj-home .aj-card__excerpt,
body.aj-theme .aj-home .aj-list-item__excerpt,
body.aj-theme .aj-home .aj-row__excerpt,
body.aj-theme .aj-home .aj-trio__excerpt {
	font-size: 17px;
	line-height: 1.5;
}

/* Mezőgazdaság sorok: kivonat a cím alatt */
.aj-row__excerpt {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--aj-body);
}

@media (max-width: 700px) {
	body.aj-theme .aj-home .aj-feat--lead .aj-feat__title,
	body.aj-theme .aj-home .aj-feat--wide .aj-feat__title,
	body.aj-theme .aj-home .aj-feat .aj-feat__title,
	body.aj-theme .aj-home .aj-test__title,
	body.aj-theme .aj-home .aj-feat--col .aj-feat__title,
	body.aj-theme .aj-home .aj-card__title,
	body.aj-theme .aj-home .aj-row__title,
	body.aj-theme .aj-home .aj-list-item__title,
	body.aj-theme .aj-home .aj-trio__title {
		font-size: 24px;
	}

	body.aj-theme .aj-home .aj-feat.aj-feat--lead .aj-feat__title,
	body.aj-theme .aj-home .aj-feat.aj-feat--wide .aj-feat__title {
		font-size: 26px;
	}

	body.aj-theme .aj-home .aj-popular__title {
		font-size: 20px;
	}

	body.aj-theme .aj-home .aj-feat .aj-feat__excerpt,
	body.aj-theme .aj-home .aj-test__excerpt,
	body.aj-theme .aj-home .aj-card__excerpt,
	body.aj-theme .aj-home .aj-list-item__excerpt,
	body.aj-theme .aj-home .aj-row__excerpt,
	body.aj-theme .aj-home .aj-trio__excerpt {
		font-size: 19px;
	}

	/* Mobilon a keskeny sorkártyánál a kivonat a kép alá is kifuthat */
	.aj-row__excerpt {
		margin-top: 6px;
	}
}

/* Banner a címlapon a második kiemelt cikk alatt, középre igazítva */
.aj-hero__lead .aj-sidebanner {
	display: flex;
	justify-content: center;
}

.aj-hero__lead .aj-sidebanner a,
.aj-hero__lead .aj-sidebanner img {
	width: 100%;
	max-width: 600px;
}

/* Kereső: négy szűrő (rovat, címke, év, rendezés) */
.aj-sp__filters {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
	.aj-sp__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.aj-sp__filters {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Népszerű most: 15%-kal kisebb betűméret */
body.aj-theme .aj-popular__head h2 {
	font-size: 26px;
}

.aj-popular__num {
	font-size: 15px;
}

.aj-popular__title,
body.aj-theme .aj-popular__title {
	font-size: 15px;
}

body.aj-theme .aj-home .aj-popular__title {
	font-size: 20px;
}

@media (max-width: 700px) {
	body.aj-theme .aj-popular__title {
		font-size: 13px;
	}

	body.aj-theme .aj-home .aj-popular__title {
		font-size: 17px;
	}
}

/* ==========================================================================
   Friss cikkek: vegyes sorok (3 kártya · nagy · 3 kártya · 2×3 cím · nagy ·
   2 képre írt · 3 kártya · 3 kártya)
   ========================================================================== */
.aj-latest-rows {
	display: flex;
	flex-direction: column;
}

.aj-lrow {
	display: grid;
	column-gap: 32px;
}

.aj-lrow--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Nagy cikk teljes szélességben: kép balra, szöveg jobbra */
.aj-lbig {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 40px;
	align-items: center;
	padding: 36px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-lbig__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--aj-sand);
}

.aj-lbig__media .aj-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.aj-lbig__media:hover .aj-img {
	transform: scale(1.03);
}

.aj-lbig__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aj-lbig .aj-kicker {
	font-size: 11px;
}

body.aj-theme .aj-lbig__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.12;
}

.aj-lbig__excerpt {
	margin: 0;
	font-family: var(--aj-serif);
	font-size: 19px;
	line-height: 1.5;
	color: var(--aj-body);
}

/* 2 hasáb, hasábonként 3 cím (kép és kivonat nélkül) */
.aj-lrow--list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 12px 0;
	border-bottom: 1px solid var(--aj-line);
}

.aj-llist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aj-llist li {
	margin: 0;
	padding: 18px 0 18px 20px;
	border-bottom: 1px solid var(--aj-line);
	position: relative;
}

.aj-llist li:last-child {
	border-bottom: 0;
}

.aj-llist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 28px;
	width: 8px;
	height: 8px;
	background: var(--aj-accent);
}

body.aj-theme .aj-llist__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
}

/* 2 cikk egy sorban, a képre írva */
.aj-lrow--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding: 32px 0;
	border-bottom: 1px solid var(--aj-line);
}

@media (max-width: 980px) {
	.aj-lrow--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
	}

	.aj-lbig {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	body.aj-theme .aj-lbig__title {
		font-size: 30px;
	}
}

@media (max-width: 700px) {
	.aj-lrow--3,
	.aj-lrow--list,
	.aj-lrow--2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.aj-lrow--list .aj-llist + .aj-llist li:first-child {
		border-top: 1px solid var(--aj-line);
	}

	body.aj-theme .aj-lbig__title {
		font-size: 26px;
	}

	.aj-lbig__excerpt {
		font-size: 19px;
	}

	body.aj-theme .aj-llist__title {
		font-size: 21px;
	}
}

/* ==========================================================================
   Mobil: termékek 2 hasábban (címlap Shop sáv és WooCommerce termékrács)
   ========================================================================== */
@media (max-width: 700px) {
	.aj-band .aj-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.aj-pcard {
		gap: 6px;
		padding: 10px 10px 12px;
	}

	.aj-pcard__media {
		margin-bottom: 4px;
	}

	.aj-pcard__cat {
		font-size: 11px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	body.aj-theme a.aj-pcard__title {
		font-size: 14px;
		line-height: 1.3;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.aj-pcard__foot {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding-top: 10px;
	}

	.aj-pcard__price {
		font-size: 18px;
	}

	.aj-pcard__price del {
		font-size: 13px;
	}

	body.aj-theme .aj-pcard__foot .aj-btn {
		justify-content: center;
		width: 100%;
		min-height: 38px;
		padding: 0 8px;
		box-sizing: border-box;
		font-size: 13px;
		text-align: center;
	}

	.aj-pcard,
	body.aj-theme.woocommerce ul.products li.product {
		min-width: 0;
		box-sizing: border-box;
	}

	/* WooCommerce bolt- és kategóriaoldalak */
	body.aj-theme.woocommerce ul.products,
	body.aj-theme.woocommerce-page ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
		margin: 0 0 24px;
	}

	body.aj-theme.woocommerce ul.products::before,
	body.aj-theme.woocommerce ul.products::after,
	body.aj-theme.woocommerce-page ul.products::before,
	body.aj-theme.woocommerce-page ul.products::after {
		display: none !important;
	}

	body.aj-theme.woocommerce ul.products li.product,
	body.aj-theme.woocommerce-page ul.products li.product {
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 10px 10px 12px;
	}

	body.aj-theme.woocommerce ul.products li.product img {
		width: 100% !important;
		height: auto !important;
		margin: 0 0 8px !important;
	}

	body.aj-theme.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px;
	}

	body.aj-theme.woocommerce ul.products li.product .price {
		font-size: 18px;
	}

	body.aj-theme.woocommerce ul.products li.product .button {
		display: block;
		width: 100%;
		padding: 10px 6px;
		box-sizing: border-box;
		font-size: 13px;
		text-align: center;
	}
}

/* Sima oldalak (Kapcsolat, Impresszum, ÁSZF…): a szövegben lévő linkek látszódjanak */
body.aj-theme:not(.aj-full):not(.woocommerce-page) .entry-content a:not(.button):not(.wp-block-button__link):not(.wp-element-button):not(.aj-btn) {
	color: var(--aj-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

body.aj-theme:not(.aj-full):not(.woocommerce-page) .entry-content a:not(.button):not(.wp-block-button__link):not(.wp-element-button):not(.aj-btn):hover {
	color: var(--aj-ink);
}

/* ==========================================================================
   LW Cookie: süti-sáv és Cookie-beállítások ablak az oldal stílusában
   (világos és sötét módban is olvasható)
   ========================================================================== */
html body #lw-cookie-notice,
html body #lw-cookie-preferences,
html body .lw-cookie-floating-btn {
	--lw-cookie-primary: var(--aj-accent);
	--lw-cookie-text: var(--aj-ink);
	--lw-cookie-bg: var(--aj-bg);
	--lw-cookie-radius: 0;
	--lw-cookie-shadow: 0 18px 50px rgba(0, 0, 0, .28);
	font-family: var(--aj-sans);
	color: var(--aj-ink);
}

/* Sáv */
html body #lw-cookie-notice .lw-cookie-notice-inner {
	background: var(--aj-bg) !important;
	color: var(--aj-ink) !important;
	border-top: 4px solid var(--aj-accent);
	border-radius: 0 !important;
	box-shadow: var(--lw-cookie-shadow);
}

html body #lw-cookie-notice .lw-cookie-title,
html body #lw-cookie-preferences .lw-cookie-modal-title {
	font-family: var(--aj-serif) !important;
	font-weight: 600 !important;
	font-size: 24px !important;
	line-height: 1.2 !important;
	color: var(--aj-ink) !important;
}

html body #lw-cookie-notice .lw-cookie-message {
	font-size: 15px !important;
	line-height: 1.55 !important;
	color: var(--aj-body) !important;
}

html body #lw-cookie-notice .lw-cookie-message a {
	color: var(--aj-accent) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Gombok: elfogadás = rozsdaszínű, a többi körvonalas */
html body #lw-cookie-notice .lw-cookie-btn,
html body #lw-cookie-preferences .lw-cookie-btn {
	min-height: 44px !important;
	padding: 0 18px !important;
	border: 1px solid var(--aj-ink) !important;
	border-radius: 0 !important;
	font-family: var(--aj-sans) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: .02em;
	opacity: 1 !important;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

html body #lw-cookie-notice .lw-cookie-btn-primary,
html body #lw-cookie-preferences .lw-cookie-btn-primary {
	background: var(--aj-accent) !important;
	border-color: var(--aj-accent) !important;
	color: #fff !important;
}

html body #lw-cookie-notice .lw-cookie-btn-primary:hover,
html body #lw-cookie-preferences .lw-cookie-btn-primary:hover {
	background: var(--aj-ink) !important;
	border-color: var(--aj-ink) !important;
	color: var(--aj-bg) !important;
}

html body #lw-cookie-notice .lw-cookie-btn-secondary,
html body #lw-cookie-notice .lw-cookie-btn-outline,
html body #lw-cookie-preferences .lw-cookie-btn-secondary,
html body #lw-cookie-preferences .lw-cookie-btn-outline {
	background: transparent !important;
	border-color: var(--aj-ink) !important;
	color: var(--aj-ink) !important;
}

html body #lw-cookie-notice .lw-cookie-btn-secondary:hover,
html body #lw-cookie-notice .lw-cookie-btn-outline:hover,
html body #lw-cookie-preferences .lw-cookie-btn-secondary:hover,
html body #lw-cookie-preferences .lw-cookie-btn-outline:hover {
	border-color: var(--aj-accent) !important;
	color: var(--aj-accent) !important;
}

/* Cookie-beállítások ablak */
html body #lw-cookie-preferences .lw-cookie-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 18, 13, .62) !important;
}

html body #lw-cookie-preferences .lw-cookie-modal-content {
	width: calc(100% - 32px) !important;
	max-width: 600px !important;
	overflow-x: hidden !important;
	background: var(--aj-bg) !important;
	color: var(--aj-ink) !important;
	border-top: 4px solid var(--aj-accent);
	border-radius: 0 !important;
	box-shadow: var(--lw-cookie-shadow) !important;
}

html body #lw-cookie-preferences .lw-cookie-modal-close {
	color: var(--aj-ink) !important;
	background: transparent !important;
	border: 0 !important;
	font-size: 26px !important;
	line-height: 1 !important;
	opacity: .8;
}

html body #lw-cookie-preferences .lw-cookie-modal-close:hover {
	color: var(--aj-accent) !important;
	opacity: 1;
}

html body #lw-cookie-preferences .lw-cookie-category {
	border-color: var(--aj-line) !important;
}

html body #lw-cookie-preferences .lw-cookie-category-label {
	gap: 10px;
	color: var(--aj-ink) !important;
}

html body #lw-cookie-preferences .lw-cookie-category-name {
	font-family: var(--aj-sans) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--aj-ink) !important;
}

html body #lw-cookie-preferences .lw-cookie-required {
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--aj-muted) !important;
	opacity: 1 !important;
}

html body #lw-cookie-preferences .lw-cookie-category-label input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	accent-color: var(--aj-accent);
	cursor: pointer;
}

html body #lw-cookie-preferences .lw-cookie-category-label input[type="checkbox"]:disabled {
	opacity: .6 !important;
	cursor: default;
}

html body #lw-cookie-preferences .lw-cookie-category-desc {
	font-family: var(--aj-sans) !important;
	font-size: 14.5px !important;
	line-height: 1.55 !important;
	color: var(--aj-body) !important;
	opacity: 1 !important;
}

html body #lw-cookie-preferences .lw-cookie-category-details > summary {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--aj-accent) !important;
	cursor: pointer;
	opacity: 1 !important;
}

html body #lw-cookie-preferences .lw-cookie-category-cookies,
html body #lw-cookie-preferences .lw-cookie-category-cookies th,
html body #lw-cookie-preferences .lw-cookie-category-cookies td {
	border-color: var(--aj-line) !important;
	color: var(--aj-body) !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	background: transparent !important;
	padding: 7px 8px !important;
	overflow-wrap: break-word;
	vertical-align: top;
}

html body #lw-cookie-preferences .lw-cookie-category-cookies {
	width: 100% !important;
	table-layout: auto !important;
}

html body #lw-cookie-preferences .lw-cookie-category-cookies td:nth-child(3) {
	min-width: 150px;
}

html body #lw-cookie-preferences .lw-cookie-category-cookies th {
	color: var(--aj-ink) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	letter-spacing: .04em !important;
	background: var(--aj-sand) !important;
}

html body #lw-cookie-preferences .lw-cookie-category-cookies td code {
	background: var(--aj-sand) !important;
	color: var(--aj-ink) !important;
	font-size: 12px !important;
	white-space: normal !important;
	word-break: break-all;
}

/* Lebegő süti-gomb */
html body .lw-cookie-floating-btn {
	background: var(--aj-surface) !important;
	color: #F3F1EC !important;
	border-radius: 0 !important;
}

html body .lw-cookie-floating-btn:hover {
	background: var(--aj-accent) !important;
}

@media print {
	#lw-cookie-notice,
	#lw-cookie-preferences,
	.lw-cookie-floating-btn {
		display: none !important;
	}
}

/* Katalógus-gombok a banner alatt (címlap) */
.aj-catalogs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

body.aj-theme a.aj-catalog {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	color: #fff;
	text-decoration: none;
	transition: transform .15s ease, filter .15s ease;
}

body.aj-theme a.aj-catalog:hover {
	color: #fff;
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.aj-catalog--benelli {
	background: #E8202A;
}

.aj-catalog--franchi {
	background: #F07A22;
}

.aj-catalog__icon {
	flex: none;
	display: inline-flex;
}

.aj-catalog__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.aj-catalog__brand {
	font-family: var(--aj-sans);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.1;
	text-transform: uppercase;
}

.aj-catalog__sub {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	opacity: .92;
}

.aj-catalog__arrow {
	margin-left: auto;
	font-size: 18px;
	font-weight: 700;
}

@media (max-width: 400px) {
	body.aj-theme a.aj-catalog {
		gap: 8px;
		padding: 10px;
	}

	.aj-catalog__brand {
		font-size: 15px;
	}

	.aj-catalog__sub {
		font-size: 12px;
	}
}

@media print {
	.aj-catalogs {
		display: none !important;
	}
}

/* Sötét/világos mód kapcsoló a menüsorban (a felső sáv megszűnt) */
body.aj-theme .aj-nav .aj-nav__mode {
	flex: none;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--aj-ink);
}

body.aj-theme .aj-nav .aj-nav__mode:hover,
body.aj-theme .aj-nav .aj-nav__mode:focus-visible {
	background: none;
	border: 0;
	color: var(--aj-accent);
}

body.aj-theme .aj-nav .aj-nav__mode svg {
	width: 19px;
	height: 19px;
}

@media (max-width: 700px) {
	.aj-nav__mode {
		order: 2;
	}
}

/* Csak képernyőolvasónak szóló szöveg (a szülő téma nélkül is rejtve) */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

/* Partnerbanner: Benelli katalógus · Frommer · Franchi katalógus (3 oszlop) */
.aj-sidebanner--3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	box-shadow: 0 1px 2px rgba(22, 36, 27, .06), 0 8px 24px rgba(22, 36, 27, .08);
}

.aj-sidebanner--3 .aj-sb {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 104px;
	padding: 14px 16px;
	background: #fff;
	text-decoration: none;
	transition: filter .15s ease;
}

.aj-sidebanner--3 a.aj-sb:hover {
	filter: brightness(.96);
}

.aj-sidebanner--3 .aj-sb--frommer {
	padding: 0;
	background: #000;
}

.aj-sidebanner--3 a.aj-sb--frommer:hover {
	filter: brightness(1.15);
}

.aj-sidebanner--3 .aj-sb__logo,
.aj-sidebanner .aj-sidebanner--3 img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 34px;
}

.aj-sidebanner--3 .aj-sb--frommer .aj-sb__logo {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}

.aj-sb__cap {
	font-family: var(--aj-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	color: #16241B;
}

.aj-sb__pdf {
	margin-left: 2px;
	padding: 2px 5px;
	color: #fff;
	font-size: 10px;
	letter-spacing: .06em;
}

.aj-sb--benelli .aj-sb__pdf {
	background: #E8202A;
}

.aj-sb--franchi .aj-sb__pdf {
	background: #F07A22;
}

@media (max-width: 700px) {
	.aj-sidebanner--3 .aj-sb {
		min-height: 84px;
		padding: 10px 8px;
		gap: 6px;
	}

	.aj-sidebanner--3 .aj-sb__logo {
		max-height: 24px;
	}

	.aj-sb__cap {
		font-size: 10px;
		letter-spacing: .04em;
	}

	.aj-sb__pdf {
		display: none;
	}
}

.aj-hero__lead .aj-sidebanner.aj-sidebanner--3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aj-hero__lead .aj-sidebanner.aj-sidebanner--3 .aj-sb {
	width: auto;
	max-width: none;
}

.aj-hero__lead .aj-sidebanner.aj-sidebanner--3 .aj-sb__logo {
	width: auto;
	max-width: 100%;
}

.aj-hero__lead .aj-sidebanner.aj-sidebanner--3 .aj-sb--frommer .aj-sb__logo {
	width: 100%;
	max-width: 100%;
}

/* A partnerbanner olyan széles, mint a fölötte lévő kiemelt cikk */
.aj-hero__lead .aj-sidebanner.aj-sidebanner--3 {
	max-width: none;
	margin: 0;
}

@media (min-width: 701px) {
	.aj-hero__lead .aj-sidebanner--3 .aj-sb {
		min-height: 120px;
	}

	.aj-hero__lead .aj-sidebanner--3 .aj-sb:not(.aj-sb--frommer) .aj-sb__logo {
		max-height: 40px;
	}
}

/* „Katalógus 2026” felirat: nagyobb betű, több hely a logó alatt */
.aj-sidebanner--3 .aj-sb:not(.aj-sb--frommer) {
	gap: 14px;
}

.aj-sidebanner--3 .aj-sb__cap {
	font-size: 14px;
}

.aj-sidebanner--3 .aj-sb__pdf {
	font-size: 11px;
}

@media (max-width: 700px) {
	.aj-sidebanner--3 .aj-sb:not(.aj-sb--frommer) {
		gap: 9px;
	}

	.aj-sidebanner--3 .aj-sb__cap {
		font-size: 11.5px;
	}
}

/* ===== Partnertartalom, Frissítve, Forrás ===== */
.aj-sponsored-pill {
	display: inline-block;
	margin-left: 4px;
	padding: 5px 10px;
	border: 1px solid currentColor;
	font-family: var(--aj-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1;
}

.aj-article__over .aj-sponsored-pill {
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
}

.aj-article__titles .aj-sponsored-pill {
	color: var(--aj-accent);
}

.aj-sponsored-note {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-left: 4px solid var(--aj-accent);
	background: var(--aj-sand);
	font-family: var(--aj-sans);
	font-size: 14px;
	line-height: 1.5;
	color: var(--aj-body);
}

.aj-sponsored-note strong {
	color: var(--aj-ink);
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 12px;
}

.aj-meta__updated {
	white-space: nowrap;
}

.aj-sources {
	margin: 8px 0 32px;
	padding-top: 14px;
	border-top: 1px solid var(--aj-line);
	font-family: var(--aj-sans);
	font-size: 14px;
	line-height: 1.55;
	color: var(--aj-body);
}

.aj-sources__label {
	font-weight: 700;
	color: var(--aj-ink);
}

body.aj-theme .aj-sources a {
	color: var(--aj-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.aj-theme .aj-sources a:hover {
	color: var(--aj-ink);
}

@media print {
	.aj-sponsored-note {
		background: none !important;
		border-left-color: #999 !important;
		color: #333 !important;
	}

	.aj-sources {
		font-size: 9.5pt !important;
		color: #333 !important;
	}

	.aj-sources a::after {
		content: " (" attr(href) ")";
		font-size: 8pt;
		word-break: break-all;
	}
}

/* Cikkjelölések (Nemzetközi, Exkluzív, Riport…) a cikk tetején */
body.aj-theme a.aj-jeloles-pill {
	display: inline-block;
	margin-left: 4px;
	padding: 5px 10px;
	background: #fff;
	color: #16241B;
	font-family: var(--aj-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}

body.aj-theme a.aj-jeloles-pill:hover {
	background: var(--aj-accent);
	color: #fff;
}

body.aj-theme .aj-article__titles a.aj-jeloles-pill {
	background: var(--aj-ink);
	color: var(--aj-bg);
}

body.aj-theme .aj-crumbs a.aj-jeloles-pill,
body.aj-theme .aj-article__over .aj-crumbs a.aj-jeloles-pill {
	color: #16241B;
	font-size: 11px;
	letter-spacing: .14em;
}

body.aj-theme .aj-crumbs a.aj-jeloles-pill:hover,
body.aj-theme .aj-article__over .aj-crumbs a.aj-jeloles-pill:hover {
	color: #fff;
}

body.aj-theme .aj-article__titles .aj-crumbs a.aj-jeloles-pill {
	color: var(--aj-bg);
}

/* ===== Cikkjelölés-jelvény a címlapi kártyák képének bal felső sarkában ===== */
.aj-card__media,
.aj-trio__media,
.aj-lbig__media,
.aj-test__media,
.aj-row__media {
	position: relative;
}

.aj-jbadge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	max-width: calc(100% - 24px);
	padding: 6px 11px 6px 8px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 6px;
	background: rgba(28, 38, 24, .82);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
	color: #fff;
	font-family: var(--aj-sans);
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
}

.aj-jbadge__ic {
	display: inline-flex;
	flex: none;
}

.aj-jbadge__svg {
	width: 17px;
	height: 17px;
}

.aj-jbadge__name {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.aj-jbadge__sub {
	overflow: hidden;
	min-width: 0;
	padding-left: 8px;
	border-left: 1px solid rgba(255, 255, 255, .4);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .05em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .85);
}

/* Nagy kiemelt képeken nagyobb */
.aj-feat--lead .aj-jbadge,
.aj-feat--wide .aj-jbadge,
.aj-lbig__media .aj-jbadge {
	top: 18px;
	left: 18px;
	padding: 8px 13px 8px 10px;
	gap: 9px;
}

.aj-feat--lead .aj-jbadge__svg,
.aj-feat--wide .aj-jbadge__svg,
.aj-lbig__media .aj-jbadge__svg {
	width: 20px;
	height: 20px;
}

.aj-feat--lead .aj-jbadge__name,
.aj-feat--wide .aj-jbadge__name,
.aj-lbig__media .aj-jbadge__name {
	font-size: 13px;
}

.aj-feat--lead .aj-jbadge__sub,
.aj-feat--wide .aj-jbadge__sub,
.aj-lbig__media .aj-jbadge__sub {
	font-size: 12px;
}

/* Kis képeken (Mezőgazdaság sorok) csak ikon és név */
.aj-jbadge--mini {
	top: 6px;
	left: 6px;
	max-width: calc(100% - 12px);
	padding: 4px 7px 4px 5px;
	gap: 4px;
	border-radius: 4px;
}

.aj-jbadge--mini .aj-jbadge__svg {
	width: 13px;
	height: 13px;
}

.aj-jbadge--mini .aj-jbadge__name {
	overflow: hidden;
	font-size: 10px;
	letter-spacing: .04em;
	text-overflow: ellipsis;
}

@media (max-width: 700px) {
	.aj-jbadge,
	.aj-feat--lead .aj-jbadge,
	.aj-feat--wide .aj-jbadge,
	.aj-lbig__media .aj-jbadge {
		top: 10px;
		left: 10px;
		padding: 6px 9px 6px 7px;
		gap: 6px;
	}

	.aj-jbadge__name,
	.aj-feat--lead .aj-jbadge__name,
	.aj-feat--wide .aj-jbadge__name,
	.aj-lbig__media .aj-jbadge__name {
		font-size: 11px;
	}

	.aj-jbadge__sub,
	.aj-feat--lead .aj-jbadge__sub,
	.aj-feat--wide .aj-jbadge__sub,
	.aj-lbig__media .aj-jbadge__sub {
		font-size: 10px;
	}

	.aj-jbadge--mini .aj-jbadge__sub {
		display: none;
	}
}

@media print {
	.aj-jbadge {
		display: none !important;
	}
}

/* Partnerbanner a cikk kiemelt képe alatt (Testreszabás › Cikkoldal › rovatok) */
.aj-article__partner {
	margin-top: 24px;
	margin-bottom: 8px;
}

.aj-article__partner .aj-sidebanner.aj-sidebanner--3 {
	max-width: none;
	margin: 0;
}

@media (min-width: 701px) {
	.aj-article__partner .aj-sidebanner--3 .aj-sb {
		min-height: 120px;
	}

	.aj-article__partner .aj-sidebanner--3 .aj-sb:not(.aj-sb--frommer) .aj-sb__logo {
		max-height: 40px;
	}
}

/* Képes hirdetés a Betűméret-sáv alatt (pl. KONUS – Frommer) */
.aj-imgbanner {
	max-width: 991px;
	margin: 0 0 28px;
}

.aj-imgbanner a {
	display: block;
	transition: opacity .15s ease;
}

.aj-imgbanner a:hover {
	opacity: .92;
}

.aj-imgbanner__img {
	display: block;
	width: 100%;
	height: auto;
}

.aj-imgbanner figcaption {
	margin-top: 8px;
	font-family: var(--aj-sans);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	color: var(--aj-muted);
}

@media print {
	.aj-imgbanner {
		display: none !important;
	}
}

/* Rovat cikkei egy oldalba illesztve (Frommer partnerhálózat, [aj_rovat_cikkek]) */
.aj-catlist {
	margin: 24px 0 32px;
}

.entry-content .aj-catlist .aj-card__title {
	margin: 0;
}

.entry-content .aj-catlist a {
	text-decoration: none;
}

.entry-content .aj-catlist img {
	margin: 0;
}

html body .entry-content .aj-catlist .aj-card__title a {
	color: var(--aj-ink) !important;
	text-decoration: none !important;
	background: none;
	box-shadow: none;
}

html body .entry-content .aj-catlist .aj-card__title a:hover {
	color: var(--aj-accent) !important;
}

html body .entry-content .aj-catlist .aj-card__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
}
