/* v355G — Add subtle landmark background beside the fee checker on the Fees page.
   Uses a transparent line-art illustration in the text area to the left of the fee card. */

.fees-check-section{
  position: relative;
  overflow: hidden;
}

.fees-check-section .container.grid.two{
  position: relative;
  align-items: stretch;
  isolation: isolate;
}

.fees-check-section .container.grid.two > :first-child{
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding-right: 22px;
}

.fees-check-section .container.grid.two > :first-child::after{
  content: "";
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: min(260px, 38vw);
  height: min(320px, 100%);
  background: url('/assets/img/fees-side-landmark-v355G.png') no-repeat center bottom / contain;
  opacity: .16;
  pointer-events: none;
  z-index: -1;
}

.fees-check-section .fee-card{
  position: relative;
  z-index: 2;
}

@media (max-width: 1180px){
  .fees-check-section .container.grid.two > :first-child{
    min-height: 330px;
  }

  .fees-check-section .container.grid.two > :first-child::after{
    right: 8px;
    width: min(230px, 34vw);
    opacity: .14;
  }
}

@media (max-width: 980px){
  .fees-check-section .container.grid.two > :first-child{
    min-height: auto;
    padding-right: 0;
    padding-bottom: 160px;
  }

  .fees-check-section .container.grid.two > :first-child::after{
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    width: min(220px, 56vw);
    height: 140px;
    opacity: .14;
  }
}

@media (max-width: 640px){
  .fees-check-section .container.grid.two > :first-child{
    padding-bottom: 138px;
  }

  .fees-check-section .container.grid.two > :first-child::after{
    width: min(190px, 54vw);
    height: 120px;
    bottom: 8px;
    opacity: .12;
  }
}
