/* ==========================================================================
   fave — brand tokens, accessibility basics and article styles.
   Same values as the Elementor global colors/fonts (see the setup guide).
   ========================================================================== */

:root {
	--fave-ink: #10241C;        /* text, dark surfaces            16:1 on white */
	--fave-text: #2F3E37;       /* body text                      11:1 */
	--fave-text-2: #3E4A57;     /* secondary text                 9:1 */
	--fave-green: #0C8152;      /* primary buttons (white text)   4.9:1 */
	--fave-link: #0A6E47;       /* links and green text           6.3:1 */
	--fave-link-hover: #085A3A;
	--fave-mint: #D9F2E3;       /* highlight surfaces */
	--fave-mist: #F2F7F4;       /* quiet sections */
	--fave-bubble: #E2F7CF;     /* "our answer" chat bubble */
	--fave-sticker: #FFD84D;    /* small labels only, never text on white */
	--fave-line: #E3ECE7;
	--fave-line-strong: #C6D3CC;
	--fave-wa: #15803D;         /* WhatsApp buttons only */
	--fave-danger: #B42318;
	--fave-font: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fave-display: 'Karantina', 'Heebo', sans-serif;
	--fave-radius: 24px;
}

body {
	font-family: var(--fave-font);
	color: var(--fave-ink);
	background: #FFFFFF;
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--fave-link); }
a:hover { color: var(--fave-link-hover); }

/* Big display headings: add the CSS class "fave-display" to any Elementor heading. */
.fave-display,
.fave-display .elementor-heading-title {
	font-family: var(--fave-display) !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	line-height: .86 !important;
}

/* ---------- accessibility ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	/* two-tone ring: visible on white, on green and on ink */
	outline: 3px solid var(--fave-ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #FFFFFF;
	border-radius: 6px;
}
.skip-link.screen-reader-text:focus {
	top: 12px !important;
	right: 16px !important;
	left: auto !important;
	z-index: 100000;
	padding: 12px 18px !important;
	border-radius: 12px;
	background: var(--fave-ink) !important;
	color: #FFFFFF !important;
	font-size: 16px !important;
	font-weight: 600;
	clip: auto !important;
	clip-path: none !important;
	width: auto !important;
	height: auto !important;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   Articles. Add the CSS class "fave-article" to the Post Content widget
   in the single-post template (without Elementor, Hello's own post page gets it too). Text written in the Classic Editor gets this look.
   ========================================================================== */
:is(.fave-article, .single-post .page-content) {
	max-width: 720px;
	color: #24342C;
	font-size: 19px;
	line-height: 1.85;
	overflow-wrap: break-word;
}
:is(.fave-article, .single-post .page-content) > :first-child { margin-top: 0; }
:is(.fave-article, .single-post .page-content) p { margin: 0 0 20px; }
:is(.fave-article, .single-post .page-content) h2 {
	font-family: var(--fave-display);
	font-weight: 700;
	font-size: 64px;
	line-height: .9;
	letter-spacing: 0;
	color: var(--fave-ink);
	margin: 64px 0 18px;
	scroll-margin-top: 100px;
}
:is(.fave-article, .single-post .page-content) h3 {
	font-family: var(--fave-font);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.35;
	color: var(--fave-ink);
	margin: 40px 0 12px;
	scroll-margin-top: 100px;
}
:is(.fave-article, .single-post .page-content) h4 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
:is(.fave-article, .single-post .page-content) a { color: var(--fave-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:is(.fave-article, .single-post .page-content) a:hover { text-decoration-thickness: 2px; }
:is(.fave-article, .single-post .page-content) strong, :is(.fave-article, .single-post .page-content) b { font-weight: 700; color: var(--fave-ink); }
:is(.fave-article, .single-post .page-content) ul, :is(.fave-article, .single-post .page-content) ol { margin: 0 0 24px; padding: 0 24px 0 0; }
:is(.fave-article, .single-post .page-content) li { margin-bottom: 8px; }
:is(.fave-article, .single-post .page-content) li::marker { color: var(--fave-link); font-weight: 700; }
:is(.fave-article, .single-post .page-content) img { max-width: 100%; height: auto; border-radius: var(--fave-radius); }
:is(.fave-article, .single-post .page-content) figure, :is(.fave-article, .single-post .page-content) .wp-caption { max-width: 100%; margin: 32px 0; }
:is(.fave-article, .single-post .page-content) figcaption, :is(.fave-article, .single-post .page-content) .wp-caption-text { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--fave-text-2); }
:is(.fave-article, .single-post .page-content) .aligncenter { display: block; margin-inline: auto; }
:is(.fave-article, .single-post .page-content) blockquote {
	margin: 32px 0;
	padding: 22px 24px;
	border-radius: 22px;
	background: var(--fave-mist);
	font-size: 20px;
	line-height: 1.7;
	color: var(--fave-ink);
}
:is(.fave-article, .single-post .page-content) blockquote p:last-child { margin-bottom: 0; }
:is(.fave-article, .single-post .page-content) table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 17px; line-height: 1.5; display: block; overflow-x: auto; }
:is(.fave-article, .single-post .page-content) th, :is(.fave-article, .single-post .page-content) td { padding: 12px 14px; border-bottom: 1px solid var(--fave-line); text-align: right; vertical-align: top; }
:is(.fave-article, .single-post .page-content) th { font-weight: 700; border-bottom: 2px solid var(--fave-ink); }
:is(.fave-article, .single-post .page-content) hr { border: 0; height: 1px; background: var(--fave-line); margin: 48px 0; }
:is(.fave-article, .single-post .page-content) code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--fave-mist); direction: ltr; unicode-bidi: isolate; }

@media (max-width: 767px) {
	body { font-size: 17px; }
	:is(.fave-article, .single-post .page-content) { font-size: 18px; line-height: 1.8; }
	:is(.fave-article, .single-post .page-content) h2 { font-size: 52px; margin-top: 52px; }
	:is(.fave-article, .single-post .page-content) h3 { font-size: 22px; }
}

/* Links inside running text are underlined: color alone is not enough (WCAG 1.4.1) */
html body .elementor-widget-text-editor :is(p, li) a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html body .elementor-widget-text-editor :is(p, li) a:hover { text-decoration-thickness: 2px; }
