/* ================================
   FOOTER STYLES
   Extracted from Zeitgeist Cloud
   Uses tokens from base CSS files
   ================================ */

/* Main footer element */
footer {
  min-height: var(--footer-height);
  background-color: var(--ink);
  color: var(--light-text);
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  flex-shrink: 0;
  text-align: left;
}

/* Footer content wrapper */
.footer-container {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding-inline: 0;
  box-sizing: border-box;
  height: 100%;
  position: relative;  /* Enables absolute positioning for report link */
}

/* Footer logo image */
.footer-logo {
  height: 100%;
  max-height: var(--footer-height);
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
  align-self: stretch;
  margin-left: 0;
}

/* Footer text content area */
.footer-text {
  font-size: var(--footer-text-size);
  line-height: 1.4;
  text-align: left;
  max-width: var(--content-width);
  margin-left: 0;
  align-self: flex-end;
  margin-bottom: 0;
}

.footer-text p {
  font-size: var(--footer-text-size);
  margin: 0;
  line-height: 1;
}

/* Footer links */
.footer-text a {
  color: var(--light-text);
  text-decoration: underline;
  font-weight: 500;
}

.footer-text a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Report link - independent positioning in upper right */
.footer-report {
  position: absolute;
  top: clamp(0.5rem, 1.5vmin, 1rem);
  right: clamp(0.5rem, 2vmin, 1.5rem);
  font-size: var(--footer-text-size);
  line-height: 1;
  z-index: 10;
}

.footer-report a {
  color: var(--light-text);
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.footer-report a:hover {
  color: var(--white);
  text-decoration: none;
}