/* ==========================================================================
   BBS Group – kiegészítő stílusok (minden más a theme.json-ban van)
   ========================================================================== */

/* Fejléc: tapadó, vékony árnyékkal */
.bbs-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.admin-bar .bbs-header { top: var(--wp-admin--admin-bar--height, 32px); }

.bbs-header .wp-block-navigation-item.current-menu-item > a,
.bbs-header .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--primary);
	box-shadow: inset 0 -2px 0 var(--wp--preset--color--primary);
}

/* Logó: elválasztó vonal + "GROUP" felirat, ha szöveges logót használunk */
.bbs-header .wp-block-site-logo img { max-height: 44px; width: auto; }

/* Felcím (eyebrow) */
.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--xs) !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin-bottom: 0.25rem !important;
}

/* Hero */
.bbs-hero { min-height: clamp(420px, 42vw, 560px); }
.bbs-hero .wp-block-cover__image-background { object-position: 75% center; }
.bbs-hero h1 .bbs-accent,
.bbs-accent { color: var(--wp--preset--color--primary); }
@media (max-width: 781px) {
	.bbs-hero .wp-block-cover__background { background: rgba(244, 247, 251, 0.9) !important; }
}

/* Kártya */
.is-style-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--preset--shadow--card);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.is-style-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(11, 31, 69, 0.05), 0 12px 32px rgba(11, 31, 69, 0.1);
}
.is-style-card > .wp-block-image:first-child { margin: 0; }
.is-style-card > .wp-block-image:first-child img {
	aspect-ratio: 16 / 7;
	object-fit: cover;
	width: 100%;
}

/* Logó csempe (referenciák) */
.is-style-logo-tile,
.bbs-logo-grid .wp-block-post-featured-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
	padding: 1rem;
	margin: 0;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
}
.is-style-logo-tile img,
.bbs-logo-grid .wp-block-post-featured-image img {
	max-height: 52px;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	filter: grayscale(0.15);
}
.bbs-logo-grid .wp-block-post-title {
	margin-top: 0.4rem;
	text-align: center;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

/* Ikonok: <div class="bbs-icon bbs-icon--shield"> */
.bbs-icon {
	display: inline-block;
	width: 2.25rem;
	height: 2.25rem;
	min-height: 0 !important;
	flex: none;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: var(--bbs-icon) center / contain no-repeat;
	mask: var(--bbs-icon) center / contain no-repeat;
}
.bbs-icon--sm { width: 1.75rem; height: 1.75rem; }
.bbs-icon--white { background-color: var(--wp--preset--color--white); }

/* Kör alakú ikonháttér (pl. CTA telefon/e-mail) */
.bbs-icon-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	flex: none;
}
.bbs-icon-circle .bbs-icon { width: 1.4rem; height: 1.4rem; }

/* Lépések (Hogyan dolgozunk?) */
.bbs-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--xs);
}

/* CTA sáv */
.bbs-cta { border-radius: 14px; overflow: hidden; }
.bbs-cta a { color: inherit; }
.bbs-cta .wp-block-button__link { background: var(--wp--preset--color--white); color: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--white); }
.bbs-cta .wp-block-button__link:hover { background: var(--wp--preset--color--surface); }

/* Lábléc linkek */
.bbs-footer a { color: var(--wp--preset--color--muted); }
.bbs-footer a:hover { color: var(--wp--preset--color--primary); }

/* Nyíl a "Részletek" típusú linkek után */
.bbs-more a::after { content: " →"; }

/* Mozgáscsökkentés tisztelete */
@media (prefers-reduced-motion: reduce) {
	.is-style-card, .is-style-card:hover { transition: none; transform: none; }
}


/* Akadálymentes rejtett szöveg (pl. közösségi ikonok felirata) */
.screen-reader-text {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* CTA sáv: minden szöveg fehér */
.bbs-cta, .bbs-cta :is(h1, h2, h3, h4, p) { color: var(--wp--preset--color--white); }
.bbs-cta-big { font-weight: 700; }

/* Hero: a szlogen sor kisebb, mint a "BBS Group" */
.bbs-hero h1 .bbs-accent { font-size: 0.62em; display: inline-block; margin-top: 0.15em; }

/* Reszponzív rácsok: tablet 2 oszlop, mobil 1 (a .bbs-grid--m2 mobilon is 2) */
@media (max-width: 1024px) {
	.is-layout-grid.bbs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.bbs-logo-grid .is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
	.is-layout-grid.bbs-grid { grid-template-columns: minmax(0, 1fr) !important; }
	.is-layout-grid.bbs-grid--m2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.bbs-logo-grid .is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.bbs-header-cta { display: none !important; }
}

/* --- Ikonkészlet --- */
.bbs-icon--shield{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3Z%22/%3E%3Cpath d=%22m8.5 12 2.5 2.5 4.5-5%22/%3E%3C/svg%3E")}
.bbs-icon--users{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%228%22 r=%223.2%22/%3E%3Cpath d=%22M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6%22/%3E%3Ccircle cx=%2217%22 cy=%229%22 r=%222.6%22/%3E%3Cpath d=%22M16 14.2c2.9.4 5 2.8 5 5.8%22/%3E%3C/svg%3E")}
.bbs-icon--diamond{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h12l4 6-10 12L2 9l4-6Z%22/%3E%3Cpath d=%22M2 9h20M9 3l3 18 3-18%22/%3E%3C/svg%3E")}
.bbs-icon--chart{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20V12M10 20V8M15 20v-6M20 20V4%22/%3E%3C/svg%3E")}
.bbs-icon--gear{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3Cpath d=%22M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z%22/%3E%3C/svg%3E")}
.bbs-icon--person{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8%22/%3E%3C/svg%3E")}
.bbs-icon--bell{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 16V11a6 6 0 1 1 12 0v5l2 2H4l2-2Z%22/%3E%3Cpath d=%22M10 21h4%22/%3E%3C/svg%3E")}
.bbs-icon--leaf{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 19C5 10 10 5 20 4c-1 10-6 15-15 15Z%22/%3E%3Cpath d=%22M5 19 13 11%22/%3E%3C/svg%3E")}
.bbs-icon--camera{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%226%22 width=%2213%22 height=%2212%22 rx=%222%22/%3E%3Cpath d=%22m16 10 5-3v10l-5-3%22/%3E%3C/svg%3E")}
.bbs-icon--chat{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v11H9l-5 4V5Z%22/%3E%3Cpath d=%22M8 10h.01M12 10h.01M16 10h.01%22/%3E%3C/svg%3E")}
.bbs-icon--search{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%226.5%22/%3E%3Cpath d=%22m20 20-4.3-4.3%22/%3E%3C/svg%3E")}
.bbs-icon--doc{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 2h9l5 5v15H6V2Z%22/%3E%3Cpath d=%22M14 2v6h6M9 13h8M9 17h8%22/%3E%3C/svg%3E")}
.bbs-icon--phone{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2Z%22/%3E%3C/svg%3E")}
.bbs-icon--mail{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22m3 7 9 6 9-6%22/%3E%3C/svg%3E")}
.bbs-icon--arrow{--bbs-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14M13 6l6 6-6 6%22/%3E%3C/svg%3E")}

/* Szerkesztő: az üres ikon-blokkba a szerkesztő beszúr egy "+" gombot, ezt rejtjük, a méretet rögzítjük */
.editor-styles-wrapper .bbs-icon {
	width: 2.25rem !important;
	height: 2.25rem !important;
	min-height: 0 !important;
	padding: 0 !important;
	overflow: hidden;
}
.editor-styles-wrapper .bbs-icon--sm { width: 1.75rem !important; height: 1.75rem !important; }
.editor-styles-wrapper .bbs-icon-circle .bbs-icon { width: 1.4rem !important; height: 1.4rem !important; }
.editor-styles-wrapper .bbs-icon > * { visibility: hidden !important; }

/* Fejléc: a menü és a gomb ne törjön két sorba */
.bbs-header .wp-block-navigation-item__content,
.bbs-header-cta .wp-block-button__link { white-space: nowrap; }
.bbs-header .wp-block-navigation__container { flex-wrap: nowrap; }
@media (max-width: 1100px) {
	.bbs-header .wp-block-navigation { font-size: 0.875rem; }
	.bbs-header-cta .wp-block-button__link { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* Ajánlatkérő űrlap */
.bbs-form { display: grid; gap: 1rem; }
.bbs-form label { display: grid; gap: 0.35rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.bbs-form input[type="text"], .bbs-form input[type="email"], .bbs-form input[type="tel"], .bbs-form select, .bbs-form textarea {
	width: 100%; box-sizing: border-box; padding: 0.7rem 0.85rem; font: inherit; font-weight: 400;
	color: var(--wp--preset--color--ink); background: var(--wp--preset--color--white);
	border: 1px solid #C9D3E1; border-radius: 8px;
}
.bbs-form :is(input, select, textarea):focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.bbs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .bbs-form-row { grid-template-columns: 1fr; } }
.bbs-form .bbs-check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; color: var(--wp--preset--color--muted); }
.bbs-form .bbs-check input { margin-top: 0.25rem; }
.bbs-form button { cursor: pointer; font-family: inherit; }
.bbs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bbs-form-msg { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 600; }
.bbs-form-msg--success { background: #E7F6EC; color: #17633A; }
.bbs-form-msg--error { background: #FDECEC; color: #9B1C1C; }

/* Listák a tartalmi oldalakon */
.wp-block-list li { margin-bottom: 0.35rem; }
.wp-block-list li::marker { color: var(--wp--preset--color--primary); }

/* Referencia csempe: logó + név; ha nincs logó, a név jelenik meg nagyobban */
.bbs-logo-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
	height: 100%; min-height: 120px; padding: 1rem; box-sizing: border-box;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
}
.bbs-logo-grid .bbs-logo-tile .wp-block-post-featured-image {
	height: 60px; padding: 0; border: 0; background: none;
}
.bbs-logo-grid .bbs-logo-tile .wp-block-post-title { margin: 0; }
.bbs-logo-tile:not(:has(img)) .wp-block-post-title {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	color: var(--wp--preset--color--navy);
}

/* Kiemelt referencia kártya */
.bbs-featured-card { height: 100%; box-sizing: border-box; }
.bbs-featured-card .wp-block-post-featured-image {
	display: flex; align-items: center; justify-content: flex-start;
	height: 64px; margin: 0;
}
.bbs-featured-card .wp-block-post-featured-image img { max-height: 64px; width: auto !important; height: auto !important; object-fit: contain; }
.bbs-featured-card .wp-block-post-title { font-size: var(--wp--preset--font-size--medium); margin: 0; }
.bbs-featured-card .wp-block-post-excerpt { color: var(--wp--preset--color--muted); }
.bbs-featured-card .wp-block-post-excerpt__more-text { display: none; }
@media (max-width: 1024px) {
	.bbs-featured-refs .is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Gyakori kérdések (Részletek blokk) */
.bbs-faq {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--white);
	padding: 0;
	margin-bottom: 0.75rem;
}
.bbs-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 1rem 3rem 1rem 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	position: relative;
}
.bbs-faq summary::-webkit-details-marker { display: none; }
.bbs-faq summary::after {
	content: "+";
	position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
	font-size: 1.4rem; font-weight: 400; color: var(--wp--preset--color--primary);
}
.bbs-faq[open] summary::after { content: "–"; }
.bbs-faq > :not(summary) { padding: 0 1.25rem 1rem; margin: 0; color: var(--wp--preset--color--muted); }

/* Kártyacím linkként */
.is-style-card h3 a { color: inherit; }
.is-style-card h3 a:hover { color: var(--wp--preset--color--primary); text-decoration: none; }

/* Balance és Baldur logók */
.bbs-header-brands {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-left: 0.85rem;
	margin-left: 0.15rem;
	border-left: 1px solid var(--wp--preset--color--border);
}
.bbs-header-brands .bbs-brand-logo { width: 42px; height: 42px; display: block; }
@media (max-width: 1180px) and (min-width: 601px) {
	.bbs-header-brands { display: none; } /* tableten a menü miatt nincs hely */
}
@media (max-width: 600px) {
	.bbs-header-brands { gap: 0.35rem; padding-left: 0.6rem; }
	.bbs-header-brands .bbs-brand-logo { width: 34px; height: 34px; }
}
.is-style-card > .bbs-card-logo {
	display: block;
	width: 84px;
	height: 84px;
	margin: 0 0 0.75rem;
}

/* CTA sáv színe mindig a téma szerint – a szerkesztőben elmentett láblécben tárolt régi színátmenetet is felülírja */
.wp-block-group.bbs-cta {
	background: var(--wp--preset--gradient--cta) !important;
}

/* Kártyacímek: kicsit kisebb betű a több oszlopos rácsokban, elválasztás csak a megadott helyeken */
.bbs-grid .is-style-card h3 {
	font-size: clamp(1.125rem, 1.45vw, 1.3rem);
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

/* Tanúsítványok – sáv a lábléc fölött */
.bbs-cert-band {
	border-top: 1px solid var(--wp--preset--color--border);
	padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}
.bbs-cert-band__inner { max-width: 1280px; margin: 0 auto; }
.bbs-cert-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap;
}
.bbs-cert-strip__text { display: grid; gap: 0.15rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); max-width: 520px; }
.bbs-cert-strip__text strong { color: var(--wp--preset--color--navy); font-size: var(--wp--preset--font-size--medium); }
.bbs-cert-strip__text a::after { content: " →"; }
.bbs-cert-strip__badges { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.bbs-cert-strip__badges .bbs-cert-badge { height: 52px; width: auto; display: block; }
@media (max-width: 600px) { .bbs-cert-strip__badges .bbs-cert-badge { height: 44px; } }

/* Tanúsítványok oldal – kártyák */
.bbs-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1100px) { .bbs-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bbs-certs { grid-template-columns: minmax(0, 1fr); } }
.bbs-cert-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.bbs-cert-card .bbs-cert-badge { height: 84px; width: auto; align-self: flex-start; margin-bottom: 0.5rem; }
.bbs-cert-card h3 { font-size: var(--wp--preset--font-size--medium); margin: 0; }
.bbs-cert-card p { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.bbs-cert-card .bbs-cert-card__std { color: var(--wp--preset--color--primary); font-weight: 600; }
.bbs-cert-card__docs { list-style: none; margin: auto 0 0; padding: 0.75rem 0 0; border-top: 1px solid var(--wp--preset--color--border); display: grid; gap: 0.5rem; font-size: var(--wp--preset--font-size--small); }
.bbs-cert-card__docs a { font-weight: 600; }
.bbs-cert-card__docs span { display: block; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--xs); }
.bbs-certs__note { margin-top: 1.5rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }

/* Referencialogók nagyobban: magasabb csempe, a logó kitölti a helyet */
.bbs-logo-tile { min-height: 156px; padding: 1.1rem 1rem; }
.bbs-logo-grid .bbs-logo-tile .wp-block-post-featured-image {
	height: 96px;
	width: 100%;
}
.bbs-logo-grid .bbs-logo-tile .wp-block-post-featured-image img {
	max-height: 96px;
	max-width: 100%;
	filter: none;
}
/* Ha van logó, a név alatta kicsi és halvány */
.bbs-logo-tile:has(img) .wp-block-post-title { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
/* Kiemelt referencia kártyán is nagyobb logó */
.bbs-featured-card .wp-block-post-featured-image { height: 96px; }
.bbs-featured-card .wp-block-post-featured-image img { max-height: 96px; }
@media (max-width: 600px) {
	.bbs-logo-tile { min-height: 130px; }
	.bbs-logo-grid .bbs-logo-tile .wp-block-post-featured-image,
	.bbs-logo-grid .bbs-logo-tile .wp-block-post-featured-image img { height: auto; max-height: 72px; }
}
