.sohk-subscribe-area p[style="color: indianred;"] {
	display: none;
}

.sohk-subscribe-area .wp-block-column:nth-child(2) {
	text-align: right;
}

.sohk-subscribe-area form.mc4wp-form {
	margin-top: 0;
}

/**
 * Match primary (fill) button chrome from buttons.css + theme.json.
 * Prefer <button type="submit"> in the MC4WP form so the arrow ::after works
 * (pseudo-elements are ignored on <input>).
 */
.sohk-subscribe-area form.mc4wp-form input[type="submit"],
.sohk-subscribe-area form.mc4wp-form button[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	border-style: solid;
	border-width: 0;
	border-radius: 2px;
	box-sizing: border-box;
	background-color: var(--sohk--color--button-background, var(--wp--preset--color--yellow));
	color: var(--sohk--color--button-text, var(--wp--preset--color--slate));
	font-family: var(--wp--preset--font-family--now, "Now", sans-serif);
	font-size: var(--wp--preset--font-size--button);
	font-weight: 900;
	letter-spacing: 0.078em;
	line-height: 1.11;
	text-transform: uppercase;
	padding: 22px;
    margin-left: 16px;
	transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.sohk-subscribe-area form.mc4wp-form input[type="submit"]:hover,
.sohk-subscribe-area form.mc4wp-form button[type="submit"]:hover {
	background-color: #d4a600;
}

.sohk-subscribe-area form.mc4wp-form input[type="submit"]:focus,
.sohk-subscribe-area form.mc4wp-form button[type="submit"]:focus {
	outline: none;
	box-shadow: 0 0 0 3px #2375d1;
}

/* Arrow — button elements only */
.sohk-subscribe-area form.mc4wp-form button[type="submit"]::after {
    content: "";
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../icons/arrow-right.svg") center / contain no-repeat;
}
.sohk-subscribe-area form.mc4wp-form input[type="email"] {
	box-sizing: border-box;
	padding: 16px;
	font-family: var(--wp--preset--font-family--now, "Now", sans-serif);
	font-size: var(--wp--preset--font-size--regular);
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.56;
	border-radius: 6px;
	border: none;
	min-width: 320px;
}
.sohk-subscribe-area form.mc4wp-form label {
	position: relative;
}
.sohk-subscribe-area form.mc4wp-form .mc4wp-email-suggestion {
	position: absolute;
	left:0;
	margin-top: 10px;
}
.sohk-subscribe-area form.mc4wp-form .mc4wp-response {
	position: absolute;
    margin-left: calc(var(--wp--preset--spacing--col-1) * 2);
    max-width: 320px;
    text-align: left;
    font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 767px) {
	.sohk-subscribe-area form.mc4wp-form input[type="email"],
	.sohk-subscribe-area form.mc4wp-form button[type="submit"] {
        width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
    
	.sohk-subscribe-area form.mc4wp-form input[type="email"] {
        margin-bottom: 16px;
	}
    .sohk-subscribe-area form.mc4wp-form button[type="submit"] {
        margin-left: 0;
    }
	.sohk-subscribe-area form.mc4wp-form .mc4wp-email-suggestion,
	.sohk-subscribe-area form.mc4wp-form .mc4wp-response {
		position: relative;
		margin-left: 0;
		max-width:100%;
		text-align:left;
	}
	.sohk-subscribe-area form.mc4wp-form .mc4wp-email-suggestion {
		margin-bottom: 32px;
	}
}

/**
 * Email Gated Downloads (spdfed) — match SOHK primary button + form chrome.
 * Name + email side by side; GDPR checkbox full-width underneath; submit below.
 */
.spdfed-form-wrapper {
	--spdfed-max-width: 100%;
	--spdfed-margin: 0;
	--spdfed-border-color: transparent;
	--spdfed-border-radius: 2px;
	--spdfed-padding: 0;
	--spdfed-input-padding: 0.85rem 1rem;
	--spdfed-text-color: var(--wp--preset--color--slate, #1e1e1e);
	--spdfed-button-bg-color: var(--sohk--color--button-background, var(--wp--preset--color--yellow));
	--spdfed-button-bg-color-hover: #d4a600;
	--spdfed-button-text-color: var(--sohk--color--button-text, var(--wp--preset--color--slate));
	--spdfed-button-text-color-hover: var(--sohk--color--button-text, var(--wp--preset--color--slate));
	--spdfed-button-transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
	--spdfed-error-text-color: #c0392b;
	--spdfed-error-bg-color: #f8d7da;

	max-width: var(--spdfed-max-width);
	margin: var(--spdfed-margin);
	padding-top: var(--wp--preset--spacing--lg);
	width: 100%;
	color: var(--spdfed-text-color);
}

.spdfed-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 24px;
	align-items: start;
	border: 0;
	padding: var(--spdfed-padding);
	border-radius: 0;
	background: transparent;
	margin: 0;
}

.spdfed-form > .spdfed-form-row {
	margin: 0;
}

/* Checkbox, button, messages, and thank-you span the full form width. */
.spdfed-form > .spdfed-form-row:has(.spdfed-checkbox-label),
.spdfed-form > .spdfed-button,
.spdfed-form-wrapper > .spdfed-error-message,
.spdfed-form-wrapper > .spdfed-thank-you {
	grid-column: 1 / -1;
}

/* Email-only forms (no name field) — full width. */
.spdfed-form:not(:has(input[name="spdfed_name"])) > .spdfed-form-row:has(input[type="email"]) {
	grid-column: 1 / -1;
}

.spdfed-input {
	display: block;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	padding: var(--spdfed-input-padding);
	appearance: none;
	font-family: var(--wp--preset--font-family--now, "Now", sans-serif);
	font-size: var(--wp--preset--font-size--regular, 1rem);
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.4;
	color: var(--spdfed-text-color);
	background-color: var(--wp--preset--color--off-white, #fff);
	border: 1px solid #d1d6e0;
	border-radius: 6px;
}

.spdfed-input::placeholder {
	color: var(--spdfed-text-color);
	opacity: 1;
}

.spdfed-input:focus {
	outline: 2px solid var(--wp--preset--color--blue, #1f5ced);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--blue, #1f5ced);
	box-shadow: none;
}

.spdfed-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-family: var(--wp--preset--font-family--now, "Now", sans-serif);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-weight: 400;
	line-height: 1.45;
	color: var(--spdfed-text-color);
	cursor: pointer;
}

.spdfed-checkbox-label input[type="checkbox"] {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.15em 0 0;
	accent-color: var(--wp--preset--color--blue, #1f5ced);
}

.spdfed-button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	gap: 12px;
	width: auto;
	max-width: 100%;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	border-style: solid;
	border-width: 0;
	border-radius: var(--spdfed-border-radius);
	box-sizing: border-box;
	background-color: var(--spdfed-button-bg-color);
	color: var(--spdfed-button-text-color);
	font-family: var(--wp--preset--font-family--now, "Now", sans-serif);
	font-size: var(--wp--preset--font-size--button);
	font-weight: 900;
	letter-spacing: 0.078em;
	line-height: 1.11;
	text-transform: uppercase;
	padding: 22px;
	transition: var(--spdfed-button-transition);
}

.spdfed-button:hover,
.spdfed-button:focus {
	background-color: var(--spdfed-button-bg-color-hover);
	border-color: transparent;
	color: var(--spdfed-button-text-color-hover);
}

.spdfed-button.is-incomplete,
.spdfed-button[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.45;
}

.spdfed-button.is-incomplete:hover,
.spdfed-button[aria-disabled="true"]:hover,
.spdfed-button.is-incomplete:focus,
.spdfed-button[aria-disabled="true"]:focus {
	background-color: var(--spdfed-button-bg-color);
	color: var(--spdfed-button-text-color);
	box-shadow: none;
}

.spdfed-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px #2375d1;
}

.spdfed-button::after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../icons/arrow-right.svg") center / contain no-repeat;
}

.spdfed-error-message,
.spdfed-thank-you {
	border: 1px solid #f5c6cb;
	border-radius: 8px;
	padding: var(--wp--preset--spacing--md, 1rem);
}

.spdfed-error-message {
	color: var(--spdfed-error-text-color);
	background-color: var(--spdfed-error-bg-color);
	border-color: #f5c6cb;
	margin: 0 0 24px;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
}

.spdfed-thank-you {
	color: var(--spdfed-text-color);
	background-color: var(--wp--preset--color--off-white, #f4f5f7);
	border-color: transparent;
}

.spdfed-thank-you p {
	margin: 0;
	font-family: var(--wp--preset--font-family--now, "Now", sans-serif);
}

@media (max-width: 767px) {
	.spdfed-form {
		grid-template-columns: 1fr;
	}

	.spdfed-button {
		width: 100%;
		justify-self: stretch;
	}
}