/* Contact's newsletter keeps essential Jetpack form and response states usable even if plugin CSS loads late. */
#news.ogh-newsletter {
  color-scheme: light;
  color: #1d2125;
  background: #f2f5fa;
  scroll-margin-top: 5.5rem;
}
#news .ogh-newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  max-width: 1120px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #d6dfeb;
  border-radius: 20px;
  background: #fff;
}
#news .ogh-newsletter-photo { position: relative; margin: 0; min-width: 0; min-height: 360px; }
#news .ogh-newsletter-photo img { position: absolute; display: block; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
#news .ogh-newsletter-content { align-self: center; min-width: 0; padding: clamp(28px, 4vw, 56px); }
#news .ogh-newsletter-intro h2, #news .contact-form-submission h4 {
  margin: 0 0 12px;
  color: #002c7f;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: balance;
}
#news .ogh-newsletter-intro p, #news .jetpack_forms_contact-form-custom-success-message {
  margin: 0;
  color: #414c5b;
  font-size: 1.05rem;
  line-height: 1.55;
}
#news .ogh-newsletter-intro { margin-bottom: 22px; }
#news .jetpack-contact-form-container, #news form.contact-form { margin: 0; color: #1d2125; }
#news .ogh-newsletter-opt-in { display: grid; gap: 16px; margin: 0; padding: 0; }
#news .grunion-field-wrap { width: 100%; min-width: 0; margin: 0; padding: 0; }
#news .grunion-field-label { display: block; margin: 0 0 6px; color: #1d2125; font: inherit; font-weight: 650; }
#news .grunion-label-required { display: none; }
#news input[type="email"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #66788e;
  border-radius: 7px;
  color: #1d2125;
  background: #fff;
  font: inherit;
}
#news .contact-form__checkbox-wrap { display: flex; gap: 11px; align-items: flex-start; }
#news .contact-form__checkbox-wrap input { flex: 0 0 auto; width: 19px; height: 19px; margin: 3px 0 0; accent-color: #002c7f; }
#news .contact-form__checkbox-wrap label { display: block; cursor: pointer; margin: 0; color: #263444; font-size: 1rem; font-weight: 400; line-height: 1.5; }
#news button[type="submit"] { display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 9px; background: #002c7f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
#news button[type="submit"]:hover { background: #133f92; }
#news :is(input,button,a):focus-visible { outline: 3px solid #1549d6; outline-offset: 3px; }
#news .ogh-newsletter-help { margin: 16px 0 0; font-size: .91rem; }
#news .ogh-newsletter-help a, #news .ogh-newsletter-read { color: #002c7f; text-decoration: underline; text-underline-offset: .18em; }
#news .ogh-newsletter-read { display: none; margin-top: 18px; font-weight: 700; }
#news .contact-form-submission { color: #1d2125; margin: 0; padding: 0; }
#news .contact-form-ajax-submission:not(.submission-success),
#news form.submission-success,
#news .contact-form-submission.submission-success ~ form,
#news .contact-form__error:not(.show-errors),
#news .contact-form__input-error:not(.has-errors),
#news button:not(.is-submitting) .spinner,
#news .go-back-message { display: none !important; }
#news .contact-form__error.show-errors, #news .contact-form__input-error.has-errors { display: block; color: #8a2127; font-size: .95rem; }
#news .contact-form__error.show-errors a { color: inherit; text-decoration: underline; }
#news .contact-form__input-error.has-errors { margin-top: 6px; }
#news .contact-form__warning-icon { display: none; }
#news .contact-form__error-message:empty { display: none; }
#news .contact-form-submission:is(.submission-success, :not(.contact-form-ajax-submission)) { display: block; }
#news .ogh-newsletter-content:has(.contact-form-submission:is(.submission-success, :not(.contact-form-ajax-submission))) .ogh-newsletter-intro,
#news .ogh-newsletter-content:has(.contact-form-submission:is(.submission-success, :not(.contact-form-ajax-submission))) .ogh-newsletter-help { display: none; }
#news .ogh-newsletter-content:has(.contact-form-submission:is(.submission-success, :not(.contact-form-ajax-submission))) .ogh-newsletter-read { display: inline-block; }
@media (max-width: 690px) {
  #news .ogh-newsletter-panel { grid-template-columns: minmax(0,1fr); border-radius: 15px; }
  #news .ogh-newsletter-photo { height: clamp(112px, 34vw, 188px); min-height: 0; }
  #news .ogh-newsletter-photo img { object-position: 50% 46%; }
  #news .ogh-newsletter-content { padding: 23px 19px; }
  #news .ogh-newsletter-content button[type="submit"] { width: 100%; justify-content: center; }
}
