.profile::before { background-image:url('/images/representative-finder-landscape.webp'); }
.bristol .profile::before { background-image:url('/images/town-guide/bristol-main-street.webp'); }
.profile .initials { align-self:center; color:#ffdd86; background:linear-gradient(150deg,#15545a,#033137); font:700 clamp(2rem,6vw,4rem) Georgia,serif; }
.profile .pill { border:1px solid #74b4ae; background:#0c413e; color:#e7f7e8; }
.town-action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; background:linear-gradient(#ffe7a0,#f8c745); border:1px solid #ffdf84; border-radius:.7rem; padding:.45rem .85rem; color:#162b29; font-weight:750; text-align:center; text-decoration:none; }
.profile-jumps { grid-template-columns:repeat(4,minmax(0,1fr)); }
.profile-jumps a:nth-child(2) { --icon:25%; }
.profile-jumps a:nth-child(3) { --icon:100%; }
.profile-jumps a:nth-child(4) { --icon:50%; }
#profileContent [id] { scroll-margin-top:5.4rem; }
[data-pane] { min-width:0; }
dl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.5rem .95rem; margin:.8rem 0 0; }
dt { color:#f6dc91; font-weight:650; }
dd { margin:0; overflow-wrap:anywhere; }
#activityPreview { font-weight:650; }
.issue-banner { background-image:linear-gradient(90deg,#08383d 15%,#063239ed 48%,#06323928),url('/images/town-guide/decisions.webp'); background-position:center,right center; background-size:cover,auto 100%; padding-left:clamp(1rem,3vw,2rem); }
#officeContact,#localActivity,#sources { line-height:1.55; }
#activityRecord,#bristolTopics { margin-bottom:1rem; }
#bristolTopics li { margin-bottom:.5rem; }
.source-links,.municipal-contact { display:grid; justify-items:start; gap:.5rem; margin:.7rem 0; overflow-wrap:anywhere; }
.source-links:empty { display:none; }
.card a { text-underline-offset:.15em; }
#savedProfiles a { display:inline; background:none; border:0; min-height:0; padding:0; text-decoration:underline; }
#keyResources>div a:last-child::before { mask-position:50% center; }
@media(max-width:40rem) {
  .town-action { font-size:.86rem; padding:.4rem; }
  .profile-jumps a { font-size:.84rem; }
  .profile .initials { grid-row:auto; }
  #profileFollow { width:100%; }
  .issue-banner { padding-left:.9rem; }
}
