/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/
/* Attachments
--------------------------------------------- */

.attachment-block .read-more-btn {
	font-style: normal;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: var(--wp--preset--color--accent);
    border: 0;
    padding: 1rem;
    color: #ffffff;
    cursor: pointer;
}

.form-field {
	position: relative;
	margin: 0 0 1rem;
}

.attachment-block__content {
	padding: 2rem;
}

.attachment-block__image {
	margin-bottom: 1em;
}

@media (min-width: 480px) {
	.attachment-block__image {
		margin-bottom: 2em;
	}
}

.attachment-block__image svg {
	width: 180px;
	height: auto;
	fill: #bef6ba;
}

.attachment-block__content p {
	font-size: 1em;
	margin: 0.5em 0;
	font-weight: 500;
	font-family: inherit;
}

.attachment-block__content p.heading {
	font-size: 1.6em;
	font-weight: 700;
	margin: 0 0 0.25em 0;
}

.attachment-block__content form {
	width: 100%;
	margin-top: 1.8em;
}

@media (min-width: 600px) {
	.attachment-block__content form {
		flex-direction: row;
		justify-content: space-between;
	}
}

.attachment-block__content form .input-wrap {
	position: relative;
	width: 100%;
}

.attachment-block__content form .input-wrap p {
	bottom: 0;
	display: none;
	font-size: 0.8em;
	position: absolute;
	color: #f05a78;
	transform: translateY(calc( 100% + 0.8em));
}

.attachment-block__content form .form-field label {
	opacity: 1;
	line-height: 1;
	font-size: 1em;
	font-weight: 500;
}

.attachment-block__content form input[type="email"],
.attachment-block__content form select,
.attachment-block__content form input[type="tel"],
.attachment-block__content form input[type="text"] {
	width: 100%;
	height: 40px;
	font-size: 1em;
	border-radius: 8px;
	color: #646464;
	padding: .5rem 1rem;
}

.attachment-block__content form input[type="submit"] {
	width: auto;
	height: 40px;
	font-size: 1em;
	padding: 0 1.5em;
	margin-top: 0.5em;
	border-radius: 8px;
	color: #fff;
	background-color: #002841;
}

.attachment-block__content form input[type="submit"]:hover, .attachment-block__content form input[type="submit"]:focus {
	outline: 0;
	color: #002841;
	background-color: #5ad2c8;
}

.attachment-block__content form input[type="submit"] {
	padding: 0;
	width: 100%;
	margin-top: 0;
}

.form-checkbox {
    margin: 1em 0;
    text-align: left;
}

.messages:not(:empty) {
    background: #28d528;
    text-align: center;
    padding: .5rem;
    margin-top: .5rem;
}

.form-checkbox label {
    padding-left: 21px;
    display: block;
    position: relative;
    max-width: 45ch;
}

.form-checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 5px;
}