.person-profile__header { max-width: 44rem; margin-inline: auto; }
.profilmeny { position: relative; min-height: 70vh; }
.profilmeny input[name="fanekontroll"] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.profilmeny ul { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.profilmeny ul li { flex: 1 1 25%; min-width: 0; text-align: left; }
.profilmeny ul li label { display: flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; min-height: 3.25rem; margin: 0; padding: .75rem .5rem; border-radius: .5rem; color: var(--text-secondary); cursor: pointer; font-size: 1rem; font-weight: 600; transition: color var(--transition-speed) ease-in-out, background-color var(--transition-speed) ease-in-out; user-select: none; }
.profilmeny ul li label:hover { color: var(--text-primary); background-color: var(--bg-hover); }
.profil-bio ul {display: block;}
.profile-tab-icon, .person-profile__actions svg, .list-group-item svg, .person-profile__relations a svg { display: inline-flex; width: 1.15em; height: 1.15em; color: currentColor; }
.profile-tab-icon svg { display: block; }
.profilmeny input[name="fanekontroll"]:nth-of-type(1):focus-visible ~ ul label[for="tab1"], .profilmeny input[name="fanekontroll"]:nth-of-type(2):focus-visible ~ ul label[for="tab2"], .profilmeny input[name="fanekontroll"]:nth-of-type(3):focus-visible ~ ul label[for="tab3"], .profilmeny input[name="fanekontroll"]:nth-of-type(4):focus-visible ~ ul label[for="tab4"] { outline: 2px solid var(--accent-primary); outline-offset: -2px; }
.profilmeny .slider { position: relative; width: 25%; margin-top: 0; transition: transform .33s cubic-bezier(.38, .8, .32, 1.07); }
.profilmeny .slider .indicator { width: 3.25rem; max-width: 100%; height: .25rem; margin: 0 auto; border-radius: 999px; background: var(--accent-primary); }
.profilmeny .content { margin-top: 1.5rem; }
.profilmeny .content > section { display: none; animation: profile-content .2s ease-in-out; line-height: 1.5; }
.profilmeny .content > section > h2 { display: none; color: var(--text-primary); font-size: 1.125rem; }
.profilmeny input[name="fanekontroll"]:nth-of-type(1):checked ~ ul label[for="tab1"], .profilmeny input[name="fanekontroll"]:nth-of-type(2):checked ~ ul label[for="tab2"], .profilmeny input[name="fanekontroll"]:nth-of-type(3):checked ~ ul label[for="tab3"], .profilmeny input[name="fanekontroll"]:nth-of-type(4):checked ~ ul label[for="tab4"] { color: var(--text-primary); }
.profilmeny input[name="fanekontroll"]:nth-of-type(1):checked ~ .slider { transform: translateX(0%); }
.profilmeny input[name="fanekontroll"]:nth-of-type(2):checked ~ .slider { transform: translateX(100%); }
.profilmeny input[name="fanekontroll"]:nth-of-type(3):checked ~ .slider { transform: translateX(200%); }
.profilmeny input[name="fanekontroll"]:nth-of-type(4):checked ~ .slider { transform: translateX(300%); }
.profilmeny input[name="fanekontroll"]:nth-of-type(1):checked ~ .content > section:nth-child(1), .profilmeny input[name="fanekontroll"]:nth-of-type(2):checked ~ .content > section:nth-child(2), .profilmeny input[name="fanekontroll"]:nth-of-type(3):checked ~ .content > section:nth-child(3), .profilmeny input[name="fanekontroll"]:nth-of-type(4):checked ~ .content > section:nth-child(4) { display: block; }

@keyframes profile-content { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .profilmeny ul li label { min-height: 3.5rem; padding: .5rem; }.profilmeny ul li label > span:last-child { display: none; }.profile-tab-icon { font-size: 1.35rem; }.profilmeny .slider { display: none; }.profilmeny input[name="fanekontroll"]:checked ~ ul label { background: transparent; }.profilmeny input[name="fanekontroll"]:nth-of-type(1):checked ~ ul label[for="tab1"], .profilmeny input[name="fanekontroll"]:nth-of-type(2):checked ~ ul label[for="tab2"], .profilmeny input[name="fanekontroll"]:nth-of-type(3):checked ~ ul label[for="tab3"], .profilmeny input[name="fanekontroll"]:nth-of-type(4):checked ~ ul label[for="tab4"] { background: var(--bg-hover); }.profilmeny .content > section > h2 { display: block; }.person-profile__overview { grid-template-columns: 1fr; }.person-profile__portrait { width: min(15rem, 100%); } }
