/*
Theme Name: Collect! Theme 2026
Theme URI: https://collect.org
Description: Astra child theme for the Collect! website redesign. Brand-compliant typography (Outfit/Inter) and color system.
Author: Comtech Systems Inc.
Author URI: https://collect.org
Template: astra
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: collect-theme-2026
*/

/* ── Design-system tokens ───────────────────────────────────────────────
   Mirror of collect-design-system/css/tokens.css 1.1.0 (+ the on-dark text
   tokens proposed in Tasks/20261028-Full-redesign-v2/03_design_conflicts.md).
   Keep in sync — never add a colour here that is not in the design system. */
:root {
  /* brand */
  --color-teal:           #2BA3BB;
  --color-persian-blue:   #1A3373;
  --color-urgent-orange:  #F89939;
  --color-mid-grey:       #626464;
  --color-money:          #A1BF2F;
  --color-berry:          #A94382;
  /* semantic roles */
  --color-primary:    var(--color-teal);
  --color-secondary:  var(--color-persian-blue);
  --color-accent:     var(--color-urgent-orange);
  --color-neutral:    var(--color-mid-grey);
  --color-success:    var(--color-money);
  --color-info:       var(--color-berry);
  --color-warning:    var(--color-urgent-orange);
  --color-danger:     #C0392B;
  /* surfaces & text */
  --color-text:       var(--color-mid-grey);
  --color-heading:    var(--color-persian-blue);
  --color-muted:      #8A8C8C;
  --color-bg:         #FFFFFF;
  --color-bg-alt:     #F7F8FA;
  --color-bg-alt-2:   #EFF3F8;      /* second soft tint (cw- surfaces) */
  --color-bg-dark:    #0F1A3A;
  --color-border:     #E4E7EC;
  --color-border-strong: #C9CED6;
  --color-ink:        #1F2430;      /* theme-only: strong text in 1.x cw- components */
  /* tints */
  --color-teal-50:    #E9F6F9;
  --color-teal-100:   #C8E8EE;
  --color-teal-700:   #1F7F92;
  --color-blue-50:    #EAEEF7;
  --color-blue-700:   #122657;
  --color-blue-800:   #122657;      /* alias kept for 1.x rules */
  --color-orange-50:  #FDEEDB;
  --color-accent-700: #E6882E;      /* alias kept for 1.x rules */
  --color-money-50:   #F1F6DD;
  --color-berry-50:   #F2E1EC;
  /* text on --color-bg-dark (design-system addition, doc 03 C-07) */
  --color-on-dark:        #DDE3F0;
  --color-on-dark-muted:  rgba(221, 227, 240, 0.7);
  /* typography */
  --font-heading: 'Outfit', 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700;
  --leading-tight: 1.15; --leading-snug: 1.35; --leading-normal: 1.6; --leading-loose: 1.8;
  --fs-12: 0.75rem; --fs-14: 0.875rem; --fs-16: 1rem; --fs-18: 1.125rem; --fs-20: 1.25rem;
  --fs-24: 1.5rem; --fs-30: 1.875rem; --fs-36: 2.25rem; --fs-48: 3rem; --fs-60: 3.75rem;
  /* spacing (4px base) */
  --space-0: 0; --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-7: 1.75rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  /* radii */
  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-xl: 22px; --radius-pill: 999px;
  /* shadows */
  --shadow-xs:   0 1px 2px rgba(15, 26, 58, 0.06);
  --shadow-sm:   0 2px 4px rgba(15, 26, 58, 0.06), 0 1px 2px rgba(15, 26, 58, 0.04);
  --shadow-md:   0 6px 16px rgba(15, 26, 58, 0.08), 0 2px 4px rgba(15, 26, 58, 0.04);
  --shadow-lg:   0 18px 40px rgba(15, 26, 58, 0.12), 0 4px 12px rgba(15, 26, 58, 0.06);
  --shadow-ring: 0 0 0 3px rgba(43, 163, 187, 0.30);
  /* motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-1: 120ms; --duration-2: 200ms; --duration-3: 320ms;
  /* layout */
  --container-max: 1180px;  /* D-10 */
  --content-max:   72ch;
  /* touch & safe area */
  --touch-min: 44px;
  --safe-top: env(safe-area-inset-top, 0px); --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px); --safe-left: env(safe-area-inset-left, 0px);
}

/* ── Base font-size (Astra defaults to 87.5%/14px; staticdemo assumes 16px) */
html { font-size: 16px; }

/* ── Page Background ─────────────────────── */
body,
body.elementor-default,
body[class*="elementor-page-"]:not(.elementor-motion-effects-element-type-background),
body[class*="elementor-page-"] > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--color-bg-alt) !important;
}

/* ── Typography ───────────────────────────── */
body,
.elementor-widget-text-editor,
.elementor-widget-theme-post-content {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  color: var(--color-heading);
}

/* ── Links & Buttons ─────────────────────── */
a {
  color: var(--color-primary);
}

a:hover,
a:focus {
  color: var(--color-secondary);
}

.elementor-button,
.wp-block-button__link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* ── Contact Bar ─────────────────────────── */
.collect-contact-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.collect-contact-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.45rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
.collect-contact-bar a {
  color: var(--color-neutral);
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.collect-contact-bar a:hover { color: var(--color-primary); }
.collect-trust-link { color: var(--color-primary) !important; font-weight: 600 !important; }
.collect-contact-phone {
  color: var(--color-secondary) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}
.collect-separator {
  width: 1px;
  height: 14px;
  background: var(--color-border-strong);
}

/* ── Elementor price-table buttons → match the orange primary CTA ──
   Overrides the default green Elementor price-table button so price tables
   (Upgrade Collect!, Pricing pages, etc.) match the site's orange primary
   CTAs (Tarek-v2). The per-page Elementor CSS file uses selectors prefixed
   with `.elementor-{ID}` for higher specificity, so we boost ours by chaining
   the class twice and keeping !important. */
a.elementor-button.elementor-price-table__button,
a.elementor-button.elementor-price-table__button.elementor-button {
  background-color: var(--color-accent) !important;
  color: #fff !important;
  border-color: var(--color-accent) !important;
  transition: background-color 0.15s;
}
a.elementor-button.elementor-price-table__button:hover,
a.elementor-button.elementor-price-table__button:focus,
a.elementor-button.elementor-price-table__button.elementor-button:hover,
a.elementor-button.elementor-price-table__button.elementor-button:focus {
  background-color: var(--color-accent-700) !important;
  color: #fff !important;
  border-color: var(--color-accent-700) !important;
}

/* ── Elementor button widgets → match the teal "Contact Us" CTA ──
   Same teal-on-white-text treatment as the price-table button override,
   applied to plain Elementor button widgets (`.elementor-widget-button`).
   Per-page Elementor CSS uses `.elementor-{ID}` selectors so we chain the
   class twice and keep !important to win the cascade. */
.elementor-widget-button .elementor-button-wrapper a.elementor-button,
.elementor-widget-button .elementor-button-wrapper a.elementor-button.elementor-button {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.6rem;
  transition: background-color 0.15s;
}
.elementor-widget-button .elementor-button-wrapper a.elementor-button:hover,
.elementor-widget-button .elementor-button-wrapper a.elementor-button:focus,
.elementor-widget-button .elementor-button-wrapper a.elementor-button.elementor-button:hover,
.elementor-widget-button .elementor-button-wrapper a.elementor-button.elementor-button:focus {
  background-color: var(--color-teal-700) !important;
  color: #fff !important;
  border-color: var(--color-teal-700) !important;
}

/* ── Elementor nav-menu dropdowns → match #primary-menu dropdown style.
   Used on /member-center/ pages where the secondary nav is built with
   Elementor's nav-menu widget. By default Elementor renders the submenu
   with a dark/alternating background; we restore the clean white card
   look so the in-page nav matches the site header. */
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu,
.elementor-widget-nav-menu .sub-menu {
  background: #fff !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
  min-width: 240px;
  padding: 0.5rem 0 !important;
}
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu li a,
.elementor-widget-nav-menu .sub-menu li a {
  background: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: var(--color-neutral) !important;
  padding: 0.55rem 1.25rem !important;
  border: 0 !important;
  white-space: nowrap;
}
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu li a:hover,
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu li a:focus,
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu li.current-menu-item > a,
.elementor-widget-nav-menu .sub-menu li a:hover,
.elementor-widget-nav-menu .sub-menu li a:focus,
.elementor-widget-nav-menu .sub-menu li.current-menu-item > a {
  background: var(--color-bg-alt) !important;
  color: var(--color-primary) !important;
}

/* ── Contact bar: desktop only (the mockup header has no bar on phones) ── */
@media (max-width: 1080px) {
  .collect-contact-bar { display: none; }
}

/* ── Latest News (homepage + reusable) ───── */
.hp-news { display: none; }
.hp-news-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.hp-news h2 { font-size: 1.4rem; margin-bottom: 1.5rem; text-align: center; }
.hp-news-list { display: flex; flex-direction: column; gap: 1rem; }
.hp-news-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.hp-news-date {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
  min-width: 80px;
}
.hp-news-item h3 { font-size: 0.95rem; font-weight: 600; }
.hp-news-item p { font-size: 0.85rem; margin: 0.2rem 0 0; color: var(--color-text); }
.hp-news-read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.hp-news-read-more:hover { color: var(--color-secondary); }
[data-visitor="returning"] .hp-news,
[data-visitor="member"] .hp-news { display: block; }

/* ── Single Post (news) ──────────────────── */
.collect-post-hero {
  background: linear-gradient(135deg, #1A3373 0%, #2BA3BB 100%);
  padding: 40px 20px 32px;
  color: #fff;
  text-align: center;
}
.collect-post-hero--news {
  background: linear-gradient(135deg, #1A3373 0%, #A94382 100%);
}
.collect-post-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.collect-post-hero-eyebrow { display: none; }
.collect-post-hero-title {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.75rem;
}
.collect-post-hero-subtitle {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  max-width: 700px;
  margin: 0 auto;
}
.collect-post-hero-crumb {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.collect-post-hero-crumb:hover,
.collect-post-hero-crumb:focus { color: #fff; }
.collect-post-hero-crumb-sep {
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

.ast-page-builder-template .site .site-content #primary.collect-single-main,
.collect-single-main {
  max-width: 1200px !important;
  margin: 0 auto 2.5rem !important;
  padding: 2.5rem 2rem 0 !important;
  width: 100%;
  box-sizing: border-box;
  float: none;
}
.collect-single-main > article,
.collect-single-main .collect-single-inner,
article.collect-single-inner {
  background: #fff !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem 3rem;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}
.collect-post-featured {
  border-radius: 8px;
  margin-bottom: 2rem;
  width: 100%;
  height: auto;
  display: block;
}

.collect-post-content {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* Lock heading hierarchy inside post body — wins over Gutenberg inline font-size. */
.collect-post-content h1 { font-size: 2.0rem !important; font-weight: 700; margin: 2.5rem 0 1rem; line-height: 1.2; }
.collect-post-content h2 { font-size: 1.6rem !important; font-weight: 700; margin: 2.5rem 0 1rem; line-height: 1.25; }
.collect-post-content h3 { font-size: 1.3rem !important; font-weight: 600; margin: 2rem 0 0.75rem; line-height: 1.3; }
.collect-post-content h4 { font-size: 1.1rem !important; font-weight: 600; margin: 1.75rem 0 0.5rem; line-height: 1.35; }
.collect-post-content h5 { font-size: 1.0rem !important; font-weight: 600; margin: 1.5rem 0 0.5rem; letter-spacing: 0.06em; text-transform: uppercase; }
.collect-post-content h6 { font-size: 0.9rem !important; font-weight: 600; margin: 1.5rem 0 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral); }
.collect-post-content h1:first-child,
.collect-post-content h2:first-child,
.collect-post-content h3:first-child { margin-top: 0; }

.collect-post-content p,
.collect-post-content li { margin-bottom: 1rem; }
.collect-post-content a { color: var(--color-primary); }
.collect-post-content a:hover,
.collect-post-content a:focus { color: var(--color-secondary); }
.collect-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.collect-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.collect-post-content th {
  background: var(--color-bg-alt);
  color: var(--color-heading);
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--color-primary);
}
.collect-post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.collect-post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-neutral);
  font-style: italic;
}

.collect-post-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.collect-post-tags { margin-bottom: 1rem; }
.collect-post-tags a {
  display: inline-block;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.85rem;
  background: var(--color-bg-alt);
  color: var(--color-text);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin: 0 0.4rem 0.4rem 0;
  text-decoration: none;
}
.collect-post-tags a:hover { color: var(--color-primary); }
.collect-post-back a {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.collect-post-back a:hover { color: var(--color-secondary); }

/* News index (category archive) */
.ast-page-builder-template .site .site-content #primary.collect-archive-main,
.collect-archive-main {
  max-width: 1200px !important;
  margin: 0 auto 2.5rem !important;
  padding: 2.5rem 2rem 0 !important;
  width: 100%;
  box-sizing: border-box;
  float: none;
}
.collect-news-box {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}
.collect-news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}
.collect-news-card {
  background: var(--color-bg-alt, #f7f8fa);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.collect-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,51,115,0.08);
}
.collect-news-card-meta {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.collect-news-card-title {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}
.collect-news-card-title a {
  color: var(--color-heading);
  text-decoration: none;
}
.collect-news-card-title a:hover { color: var(--color-primary); }
.collect-news-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 1rem;
  flex: 1;
}
.collect-news-card-link {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  align-self: flex-start;
}
.collect-news-card-link:hover { color: var(--color-secondary); }
.collect-news-pagination {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}
.collect-news-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 600;
}
.collect-news-pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  color: var(--color-text);
  text-decoration: none;
}
.collect-news-pagination .page-numbers.current,
.collect-news-pagination .page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
}
.collect-news-empty {
  text-align: center;
  color: var(--color-neutral);
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .collect-post-hero { padding: 32px 16px 24px; }
  .collect-post-hero-title { font-size: 1.6rem; }
  .collect-post-hero-subtitle { font-size: 1rem; }
  .collect-single-main { padding: 1.5rem 1rem 0; }
  .collect-single-main > article,
  .collect-single-main .collect-single-inner,
  article.collect-single-inner { padding: 1.5rem 1.25rem; }
  .collect-archive-main { padding: 1.5rem 1rem 0; }
  .collect-news-box { padding: 1.25rem; }
  .collect-news-list { grid-template-columns: 1fr; }
  .collect-post-content table { display: block; overflow-x: auto; }
  .collect-post-content h1 { font-size: 1.7rem !important; }
  .collect-post-content h2 { font-size: 1.4rem !important; }
  .collect-post-content h3 { font-size: 1.2rem !important; }
}

/* ── Comtech Self-Service plugin bridge ────────────────────────────
   The plugin renders inside .yui3-cssreset > .tailwindcss containers
   that bring their own CSS reset and width assumptions. When its host
   page is flipped to "Use plain layout" (e.g. /member-center/), the
   plugin output sits inside .collect-single-main > article. These rules
   only stop the plugin from breaking out of the centered card —
   internal plugin styling (forms, dashboards, account selectors) is
   left untouched. */
.collect-single-main .yui3-cssreset,
.collect-single-main .tailwindcss {
  max-width: 100%;
  background: transparent;
}
.collect-single-main .yui3-cssreset > * { box-sizing: border-box; }

/* ── Search results list ───────────────────
   Result-item h2 intentionally has NO size override here — it inherits
   the global `.collect-post-content h2` rule (1.6rem) so the search
   page stays in sync with the rest of the content typography. */
.collect-search-results { list-style: none; padding: 0; margin: 0; }
.collect-search-result { padding: 1.25rem 0; border-bottom: 1px solid var(--color-bg-alt); }
/* Inherit the same size as any other content h2 — but qualify with the
   element name to bump specificity past Astra/Elementor kit rules that
   were overriding `.collect-post-content h2`. */
.collect-post-content h2.collect-search-result-title {
  font-size: 1.6rem !important;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}
/* Astra applies `.entry-content :where(h2) a { font-size: 3rem }`, which
   overrides the parent h2's font-size from inside the link. Force the
   anchor to inherit so the heading actually renders at h2 size. */
.collect-search-result-title a {
  color: #1A3373;
  text-decoration: none;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.collect-search-result-title a:hover { text-decoration: underline; }
.collect-search-result-excerpt { margin: 0 0 0.4rem; color: #626464; font-size: 0.95rem; line-height: 1.6; }
.collect-search-result-url { margin: 0; font-size: 0.82rem; color: var(--color-muted); word-break: break-all; }

/* ── Quick Links "Explore More" card ─────────
   Shared component used at the bottom of marketing pages
   (/solutions/, /solutions/modules/, …) so the same semantic
   block looks identical everywhere. Per-page generators emit
   only the markup; styling lives here.
   --------------------------------------------------------- */
.collect-quick-links-wrap {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}
.collect-quick-links {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 0;
}
.collect-quick-links h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #1A3373;
}
.collect-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.collect-ql-group h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #2BA3BB;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}
.collect-ql-group a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: #626464;
  text-decoration: none;
}
.collect-ql-group a:hover { color: #2BA3BB; }
@media (max-width: 768px) {
  .collect-quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .collect-quick-links-grid { grid-template-columns: 1fr; }
}

/* ─── Shared CTA component ───────────────────────────────────────────────
   Canonical "Ready to streamline?" CTA card used at the bottom of section
   pages (Solutions, Contact, About, Evaluation, Partners, Community, etc.).
   All page generators emit the same markup with these classes — any visual
   change to the CTA happens in ONE place here.

       <div class="collect-cta-section">
         <div class="collect-cta-card">
           <h2>Title</h2>
           <p>Subtitle.</p>
           <a href="..." class="collect-cta-btn-primary">Primary</a>
           <a href="..." class="collect-cta-btn-secondary">Secondary</a>
         </div>
       </div>
*/
.collect-cta-section {
  max-width: 1200px;
  margin: 2rem auto 3rem;
  padding: 0 2rem;
}
.collect-cta-card {
  background: linear-gradient(135deg, #2BA3BB, #1a8a9e);
  border-radius: 22px;
  padding: 2.5rem;
  text-align: center;
  color: #fff;
}
.collect-cta-card h2 {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.collect-cta-card p {
  color: #fff;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 auto 1.5rem;
  max-width: 640px;
}
.collect-cta-btn-primary,
.collect-cta-btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.collect-cta-btn-primary {
  background: #fff;
  color: #1A3373;
}
.collect-cta-btn-primary:hover { background: #f0f1f3; color: #1A3373; }
.collect-cta-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.collect-cta-btn-secondary:hover { border-color: #fff; color: #fff; }

/* Generic buttons for use OUTSIDE the gradient CTA card — i.e. on white /
   light page backgrounds. Same shape/typography as `.collect-cta-btn-*`
   so the site reads as one button family; just inverted colours. */
.collect-btn-primary,
.collect-btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.collect-btn-primary {
  background: #1A3373;
  color: #fff;
}
.collect-btn-primary:hover { background: #152d63; color: #fff; }
.collect-btn-secondary {
  background: transparent;
  color: #1A3373;
  border: 2px solid #1A3373;
}
.collect-btn-secondary:hover { background: #1A3373; color: #fff; }

/* Catch-all override for Elementor's default form-submit button so any
   form widget on the site renders with the design-system button.
   `!important` is required because Elementor injects inline styles on
   the submit button from the editor settings — without !important those
   inline values win regardless of CSS load order. */
.elementor-widget-form .e-form__buttons .elementor-button,
.elementor-widget-form button[type="submit"].elementor-button {
  background-color: #1A3373 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.75rem 2rem !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  fill: #fff !important;
}
.elementor-widget-form .e-form__buttons .elementor-button:hover,
.elementor-widget-form button[type="submit"].elementor-button:hover {
  background-color: #152d63 !important;
  color: #fff !important;
}
/* October-2026 pages (.cw-form-col): the design-system primary button instead —
   .cw-btn--primary + --lg + --block from cw-design-system.css; !important only
   because the catch-all above is !important. */
.cw-form-col .elementor-widget-form .e-form__buttons .elementor-button,
.cw-form-col .elementor-widget-form button[type="submit"].elementor-button {
  background-color: var(--color-primary) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 1rem 1.6rem !important;
  font-size: var(--fs-18) !important;
  font-family: var(--font-heading) !important;
  width: 100%;
}
.cw-form-col .elementor-widget-form .e-form__buttons .elementor-button:hover,
.cw-form-col .elementor-widget-form button[type="submit"].elementor-button:hover {
  background-color: var(--color-teal-700) !important;
}
.elementor-widget-form .e-form__buttons .elementor-button .elementor-button-text {
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (max-width: 600px) {
  .collect-cta-section { margin: 1.5rem auto 2rem; padding: 0 1rem; }
  .collect-cta-card { padding: 1.75rem 1.25rem; border-radius: 18px; }
  .collect-cta-card h2 { font-size: 1.35rem; }
  .collect-cta-btn-primary,
  .collect-cta-btn-secondary {
    display: block;
    margin: 0.5rem auto;
    max-width: 280px;
  }
}

/* ── Category quick-nav — never sticky ──────────────────────────────
   Defensive override: any historical Elementor inline CSS that set
   `position: sticky` / `top:` / `z-index:` / `body.scrolled` shadow on
   .partners-category-nav, .community-category-nav, or .faq-category-nav
   is forced back to in-flow content here. Source-side those generators
   no longer emit the sticky rules; this rule wins regardless if the
   per-page Elementor CSS is still cached. */
.partners-category-nav,
.community-category-nav,
.faq-category-nav {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}
.partners-category-nav-inner,
.community-category-nav-inner,
.faq-category-nav-inner {
  box-shadow: none !important;
  transition: none !important;
}
body.scrolled .partners-category-nav-inner,
body.scrolled .community-category-nav-inner,
body.scrolled .faq-category-nav-inner {
  box-shadow: none !important;
}

/* ── Support Center ticket threads ─────────────
   Reply entries put the author in <h2 class="user-name">, so they
   already pick up the Outfit heading rule. Log entries (status
   changes, etc.) use a plain <div><strong>, which falls back to the
   Inter body font. Force the whole thread header line to Outfit so
   every entry's name/label matches. */
.wpsc-thread .thread-header,
.wpsc-thread .thread-header strong,
.wpsc-thread .user-info > div,
.wpsc-thread .user-name,
.wpsc-thread .thread-type {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
}
