/* =========================================================
   TPLB PROFIL: GRUNDSTRUKTUR
   ========================================================= */

.tplb-profile {
  --tplb-bg: var(--damocles-bg1, #f9f9f9);
  --tplb-border: var(--border, #dddddd);
  --tplb-dark-text: var(--damocles-dark-text, #555);
  --tplb-dark-rgb: var(--damocles-dark-rgb, 85, 85, 85);
  --tplb-font-sans: var(--damocles-font-sans, "Work Sans", sans-serif);
  --tplb-font-sans2: var(--damocles-font-sans2, "Poppins", sans-serif);
  --tplb-font-serif: var(--damocles-font-serif, "Cormorant Garamond", serif);
  --tplb-title-font: var(--damocles-main-title-font, "Against", sans-serif);
  --tplb-font-medium: var(--damocles-font-medium, 500);
  --tplb-font-semibold: var(--damocles-font-semibold, 600);
  --tplb-gradient-text: var(--gradient-text, linear-gradient(to right, #b7ebfc, #f8c1e8, #fcf4d3));
  --tplb-gradient-soft-20: var(--damocles-gradient-soft-h-20, linear-gradient(102.8deg, rgba(183,235,252,0.2), rgba(248,193,232,0.2), rgba(252,244,211,0.2)));
  --tplb-gradient-soft-40: var(--damocles-gradient-soft-h-40, linear-gradient(102.8deg, rgba(183,235,252,0.4), rgba(248,193,232,0.4), rgba(252,244,211,0.4)));
  --tplb-gradient-soft-100: var(--damocles-gradient-soft-h-100, linear-gradient(102.8deg, rgba(183,235,252,1), rgba(248,193,232,1), rgba(252,244,211,1)));

  width: 100%;
  max-width: 1400px;
  margin: 25px auto 45px auto;
  color: var(--tplb-dark-text);
  font-family: var(--tplb-font-sans);
  box-sizing: border-box;
}

.tplb-profile,
.tplb-profile *,
.tplb-profile *::before,
.tplb-profile *::after {
  box-sizing: border-box;
}

.tplb-profile a,
.tplb-profile a:link,
.tplb-profile a:visited,
.tplb-profile a:hover,
.tplb-profile a:active {
  color: var(--tplb-dark-text);
  text-decoration: none;
}


/* =========================================================
   TPLB PROFIL: HERO
   ========================================================= */

.tplb-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
  min-height: 280px;
  margin-bottom: 22px;
}

.tplb-profile-avatarbox {
  position: relative;
  width: 100%;
  min-height: 280px;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--tplb-border);
  background: var(--tplb-bg);
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.tplb-profile-avatarbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tplb-gradient-soft-40);
  opacity: 0.85;
  z-index: 0;
}

.tplb-profile-avatar {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 230px;
  padding: 0;
}

.tplb-profile-avatar img {
  width: 260px !important;
  height: 230px !important;
  min-width: 260px !important;
  min-height: 230px !important;
  max-width: 260px !important;
  max-height: 230px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.85);
}

.tplb-profile-hero-main {
  position: relative;
  min-height: 280px;
  padding: 34px 42px;
  border-radius: 12px;
  border: 1px solid var(--tplb-border);
  background: var(--tplb-bg);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tplb-profile-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tplb-gradient-soft-40);
  opacity: 0.75;
  z-index: 0;
}

.tplb-profile-hero-main::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  bottom: -250px;
  background-image: var(--tplb-gradient-soft-100);
  opacity: 0.45;
  border-radius: 50%;
  z-index: 0;
}

.tplb-profile-hero-main > * {
  position: relative;
  z-index: 2;
}

.tplb-profile-label {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.75);
  font-family: var(--tplb-font-sans2);
  font-size: 10px;
  font-weight: var(--tplb-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(var(--tplb-dark-rgb), 0.68);
}

.tplb-profile-name {
  width: 100%;
  max-width: 980px;
  font-family: var(--tplb-title-font);
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 0.88;
  text-transform: uppercase;
  text-align: center;
  background-image: var(--tplb-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 1px 1px rgba(255,255,255,0.55));
}

.tplb-profile-subline {
  margin-top: 18px;
  font-family: var(--tplb-font-sans2);
  font-size: 11px;
  font-weight: var(--tplb-font-medium);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--tplb-dark-rgb), 0.68);
}

.tplb-profile-subline strong {
  color: var(--tplb-dark-text);
}

.tplb-profile-statusline {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--tplb-font-sans);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(var(--tplb-dark-rgb), 0.68);
}

.tplb-profile-statusline span {
  display: inline-flex;
  align-items: center;
}

.tplb-profile-groupbits {
  margin-top: 6px;
  text-align: center;
}

.tplb-profile-groupbits img {
  max-width: 100%;
  height: auto;
}

.tplb-profile-quote {
  width: 100%;
  max-width: 720px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.75);
  font-family: var(--tplb-font-serif);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  text-align: center;
  color: rgba(var(--tplb-dark-rgb), 0.78);
}

.tplb-profile-statusbits {
  margin-top: 8px;
  font-family: var(--tplb-font-sans);
  font-size: 11px;
  color: rgba(var(--tplb-dark-rgb), 0.68);
}

/* =========================================================
   TPLB PROFIL: CARDS
   ========================================================= */

.tplb-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.tplb-profile-contentgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 22px;
  margin-bottom: 22px;
}

.tplb-profile-sidecolumn {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.tplb-profile-card {
  position: relative;
  padding: 26px;
  border-radius: 12px;
  border: 1px solid var(--tplb-border);
  background: rgba(255,255,255,0.55);
  overflow: hidden;
}

.tplb-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tplb-gradient-soft-20);
  opacity: 0.85;
  z-index: 0;
}

.tplb-profile-card > * {
  position: relative;
  z-index: 2;
}

.tplb-profile-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--tplb-font-sans2);
  font-size: 11px;
  font-weight: var(--tplb-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tplb-dark-text);
}

.tplb-profile-card-title i {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background-image: var(--tplb-gradient-soft-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(var(--tplb-dark-rgb), 0.72);
}


/* =========================================================
   TPLB PROFIL: FACTS
   ========================================================= */

.tplb-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tplb-profile-fact {
  min-height: 70px;
  padding: 13px 14px;
  border-radius: 9px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.78);
}

.tplb-profile-fact span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--tplb-font-sans2);
  font-size: 9px;
  font-weight: var(--tplb-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--tplb-dark-rgb), 0.55);
}

.tplb-profile-fact strong {
  display: block;
  font-family: var(--tplb-font-sans);
  font-size: 13px;
  line-height: 1.5;
  font-weight: var(--tplb-font-medium);
  color: rgba(var(--tplb-dark-rgb), 0.82);
}


/* =========================================================
   TPLB PROFIL: TEXTE
   ========================================================= */

.tplb-profile-textcard {
  min-height: 520px;
}

.tplb-profile-longtext {
  max-height: 620px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  font-family: var(--tplb-font-sans);
  font-size: 13px;
  line-height: 1.85;
  text-align: justify;
  color: rgba(var(--tplb-dark-rgb), 0.78);
  white-space: pre-line;
}

.tplb-profile-smallblock {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 9px;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(255,255,255,0.75);
}

.tplb-profile-smallblock:last-child {
  margin-bottom: 0;
}

.tplb-profile-smallblock span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--tplb-font-sans2);
  font-size: 9px;
  font-weight: var(--tplb-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--tplb-dark-rgb), 0.55);
}

.tplb-profile-smallblock div {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(var(--tplb-dark-rgb), 0.76);
  white-space: pre-line;
}

.tplb-profile-playlist {
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(var(--tplb-dark-rgb), 0.76);
  white-space: pre-line;
}


/* =========================================================
   TPLB PROFIL: PINTEREST / SIGNATUR
   ========================================================= */

.tplb-profile-pinterest-card,
.tplb-profile-signature-card {
  margin-bottom: 22px;
}

.tplb-profile-pinterest {
  width: 100%;
  min-height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.tplb-profile-pinterest #pinterest-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tplb-profile-signature {
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  border-radius: 9px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.75);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(var(--tplb-dark-rgb), 0.76);
}

.tplb-profile-signature img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
   TPLB PROFIL: SYSTEMBITS
   ========================================================= */

.tplb-profile-systembits {
  margin-top: 22px;
}

.tplb-profile-systembits:empty {
  display: none;
}


/* =========================================================
   TPLB PROFIL: SCROLLBARS
   ========================================================= */

.tplb-profile-longtext::-webkit-scrollbar,
.tplb-profile-playlist::-webkit-scrollbar,
.tplb-profile-signature::-webkit-scrollbar {
  width: 6px;
}

.tplb-profile-longtext::-webkit-scrollbar-thumb,
.tplb-profile-playlist::-webkit-scrollbar-thumb,
.tplb-profile-signature::-webkit-scrollbar-thumb {
  background-image: var(--tplb-gradient-soft-100);
  border-radius: 999px;
}

.tplb-profile-longtext::-webkit-scrollbar-track,
.tplb-profile-playlist::-webkit-scrollbar-track,
.tplb-profile-signature::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
}


/* =========================================================
   TPLB PROFIL: RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .tplb-profile-hero,
  .tplb-profile-contentgrid {
    grid-template-columns: 1fr;
  }

  .tplb-profile-avatar {
    min-height: 420px;
  }

  .tplb-profile-avatar img {
    min-height: 384px;
  }
}

@media (max-width: 800px) {
  .tplb-profile {
    margin-top: 18px;
  }

  .tplb-profile-grid {
    grid-template-columns: 1fr;
  }

  .tplb-profile-facts {
    grid-template-columns: 1fr;
  }

  .tplb-profile-hero-main {
    padding: 30px 26px;
  }

  .tplb-profile-name {
    font-size: clamp(42px, 14vw, 68px);
  }

  .tplb-profile-quote {
    font-size: 20px;
  }
}