/*
 * Styles for the videos page
 *
 */

body {
	font-family: 'Avenir';
	font-weight: 400;
	line-height: 1.36;
	color: #010101;
}

/* Main Page Wrap */
.gba-videos {
	background-color: #000000;
	min-height: 100vh;
}

/* Video Grid */
.gba-video-grid {
	padding: 22.5px 31.5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
}

.gba-video-grid-row {
	display: flex;
	flex-direction: row;
	gap: 15px 15px;
}

.gba-video-grid-row:not(:last-child) {
	margin-bottom: 15px;
}

.gba-video-card {
	flex-basis: calc(100% / 3);
	flex-shrink: 1;
	background-color: #ffffff;
	padding: 19px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.gba-video-thumb-wrap {
	position: relative;
	margin-bottom: 7.5px;
}

.gba-video-thumb-btn-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.gba-video-btn {
	background-color: #C5203F;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 500;
	border: 0;
	border-radius: 10px;
	letter-spacing: 0.15em;
	padding: 6px 15.1px;
	cursor: pointer;
}

.gba-video-btn span {
	vertical-align: middle;
}

.gba-video-btn span::after {
	margin-left: 7px;
	display: inline-block;
	content: url('../img/gilead-blind-angels-video-play-btn.svg');
	line-height: normal;
	position: relative;
	top: 2px;
}

.gba-video-card-title {
	font-size: 16px;
	text-transform: uppercase;
	color: #C5203F;
	letter-spacing: 0.15em;
	margin-bottom: 7.5px;
}

.gba-video-card-copy p {
	font-size: 12px;
	line-height: 1.375;
}

/* Modals */

body.modal-open {
	overflow-y: hidden;
}

.gba-modal-container {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center;
}

body.modal-open .gba-modal-container {
	display: flex;
}

.gba-video-modal {
	display: none;
}

.gba-video-modal.active {
	display: block;
}

.gba-modal-wrap-video {
	position: relative;
}

.close-icon {
	position: absolute;
	right: 40px;
	top: 40px;
	width: 40px;
	height: auto;
	cursor: pointer;
}

.gba-video-modal video {
	width: 100%;
	height: auto;
}
