/* Text entity links. Sitewide CSS uses text-decoration: none !important,
   so underlines are drawn with a background line. */
#content a.place,
#content a.ethnic,
#content a.demonym,
#content a.person,
#content a.modal-trigger {
	color: #2c2a24 !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	cursor: pointer;
	padding: 0 0.08em 0.12em;
	border-radius: 2px;
	background-image: linear-gradient(#c6c09c, #c6c09c) !important;
	background-position: 0 100% !important;
	background-repeat: no-repeat !important;
	background-size: 100% 1.5px !important;
	background-color: transparent;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	box-shadow: none;
	transition: color 0.2s ease, background-color 0.2s ease, background-size 0.2s ease, box-shadow 0.2s ease;
}

#content a[href^="/people/"],
#content a[href*="/people/"] {
	color: #7a6938 !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	padding: 0 0.08em 0.12em;
	border-radius: 2px;
	background-image: linear-gradient(#c6c09c, #c6c09c) !important;
	background-position: 0 100% !important;
	background-repeat: no-repeat !important;
	background-size: 100% 1.5px !important;
	background-color: transparent;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	transition: color 0.2s ease, background-color 0.2s ease, background-size 0.2s ease, box-shadow 0.2s ease;
}

#content a.place:hover,
#content a.ethnic:hover,
#content a.demonym:hover,
#content a.person:hover,
#content a.modal-trigger:hover,
#content a[href^="/people/"]:hover,
#content a[href*="/people/"]:hover {
	color: #4f4220 !important;
	background-color: rgba(198, 192, 156, 0.3) !important;
	background-size: 100% 2.5px !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	transform: none !important;
	box-shadow: 0 0 0 3px rgba(198, 192, 156, 0.18);
}

.modal-trigger:hover {
	transform: none !important;
	-ms-transform: none !important;
	-webkit-transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	#content a.place,
	#content a.ethnic,
	#content a.demonym,
	#content a.person,
	#content a.modal-trigger,
	#content a[href^="/people/"],
	#content a[href*="/people/"] {
		transition: none;
	}
}
