/* Cookie (süti) szabályzat oldal (/cookie-szabalyzat/) — inc/cookie-policy.php shortcode-ja
   rendereli. Slug alapján töltődik (inc/enqueue.php). A kártya/tipográfia minta az
   impresszum-oldalé; az egyetlen új elem a süti-táblázat, ami mobilon kártyákra bomlik. */

.eb-cookie {
	background: #fff;
}

.eb-cookie__wrap {
	max-width: 900px;
	margin: 0 auto;
}

.eb-cookie .eb-badge {
	display: inline-block;
	background: var(--color-text);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 100px;
	margin-bottom: 18px;
}

.eb-cookie__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(30px, 4.4vw, 48px);
	letter-spacing: -.03em;
	line-height: 1.08;
	margin: 0 0 14px;
	text-wrap: balance;
}

.eb-cookie__lead {
	font-size: clamp(16px, 1.8vw, 18px);
	line-height: 1.6;
	color: var(--color-text-muted);
	margin: 0 0 28px;
	max-width: 62ch;
}

.eb-cookie__card {
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-panel);
	padding: clamp(18px, 2.6vw, 26px);
	margin-bottom: 20px;
	scroll-margin-top: 90px;
}

.eb-cookie__h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(18px, 2.2vw, 22px);
	letter-spacing: -.02em;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.eb-cookie__h3 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	margin: 22px 0 8px;
}

.eb-cookie__card p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--color-text-muted);
	margin: 0 0 12px;
	max-width: 70ch;
}

.eb-cookie__card p:last-child {
	margin-bottom: 0;
}

.eb-cookie__card strong {
	color: var(--color-text);
	font-weight: 600;
}

/* Kategória-jelölő a címsorban: „mindig aktív" vs. „hozzájárulás alapján" */
.eb-cookie__pill {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .01em;
	padding: 4px 11px;
	border-radius: 100px;
	background: var(--color-border);
	color: var(--color-text-muted);
	white-space: nowrap;
}

.eb-cookie__pill--opt {
	background: var(--acc-bg);
	color: var(--acc-deep);
}

/* --- Süti-táblázat --------------------------------------------------------
   Asztali: klasszikus tábla. ≤720px: soronként kártya, a fejlécet a
   data-label attribútum pótolja (a th-k elrejtve). */
.eb-cookie__tablewrap {
	margin: 16px 0 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.eb-cookie__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.55;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-panel);
	overflow: hidden;
}

.eb-cookie__table th {
	text-align: left;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--color-text-faint);
	background: var(--color-background);
	padding: 11px 14px;
	border-bottom: 1px solid var(--color-border);
	white-space: nowrap;
}

.eb-cookie__table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text-muted);
	vertical-align: top;
}

.eb-cookie__table tr:last-child td {
	border-bottom: none;
}

.eb-cookie__table code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	color: var(--color-text);
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	padding: 2px 6px;
	word-break: break-word;
}

/* Saját / harmadik fél jelölés */
.eb-cookie__party {
	display: inline-block;
	margin-top: 4px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 100px;
	white-space: nowrap;
}

.eb-cookie__party--own {
	background: var(--color-border);
	color: var(--color-text-muted);
}

.eb-cookie__party--third {
	background: var(--acc-bg);
	color: var(--acc-deep);
}

.eb-cookie__empty {
	margin: 14px 0 0;
	padding: 12px 16px;
	border: 1px dashed var(--color-border);
	border-radius: var(--radius-panel);
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-text-muted);
}

.eb-cookie__note {
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-text-faint);
	margin: 14px 0 0;
	max-width: 70ch;
}

.eb-cookie__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
}

.eb-cookie__links a,
.eb-cookie__card p a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.eb-cookie__links a:hover,
.eb-cookie__card p a:hover {
	color: var(--acc);
}

/* A [consent_settings] shortcode gombja — a téma gomb-nyelvén.
   A plugin `.ccm-settings-link`-je szöveglinknek stílusozza (aláhúzás + hover-szín);
   ezt itt írjuk felül — a blokk-CSS a plugin CSS-e UTÁN töltődik (enqueue prio 20 vs. 10). */
.eb-cookie__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--acc);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	border: none;
	border-radius: 100px;
	padding: 12px 24px;
	cursor: pointer;
	transition: background var(--transition-fast), transform var(--transition-fast);
}

.eb-cookie__btn:hover {
	background: var(--acc-deep);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.eb-cookie__btn:focus-visible {
	outline: 2px solid var(--acc-deep);
	outline-offset: 3px;
}

.eb-cookie__hint {
	font-size: 14px;
	line-height: 1.55;
	color: #7A5A00;
	background: #FFF6DF;
	border: 1px dashed #E3C468;
	border-radius: var(--radius-panel);
	padding: 12px 16px;
	margin: 0 0 20px;
}

.eb-cookie__updated {
	font-size: 14px;
	color: var(--color-text-faint);
	margin: 24px 0 0;
}

@media (max-width: 720px) {
	.eb-cookie__tablewrap {
		overflow-x: visible;
	}

	.eb-cookie__table,
	.eb-cookie__table tbody,
	.eb-cookie__table tr,
	.eb-cookie__table td {
		display: block;
		width: 100%;
	}

	.eb-cookie__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.eb-cookie__table tr {
		border-bottom: 1px solid var(--color-border);
		padding: 6px 0;
	}

	.eb-cookie__table tr:last-child {
		border-bottom: none;
	}

	.eb-cookie__table td {
		border-bottom: none;
		padding: 6px 14px;
	}

	.eb-cookie__table td::before {
		content: attr(data-label);
		display: block;
		font-family: var(--font-heading);
		font-weight: 700;
		font-size: 11.5px;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--color-text-faint);
		margin-bottom: 3px;
	}
}
