/* Silver Wolf – modern gombok (az egész oldalon: téma, portál, űrlapok) */
:root { --swb-ease: cubic-bezier(.22, .8, .24, 1); }

.swb,
.wp-block-button__link,
.sw-form input[type="submit"],
.sw-invite-form input[type="submit"] {
	--bx: 50%;
	--by: 50%;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .015em;
	line-height: 1.2;
	text-decoration: none;
	color: #0d47a1;
	background: linear-gradient(180deg, #ffffff 0%, #e4edfc 100%);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25), inset 0 1px 0 #fff;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
	transition: transform .3s var(--swb-ease), box-shadow .3s var(--swb-ease), background .25s, color .25s, border-color .25s, opacity .2s;
}
/* az egér követő fény */
.swb::before,
.wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(130px circle at var(--bx) var(--by), rgba(63, 140, 255, .38), transparent 70%);
	opacity: 0;
	transition: opacity .25s;
}
.swb:hover::before,
.wp-block-button__link:hover::before { opacity: 1; }
.swb:hover,
.wp-block-button__link:hover,
.sw-form input[type="submit"]:hover,
.sw-invite-form input[type="submit"]:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, .32), inset 0 1px 0 #fff;
	color: #0b3a8a;
}
.swb:active,
.wp-block-button__link:active,
.sw-form input[type="submit"]:active { transform: translateY(0) scale(.97); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition-duration: .08s; }
.swb:focus-visible,
.wp-block-button__link:focus-visible,
.sw-form input[type="submit"]:focus-visible { outline: 3px solid rgba(127, 183, 255, .8); outline-offset: 3px; }
.swb[disabled], .swb:disabled { opacity: .5; cursor: not-allowed; transform: none; pointer-events: none; }
.swb .swa-i, .swb svg { flex: none; }

/* A gomb szövege soha nem tördelődik, és a gomb nem nyomódik össze (a WordPress „word-break" szabálya betűnként törte a szót). */
.swb,
.wp-block-button__link {
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
	flex-shrink: 0;
	min-width: max-content;
	width: auto;
	text-align: center;
}

/* nyíl a tartalmi gombokon: abszolút pozíciójú, ezért NEM befolyásolja a gomb méretét; hover-re a jobb oldali belső margó nő, és beúszik */
.wp-block-button__link { padding-right: 30px; transition-property: transform, box-shadow, background, color, padding; }
.wp-block-button__link:hover, .wp-block-button__link:focus-visible { padding-right: 46px; padding-left: 24px; }
.wp-block-button__link::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	opacity: 0;
	transform: translateX(-12px);
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: opacity .3s, transform .3s var(--swb-ease);
}
.wp-block-button__link:hover::after, .wp-block-button__link:focus-visible::after { opacity: 1; transform: none; }

/* variánsok */
.swb--ghost {
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border: 1.5px solid rgba(255, 255, 255, .55);
	box-shadow: none;
	backdrop-filter: blur(6px);
}
.swb--ghost::before { background: radial-gradient(130px circle at var(--bx) var(--by), rgba(255, 255, 255, .28), transparent 70%); }
.swb--ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }

.swb--danger {
	color: #fff;
	background: linear-gradient(180deg, #ff7676, #e04646);
	box-shadow: 0 8px 22px rgba(224, 70, 70, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.swb--danger::before { background: radial-gradient(130px circle at var(--bx) var(--by), rgba(255, 255, 255, .3), transparent 70%); }
.swb--danger:hover { color: #fff; box-shadow: 0 16px 34px rgba(224, 70, 70, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }

.swb--sm { padding: 9px 20px; font-size: 14px; gap: 8px; }

/* a fejléc „Belépés" gombja */


@media (prefers-reduced-motion: reduce) {
	.swb, .wp-block-button__link, .wp-block-button__link::after { transition-duration: .01ms !important; }
}
