/* 
 * Influencer Storefront Template CSS
 */

.site-container {
    background-color: #2c2c2c;
}

.site-inner {
    margin-top: 0px !important;
    padding-top: 0px !important;
    color: #fff;
}

.influencer-heading__container {
    display: flex;
    flex-direction: column;
}

/* Hero Image */
.influencer-heading__hero-container {
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
    position: relative;
    width: 100vw;
}

.influencer-heading__hero-img {
    display: block;
    height: 150px;
    max-width: 100vw;
    object-fit: cover;
    width: 100vw;
}

/* Influencer Profile */
.influencer-heading__profile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.influencer-heading__profile-container {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.influencer-heading__profile-pic {
    border: 4px solid #2c2c2c;
    border-radius: 999px;
    height: 150px;
    width: 150px;
    top: -48px;
    position: relative;
}

.influencer-heading__profile-pic img {
    border-radius: 999px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.influencer-heading__profile-share {
    align-items: center;
    border: 1px solid #777;
    border-radius: 4px;
    color: #fff;
    display: flex;
    font-size: 16px;
    gap: 8px;
    margin-top: 48px;
    padding: 8px;
    text-decoration: none;
    transition: all 200ms ease-in-out;
    max-height: 42px;
}

.influencer-heading__profile-share svg path {
    transition: all 200ms ease-in-out;
}

.influencer-heading__profile-share:hover svg path {
    fill: #2C2C2C;
}

.influencer-heading__profile-share:hover {
    color: #2C2C2C;
    background: #EEFFD9;
    text-decoration: none;
}

.influencer-heading__content {
    position: relative;
    top: -36px;
}

.influencer-heading__name {
    margin-bottom: 4px;
}

.influencer-heading__title {
    color: #D1D1D1;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Socials */
.influencer-heading__socials {
    margin-bottom: 24px;
}

.influencer-heading__socials .wp-block-social-links {
    justify-content: start;
    font-size: 40px !important;
    gap: 16px;
}

.influencer-heading__socials .wp-block-social-links .wp-social-link {
    background-color: transparent;
    transform: none !important;
}

.influencer-heading__socials .wp-block-social-links .wp-social-link a svg path {
    transition: all 200ms ease-in-out;
}

/* Hover fill for svg */
.influencer-heading__socials .wp-block-social-links .wp-social-link:hover a svg path {
    fill: #EEFFD9;
}

.influencer-heading__socials .wp-block-social-links .wp-social-link a {
    padding: 0;
}

/* Description */
.influencer-heading__description {
    display: flex;
    flex-direction: column;
    line-height: 1.5 !important;
    font-size: 20px;
    position: relative;
    top: -36px;
}

.influencer-heading__description h2 {
    font-size: 20px !important;
    margin-bottom: 0px;
}

.influencer-heading__description p {
    margin-top: 8px;
    margin-bottom: 0px;
}

.influencer-heading__description a {
    margin-top: 8px;
    display: inline;
}

.influencer-heading__description a {
    color: #8CC640;
    display: inline;
    cursor: pointer;
}

.influencer-heading__description a:hover {
    color: #57801A;
}

/* Read More feature */
.read-more-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hides checkbox */
.read-more-toggle {
    display: none;
}

/* When checkbox/read more is checked, show full text */
.read-more-toggle:checked+.read-more-text {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.influencer-heading__hr {
    border-top: 2px solid #383838;
    margin-top: 12px;
    margin-bottom: 48px;
}

/*
	 * Tablet+ Styles
	*/
@media all and (min-width: 621px) {
    .influencer-heading__hero-img {
        height: 200px;
    }

    /* Only shows read more btn on mobile */
    .read-more-text {
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .read-more-button {
        display: none !important;
    }
}

/*
	 * Desktop+ Styles
	*/
@media all and (min-width: 1024px) {
    .influencer-heading__hero-img {
        height: 300px;
    }

    .influencer-heading__profile-container {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: start;
        gap: 48px;
    }

    .influencer-heading__profile-pic {
        height: 300px;
        width: 300px;
        top: -72px;
    }

    .influencer-heading__content {
        top: 48px;
    }

    .influencer-heading__description {
        top: -24px;
    }

    .influencer-heading__hr {
        margin-top: 24px;
    }
}