/* Koinonia modern share: scoped to the Bridge dropdown on single stories. */
.ksh-modern-share .social_share_dropdown ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ksh-modern-share .ksh-share-x-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}

.ksh-modern-share .social_share_dropdown ul li a:hover .ksh-share-x-mark,
.ksh-modern-share .social_share_dropdown ul li a:focus .ksh-share-x-mark,
.ksh-modern-share .social_share_dropdown ul li a:focus i {
    color: #1abc9c;
}

.ksh-modern-share .ksh-share-trigger:focus,
.ksh-modern-share .social_share_dropdown ul li a:focus-visible {
    outline: 1px solid #1abc9c;
    outline-offset: 2px;
}

/* Keep the existing Bridge hover interaction, but also make it usable by
   keyboard and touch/click. */
.ksh-modern-share:focus-within .social_share_dropdown,
.ksh-modern-share.ksh-share-open .social_share_dropdown {
    top: 100%;
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 0.2s cubic-bezier(0.3, 0.67, 0.24, 0.86);
    -moz-transition: all 0.2s cubic-bezier(0.3, 0.67, 0.24, 0.86);
    transition: all 0.2s cubic-bezier(0.3, 0.67, 0.24, 0.86);
}

/* Ukraine Relief: a calm, end-of-story share row. It intentionally does not
   reuse Bridge's legacy dropdown UI, but uses the same Facebook / X / Telegram
   destinations and popup behavior. */
.ksh-relief-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 38px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid #e7e3de;
}

.ksh-relief-share__label {
    color: #8a7c74;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.ksh-relief-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ksh-relief-share__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d8d3cd;
    border-radius: 2px;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.ksh-relief-share__button:hover,
.ksh-relief-share__button:focus {
    border-color: #99918a;
    background: #f8f7f5;
    color: #111;
    text-decoration: none;
}

.ksh-relief-share__button:focus-visible {
    outline: 1px solid #8a7c74;
    outline-offset: 2px;
}

.ksh-relief-share__button i {
    font-size: 14px;
}

.ksh-relief-share__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 600px) {
    .ksh-relief-share {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-top: 30px;
    }
    .ksh-relief-share__links {
        width: 100%;
    }
    .ksh-relief-share__button {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ksh-relief-share__button { transition: none; }
}

