/**
 * WEEU 830 share row — under a news story
 *
 * @package WEEU830
 * @version 2.64.0
 */

.weeu-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 10px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border, #e5e5e5);
    border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.weeu-share-label {
    font-family: var(--font-heading, inherit);
    font-size: var(--font-size-sm, 14px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-heading, #1a1a1a);
}

.weeu-share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.weeu-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border, #ddd);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text, #444);
    font-family: inherit;
    font-size: var(--font-size-sm, 14px);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* `display: inline-flex` above outranks the browser's own
   `[hidden] { display: none }`, so the share-sheet button stayed on
   screen for desktop readers who have no share sheet — a button that
   did nothing when pressed. */
.weeu-share-button[hidden] {
    display: none;
}

.weeu-share-button:hover,
.weeu-share-button:focus {
    border-color: var(--color-primary, #F80000);
    color: var(--color-primary, #F80000);
}

/* Each network in its own colour on hover, so the row is scannable
   without printing the names next to every icon. */
.weeu-share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.weeu-share-x:hover        { background: #000;     border-color: #000;     color: #fff; }
.weeu-share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.weeu-share-email:hover    { background: #555;     border-color: #555;     color: #fff; }

.weeu-share-native,
.weeu-share-copy {
    font-size: var(--font-size-sm, 13px);
}

.weeu-share-copy.is-done {
    border-color: #1b6b3a;
    color: #1b6b3a;
}

.weeu-share-button i {
    font-size: 15px;
}

@media (max-width: 600px) {
    .weeu-share {
        gap: 10px;
    }

    .weeu-share-button {
        padding: 0 10px;
    }
}
