/* CSS Document */

.entry{
	display: grid;
	border-bottom: 1px solid #dedede;
	& dt,
	& dd{
		padding: 1em;
		font-weight: 500;
	}
	& dt{
		display: grid;
		column-gap: 1em;
		background: var(--color-theme);
		color: #fff;
		font-weight: 700;
		z-index: 1;
		&.acids{
			grid-template-columns: 1fr auto;
			&:after{
				content: "Required";
				align-self: start;
				display: grid;
				align-items: center;
				min-height: 16px;
				padding: 0.25em 0.5em;
				background: var(--color-error);
				border-radius: 2px;
				color: #fff;
				font-weight: 700;
				font-size: 12px;
				letter-spacing: 0.05em;
				line-height: 1;
				transform: translateY(0.4em);
			}
		}
	}
	& dd{
		& a:not(:hover){
			text-decoration: none;
		}
	}
	& ul{
		display: flex;
		flex-wrap: wrap;
		grid-gap: 8px 24px;
		padding: 8px;
	}
	& li{
		&:has(input){
			display: grid;
			grid-template-columns: auto 1fr;
			grid-gap: 8px;
			}
		& input{
			transform: translateY(0.4em);
		}
	}
	& p{
		&:first-child{
			margin-bottom: 8px;
		}
		&:last-child{
			margin-top: 8px;
		}
		&.error{
			color: var(--color-error);
		}
	}
	& textarea{
		background-color: #fff;
	}
	& select{
		background-color: #fff;
	}
	.err{
		background-color: #ffffcc;
		border: 2px solid var(--color-error);
	}
	@media (min-width: 576px) {
		grid-template-columns: auto 1fr;
		& dt,
		& dd{
			border-top: 1px solid #dedede;
		}
		& dt{
			min-width: 10em;
			max-width: 20em;
		}
	}
}





