.sr-public-profile,.sr-profile-editor-wrap{max-width:1280px;margin:0 auto}.sr-profile-ownerbar{text-align:right;margin:0 0 18px}.sr-profile-edit-btn,.sr-profile-editor-head>a{display:inline-flex;padding:10px 16px;border-radius:999px;background:#102A43;color:#fff!important;text-decoration:none;font-weight:700}.sr-profile-intro,.sr-profile-section,.sr-editor-section{background:#fff;border:1px solid #e6ecf2;border-radius:18px;padding:24px;margin:0 0 18px}.sr-role-chips,.sr-skill-list,.sr-link-list{display:flex;flex-wrap:wrap;gap:8px}.sr-role-chips span,.sr-skill-list>span{background:#fff6e7;border:1px solid #f5d59d;color:#7a4c00;padding:7px 11px;border-radius:999px;font-size:14px}.sr-skill-list small{margin-left:7px;opacity:.7}.sr-profile-facts{display:flex;flex-wrap:wrap;gap:16px;color:#64748b;margin:8px 0 18px}.sr-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sr-detail-grid>div{background:#f7f9fc;padding:14px;border-radius:12px}.sr-detail-grid b,.sr-detail-grid span{display:block}.sr-detail-grid span{margin-top:5px;color:#475569}.sr-credit-list article{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;padding:14px 0;border-bottom:1px solid #e6ecf2}.sr-credit-list article:last-child{border-bottom:0}.sr-credit-list b,.sr-credit-list strong,.sr-credit-list span{display:block}.sr-credit-list span{font-size:14px;color:#64748b;margin-top:3px}.sr-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sr-media-card{background:#f7f9fc;border-radius:12px;padding:16px}.sr-media-card b,.sr-media-card a{display:block}.sr-media-card a{margin-top:8px;color:#d98c16}.sr-link-list a{padding:8px 12px;border-radius:999px;border:1px solid #d8e1ea;text-decoration:none}.sr-profile-editor-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.sr-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#d98c16;font-weight:800;font-size:12px}.sr-editor-nav{position:sticky;top:10px;z-index:3;display:flex;gap:6px;overflow:auto;background:#102A43;padding:8px;border-radius:14px;margin-bottom:18px}.sr-editor-nav a{color:#fff;text-decoration:none;padding:8px 11px;border-radius:9px;white-space:nowrap}.sr-editor-nav a:hover{background:#f2a93b;color:#0b1f33}.sr-profile-editor label{display:flex;flex-direction:column;gap:6px;font-weight:650}.sr-profile-editor input,.sr-profile-editor textarea,.sr-profile-editor select{width:100%;padding:11px 12px;border:1px solid #cfd9e3;border-radius:10px;font:inherit;background:#fff}.sr-form-grid{display:grid;gap:14px}.sr-form-grid-2{grid-template-columns:repeat(2,1fr)}.sr-form-grid-3{grid-template-columns:repeat(3,1fr)}.sr-profile-editor .sr-full{margin-top:14px}.sr-section-title-row{display:flex;align-items:center;justify-content:space-between}.sr-add-row{border:0;border-radius:9px;padding:9px 12px;background:#f2a93b;color:#0b1f33;font-weight:800;cursor:pointer}.sr-repeat-row{display:flex;gap:12px;align-items:flex-end;padding:14px 0;border-bottom:1px solid #e6ecf2}.sr-repeat-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;flex:1}.sr-remove-row{border:0;background:transparent;color:#b42318;cursor:pointer;padding:10px}.sr-success{background:#ecfdf3;border:1px solid #abefc6;color:#067647;padding:12px 14px;border-radius:12px;margin-bottom:16px}.sr-submit-button{border:0;border-radius:12px;background:#102A43;color:#fff;padding:14px 20px;font-weight:800;font-size:16px;cursor:pointer}.sr-submit-button:hover{background:#0b1f33}
@media(max-width:760px){.sr-detail-grid,.sr-media-grid,.sr-form-grid-2,.sr-form-grid-3,.sr-repeat-fields,.sr-credit-list article{grid-template-columns:1fr}.sr-profile-editor-head{display:block}.sr-profile-editor-head>a{margin-top:12px}.sr-repeat-row{align-items:flex-start;flex-direction:column}.sr-remove-row{padding-left:0}}

/* Screen Roster profile header integration with Ultimate Member */
.sr-profile-header-roles{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px;align-items:center}
.sr-profile-header-roles span{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#f2a93b;color:#0b1f33!important;font-size:13px;font-weight:800;line-height:1.2;box-shadow:0 1px 0 rgba(11,31,51,.08)}
/* Keep UM header text readable when the theme uses midnight-blue profile panels. */
.um-profile .um-header,.um-profile .um-profile-header,.um-profile .um-profile-meta{color:#fff}
.um-profile .um-name,.um-profile .um-name a,.um-profile .um-profile-meta a,.um-profile .um-profile-meta .um-meta-text,.um-profile .um-main-meta,.um-profile .um-main-meta a{color:#fff!important}
.um-profile .um-profile-meta,.um-profile .um-profile-meta *{text-shadow:none}
.um-profile .um-profile-headericon a,.um-profile .um-profile-edit-a{color:#f2a93b!important}
/* Our own dark surfaces always declare their foreground colours explicitly. */
.sr-editor-nav,.sr-submit-button,.sr-profile-edit-btn,.sr-profile-editor-head>a{color:#fff!important}
.sr-editor-nav a{color:#fff!important}
.sr-editor-nav a:hover,.sr-editor-nav a:focus{color:#0b1f33!important}
.sr-add-row{color:#0b1f33!important}
@media(max-width:760px){.sr-profile-header-roles{justify-content:flex-start}}


/* Wider public profile layout */
body .um.um-profile,
body .um-profile,
body .um-profile.um-viewing,
body .um-profile.um-editing {
  width: min(1320px, calc(100% - 40px)) !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body .um-profile .um-form,
body .um-profile .um-profile-body,
body .um-profile .um-profile-body-main,
body .um-profile .um-profile-body .um-row,
body .um-profile .um-row {
  max-width: none !important;
  width: 100% !important;
}
body .um-profile .um-header {
  padding-left: 34px !important;
  padding-right: 34px !important;
}
/* Larger profile portrait across common Ultimate Member markup variants. */
body .um-profile .um-profile-photo,
body .um-profile .um-profile-photo a,
body .um-profile .um-profile-photo-img,
body .um-profile .um-profile-photo-img a {
  width: 180px !important;
  height: 180px !important;
}
body .um-profile .um-profile-photo img,
body .um-profile .um-profile-photo-img img,
body .um-profile .um-profile-photo a img {
  width: 180px !important;
  height: 180px !important;
  min-width: 180px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
body .um-profile .um-profile-meta {
  padding-left: 205px !important;
  min-height: 180px;
}
.sr-profile-empty-state{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:20px;
  align-items:start;
  background:#f7f9fc;
  border:1px dashed #c7d4df;
  border-radius:18px;
  padding:30px;
  margin:0 0 18px;
}
.sr-profile-empty-state h2{margin:0 0 8px;color:#102A43;font-size:24px}
.sr-profile-empty-state p{margin:0 0 18px;color:#5d6b79;max-width:760px}
.sr-profile-empty-icon{
  width:54px;height:54px;border-radius:14px;background:#fff1d5;color:#D98C16;
  display:grid;place-items:center;font-size:30px;font-weight:800;border:1px solid #f4d49a;
}
@media(max-width:760px){
  body .um.um-profile,body .um-profile,body .um-profile.um-viewing,body .um-profile.um-editing{width:calc(100% - 24px)!important}
  body .um-profile .um-header{padding-left:18px!important;padding-right:18px!important}
  body .um-profile .um-profile-photo,body .um-profile .um-profile-photo a,body .um-profile .um-profile-photo-img,body .um-profile .um-profile-photo-img a,
  body .um-profile .um-profile-photo img,body .um-profile .um-profile-photo-img img,body .um-profile .um-profile-photo a img{width:132px!important;height:132px!important;min-width:132px!important}
  body .um-profile .um-profile-meta{padding-left:0!important;min-height:0;margin-top:14px!important}
  .sr-profile-empty-state{grid-template-columns:1fr;padding:22px}
}


/* Embedded profile media: YouTube, Vimeo and Livid */
.sr-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.sr-media-card{overflow:hidden;border:1px solid #dfe7ee;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(16,42,67,.06)}
.sr-media-card--embed{display:block}
.sr-media-embed{position:relative;width:100%;aspect-ratio:16/9;background:#0b1f33;overflow:hidden}
.sr-media-embed iframe,.sr-media-embed video{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;border:0}
.sr-media-card-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 16px}
.sr-media-card-copy strong{color:#102A43;font-size:16px}
.sr-media-card-copy a{margin-left:auto;color:#D98C16;font-weight:800}
.sr-media-provider{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;background:#fff1d5;color:#8a580c;border-radius:999px;padding:4px 8px}
.sr-field-help{margin:-8px 0 18px;color:#647484;font-size:13px;line-height:1.5}
@media(max-width:760px){.sr-media-grid{grid-template-columns:1fr}}

/* Profile header sizing v0.4.6: allow the identity panel to collapse naturally. */
body .um-profile .um-header{min-height:0!important;height:auto!important}
body .um-profile .um-profile-meta{min-height:0!important;height:auto!important}
@media(min-width:900px){
  body .um-profile .um-profile-photo,
  body .um-profile .um-profile-photo a,
  body .um-profile .um-profile-photo-img,
  body .um-profile .um-profile-photo-img a,
  body .um-profile .um-profile-photo img,
  body .um-profile .um-profile-photo-img img,
  body .um-profile .um-profile-photo a img{
    width:240px!important;height:240px!important;min-width:240px!important;
  }
  body .um-profile .um-profile-meta{padding-left:274px!important;min-height:0!important}
}


/* Screen Roster custom public profile header v0.4.7.
   The Ultimate Member cover/header is intentionally hidden on public viewing pages;
   Screen Roster now owns the identity presentation. */
body .um-profile.um-viewing .um-cover,
body .um-profile.um-viewing .um-header,
body .um-profile.um-viewing .um-profile-nav { }
body .um-profile.um-viewing .um-cover,
body .um-profile.um-viewing > .um-form > .um-cover,
body .um-profile.um-viewing .um-form > .um-cover,
body .um-profile.um-viewing .um-header,
body .um-profile.um-viewing .um-form > .um-header {
  display:none!important;
}

.sr-profile-hero{
  display:grid;
  grid-template-columns:minmax(500px,540px) minmax(0,1fr);
  gap:54px;
  align-items:center;
  padding:30px;
  margin:0 0 28px;
  background:#fff;
  border:1px solid #e1e8ef;
  border-radius:28px;
  box-shadow:0 16px 44px rgba(16,42,67,.08);
}
.sr-profile-hero-photo-wrap{
  width:100%;
  min-width:500px;
}
.sr-profile-hero-photo{
  display:block;
  width:100%!important;
  max-width:none!important;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center 25%;
  border-radius:22px!important;
  background:#edf2f6;
  box-shadow:0 12px 32px rgba(11,31,51,.14);
}
.sr-profile-hero-copy{padding:22px 26px 22px 0;min-width:0}
.sr-profile-hero-kicker{
  margin:0 0 12px;
  color:#d98c16;
  font-size:12px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.sr-profile-hero h1{
  margin:0;
  color:#102A43;
  font-size:clamp(38px,4.3vw,66px);
  line-height:1.02;
  letter-spacing:-.035em;
}
.sr-profile-hero-roles{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:22px 0 0;
}
.sr-profile-hero-roles span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  background:#f2a93b;
  color:#0b1f33;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
}
.sr-profile-hero-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
  color:#5e6e7d;
  font-size:17px;
  font-weight:650;
}
.sr-profile-hero-meta i{font-style:normal;color:#d7a045}
.sr-profile-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.sr-profile-hero-actions .sr-profile-edit-btn{padding:12px 18px}
/* Remove the old separate owner bar now that the edit action lives in the hero. */
.sr-profile-ownerbar{display:none!important}

@media(max-width:1050px){
  .sr-profile-hero{grid-template-columns:minmax(380px,46%) 1fr;gap:36px;padding:24px}
  .sr-profile-hero-photo-wrap{min-width:0}
}
@media(max-width:760px){
  .sr-profile-hero{grid-template-columns:1fr;gap:22px;padding:14px;border-radius:22px}
  .sr-profile-hero-photo-wrap{min-width:0}
  .sr-profile-hero-photo{width:100%!important;aspect-ratio:4/5;border-radius:18px!important}
  .sr-profile-hero-copy{padding:4px 8px 14px}
  .sr-profile-hero h1{font-size:38px}
  .sr-profile-hero-roles{margin-top:16px}
  .sr-profile-hero-meta{font-size:15px;margin-top:16px}
}

/* Screen Roster photo moderation/editor */
.sr-photo-editor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin:18px 0}
.sr-photo-editor-card{position:relative;border:1px solid #dbe3ec;border-radius:14px;padding:10px;background:#fff}
.sr-photo-editor-card img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;display:block}
.sr-photo-status{display:inline-block;margin-top:9px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f6;color:#30465a}
.sr-photo-status--approved{background:#e4f5e9;color:#196b35}.sr-photo-status--pending{background:#fff1d6;color:#8b5a00}.sr-photo-status--rejected{background:#fde8e8;color:#9b1c1c}
.sr-photo-remove{display:block;margin-top:8px;font-size:13px}
.sr-photo-upload-label{display:block;border:2px dashed #c7d3df;border-radius:14px;padding:18px;background:#f8fafc;font-weight:700}
.sr-photo-upload-label input{display:block;margin-top:10px}.sr-photo-upload-label small{display:block;margin-top:7px;font-weight:500;color:#607080}
.sr-photo-rights{display:flex!important;gap:10px;align-items:flex-start;margin-top:14px;font-weight:600}.sr-photo-rights input{margin-top:4px;flex:0 0 auto}
.sr-photo-flash{background:#fff8e8;border:1px solid #f1d89c;border-radius:12px;padding:12px 16px;margin:12px 0}.sr-photo-flash p{margin:4px 0}
.sr-profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.sr-profile-photo-grid a{display:block}.sr-profile-photo-grid img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px;display:block}

/* Owner quick edit */
.sr-quick-edit{position:relative;display:inline-flex;vertical-align:middle;margin-left:7px}.sr-quick-edit-toggle{border:0;background:#f2a93b;color:#102a43;width:28px;height:28px;border-radius:8px;cursor:pointer;font-weight:800;line-height:1}
.sr-quick-edit-popover{display:none;position:absolute;z-index:200;top:34px;left:0;width:min(320px,80vw);padding:12px;background:#fff;border:1px solid #d7e0e8;border-radius:12px;box-shadow:0 14px 40px rgba(16,42,67,.18)}
.sr-quick-edit.is-open .sr-quick-edit-popover{display:block}.sr-quick-edit-popover input,.sr-quick-edit-popover select,.sr-quick-edit-popover textarea{width:100%;box-sizing:border-box;margin:0 0 9px;padding:10px;border:1px solid #bcc9d5;border-radius:8px;color:#1f2933;background:#fff}
.sr-quick-edit-save,.sr-quick-edit-cancel{border:0;border-radius:8px;padding:8px 11px;font-weight:700;cursor:pointer}.sr-quick-edit-save{background:#102a43;color:#fff}.sr-quick-edit-cancel{background:#edf2f7;color:#23384c;margin-left:6px}
.sr-section-edit-link{font-size:13px;font-weight:700;margin-left:8px;color:#b76d00;text-decoration:none}.sr-link-item{display:inline-flex;align-items:center;gap:2px;margin-right:10px}


/* Hide legacy Ultimate Member profile navigation/action strip on Screen Roster public profiles */
body.um-page-user .um-profile-nav,
body.um-page-user .um-profile-navbar,
body.um-page-user .um-profile-body .um-profile-nav,
body.um-page-user .um-profile-edit,
body.um-page-user .um-profile.um-viewing .um-profile-nav,
body.um-page-user .um-profile.um-viewing .um-profile-navbar,
body.um-page-user .um-profile.um-viewing .um-profile-edit-a,
body.um-page-user .um-profile.um-viewing .um-profile-headericon {
    display: none !important;
}

/* Remove the empty space/borders left behind by the hidden UM nav */
body.um-page-user .um-profile-body {
    border-top: 0 !important;
    padding-top: 0 !important;
}
body.um-page-user .um-profile {
    margin-top: 0 !important;
}


/* Compact public profile gallery */
.sr-profile-gallery{
    margin:22px 0 28px;
    padding:20px;
    border:1px solid #dde6ed;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 26px rgba(16,42,67,.045);
}
.sr-profile-gallery-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}
.sr-profile-gallery-head h2{
    margin:0;
    color:#102a43;
    font-size:22px;
    line-height:1.2;
}
.sr-profile-gallery-head span{
    color:#748494;
    font-size:13px;
    font-weight:700;
}
.sr-profile-gallery-stage-wrap{
    width:100%;
}
.sr-profile-gallery-stage{
    position:relative;
    display:block;
    width:100%;
    max-height:560px;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:16px;
    background:#edf2f5;
    cursor:zoom-in;
}
.sr-profile-gallery-stage img{
    display:block;
    width:100%;
    height:min(54vw,560px);
    min-height:320px;
    object-fit:contain;
    background:#eef2f5;
}
.sr-profile-gallery-expand{
    position:absolute;
    right:14px;
    bottom:14px;
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:11px;
    background:rgba(16,42,67,.88);
    color:#fff;
    font-size:21px;
    box-shadow:0 5px 18px rgba(0,0,0,.16);
}
.sr-profile-gallery-thumbs{
    display:flex;
    gap:10px;
    margin-top:12px;
    padding:2px 1px 4px;
    overflow-x:auto;
    scrollbar-width:thin;
}
.sr-profile-gallery-thumb{
    flex:0 0 92px;
    width:92px;
    height:112px;
    padding:0;
    border:2px solid transparent;
    border-radius:12px;
    overflow:hidden;
    background:#eef2f5;
    cursor:pointer;
    opacity:.78;
    transition:border-color .15s ease,opacity .15s ease,transform .15s ease;
}
.sr-profile-gallery-thumb:hover{
    opacity:1;
    transform:translateY(-1px);
}
.sr-profile-gallery-thumb.is-active{
    border-color:#f2a93b;
    opacity:1;
}
.sr-profile-gallery-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Lightbox */
html.sr-gallery-open,
body.sr-gallery-open{overflow:hidden}
.sr-gallery-lightbox[hidden]{display:none!important}
.sr-gallery-lightbox{
    position:fixed;
    z-index:999999;
    inset:0;
}
.sr-gallery-lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,20,32,.94);
}
.sr-gallery-lightbox-dialog{
    position:absolute;
    inset:18px;
    display:grid;
    grid-template-columns:72px minmax(0,1fr) 72px;
    grid-template-rows:minmax(0,1fr) auto;
    align-items:center;
    gap:14px;
    max-width:1500px;
    margin:auto;
}
.sr-gallery-lightbox-main{
    grid-column:2;
    grid-row:1;
    position:relative;
    height:100%;
    min-height:0;
    display:grid;
    place-items:center;
}
.sr-gallery-lightbox-main img{
    display:block;
    max-width:100%;
    max-height:calc(100vh - 170px);
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:14px;
    box-shadow:0 18px 60px rgba(0,0,0,.36);
}
.sr-gallery-lightbox-count{
    position:absolute;
    left:50%;
    bottom:10px;
    transform:translateX(-50%);
    padding:6px 10px;
    border-radius:999px;
    background:rgba(16,42,67,.82);
    color:#fff;
    font-size:12px;
    font-weight:800;
}
.sr-gallery-lightbox-close{
    position:absolute;
    top:6px;
    right:6px;
    z-index:5;
    width:46px;
    height:46px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#102a43;
    font-size:32px;
    line-height:1;
    cursor:pointer;
}
.sr-gallery-lightbox-arrow{
    width:54px;
    height:54px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#102a43;
    font-size:40px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.16);
}
.sr-gallery-lightbox-prev{grid-column:1;grid-row:1;justify-self:center}
.sr-gallery-lightbox-next{grid-column:3;grid-row:1;justify-self:center}
.sr-gallery-lightbox-thumbs{
    grid-column:1 / 4;
    grid-row:2;
    display:flex;
    justify-content:center;
    gap:8px;
    overflow-x:auto;
    padding:8px 2px 2px;
}
.sr-gallery-lightbox-thumbs button{
    flex:0 0 72px;
    width:72px;
    height:84px;
    padding:0;
    border:2px solid transparent;
    border-radius:9px;
    overflow:hidden;
    background:#20384e;
    cursor:pointer;
    opacity:.62;
}
.sr-gallery-lightbox-thumbs button.is-active{
    border-color:#f2a93b;
    opacity:1;
}
.sr-gallery-lightbox-thumbs img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

@media(max-width:760px){
    .sr-profile-gallery{
        margin:16px 0 22px;
        padding:14px;
        border-radius:16px;
    }
    .sr-profile-gallery-stage img{
        height:62vw;
        min-height:260px;
    }
    .sr-profile-gallery-thumb{
        flex-basis:72px;
        width:72px;
        height:88px;
    }
    .sr-gallery-lightbox-dialog{
        inset:10px;
        grid-template-columns:46px minmax(0,1fr) 46px;
        gap:5px;
    }
    .sr-gallery-lightbox-arrow{
        width:42px;
        height:42px;
        font-size:31px;
    }
    .sr-gallery-lightbox-main img{
        max-height:calc(100vh - 145px);
    }
    .sr-gallery-lightbox-thumbs button{
        flex-basis:58px;
        width:58px;
        height:70px;
    }
}


/* Integrated profile-photo gallery: main profile image + thumbnails */
.sr-profile-hero-gallery{
    min-width:0;
    width:100%;
    max-width:540px;
}
.sr-profile-hero-photo-button{
    display:block;
    width:100%;
    padding:0;
    border:0;
    cursor:zoom-in;
    background:#edf2f5;
    position:relative;
}
.sr-profile-hero-photo-button .sr-profile-hero-photo{
    display:block;
    width:100%;
    height:100%;
}
.sr-profile-hero-thumbs{
    display:flex;
    gap:9px;
    margin-top:10px;
    overflow-x:auto;
    padding:1px 1px 4px;
    scrollbar-width:thin;
}
.sr-profile-hero-thumbs .sr-profile-gallery-thumb{
    flex:0 0 82px;
    width:82px;
    height:98px;
}
.sr-profile-hero-gallery .sr-profile-gallery-expand{
    right:13px;
    bottom:13px;
}
@media(max-width:900px){
    .sr-profile-hero-gallery{
        max-width:100%;
    }
}
@media(max-width:600px){
    .sr-profile-hero-thumbs .sr-profile-gallery-thumb{
        flex-basis:68px;
        width:68px;
        height:82px;
    }
}


/* About text belongs in the identity/header area, not repeated lower down */
.sr-profile-hero-about{
    margin-top:18px;
    max-width:760px;
    position:relative;
}
.sr-profile-hero-about p{
    margin:0;
    color:#425466;
    font-size:16px;
    line-height:1.7;
}
.sr-profile-hero-about .sr-quick-edit{
    margin-left:8px;
}
@media(max-width:900px){
    .sr-profile-hero-about{
        max-width:none;
    }
}
