@media (min-width: 769px) {
  html:is([lang="sk"], [lang="pl"]) #header .header-top > .navigation-buttons >
    :is(.contact-box-icon-list--not-facebook, .contact-box-icon-list--not-instagram) {
    flex: none;
    width: 52px;
  }

  /* The template styles the icon separately, but also inserts raw link text. */
  html:is([lang="sk"], [lang="pl"]) #header .navigation-buttons >
    :is(.contact-box-icon-list--not-facebook, .contact-box-icon-list--not-instagram) a {
    font-size: 0;
  }

  /* Keep the same space in the flex row while the theme builds the tiles. */
  html:is([lang="sk"], [lang="pl"]) #header .header-top > .navigation-buttons:not(:has(> .contact-box-icon-list--not-facebook))::before,
  html:is([lang="sk"], [lang="pl"]) #header .header-top > .navigation-buttons:not(:has(> .contact-box-icon-list--not-instagram))::after {
    content: "";
    flex: none;
    width: 52px;
  }

  html:is([lang="sk"], [lang="pl"]) #header .navigation-buttons > .contact-box-icon-list--not-facebook,
  html:is([lang="sk"], [lang="pl"]) #header .header-top > .navigation-buttons:not(:has(> .contact-box-icon-list--not-facebook))::before {
    order: -2;
  }

  html:is([lang="sk"], [lang="pl"]) #header .navigation-buttons > .contact-box-icon-list--not-instagram,
  html:is([lang="sk"], [lang="pl"]) #header .header-top > .navigation-buttons:not(:has(> .contact-box-icon-list--not-instagram))::after {
    order: -1;
  }

  html:is([lang="sk"], [lang="pl"]) #header .header-top > .navigation-buttons:not(:has(> .contact-box-icon-list--not-instagram))::after {
    margin-inline-start: 10px;
  }
}
