/* Match the TensorWorld website footer's logo crop and responsive grid. */
.tw-footer {
  margin-top: 65px;
  background: #1c1721;
  color: gray;
  font: 400 16px/1.5 var(--body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
.tw-footer a { color: inherit; text-decoration: none; }
.tw-footer p { margin: 0; }
.tw-footer-inner {
  display: grid;
  grid-template: 1fr 84px / 24.6% 43.4% 32%;
  min-height: 347px;
  max-width: 1440px;
  margin-inline: auto;
}
.tw-footer-symbol, .tw-footer-identity, .tw-footer-rights { border-right: 1px dashed #4c4751; }
.tw-footer-symbol { display: grid; grid-area: 1 / 1 / 3; place-items: center; }
.tw-footer-symbol-crop { position: relative; width: 78%; aspect-ratio: 193 / 166; overflow: hidden; }
.tw-footer-symbol-crop img { position: absolute; top: -73.79%; left: -56.55%; width: 213.09%; max-width: none; height: 247.57%; }
.tw-footer-identity { grid-area: 1 / 2; padding: 43px 35px 20px; }
.tw-footer-wordmark { display: block; width: 181px; height: auto; margin-bottom: 10px; }
.tw-footer-tagline { font-size: 16px; line-height: 25px; }
.tw-footer-rights { grid-area: 2 / 2; padding: 16px 35px 20px; font-size: 14px; }
.tw-footer-rights a { display: inline-block; margin-top: 5px; }
.tw-footer-links { display: flex; flex-direction: column; grid-area: 1 / 3; gap: 19px; padding: 50px 28px; font-size: 16px; }
.tw-footer-links a { width: fit-content; transition: color .2s; }
.tw-footer :is(.tw-footer-rights, .tw-footer-links) a:is(:hover, :focus-visible) { color: #bb3deb; }
.tw-footer-back { grid-area: 2 / 3; padding: 30px 80px 20px 28px; border-top: 1px dashed #4c4751; text-align: right; }
.tw-footer-back-top { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #bb3deb; font: 500 16px/1.5 var(--body); cursor: pointer; transition: color .2s; }
.tw-footer-back-top:is(:hover, :focus-visible) { color: #d169f8; }
.tw-footer :is(a, button):focus-visible { outline: 2px solid #d169f8; outline-offset: 4px; }

@media (768px <= width < 1440px) {
  .tw-footer-inner { grid-template: 1fr 70px / 22.5% 35% 42.5%; min-height: 185px; }
  .tw-footer-identity { padding: 21px 15px; }
  .tw-footer-wordmark { width: 100px; }
  .tw-footer-rights { padding: 14px 15px; }
  .tw-footer-links { gap: 12px; padding: 21px 26px; }
  .tw-footer-back { padding: 10px 20px; }
}

@media (width < 1440px) {
  .tw-footer-tagline { font-size: 12px; line-height: 12px; }
  .tw-footer-rights, .tw-footer-links { font-size: 12px; }
}

@media (width < 768px) {
  .tw-footer { margin-top: 35px; }
  .tw-footer-inner { grid-template: 100px 130px 85px auto / 65% 35%; min-height: 362px; }
  .tw-footer-identity { grid-area: 1 / 1; padding: 21px 20px 0; }
  .tw-footer-wordmark { width: 75px; }
  .tw-footer-symbol { grid-area: 2 / 1 / 4; padding-bottom: 30px; }
  .tw-footer-symbol-crop { width: 76%; }
  .tw-footer-rights { grid-area: 4 / 1; padding: 15px 17px; }
  .tw-footer-links { grid-area: 1 / 2 / 3; gap: 25px; padding: 21px 13px; }
  .tw-footer-back { display: flex; grid-area: 3 / 2 / 5; justify-content: center; align-items: center; padding: 0 10px; }
}

@media print {
  .tw-footer { margin-top: 20px; background: transparent; color: #605b65; }
  .tw-footer-inner { display: block; min-height: 0; }
  .tw-footer-symbol, .tw-footer-identity, .tw-footer-links, .tw-footer-back { display: none; }
  .tw-footer-rights { padding: 12px 0; border: 0; }
}
