/*
Theme Name: Diss Business Centre
Theme URI: https://www.dissbusinesscentre.co.uk
Author: RC Web Studios
Version: 1.0
Author URI: https://rcwebstudios.co.uk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dbc
*/

body { font-family: 'Arial', sans-serif; font-size: 12pt; }
/* Placeholder for a hero image background */
.hero-bg {
		/* background-image: url('https://placehold.co/1920x800/2A60E3/ffffff?text=Modern+Office+Building'); */
		background-color: black;
		background-size: cover;
		background-position: center;
}

.wysiwyg p {
	margin-top: 1rem !important;
}

.wysiwyg h2 {
	margin-top: 2rem !important;
}

.wysiwyg div {
	margin-top: 1rem !important;
}

/* Field error border */
.wpcf7-form .wpcf7-form-control.wpcf7-not-valid,
.wpcf7-form [aria-invalid="true"] {
  border-color: #dc2626; /* red-600 */
  outline: none;
}

/* Inline error message under inputs */
.wpcf7-not-valid-tip {
  color: #dc2626;            /* red-600 */
  font-size: 0.875rem;       /* text-sm */
  margin-top: 0.25rem;       /* mt-1 */
}

/* Form-level response box */
.wpcf7-response-output {
  padding: 1rem 1.25rem;     /* px-5 py-4 */
  margin: 1rem 0 0 0;
}

/* Validation errors */
.wpcf7-response-output[data-status="validation_failed"],
.wpcf7-response-output.wpcf7-validation-errors {
  border-color: #dc2626;
  background: #fef2f2;       /* red-50 */
  color: #991b1b;            /* red-800 */
}

/* Mail sent (success) */
.wpcf7-response-output[data-status="mail_sent"],
.wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #16a34a;     /* green-600 */
  background: #ecfdf5;       /* emerald-50 */
  color: #166534;            /* green-800 */
}

/* Mail failed */
.wpcf7-response-output[data-status="mail_failed"],
.wpcf7-response-output.wpcf7-mail-sent-ng {
  border-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
}

/* Spam/aborted (optional) */
.wpcf7-response-output[data-status="spam"],
.wpcf7-response-output[data-status="aborted"] {
  border-color: #ca8a04;     /* amber-600 */
  background: #fffbeb;       /* amber-50 */
  color: #92400e;            /* amber-800 */
}

.screen-reader-response {
	display: none;
}