﻿/* ---------- Invest / fund switcher ---------- */
.lad-invest-tabset__input,
.lad-fund-switcher__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lad-invest-pane {
  display: none;
}

#lad-invest-college:checked~.lad-invest-pane--college {
  display: block;
}

.lad-fund-layout {
  display: grid;
  grid-template-columns: 19.4375rem 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.lad-fund-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: sticky;
  top: 1rem;
  align-self: start;
  min-height: 100%;
}

.lad-fund-nav::before,
.lad-fund-nav::after {
  content: "";
  display: block;
  flex: 0 0 5.5rem;
  border-right: 1px solid var(--la-blue, #254490);
  box-sizing: border-box;
}

.lad-fund-nav::after {
  flex: 1 1 auto;
  min-height: 5.5rem;
}

.lad-fund-nav__link {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 2rem;
  min-height: 6.75rem;
  box-sizing: border-box;
  border: 0;
  border-right: 1px solid var(--la-blue, #254490);
  border-left: 8px solid transparent;
  background: #fff;
  color: #157e79;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-family: var(--la-font-head, "Nunito Sans", sans-serif);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.09;
  cursor: pointer;
  user-select: none;
}

#college-fund-pp:checked~.lad-fund-layout label[for="college-fund-pp"],
#college-fund-age:checked~.lad-fund-layout label[for="college-fund-age"],
#college-fund-index:checked~.lad-fund-layout label[for="college-fund-index"] {
  color: var(--la-text, #292929);
  text-decoration: none;
  border-left-color: var(--la-blue, #254490);
  border-top: 1px solid var(--la-blue, #254490);
  border-bottom: 1px solid var(--la-blue, #254490);
  border-right-color: transparent;
}

.lad-fund-panels {
  min-width: 0;
  padding: 2rem 0;
}

.lad-fund-panel {
  display: none;
  margin: 0;
}

#college-fund-pp:checked~.lad-fund-layout .lad-fund-panel--pp,
#college-fund-age:checked~.lad-fund-layout .lad-fund-panel--age,
#college-fund-index:checked~.lad-fund-layout .lad-fund-panel--index {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lad-fund-panel__label {
  margin: 0;
  font-family: var(--la-font-body, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.071em;
  line-height: 1.11;
  text-transform: uppercase;
  color: var(--la-text, #292929);
}

.lad-fund-panel h3 {
  color: var(--la-teal, #01847f);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.09;
  margin: 0;
}

.lad-fund-panel>p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--la-text, #292929);
}

.invest-banner {
  border: 1px solid #000;
  border-radius: var(--la-radius-card);
  overflow: hidden;
  box-shadow: var(--la-shadow-card);
  background: #fff;
}

@media (max-width: 991.98px) {
  .lad-fund-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lad-fund-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .lad-fund-nav::before,
  .lad-fund-nav::after {
    display: none;
  }

  .lad-fund-nav__link {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border-left-width: 0;
    border-right: 0;
    border-bottom: 3px solid transparent;
  }

  #college-fund-pp:checked~.lad-fund-layout label[for="college-fund-pp"],
  #college-fund-age:checked~.lad-fund-layout label[for="college-fund-age"],
  #college-fund-index:checked~.lad-fund-layout label[for="college-fund-index"] {
    border-left-color: transparent;
    border-top: 0;
    border-bottom: 3px solid var(--la-blue, #254490);
    border-right-color: transparent;
  }

  .lad-fund-panels {
    padding: 0;
  }
}

/* ---------- FAQ block accordion ---------- */
.accordion-container {
  display: grid;
  gap: 1rem;
}

.accordion-container>.accordion {
  display: grid;
  gap: 1rem;
}

.accordion-container .accordion-item {
  border: 1px solid var(--la-gray-10);
  border-radius: var(--la-radius-card);
  background: #fff;
  box-shadow: var(--la-shadow-card);
  overflow: hidden;
}

.accordion-container .accordion-header {
  margin: 0;
}

.accordion-container .accordion-button,
.accordion-container .accordion-button:not(.collapsed),
.accordion-container .accordion-button:hover {
  padding: 1.1rem 1.5rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--la-text);
  font-family: var(--la-font-head);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  box-shadow: none;
}

.accordion-container .accordion-button::before {
  display: none;
}

.accordion-container .accordion-button::after,
.accordion-container .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2301847f' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.accordion-container .accordion-button:focus-visible {
  outline: 3px solid var(--la-teal);
  outline-offset: -3px;
}

.accordion-container .accordion-body {
  padding: 0 1.5rem 1.25rem;
}