.grid-panel:has(> section > .panel-5-buttons) {
  z-index: 5 !important;
}

.panel-five-wrap[data-hidden="true"] { display: none !important}
.panel-five-wrap {
  position: relative;
    display: flex;
  
    --default: #2b849a;
    --success: #2d9db9;
    --success-shadow: #1b92ce9f;
    --warn: #ff6b00;
  
    font-family: 'Ubuntu', sans-serif;
    flex-direction: column;
    background-color: #72d2d7;

    grid-column: main-start / main-end;
  
  }
  body[data-brand="fc"] .panel-five-wrap,
  .panel-five-wrap[data-company="true"] {
    display: flex;
    flex-direction: column;
    /* background-color: #fff; */
  }
  
  .panel-5-buttons {
    margin: 0 auto;
    /* display: flex;
    flex-wrap: wrap; */
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.25rem 0.5rem 0.25rem;

    display: grid;
    grid-template-columns: repeat(7, minmax(auto, 1fr));
    z-index: 9 !important;
  }

  @media (max-width: 1100px) {
    .panel-5-buttons {
      grid-template-columns: repeat(6, minmax(auto, 1fr));
    }
    .panel-5-buttons h3 {grid-column: 1 / -1;}
  }
  @media (max-width: 900px) {
    .panel-5-buttons {
      grid-template-columns: repeat(3, minmax(auto, 1fr));
    }
    .panel-5-buttons h3 {grid-column: 1 / -1;}
  }
  @media (max-width: 540px) {
    .panel-5-buttons {
      grid-template-columns: repeat(2, minmax(auto, 1fr));
    }

  }
  
  .panel-5-buttons:has(.five-button:nth-of-type(1):hover) + .five-steps-panels .five-steps-panel:nth-of-type(1) {
    opacity: 1;
  }
  
  .panel-5-buttons:has(.five-button:nth-of-type(2):hover) + .five-steps-panels .five-steps-panel:nth-of-type(2) { opacity: 1; }
  
  .panel-5-buttons:has(.five-button:nth-of-type(3):hover) + .five-steps-panels .five-steps-panel:nth-of-type(3) { opacity: 1; }
  
  .panel-5-buttons:has(.five-button:nth-of-type(4):hover) + .five-steps-panels .five-steps-panel:nth-of-type(4) { opacity: 1; }
  
  .panel-5-buttons:has(.five-button:nth-of-type(5):hover) + .five-steps-panels .five-steps-panel:nth-of-type(5) { opacity: 1; }
  
  .panel-5-buttons:has(.five-button:nth-of-type(6):hover) + .five-steps-panels .five-steps-panel:nth-of-type(6) { opacity: 1; }
  
  
  
  /* .panel-5-buttons:has(.five-button) + .five-steps-panels .five-steps-panel:nth-of-type(2) { opacity: 1; } */
  
  .panel-five-wrap[data-company="true"] .yes-company {
    display: block;
  }
  .panel-five-wrap[data-company="false"] .yes-company {
    display: none;
  }
  .panel-five-wrap[data-company="true"] .no-company {
    display: none;
  }
  .panel-five-wrap[data-company="false"] .no-company {
    display: block;
  }
  
  .five-steps-img {
    width: 200px;
    margin: 1rem auto 0;
  }
  
  
  .five-steps-img img {
    width: 100%;
    height: auto;
  
  }
  .panel-5-buttons > h3 {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--brand);
    color: white;
    text-align: center;
    transform: translateY(3px);
    margin-right: 1rem;
    flex-grow: 6;
  }
  @media screen and (max-width: 980px) {
    /* .panel-five-wrap {
      padding: 1rem 0.25rem;
      width: 100%;
    } */
    .panel-5-buttons > h3 {
      display: block;
      width: 100%;
      margin-bottom: 0.5rem;
    }
    
  }
  
  .five-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--default);
    color: white;
    border-radius: 40px 40px 40px 40px;
    border: 4px solid white;
    box-shadow: 0 3px 3px rgba(0,0,0,0.3);
    z-index: 10;
    padding: 4px;
    flex-grow: 1;
  }
  .five-button p {
    margin-right: 8px;
    letter-spacing: 1.1px;
    color: white;
  }
  .five-button span.icon {
    background: white;
    color: var(--default);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: translateX(-4px);
    margin-left: 0.3rem;
  }
  .five-button-success span.icon i.text {
    color: var(--success);
  }
  .five-button-warn span.icon i.text {
    color: var(--warn);
  }
  
  .five-button span.icon i.text {
    font-weight: 600;
    font-size: 1.5rem;
    transform: translateY(-1.5px);
  }
  .five-button span .fa {
    font-size: 1.5rem;
    color: var(--success);
  }
  .five-button:hover {
    background-color: var(--success);
  }
  /* .five-button:nth-of-type(2) {
    background-color: var(--warn);
  } */
  
  
  .five-steps-panels {
    position: relative;
    z-index: 9999;
  }
  
  
  .grid-panel[data-color="transparent"] .panel-five-wrap {
    background-color: transparent !important;
  }
  .grid-panel[data-color="transparent"] .panel-five-wrap h3 {
    color: var(--brand);
  }
  
  .five-steps-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    transition: 150ms linear;
  
  }
  .five-steps-panel-content {
  
    margin: 1rem auto;
    width: 540px;
    background: #fafafa;
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    padding: 1rem 2rem 2rem 2rem;
    border-radius: 6px;
    box-shadow: 0 0 200px var(--success-shadow);
  }
  
  .five-steps-panel h3 {
    color: var(--success);
    border-bottom: 3px solid #eee;
    text-align: center;
    padding: 0.5rem;
  }
  
  
  .five-steps-panel .boxout {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    padding: 0 1rem;
  }
  .five-steps-panel .boxout h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--default);
    margin-top: 1rem;
    text-align: center;
    text-wrap: balance;
  }
  
  
  .five-button .boxout.boxout-centered p,
  .five-button .boxout p.boxout-text {
    display: block;
    text-align: center;
  }
  
  .five-steps-panel .boxout p {
    margin: 0 0 1rem 0;
    text-align: center;
  }
  .five-steps-panel .bulletHeader {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--success);
    margin-top: 1rem;
    margin-left: 1.5rem;
    text-wrap: balance;
  
  }
  .five-steps-panel .bulletFooter {
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--success);
    margin-top: 2rem;
    padding-top: 2rem;
    margin-left: 1.5rem;
    text-wrap: balance;
  
  }
  
  
  .five-steps-panel .bullets {
    margin-left: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-align: left;
  }
  .five-steps-panel .fa-circle {
    color: var(--success);
    font-size: 0.75rem;
    transform: translateY(0.35rem);
  }
  
  .five-steps-panel ul {
    margin: 0;
    padding: 0;
    list-style: disc; 
    margin: 0 auto;
  }
  
  .five-steps-panel ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    text-wrap: balance;
    color: var(--color);
  
  }
  
  
  /* @media (max-width: 820px) {
    .panel-5-buttons {
      justify-content: center;
    }
    .panel-5-buttons > h3 { width: 100%; text-align: center;}
  } */
  