/*
 * Berlin Experiences network banner — shared across the four sites.
 * Canonical copy: https://whereisthewall.com/network/network-banner.css
 * Copy this file verbatim; don't edit it per site. Everything is scoped to
 * .bxn so it can't collide with the host site's styles, and the host may only
 * override the --bxn-* tokens (usually just --bxn-display, for its heading font).
 */
/* Zero specificity, so a host's `.bxn { --bxn-display: … }` wins whatever
   order the stylesheets load in. */
:where(.bxn) {
  --bxn-bg: #e8e6e0;
  --bxn-ink: #121110;
  --bxn-muted: #63605a;
  --bxn-line: #d2cfc8;
  --bxn-accent: #d1256b;
  --bxn-here: #f2c230;
  --bxn-display: inherit;
}
.bxn {
  box-sizing: border-box;
  display: grid;
  gap: 14px;
  padding: 18px 6%;
  background: var(--bxn-bg);
  border-bottom: 1px solid var(--bxn-line);
  color: var(--bxn-ink);
}
.bxn *,
.bxn *::before,
.bxn *::after {
  box-sizing: inherit;
}
.bxn__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--bxn-muted);
}
.bxn__rule {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--bxn-accent);
}
.bxn__label a {
  color: var(--bxn-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bxn__label a:hover {
  color: var(--bxn-accent);
}
.bxn__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.bxn__list li {
  display: flex;
  margin: 0;
  border-left: 1px solid var(--bxn-line);
}
.bxn__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 4px 16px;
  color: inherit;
  text-decoration: none;
  line-height: 1.35;
}
.bxn__thumb {
  display: block;
  width: 96px;
  height: 64px;
  object-fit: cover;
  background: var(--bxn-line);
}
.bxn__item[aria-current] .bxn__thumb {
  filter: grayscale(1);
}
.bxn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bxn__name {
  font-family: var(--bxn-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bxn__desc {
  font-size: 12px;
  color: var(--bxn-muted);
}
.bxn__here {
  align-self: flex-start;
  margin-top: 4px;
  padding: 1px 6px;
  background: var(--bxn-here);
  color: var(--bxn-ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
a.bxn__item:hover .bxn__name,
a.bxn__item:focus-visible .bxn__name {
  color: var(--bxn-accent);
}
a.bxn__item:focus-visible {
  outline: 2px solid var(--bxn-accent);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .bxn__item {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
  }
  .bxn__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
}
@media (max-width: 760px) {
  .bxn {
    padding: 16px 6%;
    gap: 12px;
  }
  .bxn__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }
  .bxn__item {
    padding: 2px 10px;
  }
}
