/* =========================
   NM Home Hero / Cover
   ========================= */

body.home .wp-site-blocks {
	position: relative;
}

body.home .wp-site-blocks > header.wp-block-template-part + main {
	margin-top: 0 !important;
}

body.home .wp-site-blocks > header.wp-block-template-part {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 20;
	background: transparent !important;
}

body.home .wp-site-blocks > header.wp-block-template-part .wp-block-group,
body.home .wp-site-blocks > header.wp-block-template-part .has-background {
	background: transparent !important;
}

body.home .wp-site-blocks > header.wp-block-template-part::before {
	display: none !important;
}

body.home main.wp-block-group {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home .hp-cover {
	position: relative;
	overflow: hidden;
	margin-top: 0 !important;
	min-height: 100vh !important;
	height: 100vh;
	padding-top: 0 !important;
}

body.home .hp-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
}

body.home .hp-cover .wp-block-cover__background {
	z-index: 1;
}

body.home .hp-cover .wp-block-cover__image-background {
	transform-origin: center center;
	will-change: transform;
	animation: nmHeroZoom 18s ease-in-out infinite;
}

@keyframes nmHeroZoom {

	0% {
		transform: scale(1);
	}

	30% {
		transform: scale(1.10);
	}

	100% {
		transform: scale(1);
	}

}

/* CF7 Form Container */
.wpcf7 form {
    max-width: 520px;
    margin: 40px auto;
    font-family: inherit;
}

/* Labels */
.wpcf7 label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

/* Inputs + Textareas */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Focus effect */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #354c76;
    outline: none;
    box-shadow: 0 0 0 2px rgba(53,76,118,0.1);
}

/* Textarea sizing */
.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

/* Paragraph spacing */
.wpcf7 p {
    margin-bottom: 20px;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
    background: #354c76;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
}

/* Hover */
.wpcf7 input[type="submit"]:hover {
    background: #243452;
}

/* Active click */
.wpcf7 input[type="submit"]:active {
    transform: translateY(1px);
}

/* Response message */
.wpcf7-response-output {
    margin-top: 20px;
    font-size: 14px;
}


/* Target ONLY this specific CF7 form */
#wpcf7-f190-p37-o1 form {
    display: flex;
    justify-content: center;
}

/* Keep email + submit on one line and centered */
#wpcf7-f190-p37-o1 form p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

/* Email field */
#wpcf7-f190-p37-o1 input[type="email"] {
    width: 340px;
    max-width: 70vw;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit button */
#wpcf7-f190-p37-o1 input[type="submit"] {
    padding: 10px 22px;
    border: none;
    background: #354c76;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}


