/* =========================================================
   SITE FOOTER
   Reusable across homepage and inner pages
   ========================================================= */

.site-footer{
  position: relative;
  color: #fff;
  padding: 48px 0 24px;
  margin-top: 100px;

  background:
    linear-gradient(
      to bottom,
      #4169e1 0%,
      #3a56cf 18%,
      #3241b0 38%,
      #2e3192 68%,
      #2d3292 100%
    );
}



.site-footer *{
  box-sizing: border-box;
}

.site-footer .footer-shell{
  width: min(1600px, 92%);
  margin: 0 auto;
  text-align: left;
}

.site-footer .footer-grid{
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(520px, 1.95fr);
  gap: 56px;
  align-items: start;
}

.site-footer .footer-links-area{
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
  min-height: 100%;
  padding: 0 8px;
}

.site-footer .footer-links-area::before{
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(255,255,255,0.24);
  pointer-events: none;
}

.site-footer .footer-nav-column{
  position: relative;
  z-index: 1;
}

.site-footer .footer-logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer .footer-logo:link,
.site-footer .footer-logo:visited,
.site-footer .footer-logo:hover,
.site-footer .footer-logo:active{
  text-decoration: none;
}

.site-footer .footer-logo-img{
  display: block;
  height: 60px;
  width: auto;
  max-width: 100%;
}

.site-footer .footer-tagline{
  margin: 18px 0 0;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}

.site-footer .footer-block{
  margin-top: 28px;
}

.site-footer .footer-title{
  margin: 0 0 14px;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.site-footer .footer-address{
  margin: 0;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}

.site-footer .footer-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-list li{
  margin: 0 0 12px;
}

.site-footer .footer-category-list{
  columns: 2;
  column-gap: 32px;
}

.site-footer .footer-category-list li{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active{
  font-family: 'Roboto Slab', serif;
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover{
  text-decoration: underline;
}

.site-footer .footer-link{
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.site-footer .footer-social-icons{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-footer .footer-social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  background:#4069e1;
}

.site-footer .footer-social-icon img{
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-footer .footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.site-footer .footer-copyright{
  margin: 0;
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}

.site-footer .footer-back-to-top{
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

/* Homepage-specific override of old white footer styling */
.home-page .site-footer{
  padding: 48px 0 24px;
  margin-top: 100px;

  background:
    linear-gradient(
      to bottom,
      #4169e1 0%,
      #3a56cf 18%,
      #3241b0 38%,
      #2e3192 68%,
      #2d3292 100%
    );
}


.site-footer::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.14) 38%,
    rgba(255,255,255,0.00) 100%
  );
}

.site-footer .footer-logo-img{
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,0.18))
    drop-shadow(0 0 18px rgba(65,105,225,0.45));
}




/* Divider between primary and secondary links */
.site-footer .footer-divider{
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 18px 0 16px;
  width: 25%;
}

/* Secondary list spacing */
.site-footer .footer-secondary-list li{
  margin-bottom: 10px;
}

/* Links with icons */
.site-footer .footer-link-with-icon{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Icon styling */
.site-footer .footer-link-icon{
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.9;
}

/* Clickable section titles */
.site-footer .footer-title-link{
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-family: inherit;

  color: #fff;
  text-decoration: none;
}

.site-footer .footer-title-link:hover{
  text-decoration: underline;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 1099px){
  .site-footer .footer-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer .footer-links-area{
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 0;
  }

  .site-footer .footer-links-area::before{
    left: 50%;
  }
}

@media (max-width: 699px){
  .site-footer{
    padding: 40px 0 22px;
  }

  .site-footer .footer-shell{
    width: min(1600px, 94%);
  }

  .site-footer .footer-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
    .site-footer .footer-links-area{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer .footer-links-area::before{
    display: none;
  }

  .site-footer .footer-logo-img{
    height: 52px;
  }

  .site-footer .footer-title{
    font-size: 18px;
  }

  .site-footer .footer-tagline,
  .site-footer .footer-address,
  .site-footer .footer-link{
    font-size: 15px;
  }

  .site-footer .footer-category-list{
    columns: 1;
  }

  .site-footer .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}