html,
body {
  max-width: 100%;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

img,
.item,
.profile > *,
.grid > * {
  min-width: 0;
  max-width: 100%;
}

.profile-socials,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-socials {
  margin-top: 18px;
}

.profile-socials .social {
  margin: 0;
}

.filter-tabs {
  margin: 0 0 22px;
}

.filter-tab {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: inherit;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.filter-tab.active {
  background: var(--b);
  color: #fff;
  border-color: var(--b);
}

.news .filter-tab.active {
  background: #fff;
  color: var(--b);
  border-color: #fff;
}

.social-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.social-embed-card {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
}

.social-embed-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 12px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.social-embed-head a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-embed-card .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.youtube-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1140px);
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand span {
    margin-left: 4px;
    font-size: .5rem;
    letter-spacing: .11em;
  }

  .kit {
    gap: 8px;
  }

  .kit span,
  .item h3,
  .item p {
    overflow-wrap: anywhere;
  }

  .social-embed-grid {
    grid-template-columns: 1fr;
  }
}
