/**
 * MindTrip CTA block — self-contained styles.
 * Matches the Stackable v2 button on /plan-your-trip/:
 *   bg rgb(212,68,14), 4px radius, 12px/26px padding,
 *   white uppercase 14px Century Gothic Bold, 16px sparkle icon,
 *   hover grow scale(1.03) @ .2s ease-in-out.
 *
 * Path: template-parts/blocks/mindtripcta/mindtripcta.css
 */

.vp-cta-button-wrap {
	/* matches the original .ugb-main-block spacing */
	margin: 35px 0;
	padding: 0;
	text-align: left;
}

/* Alignment from the block toolbar */
.vp-cta-button-wrap.vp-cta-align-left {
	text-align: left;
}

.vp-cta-button-wrap.vp-cta-align-center {
	text-align: center;
}

.vp-cta-button-wrap.vp-cta-align-right {
	text-align: right;
}

.vp-cta-button {
	display: inline-flex;
	align-items: center;
	background-color: rgb(212, 68, 14);
	padding: 12px 26px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
	will-change: transform;
}

/*
 * White text + icon everywhere, including inside the block editor.
 * !important + targeting the child elements directly beats both the theme's
 * front-end link color and the editor's blue link styling.
 */
.vp-cta-button,
.vp-cta-button:visited,
.vp-cta-button:hover,
.vp-cta-button:focus,
.vp-cta-button:active,
.vp-cta-button .vp-cta-button__text {
	color: #fff !important;
	text-decoration: none;
}

.vp-cta-button .vp-cta-button__icon,
.vp-cta-button .vp-cta-button__icon path {
	fill: #fff !important;
	color: #fff !important;
}

.vp-cta-button:hover {
	/* grow + slight fade, same as the original Stackable hover */
	transform: scale(1.03);
	opacity: 0.85;
	box-shadow: none;
}

.vp-cta-button__icon {
	width: 16px;
	height: 16px;
	margin-right: 8px;
	flex-shrink: 0;
}

/*
 * Bold: this site registers its bold cut as its own font family
 * ("Century Gothic W01 Bold"), so we use that face directly.
 * font-weight 700 keeps the fallback font bold (e.g. in the editor,
 * where the webfont may not load) and font-synthesis prevents the
 * browser from double-bolding the real webfont.
 */
.vp-cta-button__text {
	font-family: "Century Gothic W01 Bold", "Century Gothic W01", sans-serif;
	font-weight: 700;
	font-synthesis: none;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: -0.3px;
	text-transform: uppercase;
}
