.ica-template-1__inner {
	display: flex;
	gap: 30px;
	align-items: stretch;
}

.ica-template-1__left,
.ica-template-1__right {
	flex: 1 1 50%;
}

.ica-panel {
	background: #00233d;
	color: #fff;
	padding: 30px;
	border-radius: 8px;
	position: relative;
}

.ica-panel__title {
	color: #d62c26;
	margin-top: 0;
	margin-bottom: 12px
}

.ica-panel__body {
	color: #f5f5f5;
	max-height: 60vh;
	overflow: auto
}

.ica-form {
	background: #00233d;
	padding: 24px;
	border-radius: 8px;
	color: #fff
}

.ica-field {
	margin-bottom: 12px
}

.ica-field label {
	display: block;
	margin-bottom: 6px;
	color: #fff;
	position: relative;
}

.ica-field input[type="text"],
.ica-field input[type="email"] {
	width: 100%;
	padding: 10px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.02);
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4)
}

.ica-field-row {
	display: flex;
	gap: 12px
}

.ica-field.half {
	flex: 1
}

.ica-gdpr {
	font-size: 14px
}

.ica-btn {
	background: #d62c26;
	border: 0;
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px;
	cursor: pointer
}

.ica-success {
	color: #0f0;
	margin-top: 12px
}

.ica-error {
	color: #ff6b6b;
	margin-bottom: 12px
}

.ica-template-1__inner>* {
	box-shadow: 0px 2px 20px 3px rgba(0, 0, 0, 0.5);
}

/* Candidates list: horizontal cards with image above name */
.ica-candidates-list {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	padding: 0;
	margin: 8px 0 30px 0;
	justify-content: space-evenly;
	align-content: center;
}

.ica-candidate {
	width: 100px;
	text-align: center;
}

.ica-candidate__img,
.ica-candidate__placeholder {
	width: auto;
	height: auto;
	border-radius: 50%;
	display: block;
	margin: 0 auto 8px;
	object-fit: cover;
	background: rgba(255,255,255,0.06);
	border: solid 1px #ffffff4d;
}

.ica-candidate__name {
	font-size: 16px;
	line-height: 1.3em;
	color: #fff;
}

.ica-field label.error {
	color: red;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
}

label#gdpr_origem-error {
	position: relative;
	width: fit-content;
}

/* When parent field has error, make input border red */
.ica-field.error input[type="text"],
.ica-field.error input[type="email"] {
	border-color: #ff6b6b;
}

/* Small labels inserted above panel title and body */
.ica-panel__label,
.ica-panel__body-label {
	color: #ffffff;
	font-weight: 600;
	margin-bottom: 8px;
}

.ica-candidates-list > div {
    max-width: 10%;
}

.entry-content ol li {
    margin-bottom: 10px;
}

h4 {
    color: #ffffff;
    font-weight: 800;
}

.ica-field input:focus {
    border: solid 2px #2d72a5;
    background-color: #2d72a533;
}
	.ica-panel__body ol{
		padding-bottom: 5px;
	}

@media(max-width:800px) {
	.ica-template-1__inner {
		flex-direction: column-reverse;
	}

	h2.ica-panel__title {
		font-size: 18px;
		line-height: 1.2em;
	}
	
	/* Limit the visible panel on mobile and provide collapsed/expanded states */
	.ica-panel {
		/* max-height: 50vh; */
		/* overflow: hidden; */
	}

	.ica-panel__body {
		/* allow internal scrolling of the body while panel remains capped */
		 /* adjust for panel paddings/titles */
		overflow: auto;
		font-size: 14px;
		line-height: 1.2em;
		min-height: auto;
		max-height: max-content;
	}

	.ica-panel__body ol  li{
		font-size: 14px;
		line-height: 1.2em;
	
	}



	/* Collapsed state shows gradient and toggle button; expanded removes cap */
	.ica-panel.ica-expanded {
		max-height: unset;
	}

	.ica-panel.ica-collapsed::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0px;
		height: 64px;
		pointer-events: none;
		background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
		z-index: 2;
	}

	/* Toggle button positioned at panel bottom */
	.ica-panel__toggle {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 8px;
		z-index: 3;
		background: #ffffff;
		color: #00233d;
		border: 0;
		padding: 8px 12px;
		border-radius: 20px;
		font-weight: 700;
		cursor: pointer;
		box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	}

	/* When expanded, hide the overlay (pseudo) via removing collapsed class */
	.ica-panel.ica-expanded::after { display: none; }

	.ica-candidates-list > div {
		max-width: 20%;
	}
}