/**
 * PriceONN — Shared share-button row styling.
 * Used by pages/_partials/share-row.php on both blog-single and news-single
 * so the visual treatment is byte-identical across article types.
 *
 * Two variants:
 *   .share-row--inline  → compact, sits inside the article-meta bar
 *   .share-row--block   → full-width, sits in the like+share footer area
 */

.share-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.share-row--inline {
    gap: 4px;
}

.share-row--block {
    gap: 8px;
}

.share-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
    padding: 0;
    font: inherit;
}

.share-row--inline .share-row__btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.share-row__btn svg {
    width: 14px;
    height: 14px;
    display: block;
}

.share-row--inline .share-row__btn svg {
    width: 13px;
    height: 13px;
}

.share-row__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* Per-platform brand-color hover — unified palette, identical on blog & news */
.share-row__btn--x:hover               { color: #fff;     border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.12); }
.share-row__btn--facebook:hover        { color: #1877F2;  border-color: rgba(24,119,242,0.55);  background: rgba(24,119,242,0.14); }
.share-row__btn--linkedin:hover        { color: #0A66C2;  border-color: rgba(10,102,194,0.55);  background: rgba(10,102,194,0.14); }
.share-row__btn--telegram:hover        { color: #2AABEE;  border-color: rgba(42,171,238,0.55);  background: rgba(42,171,238,0.14); }
.share-row__btn--whatsapp:hover        { color: #25D366;  border-color: rgba(37,211,102,0.55);  background: rgba(37,211,102,0.14); }
.share-row__btn--pinterest:hover       { color: #E60023;  border-color: rgba(230,0,35,0.55);    background: rgba(230,0,35,0.14); }
.share-row__btn--instagram:hover       { color: #E1306C;  border-color: rgba(225,48,108,0.55);  background: linear-gradient(45deg, rgba(240,148,51,0.14), rgba(220,39,67,0.14), rgba(140,58,171,0.14)); }
.share-row__btn--whatsapp-status:hover { color: #25D366;  border-color: rgba(37,211,102,0.55);  background: rgba(37,211,102,0.14); }
.share-row__btn--copy:hover            { color: #3b8aff;  border-color: rgba(59,138,255,0.55);  background: rgba(59,138,255,0.14); }

/* Copy-link toggle: link icon → check icon while flashing the copied state */
.share-row__btn--copy .share-row__icon-check { display: none; }
.share-row__btn--copy.is-copied .share-row__icon-link { display: none; }
.share-row__btn--copy.is-copied .share-row__icon-check { display: block; color: #3b8aff; }
.share-row__btn--copy.is-copied {
    color: #3b8aff;
    border-color: rgba(59,138,255,0.55);
    background: rgba(59,138,255,0.14);
}

@media (max-width: 480px) {
    .share-row { gap: 5px; }
    .share-row__btn { width: 30px; height: 30px; }
    .share-row__btn svg { width: 13px; height: 13px; }
}
