/* Footer info bar (home-page scoped via .footer-bar classes)
   Kept separate to avoid overriding existing shared footer/bg/separator styles. */

.footer-bar {
  width: min(100%, var(--container, 1200px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 0 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer-left {
  min-width: 0;
}

.footer-headline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5f7ff;
  flex: 0 0 auto;
  text-decoration: none;
}


.footer-logo:hover,
.footer-logo:visited,
.footer-logo:focus-visible {
  color: #f5f7ff;
  text-decoration: none;
}

.footer-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border-soft, rgba(255,255,255,0.14));
  background: rgba(255,255,255,0.025);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer-logo-mark::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--primary-light, #8d6bff);
  box-shadow: 0 0 16px rgba(141,107,255,0.36);
}

.footer-pipe {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,0.22);
  border-radius: 1px;
  flex: 0 0 auto;
  transform: translateY(1px);
}

.footer-manifesto {
  margin: 0;
  color: #aeb4bf;
  font-size: 0.96rem;
  line-height: 1.55;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 420px;
}

.footer-right {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  font-size: 0.96rem;
}

.footer-right a {
  color: #959ba7;
  transition: color var(--transition, 0.2s ease), opacity var(--transition, 0.2s ease);
  opacity: 1;
  text-decoration: none;
}

.footer-right a:hover {
  color: #c6ccd8;
  opacity: 1;
  text-decoration: none;
}


[data-theme="light"] .footer-logo,
[data-theme="light"] .footer-logo:hover,
[data-theme="light"] .footer-logo:visited,
[data-theme="light"] .footer-logo:focus-visible {
  color: rgba(20,16,35,0.92);
}

[data-theme="light"] .footer-manifesto {
  color: #4a3b6a;
}

[data-theme="light"] .footer-right a {
  color: #60537e;
}

[data-theme="light"] .footer-right a:hover {
  color: #2f2448;
}


/* TR manifesto text is longer; avoid ellipsis clipping on wide screens */
html[lang="tr"] .footer-manifesto {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 520px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .footer-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-headline {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-manifesto {
    white-space: normal;
  }

  .footer-right {
    justify-content: flex-start;
  }
}
