/* ===== Newsletter (Point Hope) ===== */
:root{
  --ph-nl-bg: #ffffff;
  --ph-nl-text: #111111;
  --ph-nl-muted: #555555;
  --ph-nl-border: #e6e6e6;
  --ph-nl-accent: #0a0a0a;    /* button + focus */
}

.ph-newsletter{
  background: var(--ph-nl-bg);
  border: 1px solid var(--ph-nl-border);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
  color: var(--ph-nl-text);
}

.ph-newsletter__inner{
  max-width: 720px;
  margin: 0 auto;
}

.ph-newsletter__title{
  margin: 0 0 4px 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: .1px;
}

.ph-newsletter__subtitle{
  margin: 0 0 16px 0;
  color: var(--ph-nl-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- MailerLite defaults hardened inside our card --- */
/* Target typical MailerLite embed containers safely */
.ph-newsletter .ml-form-embedContainer,
.ph-newsletter .ml-form-embed,
.ph-newsletter .ml-form-embedBody,
.ph-newsletter .ml-form-embedWrapper,
.ph-newsletter .ml-form-horizontalRow,
.ph-newsletter .ml-form-embed .ml-form-formContent{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Layout: stack on mobile, align on desktop */
.ph-newsletter .ml-form-horizontalRow{
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
@media (max-width: 640px){
  .ph-newsletter .ml-form-horizontalRow{
    grid-template-columns: 1fr;
  }
}

/* Inputs */
.ph-newsletter input[type="email"],
.ph-newsletter input[type="text"]{
  width: 100%;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
  color: var(--ph-nl-text);
  background: #fff;
  border: 1px solid var(--ph-nl-border);
  border-radius: 8px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ph-newsletter input[type="email"]::placeholder,
.ph-newsletter input[type="text"]::placeholder{
  color: #999;
}
.ph-newsletter input[type="email"]:focus,
.ph-newsletter input[type="text"]:focus{
  border-color: var(--ph-nl-accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* Button */
.ph-newsletter button,
.ph-newsletter input[type="submit"]{
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--ph-nl-accent);
  background: var(--ph-nl-accent);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 8px;
  transition: transform .06s ease, opacity .2s ease, background .2s ease;
  white-space: nowrap;
}
.ph-newsletter button:hover,
.ph-newsletter input[type="submit"]:hover{
  opacity: .9;
}
.ph-newsletter button:active,
.ph-newsletter input[type="submit"]:active{
  transform: translateY(1px);
}

/* Error/success (MailerLite often injects these classes) */
.ph-newsletter .ml-error,
.ph-newsletter .ml-form-embedError{
  color: #b00020;
  font-size: 13px;
  margin-top: 6px;
}
.ph-newsletter .ml-form-successBody{
  border: 1px solid var(--ph-nl-border) !important;
  background: #f8fff6 !important;
  color: #0b4d10 !important;
  padding: 12px !important;
  border-radius: 8px !important;
}

/* Privacy line */
.ph-newsletter__privacy{
  margin: 10px 0 0 0;
  font-size: 12px;
  color: var(--ph-nl-muted);
}
.ph-newsletter__privacy a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tighten vertical rhythm inside MailerLite fields */
.ph-newsletter .ml-field-group,
.ph-newsletter .ml-form-fieldRow,
.ph-newsletter .ml-form-fieldRow input{
  margin: 0 !important;
}

/* Ensure placeholders are visible inside your MailerLite form */
#mlb2-32129861 textarea::placeholder,
#mlb2-32129861 input::placeholder { color:#999 !important; opacity:1 !important; }

#mlb2-32129861 textarea::-webkit-input-placeholder,
#mlb2-32129861 input::-webkit-input-placeholder { color:#999 !important; opacity:1 !important; }

#mlb2-32129861 textarea::-moz-placeholder,
#mlb2-32129861 input::-moz-placeholder { color:#999 !important; opacity:1 !important; }

#mlb2-32129861 textarea:-ms-input-placeholder,
#mlb2-32129861 input:-ms-input-placeholder { color:#999 !important; opacity:1 !important; }

#mlb2-32129861 textarea::-ms-input-placeholder,
#mlb2-32129861 input::-ms-input-placeholder { color:#999 !important; opacity:1 !important; }
