.ob-footer {
  background: var(--ob-primary);
  color: var(--ob-white);
}

.ob-footer a {
  color: inherit;
  transition: color var(--ob-transition);
}

.ob-footer a:hover {
  color: var(--ob-accent);
}

.ob-footer__inner {
  width: min(var(--ob-container), calc(100% - var(--ob-gutter) * 2));
  margin-inline: auto;
}

.ob-footer__main {
  padding: 72px 0 48px;
}

.ob-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.ob-footer__heading {
  font-family: var(--ob-font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ob-white);
}

.ob-footer__company,
.ob-footer__address,
.ob-footer__col p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.ob-footer__menu {
  display: grid;
  gap: 10px;
}

.ob-footer__menu a {
  color: rgba(255, 255, 255, 0.78);
}

.ob-footer__menu a:hover {
  color: var(--ob-accent);
}

.ob-footer__brand .ob-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ob-white);
}

.ob-footer__brand .ob-logo img {
  height: 2rem;
  width: auto;
}

.ob-footer__brand .ob-logo__text {
  font-family: var(--ob-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

/* Block widgets in Footer — Brand (Image / logo uploads). */
.ob-footer__col--brand .ob-footer__widget,
.ob-footer__col--brand .wp-block-image,
.ob-footer__col--brand .wp-block-group {
  margin: 0 0 14px;
}

.ob-footer__col--brand .wp-block-image {
  line-height: 0;
}

.ob-footer__col--brand img {
  display: block;
  max-width: min(220px, 100%);
  width: auto;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.ob-footer__col--brand .wp-block-image figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.45;
}

.ob-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 0 28px;
}

.ob-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ob-footer__copy {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.ob-footer__legal .ob-footer__menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .ob-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ob-footer__grid {
    grid-template-columns: 1fr;
  }

  .ob-footer__main {
    padding: 56px 0 36px;
  }
}
