/* MB-WORLD 1.5: only the two ORIGINAL links in the visible site header.
   The theme outputs .mbw26-header-social directly next to the main nav.
   Earlier versions wrongly matched the mobile navigation's duplicate links.
   No JavaScript is required; link destinations and accessibility labels stay.
*/
body .site-header .mbw26-header-social {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    background: transparent !important;
}
body .site-header .mbw26-header-social a.mbw26-header-social__link,
body .site-header .mbw26-header-social a.mbw26-header-social__link:link,
body .site-header .mbw26-header-social a.mbw26-header-social__link:visited {
    display: inline-flex !important;
    flex: 0 0 30px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 32px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline-offset: 4px;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 27.55px 27.55px !important;
    text-decoration: none !important;
    transition: opacity .16s ease;
}
body .site-header .mbw26-header-social a.mbw26-header-social__link--telegram,
body .site-header .mbw26-header-social a.mbw26-header-social__link--telegram:link,
body .site-header .mbw26-header-social a.mbw26-header-social__link--telegram:visited {
    background-image: url('header-telegram-blue.png') !important;
}
body .site-header .mbw26-header-social a.mbw26-header-social__link--max,
body .site-header .mbw26-header-social a.mbw26-header-social__link--max:link,
body .site-header .mbw26-header-social a.mbw26-header-social__link--max:visited {
    background-image: url('header-max-blue.png') !important;
}
/* Retain the image in the DOM, but hide its original multicolour artwork. */
body .site-header .mbw26-header-social a.mbw26-header-social__link img {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body .site-header .mbw26-header-social a.mbw26-header-social__link:hover {
    opacity: .82 !important;
}
body .site-header .mbw26-header-social a.mbw26-header-social__link:focus-visible {
    outline: 2px solid #77ace4 !important;
}
@media (max-width: 1024px) {
    body .site-header .mbw26-header-social {gap: 9px !important;}
    body .site-header .mbw26-header-social a.mbw26-header-social__link {flex-basis: 26px !important; width: 26px !important; height: 28px !important; background-size: 23.75px 23.75px !important;}
}
@media (max-width: 650px) {
    body .site-header .mbw26-header-social {gap: 7px !important;}
    body .site-header .mbw26-header-social a.mbw26-header-social__link {flex-basis: 22px !important; width: 22px !important; height: 24px !important; background-size: 19.95px 19.95px !important;}
}
