/* =====================================================
   CONTAINER
===================================================== */
.cx-social-preview {
    width: 100%;
    display: grid;
    /* Default fallback, overridden by Elementor controls */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    background: #0d0d0d;
}

/* =====================================================
   SOCIAL CARD
===================================================== */
.cx-social-card {
    position: relative;
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 26px;
    overflow: hidden;
    
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    background: linear-gradient(145deg, #171717, #111111);
    color: #ffffff;
    text-decoration: none;
    
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cx-social-card:hover {
    transform: translateY(-3px);
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.16);
}

/* =====================================================
   ICON
===================================================== */
.cx-social-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.cx-social-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
    transition: fill 0.25s ease;
}

.cx-social-card:hover .cx-social-icon {
    transform: scale(1.06);
    background: rgba(255,255,255,0.08);
}

/* =====================================================
   TEXT
===================================================== */
.cx-social-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cx-social-info span {
    color: #6e6e73;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.cx-social-info strong {
    color: #f5f5f5;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: color 0.25s ease;
}

/* =====================================================
   ARROW
===================================================== */
.cx-social-arrow {
    margin-left: auto;
    color: #66666b;
    font-size: 18px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.cx-social-card:hover .cx-social-arrow {
    color: #ffffff;
    transform: translate(2px, -2px);
}

/* =====================================================
   WIDE ITEM
===================================================== */
.cx-social-wide {
    grid-column: 1 / -1;
}
