/* ==========================================================================
   Bibó-Halas Magazin – vidám, színes online gyerekmagazin
   Víz alatti világ: aqua fejléc hullámmal, buborékok, matricás kártyák,
   rovatonként saját színű, saját rajzolású figurák.
   ========================================================================== */

/* ---------- Betűk (saját tárhelyről) ---------- */
@font-face {
	font-family: "Baloo 2"; font-style: normal; font-weight: 500 800; font-display: swap;
	src: url(../fonts/baloo2-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Baloo 2"; font-style: normal; font-weight: 500 800; font-display: swap;
	src: url(../fonts/baloo2-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
	src: url(../fonts/nunito-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
	src: url(../fonts/nunito-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito"; font-style: italic; font-weight: 400 700; font-display: swap;
	src: url(../fonts/nunito-italic-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito"; font-style: italic; font-weight: 400 700; font-display: swap;
	src: url(../fonts/nunito-italic-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Színek, méretek ---------- */
:root {
	--bh-bg: #fff8ec;
	--bh-white: #fff;
	--bh-aqua: #d6f2ff;
	--bh-aqua-2: #bfe9ff;
	--bh-sand: #fff0d4;
	--bh-ink: #22305a;
	--bh-text: #39436a;
	--bh-muted: #69739a;
	--bh-line: rgba(34, 48, 90, .14);
	--bh-line-2: rgba(34, 48, 90, .26);
	--bh-sun: #ffc83d;
	--bh-orange: #ff9b3d;
	--bh-coral: #ff6b6b;
	--bh-coral-2: #f0484f;
	--bh-pink: #ff8cc6;
	--bh-grape: #9b6bff;
	--bh-sky: #4d9dff;
	--bh-teal: #21c7b5;
	--bh-lime: #8bd13c;
	--bh-ocean-1: #3aa6ff;
	--bh-ocean-2: #2266d1;
	--bh-ocean-3: #173d8f;
	--bh-deep: #142f6e;
	--bh-radius: 26px;
	--bh-border: 2.5px solid var(--bh-ink);
	--bh-head: "Baloo 2", "Nunito", system-ui, sans-serif;
	--bh-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bh-wrap: 1320px;
	--c: var(--bh-teal);
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bh-bg); color: var(--bh-text);
	font: 500 17.5px/1.65 var(--bh-body);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--bh-ink); text-decoration: none; }
a:hover { color: var(--bh-coral-2); }
h1, h2, h3, h4, h5, h6 {
	margin: 0; font-family: var(--bh-head); font-weight: 800; line-height: 1.1; letter-spacing: -.01em;
	color: var(--bh-ink); text-wrap: balance;
}
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--bh-sky); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--bh-sun); color: var(--bh-ink); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bh-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--bh-ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 800; }
.bh-skip:focus { top: 12px; color: #fff; }
.bh-wrap { width: 100%; max-width: var(--bh-wrap); margin: 0 auto; padding: 0 clamp(16px, 3vw, 36px); }
.bh-icon, .bh-art { flex: none; vertical-align: middle; }

/* ---------- Gombok ---------- */
.bh-btn {
	--btn-bg: var(--bh-coral); --btn-fg: #fff;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 24px; border-radius: 999px; border: var(--bh-border);
	background: var(--btn-bg); color: var(--btn-fg);
	font: 800 16px/1 var(--bh-head); letter-spacing: .01em;
	box-shadow: 0 4px 0 var(--bh-ink); cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .2s;
}
.bh-btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 6px 0 var(--bh-ink); }
.bh-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--bh-ink); }
.bh-btn--solid { --btn-bg: var(--bh-coral); }
.bh-btn--solid:hover { --btn-bg: var(--bh-coral-2); }
.bh-btn--sun { --btn-bg: var(--bh-sun); --btn-fg: var(--bh-ink); }
.bh-btn--lg { padding: 16px 30px; font-size: 19px; }
.bh-btn .bh-icon--dice { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.bh-btn:hover .bh-icon--dice { transform: rotate(200deg); }
.bh-iconbtn, .bh-roundbtn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border-radius: 50%; border: var(--bh-border); background: var(--bh-white);
	color: var(--bh-ink); cursor: pointer; box-shadow: 0 3px 0 var(--bh-ink);
	transition: background .2s, transform .15s, box-shadow .15s;
}
.bh-iconbtn:hover, .bh-roundbtn:hover { background: var(--bh-sun); color: var(--bh-ink); transform: translateY(-2px); box-shadow: 0 5px 0 var(--bh-ink); }
.bh-roundbtn { width: 52px; height: 52px; }

/* Figura színes buborékban */
.bh-tile {
	position: relative; display: inline-grid; place-items: center; flex: none;
	width: 52px; height: 52px; border-radius: 50%;
	background: color-mix(in srgb, var(--c) 30%, #fff); border: var(--bh-border); color: var(--bh-ink);
}
.bh-tile--sm { width: 36px; height: 36px; border-width: 2px; }
.bh-tile--md { width: 58px; height: 58px; }
.bh-tile--lg { width: 84px; height: 84px; }
.bh-tile--xl { width: 104px; height: 104px; box-shadow: 0 5px 0 var(--bh-ink); }

/* Rovatcímke és meta */
.bh-cat {
	position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 12px 3px 4px; border-radius: 999px;
	background: color-mix(in srgb, var(--c) 24%, #fff); border: 2px solid color-mix(in srgb, var(--c) 70%, var(--bh-ink));
	font: 700 14px/1.2 var(--bh-head); color: var(--bh-ink); white-space: nowrap;
	transition: background .2s, transform .2s;
}
.bh-cat .bh-art { width: 24px; height: 24px; }
a.bh-cat:hover { background: var(--c); color: var(--bh-ink); transform: rotate(-2deg); }
.bh-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; font-weight: 700; color: var(--bh-muted); }
.bh-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.bh-meta .bh-icon { opacity: .8; }

/* Buborékok */
.bh-bubble { position: absolute; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .95); background: radial-gradient(circle at 32% 30%, #fff 0 18%, rgba(255, 255, 255, .25) 20%); pointer-events: none; }
@keyframes bh-rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(-60px) translateX(8px); } 100% { transform: translateY(-130px) translateX(-6px); opacity: 0; } }
@keyframes bh-bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes bh-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg) scale(1.08); } 75% { transform: rotate(7deg) scale(1.08); } }
@keyframes bh-swim { 0% { transform: translateX(-140px) scaleX(1); } 49% { transform: translateX(calc(100vw + 40px)) scaleX(1); } 50% { transform: translateX(calc(100vw + 40px)) scaleX(-1); } 99% { transform: translateX(-140px) scaleX(-1); } 100% { transform: translateX(-140px) scaleX(1); } }
@keyframes bh-sway { 50% { transform: rotate(6deg); } }

/* ---------- Fejléc: vízfelszín ---------- */
.bh-header {
	position: sticky; top: calc(-1 * var(--bh-top-h, 0px)); z-index: 100;
	background:
		radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .7) 0 2px, transparent 3px) 0 0 / 46px 46px,
		radial-gradient(circle at 70% 70%, rgba(77, 157, 255, .22) 0 2.5px, transparent 3.5px) 0 0 / 58px 58px,
		var(--bh-aqua);
}
.admin-bar .bh-header { top: calc(32px - var(--bh-top-h, 0px)); }
.bh-wave { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.bh-wave--header { top: calc(100% - 1px); height: 22px; fill: var(--bh-aqua); filter: drop-shadow(0 4px 0 rgba(77, 157, 255, .25)); }
.bh-header__deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bh-header .bh-bubble--1 { width: 26px; height: 26px; left: 6%; bottom: 30%; animation: bh-rise 7s 0s infinite ease-in; }
.bh-header .bh-bubble--2 { width: 14px; height: 14px; left: 9%; bottom: 20%; animation: bh-rise 6s 1.6s infinite ease-in; }
.bh-header .bh-bubble--3 { width: 20px; height: 20px; right: 22%; bottom: 25%; animation: bh-rise 8s .8s infinite ease-in; }
.bh-header .bh-bubble--4 { width: 11px; height: 11px; right: 30%; bottom: 35%; animation: bh-rise 6.5s 2.4s infinite ease-in; }
.bh-deco { position: absolute; }
.bh-deco--star { width: 34px; left: 30%; top: 18px; fill: var(--bh-sun); stroke: var(--bh-ink); stroke-width: 1.6; stroke-linejoin: round; transform: rotate(-12deg); animation: bh-bob 4s ease-in-out infinite; }
.bh-deco--star2 { width: 22px; right: 33%; top: 40px; fill: var(--bh-pink); stroke: var(--bh-ink); stroke-width: 1.8; stroke-linejoin: round; animation: bh-bob 5s 1s ease-in-out infinite; }
.bh-deco--swirl { width: 140px; right: 6%; top: 10px; stroke: var(--bh-sky); opacity: .55; }

.bh-header__top {
	position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
	padding-top: 20px; padding-bottom: 14px;
}
.bh-header__side { display: flex; align-items: center; gap: 10px; }
.bh-header__side--right { justify-content: flex-end; }
.bh-header__brand { text-align: center; }
.bh-burger, .bh-search-toggle { display: none; }

.bh-logo { margin: 0; font: inherit; line-height: 1; }
.bh-logo a { display: inline-flex; align-items: center; gap: 8px; color: var(--bh-ink); }
.bh-logo__name { display: inline-flex; align-items: baseline; font: 800 clamp(34px, 3.6vw, 52px)/1 var(--bh-head); letter-spacing: 0; }
.bh-logo__l { display: inline-block; text-shadow: 0 3px 0 var(--bh-ink); -webkit-text-stroke: 1.5px var(--bh-ink); paint-order: stroke fill; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.bh-logo__l--0 { color: var(--bh-coral); transform: rotate(-6deg); }
.bh-logo__l--1 { color: var(--bh-sun); transform: translateY(-2px) rotate(4deg); }
.bh-logo__l--2 { color: var(--bh-teal); transform: rotate(-3deg); }
.bh-logo__l--3 { color: var(--bh-pink); transform: translateY(2px) rotate(5deg); }
.bh-logo__l--4 { color: var(--bh-sky); transform: rotate(-5deg); }
.bh-logo__l--5 { color: var(--bh-lime); transform: translateY(-1px) rotate(3deg); }
.bh-logo__dash { color: var(--bh-ink); margin: 0 1px; }
.bh-logo a:hover .bh-logo__l { transform: translateY(-4px) rotate(0); }
.bh-logo a:hover .bh-logo__l:nth-child(2n) { transform: translateY(2px) rotate(0); }
.bh-mark { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); overflow: visible; }
.bh-logo a:hover .bh-mark { transform: translateX(4px) rotate(-8deg); }
.bh-logo--image img { max-height: 80px; width: auto; }
.bh-tagline { margin: 8px 0 0; font: 800 13px/1.2 var(--bh-body); letter-spacing: .08em; text-transform: uppercase; color: var(--bh-ocean-2); }

.bh-social { display: flex; align-items: center; gap: 8px; }
.bh-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bh-ink); background: #fff; color: var(--bh-ink); transition: background .2s, transform .2s; }
.bh-social a:hover { background: var(--bh-sun); color: var(--bh-ink); transform: rotate(-8deg); }

.bh-search { position: relative; display: flex; align-items: center; }
.bh-search__input {
	width: 100%; min-width: 0; height: 48px; padding: 0 54px 0 20px;
	border: var(--bh-border); border-radius: 999px; background: var(--bh-white);
	font: 700 15px var(--bh-body); color: var(--bh-ink); transition: box-shadow .2s;
}
.bh-search__input::placeholder { color: var(--bh-muted); }
.bh-search__input:focus { outline: none; box-shadow: 0 0 0 4px rgba(77, 157, 255, .35); }
.bh-search__btn { position: absolute; right: 5px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border: 2px solid var(--bh-ink); border-radius: 50%; display: grid; place-items: center; background: var(--bh-sun); color: var(--bh-ink); cursor: pointer; }
.bh-search__btn:hover { background: var(--bh-coral); color: #fff; }
.bh-header__search { width: 240px; }

/* Rovatsáv: fehér „buborékcsík” színes figurákkal */
.bh-nav { position: relative; padding-bottom: 10px; }
.bh-nav__list {
	list-style: none; margin: 0; padding: 6px; display: flex; justify-content: space-between; gap: 2px;
	background: var(--bh-white); border: var(--bh-border); border-radius: 999px; box-shadow: 0 4px 0 var(--bh-ink);
}
.bh-nav__list > li { position: relative; display: flex; }
.bh-nav__list { align-items: center; }
.bh-nav__list a {
	display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border-radius: 999px;
	font: 700 15.5px/1 var(--bh-head); color: var(--bh-ink); white-space: nowrap; transition: background .2s;
}
.bh-nav__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--c) 26%, #fff); transition: transform .3s; }
.bh-nav__list > li { --c: var(--bh-sun); }
.bh-nav__list a:hover, .bh-nav__list > li:focus-within > a { background: color-mix(in srgb, var(--c) 22%, #fff); color: var(--bh-ink); }
.bh-nav__list a:hover .bh-nav__ico { animation: bh-wiggle .6s ease; }
.bh-nav__list .current-menu-item > a,
.bh-nav__list .current-menu-ancestor > a,
.bh-nav__list .current-category-ancestor > a { background: var(--c); color: var(--bh-ink); }
.bh-nav__list .current-menu-item > a .bh-nav__ico { background: #fff; }
.bh-nav__more { min-height: 46px; padding-left: 16px !important; }
.bh-nav__chev { transition: transform .2s; }
.bh-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: calc(100% + 10px); z-index: 20;
	min-width: 250px; background: var(--bh-white); border-radius: 22px; border: var(--bh-border); box-shadow: 0 6px 0 var(--bh-ink);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.bh-nav .sub-menu a { display: flex; width: 100%; padding: 6px 12px 6px 6px; font-size: 16.5px; }
.bh-nav__list > li:hover > .sub-menu,
.bh-nav__list > li:focus-within > .sub-menu,
.bh-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bh-nav__list > li:hover .bh-nav__chev, .bh-nav__list > li.is-open .bh-nav__chev { transform: rotate(180deg); }
.bh-header.is-stuck .bh-nav__list { box-shadow: 0 4px 0 var(--bh-ink), 0 16px 30px -18px rgba(23, 61, 143, .6); }

/* Olvasási csík: szivárvány */
.bh-progress { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 1001; pointer-events: none; }
.admin-bar .bh-progress { top: 32px; }
.bh-progress span {
	display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--bh-p, 0)); border-radius: 0 6px 6px 0;
	background: linear-gradient(90deg, var(--bh-coral), var(--bh-orange), var(--bh-sun), var(--bh-lime), var(--bh-teal), var(--bh-sky), var(--bh-grape));
}

/* Mobil fiók */
.bh-drawer { position: fixed; inset: 0; z-index: 1500; }
.bh-drawer[hidden] { display: none; }
.bh-drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 47, 110, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.bh-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(390px, 90vw); overflow-y: auto;
	padding: 18px 18px 32px; background: var(--bh-bg); border-right: var(--bh-border);
	transform: translateX(-102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	display: flex; flex-direction: column; gap: 16px;
}
.bh-drawer.is-open .bh-drawer__backdrop { opacity: 1; }
.bh-drawer.is-open .bh-drawer__panel { transform: none; }
.bh-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bh-drawer__head .bh-logo__name { font-size: 30px; }
.bh-drawer__head .bh-mark { width: 46px; height: 41px; }
.bh-drawer__cta { justify-content: center; }
.bh-drawer__label { margin: 6px 0 -6px; font: 800 13px var(--bh-head); letter-spacing: .1em; text-transform: uppercase; color: var(--bh-muted); }
.bh-drawer__nav .bh-nav__list { flex-direction: column; align-items: stretch; padding: 0; gap: 4px; background: none; border: 0; box-shadow: none; border-radius: 0; }
.bh-drawer__nav .bh-nav__list > li { display: block; }
.bh-drawer__nav .bh-nav__list a { display: flex; width: 100%; padding: 6px 12px 6px 6px; border-radius: 18px; font-size: 18px; }
.bh-drawer__nav .bh-nav__ico { width: 42px; height: 42px; border: 2px solid var(--bh-ink); }
.bh-drawer__nav .sub-menu { list-style: none; padding: 0 0 0 18px; margin: 0; }
.bh-drawer__nav .bh-nav__chev { display: none; }
.bh-drawer__links { list-style: none; margin: 0; padding: 14px 0 0; border-top: 2px dashed var(--bh-line-2); display: grid; gap: 4px; }
.bh-drawer__links:empty { display: none; }
.bh-drawer__links a { display: block; padding: 8px 14px; color: var(--bh-text); font-weight: 700; }
body.bh-lock { overflow: hidden; }

/* ---------- Kiemelt lapozó ---------- */
.bh-hero { position: relative; z-index: 2; padding: 50px 0 20px; }
.bh-hero__track { display: grid; }
.bh-slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 72px);
	opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.bh-slide.is-active { opacity: 1; visibility: visible; }
.bh-slide__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.bh-slide__text > * { transform: translateY(16px); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.bh-slide.is-active .bh-slide__text > * { transform: none; opacity: 1; }
.bh-slide.is-active .bh-slide__text > :nth-child(2) { transition-delay: .06s; }
.bh-slide.is-active .bh-slide__text > :nth-child(3) { transition-delay: .12s; }
.bh-slide.is-active .bh-slide__text > :nth-child(4) { transition-delay: .18s; }
.bh-slide.is-active .bh-slide__text > :nth-child(5) { transition-delay: .24s; }
.bh-slide__text .bh-cat { font-size: 16px; padding: 4px 14px 4px 5px; }
.bh-slide__text .bh-cat .bh-art { width: 30px; height: 30px; }
.bh-slide__title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; }
.bh-slide__title a { color: var(--bh-ink); background: linear-gradient(color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c) 55%, transparent)) 0 88% / 0 .3em no-repeat; transition: background-size .45s; }
.bh-slide__title a:hover { background-size: 100% .3em; color: var(--bh-ink); }
.bh-slide__excerpt { margin: 0; font-size: 19px; color: var(--bh-text); max-width: 34em; }
.bh-slide__media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 14px 18px 10px 4px; }
.bh-slide__blob {
	position: absolute; inset: -6% -5% -8% -6%; z-index: 0;
	background: var(--c); border: var(--bh-border);
	border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; transform: rotate(-6deg);
}
.bh-slide__pic { position: absolute; inset: 0; z-index: 1; display: block; border-radius: 34px; overflow: hidden; border: 3px solid var(--bh-ink); box-shadow: 8px 8px 0 var(--bh-ink); transform: rotate(1.5deg); background: #fff; }
.bh-slide__pic .bh-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.bh-slide__media:hover .bh-slide__pic .bh-img { transform: scale(1.04); }
.bh-slide__sticker { position: absolute; z-index: 3; left: -26px; bottom: -22px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: #fff; border: var(--bh-border); box-shadow: 0 5px 0 var(--bh-ink); animation: bh-bob 4.5s ease-in-out infinite; }
.bh-slide__foot .bh-meta { color: var(--bh-muted); }
.bh-hero__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.bh-hero__dots { display: flex; gap: 10px; }
.bh-hero__dot { width: 62px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.bh-hero__dot span { position: relative; display: block; width: 100%; height: 12px; border-radius: 12px; background: #fff; border: 2px solid var(--bh-ink); overflow: hidden; }
.bh-hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--bh-sun); transform: scaleX(0); transform-origin: 0 50%; }
.bh-hero__dot:nth-child(2) span::after { background: var(--bh-teal); }
.bh-hero__dot:nth-child(3) span::after { background: var(--bh-pink); }
.bh-hero__dot:nth-child(4) span::after { background: var(--bh-sky); }
.bh-hero__dot.is-done span::after { transform: scaleX(1); }
.bh-hero__dot.is-active span::after { animation: bh-fill var(--bh-slide-ms, 7000ms) linear forwards; }
.bh-hero.is-paused .bh-hero__dot.is-active span::after { animation-play-state: paused; }
.bh-hero.no-auto .bh-hero__dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes bh-fill { to { transform: scaleX(1); } }
.bh-hero__arrows { display: flex; gap: 12px; }

/* ---------- Szekciók ---------- */
.bh-main { display: block; }
.bh-section { padding-top: clamp(52px, 6vw, 86px); }
.bh-shead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 30px; }
.bh-shead__title { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(30px, 3.4vw, 46px); margin-right: auto; }
.bh-shead .bh-tile { box-shadow: 0 4px 0 var(--bh-ink); transform: rotate(-6deg); }
.bh-shead .bh-tile .bh-icon { width: 28px; height: 28px; }
.bh-shead__text { position: relative; padding-bottom: 8px; }
.bh-squiggle { position: absolute; left: 0; bottom: -4px; width: 100%; height: 12px; fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round; }
.bh-shead__intro { flex-basis: 100%; margin: -4px 0 0; color: var(--bh-muted); font-weight: 700; max-width: 40em; }
.bh-more {
	display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 18px; border-radius: 999px;
	border: var(--bh-border); background: #fff; color: var(--bh-ink); box-shadow: 0 3px 0 var(--bh-ink);
	font: 800 15px/1 var(--bh-head); transition: background .2s, transform .15s, box-shadow .15s;
}
.bh-more__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 2px solid var(--bh-ink); transition: transform .3s; }
.bh-more:hover { background: color-mix(in srgb, var(--c) 25%, #fff); color: var(--bh-ink); transform: translateY(-2px); box-shadow: 0 5px 0 var(--bh-ink); }
.bh-more:hover .bh-more__dot { transform: translateX(3px); }

.bh-grid { display: grid; gap: 26px; }
.bh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Kártyák: matricák színes árnyékkal ---------- */
.bh-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--bh-white); border: var(--bh-border); border-radius: var(--bh-radius); overflow: hidden; isolation: isolate;
	box-shadow: 6px 6px 0 var(--c);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.bh-card:hover { transform: translate(-3px, -4px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--c); }
.bh-grid > .bh-card:nth-child(even):hover { transform: translate(-3px, -4px) rotate(.6deg); }
.bh-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: color-mix(in srgb, var(--c) 25%, #fff); border-bottom: var(--bh-border); }
.bh-card__media .bh-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bh-card:hover .bh-card__media .bh-img { transform: scale(1.06); }
.bh-img--empty {
	display: grid !important; place-items: center; width: 100%; height: 100%;
	background:
		radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .9) 0 7px, transparent 8px) 0 0 / 70px 70px,
		radial-gradient(circle at 60% 70%, rgba(255, 255, 255, .7) 0 4px, transparent 5px) 0 0 / 50px 50px,
		color-mix(in srgb, var(--c) 35%, #fff);
}
.bh-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 16px; }
.bh-card__title { font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--bh-ink); }
.bh-card__link { color: inherit; }
.bh-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bh-card__link:hover { color: var(--bh-ink); }
.bh-card:hover .bh-card__title { text-decoration: underline wavy color-mix(in srgb, var(--c) 80%, var(--bh-ink)); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bh-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--bh-line-2); }
.bh-card__foot .bh-meta { font-size: 13.5px; }
.bh-card__excerpt { margin: 0; }

/* Kiemelt kártya: a rovat színében */
.bh-card--feature { background: color-mix(in srgb, var(--c) 22%, #fff); box-shadow: 8px 8px 0 var(--bh-ink); }
.bh-card--feature:hover { box-shadow: 12px 12px 0 var(--bh-ink); }
.bh-card--feature .bh-card__media { aspect-ratio: 16 / 10; }
.bh-card--feature .bh-card__body { padding: 24px 28px; gap: 14px; }
.bh-card--feature .bh-cat { background: #fff; }
.bh-card--feature .bh-card__title { font-size: clamp(25px, 2.4vw, 34px); font-weight: 800; line-height: 1.1; }
.bh-card--feature .bh-card__excerpt { font-size: 17px; color: var(--bh-text); }
.bh-card--feature .bh-card__foot { border-color: color-mix(in srgb, var(--c) 60%, var(--bh-ink)); }

/* Vízszintes kártya */
.bh-card--row { flex-direction: row; }
.bh-card--row .bh-card__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 150px; border-bottom: 0; border-right: var(--bh-border); }
.bh-card--row .bh-card__title { font-size: 19.5px; }
.bh-card--row .bh-card__body { padding: 16px 18px 14px; }

/* Óceán-blokkba */
.bh-card--dark { box-shadow: 6px 6px 0 var(--bh-deep); }
.bh-card--dark:hover { box-shadow: 10px 10px 0 var(--bh-deep); }

/* Osztott (archívum-nyitó) kártya */
.bh-card--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: 34px; background: color-mix(in srgb, var(--c) 20%, #fff); box-shadow: 10px 10px 0 var(--bh-ink); }
.bh-card--split:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--bh-ink); }
.bh-card--split .bh-card__media { order: 2; aspect-ratio: auto; min-height: 420px; border-bottom: 0; border-left: var(--bh-border); }
.bh-card--split .bh-card__body { padding: clamp(26px, 4vw, 50px); justify-content: center; gap: 18px; }
.bh-card--split .bh-card__top .bh-cat { background: #fff; }
.bh-card--split .bh-card__title { font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.06; }
.bh-card--split .bh-card__excerpt { font-size: 18px; }
.bh-card--split .bh-card__foot { border: 0; padding: 0; margin-top: 6px; }
.bh-card__go { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bh-sun); border: var(--bh-border); box-shadow: 0 4px 0 var(--bh-ink); transition: transform .3s; }
.bh-card--split:hover .bh-card__go { transform: rotate(45deg); }

/* Mini (oldalsáv) */
.bh-card--mini { flex-direction: row; align-items: center; gap: 14px; background: transparent; border: 0; border-radius: 16px; overflow: visible; box-shadow: none; }
.bh-card--mini:hover { transform: none; box-shadow: none; }
.bh-card--mini .bh-card__media { flex: 0 0 84px; aspect-ratio: 1; border-radius: 20px; border: 2px solid var(--bh-ink); box-shadow: 3px 3px 0 var(--c); }
.bh-card--mini .bh-card__body { padding: 0; gap: 4px; }
.bh-card--mini .bh-card__title { font-size: 17px; line-height: 1.25; }

/* ---------- Rovatblokkok ---------- */
.bh-block { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; }
.bh-block__rest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-content: start; }
.bh-block--mosaic-rev > .bh-card--feature { order: 2; }
.bh-block > .bh-card--feature .bh-card__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 280px; }
.bh-block > .bh-card--feature .bh-card__media .bh-img { position: absolute; inset: 0; }
.bh-block > .bh-card--feature .bh-card__body { flex: none; }
.bh-block--n2 .bh-block__rest > *, .bh-block--n4 .bh-block__rest > :first-child { grid-column: 1 / -1; }
.bh-block--n2 .bh-block__rest .bh-card__media, .bh-block--n4 .bh-block__rest > :first-child .bh-card__media { aspect-ratio: 21 / 9; }
.bh-block--list .bh-block__rest { grid-template-columns: 1fr; gap: 20px; }
.bh-block--list.bh-block--n2 .bh-block__rest .bh-card__media { aspect-ratio: auto; }

/* Rovat-figurák csapata */
.bh-topics { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.bh-topic {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%;
	padding: 16px 12px 14px; border-radius: 28px; background: #fff; border: var(--bh-border); box-shadow: 0 6px 0 var(--c);
	transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s, background .25s;
}
.bh-topic__art { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 8px; border-radius: 50%; background: color-mix(in srgb, var(--c) 28%, #fff); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.bh-topic__name { font: 800 19px/1.15 var(--bh-head); color: var(--bh-ink); }
.bh-topic__count { font-size: 13.5px; font-weight: 800; color: var(--bh-muted); }
.bh-topic:hover { transform: translateY(-6px); box-shadow: 0 10px 0 var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--bh-ink); }
.bh-topic:hover .bh-topic__art { animation: bh-wiggle .7s ease; }
.bh-topics li:nth-child(odd) .bh-topic__art { transform: rotate(-4deg); }
.bh-topics li:nth-child(even) .bh-topic__art { transform: rotate(4deg); }

/* ---------- Óceán: „Merülj el!” ---------- */
.bh-ocean {
	position: relative; margin-top: clamp(80px, 9vw, 130px); margin-bottom: 60px; padding: clamp(46px, 6vw, 80px) 0 clamp(54px, 6vw, 90px);
	color: rgba(255, 255, 255, .9); isolation: isolate;
	background: linear-gradient(180deg, var(--bh-ocean-1) 0%, var(--bh-ocean-2) 55%, var(--bh-ocean-3) 100%);
}
.bh-ocean .bh-wave--top { bottom: calc(100% - 1px); height: 46px; fill: var(--bh-ocean-1); }
.bh-ocean .bh-wave--bottom { top: calc(100% - 1px); height: 46px; fill: var(--bh-ocean-3); }
.bh-ocean__deco { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.bh-ocean .bh-bubble--1 { width: 30px; height: 30px; left: 8%; bottom: 10%; animation: bh-rise 8s infinite ease-in; }
.bh-ocean .bh-bubble--2 { width: 16px; height: 16px; left: 12%; bottom: 5%; animation: bh-rise 6s 1.2s infinite ease-in; }
.bh-ocean .bh-bubble--3 { width: 22px; height: 22px; right: 10%; bottom: 14%; animation: bh-rise 7s .4s infinite ease-in; }
.bh-ocean .bh-bubble--4 { width: 12px; height: 12px; right: 16%; bottom: 8%; animation: bh-rise 5.5s 2s infinite ease-in; }
.bh-ocean .bh-bubble--5 { width: 18px; height: 18px; left: 48%; bottom: 4%; animation: bh-rise 9s 3s infinite ease-in; }
.bh-ocean__fish { position: absolute; top: 34px; left: 0; animation: bh-swim 38s linear infinite; }
.bh-ocean__weed { position: absolute; bottom: -10px; width: 34px; stroke: var(--bh-teal); transform-origin: 50% 100%; animation: bh-sway 4s ease-in-out infinite; }
.bh-ocean__weed--1 { left: 3%; height: 150px; }
.bh-ocean__weed--2 { right: 4%; height: 120px; stroke: var(--bh-lime); animation-delay: 1s; }
.bh-ocean__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.bh-ocean__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 16px; border-radius: 999px; background: var(--bh-sun); color: var(--bh-ink); border: var(--bh-border); font: 800 15px var(--bh-head); box-shadow: 0 3px 0 var(--bh-ink); transform: rotate(-2deg); }
.bh-ocean__title { color: #fff; font-size: clamp(42px, 5.5vw, 76px); text-shadow: 0 5px 0 var(--bh-deep); }
.bh-ocean__head p { margin: 12px auto 0; max-width: 36em; font-size: 18.5px; font-weight: 700; }

/* ---------- Bibó felhívása ---------- */
.bh-cta {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 44px;
	padding: clamp(28px, 4vw, 46px) clamp(24px, 4vw, 56px); border-radius: 40px;
	background:
		radial-gradient(circle at 100% 0, rgba(255, 255, 255, .55) 0 90px, transparent 91px),
		radial-gradient(circle at 0 100%, rgba(255, 159, 61, .35) 0 120px, transparent 121px),
		var(--bh-sun);
	overflow: hidden;
	border: var(--bh-border); box-shadow: 0 8px 0 var(--bh-ink);
}
.bh-cta__art { position: relative; width: 210px; height: 160px; }
.bh-cta__fish { position: absolute; left: 20px; top: 10px; animation: bh-bob 4s ease-in-out infinite; }
.bh-cta__friend { position: absolute; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2.5px solid var(--bh-ink); }
.bh-cta__friend--1 { right: -6px; top: -16px; width: 72px; height: 72px; animation: bh-bob 5s .5s ease-in-out infinite; }
.bh-cta__friend--2 { left: -14px; bottom: -14px; width: 62px; height: 62px; animation: bh-bob 4.6s 1s ease-in-out infinite; }
.bh-cta__friend--3 { right: 26px; bottom: -22px; width: 60px; height: 60px; animation: bh-bob 5.4s 1.5s ease-in-out infinite; }
.bh-cta h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 8px; }
.bh-cta p { margin: 0; font-size: 18.5px; font-weight: 700; color: var(--bh-ink); max-width: 36em; }

/* Hirdetés */
.bh-ad { margin: 40px auto 0; text-align: center; }
.bh-ad .bh-box { border: 0; padding: 0; background: none; box-shadow: none; }

/* ---------- Archívum ---------- */
.bh-arch-head { position: relative; z-index: 2; padding: 44px 0 10px; }
.bh-arch-head__row { display: flex; align-items: center; gap: 26px; }
.bh-arch-head .bh-tile--xl { transform: rotate(-6deg); }
.bh-arch-head__title { font-size: clamp(38px, 5vw, 68px); }
.bh-arch-head__desc { max-width: 46em; margin-top: 8px; font-size: 18.5px; font-weight: 600; }
.bh-arch-head__desc p:last-child { margin: 0; }
.bh-arch-head__count { display: inline-block; margin: 10px 0 0; padding: 4px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--bh-ink); font: 800 14px var(--bh-head); color: var(--bh-ink); }
.bh-arch-head__search { margin-top: 26px; max-width: 560px; }
.bh-arch-head__search .bh-search__input { height: 58px; font-size: 17px; }
.bh-pills { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bh-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px 3px 4px; border-radius: 999px;
	background: #fff; border: 2px solid var(--bh-ink); color: var(--bh-ink);
	font: 700 15px/1 var(--bh-head); transition: background .2s, transform .2s;
}
.bh-pill .bh-art { width: 28px; height: 28px; }
.bh-pill:hover { background: color-mix(in srgb, var(--c) 30%, #fff); color: var(--bh-ink); transform: rotate(-2deg); }
.bh-pill.is-active { background: var(--c); box-shadow: 0 3px 0 var(--bh-ink); }
.bh-arch { padding-top: 46px; }
.bh-arch__lead { margin-bottom: 34px; }
.bh-pager { margin-top: 54px; }
.bh-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bh-pager .page-numbers { display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 12px; border-radius: 999px; border: var(--bh-border); background: #fff; color: var(--bh-ink); font: 800 18px var(--bh-head); box-shadow: 0 3px 0 var(--bh-ink); }
.bh-pager a.page-numbers:hover { background: var(--bh-aqua); }
.bh-pager .page-numbers.current { background: var(--bh-sun); }
.bh-pager .dots { border: 0; box-shadow: none; background: none; }
.bh-empty { text-align: center; max-width: 520px; margin: 20px auto; }
.bh-empty .bh-mark { animation: bh-bob 4s ease-in-out infinite; }
.bh-empty h2 { margin: 16px 0 8px; }

/* Morzsamenü */
.bh-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 20px; font-size: 14.5px; font-weight: 700; color: var(--bh-muted); }
.bh-crumbs a { display: inline-flex; align-items: center; gap: 5px; color: var(--bh-ocean-2); }
.bh-crumbs a:hover { color: var(--bh-coral-2); text-decoration: underline wavy; }
.bh-crumbs__sep { display: inline-flex; opacity: .5; }

/* ---------- Cikk ---------- */
.bh-post { padding-top: 40px; }
.bh-post-hero {
	--c2: color-mix(in srgb, var(--c) 24%, #fff);
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 36px; overflow: hidden;
	background: var(--c2); border: var(--bh-border); box-shadow: 10px 10px 0 var(--c);
}
.bh-post-hero--noimg { grid-template-columns: 1fr; }
.bh-post-hero__media { position: relative; margin: 0; min-height: 480px; background: #fff; border-right: var(--bh-border); }
.bh-post-hero__media .bh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-post-hero__media figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 6px 14px; border-radius: 999px; background: rgba(20, 47, 110, .7); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(4px); }
.bh-post-hero__panel {
	position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 52px);
	background:
		radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .85) 0 9px, transparent 10px),
		radial-gradient(circle at 84% 22%, rgba(255, 255, 255, .7) 0 5px, transparent 6px),
		radial-gradient(circle at 96% 28%, rgba(255, 255, 255, .6) 0 4px, transparent 5px);
}
.bh-post-hero__cat .bh-cat { font-size: 16px; padding: 4px 14px 4px 5px; background: #fff; }
.bh-post-hero__cat .bh-cat .bh-art { width: 32px; height: 32px; }
.bh-post-hero__title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
.bh-post-hero__lead { margin: 0; font-size: 19px; color: var(--bh-text); }
.bh-byline { display: flex; align-items: center; gap: 12px; }
.bh-byline__avatar { width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--bh-ink); }
.bh-avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--bh-sun), var(--bh-coral)); color: var(--bh-ink); font-family: var(--bh-head); font-weight: 800; }
.bh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bh-byline > div { display: flex; flex-direction: column; gap: 2px; }
.bh-byline__by { font-size: 15px; font-weight: 800; color: var(--bh-ink); }
.bh-byline__by a { color: var(--bh-ocean-2); }
.bh-byline__meta { display: flex; gap: 8px; font-size: 14px; font-weight: 700; color: var(--bh-muted); }

.bh-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bh-share__copy { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; border: 2px solid var(--bh-ink); background: #fff; color: var(--bh-ink); font: 800 14.5px var(--bh-head); box-shadow: 0 3px 0 var(--bh-ink); transition: background .2s, transform .15s; }
.bh-share__copy.is-done { background: var(--bh-lime); }
.bh-share__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--bh-ink); background: #fff; color: var(--bh-ink); box-shadow: 0 3px 0 var(--bh-ink); transition: background .2s, transform .15s; }
.bh-share__btn:hover, .bh-share__copy:hover { background: var(--bh-sun); color: var(--bh-ink); transform: translateY(-2px); }

.bh-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); margin-top: 56px; align-items: start; }
.bh-post-main { min-width: 0; max-width: 780px; }

/* Tartalomjegyzék: füzetlap */
.bh-toc-box {
	margin-bottom: 38px; border-radius: 24px; border: var(--bh-border); box-shadow: 6px 6px 0 var(--bh-sky);
	background: repeating-linear-gradient(transparent 0 37px, rgba(77, 157, 255, .22) 37px 39px), #fff;
}
.bh-toc-box summary { display: flex; align-items: center; gap: 10px; padding: 16px 22px; cursor: pointer; list-style: none; font: 800 20px var(--bh-head); color: var(--bh-ink); }
.bh-toc-box summary::-webkit-details-marker { display: none; }
.bh-toc-box__chev { margin-left: auto; transition: transform .2s; }
.bh-toc-box[open] .bh-toc-box__chev { transform: rotate(180deg); }
.bh-toc__title { display: none; }
.bh-toc ol { counter-reset: bh-toc; list-style: none; margin: 0; padding: 0 22px 18px; display: grid; gap: 4px; }
.bh-toc li { counter-increment: bh-toc; }
.bh-toc a { display: flex; gap: 12px; padding: 6px 0; color: var(--bh-text); font-weight: 800; line-height: 1.35; }
.bh-toc a::before { content: counter(bh-toc); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bh-sun); color: var(--bh-ink); font: 800 14px var(--bh-head); border: 2px solid var(--bh-ink); }
.bh-toc li:nth-child(4n+2) a::before { background: var(--bh-pink); }
.bh-toc li:nth-child(4n+3) a::before { background: var(--bh-teal); }
.bh-toc li:nth-child(4n+4) a::before { background: var(--bh-sky); }
.bh-toc a:hover { color: var(--bh-coral-2); }

/* Szövegtörzs */
.bh-content { font-size: 19.5px; line-height: 1.75; color: var(--bh-text); overflow-wrap: break-word; }
.bh-content > *:first-child { margin-top: 0; }
.bh-content p { margin: 0 0 1.25em; }
.bh-post .bh-content > p:first-of-type { font-size: 21.5px; line-height: 1.65; color: var(--bh-ink); font-weight: 600; }
.bh-content h2, .bh-content h3, .bh-content h4 { margin: 1.8em 0 .55em; scroll-margin-top: 110px; }
.bh-content h2 { font-size: clamp(27px, 2.7vw, 36px); }
.bh-content h2::after { content: ""; display: block; width: 80px; height: 10px; margin-top: 6px; background: radial-gradient(circle, var(--bh-coral) 4px, transparent 4.5px) 0 50% / 16px 10px repeat-x; }
.bh-content h2:nth-of-type(3n+2)::after { background-image: radial-gradient(circle, var(--bh-teal) 4px, transparent 4.5px); }
.bh-content h2:nth-of-type(3n+3)::after { background-image: radial-gradient(circle, var(--bh-grape) 4px, transparent 4.5px); }
.bh-content h3 { font-size: clamp(22px, 2.1vw, 26px); font-weight: 800; }
.bh-content h4 { font-size: 20px; font-weight: 800; }
.bh-content a { color: var(--bh-ocean-2); font-weight: 700; text-decoration: underline; text-decoration-color: var(--bh-sky); text-decoration-thickness: 2.5px; text-underline-offset: 4px; }
.bh-content a:hover { color: var(--bh-coral-2); text-decoration-style: wavy; text-decoration-color: var(--bh-coral); }
.bh-content ul, .bh-content ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.bh-content li { margin-bottom: .45em; padding-left: .2em; }
.bh-content ul { list-style: none; padding-left: 1.6em; }
.bh-content ul > li { position: relative; }
.bh-content ul > li::before { content: ""; position: absolute; left: -1.3em; top: .55em; width: 13px; height: 13px; border-radius: 50%; background: var(--bh-sun); border: 2px solid var(--bh-ink); }
.bh-content ul > li:nth-child(3n+2)::before { background: var(--bh-pink); }
.bh-content ul > li:nth-child(3n+3)::before { background: var(--bh-teal); }
.bh-content ol > li::marker { color: var(--bh-coral-2); font-family: var(--bh-head); font-weight: 800; }
.bh-content strong { color: var(--bh-ink); font-weight: 800; }
.bh-content mark { background: linear-gradient(transparent 45%, var(--bh-sun) 45%); color: inherit; padding: 0 2px; }
.bh-content blockquote, .bh-content .wp-block-quote {
	position: relative; margin: 2em 0; padding: 26px 30px 24px 92px; border-radius: 30px;
	background: var(--bh-aqua); border: var(--bh-border); box-shadow: 6px 6px 0 var(--bh-sky);
	font: 600 21px/1.5 var(--bh-head); color: var(--bh-ink);
}
.bh-content blockquote::before {
	content: ""; position: absolute; left: 18px; top: 20px; width: 58px; height: 52px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 64'%3E%3Cg stroke='%2322305a' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M15 37L3 24q2.5 13 0 26z' fill='%2321c7b5'/%3E%3Cpath d='M11 37q10-19 30-17.5Q56 21 60 37q-4 15-19 16.5Q21 55 11 37z' fill='%23ff9b3d'/%3E%3Ccircle cx='45' cy='33' r='6.2' fill='%23fff'/%3E%3Ccircle cx='46.2' cy='33.6' r='3.4' fill='%2322305a' stroke='none'/%3E%3Ccircle cx='64' cy='13' r='3.6' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.bh-content blockquote p:last-child { margin: 0; }
.bh-content blockquote cite { display: block; margin-top: 10px; font: 700 15px var(--bh-body); color: var(--bh-muted); font-style: normal; }
.bh-content img { border-radius: 22px; }
.bh-content figure, .bh-content .wp-caption { margin: 1.8em 0; }
.bh-content figure img, .bh-content .wp-caption img, .bh-content p > img:only-child { border: var(--bh-border); box-shadow: 6px 6px 0 var(--bh-sun); }
.bh-content figcaption, .bh-content .wp-caption-text { margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--bh-muted); text-align: center; line-height: 1.45; }
.bh-content .wp-caption { max-width: 100%; }
.bh-content .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.bh-content .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.bh-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.bh-content hr { border: 0; height: 14px; margin: 2.4em 0; background: radial-gradient(circle, var(--bh-sky) 3px, transparent 3.5px) center / 22px 14px repeat-x; }
.bh-table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 20px; border: var(--bh-border); box-shadow: 5px 5px 0 var(--bh-teal); }
.bh-content table { width: 100%; border-collapse: collapse; font-size: 16.5px; line-height: 1.5; background: #fff; }
.bh-content th, .bh-content td { padding: 12px 16px; text-align: left; border-bottom: 2px dashed var(--bh-line); }
.bh-content th { background: var(--bh-aqua); color: var(--bh-ink); font-family: var(--bh-head); font-size: 17px; }
.bh-content tr:nth-child(even) td { background: #fffaf0; }
.bh-content tr:last-child td { border-bottom: 0; }
.bh-content .wp-block-button__link { background: var(--bh-coral); color: #fff; border-radius: 999px; border: var(--bh-border); text-decoration: none; }
.bh-content pre { overflow-x: auto; padding: 18px; border-radius: 18px; background: var(--bh-deep); color: #e8f4ff; font-size: 15px; }
.bh-content iframe { max-width: 100%; border-radius: 20px; }
.bh-content::after { content: ""; display: table; clear: both; }

/* Cikk lábléc */
.bh-post-foot { margin-top: 46px; display: grid; gap: 28px; }
.bh-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bh-tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--bh-ink); color: var(--bh-ink); font-weight: 800; font-size: 14.5px; }
.bh-tags li:nth-child(4n+1) a { background: color-mix(in srgb, var(--bh-sun) 40%, #fff); }
.bh-tags li:nth-child(4n+2) a { background: color-mix(in srgb, var(--bh-pink) 35%, #fff); }
.bh-tags li:nth-child(4n+3) a { background: color-mix(in srgb, var(--bh-teal) 35%, #fff); }
.bh-tags li:nth-child(4n+4) a { background: color-mix(in srgb, var(--bh-sky) 35%, #fff); }
.bh-tags a:hover { transform: rotate(-3deg); display: inline-block; }
.bh-post-foot__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: 24px; background: var(--bh-sand); border: 2px dashed var(--bh-line-2); }
.bh-post-foot__share > span { font: 800 22px var(--bh-head); color: var(--bh-ink); }
.bh-authorbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 26px; border-radius: 30px; background: #fff; border: var(--bh-border); box-shadow: 6px 6px 0 var(--bh-pink); }
.bh-authorbox__avatar { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--bh-ink); }
.bh-authorbox__label { margin: 0; font: 800 13px var(--bh-head); letter-spacing: .08em; text-transform: uppercase; color: var(--bh-muted); }
.bh-authorbox__name { margin: 2px 0 6px; font: 800 26px var(--bh-head); }
.bh-authorbox__name a { color: var(--bh-ink); }
.bh-authorbox__bio { margin: 0; font-size: 16.5px; }
.bh-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bh-prevnext__item { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; border-radius: 24px; border: var(--bh-border); background: #fff; box-shadow: 0 4px 0 var(--bh-ink); transition: transform .2s, background .2s; }
.bh-prevnext__item:hover { background: var(--bh-aqua); transform: translateY(-3px); color: var(--bh-ink); }
.bh-prevnext__item--next { text-align: right; align-items: flex-end; }
.bh-prevnext__dir { display: inline-flex; align-items: center; gap: 6px; font: 800 13px var(--bh-head); letter-spacing: .06em; text-transform: uppercase; color: var(--bh-muted); }
.bh-prevnext__title { font: 700 18.5px/1.3 var(--bh-head); color: var(--bh-ink); }

/* Oldalsáv */
.bh-sidebar__inner { display: flex; flex-direction: column; gap: 26px; height: 100%; }
.bh-sidebar { align-self: stretch; }
.bh-sidebar__inner > :last-child { position: sticky; top: calc(var(--bh-nav-h, 70px) + 40px); }
.admin-bar .bh-sidebar__inner > :last-child { top: calc(var(--bh-nav-h, 70px) + 72px); }
.bh-box { padding: 22px; border-radius: 28px; background: #fff; border: var(--bh-border); box-shadow: 6px 6px 0 var(--bh-aqua-2); }
.bh-box__title { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; font-size: 23px; }
.bh-box__title .bh-icon { color: var(--bh-coral); }
.bh-box__list { display: grid; gap: 16px; }
.bh-catlist { list-style: none; margin: 0; padding: 0; }
.bh-catlist a { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 2px dashed var(--bh-line); color: var(--bh-ink); font: 700 17px var(--bh-head); }
.bh-catlist li:last-child a { border-bottom: 0; }
.bh-catlist a:hover { color: var(--bh-coral-2); }
.bh-catlist a:hover .bh-tile { animation: bh-wiggle .6s ease; }
.bh-catlist em { margin-left: auto; min-width: 32px; padding: 2px 8px; border-radius: 999px; background: var(--bh-aqua); color: var(--bh-ink); font: 800 13px var(--bh-head); text-align: center; font-style: normal; }
.bh-box--bibo { text-align: center; background: var(--bh-aqua); box-shadow: 6px 6px 0 var(--bh-sky); }
.bh-box--bibo .bh-mark { display: block; margin: 0 auto 6px; animation: bh-bob 4s ease-in-out infinite; }
.bh-box--bibo .bh-box__title { justify-content: center; margin-bottom: 8px; }
.bh-box--bibo p { font-size: 16px; font-weight: 700; }
.bh-widget ul { margin: 0; padding-left: 1.1em; }
.bh-widget li { margin-bottom: 6px; }

/* Hozzászólások */
.bh-comments-wrap { max-width: 900px; }
.bh-comments { margin-top: 70px; padding: clamp(24px, 4vw, 44px); border-radius: 34px; background: var(--bh-sand); border: var(--bh-border); }
.bh-comments__title { display: flex; align-items: center; gap: 12px; font-size: 32px; margin-bottom: 20px; }
.bh-comments__title .bh-icon { color: var(--bh-coral); }
.bh-comments__list, .bh-comments__list .children { list-style: none; margin: 0 0 30px; padding: 0; }
.bh-comments__list .children { margin: 16px 0 0 28px; }
.bh-comments .comment-body { padding: 20px; border-radius: 22px; background: #fff; border: 2px solid var(--bh-ink); margin-bottom: 14px; }
.bh-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--bh-ink); }
.bh-comments .comment-author img { border-radius: 50%; }
.bh-comments .says { display: none; }
.bh-comments .comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.bh-comments .comment-metadata a { color: var(--bh-muted); }
.bh-comments .reply a { font: 800 14px var(--bh-head); color: var(--bh-ocean-2); }
.bh-comments input[type="text"], .bh-comments input[type="email"], .bh-comments input[type="url"], .bh-comments textarea { width: 100%; padding: 13px 16px; border: var(--bh-border); border-radius: 18px; background: #fff; font: 600 16px var(--bh-body); color: var(--bh-ink); }
.bh-comments input:focus, .bh-comments textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(77, 157, 255, .35); }
.bh-comments label { display: block; margin-bottom: 6px; font-weight: 800; font-size: 14.5px; }
.bh-comments .comment-form-cookies-consent label { display: inline; font-weight: 600; }
.bh-comments .form-submit { margin: 0; }

/* Oldal */
.bh-page__body { max-width: 860px; margin: 48px auto 0; }
.bh-page__media { margin: 0 0 32px; }
.bh-page__media .bh-img { border-radius: 30px; width: 100%; height: auto; border: var(--bh-border); }

/* 404 */
.bh-404 { text-align: center; padding: 46px 0 10px; }
.bh-404__art { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 2vw, 24px); }
.bh-404__num { font: 800 clamp(130px, 22vw, 280px)/1 var(--bh-head); color: var(--bh-sun); -webkit-text-stroke: 5px var(--bh-ink); paint-order: stroke fill; text-shadow: 0 10px 0 var(--bh-ink); }
.bh-404__num:last-child { color: var(--bh-teal); }
.bh-404__fish { display: block; width: clamp(120px, 18vw, 220px); animation: bh-bob 4s ease-in-out infinite; }
.bh-404__fish .bh-mark { width: 100%; height: auto; }
.bh-404__title { font-size: clamp(34px, 4.2vw, 56px); margin-top: 14px; }
.bh-404__text { max-width: 36em; margin: 14px auto 26px; font-size: 18.5px; font-weight: 600; }
.bh-404__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.bh-404__actions .bh-search { width: 340px; max-width: 100%; }

/* ---------- Lábléc: mélytenger ---------- */
.bh-footer {
	position: relative; margin-top: clamp(100px, 10vw, 150px); padding: 46px 0 26px;
	background: linear-gradient(180deg, var(--bh-ocean-2), var(--bh-deep) 60%); color: rgba(255, 255, 255, .85);
}
.bh-wave--footer { bottom: calc(100% - 1px); height: 50px; fill: var(--bh-ocean-2); }
.bh-footer__deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bh-footer__fish { position: absolute; left: 0; }
.bh-footer__fish--1 { top: 40px; animation: bh-swim 46s linear infinite; }
.bh-footer__fish--2 { top: 55%; animation: bh-swim 60s -20s linear infinite; opacity: .85; }
.bh-footer .bh-bubble--1 { width: 22px; height: 22px; left: 30%; bottom: 20%; animation: bh-rise 7s infinite ease-in; opacity: .6; }
.bh-footer .bh-bubble--2 { width: 12px; height: 12px; left: 70%; bottom: 30%; animation: bh-rise 6s 1s infinite ease-in; opacity: .6; }
.bh-footer .bh-bubble--3 { width: 16px; height: 16px; left: 88%; bottom: 12%; animation: bh-rise 8s 2s infinite ease-in; opacity: .6; }
.bh-footer__weed { position: absolute; bottom: -10px; width: 30px; height: 130px; transform-origin: 50% 100%; animation: bh-sway 4.5s ease-in-out infinite; opacity: .55; }
.bh-footer__weed--1 { left: 1.5%; stroke: var(--bh-teal); }
.bh-footer__weed--2 { right: 2%; height: 100px; stroke: var(--bh-lime); animation-delay: 1.2s; }
.bh-footer a { color: rgba(255, 255, 255, .9); }
.bh-footer a:hover { color: var(--bh-sun); }
.bh-footer__top { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px; padding-bottom: 34px; border-bottom: 2px dashed rgba(255, 255, 255, .2); }
.bh-footer .bh-logo__name { font-size: 44px; }
.bh-footer .bh-logo__l { text-shadow: 0 3px 0 #0b1c45; -webkit-text-stroke-color: #0b1c45; }
.bh-footer .bh-logo__dash { color: #fff; }
.bh-footer__about { max-width: 580px; margin: 0; font-size: 17px; font-weight: 600; }
.bh-footer__cols { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 38px 0; }
.bh-footer__cols:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.bh-footer__title { margin-bottom: 16px; font-size: 24px; color: #fff; }
.bh-footer__cats, .bh-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bh-footer__cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
.bh-footer__cats a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.bh-footer__cats a:hover .bh-art { animation: bh-wiggle .6s ease; }
.bh-footer__links a { font-weight: 700; }
.bh-footer__text { font-size: 16px; font-weight: 600; }
.bh-footer__mail { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: #fff !important; margin: 16px 0; }
.bh-footer .bh-social { margin-top: 14px; }
.bh-footer .bh-social a { border-color: #fff; background: transparent; color: #fff; }
.bh-footer .bh-social a:hover { background: var(--bh-sun); color: var(--bh-ink); }
.bh-footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 2px dashed rgba(255, 255, 255, .2); font-size: 14.5px; font-weight: 600; }
.bh-footer__bottom p { margin: 0; }
.bh-totop { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 2px solid #fff; font: 800 15px var(--bh-head); }
.bh-totop:hover { background: var(--bh-sun); border-color: var(--bh-sun); color: var(--bh-ink) !important; }

/* ---------- Gutenberg alapok ---------- */
.alignwide { margin-left: -40px; margin-right: -40px; max-width: calc(100% + 80px); }
.wp-block-image.alignfull, .alignfull { margin-left: 0; margin-right: 0; }
.wp-block-separator { border-color: var(--bh-line); }

/* ==========================================================================
   Reszponzív nézetek
   ========================================================================== */
@media (max-width: 1240px) {
	.bh-header__search { width: 200px; }
	.bh-header__social { display: none; }
	.bh-nav .bh-nav__list a { padding-right: 9px; font-size: 14px; gap: 5px; }
	.bh-nav .bh-nav__ico { width: 32px; height: 32px; }
	.bh-nav .bh-nav__ico .bh-art { width: 23px; height: 23px; }
	.bh-post-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.bh-footer__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
	.bh-nav .bh-nav__ico { display: none; }
	.bh-nav .bh-nav__list a { padding: 9px 11px; }
}
@media (max-width: 1000px) {
	.bh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-post-layout { grid-template-columns: 1fr; }
	.bh-post-main { max-width: none; }
	.bh-sidebar__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); height: auto; }
	.bh-sidebar__inner > :last-child { position: static; }
	.bh-footer__cols { grid-template-columns: 1fr 1fr; }
	.bh-footer__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.bh-header { top: 0; }
	.admin-bar .bh-header { top: 0; }
	.bh-header__top { grid-template-columns: auto minmax(0, 1fr) auto; padding-top: 10px; padding-bottom: 8px; gap: 10px; }
	.bh-burger, .bh-search-toggle { display: inline-grid; }
	.bh-header__cta, .bh-header__search, .bh-tagline, .bh-nav { display: none; }
	.bh-logo__name { font-size: 30px; }
	.bh-header .bh-logo .bh-mark { width: 44px; height: 39px; }
	.bh-wave--header { height: 16px; }
	.bh-deco--swirl, .bh-deco--star2 { display: none; }
	.bh-deco--star { left: 22%; top: 6px; width: 22px; }
	.bh-hero { padding: 34px 0 10px; }
	.bh-slide { grid-template-columns: 1fr; gap: 30px; align-items: start; }
	.bh-slide__media { order: -1; aspect-ratio: 16 / 10; margin: 6px 14px 0 10px; }
	.bh-slide__sticker { width: 78px; height: 78px; left: -12px; bottom: -18px; }
	.bh-slide__sticker .bh-art { width: 56px; height: 56px; }
	.bh-slide__title { font-size: clamp(29px, 7vw, 42px); }
	.bh-slide__excerpt { font-size: 17.5px; }
	.bh-block { grid-template-columns: 1fr; }
	.bh-block--mosaic-rev > .bh-card--feature { order: 0; }
	.bh-block > .bh-card--feature .bh-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
	.bh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.bh-card--split { grid-template-columns: 1fr; }
	.bh-card--split .bh-card__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; border-left: 0; border-bottom: var(--bh-border); }
	.bh-post-hero { grid-template-columns: 1fr; border-radius: 28px; }
	.bh-post-hero__media { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: var(--bh-border); }
	.bh-arch-head__row { gap: 16px; }
	.bh-tile--xl { width: 78px; height: 78px; }
	.bh-tile--xl .bh-art { width: 54px; height: 54px; }
	.bh-sidebar__inner > :last-child { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .bh-progress { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 16.5px; }
	.bh-grid--4, .bh-grid--3 { grid-template-columns: 1fr; }
	/* Friss cikkek és „Merülj el!”: kétoszlopos rács, minden kártya látszik (nincs oldalra görgetés). */
	.bh-grid.bh-scroll-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
	.bh-scroll-mobile .bh-card { border-radius: 20px; box-shadow: 4px 4px 0 var(--c); }
	.bh-scroll-mobile .bh-card--dark { box-shadow: 4px 4px 0 var(--bh-deep); }
	.bh-scroll-mobile .bh-card__media { aspect-ratio: 4 / 3; }
	.bh-scroll-mobile .bh-card__body { padding: 10px 11px 10px; gap: 8px; }
	.bh-scroll-mobile .bh-card__title { font-size: 15.5px; line-height: 1.22; }
	.bh-scroll-mobile .bh-card__foot { padding-top: 8px; }
	.bh-scroll-mobile .bh-card__foot .bh-meta { display: none; }
	.bh-scroll-mobile .bh-cat { font-size: 12.5px; padding: 2px 9px 2px 3px; max-width: 100%; }
	.bh-scroll-mobile .bh-cat .bh-art { width: 20px; height: 20px; }
	.bh-scroll-mobile .bh-cat span { overflow: hidden; text-overflow: ellipsis; }
	.bh-card:hover, .bh-grid > .bh-card:nth-child(even):hover { transform: none; }
	.bh-card { box-shadow: 5px 5px 0 var(--c); }
	.bh-block__rest { grid-template-columns: 1fr; gap: 16px; }
	.bh-block__rest .bh-card--grid { flex-direction: row; }
	.bh-block__rest .bh-card--grid .bh-card__media, .bh-card--row .bh-card__media { flex: 0 0 36%; aspect-ratio: auto !important; min-height: 124px; border-bottom: 0; border-right: var(--bh-border); }
	.bh-block__rest .bh-card__title { font-size: 17px; }
	.bh-block__rest .bh-card__body { padding: 12px 14px; gap: 8px; }
	.bh-block__rest .bh-meta { display: none; }
	.bh-block__rest .bh-card__foot { padding-top: 8px; }
	.bh-card--feature .bh-card__body { padding: 20px; }
	/* Rovatfigurák: háromoszlopos rács, az összes rovat egyszerre látszik. */
	.bh-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
	.bh-topic { padding: 10px 3px 9px; border-radius: 20px; border-width: 2px; box-shadow: 0 4px 0 var(--c); }
	.bh-topic__art { width: 58px; height: 58px; margin-bottom: 4px; }
	.bh-topic__art .bh-art { width: 44px; height: 44px; }
	.bh-topic__name { font-size: 13.5px; line-height: 1.1; }
	.bh-topic__count { font-size: 11.5px; }
	.bh-shead { margin-bottom: 22px; }
	.bh-shead__title { gap: 10px; font-size: 29px; }
	.bh-shead .bh-tile { width: 48px; height: 48px; }
	.bh-shead .bh-tile .bh-art { width: 34px; height: 34px; }
	.bh-more { padding: 3px; border-width: 2px; }
	.bh-more > span:first-child { display: none; }
	.bh-hero__dot { width: 42px; }
	.bh-roundbtn { width: 46px; height: 46px; }
	.bh-ocean { margin-top: 90px; }
	.bh-ocean__fish .bh-mark { width: 64px; height: 57px; }
	.bh-cta { border-radius: 30px; }
	.bh-cta__art { transform: scale(.82); margin: -10px 0 -6px; }
	.bh-post-hero { box-shadow: 6px 6px 0 var(--c); }
	.bh-post-hero__panel { gap: 14px; padding: 22px; }
	.bh-content { font-size: 18px; }
	.bh-post .bh-content > p:first-of-type { font-size: 19.5px; }
	.bh-content blockquote { padding: 76px 22px 20px; }
	.bh-content .alignleft, .bh-content .alignright { float: none; margin: 1em auto; max-width: 100%; }
	.bh-prevnext { grid-template-columns: 1fr; }
	.bh-authorbox { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.bh-footer__cols { grid-template-columns: 1fr; gap: 30px; }
	.bh-footer__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-footer .bh-logo__name { font-size: 36px; }
	.bh-404__num { -webkit-text-stroke-width: 3px; text-shadow: 0 6px 0 var(--bh-ink); }
	.alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
	/* „Ez is érdekelhet”: egymás alatti, kompakt lista */
	.bh-grid--related { gap: 14px; }
	.bh-grid--related .bh-card { flex-direction: row; align-items: stretch; border-radius: 22px; }
	.bh-grid--related .bh-card__media { flex: 0 0 110px; aspect-ratio: auto; min-height: 110px; border-bottom: 0; border-right: var(--bh-border); }
	.bh-grid--related .bh-card__body { padding: 12px 14px; gap: 8px; }
	.bh-grid--related .bh-card__title { font-size: 17px; line-height: 1.25; }
	.bh-grid--related .bh-card__foot { padding-top: 8px; gap: 4px 10px; }
	.bh-grid--related .bh-card__foot .bh-meta { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
