/* ============================================================
   YardieNews Social Links — Icon Styles
   ============================================================ */

/* Shared wrapper */
.ynsl-icons {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
}

/* Base icon button */
.ynsl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, transform 0.15s ease,
                box-shadow 0.2s ease;
    flex-shrink: 0;
}

.ynsl-icon:hover,
.ynsl-icon:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    outline: none;
}

/* Per-brand hover accent colours */
.ynsl-icon--x:hover         { background: #000;     border-color: #333;    color: #fff; }
.ynsl-icon--tiktok:hover    { background: #010101;  border-color: #69c9d0; color: #fff; }
.ynsl-icon--instagram:hover {
    background: radial-gradient(circle at 30% 110%, #ffdb8b 0%, #ee653d 25%, #d42f8d 50%, #a133c2 75%);
    border-color: transparent;
    color: #fff;
}
.ynsl-icon--youtube:hover   { background: #ff0000; border-color: #cc0000; color: #fff; }

/* ---- Header context ---- */
.ynsl-icons--header {
    gap: 0.38rem;
}

.ynsl-icons--header .ynsl-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.ynsl-icons--header .ynsl-icon svg {
    width: 16px;
    height: 16px;
}

/* ---- Footer context ---- */
.ynsl-icons--footer {
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.ynsl-icons--footer .ynsl-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.ynsl-icons--footer .ynsl-icon svg {
    width: 18px;
    height: 18px;
}

/* Responsive: slightly smaller on mobile */
@media (max-width: 480px) {
    .ynsl-icon { width: 30px; height: 30px; }
}
