/* Email-подписка — общая для главной и заглушки, поэтому без переменных из site.css. */
.sub-form {
  width: 100%;
  max-width: 520px;
  text-align: left;
}

.sub-row {
  display: flex;
  gap: 0.5rem;
}

.sub-email {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
  font: inherit;
  font-size: 0.95rem;
  border-radius: 0;
}

.sub-email::placeholder {
  color: #6f6f6f;
}

.sub-email:focus {
  outline: none;
  border-color: #c8102e;
}

.sub-submit {
  flex: 0 0 auto;
  padding: 0.8rem 1.2rem;
  border: 0;
  background: #c8102e;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.sub-submit:hover,
.sub-submit:focus-visible {
  background: #e8192e;
  outline: none;
}

.sub-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sub-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.7rem;
  color: #8a8a8a;
  font-size: 0.78rem;
  line-height: 1.45;
  cursor: pointer;
}

.sub-consent input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  accent-color: #c8102e;
}

.sub-consent a {
  color: #c9c9c9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sub-consent a:hover {
  color: #fff;
}

.sub-status {
  min-height: 1.3em;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #8a8a8a;
}

.sub-status.is-ok {
  color: #7fd18b;
}

.sub-status.is-error {
  color: #ff6b7a;
}

.sub-hp,
.sub-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .sub-row {
    flex-direction: column;
  }
}
