/* Контакты и сервисы внутри мобильной шторки СтГМУ. */
#stgmu-sheet .stgmu-sheet__services {
    --service-line: rgba(206, 234, 241, .23);
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14l4-4 M8 16l-1 1a3.5 3.5 0 0 1-5-5l4-4a3.5 3.5 0 0 1 5 0 M16 8l1-1a3.5 3.5 0 0 1 5 5l-4 4a3.5 3.5 0 0 1-5 0'/%3E%3C/svg%3E");
    gap: 0;
    padding: 17px 16px 12px;
    border-radius: 13px;
    background: linear-gradient(123deg, #133855 4%, #1b4d73 61%, #245f82);
    color: #fff;
    text-align: start;
    font-family: "PT Sans", Arial, sans-serif;
}

#stgmu-sheet .stgmu-sheet__services > .stgmu-menu__title {
    margin: 0 0 14px;
    color: inherit;
    font-size: 28px;
}

#stgmu-sheet .stgmu-sheet__services :is(.header__commission, .header__info, .header_links, .header__myself) {
    display: grid;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
}

#stgmu-sheet .stgmu-sheet__services .header__commission > span {
    margin: 0 0 3px;
    color: #d0e8f3 !important; /* Цвет переопределён в общих стилях шапки. */
    font: 700 13px/1.3 "PT Sans", Arial, sans-serif;
}

#stgmu-sheet .stgmu-sheet__services .header__commission br {
    display: none;
}

#stgmu-sheet .stgmu-sheet__services :is(.header__commission, .header__info, .header__myself) a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 47px;
    margin: 0;
    padding: 10px 25px 10px 44px;
    border-bottom: 1px solid var(--service-line);
    color: #fff !important;
    font: 700 16px/1.32 "PT Sans", Arial, sans-serif;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Слева у каждого действия пиктограмма, справа — стрелка из быстрого доступа. */
#stgmu-sheet .stgmu-sheet__services :is(.header__commission, .header__info, .header__myself) a::before,
#stgmu-sheet .stgmu-sheet__services :is(.header__commission, .header__info, .header__myself) a::after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    pointer-events: none;
}
#stgmu-sheet .stgmu-sheet__services :is(.header__commission, .header__info, .header__myself) a::before {
    left: 3px;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    background: rgba(210, 241, 248, .10) var(--service-icon) center / 18px 18px no-repeat;
}
#stgmu-sheet .stgmu-sheet__services :is(.header__commission, .header__info, .header__myself) a::after {
    right: 2px;
    left: auto;
    width: 17px;
    height: 17px;
    border: 0;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0e6ee' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15 M13 6l6 6-6 6'/%3E%3C/svg%3E");
    transition: none;
}

#stgmu-sheet .stgmu-sheet__services .header__commission a[href^="tel:"] {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linejoin='round'%3E%3Cpath d='M6.5 3h3l1.4 4.6-2.3 1.8a14 14 0 0 0 6 6l1.8-2.3 4.6 1.4v3a3 3 0 0 1-3.4 3C10.2 19.6 4.4 13.8 3.5 6.4A3 3 0 0 1 6.5 3Z'/%3E%3C/svg%3E");
    font-size: 19px;
}
#stgmu-sheet .stgmu-sheet__services .header__commission a[href^="mailto:"] {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3z M3 6l9 7 9-7'/%3E%3C/svg%3E");
}
#stgmu-sheet .stgmu-sheet__services .header__info a[href*="/sveden/"] {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-6 10 6 M3 10h18 M5 18v-6 M10 18v-6 M14 18v-6 M19 18v-6 M3 21h18'/%3E%3C/svg%3E");
}
#stgmu-sheet .stgmu-sheet__services .header__info a[href*="ess.stgmu.ru"] {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linejoin='round'%3E%3Cpath d='M19 10c0 5-7 11-7 11S5 15 5 10a7 7 0 0 1 14 0Z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E");
}
#stgmu-sheet .stgmu-sheet__services .header__myself {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E");
}
#stgmu-sheet .stgmu-sheet__services .header__myself a[href*="/vopros-rektoru"] {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4eee7' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 1-8 8H9l-5 2 1.5-4A8 8 0 1 1 20 11Z M8 11h.1 M12 11h.1 M16 11h.1'/%3E%3C/svg%3E");
}
#stgmu-sheet .stgmu-sheet__services a.myself__inner:has(> span) > img {
    display: none;
}
#stgmu-sheet .stgmu-sheet__services .header__myself a span {
    margin: 0;
    color: inherit;
    font: inherit;
}

#stgmu-sheet .stgmu-sheet__services .site-lang-mobile {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
}
#stgmu-sheet .stgmu-sheet__services .site-lang-mobile a {
    display: inline-flex;
    flex-flow: row nowrap;
    gap: 7px;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border-radius: 9px;
    background: rgba(210, 241, 248, .10);
    color: #fff;
    font: 700 14px/1 "PT Sans", Arial, sans-serif;
    text-decoration: none;
}
#stgmu-sheet .stgmu-sheet__services .site-lang-mobile p {
    margin: 0;
    color: inherit;
    font: inherit;
}
#stgmu-sheet .stgmu-sheet__services .site-lang-mobile img {
    order: -1;
    width: 16px;
    height: 16px;
    margin: 0;
    object-fit: contain;
}
#stgmu-sheet .stgmu-sheet__services a:is(:hover, :active, :focus-visible) {
    background-color: rgba(210, 241, 248, .14);
    border-radius: 7px;
}
#stgmu-sheet .stgmu-sheet__services a:focus-visible {
    outline: 2px solid #b4eee7;
    outline-offset: -2px;
}
@media (forced-colors: active) {
    #stgmu-sheet .stgmu-sheet__services { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
    #stgmu-sheet .stgmu-sheet__services::before { display: none; }
    #stgmu-sheet .stgmu-sheet__services a { border-color: LinkText; }
    #stgmu-sheet .stgmu-sheet__services a:focus-visible { outline-color: Highlight; }
}
