/* Form 5 apply — type cards + short-field columns.
   Beats theme #gform_wrapper_5 half-width (higher specificity than .strixus-full).
   Card numbers match locked Desk Who cards (56px wells, 12px radius). */

#gform_wrapper_5 #field_5_16,
#gform_wrapper_5 .strixus-desk-type {
	width: 100%;
	flex: 1 1 100%;
	max-width: none;
}

#gform_wrapper_5 #field_5_6,
#gform_wrapper_5 #field_5_14 {
	width: calc(50% - 8px);
	flex: 0 0 calc(50% - 8px);
	max-width: none;
}

#gform_wrapper_5 #field_5_17 {
	width: 100%;
	flex: 1 1 100%;
	max-width: none;
}

#gform_wrapper_5 .strixus-desk-type .gfield_description {
	margin: 8px 0 0;
}

#gform_wrapper_5 .strixus-desk-type .ginput_container_radio {
	display: block;
	width: 100%;
	max-width: none;
}

#gform_wrapper_5 .strixus-desk-type .gfield_radio {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100% !important;
	max-width: none;
}

@media (min-width: 701px) {
	#gform_wrapper_5 .strixus-desk-type .gfield_radio {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
}

#gform_wrapper_5 .strixus-desk-type .gchoice {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
	position: relative;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	flex: none !important;
	margin: 0 !important;
	padding: 16px 14px !important;
	border: 1.5px solid #d8d8d6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	min-height: 88px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

#gform_wrapper_5 .strixus-desk-type .gchoice::before {
	content: "";
	grid-column: 1;
	grid-row: 1;
	position: static;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background-color: #eef3fd;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px 28px;
	flex: none;
	pointer-events: none;
}

#gform_wrapper_5 .strixus-desk-type .gchoice_5_16_0::before {
	background-color: #eef3fd;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6fed' stroke-width='1.6'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19.2c1.4-3.2 3.7-4.8 6.5-4.8s5.1 1.6 6.5 4.8'/%3E%3C/svg%3E");
}

#gform_wrapper_5 .strixus-desk-type .gchoice_5_16_1::before {
	background-color: #e6f4f2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='1.6'%3E%3Ccircle cx='8' cy='8.5' r='2.4'/%3E%3Ccircle cx='16' cy='8.5' r='2.4'/%3E%3Cpath d='M3.8 18.5c1-2.6 2.8-3.9 4.2-3.9s3.2 1.3 4.2 3.9'/%3E%3Cpath d='M12 18.5c1-2.6 2.8-3.9 4.2-3.9s3.2 1.3 4.2 3.9'/%3E%3C/svg%3E");
}

#gform_wrapper_5 .strixus-desk-type .gchoice input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	appearance: none !important;
	pointer-events: none;
}

#gform_wrapper_5 .strixus-desk-type .gchoice label,
#gform_wrapper_5 .strixus-desk-type .gchoice .gform-field-label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	position: absolute;
	inset: 0;
	z-index: 1;
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: 16px 14px 16px 84px;
	border: 0;
	background: none;
	font-family: "Schibsted Grotesk", var(--font-display, sans-serif);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-transform: none;
	text-align: left;
	color: #1d1d1f;
	cursor: pointer;
}

#gform_wrapper_5 .strixus-desk-type .gchoice_5_16_0 label::after,
#gform_wrapper_5 .strixus-desk-type .gchoice_5_16_1 label::after {
	display: block;
	font-family: "IBM Plex Sans", var(--font-ui, Helvetica, Arial, sans-serif);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.45;
	text-transform: none;
	color: #6b6b6b;
}

#gform_wrapper_5 .strixus-desk-type .gchoice_5_16_0 label::after {
	content: "I write and publish under my name.";
}

#gform_wrapper_5 .strixus-desk-type .gchoice_5_16_1 label::after {
	content: "I will publish on behalf of my clients";
}

#gform_wrapper_5 .strixus-desk-type .gchoice:hover {
	border-color: #2f6fed;
}

#gform_wrapper_5 .strixus-desk-type .gchoice:has(input:checked) {
	border-color: #2f6fed;
	background: #f7f9fe;
	box-shadow: 0 0 0 3px #eef3fd;
}

#gform_wrapper_5 .strixus-desk-type .gchoice:has(input:checked)::before {
	background-color: #fff;
}

#gform_wrapper_5 .strixus-desk-type .gchoice:has(input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.28);
}

@media (max-width: 700px) {
	#gform_wrapper_5 .gform_fields > .gfield,
	#gform_wrapper_5 #field_5_6,
	#gform_wrapper_5 #field_5_14,
	#gform_wrapper_5 #field_5_16,
	#gform_wrapper_5 #field_5_17 {
		width: 100%;
		flex: 1 1 100%;
	}
}
