
/* BDRX SHARING */
.atlas-share {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 25px auto;
    font-family: Georgia, serif;
}
.atlas-share-button {
    padding: 9px 18px;
    border: 1px solid currentColor;
    border-radius: 24px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.atlas-share-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    padding: 10px;
    border: 1px solid #d8d2c7;
    border-radius: 10px;
    background: #f5f2eb;
    color: #302f2c;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 200;
}
.atlas-share-menu[hidden] { display: none; }
.atlas-share-menu a,
.atlas-share-menu button {
    display: block;
    width: 100%;
    padding: 9px;
    border: 0;
    background: transparent;
    color: #866636;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
html[data-theme="dark"] .atlas-share-menu {
    background: #242a30;
    border-color: #454b50;
}
html[data-theme="dark"] .atlas-share-menu a,
html[data-theme="dark"] .atlas-share-menu button {
    color: #d5b77d;
}
html[lang="ru"] .atlas-share-en,
html[lang="en"] .atlas-share-ru { display: none; }

/* BDRX inline sharing link */
.atlas-share {
    justify-content: flex-end;
    margin: 14px 0 28px;
}
.atlas-share-button,
.atlas-share-button:visited {
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #866636;
    text-decoration: underline;
    text-underline-offset: 3px;
}
html[data-theme="dark"] .atlas-share-button,
html[data-theme="dark"] .atlas-share-button:visited {
    color: #d5b77d;
}
