/* assets/theme.css */

/* ===== FRONT-END PROFILE THEME ===== */

.profile-wrap{
  min-height: 100vh;
  background: #1850a5;             /* jouw blauw */
  padding: 26px 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Organization logo at top */
.org-logo-top{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 54px;
}
.org-logo-img{
  width: 130px;                    /* <<< voorkomt mega logo */
  height: 130px;
  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border: 4px solid rgba(255,255,255,.85);
}

/* Main card */
.profile-card{
  width: min(760px, 100%);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  padding: 86px 22px 18px;         /* <<< ruimte voor avatar overlap */
  position: relative;
  text-align: center;
}

/* Avatar overlap (half over the tile) */
.avatar{
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  position: absolute;
  top: -48px;                      /* <<< half over card */
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #ffffff;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  background: #fff;
}

/* Name + title */
.fullname{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
}
.jobtitle{
  margin: 6px 0 0;
  font-size: 15px;
  color: #475569;
}

/* Info links */
.profile-card hr{
  margin: 18px 0 14px;
  border-top: 2px solid #2f56a3;
  opacity: .85;
}

.info{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.info a{
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}
.info a:hover{ text-decoration: underline; }

/* LinkedIn banner sizing fix */
.linkedin-banner{
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
  text-decoration: none;
}
.linkedin-banner img{
  width: 220px;                    /* <<< voorkomt enorme banner */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* fallback LinkedIn button */
.linkedin-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0a66c2;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.linkedin-icon{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Save to contacts button */
.save-btn{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: #1f2937;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}
.save-btn:hover{ filter: brightness(0.95); }

/* Org socials bottom */
.org-socials{
  margin-top: 22px;
  margin-bottom: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.org-socials a{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffffff;
  text-decoration: none;
}
.org-socials svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Make sure profile page doesn't inherit admin container spacing weirdness */
.profile-wrap .container{ padding: 0; max-width: none; }

/* Responsive tweak */
@media (max-width: 420px){
  .org-logo-img{ width: 110px; height: 110px; }
  .fullname{ font-size: 22px; }
}
