/* ============================================================
   LAYOUT.CSS — Footer, Page structure
   ============================================================ */

/* ── Language switcher (news.html) ──────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: .8rem;
  font-weight: 600;
}

.lang-switcher button {
  padding: .3rem .65rem;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

.lang-switcher button.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.lang-switcher button:hover:not(.active) {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--color-ink);
  color: rgba(255,255,255,.85);
  padding: 4rem var(--section-px) 2rem;
}

.footer__top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer__brand img,
.footer__brand .footer__logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}

.footer__brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 32ch;
  color: rgba(255,255,255,.65);
}

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.footer__social a,
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer__social a:hover,
.footer__social-link:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
}

.footer__social svg { width: 16px; height: 16px; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__col h4,
.footer__col h5 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-gold);
  margin-bottom: .75rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer__col a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--color-white); }

.footer__col span {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.footer__legal a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer__legal a:hover { color: rgba(255,255,255,.75); }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
