.artist-application-page {
	background: #f8f6f2;
}

.artist-application-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 50px;
	min-height: calc(100vh - 120px);
}

.page-template-template-bliv-kunstner .content-container{
	padding-top: 0;
	padding-bottom: 0;
}
/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.artist-application-content{
	padding: 50px 0;
}
.artist-application-intro {
	max-width: 680px;
	margin-bottom: 55px;
}

.artist-application-intro h1 {
	margin: 0;

}

.artist-application-intro h1 span {
	display: block;

	color: #b58b5d;
	font-style: italic;
}

.artist-application-line {
	width: 55px;
	height: 3px;

	margin: 28px 0 30px;

	background: #b58b5d;
}




/* ---------------------------------------------------------
   FORM
--------------------------------------------------------- */

.artist-application-form {
	max-width: 680px;
}

.artist-application-form .stilx-artist-form {
	width: 100%;
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.artist-application-image {
	position: relative;
}
.artist-application-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    background: linear-gradient(to right, var(--cream), transparent);
}

.artist-application-image-img {
	display: block;
	height: 100%;
	left: 2px;

	object-fit: cover;
	position: absolute;
	width: 50vw;

}



/* ---------------------------------------------------------
   TWO OPTIONAL FIELDS
--------------------------------------------------------- */

.artist-application-form .stilx-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}


/* ---------------------------------------------------------
 * PORTFOLIO UPLOAD
 * --------------------------------------------------------- */

.stilx-artist-portfolio-upload {
	margin-top: 20px;
}


/*
 * Upload area
 */

.stilx-artist-portfolio-upload__dropzone {
	display: flex;
	align-items: center;
	justify-content: center;

	min-height: 150px;
	padding: 30px;

	border: 1px dashed #cfc6ba;
	background: #faf8f4;

	cursor: pointer;

	transition:
		border-color 0.2s ease,
		background 0.2s ease;
}


.stilx-artist-portfolio-upload__dropzone:hover {
	border-color: #b89570;
	background: #f6f1e9;
}


/*
 * Upload content
 */

.stilx-artist-portfolio-upload__dropzone > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}


.stilx-artist-portfolio-upload__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;
	margin-bottom: 14px;

	border: 1px solid #cfc6ba;
	border-radius: 50%;

	font-size: 20px;
	color: #9b7448;
}


.stilx-artist-portfolio-upload__dropzone strong {
	margin-bottom: 6px;

	font-size: 16px;
	font-weight: 600;
	color: #1c1b19;
}


.stilx-artist-portfolio-upload__dropzone span {
	font-size: 14px;
	line-height: 1.5;
	color: #756d65;
}


.stilx-artist-portfolio-upload__dropzone small {
	margin-top: 8px;

	font-size: 12px;
	line-height: 1.5;
	color: #9a9289;
}


/*
 * Hide native file input
 */

.stilx-artist-portfolio-upload__dropzone input[type="file"] {
	display: none;
}


/*
 * Preview grid
 */

.stilx-artist-portfolio-preview {
	margin-top: 16px;
}


/*
 * Preview item
 */

.stilx-artist-portfolio-preview__item {
	position: relative;

	aspect-ratio: 1 / 1;

	overflow: hidden;

	background: #f1eee8;
}


.stilx-artist-portfolio-preview__item img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}


/*
 * Remove button
 */

.stilx-artist-portfolio-preview__remove {
	position: absolute;

	top: 8px;
	right: 8px;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;

	padding: 0;

	border: 0;
	border-radius: 50%;

	background: rgba(28, 27, 25, 0.9);
	color: #fff;

	font-size: 18px;
	line-height: 1;

	cursor: pointer;

	transition:
		background 0.2s ease,
		transform 0.2s ease;
}


.stilx-artist-portfolio-preview__remove:hover {
	background: #1c1b19;
	transform: scale(1.05);
}

.stilx-artist-portfolio-preview__count {
	margin-bottom: 12px;

	font-size: 13px;
	color: #756d65;
}


.stilx-artist-portfolio-preview__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}


.stilx-artist-portfolio-preview__item {
	position: relative;

	aspect-ratio: 1 / 1;

	overflow: hidden;

	background: #f1eee8;
}


.stilx-artist-portfolio-preview__item img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}


.stilx-artist-portfolio-preview__remove {
	position: absolute;

	top: 8px;
	right: 8px;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;

	padding: 0;

	border: 0;
	border-radius: 50%;

	background: rgba(28, 27, 25, .9);
	color: #fff;

	font-size: 20px;
	line-height: 1;

	cursor: pointer;
}

.stilx-form-error {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #a33f32;
}

.stilx-form-error:not([hidden]) {
	display: block;
}

.stilx-image-upload.is-error {
	border-color: #a33f32;
}

#stilx-artist-portfolio-preview.is-error {
	border-color: #a33f32;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 900px) {

	.artist-application-layout {
		display: block;
	}

	.artist-application-image {
		position: relative;

		height: 55vw;
		min-height: 350px;

		order: -1;
	}

	.artist-application-content {
		padding:
			55px
			30px
			80px;
	}


	.artist-application-form {
		max-width: none;
	}

}
@media (max-width: 700px) {

	.stilx-artist-portfolio-preview {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}




@media (max-width: 600px) {

	.artist-application-image {
		height: 75vw;
		min-height: 300px;
	}

	.artist-application-content {
		padding:
			45px
			20px
			60px;
	}

	.artist-application-form .stilx-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

}

@media (max-width: 480px) {

	.stilx-artist-portfolio-upload__dropzone {
		min-height: 130px;
		padding: 20px;
	}


	.stilx-artist-portfolio-preview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}