/* Shared across omnifr-* widgets: buttons, eyebrow, containers. Depend on this
   via get_style_depends() rather than duplicating these rules per widget. */

/* Standard WP visually-hidden utility. header.php already references this
   class on the skip link but it was never actually styled anywhere in this
   theme/plugin — defining it here fixes that pre-existing gap too, not just
   this widget's new usage. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.omnifr-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--omnifr-accent);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.omnifr-eyebrow::after {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--omnifr-accent);
}

.omnifr-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	padding: 13px 24px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	white-space: nowrap;
}
.omnifr-btn .omnifr-arrow {
	transition: transform 0.15s ease;
}
.omnifr-btn:focus-visible {
	outline: 2px solid var(--omnifr-accent, var(--omnifr-art-red-light));
	outline-offset: 2px;
}
.omnifr-btn:hover .omnifr-arrow {
	transform: translateX(2px);
}
.omnifr-btn--solid {
	background: var(--omnifr-accent);
	color: var(--omnifr-white);
}
.omnifr-btn--solid:hover {
	filter: brightness(1.08);
}
.omnifr-btn--outline {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}
.omnifr-btn--outline:hover {
	background: rgba(0, 0, 0, 0.04);
}
.omnifr-section--dark .omnifr-btn--outline:hover {
	background: rgba(255, 255, 255, 0.08);
}

.omnifr-container {
	max-width: var(--omnifr-container-max, 1240px);
	margin: 0 auto;
	padding: 0 24px;
}

.omnifr-section {
	padding: 80px 0;
}
.omnifr-section--dark {
	background: var(--omnifr-night);
	color: var(--omnifr-white);
}
.omnifr-section--light {
	background: var(--omnifr-paper);
	color: var(--omnifr-ink);
}

@media (max-width: 768px) {
	.omnifr-section {
		padding: 52px 0;
	}
}

.omnifr-payment-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 30px;
	border-radius: 7px;
	background: var(--omnifr-white);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.omnifr-payment-logo svg {
	display: block;
}

/* Elementor's global Kit "Theme Style > Buttons" default applies an off-brand
   hover/focus fill to any plain <button>. Every omnifr-* button defines its
   own hover/focus treatment, so neutralize that default here as a safety net.
   :where() zeroes this rule's specificity (0,0,0) so it can NEVER beat a
   component's own active/hover state — e.g. .omnifr-pricing__tab.is-active:hover
   (0,2,0) — no matter how low that component rule's own specificity is. Before
   this used a bare button[class*="omnifr-"] selector (0,2,0 itself), which beat
   single-class active-state rules and caused active tab pills to flash
   transparent (white text on white) on hover/focus. */
:where(button[class*="omnifr-"]):hover,
:where(button[class*="omnifr-"]):focus {
	background-color: transparent;
}

/* Google "Add to Preferred Sources" button — see
   Omnifr_Widget_Base::google_preferred_source_button(). Google's own script
   (news.google.com/swg/js/v1/publisher.js) takes this element over once it
   initializes on a real, eligible, live domain; this is the resting style
   shown until then (and the fallback style if it never initializes). */
.omnifr-gpref {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1.5px solid var(--omnifr-muted, #E8E2E2);
	background: var(--omnifr-white);
	color: var(--omnifr-ink);
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
.omnifr-gpref:hover {
	box-shadow: 0 6px 16px rgba(10, 10, 10, 0.1);
}
.omnifr-gpref__logo {
	display: inline-flex;
	flex-shrink: 0;
}
.omnifr-section--dark .omnifr-gpref {
	background: var(--omnifr-white);
	color: var(--omnifr-ink);
	border-color: transparent;
}
.omnifr-gpref--compact {
	padding: 7px 14px;
	font-size: 12.5px;
	gap: 7px;
}
.omnifr-gpref--compact .omnifr-gpref__logo svg {
	width: 14px;
	height: 14px;
}

/* Icon chip — reused by the installation-guide content widgets (and spot-fixed
   on a few forfaits-page widgets) so numbered steps and category icons carry
   real visual weight instead of a bare thin-stroke icon or an outline-only
   circle. Two variants: solid (numbered steps, strong emphasis) and tint
   (category/context icons) — matches the solid-accent badge language already
   used for CTAs/strips and the pricing card's tinted check-chip. */
.omnifr-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 9px;
}
.omnifr-chip--solid {
	background: var(--omnifr-accent);
	color: var(--omnifr-white);
	box-shadow: 0 6px 16px rgba(204, 31, 56, 0.28);
}
.omnifr-chip--tint {
	background: rgba(204, 31, 56, 0.1);
	color: var(--omnifr-accent);
}
.omnifr-section--dark .omnifr-chip--tint {
	background: rgba(204, 31, 56, 0.16);
}
