/* Approved SH Fitness Brand Pack; logo sizing only, not a UI redesign. */
.py-brand:has(.sh-brand-picture) { gap:0!important; flex-shrink:0; }
.sh-brand-picture { display:block; line-height:0; }
.sh-brand-picture img { display:block; width:220px; height:auto; max-width:100%; }
header .sh-brand-picture--header img { width:460px; }
header .py-header-bar:has(.sh-brand-picture--header) { padding-top:10px; padding-bottom:10px; }
.py-g4-auth-mark:has(.sh-auth-symbol) { background:none!important; box-shadow:none!important; border:0!important; padding:0!important; }
.py-g4-auth-mark img.sh-auth-symbol { display:block; height:64px!important; width:43px!important; max-height:none; object-fit:contain; }
@media(max-width:900px){.py-g4-auth-mark img.sh-auth-symbol{height:40px!important;width:27px!important}}
.sh-event-detail .sh-event-detail-image.sh-event-default { object-fit:contain; }
@media(min-width:1101px){header .py-wrap:has(.sh-brand-picture--header){width:min(1320px,calc(100% - 48px))}header .py-header-bar:has(.sh-brand-picture--header){column-gap:18px;padding:6px 22px}header .py-nav-list{gap:4px}}
@media(min-width:901px) and (max-width:1100px){header .sh-brand-picture--header img{width:260px}header .py-nav-list{width:440px!important}}
@media(min-width:768px) and (max-width:900px){header .sh-brand-picture--header img{width:330px}}
@media(max-width:767px){header .sh-brand-picture--header{width:100%}header .sh-brand-picture--header img{width:100%;height:auto}header .py-brand:has(.sh-brand-picture--header){min-width:0;justify-content:flex-start}header .py-header-bar:has(.sh-brand-picture--header){gap:8px!important;padding-left:12px;padding-right:12px}header .py-mobile-nav-toggle{padding-left:8px;padding-right:8px}}
/* Keep public footer navigation compact and scannable on narrow screens. */
@media(max-width:900px){
  .py-site-footer{padding-top:24px;padding-bottom:12px}
  .py-site-footer .py-footer-bar{gap:20px;padding:24px 20px}
  .py-site-footer .py-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .py-site-footer .py-footer-column{min-width:0}
  .py-site-footer .py-footer-links{gap:8px}
}

/* Compact shared navigation; retain clear logo, links and touch targets. */
header.py-site-header{padding-top:10px;padding-bottom:8px;}
header.py-site-header .py-header-bar:has(.sh-brand-picture--header){padding:6px 22px;}
header.py-site-header .sh-brand-picture--header img{width:300px;}
.py-content-story .py-content-copy{margin-top:28px;}
.py-profile-grid .py-profile-photo-wrap{top:156px;}
@media(min-width:901px) and (max-width:1100px){header.py-site-header .sh-brand-picture--header img{width:220px;}}
@media(min-width:768px) and (max-width:900px){header.py-site-header .sh-brand-picture--header img{width:250px;}}
@media(max-width:767px){header.py-site-header{padding-top:8px;padding-bottom:6px;}header.py-site-header .py-header-bar:has(.sh-brand-picture--header){padding:6px 12px;}header.py-site-header .sh-brand-picture--header img{width:200px;max-width:100%;}}


/* Shared public page proportions: align sections and footer with the navigation. */
body .py-site-shell > .py-wrap,
body .py-site-shell > .py-content-wrap {
  width:min(1320px,calc(100% - 48px));
  max-width:none;
  margin-inline:auto;
  min-width:0;
}
body .py-g4-public-intro { padding-block:42px 28px; }
body .py-g4-public-intro .py-page-copy { width:100%;max-width:1040px; }
body .py-g4-public-intro .py-title-xl { max-width:1040px;font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.12; }
body .py-g4-public-intro .py-page-lead { max-width:80ch; }

/* Short, readable guides instead of narrow columns of text. */
body .py-content-guide-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:100%; }
body .py-content-guide-card { display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;min-height:0;padding:24px 28px;border-radius:24px; }
body .py-content-guide-title { margin:0;font-size:1.5rem;line-height:1.25; }
body .py-content-guide-tag { margin:0;font-size:1rem;line-height:1.55;max-width:60ch; }
body .py-content-guide-link { margin-top:auto;padding-top:6px;font-size:.9rem;line-height:1.5; }

/* Keep membership options easy to compare. */
body .sh-membership-public { padding-block:40px; }
body .sh-membership-cards { gap:24px;margin-top:24px; }
body .sh-membership-card { gap:14px;padding:26px 28px; }
body .sh-membership-card h3 { font-size:21px;line-height:1.3; }
body .sh-membership-card p { line-height:1.55; }
body .sh-membership-card .sh-membership-price { font-size:32px; }
body .sh-membership-price span { display:inline-block;margin:0 0 0 8px; }
body .sh-membership-card .py-button { min-height:44px;padding:12px 18px;font-size:.76rem; }
body .sh-membership-public-note { max-width:none;line-height:1.6; }

/* Balanced shared footer with clear navigation groups. */
body .py-site-footer { padding-block:32px 16px; }
body .py-site-footer .py-footer-bar { display:grid;grid-template-columns:minmax(200px,1fr) minmax(340px,1.3fr) minmax(160px,.65fr);align-items:start;gap:40px;padding:30px 32px;border-radius:28px; }
body .py-site-footer .py-footer-brand { min-width:0; }
body .py-site-footer .sh-brand-picture img { width:240px;max-width:100%; }
body .py-site-footer .py-footer-columns { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;width:100%;min-width:0; }
body .py-site-footer .py-footer-heading { margin:0 0 12px; }
body .py-site-footer .py-footer-links,
body .py-site-footer .py-footer-utility-links { display:flex;flex-direction:column;align-items:flex-start;gap:10px; }
body .py-site-footer .py-footer-link { font-size:12px;line-height:1.5; }
body .py-site-footer .py-footer-utility { min-width:0; }
@media(max-width:1000px){
  body .py-site-footer .py-footer-bar { grid-template-columns:minmax(180px,.85fr) minmax(0,1.5fr);gap:28px; }
  body .py-site-footer .py-footer-utility { grid-column:1/-1; }
  body .py-site-footer .py-footer-utility-links { flex-direction:row;flex-wrap:wrap;gap:12px 24px; }
}
@media(max-width:800px){
  body .sh-membership-cards { grid-template-columns:minmax(0,1fr);gap:18px; }
  body .sh-membership-card { padding:24px; }
  body .py-content-guide-card { padding:22px; }
}
@media(max-width:760px){
  body .py-site-shell > .py-wrap,
  body .py-site-shell > .py-content-wrap { width:calc(100% - 32px); }
  body .py-g4-public-intro { padding-block:28px 20px; }
  body .py-content-guide-grid { grid-template-columns:minmax(0,1fr);gap:16px; }
  body .py-content-guide-title { font-size:1.35rem; }
  body .sh-membership-public { padding-block:30px; }
  body .py-site-footer .py-footer-bar { grid-template-columns:minmax(0,1fr);gap:26px;padding:26px 24px; }
  body .py-site-footer .py-footer-columns { gap:18px; }
  body .py-site-footer .py-footer-utility { grid-column:auto; }
  body .py-site-footer .sh-brand-picture img { width:220px; }
}
