/* WAY Singapore – additions for the static site (keeps style.css untouched) */

/* Monthly: only the "latest issue" button remains, so center the block */
.newsletter--solo { height: 360px; background-position: 50% 1.5em; background-size: 18em; }
.newsletter--solo .newsletter__wrap { float: none; margin: 0 auto; max-width: 520px; }
.newsletter--solo .newsletter__latest { bottom: 2.5em; }
@media screen and (max-width: 62em) {
  .newsletter--solo { height: 300px; background-position: 50% 0; background-size: 12.5em; }
  .newsletter--solo .newsletter__wrap { height: 100%; }
  .newsletter--solo .newsletter__latest { bottom: 1.5em; }
}
@media screen and (max-width: 30em) {
  .newsletter--solo { height: 240px; background-size: 10em; }
}

/* Top banner (was a slider plugin) */
.ml-slider img { width: 100%; height: auto; display: block; }

/* Contact form: result messages + spam-trap field */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-result { display: none; margin: 1.3em auto 0; padding: 1em 1.3em; border-radius: 4px; max-width: 40em; text-align: center; }
.contact-result.is-ok { display: block; background: #e8f5ec; color: #1d7a3a; border: 1px solid #b9dfc6; }
.contact-result.is-ng { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f1b9b4; }
.contact-note { font-size: 0.85em; color: #666; text-align: center; margin-top: 1em; }
.wpcf7-list-item { display: inline-block; margin: 0 1em 0.5em 0; }
.wpcf7-list-item label { cursor: pointer; }
.enquiry-type { display: block; margin-bottom: 0.8em; }
input.form_contactpage__submit[disabled] { opacity: .6; cursor: wait; }

.course-notice { background:#eef5fc; border-left:4px solid #26a9e0; padding:0.8em 1em; }

/* Course detail images */
.entry-content img.aligncenter { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.entry-content img.size-large { max-width: 100%; height: auto; }
