/* RW-FIX-215. Additive corrections from contractor specification 3.
   Load after contractor-polish-213.css when that optional patch is present. */
@media (max-width: 1199px) {
    body.rw-catalog-design .rw-mobile-dock .rw-mobile-dock__item > .rw-mobile-dock__label {
        font-size: calc(var(--rw213-text-9_5pt, 10px) - 1px);
    }

    body.rw-catalog-design .rw-mobile-dock :is(
        a[href="/russkiy-zapad/"], a[href="/kontaktnaya-informatsiya/"]
    ) > .rw-mobile-dock__label {
        white-space: nowrap;
        overflow-wrap: normal;
    }
}

@media (min-width: 375px) and (max-width: 1199px) {
    body.rw-catalog-design .rw-mobile-dock .rw-mobile-dock__item > .rw-mobile-dock__label {
        font-size: calc(var(--rw213-text-9_5pt, 11px) - 1px);
    }
}

/* At 320px six destinations have 53.33px each. Use the complete cell width
   and modest tracking instead of shrinking the requested font by another px.
   Multiword labels still break only at their existing space. */
@media (max-width: 359px) {
    body.rw-catalog-design .rw-mobile-dock .rw-mobile-dock__item {
        padding-inline: 0;
    }
    body.rw-catalog-design .rw-mobile-dock .rw-mobile-dock__item > .rw-mobile-dock__label {
        letter-spacing: -.3px;
        overflow-wrap: normal;
        word-break: normal;
    }
}

/* The final value stays in the accessible text while its visual copy counts. */
.rw215-count-final {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.rw-about-numbers .rw215-count-visual {
    font-variant-numeric: tabular-nums;
}

/* Existing dark/light form palettes continue to supply the link color. */
.rw-field--consent a.rw215-policy-link,
.rw-exit__consent a.rw215-policy-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.rw-field--consent a.rw215-policy-link:focus-visible,
.rw-exit__consent a.rw215-policy-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
