/**
 * Elementor widget: Gate note.
 *
 * The bar sits on the dark hero of the restricted-content page by default, so
 * the dark scheme is the one the tokens describe; the light scheme swaps in
 * the design system's card colours. Values are written as the system's own
 * token with the system's value as the fallback.
 */

.dtg-gate-note {
	--dtg-gate-note-surface: rgba(255, 255, 255, 0.07);
	--dtg-gate-note-line: rgba(255, 255, 255, 0.16);
	--dtg-gate-note-body: #c6d8e4;
	--dtg-gate-note-ink: var(--text-inverse, #fff);
	--dtg-gate-note-accent: #b6e04a;
	--dtg-gate-note-accent-soft: rgba(145, 188, 14, 0.16);
	--dtg-gate-note-focus: var(--border-focus, #2e76a6);
	--dtg-gate-note-radius: var(--radius-lg, 14px);

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	padding: 13px 18px;
	border: 1px solid var(--dtg-gate-note-line);
	border-radius: var(--dtg-gate-note-radius);
	background: var(--dtg-gate-note-surface);
	color: var(--dtg-gate-note-body);
	font-family: var(--font-body, inherit);
	font-size: 14.5px;
	line-height: 1.4;
}

.dtg-gate-note-scheme-light .dtg-gate-note {
	--dtg-gate-note-surface: var(--surface-card, #fff);
	--dtg-gate-note-line: var(--border-subtle, #e2e7eb);
	--dtg-gate-note-body: var(--text-body, #2b333a);
	--dtg-gate-note-ink: var(--text-strong, #1a2026);
	--dtg-gate-note-accent: var(--brand-accent, #347544);
	--dtg-gate-note-accent-soft: var(--surface-accent-soft, #eef6ef);
}

.dtg-gate-note .dtg-gate-note__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--dtg-gate-note-accent-soft);
	color: var(--dtg-gate-note-accent);
}

.dtg-gate-note .dtg-gate-note__text {
	flex: 1 1 auto;
	min-width: 0;
}

.dtg-gate-note .dtg-gate-note__title {
	color: var(--dtg-gate-note-ink);
	font-weight: 700;
}

.dtg-gate-note .dtg-gate-note__title-link {
	color: var(--dtg-gate-note-ink);
	text-decoration: none;
}

.dtg-gate-note .dtg-gate-note__title-link:hover,
.dtg-gate-note .dtg-gate-note__title-link:focus-visible {
	color: var(--dtg-gate-note-ink);
	text-decoration: underline;
}

.dtg-gate-note .dtg-gate-note__title-link:focus-visible {
	outline: 2px solid var(--dtg-gate-note-focus);
	outline-offset: 2px;
	border-radius: 4px;
}

.dtg-gate-note .dtg-gate-note__link {
	margin-left: auto;
	color: var(--dtg-gate-note-accent);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.dtg-gate-note .dtg-gate-note__link:hover,
.dtg-gate-note .dtg-gate-note__link:focus-visible {
	color: var(--dtg-gate-note-accent);
	text-decoration: underline;
}

.dtg-gate-note .dtg-gate-note__link:focus-visible {
	outline: 2px solid var(--dtg-gate-note-focus);
	outline-offset: 2px;
	border-radius: 4px;
}
