/* HAMES customer support pages */
.hames-cs-page .main {
	background: #f6f8fb;
}

.hames-cs-page .page-header {
	position: relative;
	margin-bottom: 0;
	border-bottom: 0;
	background-position: center;
	background-size: cover;
}

.hames-cs-page .page-header:before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(90deg, rgba(21, 49, 91, .32), rgba(0, 129, 190, .08));
	content: "";
}

.hames-cs-page .page-header .container {
	position: relative;
	z-index: 1;
}

.hames-cs-page .page-header h1 {
	font-size: 30px;
	letter-spacing: -.04em;
}

.hames-cs-page .page-header .breadcrumb {
	font-size: 12px;
}

.hames-cs-page .main > .container.py-4 {
	padding-top: 52px !important;
	padding-bottom: 70px !important;
}

.hames-cs-page .blog-posts {
	padding: 34px 38px;
	border: 1px solid #e3eaf2;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(27, 54, 83, .08);
}

/* Board list */
.cs-board-list-page .blog-posts > article.post {
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e7ecf2;
	background: #fff;
	transition: background-color .2s ease, transform .2s ease;
}

.cs-board-list-page .blog-posts > article.post:first-of-type {
	border-top: 1px solid #e7ecf2;
}

.cs-board-list-page .blog-posts > article.post:hover {
	z-index: 1;
	border-radius: 7px;
	background: #f7fafc;
	transform: translateY(-1px);
}

.cs-board-list-page article.post .row {
	min-height: 88px;
	align-items: center;
	padding: 18px 20px;
}

.cs-board-list-page article.post .post-content h2 {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	letter-spacing: -.02em;
}

.cs-board-list-page article.post .post-content h2 a {
	color: #243a52 !important;
}

.cs-board-list-page article.post:hover .post-content h2 a {
	color: #087db9 !important;
}

.cs-board-list-page article.post .post-meta {
	margin: 0;
	color: #7d8997;
	font-size: 13px;
	white-space: nowrap;
}

.cs-board-list-page article.post .post-meta i {
	margin-right: 5px;
	color: #1681bf;
}

/* Board detail */
.cs-board-view-page .blog-posts.single-post {
	padding: 0;
	overflow: hidden;
}

.cs-board-view-page .blog-single-post .post-content {
	margin: 0 !important;
}

.cs-board-view-page .blog-single-post .post-content > h2 {
	margin: 0;
	padding: 32px 38px 17px;
	color: #203950;
	font-size: 27px;
	line-height: 1.4;
	letter-spacing: -.035em;
}

.cs-board-view-page .blog-single-post .post-meta {
	margin: 0;
	padding: 0 38px 22px;
	border-bottom: 1px solid #e4eaf0;
	color: #7b8794;
	font-size: 13px;
}

.cs-board-view-page .blog-single-post .post-meta span {
	display: inline-flex;
	align-items: center;
	margin-right: 22px;
}

.cs-board-view-page .blog-single-post .post-meta i {
	margin-right: 6px;
	color: #1681bf;
}

.cs-board-view-page .blog-single-post .post-meta a {
	color: #176eaa;
}

.cs-board-view-page .cs-board-content {
	padding: 34px 38px 10px;
	color: #4f5f70;
	line-height: 1.85;
}

.cs-board-view-page .blog-single-post .post-content {
	min-height: 320px;
	padding-bottom: 36px;
}

.cs-board-view-page .blog-posts.single-post + .btn,
.cs-board-view-page article + .btn {
	margin-top: 20px;
	min-width: 92px;
	border-radius: 4px;
}

/* Catalog */
.cs-catalog-page .blog-posts {
	padding-bottom: 26px;
}

.cs-catalog-page .blog-posts > .row:first-child {
	margin-right: -12px;
	margin-left: -12px;
}

.cs-catalog-page .blog-posts > .row:first-child > [class*="col-"] {
	display: flex;
	padding-right: 12px;
	padding-left: 12px;
}

.cs-catalog-page article.post {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin-bottom: 28px !important;
	padding: 14px 14px 18px;
	overflow: hidden;
	border: 1px solid #e2e8ef !important;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(27, 54, 83, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.cs-catalog-page article.post:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(27, 54, 83, .13);
}

.cs-catalog-page article.post .post-image {
	display: flex;
	height: 310px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 7px;
	background: #f4f7fa;
}

.cs-catalog-page article.post .post-image img {
	width: 100%;
	height: 100% !important;
	object-fit: contain;
	border: 0;
	background: #fff;
}

.cs-catalog-page article.post .post-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 5px;
}

.cs-catalog-page article.post h2 {
	margin-top: 18px !important;
	color: #233c54;
	font-size: 17px !important;
	line-height: 1.45 !important;
	letter-spacing: -.02em;
}

.cs-catalog-page article.post .post-meta {
	margin-top: auto;
}

.cs-catalog-page article.post .btn {
	padding: 8px 14px;
	border: 1px solid #d5e0ea;
	border-radius: 4px;
	background: #f7fafc;
	color: #176eaa;
	font-weight: 600;
}

.hames-cs-page .pagination {
	clear: both;
	margin-top: 42px !important;
	margin-bottom: 8px;
}

.cs-board-list-page .blog-posts:after,
.cs-catalog-page .blog-posts:after {
	display: table;
	clear: both;
	content: "";
}

.hames-cs-page .pagination .page-link {
	margin-left: 5px;
	border-color: #dce4ec;
	border-radius: 4px !important;
	color: #45617b;
}

.hames-cs-page .pagination .active .page-link {
	border-color: #1681bf;
	background: #1681bf;
	color: #fff;
}

@media (max-width: 991px) {
	.hames-cs-page .main > .container.py-4 {
		padding-top: 34px !important;
		padding-bottom: 48px !important;
	}

	.hames-cs-page .blog-posts {
		padding: 24px 22px;
	}

	.cs-board-list-page article.post .post-meta {
		margin-top: 10px;
		text-align: left !important;
	}

	.cs-catalog-page article.post .post-image {
		height: 280px;
	}
}

@media (max-width: 575px) {
	.hames-cs-page .page-header h1 {
		font-size: 25px;
	}

	.hames-cs-page .blog-posts {
		padding: 18px 14px;
		border-radius: 10px;
	}

	.cs-board-list-page article.post .row {
		padding: 16px 10px;
	}

	.cs-board-view-page .blog-single-post .post-content > h2 {
		padding: 25px 22px 14px;
		font-size: 22px;
	}

	.cs-board-view-page .blog-single-post .post-meta {
		padding: 0 22px 18px;
	}

	.cs-board-view-page .cs-board-content {
		padding: 26px 22px 8px;
	}
}
