/* WeBuddhist Academy LMS footer */

/* Short pages (wishlist, about, contact): keep the footer at the bottom
   instead of leaving a white band between the content and the espresso block. */
.window-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.window-wrap>.content-wrapper {
  flex: 1 0 auto;
}

@font-face {
  font-family: "DM Sans";
  src: url("/static/Sherab-theme/fonts/DM_Sans/DMSans-Variable.d4c68940b772.woff2") format("woff2-variations");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/static/Sherab-theme/fonts/Cormorant_Garamond/CormorantGaramond-Variable.ec4225ec161b.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

.site-footer {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 24px;
  padding: 64px 0 32px;
  background-color: #1C0A00;
  color: #FDF6EC;
  font-family: "DM Sans", "Noto Serif Tibetan", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

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

.site-footer .footer-container {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-evenly;
  align-items: start;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  row-gap: 48px;
}

.site-footer .ft-grid {
  display: contents;
}

.site-footer nav {
  margin: 0;
  padding: 0;
  background: none;
}

.site-footer .ft-brand {
  display: table;
  justify-self: start;
  width: auto;
  min-width: 0;
  padding-top: 0;
  padding-right: 32px;
}

.site-footer a.logo-link,
.site-footer a.logo-link:link,
.site-footer a.logo-link:visited,
.site-footer a.logo-link:hover,
.site-footer a.logo-link:focus,
.site-footer a.logo-link:active {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  width: fit-content;
  color: #FDF6EC;
  text-decoration: none;
  transition: opacity 150ms ease-out;
}

.site-footer a.logo-link:hover,
.site-footer a.logo-link:focus {
  color: #FDF6EC;
  text-decoration: none;
  opacity: 0.85;
}

.site-footer .logo-link:focus {
  outline: none;
}

.site-footer .logo-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid #FDF6EC;
  outline-offset: 3px;
}

.site-footer .logo-image {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-footer .ft-brand-name {
  color: #FDF6EC;
  font-family: "DM Sans", "Noto Serif Tibetan", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.site-footer .ft-tagline {
  display: table-caption;
  caption-side: bottom;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #FDF6EC80;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  text-wrap: wrap;
}

.site-footer .custom-tooltip {
  position: absolute;
  top: -48px;
  left: 50%;
  z-index: 1001;
  padding: 4px 8px;
  border: 1px solid rgba(253, 246, 236, 0.44);
  border-radius: 4px;
  background-color: #1C0A00;
  color: #FDF6EC;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 150ms ease-out, visibility 150ms ease-out;
}

.site-footer .logo-link:hover .custom-tooltip,
.site-footer .logo-link:focus-visible .custom-tooltip {
  opacity: 1;
  visibility: visible;
}

.site-footer .ft-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-footer .ft-col-app {
  width: max-content;
  max-width: 100%;
}

.site-footer button.ft-col-title {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0 !important;
  min-height: 0;
  height: auto;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none !important;
  text-shadow: none;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0;
  color: #E8873A !important;
  font: 600 12px/1.4 "DM Sans", "Noto Serif Tibetan", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: 2.5px !important;
  text-align: left;
  text-transform: uppercase;
  vertical-align: top;
  cursor: default;
}

.site-footer button.ft-col-title:focus-visible {
  border-radius: 4px;
  outline: 3px solid #FDF6EC;
  outline-offset: 3px;
}

.site-footer .ft-col-chev {
  display: none;
}

.site-footer .ft-col-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer .ft-col-body .footer-link {
  display: block;
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  color: #FDF6EC85;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  text-decoration: none;
  transition: color 150ms ease-out;
}

.site-footer .ft-col-body .footer-link:hover {
  color: #E8873A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .ft-col-body .footer-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid #FDF6EC;
  outline-offset: 3px;
}

.site-footer .ft-col-app .footer-badges {
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: none;
}

.site-footer a.ft-store,
.site-footer a.ft-store:hover,
.site-footer a.ft-store:focus {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 170px;
  padding: 9px 16px 9px 13px;
  border: 1px solid #FDF6EC70;
  border-radius: 8px;
  background-color: transparent;
  box-shadow: none;
  color: #FDF6EC;
  text-decoration: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}

.site-footer a.ft-store:hover {
  border-color: #E8873A;
  background-color: #E8873A12;
  color: #FDF6EC;
  text-decoration: none;
}

.site-footer a.ft-store:focus-visible {
  outline: 3px solid #FDF6EC;
  outline-offset: 3px;
}

.site-footer .ft-store-icon-slot {
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  overflow: visible;
}

.site-footer .ft-store-icon {
  display: block;
  height: 20px;
  overflow: visible;
}

.site-footer .ft-store-icon-play {
  width: 20px;
}

.site-footer .ft-store-icon-apple {
  width: 18px;
}

.site-footer .ft-store-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.site-footer .ft-store-prefix {
  color: #FDF6EC99;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.site-footer .ft-store-name {
  color: #FDF6EC;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.site-footer .ft-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #FDF6EC18;
}

.site-footer .ft-copy {
  color: #FDF6EC99;
  font-size: 14px;
  line-height: 1.55;
}

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

.site-footer a.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #FDF6EC70;
  border-radius: 9999px;
  background: transparent;
  box-shadow: none;
  color: #FDF6EC85;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}

.site-footer a.social-icon:hover {
  border-color: #E8873A;
  background-color: #E8873A12;
  color: #E8873A;
  text-decoration: none;
}

.site-footer a.social-icon:focus-visible {
  outline: 3px solid #FDF6EC;
  outline-offset: 3px;
}

.site-footer .language-selector-wrapper {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
}

@media (min-width: 601px) and (max-width: 960px) {
  .site-footer {
    padding: 64px 0 32px;
  }

  .site-footer .footer-container {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-evenly;
    align-items: start;
    row-gap: 48px;
  }

  .site-footer .ft-grid {
    display: contents;
  }

  .site-footer .ft-brand {
    display: block;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: auto;
    padding-right: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid #FDF6EC18;
  }

  .site-footer .ft-tagline {
    display: block;
    width: auto;
    max-width: 560px;
  }

  .site-footer .ft-col-app {
    justify-self: end;
    width: max-content;
    max-width: 100%;
  }

  .site-footer .ft-col-app button.ft-col-title {
    text-align: right;
  }

  .site-footer .ft-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    padding-top: 24px;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 48px 24px 24px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 48px 24px 24px;
  }

  .site-footer .ft-brand-name {
    white-space: normal;
  }

  .site-footer .ft-store,
  .site-footer a.ft-store {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-footer .ft-col-app {
    width: 100%;
    max-width: none;
  }

  .site-footer .ft-col-app .footer-badges {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
  }

  .site-footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 0;
  }

  .site-footer .ft-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding-bottom: 32px;
  }

  .site-footer .ft-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
  }

  .site-footer .ft-brand {
    display: block;
    width: 100%;
    padding-right: 0;
  }

  .site-footer .ft-tagline {
    display: block;
    width: auto;
    max-width: 340px;
  }

  .site-footer .ft-col,
  .site-footer .ft-col-app {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .site-footer button.ft-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 0;
    cursor: pointer;
  }

  .site-footer .ft-col-chev {
    display: block;
    flex: 0 0 auto;
    transition: transform 150ms ease-out;
  }

  .site-footer .ft-col.is-open .ft-col-chev {
    transform: rotate(180deg);
  }

  .site-footer .ft-col-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 220ms ease-out;
  }

  .site-footer .ft-col.is-open .ft-col-body {
    margin-top: 16px;
    max-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-footer .logo-link,
  .site-footer .custom-tooltip,
  .site-footer .ft-col-body .footer-link,
  .site-footer .ft-col-chev,
  .site-footer .ft-col-body,
  .site-footer .ft-store,
  .site-footer .social-icon {
    transition: none;
  }
}