/*
 * Partner Switch – CTA doboz.
 * Témasemleges: a felület áttetsző szürke (világos és sötét témán is működik),
 * az akcentus felülírható a témában:  .psw-cta { --psw-accent: #xxx; }
 */

.psw-cta {
	--psw-accent: #0b6b4f;
	--psw-on-accent: #fff;

	border: 1px solid rgba(127, 127, 127, .35);
	background: rgba(127, 127, 127, .07);
	border-radius: 10px;
	padding: 1.25em 1.4em;
	margin: 1.8em 0;
}

.psw-cta--affiliate {
	--psw-accent: #1c3f94;
}

.psw-cta__headline {
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 .5em;
}

.psw-cta__body {
	margin: 0 0 1em;
}

.psw-cta__body p:last-child {
	margin-bottom: 0;
}

.psw-cta__action {
	margin: 0;
}

.psw-cta__button {
	display: inline-block;
	padding: .8em 1.8em;
	border-radius: 6px;
	background: var(--psw-accent);
	color: var(--psw-on-accent);
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
}

.psw-cta a.psw-cta__button,
.psw-cta a.psw-cta__button:visited,
.psw-cta a.psw-cta__button:hover,
.psw-cta a.psw-cta__button:focus {
	color: var(--psw-on-accent);
}

.psw-cta__button:hover,
.psw-cta__button:focus {
	filter: brightness(1.12);
}

.psw-cta__note {
	margin: 1em 0 0;
	font-size: .82em;
	opacity: .75;
	line-height: 1.45;
}

@media (max-width: 480px) {
	.psw-cta__button {
		display: block;
		text-align: center;
	}
}

/* 1.4.0 — QR-kód a partnergomb mellé: alapból rejtve, csak egeres, széles kijelzőn látszik (telefonon, tableten nem). */
.psw-qr {
	display: none;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
	.psw-qr {
		display: flex !important;   /* felülírja az inline display:none-t */
		gap: 1.1em;
		align-items: center;
		border: 1px solid rgba(127, 127, 127, .35);
		background: rgba(127, 127, 127, .05);
		border-radius: 10px;
		padding: 1em 1.2em;
		margin: 1em 0 1.6em;
		max-width: 640px;
	}
	.psw-qr__kod {
		flex: 0 0 132px;
		width: 132px;
		height: 132px;
		background: #fff;
		border-radius: 6px;
	}
	.psw-qr__szoveg p {
		margin: 0 0 .4em;
		font-size: .95em;
		line-height: 1.45;
	}
	.psw-qr__szoveg p:last-child {
		margin-bottom: 0;
		font-size: .85em;
	}
	.psw-qr__cim {
		font-weight: 700;
	}
}
