/**
 * Netvaerk Profiles Stylesheet
 */

/* User List Grid */
.netvaerk-user-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.netvaerk-user-list[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.netvaerk-user-list[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .netvaerk-user-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .netvaerk-user-list {
        grid-template-columns: 1fr;
    }
}

/* User Card */
.netvaerk-user-card {
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    /* border-radius: 8px; */
    overflow: hidden;
    /* transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

/* .netvaerk-user-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
} */
.netvaerk-user-card:hover {
    transform: scale(1.01);
    -webkit-box-shadow: 0px 0px 39px -5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 39px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 39px -5px rgba(0, 0, 0, 0.3);
}
.netvaerk-user-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.netvaerk-user-image {
    position: relative;
    padding-top: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.netvaerk-user-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.netvaerk-user-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 48px;
    font-weight: bold;
}

.netvaerk-user-info {
    padding: 20px;
}

.netvaerk-user-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.netvaerk-user-company {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #666;
}

.netvaerk-user-specialty {
    margin: 0;
    font-size: 13px;
    color: #999;
}

/* Profile Page */
.netvaerk-profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.netvaerk-profile-header {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.netvaerk-profile-images {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    width:40%;
}

.netvaerk-profile-picture img,
.netvaerk-company-logo img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.netvaerk-profile-picture img {
    border-radius: 50%;
}

.netvaerk-profile-name {
    margin: 0 0 10px 0;
    font-size: 2.3em;
    font-weight: 700;
    color: #333;
}

.netvaerk-profile-company {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #666;
}

.netvaerk-profile-specialty {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #999;
    font-style: italic;
}

.netvaerk-profile-group {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.netvaerk-profile-content {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.netvaerk-profile-content h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.netvaerk-profile-bio {
    margin-bottom: 40px;
}

.netvaerk-bio-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.netvaerk-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.netvaerk-contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.netvaerk-contact-label {
    font-weight: 600;
    color: #666;
    min-width: 80px;
}

.netvaerk-contact-value {
    color: #667eea;
    text-decoration: none;
}

.netvaerk-contact-value:hover {
    text-decoration: underline;
}

.netvaerk-profile-social {
    margin-top: 15px;
}

.netvaerk-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.netvaerk-social-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.netvaerk-social-link:hover {
    text-decoration: underline;
}

.netvaerk-profile-back {
    text-align: center;
}

.netvaerk-profile-back .button {
    background: #667eea;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.netvaerk-profile-back .button:hover {
    background: #5568d3;
}

.netvaerk-profile-not-found {
    text-align: center;
    padding: 60px 20px;
}

.netvaerk-profile-not-found h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.netvaerk-profile-not-found p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Group Link */
.netvaerk-group-link {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: 500;
}

.netvaerk-group-link:hover {
    background: #5568d3;
    color: #fff;
}

/* Elementor Shortcode Elements */
.netvaerk-profile-picture,
.netvaerk-company-logo {
    max-width: 100%;
    height: auto;
}

.netvaerk-profile-picture {
    border-radius: 50%;
}

.netvaerk-user-image {
    width: 100%;
    height: 150px;
    aspect-ratio: 1;
    border-radius: 0;
    padding: 0px;
}

.netvaerk-user-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    /* aspect-ratio: 1; */
    padding: 15%;
}

.netvaerk-user-card {
    aspect-ratio: 1;
    border-radius: 0px;
    -webkit-box-shadow: 0px 0px 39px -5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 39px -5px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 39px -5px rgba(0, 0, 0, 0.15);
    transform: scale(1);
    transition: all 0.3s;
}

.netvaerk-user-image {
    min-height: 150px;
    flex-grow: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

a.netvaerk-user-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.netvaerk-user-image img {
    align-self: center;
    height: 100% !important;
}

div.netvaerk-user-company {
    text-align: center;
}

.netvaerk-profile-header{
    display:flex;
}

.netvaerk-profile-basic{
    width:70%
}

.netvaerk-profile-social span.elementor-icon-list-icon {
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 28px;
    height: 28px;
}

.netvaerk-profile-social .elementor-icon-list-item a {
    justify-content: start;
    text-align: start;
}
a.netvaerk-social-link>img {
    width: 30px;
}

ul.netvaerk-social-links-list {
    display: flex;
    gap: 10px;
}

ul.netvaerk-social-links-list {
    padding-left: 0px;
}