a.sp-social-profile-item-wrapper:focus {
    outline: none;
}

.sp-social-profile-item-icon i.sp-social-profile-item-icon-class {
    display: flex;
    align-items: center;
    padding: 6px;
    border-width: 1px 1px 1px 1px;
    border-radius: 50% 50% 50% 50%;
}

.sp-social-profile-item-icon-wrapper .sp-social-profile-item-icon {
    display: inline-block;
}

.sp-social-profile-wrapper.social-profiles-layout-three .sp-social-profile-item-container:hover {
    position: relative;
    z-index: 2;
}

.sp-social-profile-wrapper.social-profiles-layout-three .sp-social-profile-item-wrapper {
    padding: 12px;
    background: #f5f5f5;
}

.sp-social-profile-wrapper.social-profiles-layout-four .sp-social-profile-item-wrapper,
.sp-social-profile-wrapper.social-profiles-layout-five .sp-social-profile-item-wrapper {
    padding: 20px;
    background: #ffffff;
}

.sp-social-profile-wrapper .sp-social-profile-item-wrapper .sp-social-profile-item,
.sp-social-profile-wrapper .sp-social-profile-item-wrapper .sp-social-profile-item .sp-social-profile-item-text {
    display: flex;
    align-items: center;
}

.sp-social-profile-wrapper.social-profiles-layout-three .sp-social-profile-item-wrapper .sp-social-profile-item .sp-social-profile-item-text {
    width: 100%;
    justify-content: space-between;
}

/** Social Profile Hover Effect */
.sp-social-profile-wrapper.sp-icon-hover-effect-darken .sp-social-profile-item-container:hover {
    filter: brightness(0.8) contrast(1.2);
}

.sp-social-profile-wrapper.sp-icon-hover-effect-lift .sp-social-profile-item-container:hover {
    transform: translateY(-4px);
}

.sp-social-profile-wrapper.sp-icon-hover-effect-scale .sp-social-profile-item-container:hover {
    transform: scale(1.05);
}

.sp-social-profile-wrapper.sp-icon-hover-effect-lift-scale .sp-social-profile-item-container:hover {
    transform: translateY(-4px) scale(1.05);
}

.sp-social-profile-wrapper.sp-icon-hover-effect-lift-more .sp-social-profile-item-container:hover {
    transform: translateY(-8px);
}

.sp-social-profile-wrapper.sp-icon-hover-effect-scale-more .sp-social-profile-item-container:hover {
    transform: scale(1.1);
}

.sp-social-profile-wrapper.sp-icon-hover-effect-lift-scale-more .sp-social-profile-item-container:hover {
    transform: translateY(-8px) scale(1.1);
}

/* social-profile-items */
.sp-social-profile-item-label {
    color: #2f2f2f;
    transition: color 0.3s ease-in-out;
}

.sp-social-profile-item-sub-text {
    color: #757575;
    transition: color 0.3s ease-in-out;
}

/* Social Profile single icon original color style */
.sp-social-profile-item-icon .sp-social-profile-item-icon-class {
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

.sp-social-profile-item-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-facebook) {
    background-color: #0765ff;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-x) {
    background-color: #000000;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-linkedin) {
    background-color: #0b65c2;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-pinterest) {
    background-color: #e60022;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-mail) {
    background: #da4a3e;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-instagram) {
    background: radial-gradient(182.61% 44.3% at -16.75% 7.2%,
            #3771c8 0%,
            #3771c8 12.8%,
            rgba(102, 0, 255, 0) 100%),
        radial-gradient(92.18% 99.11% at 26.56% 107.7%,
            #fd5 0%,
            #fd5 10%,
            #ff543e 50%,
            #c837ab 100%);
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-vkontakte) {
    background-color: #0177ff;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-digg) {
    background: #1b1a19;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-tumblr) {
    background-color: #011935;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-reddit) {
    background-color: #fd4500;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-whatsapp) {
    background-color: #0bc144;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-pocket) {
    background: #ef4155;
}

.sp-social-profile-item-icon-wrapper:has(.sp-icon-xing) {
    background: #0698a0;
}

.sp-social-profile-item-container {
    /* overflow: hidden; */
    transition: all 0.3s ease-in-out;
}

.sp-social-profile-item-icon-wrapper .sp-social-profile-item-image {
    width: 100%;
    height: 100%;
}

.sp-social-profile-item-icon-wrapper .sp-social-profile-item-image img {
    width: 100%;
}

.sp-social-profile-icon-divider {
    width: 1px;
}

.sp-social-profile-wrapper .sp-social-profile-wrapper-grid-class {
    display: grid;
}

.sp-social-profile-wrapper.sp-align-left .sp-social-profile-wrapper-grid-class {
    justify-content: left;
}

.sp-social-profile-wrapper.sp-align-center .sp-social-profile-wrapper-grid-class {
    justify-content: center;
}

.sp-social-profile-wrapper.sp-align-right .sp-social-profile-wrapper-grid-class {
    justify-content: right;
}

.sp-social-profile-wrapper a.sp-social-profile-item-wrapper {
    position: relative;
}

.sp-social-profile-wrapper a.sp-social-profile-item-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.sp-social-profile-item {
    position: relative;
    z-index: 1;
}

.sp-icon-divider .sp-social-profile-icon-divider {
    display: inline-block;
}

.sp-icon-divider-none .sp-social-profile-icon-divider {
    display: none;
}

.sp-social-profile-item-label {
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
}

.sp-social-profile-item-sub-text {
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
}

.sp-social-profile-item-container a.sp-social-profile-item-wrapper {
  display: block;
  text-decoration: none;
  position: relative;
}
.sp-smart-post-wrapper {
    .sp-social-profile-wrapper {
        &.social-profiles-layout-one .sp-social-profile-wrapper-grid-class {
            grid-template-columns: repeat(5, auto);
        }
        &.social-profiles-layout-two .sp-social-profile-wrapper-grid-class {
            grid-template-columns: repeat(5, 1fr);
        }
        &.social-profiles-layout-three .sp-social-profile-wrapper-grid-class {
            grid-template-columns: repeat(1, 1fr);
        }
        &.social-profiles-layout-four .sp-social-profile-wrapper-grid-class,
        &.social-profiles-layout-five .sp-social-profile-wrapper-grid-class  {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}
@media screen and (max-width: 1023px) {
    .sp-smart-post-wrapper {
        .sp-social-profile-wrapper {
            &.social-profiles-layout-two .sp-social-profile-wrapper-grid-class,
            &.social-profiles-layout-four .sp-social-profile-wrapper-grid-class,
            &.social-profiles-layout-five .sp-social-profile-wrapper-grid-class {
                grid-template-columns: repeat(3, 1fr);
            }
            &.social-profiles-layout-one .sp-social-profile-wrapper-grid-class {
                grid-template-columns: repeat(5, auto);
            }
            &.social-profiles-layout-three .sp-social-profile-wrapper-grid-class {
                grid-template-columns: repeat(1, 1fr);
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .sp-smart-post-wrapper {
        .sp-social-profile-wrapper {
            &.social-profiles-layout-two .sp-social-profile-wrapper-grid-class,
            &.social-profiles-layout-four .sp-social-profile-wrapper-grid-class,
            &.social-profiles-layout-five .sp-social-profile-wrapper-grid-class {
                grid-template-columns: repeat(2, 1fr);
            }
            &.social-profiles-layout-one .sp-social-profile-wrapper-grid-class {
                grid-template-columns: repeat(3, auto);
            }
            &.social-profiles-layout-three .sp-social-profile-wrapper-grid-class {
                grid-template-columns: repeat(1, 1fr);
            }
        }
    }
}
