/* Base flexbox layout */
.elementor-author-box-card {
    display: flex;
    width: 100%;
}

/* Layout: Left (default) */
.elementor-author-box--layout-left .elementor-author-box-card {
    flex-direction: row;
}

/* Layout: Above */
.elementor-author-box--layout-above .elementor-author-box-card {
    flex-direction: column;
}

/* Layout: Right */
.elementor-author-box--layout-right .elementor-author-box-card {
    flex-direction: row-reverse;
}

/* Responsive layouts for tablet */
.elementor-author-box--layout-tablet-left .elementor-author-box-card {
    flex-direction: row;
}

.elementor-author-box--layout-tablet-above .elementor-author-box-card {
    flex-direction: column;
}

.elementor-author-box--layout-tablet-right .elementor-author-box-card {
    flex-direction: row-reverse;
}

/* Responsive layouts for mobile */
.elementor-author-box--layout-mobile-left .elementor-author-box-card {
    flex-direction: row;
}

.elementor-author-box--layout-mobile-above .elementor-author-box-card {
    flex-direction: column;
}

.elementor-author-box--layout-mobile-right .elementor-author-box-card {
    flex-direction: row-reverse;
}

/* Force reset align-self for avatar in Above layouts to allow align-items to work */
.elementor-author-box--layout-above .elementor-author-box__avatar,
.elementor-author-box--layout-tablet-above .elementor-author-box__avatar,
.elementor-author-box--layout-mobile-above .elementor-author-box__avatar {
    align-self: auto !important;
}

/* Avatar wrapper to contain avatar and social icons */
.elementor-author-box__avatar-wrapper {
    display: block;
    width: 100%;
}

/* Social Icons */
.elementor-author-box__social-icons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
}

.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    font-size: 16px;
}

.elementor-social-icon i {
    color: #fff;
}

.elementor-social-icon svg {
    fill: #fff;
}

/* Shape: Rounded */
.elementor-shape-rounded .elementor-social-icon {
    border-radius: 10%;
}

/* Shape: Circle */
.elementor-shape-circle .elementor-social-icon {
    border-radius: 50%;
}

/* Official Brand Colors */
.elementor-social-icon-facebook {
    background-color: #1877f2;
}

.elementor-social-icon-twitter {
    background-color: #1da1f2;
}

.elementor-social-icon-youtube {
    background-color: #ff0000;
}

.elementor-social-icon-linkedin {
    background-color: #0077b5;
}

.elementor-social-icon-instagram {
    background-color: #e4405f;
}

.elementor-social-icon-pinterest {
    background-color: #bd081c;
}

.elementor-social-icon-github {
    background-color: #333;
}

.elementor-social-icon-dribbble {
    background-color: #ea4c89;
}

.elementor-social-icon-behance {
    background-color: #1769ff;
}

.elementor-social-icon-medium {
    background-color: #00ab6c;
}

.elementor-social-icon-reddit {
    background-color: #ff4500;
}

.elementor-social-icon-vimeo {
    background-color: #1ab7ea;
}

.elementor-social-icon-whatsapp {
    background-color: #25d366;
}

.elementor-social-icon-telegram {
    background-color: #0088cc;
}

.elementor-social-icon-spotify {
    background-color: #1db954;
}

.elementor-social-icon-tiktok {
    background-color: #000;
}

.elementor-social-icon-snapchat {
    background-color: #fffc00;
}

.elementor-social-icon-snapchat i,
.elementor-social-icon-snapchat svg {
    color: #000;
    fill: #000;
}

.elementor-social-icon-envelope {
    background-color: #ea4335;
}

.elementor-social-icon-rss {
    background-color: #f26522;
}

.elementor-social-icon-link {
    background-color: #818a91;
}