/* ===== WordPress integration ===== */
#standart-express-site .standart-express-cf7 .wpcf7-form { display: grid; gap: 12px; }
#standart-express-site .standart-express-cf7 .wpcf7-form p { margin: 0; }
#standart-express-site .standart-express-cf7 input,
#standart-express-site .standart-express-cf7 textarea,
#standart-express-site .standart-express-cf7 select {
  width: 100%;
  font: inherit;
}

#standart-express-site .standart-express-cf7 .field textarea.wpcf7-textarea {
  min-height: 80px;
  resize: vertical;
}

#standart-express-site .standart-express-cf7 form:not(.submitting) > .wpcf7-spinner {
  display: none !important;
}

#standart-express-site .standart-express-cf7 .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: 0;
}

#standart-express-site .standart-express-cf7 form.sent .wpcf7-response-output,
#standart-express-site .standart-express-cf7 form.failed .wpcf7-response-output,
#standart-express-site .standart-express-cf7 form.invalid .wpcf7-response-output,
#standart-express-site .standart-express-cf7 form.unaccepted .wpcf7-response-output,
#standart-express-site .standart-express-cf7 form.spam .wpcf7-response-output,
#standart-express-site .standart-express-cf7 form.aborted .wpcf7-response-output {
  margin-top: 12px;
  padding: 0.2em 1em;
  border: 2px solid transparent;
}
#standart-express-site .standart-express-cf7.variant-name-phone .field-equipment,
#standart-express-site .standart-express-cf7.variant-name-phone .field-service,
#standart-express-site .standart-express-cf7.variant-name-phone .field-message,
#standart-express-site .standart-express-cf7.variant-name-phone-message .field-equipment,
#standart-express-site .standart-express-cf7.variant-name-phone-message .field-service,
#standart-express-site .standart-express-cf7.variant-service-select .field-equipment,
#standart-express-site .standart-express-cf7.variant-service-select .field-message,
#standart-express-site .standart-express-cf7.variant-popup-name-phone .field-equipment,
#standart-express-site .standart-express-cf7.variant-popup-name-phone .field-service,
#standart-express-site .standart-express-cf7.variant-popup-name-phone .field-message,
#standart-express-site .standart-express-cf7.variant-popup-equipment-phone .field-name,
#standart-express-site .standart-express-cf7.variant-popup-equipment-phone .field-service,
#standart-express-site .standart-express-cf7.variant-popup-equipment-phone .field-message {
  display: none;
}

/* Hero form: match static source spacing (field margin only, no CF7 grid gap) */
#standart-express-site .hero-form .standart-express-cf7,
#standart-express-site .hero-form .standart-express-cf7 .wpcf7 {
  margin: 0;
  padding: 0;
}

#standart-express-site .hero-form .standart-express-cf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#standart-express-site .hero-form .standart-express-cf7 .wpcf7-form > p {
  margin: 0;
}

#standart-express-site .hero-form .standart-express-cf7 .field {
  margin-bottom: 12px;
}

#standart-express-site .hero-form .standart-express-cf7 .cf7-consent {
  margin: 0;
}

#standart-express-site .hero-form .standart-express-cf7 .cf7-consent label.consent-row {
  margin-bottom: 14px;
}

#standart-express-site .hero-form .standart-express-cf7 button.wpcf7-submit.btn-primary,
#standart-express-site .hero-form .standart-express-fallback-form button.btn-primary {
  width: 100%;
}

/* Contact / capture forms: match static source layout and spacing */
#standart-express-site .contact-form .standart-express-cf7,
#standart-express-site .contact-form-wrap .standart-express-cf7,
#standart-express-site .capture-right .standart-express-cf7,
#standart-express-site .modal-window .standart-express-cf7,
#standart-express-site .contact-form .standart-express-cf7 .wpcf7,
#standart-express-site .contact-form-wrap .standart-express-cf7 .wpcf7,
#standart-express-site .capture-right .standart-express-cf7 .wpcf7,
#standart-express-site .modal-window .standart-express-cf7 .wpcf7 {
  margin: 0;
  padding: 0;
}

#standart-express-site .contact-form .standart-express-cf7 .wpcf7-form,
#standart-express-site .contact-form-wrap .standart-express-cf7 .wpcf7-form,
#standart-express-site .capture-right .standart-express-cf7 .wpcf7-form,
#standart-express-site .modal-window .standart-express-cf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#standart-express-site .contact-form .standart-express-cf7 .wpcf7-form > p,
#standart-express-site .contact-form-wrap .standart-express-cf7 .wpcf7-form > p,
#standart-express-site .capture-right .standart-express-cf7 .wpcf7-form > p,
#standart-express-site .modal-window .standart-express-cf7 .wpcf7-form > p {
  margin: 0;
}

#standart-express-site .contact-form .standart-express-cf7 .field,
#standart-express-site .contact-form-wrap .standart-express-cf7 .field,
#standart-express-site .capture-right .standart-express-cf7 .field,
#standart-express-site .modal-window .standart-express-cf7 .field {
  margin-bottom: 12px;
}

#standart-express-site .contact-form .standart-express-cf7 .form-grid-2,
#standart-express-site .contact-form-wrap .standart-express-cf7 .form-grid-2,
#standart-express-site .capture-right .standart-express-cf7 .form-grid-2,
#standart-express-site .modal-window .standart-express-cf7 .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#standart-express-site .contact-form .standart-express-cf7 .cf7-consent,
#standart-express-site .contact-form-wrap .standart-express-cf7 .cf7-consent,
#standart-express-site .capture-right .standart-express-cf7 .cf7-consent,
#standart-express-site .modal-window .standart-express-cf7 .cf7-consent {
  margin: 0;
}

#standart-express-site .contact-form .standart-express-cf7 .cf7-consent label.consent-row,
#standart-express-site .contact-form-wrap .standart-express-cf7 .cf7-consent label.consent-row,
#standart-express-site .capture-right .standart-express-cf7 .cf7-consent label.consent-row,
#standart-express-site .modal-window .standart-express-cf7 .cf7-consent label.consent-row {
  margin-bottom: 14px;
}

#standart-express-site .contact-form .standart-express-cf7 button.wpcf7-submit.btn-primary,
#standart-express-site .contact-form-wrap .standart-express-cf7 button.wpcf7-submit.btn-primary,
#standart-express-site .capture-right .standart-express-cf7 button.wpcf7-submit.btn-primary,
#standart-express-site .modal-window .standart-express-cf7 button.wpcf7-submit.btn-primary,
#standart-express-site .contact-form .standart-express-fallback-form button.btn-primary,
#standart-express-site .contact-form-wrap .standart-express-fallback-form button.btn-primary,
#standart-express-site .capture-right .standart-express-fallback-form button.btn-primary,
#standart-express-site .modal-window .standart-express-fallback-form button.btn-primary {
  width: 100%;
}

@media (max-width: 640px) {
  #standart-express-site .contact-form .standart-express-cf7 .form-grid-2,
  #standart-express-site .contact-form-wrap .standart-express-cf7 .form-grid-2,
  #standart-express-site .capture-right .standart-express-cf7 .form-grid-2,
  #standart-express-site .modal-window .standart-express-cf7 .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Inline links inside SEO / prose text blocks */
#standart-express-site .seo-block .body-text a,
#standart-express-site .seo-block .seo-content a,
#standart-express-site .seo-block .se-seo-faq__a a,
#standart-express-site .seo-content.entry-content a,
#standart-express-site .seo-inner p a,
#standart-express-site .task-card .body-text a,
#standart-express-site .how-card .body-text a,
#standart-express-site .adv-card .body-text a,
#standart-express-site .faq-a-inner a {
  color: var(--accent, #1a57ea);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

#standart-express-site .seo-block .body-text a:hover,
#standart-express-site .seo-block .seo-content a:hover,
#standart-express-site .seo-block .se-seo-faq__a a:hover,
#standart-express-site .seo-content.entry-content a:hover,
#standart-express-site .seo-inner p a:hover,
#standart-express-site .task-card .body-text a:hover,
#standart-express-site .how-card .body-text a:hover,
#standart-express-site .adv-card .body-text a:hover,
#standart-express-site .faq-a-inner a:hover {
  color: var(--accent-hi, #0d3db8);
}