#main.resources .guides {
	overflow: visible;
	padding-top: 10px;
	padding-bottom: 70px;
	font-family: "Roboto", sans-serif;
	color: #1c1c1c;
}

#main.resources .guides h1,
#main.resources .guides h2,
#main.resources .guides h3 {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	color: #1c1c1c;
	line-height: normal;
}

#main.resources .guides h1,
#main.resources .guides-videos h2,
#main.resources .guides-downloads h2 {
	font-size: 28px;
	margin: 0 0 15px;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: break-word;
}

#main.resources .guides p {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #1c1c1c;
	margin: 0 0 15px;
}

#main.resources .guides-intro p,
#main.resources .guides-videos > p {
	max-width: 615px;
}

#main.resources .guides-intro p:last-of-type,
#main.resources .guides-videos > p:last-of-type,
#main.resources .guides-downloads > p:last-of-type {
	margin-bottom: 0;
}

#main.resources .guides-intro,
#main.resources .guides-videos,
#main.resources .guides-downloads {
	margin-bottom: 65px;
}

#main.resources .guides-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

#main.resources .guides-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 145px;
	padding: 9px 20px;
	border: 0;
	border-radius: 4px;
	background: #e95d5e;
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	margin: 0;
}

#main.resources a.guides-button:hover,
#main.resources button.guides-button:hover {
	background: #d14f50;
	color: #fff;
}

#main.resources .guides-videos .guides-video {
	display: flex;
	align-items: center;
	gap: 15px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 2px rgba(0, 0, 0, 0.03);
	padding: 20px 30px;
	margin-top: 25px;
}

#main.resources .guides-video__thumb {
	width: 168px;
	height: 181px;
	flex-shrink: 0;
	overflow: hidden;
}

#main.resources .guides-video__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#main.resources .guides-video__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

#main.resources .guides-video__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

#main.resources .guides-video__text h3 {
	font-size: 18px;
	margin: 0;
}

#main.resources .guides-video__text p {
	font-size: 15px;
	line-height: 22px;
	color: #777;
	margin: 0;
	max-width: none;
}

#main.resources .guides-downloads > p + p {
	margin-top: 15px;
}

#main.resources .guides-search {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f6f6f6;
	border-radius: 25px;
	padding: 15px 20px;
	margin-top: 20px;
}

#main.resources .guides-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	line-height: normal;
	color: #000;
	padding: 0;
	margin: 0;
	outline: none;
	box-shadow: none;
}

#main.resources .guides-search input::placeholder {
	color: #000;
	opacity: 1;
}

#main.resources .guides-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 25px;
}

#main.resources .guides-pdf {
	display: flex;
	align-items: center;
	gap: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 2px rgba(0, 0, 0, 0.03);
	padding: 20px 15px;
	box-sizing: border-box;
	min-height: 193px;
}

#main.resources .guides-pdf.is-hidden {
	display: none;
}

#main.resources .guides-pdf__cover {
	width: 107px;
	height: 153px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	background: #f3f3f3;
}

#main.resources .guides-pdf__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

#main.resources .guides-pdf__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

#main.resources a.guides-pdf__title {
	color: #1c1c1c;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	text-decoration: underline;
	padding: 0;
	margin: 0;
	display: block;
}

#main.resources a.guides-pdf__title:hover {
	color: #1c1c1c;
}

#main.resources .guides-empty {
	margin: 24px 0 0;
	color: #777;
}

#main.resources .guides-empty[hidden] {
	display: none;
}

#main.resources .guides-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 500px;
	margin: 25px auto 0;
}

#main.resources .guides-pager[hidden] {
	display: none;
}

#main.resources .guides-pager button {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 8px;
	margin: 0;
	cursor: pointer;
}

#main.resources .guides-pager__prev img {
	transform: rotate(180deg);
}

#main.resources .guides-pager button:disabled {
	opacity: 0.35;
	cursor: default;
}

#main.resources .guides-pager span {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #1c1c1c;
}

#main.resources .guides-help {
	background: #8acede;
	border-radius: 8px;
	padding: 38px 30px 42px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#main.resources .guides-help h2 {
	font-size: 22px;
	margin: 0;
}

#main.resources .guides-help p {
	margin: 0;
}

#main.resources .guides-help a {
	color: #1c1c1c;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	text-decoration: none;
	padding: 0;
	margin: 0;
	display: inline;
}

#main.resources .guides-help a:hover {
	color: #1c1c1c;
}

.guides-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.guides-modal[hidden] {
	display: none;
}

.guides-modal__overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.72);
}

.guides-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 960px;
	background: #111;
	border-radius: 8px;
	overflow: hidden;
}

.guides-modal__dialog video {
	display: block;
	width: 100%;
	max-height: calc(100vh - 80px);
	background: #000;
}

.guides-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1c1c1c;
	cursor: pointer;
	padding: 0;
	line-height: 0;
}

body.guides-modal-open {
	overflow: hidden;
}

@media only screen and (max-width: 700px) {
	#main.resources .guides {
		padding-left: 5vw;
		padding-right: 5vw;
	}

	#main.resources .guides-videos .guides-video {
		flex-direction: column;
		align-items: stretch;
		padding: 16px;
	}

	#main.resources .guides-video__thumb {
		width: 100%;
		height: 200px;
	}

	#main.resources .guides-grid {
		grid-template-columns: 1fr;
	}

	#main.resources .guides-pdf__cover {
		width: 90px;
		height: 128px;
	}

	.guides-modal {
		padding: 12px;
	}
}

@media only screen and (max-width: 420px) {
	#main.resources .guides-pdf {
		flex-direction: column;
		align-items: flex-start;
		min-height: 0;
	}
}
