/**
 * CoreD Hyperlink
 */

.cored-hyperlink-wrapper {
	display: flex;
	width: 100%;
}

.cored-hyperlink-align-left .cored-hyperlink-wrapper {
	justify-content: flex-start;
}

.cored-hyperlink-align-center .cored-hyperlink-wrapper {
	justify-content: center;
}

.cored-hyperlink-align-right .cored-hyperlink-wrapper {
	justify-content: flex-end;
}

.cored-hyperlink-align-justify .cored-hyperlink-wrapper {
	justify-content: stretch;
}

.cored-hyperlink-align-justify .cored-hyperlink {
	width: 100%;
	justify-content: center;
}

.cored-hyperlink {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	text-decoration: none;
	cursor: pointer;
	transition-property: color, background, background-color, border-color, box-shadow, opacity, transform, fill;
	transition-timing-function: ease;
	line-height: 1.4;
	fill: currentColor;
}

.cored-hyperlink__inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.cored-hyperlink__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.cored-hyperlink__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cored-hyperlink__text {
	display: inline-block;
}

/* Link variant — minimal defaults */
.cored-hyperlink--link {
	padding: 0;
	background: transparent;
	border: none;
	color: inherit;
}

/* Button variant — sensible defaults (overridable in Elementor) */
.cored-hyperlink--button {
	padding: 12px 24px;
	background-color: #2563eb;
	color: #ffffff;
	border: none;
	border-radius: 4px;
}

.cored-hyperlink--button:hover,
.cored-hyperlink--button:focus {
	background-color: #1d4ed8;
	color: #ffffff;
}
