.custom-share {
    position: relative;
}
.custom-share-label {
    background-color: #EEEDEC;
    border-radius: 16px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    width: fit-content;
}
.custom-share.active .custom-share-label {
    background-color: #F1B1B1;
}
.custom-share-label span {
    color: #353433;
    font-size: 13px;
    font-family: 'Inter-Regular';
}
.custom-share.active .custom-share-label span{
    color: #9B3131; 
}
.custom-share-label svg path{
    fill: #353433 !important;
    stroke: none !important;
}
.custom-share.active .custom-share-label svg path {
    fill: #9B3131 !important;
}
.custom-share-buttons {
    border-radius: 16px;
    background-color: #ffffff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
}
.custom-share.active .custom-share-buttons {
    opacity: 1;
    visibility: visible;
}
.custom-share-buttons a{
    flex: 0 0 auto;
    display: flex;
    width: max-content;
    gap: 8px;
}
.custom-share-buttons span{
    width: 190px;
}
.custom-share-buttons img {
    max-width: 24px;
}

@media (max-width: 550px) {
    .custom-share-label span {
        display: none;
    }
    .custom-share-label {
        width: 28px;
        height: 28px;
        padding: 0;
    }
    /* mobile: open share menu to the right so it stays on screen */
    .custom-share-buttons {
        left: 0;
        right: auto;
    }
}