/**
 * iBelépés – Útjelző design tokens and component styles.
 * Contrast (WCAG): every text pair ≥ 6.27:1. Square corners, 2 px ink rules, no shadows.
 */

:root {
	--ib-ink: #121212;
	--ib-paper: #ffffff;
	--ib-ground: #f4f2ec;
	--ib-signal: #ffd60a;
	--ib-answer: #fff4c2;
	--ib-muted: #57544d;
	--ib-line: #d6d3c9;
	--ib-dash: #8c887e;
	--ib-label: #eceae3;
	--ib-free-fg: #0b5d33;
	--ib-free-bg: #ddf2e4;
	--ib-paid-fg: #8a3500;
	--ib-paid-bg: #fce3cf;
	--ib-change-fg: #1e3a8a;
	--ib-change-bg: #dfe7fb;
	--ib-font-body: "Ibelepes Body", "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
	--ib-font-display: "Ibelepes Display", "Arial Black", sans-serif;
	--ib-font-mono: "Ibelepes Mono", ui-monospace, monospace;
	--ib-rule: 2px solid var(--ib-ink);
}

/* ---------- Page base (front end; the builder styles the chrome) ---------- */
body:not(.wp-admin) {
	background: var(--ib-ground);
	color: var(--ib-ink);
	font-family: var(--ib-font-body);
}

/* ---------- Guide body: the block content inside the builder template ---------- */
.ib-prose {
	font-size: 18px;
	line-height: 1.6;
	overflow-wrap: break-word;
	/* No automatic hyphenation: on a phone it broke domains ("freemail.-hu") and labels people type or match. */
	hyphens: manual;
}
.ib-prose > * {
	margin-top: 0;
	margin-bottom: 0;
}
.ib-prose > * + * {
	margin-top: 16px;
}
.ib-prose > h2 {
	margin-top: 48px;
}
.ib-prose > h3 {
	margin-top: 28px;
}
.ib-prose > h2 + *,
.ib-prose > h3 + * {
	margin-top: 12px;
}
.ib-prose > .ib-answer + *,
.ib-prose > .ib-status + *,
.ib-prose > .ib-ad,
.ib-prose > .ib-ad + * {
	margin-top: 36px;
}
:is(.ib-prose, .editor-styles-wrapper) :is(h2, h3) {
	font-family: var(--ib-font-display);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ib-ink);
}
:is(.ib-prose, .editor-styles-wrapper) h2 {
	font-size: clamp(26px, 3vw, 34px);
}
:is(.ib-prose, .editor-styles-wrapper) h3 {
	font-size: 22px;
}
.ib-prose [id] {
	scroll-margin-top: 16px;
}
.ib-prose a {
	color: var(--ib-ink);
	text-underline-offset: 3px;
}
.ib-prose :is(ul, ol):not([class*="ib-"]) {
	padding-left: 1.4em;
}
.ib-prose :is(ul, ol):not([class*="ib-"]) > li + li {
	margin-top: 6px;
}
.ib-prose :is(.ib-tip, .ib-help, .ib-sources) > * + * {
	margin-top: 12px;
}
/* ---------- Inline: exact on-screen labels and domains ---------- */
.ib-answer code,
.ib-sources code,
.ib-errors td:first-child,
.ib-steps kbd,
.entry-content kbd,
.wp-block-post-content kbd {
	font-family: var(--ib-font-mono);
	font-weight: 600;
}
.ib-steps kbd,
.entry-content kbd,
.wp-block-post-content kbd {
	background: var(--ib-label);
	color: var(--ib-ink);
	padding: 0.05em 0.35em;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 0.95em;
}

/* ---------- Answer box ("Röviden") ---------- */
.ib-answer {
	background: var(--ib-answer);
	border: var(--ib-rule);
	padding: 0 0 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ib-answer > * {
	margin: 0 20px !important;
}
.ib-answer > .ib-answer__label {
	margin: 0 !important;
	padding: 8px 20px;
	background: var(--ib-ink);
	color: var(--ib-signal);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ib-answer__text {
	font-size: 1.12em;
	line-height: 1.5;
}

/* Destination link: the one plain link to the real service, its domain always visible. */
.ib-dest a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 52px 14px 18px;
	position: relative;
	background: var(--ib-paper);
	border: var(--ib-rule);
	color: var(--ib-ink);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	color: var(--ib-muted);
	flex-wrap: wrap;
}
.ib-dest a br {
	display: none;
}
.ib-dest a code {
	flex-basis: 100%;
	font-size: 20px;
	color: var(--ib-ink);
	background: none;
	padding: 0;
	overflow-wrap: anywhere;
}
.ib-dest a::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
}
.ib-dest a:hover,
.ib-dest a:focus-visible {
	background: var(--ib-signal);
}
.ib-disclaimer {
	font-size: 15px;
	color: var(--ib-muted);
}

/* ---------- Situation list ---------- */
.ib-situations {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	border-top: var(--ib-rule);
}
.ib-situations li {
	margin: 0;
	border-bottom: var(--ib-rule);
	background: var(--ib-paper);
}
.ib-situations a {
	display: block;
	padding: 14px 16px;
	color: var(--ib-muted);
	text-decoration: none;
}
.ib-situations a strong {
	color: var(--ib-ink);
}
.ib-situations a:hover,
.ib-situations a:focus-visible {
	background: var(--ib-answer);
}

/* ---------- Numbered steps ---------- */
.ib-steps {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	counter-reset: ib-step;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ib-steps > li {
	counter-increment: ib-step;
	position: relative;
	padding: 4px 0 0 52px;
	min-height: 40px;
}
.ib-steps > li::before {
	content: counter(ib-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ib-signal);
	border: var(--ib-rule);
	font-family: var(--ib-font-display);
	font-weight: 800;
	font-size: 18px;
}

/* ---------- Tip, help box, sources ---------- */
.ib-tip,
.ib-help {
	background: var(--ib-paper);
	border: var(--ib-rule);
	padding: 14px 16px;
}
.ib-tip > *,
.ib-help > * {
	margin-top: 0;
}
.ib-help > :last-child,
.ib-tip > :last-child {
	margin-bottom: 0;
}
.ib-sources {
	border-top: var(--ib-rule);
	padding-top: 20px;
	font-size: 16px;
}
.ib-sources h2 {
	font-size: 20px !important;
}
.ib-meta {
	color: var(--ib-muted);
	font-size: 15px;
}

/* ---------- Error table ---------- */
.ib-errors {
	overflow-x: auto;
	border: var(--ib-rule);
	background: var(--ib-paper);
	margin: 0;
}
.ib-errors table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}
/* Two-column tables (e.g. settings) fit a phone; only the three-column error table needs room to scroll. */
.ib-errors table:not(:has(th:nth-child(3))) {
	min-width: 0;
}
.ib-errors thead {
	border: 0;
}
.ib-errors th {
	background: var(--ib-ink);
	color: var(--ib-paper);
	text-align: left;
	padding: 12px 14px;
	border: 0;
}
.ib-errors td {
	padding: 14px;
	border: 0;
	border-bottom: 1px solid var(--ib-line);
	vertical-align: top;
}

/* ---------- Router: [ib_router], no JavaScript ---------- */
.ib-router {
	position: relative;
	background: var(--ib-paper);
	border: var(--ib-rule);
	padding: clamp(20px, 3vw, 36px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.ib-router__title {
	margin: 0;
	font-family: var(--ib-font-display);
	font-weight: 800;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.1;
}
.ib-router__radio {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.ib-router__legend {
	margin: 0 0 10px;
	padding: 0;
	font-weight: 700;
	font-size: 16px;
}
.ib-router__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-right: 8px;
	background: var(--ib-ink);
	color: var(--ib-paper);
	font-size: 14px;
}
.ib-router__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ib-router__chip {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 18px;
	border: var(--ib-rule);
	background: var(--ib-paper);
	font-weight: 700;
	cursor: pointer;
}
.ib-router__chip--soon {
	border-style: dashed;
	border-color: var(--ib-dash);
	background: var(--ib-ground);
	color: var(--ib-muted);
	font-weight: 600;
	cursor: default;
}
.ib-router__group {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.ib-router__sits {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 10px;
}
.ib-router__sit {
	display: flex;
	align-items: center;
	min-height: 56px;
	height: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border: var(--ib-rule);
	background: var(--ib-paper);
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}
.ib-router__answer {
	display: none;
	flex-direction: column;
	gap: 10px;
}
.ib-router__text {
	margin: 0;
	padding: 20px 22px;
	background: var(--ib-answer);
	border: var(--ib-rule);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.45;
}
.ib-router__link {
	align-self: flex-start;
	color: var(--ib-ink);
	font-weight: 700;
	padding: 6px 0;
}
.ib-router__link::after {
	content: " →";
}
/* The n-th service radio shows the n-th group; the n-th situation radio shows the n-th answer. */
.ib-router > .ib-router__radio:nth-of-type(1):checked ~ .ib-router__group:nth-of-type(1),
.ib-router > .ib-router__radio:nth-of-type(2):checked ~ .ib-router__group:nth-of-type(2),
.ib-router > .ib-router__radio:nth-of-type(3):checked ~ .ib-router__group:nth-of-type(3),
.ib-router > .ib-router__radio:nth-of-type(4):checked ~ .ib-router__group:nth-of-type(4),
.ib-router > .ib-router__radio:nth-of-type(5):checked ~ .ib-router__group:nth-of-type(5),
.ib-router > .ib-router__radio:nth-of-type(6):checked ~ .ib-router__group:nth-of-type(6),
.ib-router > .ib-router__radio:nth-of-type(7):checked ~ .ib-router__group:nth-of-type(7),
.ib-router > .ib-router__radio:nth-of-type(8):checked ~ .ib-router__group:nth-of-type(8) {
	display: block;
}
.ib-router > .ib-router__radio:nth-of-type(1):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(1),
.ib-router > .ib-router__radio:nth-of-type(2):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(2),
.ib-router > .ib-router__radio:nth-of-type(3):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(3),
.ib-router > .ib-router__radio:nth-of-type(4):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(4),
.ib-router > .ib-router__radio:nth-of-type(5):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(5),
.ib-router > .ib-router__radio:nth-of-type(6):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(6),
.ib-router > .ib-router__radio:nth-of-type(7):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(7),
.ib-router > .ib-router__radio:nth-of-type(8):checked ~ .ib-router__step label.ib-router__chip:nth-of-type(8) {
	background: var(--ib-ink);
	color: var(--ib-paper);
}
.ib-router > .ib-router__radio:nth-of-type(1):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(1),
.ib-router > .ib-router__radio:nth-of-type(2):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(2),
.ib-router > .ib-router__radio:nth-of-type(3):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(3),
.ib-router > .ib-router__radio:nth-of-type(4):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(4),
.ib-router > .ib-router__radio:nth-of-type(5):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(5),
.ib-router > .ib-router__radio:nth-of-type(6):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(6),
.ib-router > .ib-router__radio:nth-of-type(7):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(7),
.ib-router > .ib-router__radio:nth-of-type(8):focus-visible ~ .ib-router__step label.ib-router__chip:nth-of-type(8),
.ib-router__group > .ib-router__radio:nth-of-type(1):focus-visible ~ .ib-router__sits li:nth-of-type(1) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(2):focus-visible ~ .ib-router__sits li:nth-of-type(2) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(3):focus-visible ~ .ib-router__sits li:nth-of-type(3) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(4):focus-visible ~ .ib-router__sits li:nth-of-type(4) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(5):focus-visible ~ .ib-router__sits li:nth-of-type(5) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(6):focus-visible ~ .ib-router__sits li:nth-of-type(6) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(7):focus-visible ~ .ib-router__sits li:nth-of-type(7) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(8):focus-visible ~ .ib-router__sits li:nth-of-type(8) .ib-router__sit {
	outline: 3px solid var(--ib-ink);
	outline-offset: 3px;
}
.ib-router__group > .ib-router__radio:nth-of-type(1):checked ~ .ib-router__sits li:nth-of-type(1) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(2):checked ~ .ib-router__sits li:nth-of-type(2) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(3):checked ~ .ib-router__sits li:nth-of-type(3) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(4):checked ~ .ib-router__sits li:nth-of-type(4) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(5):checked ~ .ib-router__sits li:nth-of-type(5) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(6):checked ~ .ib-router__sits li:nth-of-type(6) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(7):checked ~ .ib-router__sits li:nth-of-type(7) .ib-router__sit,
.ib-router__group > .ib-router__radio:nth-of-type(8):checked ~ .ib-router__sits li:nth-of-type(8) .ib-router__sit {
	background: var(--ib-signal);
}
.ib-router__group > .ib-router__radio:nth-of-type(1):checked ~ .ib-router__answer:nth-of-type(1),
.ib-router__group > .ib-router__radio:nth-of-type(2):checked ~ .ib-router__answer:nth-of-type(2),
.ib-router__group > .ib-router__radio:nth-of-type(3):checked ~ .ib-router__answer:nth-of-type(3),
.ib-router__group > .ib-router__radio:nth-of-type(4):checked ~ .ib-router__answer:nth-of-type(4),
.ib-router__group > .ib-router__radio:nth-of-type(5):checked ~ .ib-router__answer:nth-of-type(5),
.ib-router__group > .ib-router__radio:nth-of-type(6):checked ~ .ib-router__answer:nth-of-type(6),
.ib-router__group > .ib-router__radio:nth-of-type(7):checked ~ .ib-router__answer:nth-of-type(7),
.ib-router__group > .ib-router__radio:nth-of-type(8):checked ~ .ib-router__answer:nth-of-type(8) {
	display: flex;
}

/* ---------- Error lookup: [ib_hibakereso] ---------- */
.ib-lookup {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ib-lookup__search {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 820px;
}
.ib-lookup__search[hidden] {
	display: none;
}
.ib-lookup__label {
	font-weight: 700;
	font-size: 16px;
}
.ib-lookup__input {
	height: 60px;
	box-sizing: border-box;
	padding: 0 18px;
	border: var(--ib-rule);
	border-radius: 0;
	background: var(--ib-paper);
	color: var(--ib-ink);
	font-family: var(--ib-font-mono);
	font-size: 20px;
}
/* ---------- Site search box: [ib_kereso] ---------- */
.ib-search {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ib-search__label {
	font-size: 16px;
	font-weight: 700;
}
.ib-search__row {
	display: flex;
}
.ib-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 60px;
	box-sizing: border-box;
	padding: 0 18px;
	border: var(--ib-rule);
	border-right: 0;
	border-radius: 0;
	background: var(--ib-paper);
	color: var(--ib-ink);
	font-family: var(--ib-font-body);
	font-size: 19px;
}
.ib-search__button {
	flex: none;
	height: 60px;
	padding: 0 24px;
	border: var(--ib-rule);
	border-radius: 0;
	background: var(--ib-ink);
	color: var(--ib-paper);
	font-family: var(--ib-font-body);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}
.ib-search__button:hover,
.ib-search__button:focus-visible {
	background: var(--ib-signal);
	color: var(--ib-ink);
}
.ib-lookup__count {
	margin: 0;
	font-size: 15px;
	color: var(--ib-muted);
}
.ib-lookup__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: 12px;
}
.ib-error {
	margin: 0;
	background: var(--ib-paper);
	border: var(--ib-rule);
	display: flex;
	flex-direction: column;
}
.ib-error[hidden] {
	display: none;
}
.ib-error__head {
	margin: 0;
	padding: 16px 18px;
	background: var(--ib-ink);
	color: var(--ib-paper);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
}
.ib-error__msg {
	flex: 999 1 240px;
	font-family: var(--ib-font-mono);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.4;
}
.ib-error__svc {
	align-self: flex-start;
	padding: 3px 9px;
	background: var(--ib-signal);
	color: var(--ib-ink);
	font-size: 13px;
	font-weight: 700;
}
.ib-error__body {
	margin: 0;
	padding: 16px 18px 0;
	font-size: 17px;
}
.ib-error__body dt {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ib-muted);
}
.ib-error__body dd {
	margin: 2px 0 12px;
}
.ib-error__action {
	font-weight: 600;
}
.ib-error__foot {
	margin: auto 0 0;
	padding: 4px 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ib-error__foot a {
	color: var(--ib-ink);
	font-weight: 700;
}
.ib-error__basis {
	font-size: 13px;
	color: var(--ib-muted);
}

/* ---------- Ad slot: [ib_hirdetes], fixed reserved size so nothing shifts ---------- */
.ib-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 32px 0;
}
.ib-ad__slot {
	width: 100%;
	box-sizing: border-box;
}
/* The banner under the site header: a fixed 320×100 on phones and 728×90 from 768 px. Google's documented way to
   fix a responsive unit's size is width and height on the <ins>, so the ad can't grow and push the page down. */
.ib-ad--fejlec {
	max-width: 760px;
	margin: 16px auto;
	padding: 0 16px;
	box-sizing: border-box;
}
.ib-ad--fejlec .ib-ad__slot {
	min-height: 100px !important;
	text-align: center;
}
.ib-ad__fixed {
	display: inline-block;
	width: 320px;
	height: 100px;
}
@media (min-width: 768px) {
	.ib-ad--fejlec .ib-ad__slot {
		min-height: 90px !important;
	}
	.ib-ad__fixed {
		width: 728px;
		height: 90px;
	}
}
.ib-ad--fejlec.ib-ad--placeholder .ib-ad__slot {
	padding: 0;
	border: 0;
	background: none;
}
.ib-ad--placeholder .ib-ad__fixed {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	box-sizing: border-box;
	border: 2px dashed var(--ib-dash);
	background: var(--ib-label);
}
/* When Google has no ad to show, the slot and its label go instead of leaving an empty box. */
.ib-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.ib-ad--empty {
	display: none;
}
.ib-ad--placeholder .ib-ad__slot {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 16px;
	border: 2px dashed var(--ib-dash);
	background: var(--ib-label);
	color: var(--ib-muted);
	font-size: 15px;
}

/* ---------- Hub status card: "Szolgáltatás-adatlap" pattern ---------- */
.ib-status {
	background: var(--ib-paper);
	border: var(--ib-rule);
	padding: 18px 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ib-status > * {
	margin: 0 20px !important;
}
.ib-status__row {
	display: grid;
	grid-template-columns: 7.5em minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 16px;
	font-size: 16px;
}
.ib-status__row > mark {
	justify-self: start;
}
.ib-status__key {
	color: var(--ib-muted);
}
.ib-status > .ib-dest {
	margin: 8px 0 0 !important;
}
.ib-status > .ib-dest a {
	border-width: 2px 0 0;
}
.ib-status > .ib-disclaimer {
	margin: 0 !important;
	padding: 12px 20px 16px;
	border-top: 1px solid var(--ib-line);
}
.ib-chip,
mark.ib-chip {
	display: inline-block;
	padding: 3px 9px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	background: var(--ib-label);
	color: var(--ib-muted);
}
/* Doubled class so the modifiers beat mark.ib-chip. */
.ib-chip.ib-chip--free { background: var(--ib-free-bg); color: var(--ib-free-fg); }
.ib-chip.ib-chip--paid { background: var(--ib-paid-bg); color: var(--ib-paid-fg); }
.ib-chip.ib-chip--change { background: var(--ib-change-bg); color: var(--ib-change-fg); }

/* ---------- [ib_tartalom], [ib_kapcsolodo], [ib_utmutatok] ---------- */
.ib-rail-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px;
	background: var(--ib-paper);
	border: var(--ib-rule);
}
.ib-rail-box--plain {
	padding: 0;
	background: none;
	border: 0;
}
.ib-rail-box__title {
	margin: 0;
	font-family: var(--ib-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ib-muted);
}
.ib-toc,
.ib-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.ib-toc a {
	display: block;
	padding: 6px 0;
	color: var(--ib-ink);
	font-size: 16px;
	line-height: 1.35;
}
.ib-list--related a {
	display: block;
	padding: 6px 0;
	color: var(--ib-ink);
	font-weight: 600;
	line-height: 1.35;
}
.ib-list--guides {
	border-top: var(--ib-rule);
}
.ib-list--guides li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 20px;
	padding: 16px 18px;
	background: var(--ib-paper);
	border-bottom: var(--ib-rule);
}
.ib-list--guides a {
	flex: 999 1 360px;
	color: var(--ib-ink);
	font-weight: 700;
	font-size: 19px;
	text-underline-offset: 4px;
}
.ib-list__meta {
	font-size: 15px;
	color: var(--ib-muted);
}

/* ---------- Contact form (Contact Form 7 form "Kapcsolat") ---------- */
.wpcf7 {
	max-width: 640px;
	margin-top: 28px;
}
.wpcf7 form {
	display: grid;
	gap: 22px;
}
.ib-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ib-field > label {
	font-size: 16px;
	font-weight: 700;
}
.ib-field__opt {
	font-weight: 400;
	color: var(--ib-muted);
}
.ib-field input[type="text"],
.ib-field input[type="email"],
.ib-field select,
.ib-field textarea {
	display: block;
	width: 100%;
	min-height: 54px;
	box-sizing: border-box;
	padding: 12px 16px;
	border: var(--ib-rule);
	border-radius: 0;
	background: var(--ib-paper);
	color: var(--ib-ink);
	font-family: var(--ib-font-body);
	font-size: 18px;
}
.ib-field textarea {
	min-height: 180px;
	resize: vertical;
}
.ib-field input:focus-visible,
.ib-field select:focus-visible,
.ib-field textarea:focus-visible,
.wpcf7-submit.ib-button:focus-visible {
	outline: 3px solid var(--ib-ink);
	outline-offset: 3px;
}
.ib-field--check .wpcf7-list-item {
	margin: 0;
}
.ib-field--check label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
	line-height: 1.5;
}
.ib-field--check input[type="checkbox"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--ib-ink);
}
.wpcf7-submit.ib-button {
	justify-self: start;
	min-height: 56px;
	padding: 0 28px;
	border: var(--ib-rule);
	border-radius: 0;
	background: var(--ib-ink);
	color: var(--ib-paper);
	font-family: var(--ib-font-body);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}
.wpcf7-submit.ib-button:hover,
.wpcf7-submit.ib-button:focus-visible {
	background: var(--ib-signal);
	color: var(--ib-ink);
}
body .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #a4161a;
	font-size: 15px;
	font-weight: 700;
}
body .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border: var(--ib-rule);
	background: var(--ib-paper);
	font-size: 16px;
}
body .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--ib-free-fg);
	background: var(--ib-free-bg);
}
body .wpcf7 form.invalid .wpcf7-response-output,
body .wpcf7 form.unaccepted .wpcf7-response-output,
body .wpcf7 form.failed .wpcf7-response-output,
body .wpcf7 form.spam .wpcf7-response-output,
body .wpcf7 form.aborted .wpcf7-response-output {
	border-color: #a4161a;
	background: #fde8e7;
}
