/* ATC 1.3.9 – Public page width & visual harmony.
   No modification of form actions, fields, permissions, membership prices or JS.
   Reference width: approved home, 1180px including its page padding.
*/
:root{--atc-139-width:1180px;--atc-139-ink:#173b57;--atc-139-muted:#56758d;--atc-139-line:#d9e6ef;--atc-139-blue:#1b70ad;--atc-139-radius:17px}
/* 1. Consistent outer page geometry for the opinions and membership pages.
   The post container must not constrain anonymous feedback to the old 960px. */
@media (min-width:851px){
 html body.atc-public-subpage-3536 .atc-public-inner .atc-public-main:has(.atc-anon-public),
 html body.atc-public-subpage-3536 .atc-public-inner .atc-public-main:has(.atc-public-memberships){
   width:100%!important;max-width:var(--atc-139-width)!important;margin:0 auto!important;
   padding-inline:clamp(16px,2.8vw,40px)!important;box-sizing:border-box!important;
 }
}
html body.atc-public-subpage-3536 .atc-public-inner .atc-public-article:has(.atc-anon-public),
html body.atc-public-subpage-3536 .atc-public-inner .atc-page-content:has(.atc-anon-public),
html body.atc-public-subpage-3536 .atc-public-inner .atc-public-article:has(.atc-public-memberships),
html body.atc-public-subpage-3536 .atc-public-inner .atc-page-content:has(.atc-public-memberships){
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  margin-inline:auto!important;padding-inline:0!important;
}
/* 2. Anonymous opinions: matching outer width but a readable internal line length.
   Privacy note and reply forms remain unchanged; field names and post endpoints untouched. */
html body .atc-anon-public{
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:0!important;margin:0 auto 44px!important;box-sizing:border-box!important;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important;
}
html body .atc-anon-public :is(.atc-anon-hero,.atc-anon-privacy,.atc-anon-panel){
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  border-radius:var(--atc-139-radius)!important;
}
html body .atc-anon-public .atc-anon-hero{
  background:linear-gradient(115deg,#173e5c,#326b8d)!important;
  padding:clamp(24px,3.4vw,44px)!important;
  margin-bottom:16px!important;
}
html body .atc-anon-public .atc-anon-hero h1{
  font-size:clamp(29px,3.2vw,39px)!important;line-height:1.14!important;
  letter-spacing:-.025em!important;margin:12px 0!important;
}
html body .atc-anon-public .atc-anon-hero p{max-width:74ch!important;line-height:1.58!important}
html body .atc-anon-public .atc-anon-privacy{
  padding:clamp(17px,2.4vw,26px)!important;
  margin-bottom:18px!important;
  border-color:var(--atc-139-line)!important;
}
html body .atc-anon-public .atc-anon-privacy > :is(p,div){max-width:83ch!important}
html body .atc-anon-public .atc-anon-panel{
  padding:clamp(20px,3vw,36px)!important;
  border-color:var(--atc-139-line)!important;
  box-shadow:0 9px 24px rgba(22,60,82,.055)!important;
}
html body .atc-anon-public .atc-anon-panel > form,
html body .atc-anon-public .atc-anon-panel > :is(p,.atc-anon-hint,.atc-anon-thread){max-width:840px!important}
html body .atc-anon-public .atc-anon-panel h2{font-size:clamp(23px,2.2vw,29px)!important}
html body .atc-anon-public :is(input[type=text],input[type=password],input[type=email],textarea){
  border-color:#c4d8e6!important;border-radius:11px!important;
  transition:border-color .15s,box-shadow .15s!important;
}
html body .atc-anon-public :is(input[type=text],input[type=password],input[type=email],textarea):focus{
  border-color:var(--atc-139-blue)!important;box-shadow:0 0 0 3px rgba(49,126,174,.12)!important;
}
/* 3. Membership selection: cap the page at the same 1180px shell.
   Equal pricing cards, calm headings, legible costs, no loss of payment actions. */
html body .atc-public-inner .atc-public-memberships{
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0 auto 40px!important;box-sizing:border-box!important;
}
html body .atc-public-inner .atc-public-memberships-head{max-width:820px!important;padding:6px 0 22px!important}
html body .atc-public-inner .atc-public-memberships-head h1{
  font-size:clamp(31px,3.5vw,45px)!important;line-height:1.13!important;
  letter-spacing:-.025em!important;margin:10px 0 13px!important;
}
html body .atc-public-inner .atc-public-membership-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;
  align-items:stretch!important;
}
html body .atc-public-inner .atc-public-membership-grid > article{
  padding:clamp(18px,2vw,24px)!important;border-radius:var(--atc-139-radius)!important;
  box-shadow:0 8px 20px rgba(22,60,82,.055)!important;
}
html body .atc-public-inner .atc-public-membership-grid h2{
  font-size:clamp(22px,1.75vw,29px)!important;line-height:1.14!important;
  letter-spacing:-.025em!important;
}
html body .atc-public-inner .atc-public-membership-title>strong{
  font-size:clamp(31px,2.6vw,42px)!important;
}
html body .atc-public-inner .atc-public-membership-grid>article>a{
  border-radius:10px!important;min-height:48px!important;box-sizing:border-box!important;
}
html body .atc-public-inner .atc-public-membership-info{border-radius:var(--atc-139-radius)!important}
/* 4. Registration form: outer frame follows the club shell; inner form remains readable.
   This rule is decorative ONLY and never hides or replaces an UM control. */
html body.atc-account-registration-3588.atc-public-subpage-3536 .atc-public-main{
  width:100%!important;max-width:var(--atc-139-width)!important;margin-inline:auto!important;
  box-sizing:border-box!important;
}
html body.atc-account-registration-3588 .atc-public-article{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
html body.atc-account-registration-3588 .atc-page-content{
  width:100%!important;max-width:1000px!important;box-sizing:border-box!important;
  padding:clamp(22px,3.2vw,40px)!important;
  border-radius:var(--atc-139-radius)!important;
  box-shadow:0 8px 22px rgba(22,60,82,.055)!important;
}
html body.atc-account-registration-3588 .atc-page-content > :is(h1,h2):first-of-type{
  font-size:clamp(26px,3vw,37px)!important;line-height:1.16!important;
}
/* 5. Course enquiry dialog: cohesive, more compact responsive panel. */
html body .atc-course-modal-panel-138{
  width:min(680px,calc(100vw - 28px))!important;
  padding:clamp(18px,2.8vw,30px)!important;
  border-radius:var(--atc-139-radius)!important;
  border:1px solid var(--atc-139-line)!important;
  box-shadow:0 20px 65px rgba(8,37,58,.28)!important;
}
html body .atc-course-modal-top-138 h2{font-size:clamp(22px,2.6vw,28px)!important}
html body .atc-course-modal-summary-138{
  background:#eff6fa!important;border:1px solid #d7e7ef!important;
  border-radius:11px!important;font-size:14px!important;line-height:1.55!important;
}
@media(max-width:850px){
 html body .atc-public-inner .atc-public-membership-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:600px){
 html body .atc-anon-public{margin-bottom:28px!important}
 html body .atc-anon-public .atc-anon-hero{padding:24px 20px!important}
 html body .atc-anon-public .atc-anon-privacy{padding:16px!important}
 html body .atc-anon-public .atc-anon-panel{padding:20px 16px!important}
 html body .atc-public-inner .atc-public-membership-grid{grid-template-columns:1fr!important}
 html body .atc-public-inner .atc-public-membership-grid>article{padding:21px!important}
 html body .atc-course-modal-panel-138{max-height:94dvh!important;padding:19px!important}
}
