/**
 * Микроссылки в шапке (ПК + планшет): одна строка справа, без переноса.
 * Scoped — не трогаем custom.css.
 */
@media (max-width: 767.98px) {
  .header .cotinder-header-util {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .header .header__flex {
    position: relative;
    flex-wrap: nowrap;
    padding-top: 1.35rem;
  }

  .header .cotinder-header-util {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.22em;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 6;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 52px 0 30%;
    box-sizing: border-box;
    justify-content: flex-end;
    pointer-events: none;
    font-family: inherit;
    line-height: 1.1;
    user-select: none;
    overflow: hidden;
  }

  .header .cotinder-header-util__link,
  .header .cotinder-header-util__sep {
    pointer-events: auto;
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .header .cotinder-header-util__link {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    color: rgba(43, 38, 34, 0.42);
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .header .cotinder-header-util__label-short {
    display: none;
  }

  .header .cotinder-header-util__link:hover,
  .header .cotinder-header-util__link:focus-visible {
    color: rgba(43, 38, 34, 0.72);
    text-decoration: none;
    outline: none;
  }

  .header .cotinder-header-util__link.is-active {
    color: rgba(244, 118, 32, 0.55);
    font-weight: 500;
  }

  .header .cotinder-header-util__link.is-active:hover {
    color: rgba(244, 118, 32, 0.82);
  }

  .header .cotinder-header-util__link--f1k {
    font-weight: 600;
    color: rgba(107, 76, 230, 0.78);
  }

  .header .cotinder-header-util__link--f1k:hover,
  .header .cotinder-header-util__link--f1k:focus-visible {
    color: rgba(107, 76, 230, 0.95);
  }

  .header .cotinder-header-util__link--f1k.is-active {
    color: rgba(123, 97, 255, 0.92);
  }

  .header .cotinder-header-util__sep {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    color: rgba(43, 38, 34, 0.22);
    line-height: 1;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header .cotinder-header-util {
    padding-left: 26%;
    padding-right: 46px;
    gap: 0.18em;
    transform: scale(0.96);
    transform-origin: top right;
  }

  .header .cotinder-header-util__link {
    font-size: 8.5px;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-full {
    display: none;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-short {
    display: inline;
  }

  .header .cotinder-header-util__link[href="/questions/"],
  .header .cotinder-header-util__link[href="/gallery/"],
  .header .cotinder-header-util__link[href="/goroda/"] {
    display: none;
  }

  .header .cotinder-header-util__link[href="/stories/"] + .cotinder-header-util__sep,
  .header .cotinder-header-util__link[href="/questions/"] + .cotinder-header-util__sep,
  .header .cotinder-header-util__link[href="/gallery/"] + .cotinder-header-util__sep,
  .header .cotinder-header-util__link[href="/goroda/"] + .cotinder-header-util__sep {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .header .header__flex {
    padding-top: 1.2rem;
  }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .header .cotinder-header-util {
    padding-left: 32%;
    padding-right: 8px;
  }

  .header .cotinder-header-util__link {
    font-size: 9.5px;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-full {
    display: none;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-short {
    display: inline;
  }

  .header .cotinder-header-util__link[href="/gallery/"],
  .header .cotinder-header-util__link[href="/goroda/"] {
    display: none;
  }

  .header .cotinder-header-util__link[href="/gallery/"] + .cotinder-header-util__sep,
  .header .cotinder-header-util__link[href="/goroda/"] + .cotinder-header-util__sep {
    display: none;
  }
}

@media (min-width: 1200px) and (max-width: 1339px) {
  .header .cotinder-header-util {
    padding-left: 34%;
    padding-right: 4px;
  }

  .header .cotinder-header-util__link {
    font-size: 10px;
  }

  .header .cotinder-header-util__label-full {
    display: none;
  }

  .header .cotinder-header-util__label-short {
    display: inline;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-full {
    display: none;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-short {
    display: inline;
  }
}

@media (min-width: 1200px) {
  .header .header__flex {
    padding-top: 1.45rem;
  }

  .header .cotinder-header-util {
    padding-left: 36%;
    padding-right: 4px;
    overflow: visible;
    transform: none;
  }

  .header .cotinder-header-util__link {
    font-size: 11px;
  }
}

@media (min-width: 1340px) {
  .header .cotinder-header-util__link {
    font-size: 12px;
  }

  .header .cotinder-header-util__label-full {
    display: inline;
  }

  .header .cotinder-header-util__label-short {
    display: none;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-full {
    display: inline;
  }

  .header .cotinder-header-util__link[href="/life-with-pets/"] .cotinder-header-util__label-short {
    display: none;
  }
}