/* =========================================================
   FOOTER
   WM-structure proportions, adapted to CAS dark theme
   ========================================================= */

#footer-placeholder{
  margin-top: auto;
}

.site-footer{
  margin-top: 64px;
  background: #0a0d11;
  color: rgba(255,255,255,.86);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-shell{
  width: min(100% - 160px, var(--site-max, 1180px));
  margin: 0 auto;
}

/* =========================================================
   TOP LOGO ROW
   ========================================================= */

.footer-top{
  padding: 38px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.footer-logo-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo{
  display: block;
  width: 64px;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   MAIN COLUMNS
   ========================================================= */

.footer-main{
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
  column-gap: 34px;
  row-gap: 18px;
  padding: 24px 0 12px;
}

.footer-col{
  min-width: 0;
}

.site-footer .footer-col > .footer-heading{
  display: block;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #ffffff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.footer-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col li{
  margin: 0;
  padding: 0;
}

.site-footer .footer-col a,
.site-footer .footer-col a:visited{
  color: rgba(255,255,255,.94) !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  transition:
    opacity .18s ease,
    transform .18s ease,
    color .18s ease;
}

.site-footer .footer-col a:hover,
.site-footer .footer-col a:focus-visible{
  color: #ffffff !important;
  opacity: .78;
  transform: translateY(-1px);
  outline: none;
}

/* Contact details beneath Get Started */
.footer-company-contact{
  display: grid;
  gap: 9px;
  margin-top: 30px;
}

.footer-company-contact-item,
.site-footer .footer-col .footer-company-contact-item,
.site-footer .footer-col .footer-company-contact-item:visited{
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: fit-content;
  color: rgba(255,255,255,.94) !important;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none !important;
}

.footer-company-contact-item svg{
  display: block;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: #ffffff;
  fill: currentColor;
}

.footer-company-contact-item--location > div{
  display: grid;
  gap: 2px;
}

.footer-company-contact-item small{
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.25;
}

.site-footer .footer-col .footer-company-contact-item:hover,
.site-footer .footer-col .footer-company-contact-item:focus-visible{
  color: #ffffff !important;
  opacity: .78;
  transform: translateY(-1px);
  outline: none;
}

/* =========================================================
   SOCIAL ROW
   ========================================================= */

.footer-social-row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 26px 0 34px;
}

.footer-social{
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  text-decoration: none;
  opacity: .94;
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible{
  opacity: .72;
  transform: translateY(-1px);
  outline: none;
}

.footer-social-link svg{
  width: 30px;
  height: 30px;
  fill: currentColor;
  display: block;
}

.footer-social-link--x svg{
  width: 23px;
  height: 23px;
}

.footer-social-link--facebook svg{
  width: 30px;
  height: 30px;
}

.footer-social-link--instagram svg{
  width: 26px;
  height: 26px;
  overflow: visible;
}

/* =========================================================
   BOTTOM STRIP
   ========================================================= */

.footer-bottom{
  background: #06090d;
}

.footer-bottom-inner{
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "copy utility"
    "privacy .";
  align-items: start;
  row-gap: 22px;
  column-gap: 26px;
  padding: 32px 0 28px;
  min-height: 164px;
}

.footer-copy{
  grid-area: copy;
  color: rgba(255,255,255,.95);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.footer-utility{
  grid-area: utility;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
}

.footer-utility a,
.footer-utility span{
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,.96);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
  padding: 0 14px;
}

.footer-utility a,
.footer-utility a:visited{
  text-decoration: none !important;
  color: rgba(255,255,255,.96) !important;
  transition:
    opacity .18s ease,
    color .18s ease;
}

.footer-utility a:hover,
.footer-utility a:focus-visible{
  color: #ffffff !important;
  opacity: .74;
  outline: none;
}

.footer-utility > :first-child{
  padding-left: 0;
}

.footer-utility > * + *::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.55);
  transform: translateY(-50%);
}

.footer-privacy-row{
  grid-area: privacy;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: -3px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.footer-privacy-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 14px;
  flex: 0 0 auto;
}

.footer-privacy-icon svg{
  display: block;
  width: 30px;
  height: 14px;
  overflow: visible;
}

.footer-privacy-text{
  color: rgba(255,255,255,.96);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Four columns, with Get Started at the far right of row two */
@media (min-width: 901px) and (max-width: 1120px){
  .footer-main{
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    column-gap: 34px;
    row-gap: 28px;
  }

  .footer-col--get-started{
    grid-column: 4;
    grid-row: 2;
    justify-self: start;
  }
}

/* Three columns, with Company and Get Started on the right of row two */
@media (min-width: 681px) and (max-width: 900px){
  .footer-main{
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    column-gap: 34px;
    row-gap: 28px;
  }

  .footer-main > .footer-col:nth-child(4){
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .footer-col--get-started{
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
  }
}

/* Two columns, with Get Started alone at the bottom right */
@media (min-width: 462px) and (max-width: 680px){
  .footer-main{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    column-gap: 34px;
    row-gap: 28px;
  }

  .footer-col--get-started{
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
  }
}

@media (max-width: 760px){
  .footer-shell{
    width: min(100% - 80px, var(--site-max, 1180px));
  }

  .site-footer{
    margin-top: 52px;
  }

  .footer-top{
    padding: 28px 0 16px;
  }

  .footer-logo{
    width: 96px;
  }

  .footer-main{
    padding: 22px 0 10px;
  }

  .footer-social-row{
    padding: 20px 0 28px;
  }

  .footer-social{
    gap: 22px;
  }

  .footer-bottom-inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "utility"
      "privacy";
    min-height: 0;
    padding: 24px 0 24px;
    row-gap: 16px;
  }

  .footer-utility{
    justify-content: flex-start;
  }

  .footer-utility a,
  .footer-utility span{
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .footer-company-contact{
    gap: 7.5px;
    margin-top: 38.5px;
  }

  .footer-company-contact-item,
  .site-footer .footer-col .footer-company-contact-item,
  .site-footer .footer-col .footer-company-contact-item:visited{
    font-size: 15px;
  }

  .footer-company-contact-item small{
    font-size: 12px;
  }
}

/*
  Preserve the original single-column mobile layout exactly
  at 461px and below.
*/
@media (max-width: 461px){
  .footer-shell{
    width: min(100% - 40px, var(--site-max, 1180px));
  }
  .footer-main{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-social-row{
    grid-template-columns: 1fr;
  }

  .footer-social{
    justify-content: flex-start;
  }
}