.profile-main{padding:40px 0 70px;background:#f7fafc;min-height:70vh}.profile-heading{padding:28px 0}.profile-heading h1{margin:.2rem 0}.profile-cover{width:100%;max-height:520px;object-fit:cover;border-radius:24px;box-shadow:0 16px 40px rgba(0,0,0,.12)}.profile-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:8px 0 28px}.profile-facts div{background:white;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(20,48,66,.08)}.profile-facts span{display:block;color:#64748b;font-size:.9rem}.profile-facts strong{font-size:1.15rem}.profile-section{background:white;border-radius:20px;padding:26px;margin:18px 0;box-shadow:0 8px 24px rgba(20,48,66,.08)}.profile-section p{font-size:1.08rem;line-height:1.7}.profile-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.profile-gallery img{width:100%;height:240px;object-fit:cover;border-radius:14px}.profile-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}@media(max-width:650px){.profile-main{padding-top:24px}.profile-cover{border-radius:16px}.profile-section{padding:20px}.profile-gallery img{height:210px}}


.profile-navigation{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 18px;
  margin:0 0 28px;
  padding:14px 18px;
  border:1px solid #d9e3ea;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(20,48,66,.06)
}
.profile-nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:38px;
  padding:6px 2px;
  color:#123f5f;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap
}
.profile-nav-link:hover{text-decoration:underline}
.profile-nav-vote{
  padding:9px 15px;
  border-radius:10px;
  background:#f5c425;
  color:#102f46;
  text-decoration:none
}
.profile-nav-vote:hover{background:#e8b915;text-decoration:none}
.profile-nav-disabled{color:#94a3b8;cursor:default}
.profile-nav-disabled:hover{text-decoration:none}
.profile-heading{padding:4px 0 24px;text-align:center}
.profile-heading h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;margin:.25rem 0 .35rem}
.profile-heading .lead{margin:0}
.profile-heading .actions{justify-content:center}
.profile-cover{display:block;margin:0 0 28px}
@media(max-width:760px){
  .profile-navigation{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:14px}
  .profile-nav-link{white-space:normal;text-align:center}
  .profile-nav-vote{grid-column:1 / -1}
}
@media(max-width:480px){
  .profile-navigation{grid-template-columns:1fr}
  .profile-nav-vote{grid-column:auto}
}


/* Profile navigation integrated into the site header */
.profile-header-inner{
  min-height:88px;
  gap:24px
}
.profile-header-nav-slot{
  flex:1;
  min-width:0
}
.profile-header-navigation{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px 20px
}
.profile-header-navigation .profile-nav-link{
  min-height:40px;
  padding:6px 0;
  font-size:.96rem
}
.profile-header-navigation .profile-nav-vote{
  padding:10px 16px
}
.profile-navigation-bottom{
  margin:28px 0 0
}
@media(max-width:1050px){
  .profile-header-inner{
    align-items:flex-start;
    padding-top:12px;
    padding-bottom:12px
  }
  .profile-header-navigation{
    gap:6px 14px
  }
  .profile-header-navigation .profile-nav-link{
    font-size:.9rem
  }
}
@media(max-width:820px){
  .profile-header-inner{
    flex-direction:column;
    align-items:center;
    gap:8px
  }
  .profile-header-nav-slot{
    width:100%
  }
  .profile-header-navigation{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
    gap:6px 12px;
    padding:0 0 6px
  }
  .profile-header-navigation .profile-nav-link{
    white-space:normal;
    text-align:center
  }
  .profile-header-navigation .profile-nav-vote{
    padding:9px 12px
  }
}
@media(max-width:500px){
  .profile-header-navigation{
    grid-template-columns:1fr
  }
}
