/* Generated by astro-product/scripts/sync-core.mjs from packages/foundation/components/button. Do not edit. */
.rt-button {
	display: inline-block;
	padding: var(--rt-button-pad-y) var(--rt-button-pad-x);
	border: 2px solid var(--rt-button-border);
	border-radius: var(--rt-button-radius);
	background-color: var(--rt-button-bg);
	color: var(--rt-button-color);
	font-size: var(--rt-button-font-size);
	font-weight: var(--rt-button-font-weight);
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rt-button:hover {
	border-color: var(--rt-button-hover-border);
	background-color: var(--rt-button-hover-bg);
	color: var(--rt-button-hover-color);
}

.rt-button--ghost {
	background-color: var(--rt-button-ghost-bg);
	color: var(--rt-button-ghost-color);
}

.rt-button--ghost:hover {
	border-color: var(--rt-button-border);
	background-color: var(--rt-button-ghost-hover-bg);
	color: var(--rt-button-ghost-hover-color);
}

.rt-button:focus-visible {
	outline: 2px solid var(--rt-button-border);
	outline-offset: 2px;
}

/* Ok varyantları: etiket + 34px daire içinde ok. WP karşılığı button.wp.json → variations.*.styles.css (aynı geometri). */
.rt-button--arrow-block,
.rt-button--arrow-line,
.rt-button--arrow-link {
	display: inline-flex;
	align-items: center;
	border-width: 0;
	font-size: var(--rt-font-size-small);
	font-weight: var(--rt-font-weight-medium);
}

.rt-button--arrow-block {
	padding: 0.90625rem 1.0625rem 0.90625rem 0.4375rem;
}

.rt-button--arrow-line,
.rt-button--arrow-link,
.rt-button--arrow-line:hover,
.rt-button--arrow-link:hover {
	padding: 0;
	background-color: transparent;
	color: var(--rt-button-ghost-color);
}

/* Baştaki 108px çizgi */
.rt-button--arrow-block::before,
.rt-button--arrow-line::before {
	content: "";
	flex: none;
	width: 6.75rem;
	margin-inline-end: 2.6875rem;
	border-top: 1px solid currentColor;
}

/* Sondaki daire + ok, metin renginde */
.rt-button--arrow-block::after,
.rt-button--arrow-line::after {
	content: "";
	flex: none;
	width: 2.125rem;
	height: 2.125rem;
	margin-inline-start: 1.0625rem;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M14 9.5l7.5 7.5-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50% / 2.125rem no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='16' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 50% 50% / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M14 9.5l7.5 7.5-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50% / 2.125rem no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='16' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 50% 50% / contain no-repeat;
	transition: -webkit-mask-position 0.2s ease, mask-position 0.2s ease;
}

/* Baştaki vurgu renkli daire; ok metin renginde üstüne biner */
.rt-button--arrow-link {
	position: relative;
}

.rt-button--arrow-link::before {
	content: "";
	flex: none;
	box-sizing: border-box;
	width: 2.125rem;
	height: 2.125rem;
	margin-inline-end: 0.625rem;
	border: 2px solid var(--rt-button-border);
	border-radius: 50%;
}

.rt-button--arrow-link::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 2.125rem;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M14 9.5l7.5 7.5-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 2.125rem no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M14 9.5l7.5 7.5-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 2.125rem no-repeat;
	transition: transform 0.2s ease;
}

/* Hover: daire sabit, yalnız ok 4px sağa */
.rt-button--arrow-block:hover::after,
.rt-button--arrow-line:hover::after {
	-webkit-mask-position: calc(50% + 0.25rem) 50%, 50% 50%;
	mask-position: calc(50% + 0.25rem) 50%, 50% 50%;
}

.rt-button--arrow-link:hover::after {
	transform: translateX(0.25rem);
}

@media (prefers-reduced-motion: reduce) {
	.rt-button,
	.rt-button--arrow-block::after,
	.rt-button--arrow-line::after,
	.rt-button--arrow-link::after {
		transition: none;
	}
}
