h2 + h3 {
	margin-top: 1.6em;
}

.topic-icon {
	margin-bottom: 0.5em;
}

.column-flex-center {
	align-self: center;
}

.device-flex-container {
	display: flex;
	justify-content: flex-end;
}

@media only screen and (max-width: 734px) {
	.device-flex-container {
		display: flex;
		justify-content: flex-start;
	}
}

.device-fullscreen {
	max-width: 215px;
}

.iap-image {
	height: 300px;
	margin-left: 10px;
}
@media only screen and (max-width: 1068px) {
	.iap-image {
		margin-left: 2px;
		height: 240px;
	}
}
@media only screen and (max-width: 734px) {
	.iap-image {
		margin-left: 0;
		height: 223px;
	}
}

.device-game-page,
.device-game-center,
.device-iap {
	margin-left: 94px;
}

@media only screen and (max-width: 1068px) {
	.device-game-page,
	.device-game-center,
	.device-iap {
		margin-left: 52px;
	}
}
@media only screen and (max-width: 734px) {
	.device-game-page,
	.device-game-center,
	.device-iap {
		margin-top: 1em;
		margin-left: 0;
	}
}

.column.large-11.small-12 > *,
.column.large-offset-1.large-6.small-offset-0.small-12 > * {
	margin-left: 20px;
}
@media only screen and (max-width: 734px) {
	.column.large-11.small-12 > *,
	.column.large-offset-1.large-6.small-offset-0.small-12 > * {
		margin-left: 0;
	}
}

.divider-bottom {
	margin-top: 4em;
	margin-bottom: 4em;
}
@media only screen and (max-width: 734px) {
	.divider-bottom {
		margin-top: 3em;
		margin-bottom: 3em;
	}
}

/* ----- video grid ----- */
.resource-grid {
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	/* grid-gap: 20px; */
	column-gap: 3em;
	row-gap: 2em;
	width: 100%;
	box-sizing: border-box;
	margin-top: 1.5em;
}

.resource-grid-item {
	height: auto;
	cursor: pointer !important;
	text-decoration: none !important;
}

/* .resource-grid-item-full {
	grid-column: 1/3;
} */

.resource-grid + h2,
.resource-grid + h3,
.resource-grid + p {
	margin-top: 2em;
}

.resource-grid + .divider-bottom {
	padding-top: 0;
}

@media only screen and (max-width: 1068px) {
	.resource-grid {
		grid-template-columns: repeat(2, 2fr);
		column-gap: 1.5em;
		row-gap: 1em;
	}

	.resource-grid-item {
		grid-column: unset;
	}
}

@media only screen and (max-width: 734px) {
	.resource-grid {
		grid-template-columns: repeat(3, 3fr);
		row-gap: 1.5em;
	}

	.resource-grid-item {
		grid-column: 1/3;
	}
}
/* Prevents content jumping */
.image-wrapper {
	width: 343px;
	height: 193px;
	border-radius: 8px;
}

@media only screen and (max-width: 1068px) {
	.image-wrapper {
		width: 276px;
		height: 156px;
	}
}

.resource-grid-item img {
	border-radius: 8px;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	height: auto;
}

a.resource-grid-item {
	color: unset;
}

a.resource-grid-item:hover {
	text-decoration: none !important;
}

.resource-grid-item h4 {
	color: unset;
	font-size: 1em;
	margin-top: 1em;
	cursor: pointer !important;
}

@media only screen and (max-width: 734px) {
	.resource-grid-item h4 {
		margin-top: 0.5em;
	}
}

.resource-grid-item h4:hover {
	text-decoration: none;
}

/* ========== Grid ========== */
#main section.section {
	padding-top: 4em;
	padding-bottom: 4em;
}
#main section .section-content .row {
	margin-left: 0;
	margin-right: 0;
}
#main section .section-content .row > .column {
	padding: 0;
}

@media only screen and (max-width: 1068px) {
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row.headline-row {
		margin-bottom: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}

@media only screen and (max-width: 734px) {
	#main section.section {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}
