/**
 * Info Box widget styles.
 *
 * Loaded only on documents that contain this widget. Alignment is a custom
 * property so Elementor's responsive selector can override it per breakpoint.
 */

.fast-info-box {
	--fast-info-align: left;
	--fast-info-gap: 1rem;
	--fast-info-radius: 12px;
	--fast-info-bg: #ffffff;
	--fast-info-border: #e2e5eb;
	--fast-info-accent: #2271b1;
	--fast-info-icon-bg: var(--fast-info-accent);
	--fast-info-icon-pad: 0.7em;
	--fast-info-icon-radius: 999px;

	position: relative;
	box-sizing: border-box;
	display: flex;
	gap: var(--fast-info-gap);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	background: var(--fast-info-bg);
	border: 1px solid var(--fast-info-border);
	border-radius: var(--fast-info-radius);
	text-align: var(--fast-info-align);
}

.fast-info-box--align-left {
	--fast-info-align: left;
}

.fast-info-box--align-center {
	--fast-info-align: center;
}

.fast-info-box--align-right {
	--fast-info-align: right;
}

.fast-info-box--vertical {
	flex-direction: column;
	align-items: stretch;
}

.fast-info-box--horizontal,
.fast-info-box--reverse {
	flex-direction: row;
	align-items: center;
}

.fast-info-box--reverse {
	flex-direction: row-reverse;
}

.fast-info-box--linked {
	cursor: pointer;
}

.fast-info-box__media {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	text-align: inherit;
}

.fast-info-box--horizontal .fast-info-box__media,
.fast-info-box--reverse .fast-info-box__media {
	width: auto;
}

.fast-info-box__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	color: var(--fast-info-icon-color, currentColor);
}

.fast-info-box__icon::before {
	display: inline-block;
	line-height: 1;
}

.fast-info-box__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.fast-info-box--icon-bg .fast-info-box__icon {
	padding: var(--fast-info-icon-pad);
	background: var(--fast-info-icon-bg);
	color: #fff;
	border-radius: var(--fast-info-icon-radius);
}

.fast-info-box__body {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	text-align: inherit;
}

.fast-info-box--horizontal .fast-info-box__body,
.fast-info-box--reverse .fast-info-box__body {
	width: auto;
}

.fast-info-box__eyebrow {
	display: block;
	margin: 0 0 0.35rem;
	color: var(--fast-info-accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.fast-info-box__title {
	margin: 0 0 0.45em;
	font-size: 1.125rem;
	line-height: 1.3;
}

.fast-info-box__title:last-child {
	margin-bottom: 0;
}

.fast-info-box__text {
	margin: 0;
}

.fast-info-box__text:last-child {
	margin-bottom: 0;
}

.fast-info-box__button {
	display: inline-flex;
	margin-top: 0.9rem;
	padding: 0.45em 0.95em;
	border-radius: 999px;
	background: var(--fast-info-accent);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
}

.fast-info-box__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.fast-info-box__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.fast-info-box__link:focus-visible::after {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.fast-info-box__link-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.fast-info-box--hover {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fast-info-box--hover:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

@media (prefers-reduced-motion: reduce) {
	.fast-info-box--hover,
	.fast-info-box--hover:hover {
		transition: none;
		transform: none;
	}
}

/* 1. Classic: bordered white card. Existing boxes keep this look. */
.fast-info-box--style-classic {
	background: var(--fast-info-bg);
}

/* 2. Soft: tinted panel, no hard edge. */
.fast-info-box--style-soft {
	--fast-info-bg: #f4f7fb;
	--fast-info-border: transparent;
	padding: 1.25rem;
}

/* 3. Outlined: accent frame on a clear background. */
.fast-info-box--style-outlined {
	--fast-info-bg: transparent;
	--fast-info-border: var(--fast-info-accent);
	padding: 1.25rem;
}

/* 4. Shadow: lifted card. */
.fast-info-box--style-shadow {
	--fast-info-border: transparent;
	padding: 1.35rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* 5. Filled: solid accent panel. */
.fast-info-box--style-filled {
	--fast-info-bg: var(--fast-info-accent);
	--fast-info-border: transparent;
	padding: 1.35rem;
	color: #fff;
}

.fast-info-box--style-filled .fast-info-box__title,
.fast-info-box--style-filled .fast-info-box__text,
.fast-info-box--style-filled .fast-info-box__eyebrow,
.fast-info-box--style-filled .fast-info-box__icon {
	color: inherit;
}

.fast-info-box--style-filled .fast-info-box__button {
	background: #fff;
	color: var(--fast-info-accent);
}

/* 6. Minimal: icon and text only. */
.fast-info-box--style-minimal {
	--fast-info-bg: transparent;
	--fast-info-border: transparent;
	--fast-info-radius: 0;
	background: transparent;
}

/* 7. Accent: bar on the start edge. */
.fast-info-box--style-accent {
	--fast-info-border: transparent;
	padding-block: 0.35rem;
	padding-inline: 1rem 0;
	border-inline-start: 4px solid var(--fast-info-accent);
	background: transparent;
}

/* 8. Badge: icon sits in a round chip. Chip colors come from --icon-bg. */
.fast-info-box--style-badge {
	--fast-info-bg: transparent;
	--fast-info-border: transparent;
	background: transparent;
}
