/*
Theme Name:   Only Funds Starter
Theme URI:    https://automatedintelligentsolutions.com/only-funds
Description:  Field Day starter theme for fundraising sites running the Only Funds plugin: confident, community-sporty and easy to read. Child of Hello Elementor. Pairs with the Only Funds Starter Elementor kit (header, footer, single campaign, campaign archive and ten pages) and ships a one-click demo content installer under Appearance > Only Funds Starter.
Author:       AI Solutions, Inc.
Author URI:   https://automatedintelligentsolutions.com
Template:     hello-elementor
Version:      1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  only-funds-starter
*/

/* ------------------------------------------------------------------
   1. Tokens. Elementor global colors win when the kit is installed;
      the fallbacks give the same look without it.
   ------------------------------------------------------------------ */
:root {
	--ofs-primary: var(--e-global-color-primary, #0f5b4a);
	--ofs-accent: var(--e-global-color-accent, #f2a62b);
	--ofs-ink: var(--e-global-color-text, #1e2328);
	--ofs-muted: var(--e-global-color-secondary, #55606a);
	--ofs-paper: var(--e-global-color-ofpaper, #fafaf7);
	--ofs-mint: var(--e-global-color-ofmint, #e3f1ec);
	--ofs-gold-lt: var(--e-global-color-ofgoldlt, #fdf1d8);
	--ofs-sky: var(--e-global-color-ofsky, #e4eef8);
	--ofs-coral: var(--e-global-color-ofcoral, #fbe2dc);
	--ofs-line: var(--e-global-color-ofline, #dde3df);
	--ofs-white: #ffffff;
	/* Darker text tones for labels on the light panels (all pass WCAG AA, see contrast.py). */
	--ofs-mint-text: #0a4436;
	--ofs-gold-text: #7a4e00;
	--ofs-sky-text: #1d4f86;
	--ofs-coral-text: #9a3412;
	--ofs-head: "Archivo", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ofs-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ofs-r: 16px;
	--ofs-r-sm: 12px;
	--ofs-shadow: 0 1px 2px rgba(30, 35, 40, 0.04), 0 10px 28px rgba(30, 35, 40, 0.07);
	--ofs-measure: 760px;
	--ofs-focus: 0 0 0 3px rgba(242, 166, 43, 0.55);

	/* Only Funds reads these for every front-end component (functions.php also prints them after the plugin's own). */
	--of-primary: var(--ofs-primary);
	--of-accent: var(--ofs-accent);
	--of-ink: var(--ofs-ink);
	--of-paper: var(--ofs-white);
	--of-muted: var(--ofs-muted);
	--of-line: var(--ofs-line);
	--of-radius: var(--ofs-r);
	--of-font: var(--ofs-body);
}

/* ------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------ */
body {
	font-family: var(--ofs-body);
	color: var(--ofs-ink);
	background: var(--ofs-paper);
	-webkit-font-smoothing: antialiased;
	font-size: 17px;
	line-height: 1.6;
}
h1, h2, h3, h4, .ofs-display {
	font-family: var(--ofs-head);
	font-weight: 800;
	color: var(--ofs-ink);
	letter-spacing: -0.02em;
	line-height: 1.08;
}
h5, h6 { font-family: var(--ofs-head); font-weight: 700; color: var(--ofs-ink); }
h6 { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
a { color: var(--ofs-primary); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ofs-ink); }
:focus-visible { outline: none; box-shadow: var(--ofs-focus); border-radius: 6px; }
::selection { background: var(--ofs-gold-lt); }

/* Money and counts: big, tabular, never wobbling as they update. */
.ofs-figure, .ofs-figure .elementor-heading-title {
	font-family: var(--ofs-head);
	font-weight: 800;
	font-variant-numeric: tabular-nums lining-nums;
	letter-spacing: -0.02em;
}
.ofs-figure .elementor-heading-title { font-size: clamp(40px, 5vw, 56px); line-height: 1; color: var(--ofs-primary); }

/* Label: small uppercase pill (Elementor heading with class ofs-label plus a tone). */
.ofs-label .elementor-heading-title {
	display: inline-block;
	font-family: var(--ofs-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 5px 12px;
	line-height: 1.4;
	background: var(--ofs-mint);
	color: var(--ofs-mint-text);
}
.elementor-widget.ofs-label { width: auto !important; max-width: 100%; }
.ofs-label-gold .elementor-heading-title { background: var(--ofs-gold-lt); color: var(--ofs-gold-text); }
.ofs-label-sky .elementor-heading-title { background: var(--ofs-sky); color: var(--ofs-sky-text); }
.ofs-label-coral .elementor-heading-title { background: var(--ofs-coral); color: var(--ofs-coral-text); }
.ofs-label-white .elementor-heading-title { background: var(--ofs-white); color: var(--ofs-primary); }

/* ------------------------------------------------------------------
   3. Layout helpers used by the Elementor kit
   ------------------------------------------------------------------ */
.ofs-band { padding-top: 56px; padding-bottom: 56px; }
.ofs-band-tight { padding-top: 28px; padding-bottom: 28px; }
.ofs-measure.e-con, .ofs-measure > .e-con-inner { max-width: var(--ofs-measure); margin-left: auto; margin-right: auto; }
/* Panels: ofs-panel plus one tone. 16px radius, 1px line on white, flat color otherwise. */
.ofs-panel { border-radius: var(--ofs-r); }
.ofs-white { background: var(--ofs-white); border: 1px solid var(--ofs-line); }
.ofs-mint { background: var(--ofs-mint); }
.ofs-gold { background: var(--ofs-gold-lt); }
.ofs-sky { background: var(--ofs-sky); }
.ofs-coral { background: var(--ofs-coral); }
.ofs-pine { background: var(--ofs-primary); color: #fff; }
.ofs-ink { background: var(--ofs-ink); color: #fff; }
.ofs-pine h2, .ofs-pine h3, .ofs-ink h2, .ofs-ink h3 { color: #fff; }
.ofs-section-title .elementor-heading-title { font-size: clamp(28px, 3.4vw, 36px); }
.ofs-dek, .ofs-dek p { color: var(--ofs-muted); }
.ofs-panel.ofs-mint .ofs-dek p { color: #3f4a52; }
.ofs-display .elementor-heading-title { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.ofs-way { justify-content: space-between; }
.ofs-way .elementor-widget-button { margin-top: auto; }
.ofs-sticky { position: sticky; top: 24px; align-self: flex-start; }
.admin-bar .ofs-sticky { top: 56px; }
@media (max-width: 1024px) { .ofs-sticky { position: static; } }
@media (max-width: 767px) {
	.ofs-band { padding-top: 40px; padding-bottom: 40px; }
	.ofs-panel { padding: 22px !important; }
}

/* ------------------------------------------------------------------
   4. Buttons (999px pills everywhere)
   ------------------------------------------------------------------ */
.elementor-button, .elementor-button:visited {
	font-family: var(--ofs-head);
	font-weight: 700;
	border-radius: 999px;
	letter-spacing: 0.01em;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.elementor-button:active { transform: translateY(1px); }
.ofs-btn-primary .elementor-button { background: var(--ofs-primary); color: #fff; }
.ofs-btn-primary .elementor-button:hover { background: var(--ofs-accent); color: var(--ofs-ink); }
.ofs-btn-give .elementor-button { background: var(--ofs-accent); color: var(--ofs-ink); }
.ofs-btn-give .elementor-button:hover { background: var(--ofs-ink); color: #fff; }
.ofs-btn-outline .elementor-button { background: #fff; color: var(--ofs-ink); border: 1px solid var(--ofs-line); }
.ofs-btn-outline .elementor-button:hover { background: var(--ofs-ink); color: #fff; border-color: var(--ofs-ink); }
.elementor-widget-button.elementor-widget { width: auto; }

/* ------------------------------------------------------------------
   5. Header and footer
   ------------------------------------------------------------------ */
.ofs-header { border-bottom: 1px solid var(--ofs-line); }
.ofs-wordmark .elementor-heading-title { font-family: var(--ofs-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.ofs-wordmark .elementor-heading-title a { color: var(--ofs-primary); text-decoration: none; }
.ofs-nav .elementor-nav-menu--main .elementor-item { font-family: var(--ofs-head); font-weight: 700; font-size: 15px; color: var(--ofs-ink); border-radius: 999px; }
.ofs-nav .elementor-nav-menu--main .elementor-item:hover,
.ofs-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { background: var(--ofs-mint); color: var(--ofs-primary); }
.ofs-nav .elementor-nav-menu--dropdown { background: #fff; border: 1px solid var(--ofs-line); border-radius: var(--ofs-r-sm); box-shadow: var(--ofs-shadow); }
.ofs-nav .elementor-menu-toggle { border-radius: 999px; background: var(--ofs-mint); color: var(--ofs-primary); }
.ofs-header-give .elementor-button { padding: 11px 24px; font-size: 15px; }
.ofs-footer { border-top: 1px solid var(--ofs-line); }
.ofs-footer-head .elementor-heading-title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ofs-muted); }
.ofs-menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ofs-menu-list a { font-family: var(--ofs-body); font-size: 15px; font-weight: 600; color: var(--ofs-ink); text-decoration: none; }
.ofs-menu-list a:hover { color: var(--ofs-primary); text-decoration: underline; }
.ofs-legal, .ofs-legal p { font-size: 13px; color: var(--ofs-muted); margin: 0; }
.ofs-legal a { color: var(--ofs-muted); }
.ofs-powered { font-family: var(--ofs-head); font-weight: 700; letter-spacing: 0.02em; }

/* ------------------------------------------------------------------
   6. Hero and campaign templates
   ------------------------------------------------------------------ */
.ofs-hero .ofs-feature-card { box-shadow: var(--ofs-shadow); }
/* Single campaign hero: featured image with the only gradient on the site (Elementor background overlay). */
.ofs-campaign-hero { color: #fff; }
.ofs-campaign-hero .ofs-hero-title .elementor-heading-title { color: #fff; }
.ofs-campaign-hero .ofs-hero-dek, .ofs-campaign-hero .ofs-hero-dek p { color: #f1f4f2; max-width: 620px; }
.ofs-hero-card { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); border: 0 !important; }
.ofs-form-card { box-shadow: var(--ofs-shadow); scroll-margin-top: 90px; }
#give { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ofs-campaign-content { font-size: 18px; }
.ofs-campaign-content h2 { font-size: 28px; margin-top: 1.4em; }
.ofs-campaign-content h3 { font-size: 22px; margin-top: 1.2em; }
.ofs-campaign-content blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--ofs-gold-lt); border-radius: var(--ofs-r); border: 0; font-family: var(--ofs-head); font-weight: 700; font-size: 1.15em; line-height: 1.35; }
.ofs-campaign-content img { border-radius: var(--ofs-r); }
/* Type widgets: every slot is placed; the plugin prints nothing (or an editor note) when a widget does not fit the campaign type. */
.ofs-type-slot .of-note--editor { display: none; }
.elementor-editor-active .ofs-type-slot .of-note--editor { display: block; opacity: 0.7; }
.ofs-slot:empty, .ofs-slot .elementor-shortcode:empty { display: none; }
.elementor-widget-shortcode.ofs-slot:has(.elementor-shortcode:empty) { display: none; }

/* ------------------------------------------------------------------
   7. Elementor Pro widgets used by the kit
   ------------------------------------------------------------------ */
/* Posts widget (cards skin) on Home. */
.ofs-posts .elementor-post__card { border-radius: var(--ofs-r); border: 1px solid var(--ofs-line); box-shadow: none; background: #fff; overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.ofs-posts .elementor-post__card:hover { box-shadow: var(--ofs-shadow); transform: translateY(-2px); }
.ofs-posts .elementor-post__title, .ofs-posts .elementor-post__title a { font-family: var(--ofs-head); font-weight: 800; color: var(--ofs-ink); letter-spacing: -0.01em; }
.ofs-posts .elementor-post__excerpt p { font-size: 15px; color: var(--ofs-muted); }
.ofs-posts .elementor-post__badge { border-radius: 999px; font-family: var(--ofs-head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; background: var(--ofs-primary); }
.ofs-posts .elementor-post__read-more { font-family: var(--ofs-head); font-weight: 700; color: var(--ofs-primary); }
.ofs-posts .elementor-post__meta-data { border-top-color: var(--ofs-line); color: var(--ofs-muted); }
/* Loop Grid, if you swap the Posts widget for one. */
.elementor-widget-loop-grid .e-loop-item { border-radius: var(--ofs-r); overflow: hidden; }
/* Accordion FAQ. */
.ofs-faq .elementor-accordion-item { border: 1px solid var(--ofs-line); border-radius: var(--ofs-r-sm); margin-bottom: 10px; background: #fff; overflow: hidden; }
.ofs-faq .elementor-accordion-item + .elementor-accordion-item { border-top: 1px solid var(--ofs-line); }
.ofs-faq .elementor-tab-title { padding: 18px 20px; font-family: var(--ofs-head); }
.ofs-faq .elementor-tab-title.elementor-active { background: var(--ofs-mint); }
.ofs-faq .elementor-tab-content { padding: 4px 20px 18px; border-top: 0 !important; }
/* Pro Form on Contact. */
.ofs-contact-form .elementor-field-group .elementor-field { border-radius: var(--ofs-r-sm); border: 1px solid var(--ofs-line); background: #fff; }
.ofs-contact-form .elementor-field-group .elementor-field:focus { border-color: var(--ofs-primary); box-shadow: var(--ofs-focus); }
.ofs-contact-form .elementor-button { border-radius: 999px; }
/* Nav Menu widget elsewhere, Site Title, Post Title. */
.elementor-widget-theme-post-excerpt .elementor-widget-container { line-height: 1.5; }

/* ------------------------------------------------------------------
   8. Only Funds components, restyled to Field Day
   Selectors follow the plugin's front.css and portal.css (.of-* classes).
   The plugin also reads the --of-* variables set in section 1, so colors
   follow Elementor Site Settings even where no rule below applies.
   ------------------------------------------------------------------ */
:root {
	--of-soft: #eff7f4;
	--of-tint: var(--ofs-mint);
	--of-radius-sm: var(--ofs-r-sm);
	--of-on-primary: #ffffff;
	--of-shadow: none;
}
.of-form-wrap, .of-progress, .of-countdown, .of-wall, .of-leaderboard, .of-board, .of-items, .of-match, .of-milestones,
.of-sponsors, .of-cards, .of-orgstats, .of-check-instructions, .of-thanks, .of-pledge-pay, .of-campaign, .of-portal { font-family: var(--ofs-body); }
.of-form__heading, .of-card__title, .of-item__name, .of-leaderboard__name, .of-match__title, .of-milestone__label, .of-thanks__title,
.of-check-instructions__title, .of-pledge-pay__title, .of-portal__title, .of-sponsor__name, .of-closed__title { font-family: var(--ofs-head); font-weight: 800; letter-spacing: -0.01em; }
/* Every money figure and count: Archivo 800, tabular. */
.of-progress__raised, .of-card__figures strong, .of-orgstats__num, .of-countdown__num, .of-ring__pct, .of-item__price, .of-wall__amount,
.of-leaderboard__amt, .of-leaderboard__rank, .of-milestone__goal, .of-square__label, .of-stats-row strong, .of-summary strong, .of-num,
.of-chip__label, .of-board__count strong {
	font-family: var(--ofs-head);
	font-weight: 800;
	font-variant-numeric: tabular-nums lining-nums;
}

/* Buttons: pills. Primary donation buttons are gold with ink text (7.7:1). */
.of-btn { border-radius: 999px; font-family: var(--ofs-head); font-weight: 700; padding: 12px 22px; border-width: 1px; border-color: var(--ofs-line); color: var(--ofs-ink); }
.of-btn:hover { background: var(--ofs-ink); border-color: var(--ofs-ink); color: #fff; }
.of-btn--primary { background: var(--ofs-accent); border-color: var(--ofs-accent); color: var(--ofs-ink); }
.of-btn--primary:hover { background: var(--ofs-ink); border-color: var(--ofs-ink); color: #fff; }
.of-btn--primary.of-btn--block { min-height: 56px; font-size: 18px; }
.of-btn--small { padding: 7px 14px; }
.of-btn--danger { border-color: #e7b4ab; color: var(--ofs-coral-text); }
.of-link { color: var(--ofs-primary); font-weight: 600; }
.of-badge { border-radius: 999px; font-family: var(--ofs-head); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; background: var(--ofs-mint); color: var(--ofs-mint-text); }
.of-badge--muted { background: var(--ofs-gold-lt); color: var(--ofs-gold-text); }
.of-note--editor { background: var(--ofs-gold-lt); color: var(--ofs-gold-text); border-radius: var(--ofs-r-sm); padding: 10px 14px; font-size: 14px; }
.of-notice { border-radius: var(--ofs-r-sm); }
.of-notice--error, .of-errors:not(:empty) { background: var(--ofs-coral); color: var(--ofs-coral-text); border-radius: var(--ofs-r-sm); }

/* Bars: flat pine on a mint track (no gradient), gold for matched money. */
.of-bar { background: var(--ofs-mint); height: 14px; }
.of-bar--thin { height: 8px; }
.of-bar__fill { background: var(--ofs-primary); }
.of-bar__fill--accent { background: var(--ofs-accent); }

/* Donation form */
.of-form-wrap { color: var(--ofs-ink); }
.of-form__heading { font-size: 24px; }
.of-form__intro, .of-hint { color: var(--ofs-muted); }
.of-legend { font-family: var(--ofs-head); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ofs-muted); }
.of-form input[type="text"], .of-form input[type="email"], .of-form input[type="tel"], .of-form input[type="number"], .of-form input[type="url"],
.of-form input[type="date"], .of-form select, .of-form textarea, .of-portal__input {
	border: 1px solid var(--ofs-line);
	border-radius: var(--ofs-r-sm);
	background: #fff;
	font-family: var(--ofs-body);
	color: var(--ofs-ink);
}
.of-form input:focus, .of-form select:focus, .of-form textarea:focus, .of-portal__input:focus { border-color: var(--ofs-primary); box-shadow: var(--ofs-focus); outline: none; }
.of-chip__label { border-radius: 999px; font-size: 18px; border-color: var(--ofs-line); }
.of-chip--other .of-chip__label { font-family: var(--ofs-body); font-weight: 600; font-size: 15px; }
.of-chip:hover .of-chip__label { border-color: var(--ofs-primary); }
.of-chip input:checked + .of-chip__label { background: var(--ofs-primary); border-color: var(--ofs-primary); color: #fff; }
.of-segment { border-radius: 999px; background: var(--ofs-mint); }
.of-segment__opt span { border-radius: 999px; font-family: var(--ofs-head); font-weight: 700; color: #3f4a52; }
.of-segment__opt input:checked + span { background: #fff; color: var(--ofs-primary); box-shadow: 0 1px 2px rgba(30, 35, 40, 0.12); }
.of-tab__label { border-radius: var(--ofs-r-sm); font-family: var(--ofs-head); font-weight: 700; }
.of-tab input:checked + .of-tab__label { background: var(--ofs-mint); border-color: var(--ofs-primary); color: var(--ofs-primary); }
.of-check--fee { background: var(--ofs-paper); border-radius: var(--ofs-r-sm); }
.of-check--fee:has(input:checked) { background: var(--ofs-mint); }
.of-check input, .of-radio input { accent-color: var(--ofs-primary); }
.of-summary { background: var(--ofs-paper); border: 1px solid var(--ofs-line); border-radius: var(--ofs-r-sm); }
.of-summary strong { font-size: 22px; }
.of-trust { color: var(--ofs-muted); }
.of-trust__tax { background: var(--ofs-mint); color: var(--ofs-mint-text); border-radius: var(--ofs-r-sm); padding: 8px 12px; }
.of-closed { background: var(--ofs-gold-lt); border-radius: var(--ofs-r); }
[data-of-item].is-selected, [data-of-item][aria-pressed="true"] { background: var(--ofs-mint); }

/* Progress */
.of-progress__raised { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; }
.of-progress__goal { color: var(--ofs-muted); }
.of-progress__goal-hit { color: var(--ofs-primary); }
.of-progress--numbers .of-stats-row li { background: var(--ofs-mint); border-radius: var(--ofs-r-sm); padding: 12px 16px; }
.of-progress--numbers .of-stats-row strong { display: block; font-size: 28px; }
.of-thermo__tube { border-color: var(--ofs-line); }
.of-thermo__fill, .of-thermo__bulb { background: var(--ofs-primary); }
.of-thermo__bulb { border-color: var(--ofs-line); }
.of-ring__track { stroke: var(--ofs-mint); }
.of-ring__fill { stroke: var(--ofs-primary); }
.of-ring__pct { color: var(--ofs-ink); }

/* Countdown: ink tiles with gold numbers (7.7:1). */
.of-countdown__heading { font-family: var(--ofs-head); color: var(--ofs-muted); }
.of-countdown__unit { background: var(--ofs-ink); border-radius: var(--ofs-r-sm); }
.of-countdown__num { color: var(--ofs-accent); font-size: 30px; }
.of-countdown__label { color: #e3e7e5; opacity: 1; }

/* Donor wall */
.of-wall--grid .of-wall__item { background: #fff; border-color: var(--ofs-line); border-radius: var(--ofs-r); padding: 16px; }
.of-wall__item { border-bottom-color: var(--ofs-line); }
.of-wall__avatar { background: var(--ofs-mint); color: var(--ofs-primary); font-family: var(--ofs-head); font-weight: 800; }
.of-wall__name { font-family: var(--ofs-head); font-weight: 700; }
.of-wall__amount { color: var(--ofs-primary); }
.of-wall__tribute { color: var(--ofs-coral-text); }
.of-wall__comment { color: #3f4a52; }

/* Leaderboard (contest) */
.of-leaderboard__row { border-radius: var(--ofs-r); background: #fff; border-color: var(--ofs-line); padding: 14px 16px; }
.of-leaderboard__row.is-leader { border: 2px solid var(--ofs-accent); background: var(--ofs-gold-lt); }
.of-leaderboard__rank { background: var(--ofs-mint); color: var(--ofs-primary); }
.is-leader .of-leaderboard__rank { background: var(--ofs-accent); color: var(--ofs-ink); }
.of-leaderboard__name { font-size: 18px; }
.of-leaderboard__votes { color: var(--ofs-muted); }

/* Fill the board */
.of-board__grid { gap: 8px; }
.of-square__inner { border: 1px solid var(--ofs-line); border-radius: var(--ofs-r-sm); background: #fff; }
.of-square__label { font-size: 19px; }
.of-square__amt { color: var(--ofs-muted); }
.of-square:hover .of-square__inner, .of-square.is-selected .of-square__inner, [data-of-item].is-selected .of-square__inner { border-color: var(--ofs-primary); background: var(--ofs-mint); }
.of-square.is-claimed .of-square__inner { background: var(--ofs-primary); border-color: var(--ofs-primary); color: #fff; }
.of-square.is-claimed .of-square__amt { color: #d7ebe4; }

/* Items: wishlist and in-kind needs, tickets, sponsor tiers, membership levels */
.of-item { border-color: var(--ofs-line); border-radius: var(--ofs-r); background: #fff; }
.of-item__img { border-radius: var(--ofs-r-sm); }
.of-item__name { font-size: 19px; }
.of-item__price { font-size: 28px; color: var(--ofs-primary); letter-spacing: -0.02em; }
.of-item__price small { font-family: var(--ofs-body); font-weight: 400; font-size: 14px; letter-spacing: 0; }
.of-item__fmv { background: var(--ofs-paper); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.of-item__benefits { color: #3f4a52; }
.of-item--sponsor_tier:first-child, .of-item--level:last-child { border: 2px solid var(--ofs-accent); }
.of-item--ticket .of-item__price, .of-item--need .of-item__price { color: var(--ofs-ink); }
.of-need { border-bottom-color: var(--ofs-line); }
.of-need__name { font-family: var(--ofs-head); font-weight: 700; }
.of-stepper input { border-radius: 999px !important; text-align: center; }
.of-type-section { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.of-type-section > legend { font-family: var(--ofs-head); font-weight: 800; font-size: 20px; color: var(--ofs-ink); padding: 0; margin-bottom: 12px; }
.of-needs { display: grid; gap: 10px; margin: 14px 0; }
.of-needs .of-need {
	display: grid;
	grid-template-columns: 1fr 112px;
	gap: 4px 16px;
	align-items: center;
	text-align: left;
	padding: 14px 16px;
	border: 1px solid var(--ofs-line);
	border-radius: var(--ofs-r-sm);
	background: #fff;
}
.of-needs .of-need > label, .of-needs .of-need > .of-item__desc { grid-column: 1; }
.of-needs .of-need > input[data-of-qty] { grid-column: 2; grid-row: 1 / span 2; text-align: center; border-radius: 999px; font-family: var(--ofs-head); font-weight: 800; }
.of-needs .of-item__goal { color: var(--ofs-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.of-locations { background: var(--ofs-mint); border-radius: var(--ofs-r-sm); padding: 12px 14px; color: var(--ofs-ink); }
.of-sponsor__logo:not([src]), .of-sponsor__logo[src=""] { display: none; }
.of-dropoff { background: var(--ofs-sky); border-radius: var(--ofs-r-sm); padding: 12px 14px; color: var(--ofs-ink); }

/* Matching gift card: ink panel, gold for the match. */
.of-match { background: var(--ofs-ink); border: 0; color: #fff; border-radius: var(--ofs-r); }
.of-match__eyebrow { color: var(--ofs-accent); font-family: var(--ofs-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.of-match__title { color: #fff; font-size: 24px; }
.of-match .of-stats-row { color: #cfd5d2; }
.of-match .of-stats-row strong { color: #fff; }
.of-match .of-bar { background: rgba(255, 255, 255, 0.16); }
.of-match__done { color: var(--ofs-accent); }
.of-match.is-done { background: var(--ofs-primary); }

/* Giving day milestones */
.of-milestone__dot { border-color: var(--ofs-line); }
.of-milestone.is-reached .of-milestone__dot { background: var(--ofs-primary); border-color: var(--ofs-primary); }
.of-milestone.is-reached:not(:last-child)::before { background: var(--ofs-primary); }
.of-milestone.is-next .of-milestone__dot { border-color: var(--ofs-accent); background: var(--ofs-gold-lt); }
.of-milestone__goal { font-size: 22px; }
.of-milestone.is-reached .of-milestone__goal { color: var(--ofs-primary); }
.of-milestone__unlock { color: #3f4a52; }
.of-milestone.is-locked .of-milestone__unlock { color: var(--ofs-muted); }

/* Sponsors and prize donors */
.of-sponsors__tier { font-family: var(--ofs-head); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ofs-sky-text); }
.of-sponsor { border-color: var(--ofs-line); border-radius: var(--ofs-r); background: #fff; min-height: 96px; }
.of-sponsor__logo { filter: grayscale(1); opacity: 0.85; transition: filter 0.2s ease, opacity 0.2s ease; }
.of-sponsor:hover .of-sponsor__logo { filter: none; opacity: 1; }
.of-sponsor__name { font-size: 17px; color: var(--ofs-ink); }
.ofs-sponsor-strip .of-sponsors__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* Campaign cards */
.of-cards { gap: 24px; }
.of-card { border-color: var(--ofs-line); border-radius: var(--ofs-r); background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.of-card:hover { box-shadow: var(--ofs-shadow); transform: translateY(-2px); }
.of-card__media { aspect-ratio: 16 / 10; background: var(--ofs-mint); }
.of-card__placeholder { background: var(--ofs-mint); }
.of-card__body { padding: 20px; }
.of-card__title { font-size: 21px; line-height: 1.15; }
.of-card__figures strong { font-size: 24px; letter-spacing: -0.02em; }
.of-card--ended { opacity: 1; }
.of-card--ended .of-card__media { filter: grayscale(0.6); }
@media (prefers-reduced-motion: reduce) { .of-card, .of-card:hover, .of-card__img { transition: none; transform: none; } }

/* Org stats on Home */
.of-orgstats { gap: 16px; }
.of-orgstats__item { background: #fff; border: 1px solid var(--ofs-line); border-radius: var(--ofs-r); padding: 22px 24px; }
.of-orgstats__num { font-size: clamp(36px, 4.4vw, 52px); color: var(--ofs-primary); letter-spacing: -0.03em; }
.of-orgstats__label { color: var(--ofs-muted); }

/* Thank you, check instructions, pledge pay */
.of-thanks__title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.of-thanks__mark { background: var(--ofs-primary); }
.of-thanks--pending .of-thanks__mark, .of-thanks--check .of-thanks__mark { background: var(--ofs-accent); }
.of-thanks__ref { font-family: var(--ofs-head); font-weight: 700; font-variant-numeric: tabular-nums; }
.of-thanks__check, .of-check-instructions { background: var(--ofs-sky); border-radius: var(--ofs-r); padding: 20px 22px; border: 0; }
.of-check-instructions__title { font-size: 22px; }
.of-dl dt { font-family: var(--ofs-head); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ofs-sky-text); }
.of-pledge-pay__title { font-size: 28px; }

/* Single campaign fallback layout (used only when the kit's template is not applied) */
.of-campaign__hero { border-radius: var(--ofs-r); overflow: hidden; }
.of-campaign__side { position: sticky; top: 24px; }

/* Donor portal (portal.css) */
.of-portal__card { border-color: var(--ofs-line); border-radius: var(--ofs-r); background: #fff; }
.of-portal__title { font-size: 28px; }
.of-portal__nav a { border-radius: 999px; font-family: var(--ofs-head); font-weight: 700; }
.of-portal__badge, .of-portal__status { border-radius: 999px; font-family: var(--ofs-head); font-weight: 700; }
.of-portal__table { font-variant-numeric: tabular-nums; }
.of-portal__table th { font-family: var(--ofs-head); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ofs-muted); border-bottom-color: var(--ofs-line); }
.of-portal__table td { border-bottom-color: var(--ofs-line); }
.of-portal--login .of-portal__card { background: var(--ofs-mint); border: 0; }

/* ------------------------------------------------------------------
   9. Hello Elementor fallbacks when the kit is not installed
   ------------------------------------------------------------------ */
.site-header .site-title a { font-family: var(--ofs-head); font-weight: 800; text-decoration: none; color: var(--ofs-primary); }
.site-header .site-navigation a { font-family: var(--ofs-head); font-weight: 700; font-size: 15px; }
body:not(.elementor-page) .site-main { max-width: var(--ofs-measure); margin: 40px auto; padding: 0 20px; }
body.of-campaign-page:not(.elementor-page) .site-main { max-width: 1200px; }
