/* Shared editorial panels: separate adjacent features without changing their controls. */
body.hgp-section-panels #hgp-main>section:not(.hgp-hero):not(.hgp-history-feature):not(.hgp-promo-placement){
  background:linear-gradient(125deg,var(--section-light,#493139),var(--section-shade,#302225) 72%);
  border:1px solid #a88c585c;
  border-radius:8px;
  box-shadow:inset 0 1px 0 #f5e9cc09,0 12px 32px #08070720;
  padding:clamp(28px,3.4vw,48px);
  margin:32px auto;
  width:calc(100% - 112px);
  max-width:1370px;
}
body.hgp-section-panels #hgp-main>section:nth-of-type(3n+2){--section-shade:#252a25;--section-light:#374035}
body.hgp-section-panels #hgp-main>section:nth-of-type(3n){--section-shade:#292722;--section-light:#42392b}
body.hgp-section-panels #hgp-main>section.hgp-join-feature{--section-shade:#34232a;--section-light:#50343d}
body.hgp-section-panels #hgp-main>section.hgp-booking-feature{--section-shade:#232c28;--section-light:#35443b}
body.hgp-section-panels #hgp-main>section.hgp-newsletter{--section-shade:#302c23;--section-light:#49402d}
body.hgp-section-panels #hgp-main>section.hgp-history-feature{margin:32px auto;border-radius:8px}
body.hgp-section-panels #hgp-main>section.hgp-promo-placement{margin:32px auto}
body.hgp-section-panels #hgp-main>:is(.hgp-collections,.hgp-question-band)>.hgp-shell{width:100%;max-width:none;margin:0;padding:0}
body.hgp-section-panels #hgp-main>section.hgp-question-band{color:#f4efdf}
body.hgp-section-panels #hgp-main>section.hgp-question-band h2{color:#f4efdf}
@media(max-width:760px){
  body.hgp-section-panels #hgp-main>section:not(.hgp-hero):not(.hgp-history-feature):not(.hgp-promo-placement){width:calc(100% - 32px);padding:26px 22px;margin:24px auto;border-radius:6px}
  body.hgp-section-panels #hgp-main>section.hgp-booking-feature{gap:26px}
}

/* Keep legal copy and quiet editorial images at comfortable reading widths. */
body.hgp-section-panels #hgp-main>section.hgp-legal-page{max-width:900px}
body.hgp-section-panels #hgp-main>section.hgp-lifestyle-document{max-width:760px}
body.hgp-section-panels #hgp-main>article.hgp-episode{
  background:linear-gradient(125deg,#374035,#252a25 72%);border:1px solid #a88c585c;border-radius:8px;
  padding:clamp(28px,3.4vw,48px);margin:32px auto;
}
body.hgp-section-panels .hgp-episode .hgp-listen-aside{padding:24px;background:linear-gradient(125deg,#493139,#302225);border:1px solid #a88c585c;border-radius:6px}

/* Player views: shade content groups without altering transport controls. */
body.hgp-app #app-content>section:not(.app-hero):not(.app-loading){
  background:linear-gradient(125deg,var(--section-light,#493139),var(--section-shade,#302225) 72%);
  border:1px solid #a88c585c;border-radius:8px;padding:28px;margin-block:28px;min-width:0;
}
body.hgp-app #app-content>section:nth-of-type(3n+2){--section-shade:#252a25;--section-light:#374035}
body.hgp-app #app-content>section:nth-of-type(3n){--section-shade:#292722;--section-light:#42392b}

/* The account portal has its own shell; keep the same palette within it. */
#member-main>:is(section,article,.member-art-intro,.intro,.chat-layout){
  background:linear-gradient(125deg,var(--section-light,#493139),var(--section-shade,#302225) 72%);
  border:1px solid #a88c585c;border-radius:8px;padding:30px;margin-bottom:32px;min-width:0;
}
#member-main>:nth-child(3n+2){--section-shade:#252a25;--section-light:#374035}
#member-main>:nth-child(3n){--section-shade:#292722;--section-light:#42392b}
#member-main :is(.portal-feature,.portal-plans>.card,.portal-account>.card,.quick-grid>.card,.grid>.card):nth-child(3n+1){background:linear-gradient(125deg,#493139,#302225 72%)}
#member-main :is(.portal-feature,.portal-plans>.card,.portal-account>.card,.quick-grid>.card,.grid>.card):nth-child(3n+2){background:linear-gradient(125deg,#374035,#252a25 72%)}
#member-main :is(.portal-feature,.portal-plans>.card,.portal-account>.card,.quick-grid>.card,.grid>.card):nth-child(3n){background:linear-gradient(125deg,#42392b,#292722 72%)}

/* Registration, email sign-in and native sign-in use the existing form markup. */
body.lf-auth .lf-join-grid>section,body.lf-auth .lf-join-benefits{
  background:linear-gradient(125deg,#493139,#302225 72%);border:1px solid #a88c585c;border-radius:8px;padding:28px;
}
body.lf-auth .lf-join-grid>section:nth-child(2){background:linear-gradient(125deg,#374035,#252a25 72%)}
body.lf-auth .lf-join-benefits{background:linear-gradient(125deg,#42392b,#292722 72%);margin-top:30px}
body.login :is(#loginform,#lostpasswordform,#resetpassform){background:linear-gradient(125deg,#374035,#252a25 72%);border:1px solid #a88c585c;border-radius:8px}
body.login #login>form:not(#loginform):not(#lostpasswordform):not(#resetpassform){padding:24px;margin-block:24px;background:linear-gradient(125deg,#493139,#302225 72%);border:1px solid #a88c585c;border-radius:8px}
@media(max-width:760px){
  body.hgp-section-panels #hgp-main>article.hgp-episode{padding:26px 22px;width:calc(100% - 32px)}
  body.hgp-app #app-content>section:not(.app-hero):not(.app-loading){padding:22px 18px}
  #member-main>:is(section,article,.member-art-intro,.intro,.chat-layout){padding:24px 18px}
  body.lf-auth .lf-join-grid>section,body.lf-auth .lf-join-benefits{padding:24px 20px}
}
