
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	--side-padding: 2em;
	--hover-duration: .3s;
	/* */
	font-family: 'articulat-cf', sans-serif;
	font-size: 16px;
	font-weight: 300;
	font-style: normal;
	line-height: 1.3;
	/* */
	@media screen and (max-width: 550px){
		font-size: 14px;
		--side-padding: 1.5em;
	}
}

body {
	background-color: #000;
	color: #fff;
	padding-bottom: 5rem;
}

.content {
	max-width: 950px;
	margin: 0 auto;
	padding-left: var(--side-padding);
	padding-right: var(--side-padding);
}










/* typography */

h1 {
	font-weight: 300;
	font-size: 2.2em;
	line-height: 1;
}
h2 {
	font-weight: 800;
	font-size: 1.2em;
	letter-spacing: .25em;
	text-transform: uppercase;
	line-height: 1.15;
	margin-bottom: .4em;
}
h3 {
	font-weight: 700;
	font-size: 1.2em;
	letter-spacing: .03em;
}
p, ul {
	margin-bottom: .75em;
}
a, a:visited {
	color: #000;
}










/* layout */

header {
	background-color: #000;
	margin-bottom: 5rem;
	/* */
	@media screen and (max-width: 800px){
		margin-bottom: 3em;
	}
	@media screen and (max-width: 475px){
		margin-bottom: 2em;
	}
}
header h1 {
	margin-bottom: .55em;
}
header p {
	letter-spacing: .03em;
	margin-bottom: 1em;
	line-height: 1.35;
	@media screen and (max-width: 475px){
		font-size: 1.2rem;
	}
}
header .content {
	display: grid;
	grid-template-columns: .45fr .55fr;
	justify-content: center;
	align-items: center;
}
header figure {
	min-width: 175px;
}
header figure img {
	width: 100%;
}

@media screen and (max-width: 475px){
	header .content {
		display: block;
	}
	header {
		text-align: center;
		margin-bottom: 2em;
	}
	header figure img {
		width: 16em;
	}
}










.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5em;
	padding: 0 2em;
	/* */
	@media screen and (max-width: 800px){
		grid-template-columns: repeat(2, 1fr);
	}
	@media screen and (max-width: 800px){
		padding: 0 .5em;
	}
	@media screen and (max-width: 475px){
		font-size: 1.1rem;
	}

}
.cards a {
	background-color: #dddbdc;
	border: 3px solid #dddbdc;
	border-radius: .8rem;
	display: block;
	text-decoration: none;
	text-align: center;
	overflow: hidden;
	transition:
		border-color var(--hover-duration),
		box-shadow var(--hover-duration),
		scale var(--hover-duration);
}

.cards a > div:nth-child(1) {
	background-color: #fff;
	padding: .75em 1rem;
}
.cards a > div:nth-child(1) img {
	height: 9em;
}
.cards a > div:nth-child(2) {
	padding: 1em .5em 1em .5em;
}
.cards a > div:nth-child(2) > p {
	margin-bottom: 0;
}
.cards a > div:nth-child(2) > p:nth-of-type(1) {
	color: #3e0f1f;
	font-weight: 800;
	line-height: 1.3em;
}
.cards a > div:nth-child(2) > p:nth-of-type(2) {
	color: rgba(62,15,31,1);
	font-weight: 500;
	letter-spacing: .045em;
}
.cards a:hover {
	border-color: #000;
	box-shadow: 0 0 20px #fff;
	scale: 1.05;
}


/* video cards */
.cards a.video {
	background-color: #333;
}
.cards a.video {
	border: 3px solid #333;
}
.cards a.video > div:nth-child(1) {
	background-color: #000;
	padding: 0;
}
.cards a.video > div:nth-child(1) img {
	height: 10.5em;
}
.cards a.video > div:nth-child(2) > p:nth-of-type(1) {
	color: #fff;
}
.cards a.video > div:nth-child(2) > p:nth-of-type(2) {
	color: #ccc;
	font-size: .9em;
	margin-top: .25em;
}








/* rearrange card layouts into horizontal rows */
@media screen and (max-width: 550px){

	.cards {
		display: block;
	}
	.cards a {
		display: grid;
		grid-template-columns: 8em auto;
	}
	.cards a + a {
		margin-top: 1.5em;
	}
	.cards a > div:nth-child(1) {
		padding: 1em .5em;
	}
	.cards a > div:nth-child(1) img {
		width: 100%;
		height: auto;
	}
	.cards a.video > div:nth-child(1) img {
		height: auto;
	}
	.cards a > div:nth-child(2) {
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: left;
		padding: .5em .5em .5em 1em;
	}

}








/* ...lightbox...............................  */

#lightbox {
	background-color: rgba(0,0,0,.85);
	display: grid;
	height: 1px;
	justify-content: center;
	align-content: center;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	transition: opacity .7s;
	width: 1px;
	z-index: 10;
}

#lightbox #close-lightbox {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cstyle%3E line %7B fill: none; stroke: rgb(255,255,255); stroke-linecap: round; stroke-miterlimit: 10; stroke-width: 20px; %7D %3C/style%3E%3C/defs%3E%3Cline x1='14.991' y1='14.851' x2='85.024' y2='84.884'/%3E%3Cline x1='85.024' y1='14.851' x2='14.991' y2='84.884'/%3E%3C/svg%3E%0A");
	background-size: 50% auto;
	background-repeat: no-repeat;
	background-position: center center;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 5px 4px rgba(0,0,0,.3);
	background-color: #000;
	color: #fff;
	cursor: pointer;
	position: absolute;
	right: 35px;
	top: 35px;
	width: 40px;
	height: 40px;
}
#lightbox iframe {
	border: 0;

}


/* lightbox opened state */
body[data-lightbox-mode="opened"] {
	overflow: hidden;
}
body[data-lightbox-mode="opened"] #lightbox {
	height: 100%;
	width: 100%;
}
body[data-lightbox-display="true"] #lightbox {
	opacity: 1;
}








