/* Shared news/job card actions. Keep selectors scoped to interaction rows. */
.news-actions,
.job-card .job-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    width: 100%;
}

.news-actions > .news-action,
.job-actions > .action-button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 0;
    padding: 0 6px;
    border: 1px solid rgba(214, 178, 62, .18);
    border-radius: 12px;
    background: rgba(0, 0, 0, .18);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font: 700 12px/1.2 'Tajawal', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.news-actions .news-action svg,
.job-actions .action-button svg {
    display: block;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #D6B23E;
}

.news-actions .news-action .like-icon {
    flex: 0 0 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
}

.news-actions .news-action .news-action-text,
.job-actions .action-button > span {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-actions .news-action.is-liked,
.job-actions .action-button.liked {
    background: #D6B23E;
    border-color: #D6B23E;
    color: #003D2B;
}

.news-actions .news-action.is-liked svg,
.job-actions .action-button.liked svg {
    fill: #003D2B;
    stroke: #003D2B;
}

.news-actions .news-action:disabled,
.job-actions .action-button:disabled {
    opacity: .55;
    cursor: wait;
    pointer-events: none;
}

.news-card[data-shared-target],
.job-card[data-shared-target] {
    outline: 2px solid #D6B23E;
    outline-offset: -2px;
}

.snackbar { pointer-events: none; }
.comments-overlay.open ~ .snackbar { top: 76px; bottom: auto; }
