/* iSeek Help — SAFE modern polish only.
   Does NOT override Sitejet layout, column backgrounds, or text colors on colored sections. */

:root {
  --ishi-teal: #044f54;
  --ishi-teal-deep: #023a3e;
  --ishi-teal-mid: #067a7f;
  --ishi-public: #e97e7b;
  --ishi-public-dark: #d66a67;
  --ishi-blue: #1f6f9f;
  --ishi-orange: #f5a72a;
  --ishi-orange-dark: #d48c12;
  --ishi-white: #ffffff;
  --ishi-ink: #1a2e32;
  --ishi-shadow: 0 10px 28px rgba(3, 89, 96, 0.14);
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(6, 122, 127, 0.22);
}

/* Keep Sitejet fonts — do not force a new family that fights theme metrics */
body.page-24303312,
body.pagelayout-1 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Do not restyle Sitejet column layout/colors globally ===== */

/* Soft card look ONLY on dedicated box-grid modules (not all columns) */
body .preset-boxes-grid-v3-default > .inner > .columns-box,
body .preset-boxes-v3-default > .inner > .columns-box,
body .preset-boxes-v3-default > .inner > .boxes-box {
  border-radius: 1rem !important;
  box-shadow: var(--ishi-shadow) !important;
  border: 1px solid rgba(4, 79, 84, 0.08) !important;
  overflow: visible !important;
}

body .preset-boxes-grid-v3-default > .inner > .columns-box > .inner,
body .preset-boxes-v3-default > .inner > .columns-box > .inner,
body .preset-boxes-v3-default > .inner > .boxes-box > .inner {
  padding: 0.75rem !important;
}

/* ===== Menu: do NOT change link padding (pipes | must stay aligned) ===== */
body #ed-1630249410,
body .preset-menu-v2-financia {
  /* no forced background / blur — Sitejet owns header chrome */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;
  background: unset;
}

body .ed-menu .menu-level-0 > li > a {
  border-radius: 0 !important;
  padding: unset !important;
  background: transparent !important;
}

body .ed-menu .menu-level-0 > li > a:hover,
body .ed-menu .menu-level-0 > li > a:focus-visible {
  background: transparent !important;
  opacity: 0.85;
}

/* ===== NEVER force body/paragraph text color (breaks Fast Facts & dark panels) ===== */
body .ed-text p,
body .ed-text li,
body .ed-text {
  color: inherit !important;
}

body .ed-headline h1,
body .ed-headline h2,
body .ed-headline h3,
body .ed-headline h4,
body .color-user-2,
body .ed-headline .color-user-2 {
  /* restore solid brand color — no gradient clip */
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: inherit;
}

/* Slightly tighter modern headline tracking without size fights */
body .ed-headline h2 {
  letter-spacing: -0.015em;
}

/* ===== Buttons: gentle modern pills only ===== */
body .ed-button .button,
body a.button.button-default,
body .ed-form-button .button,
body .ed-form-button > button {
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(3, 89, 96, 0.18) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

body .ed-button .button:hover,
body a.button.button-default:hover,
body .ed-form-button .button:hover,
body .ed-form-button > button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(3, 89, 96, 0.24) !important;
}

/* Do NOT override button background gradients that fight theme color classes */

/* ===== Images: soft corners only in content modules ===== */
body .preset-text-with-image-v4-default .ed-image img,
body .preset-text-with-image-v4-default img,
body .preset-boxes-grid-v3-default .ed-image img,
body .preset-boxes-v3-default .ed-image img {
  border-radius: 0.85rem;
}

body .banner .ed-image img,
body .banner .background-image-holder,
body .parallax > .background .background-image-holder {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ===== Dark / primary sections: ensure readable light text ===== */
body .bg-primary .ed-text,
body .bg-primary .ed-text p,
body .bg-primary .ed-headline,
body .bg-primary h1,
body .bg-primary h2,
body .bg-primary h3,
body .bg-primary h4,
body .bg-user-2 .ed-text,
body .bg-user-2 .ed-text p {
  color: #ffffff !important;
}

/* Fast Facts left column specifically */
body #ed-1630249431 .ed-text,
body #ed-1630249431 .ed-text p,
body #ed-1630249431 .ed-headline,
body #ed-1630249431 h2 {
  color: #ffffff !important;
}

/* ===== FAQ: light card polish without breaking width ===== */
body .preset-accordion-v3-default .accordion-trigger,
body .preset-accordion-v3-default .ed-headline.accordion-trigger {
  border-radius: 0.75rem !important;
  box-shadow: 0 4px 14px rgba(3, 89, 96, 0.08) !important;
}

/* ===== Forms ===== */
body .ed-form-container input,
body .ed-form-container textarea,
body .ed-form-container select {
  border-radius: 0.65rem !important;
}

body .ed-form-container input:focus,
body .ed-form-container textarea:focus {
  border-color: #067a7f !important;
  box-shadow: 0 0 0 3px rgba(6, 122, 127, 0.16) !important;
  outline: none !important;
}

/* ===== Social / back-to-top gentle ===== */
body .preset-social-icons-v3-default .ed-icon a:hover {
  opacity: 0.85;
}

body .back-to-top-button-icon,
body .preset-back-to-top-button-v3-default {
  border-radius: 999px !important;
}

/* ===== Mega nav: keep flush; ensure tabs never clip ===== */
body .ishi-audience-nav {
  background: #fff !important;
  overflow: visible !important;
}

body .ishi-mega {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

body .ishi-mega__tabs {
  width: 100%;
}

body .ishi-mega__tab {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body .ishi-mega__tab-label {
  display: block;
  max-width: 100%;
}

/* Mega tabs: same 4-color system (public / teal / blue), orange = nav accents only */
body .ishi-mega__tab--pro {
  background: var(--ishi-teal-deep) !important;
}

body .ishi-mega__tab--media {
  background: var(--ishi-blue) !important;
}

/* ===== Do not restyle primary bands / footer backgrounds ===== */
/* (previous gradients + forced colors made sections look broken) */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body .ed-button .button,
  body a.button.button-default {
    transition: none !important;
    transform: none !important;
  }
}
