/* Custom CSS from the Webflow site's head code, 2026-10-16. */

/* Hide all FAQ answers by default */
  [class~="faq-answer" i] {
    display: none;
  }
  [class~="faq-answer" i].is-open {
    display: block;
  }

  /* Icon rotation when open */
  [class*="image-faq-openClose" i] {
    transition: transform 0.2s ease;
  }
  .is-open [class*="image-faq-openClose" i] {
    transform: rotate(45deg);
  }

  /* Make the whole row clickable */
  [class~="item-faq" i] {
    cursor: pointer;
  }

.fund-search-item {
    cursor: pointer;
    padding: 8px 12px;
  }
  .fund-search-item:hover,
  .fund-search-item.is-active {
    background-color: #f2f2f2;
  }
  .fund-search-item.is-empty {
    cursor: default;
  }
  .fund-search-item.is-empty:hover {
    background-color: transparent;
  }

/* Let the fund-search autocomplete overflow the hero instead of being clipped */
  .section-405.section-xl.section-colour-secondary4 {
    overflow: visible;
  }
  /* Insurance: keep the dropdown above anything below it */
  #fund-search-dropdown {
    z-index: 1000;
  }
  /* The Search control is an <a> so the GA4 linker can decorate it.
     Keep it looking like the button it replaces. */
  #fund-search-btn {
    text-decoration: none;
  }
  #fund-search-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

/* Navbar fit (porch, 2026-11-10). Menu items and button texts never wrap,
   and the logo keeps a gap to the menu. When the bar is too narrow,
   mobile-nav.js first drops "Logga in"/"Sign in" (html.nav-nologin) and,
   if that is not enough, switches to the hamburger (html.nav-burger). */
.content-navbar { align-items: center; }
.nav-logo-link { flex-shrink: 0; margin-right: 40px; }
.nav-desktop { flex-shrink: 0; flex-wrap: nowrap; }
.nav-desktop a, .nav-desktop .text-button { white-space: nowrap; }
.wrapper-nav-buttons { flex-wrap: nowrap; }
html.nav-nologin .wrapper-nav-buttons a[data-track="login"] { display: none; }
html.nav-burger .nav-desktop { display: none; }
html.nav-burger .nav-hamburger { display: block; }

/* The hamburger menu's own look, which Webflow only defines below 768px,
   for when the hamburger is shown on a wider screen. */
html.nav-burger .image-hamburger-light { height: 42px; }
html.nav-burger .nav-mobile { z-index: 999; background-color: var(--_colour-scheme-webflow---colour-page--page-primary); flex-flow: column; justify-content: space-between; align-items: center; width: 100%; height: 100%; min-height: 700px; position: fixed; top: 0; left: 0; }
html.nav-burger .wrapper-mobile-nav { grid-column-gap: var(--_ux-spacing-webflow---element-gap--element-gap-xxl); grid-row-gap: var(--_ux-spacing-webflow---element-gap--element-gap-xxl); flex-flow: column; justify-content: center; align-items: center; display: flex; }
html.nav-burger .image-10 { z-index: 0; height: 42px; }
html.nav-burger .divider-mobile { background-color: var(--_colour-scheme-webflow---colour-brand--primary-1); width: 75px; height: 2px; }
html.nav-burger .wrapper-mobile-nav-content { grid-column-gap: var(--_ux-spacing-webflow---element-gap--element-gap-l); grid-row-gap: var(--_ux-spacing-webflow---element-gap--element-gap-l); flex-flow: column; justify-content: space-between; align-items: center; display: flex; }
html.nav-burger .logo-nav-mobile { width: 200px; }
html.nav-burger .moible-navlink { font-size: var(--_font-webflow---fonts--h3--font-size); line-height: var(--_font-webflow---fonts--h3--line-height); text-decoration: none; }
html.nav-burger .nav-mobile-header { width: 100%; padding: var(--_ux-spacing-webflow---element-padding--element-padding-m) 20px; background-color: var(--_colour-scheme-webflow---colour-brand--primary-1); flex-flow: row; justify-content: space-between; align-items: center; display: flex; box-sizing: border-box; }
html.nav-burger .flex-adjuster { width: 0; height: 0; }

/* Cookie banner (public/js/consent.js), 2026-11-11. Bottom of the screen,
   page still usable behind it. Both buttons the same size and weight. */
.pf-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; padding: 12px; pointer-events: none; }
.pf-consent-box { pointer-events: auto; box-sizing: border-box; max-width: 720px; margin: 0 auto; padding: 16px 20px; background: #fbf8f5; color: #1d2a33; border: 1px solid #a6abae; border-radius: 10px; box-shadow: 0 10px 30px rgba(9, 25, 37, .18); font-family: Roboto, sans-serif; font-size: 14px; line-height: 1.5; }
.pf-consent-title { margin: 0 0 4px; font-family: "Noto Serif", serif; font-size: 18px; line-height: 1.3; font-weight: 600; color: #0f2a3d; }
.pf-consent-text { margin: 0; }
.pf-consent-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pf-consent-text a:hover { text-decoration: none; }
.pf-consent-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pf-consent-btn { min-height: 44px; padding: 10px 20px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid #0f2a3d; }
.pf-consent-decline { background: transparent; color: #0f2a3d; }
.pf-consent-accept { background: #0f2a3d; color: #fff; }
.pf-consent-decline:hover { background: rgba(15, 42, 61, .06); }
.pf-consent-accept:hover { background: #1d3d55; }
.pf-consent-btn:focus-visible { outline: 2px solid #c79a50; outline-offset: 2px; }
@media (min-width: 640px) {
  .pf-consent { padding: 16px; }
  .pf-consent-buttons { flex-direction: row; justify-content: flex-end; }
  .pf-consent-btn { min-width: 150px; }
}
