/* content-single-custompun.css — left-aligned, capped at 860px */
.is-custompun-post{ --maxw:860px }

/* A) No sidebars; main spans theme container */
.is-custompun-post .is-right-sidebar,
.is-custompun-post .is-left-sidebar{ display:none!important }
.is-custompun-post .site-content .content-area{ width:100%!important }

/* B) Kill global width% rules from style.css just on this page */
body.is-custompun-post .entry-content{
  width:auto !important;            /* overrides body .entry-content {width:%} */
  max-width:var(--maxw);
  margin-left:0 !important;         /* left aligned */
  margin-right:auto !important;
}

/* C) Keep the article wrapper constrained and flush-left */
body.is-custompun-post .inside-article{
  max-width:var(--maxw);
  width:100%;
  margin-left:0 !important;
  margin-right:auto !important;
}

/* D) Prevent wide/full blocks escaping */
.is-custompun-post .entry-content .alignwide,
.is-custompun-post .entry-content .alignfull{
  max-width:100% !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}


body.is-custompun-post::before{
  background-image: url(/images/bg3_paid.jpg) !important;
  opacity: .4 !important;
}
/* E) Form: bigger subject box + shadow */
.is-custompun-post #dw_pun_subject{
  width: min(100%, 720px);
  font-size: 1.1rem;
  color: #fff;
  background: #3B3B3B;
  line-height: 1.5;
  padding: .9rem 1.1rem;
  border: 2px solid #000;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.is-custompun-post #dw_pun_subject:focus{
  outline: none;
  border-color: #111;
  box-shadow: 0 8px 22px rgba(0,0,0,.32);
}
.is-custompun-post #dw_pun_subject::placeholder{ color:#cfcfcf; opacity:.9 }

/* F) Donation select half-width, custom amount under it */
.is-custompun-post #dw_nyp_select{
  display:block;
  width:100%;
  max-width:360px;
  box-sizing:border-box;
}
.is-custompun-post #dw_nyp_custom,
.is-custompun-post .dw_nyp_custom{ /* handle either class/id */
  display:block;
  width:100%;
  max-width:360px;
  box-sizing:border-box;
  margin-top:.5rem;
}

/* G) Field hint + Xmas note (newline via block spans) */
.is-custompun-post .dw-field-hint{display:block;line-height:1.3}
.is-custompun-post .dw-field-hint .dw-postage{display:block}
.is-custompun-post .dw-field-hint .dw-xmas-note{display:block;font-size:.85em;opacity:.85}

/* Small screens polish */
@media (max-width: 600px){
  .is-custompun-post #dw_pun_subject{ width:100% }
  .is-custompun-post #dw_nyp_select,
  .is-custompun-post #dw_nyp_custom,
  .is-custompun-post .dw_nyp_custom{ max-width:100% }
}
