/*
 * TGA SITEWIDE SVG ARROWS v2.0
 * Covers all arrow variants found in the eight TGA v3 Elementor JSON templates.
 * Keeps layout and links intact. Does not affect the WordPress menus.
 * Supersedes the v1 Arrow Refresh CSS, including older ::before/::after rules.
 */

/* The Elementor widget container must stretch so its pseudo-SVG aligns vertically. */
:is(.tga-image-arrow,.tga-path-arrow,.tga-feature-down,.tga-result-icon)
  > .elementor-widget-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Every standalone arrow widget: neutralize the glyph and any older pseudo-icons. */
:is(.tga-image-arrow,.tga-path-arrow,.tga-feature-down,.tga-result-icon)
  .elementor-heading-title {
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
:is(.tga-image-arrow,.tga-path-arrow,.tga-feature-down,.tga-result-icon)
  .elementor-heading-title::before {
  content: none !important;
  display: none !important;
}
:is(.tga-image-arrow,.tga-path-arrow,.tga-feature-down,.tga-result-icon)
  .elementor-heading-title::after {
  content: "" !important;
  display: block !important;
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  box-sizing: border-box !important;
}

/* 1 — Hero image accent: clean sage tile; thin navy arrow (not a raised emoji). */
.tga-image-arrow {
  display: grid !important;
  place-items: center !important;
  width: 66px !important;
  height: 66px !important;
  background: #84AD6B !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transition: background-color .24s ease, transform .3s ease !important;
}
.tga-image-arrow .elementor-heading-title::after {
  width: 28px !important;
  height: 28px !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230B2341%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M5%2019L19%205M9.5%205H19V14.5%22%2F%3E%3C%2Fsvg%3E") !important;
}
.tga-image-arrow:hover { background-color: #B7D8A8 !important; transform: translate(2px,-2px) !important; }

/* 2 — Assess / Develop / Enable: minimalist line arrows, no gloss, border, or bubble. */
.tga-path-arrow {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform .26s cubic-bezier(.2,.8,.2,1) !important;
}
.tga-path-arrow .elementor-heading-title::after {
  width: 25px !important;
  height: 25px !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M5%2019L19%205M9.5%205H19V14.5%22%2F%3E%3C%2Fsvg%3E") !important;
}
.tga-path-assess .tga-path-arrow .elementor-heading-title::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230B2341%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M5%2019L19%205M9.5%205H19V14.5%22%2F%3E%3C%2Fsvg%3E") !important;
}
.tga-path:hover .tga-path-arrow {
  transform: translate(4px,-4px) !important;
}

/* 3 — Image feature arrow: thin vertical down arrow in the same sage tile. */
.tga-feature-down {
  display: grid !important;
  place-items: center !important;
  width: 66px !important;
  height: 66px !important;
  background: #84AD6B !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transition: background-color .24s ease, transform .3s ease !important;
}
.tga-feature-down .elementor-heading-title::after {
  width: 27px !important;
  height: 27px !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230B2341%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M12%204V20M6%2014L12%2020L18%2014%22%2F%3E%3C%2Fsvg%3E") !important;
}
.tga-feature-down:hover { background-color: #B7D8A8 !important; transform: translateY(3px) !important; }

/* 4 — Homepage outcomes: understated sage line symbols. Previously untouched by v1. */
.tga-result-icon {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.tga-result-icon .elementor-heading-title::after {
  width: 23px !important;
  height: 23px !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23B7D8A8%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M5%2019L19%205M9.5%205H19V14.5%22%2F%3E%3C%2Fsvg%3E") !important;
}

/* 5 — Inner page CTA buttons: the small JS helper swaps trailing glyphs to inline SVG. */
.tga3-card-link .elementor-button-text {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.tga3-card-link .tga-inline-svg-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  line-height: 0;
  transition: transform .23s cubic-bezier(.2,.8,.2,1);
}
.tga3-card-link .tga-inline-svg-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.tga3-card-link:hover .tga-inline-svg-arrow { transform: translate(3px,-3px); }

@media (max-width: 767px) {
  .tga-image-arrow,.tga-feature-down { width: 50px !important; height: 50px !important; }
  .tga-image-arrow .elementor-heading-title::after,
  .tga-feature-down .elementor-heading-title::after { width: 22px !important; height: 22px !important; }
  .tga-path-arrow { width: 34px !important; height: 34px !important; }
  .tga-path-arrow .elementor-heading-title::after { width: 23px !important; height: 23px !important; }
  .tga-result-icon { width: 27px !important; height: 27px !important; }
  .tga-result-icon .elementor-heading-title::after { width: 21px !important; height: 21px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .tga-image-arrow,.tga-feature-down,.tga-path-arrow,.tga3-card-link .tga-inline-svg-arrow {
    transition: none !important;
  }
}
