/* 10 tips for sun exposure */

#ten-tips { 
	background: #D8CCE1;
	color: #633285;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1.2;
}
#ten-tips>h2 { 
	display: grid;
	grid-template-areas:
		"num main"
		"num sub";
	grid-template-columns: 6.8em 1fr;
	font-size: 1em;
	padding: 1em 1em 1em 0;
	font-weight: bold;
	margin: 0;
 } 
@media (max-width: 40em) {
	#ten-tips>h2 {
		grid-template-areas:
			"num ."
			"main main"
			"sub sub";
		padding: 1em;
	}
}
#tentips-number {
	grid-area: num;
	font-size: 4em;
	height: 1.5em;
	line-height: 1.5;
	text-align: center;
	border-radius: 50%;
	background: #8b67a4;
	color: #fff;
	margin: 0 0.1em;
}
#tentips-titlemain { 
	grid-area: main;
	align-self: end;
	font-size: 1.5em;
	margin-top: 0.25em;
}
 #tentips-titlesub { 
	grid-area: sub;
	align-self: start;
	font-size: 1.2em;
}
#tentips-author { 
	font-style: oblique;
}
#ten-tips>ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: ten-tips;
}
#ten-tips>ol>li { padding: 1em 1em 1em 0;
	background: #633285;
	color: #fff;
	counter-increment: ten-tips;
	display: flex;
	align-items: center;
}
#ten-tips>ol>li::before { 
	content: counter(ten-tips);
	font-size: 4em;
	line-height: 1;
	flex: 0 0 1.7em;
	text-align: center;
}
@media (max-width: 30em) { 
	#ten-tips>ol>li {  
		padding: 1em;
		display: block;
	}
	#ten-tips>ol>li::before {  
		text-align: left;
		display:block;
	} 
}
#ten-tips>ol>li:nth-child(2) {
	background: #6d3f8d;
	color: #fff;
}
#ten-tips>ol>li:nth-child(3) {
	background: #774c94;
	color: #fff;
} 
#ten-tips>ol>li:nth-child(4) {
	background: #815a9d;
	color: #fff;
} 
#ten-tips>ol>li:nth-child(5) {
	background: #8b67a4;
	color: #fff;
}
#ten-tips>ol>li:nth-child(6) { 
	background: #9E247B;
	color: #fff;
}
#ten-tips>ol>li:nth-child(7) {
	background: #a33082;
	color: #fff;
} 
#ten-tips>ol>li:nth-child(8) {
	background: #a83c89;
	color: #fff;
}
#ten-tips>ol>li:nth-child(9) { 
	background: #ae4890;
	color: #fff;
}
#ten-tips>ol>li:nth-child(10) {
	background: #b35498;
	color: #fff;
}