
/* Blog listing (/blog/, /blog/tag/*) — ported from the former HubSpot blog (blog.quaintise.com). */
.qhs-blog {
	background: #fff;
}

.qhs-blog .qhs-page-center {
	max-width: 1024px;
	margin: 0 auto;
	padding: 62px 15px 40px;
}

.qhs-single .qhs-page-center {
	padding-top: 90px;
}

.qhs-blog .clearfix {
	clear: both;
}

/* Banner */
.qhs-blog .services_descr {
	text-align: center;
}

.qhs-blog .blog-banner h1 {
	font-family: "Montserrat-Bold";
	font-size: 34px;
	line-height: 1.1;
	font-weight: 500;
	color: #4ac56a;
	margin: 0 0 15px;
	text-transform: none;
	letter-spacing: normal;
}

.qhs-blog hr.greeny {
	margin: 20px 0;
	border: 0;
	border-top: 3px solid #00ab43;
	opacity: 1;
}

/* Layout: posts (8 cols) + sidebar (4 cols) */
.qhs-blog .qhs-row {
	display: flex;
	flex-wrap: wrap;
	margin-top: 52px;
}

.qhs-blog .blog-content {
	flex: 0 0 66.6667%;
	max-width: 66.6667%;
}

.qhs-blog .blog-sidebar {
	flex: 1 1 0;
	margin-left: 30px;
}

/* Post grid: 2 columns */
.qhs-blog .post-listing {
	margin: 0 -15px;
}

.qhs-blog .post-item {
	float: left;
	width: 50%;
	padding: 0 15px;
	min-height: 500px;
	box-sizing: border-box;
}

.qhs-blog .post-item.bgx2 {
	border-left: 1px solid #eee;
}

.qhs-blog .post-inner {
	display: block;
	margin-bottom: 65px;
}

.qhs-blog .blogimage {
	margin-bottom: 20px;
	height: 222px;
	overflow: hidden;
}

.qhs-blog .blogimage img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.qhs-blog h2.entry-title {
	font-family: "Montserrat-Light";
	font-weight: 500;
	font-size: 24px;
	line-height: 38px;
	color: #666;
	text-align: left;
	margin: 0 0 20px;
	text-transform: none;
	letter-spacing: 1px;
	font-weight: 500 !important;
}

.qhs-blog h2.entry-title a {
	color: #000;
	font-family: "Montserrat-Bold";
	text-decoration: none;
}

.qhs-blog h2.entry-title a:hover {
	color: #4ac56a;
}

.qhs-blog .entry-content p {
	margin: 0 0 10px;
	text-align: left;
	font-size: 16px;
	line-height: 32px;
	color: #000;
	font-family: "Montserrat-Light";
}

.qhs-blog .entry-content p:empty {
	margin: 0;
}

.qhs-blog .entry-footer {
	display: block;
	background: #fff;
	padding-top: 10px;
}

.qhs-blog .entry-footer h6 {
	margin: 0;
}

.qhs-blog a.more-link {
	font-size: 16px;
	color: #000;
	font-family: "Montserrat-Bold";
	text-decoration: none;
}

.qhs-blog a.more-link:hover {
	color: #4ac56a;
}

/* Sidebar */
.qhs-blog .blog-sidebar h3 {
	margin: 0;
	font-size: 28px;
	line-height: 40px;
	font-family: "Montserrat-SemiBold";
	font-weight: 500;
	color: #000;
	text-align: left;
	text-transform: none;
	margin-top: -15px;
}

.qhs-blog .block .widget-module ul {
	list-style: none;
	padding: 0;
	margin: 30px 0 0;
}

.qhs-blog .block .widget-module ul li {
	width: 100%;
	font-family: "Montserrat-Light";
	font-size: 16px;
	line-height: 20px;
}

.qhs-blog .block .widget-module ul li:before {
	content: "-";
	color: #000;
	font-size: 14px;
	font-family: "Montserrat-SemiBold";
}

.qhs-blog .block .widget-module ul li a {
	font-size: 16px;
	font-family: "Montserrat-Light";
	color: #000;
	margin-left: 5px;
	text-decoration: none;
}

.qhs-blog .block .widget-module ul li a:hover {
	color: #4ac56a;
}

/* Pagination */
.qhs-blog .blog-pagination {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0 15px;
	font-size: 18px;
	color: #000;
	font-family: "Montserrat-Light";
}

.qhs-blog .blog-pagination > div {
	display: inline-block;
	margin: 5px 0;
}

.qhs-blog .blog-pagination a {
	display: inline-block;
	padding: 8px 15px;
	margin: 0 2px 0 0;
	border: 1px solid #eee;
	line-height: 1;
	border-radius: 2px;
	color: #39b54a;
	text-decoration: none;
}

.qhs-blog .blog-pagination a.active {
	color: #000;
}

.qhs-blog .blog-pagination a:not(.active):hover {
	background: #f9f9f9;
	color: #4ac56a;
}

/* ---------- Single post ---------- */
.qhs-blog .post-pg h2 {
	font-family: "Montserrat-Light" !important;
	font-size: 28px;
	line-height: 40px;
	color: #000;
	font-weight: 500 !important;
	font-style: normal;
	letter-spacing: normal;
	margin: 0 0 5px;
	text-transform: none;
}

.qhs-single .qhs-row {
	margin-top: 58px;
}

.qhs-single .post-header h4 {
	margin: 0;
	line-height: 30px;
}

.qhs-single .post-header h4 a {
	font-size: 24px;
	color: #000;
	font-family: "Montserrat-Regular";
	text-decoration: none;
}

.qhs-single .post-header h4 a:hover {
	color: #4ac56a;
}

.qhs-single .post-header h1 {
	font-family: "Montserrat-Bold";
	font-size: 38px;
	line-height: 48px;
	color: #000;
	margin: 35px 0 20px;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 500;
}

@media (max-width: 1800px) and (min-width: 1201px) {
	.qhs-single .post-header h4 a {
		font-size: 18px;
	}
	
	.qhs-single .post-header h1 {
		font-size: 30px;
		line-height: 44px;
		margin: 25px 0 5px;
	}
}

.qhs-single .post-body {
	font-family: "Montserrat-Light";
	font-size: 15px;
	line-height: 20px;
	color: #333;
	overflow-wrap: break-word;
}

.qhs-single .post-body p {
	margin: 0 0 15px;
	text-align: left;
	font-size: 18px !important;
	line-height: 34px !important;
	color: #000;
	font-family: "Montserrat-Light";
	font-weight: 400;
}

.qhs-single .post-body h1, .qhs-single .post-body h2, .qhs-single .post-body h3, .qhs-single .post-body h4, .qhs-single .post-body h5, .qhs-single .post-body h6 {
	text-align: left;
	text-transform: none;
	color: #000;
	margin: 0 0 15px;
	line-height: 1.1;
	font-weight: 500 !important;
}

.qhs-single .post-body h2 {
	font-family: "Montserrat-Light";
	font-size: 28px;
	letter-spacing: 1px;
}

.qhs-single .post-body h3 {
	font-family: "Montserrat-Light";
	font-size: 24px;
	font-weight: 400 !important;
	line-height: 1.3;
}

.qhs-single .post-body h4 {
	font-family: "Montserrat-Regular";
	font-size: 18px;
}

.qhs-single .post-body h2 strong, .qhs-single .post-body h3 strong, .qhs-single .post-body h2 b, .qhs-single .post-body h3 b {
	font-family: "Montserrat-Regular";
	font-weight: 500;
}

.qhs-single .post-body strong, .qhs-single .post-body b {
	font-family: "Montserrat-SemiBold";
	font-weight: 500;
}

.qhs-single .post-body ul, .qhs-single .post-body ol {
	margin: 0 0 15px;
	padding-left: 40px;
}

.qhs-single .post-body li {
	font-family: "Montserrat-Light";
	font-size: 16px;
	line-height: 20px;
	color: #000;
	margin: 0;
	list-style: inherit;
}

.qhs-single .post-body ul li {
	list-style-type: disc;
}

.qhs-single .post-body ol li {
	list-style-type: decimal;
}

.qhs-single .post-body li p {
	margin: 0;
}

.qhs-single .post-body a {
	color: #007935;
	text-decoration: none;
}

.qhs-single .post-body a:hover {
	color: #4ac56a;
}

.qhs-single .post-body img {
	max-width: 100%;
	height: auto;
}

.qhs-single .post-body iframe, .qhs-single .post-body video {
	max-width: 100%;
}

.qhs-single .post-body table {
	max-width: 100%;
	border-collapse: collapse;
}

.qhs-single .post-body blockquote {
	border-left: 3px solid #4ac56a;
	margin: 0 0 15px;
	padding: 0 0 0 20px;
}

.qhs-single .post-pagination {
	margin: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.qhs-single .post-pagination a {
	color: #000 !important;
	font-size: 23px;
	line-height: 20px;
	font-family: "Montserrat-Regular";
	text-decoration: none;
}

.qhs-single .post-pagination a:hover {
	color: #4ac56a !important;
}

.qhs-single .post-pagination a.next-post {
	margin-left: auto;
}

/* HubSpot form ("Ready To Improve Your Marketing?") */
.qhs-blog .qhs-form {
	margin-top: 10px;
}

.qhs-blog .qhs-form h1, .qhs-blog .qhs-form h2, .qhs-blog .qhs-form h3 {
	font-family: "Montserrat-Bold";
	color: #000;
	text-align: center;
	text-transform: none;
}

.qhs-blog .qhs-form .hs-form {
	margin-bottom: 40px;
}

.qhs-blog .qhs-form fieldset {
	max-width: none !important;
}

.qhs-blog .qhs-form .hs-form-field > label {
	display: block;
	margin-bottom: 4px;
	font-family: "Montserrat-Light";
	font-size: 14px;
	color: #000;
	font-weight: 400;
}

.qhs-blog .qhs-form .hs-form-required {
	color: #fff;
}

.qhs-blog .qhs-form fieldset .hs-form-field {
	padding: 0 10px 0 0;
}

.qhs-blog .qhs-form fieldset[class*="form-columns"] .input {
	margin-right: 0 !important;
}

.qhs-blog .qhs-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
	display: block;
	width: 100% !important;
	max-width: 750px;
	border: 2px solid #000;
	min-height: 54px;
	margin-bottom: 10px;
	padding: 0 20px;
	transition: .3s ease-in-out;
	font-family: "Montserrat-Light";
	font-size: 16px;
	color: #666;
	box-sizing: border-box;
	background: #fff;
	border-radius: 0;
}

.qhs-blog .qhs-form textarea.hs-input {
	padding: 15px 20px;
	min-height: 120px;
}

.qhs-blog .qhs-form .hs-input:hover {
	border-color: #4ac56a;
}

.qhs-blog .qhs-form ul.inputs-list {
	list-style: none;
	padding: 0;
}

.qhs-blog .qhs-form .hs-error-msgs {
	margin: -4px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.qhs-blog .qhs-form .hs-error-msgs label {
	color: red;
	font-family: "Montserrat-Regular";
	font-size: 15px;
	line-height: 1;
	font-weight: 400;
}

.qhs-blog .qhs-form .hs-button.primary, .qhs-blog .qhs-form input[type="submit"] {
	display: inline-block;
	margin: 10px 0;
	cursor: pointer;
	letter-spacing: 1px;
	-webkit-appearance: none;
	font-size: 18px;
	border: 0;
	border-radius: 3px;
	transition: .3s ease-in-out;
	background: #4ac56a;
	padding: 1px 16px 2px;
	font-family: "Montserrat-Light";
	color: #fff;
	line-height: 20px;
}

/* Responsive (same breakpoints as the HubSpot theme) */

/* HubSpot grid used col-lg-6: below 1200px posts stack one per row */
@media (max-width: 1199px) {
	.qhs-blog .post-item {
		float: none;
		width: 100%;
	}
}

@media (max-width: 1200px) and (min-width: 992px) {
	.qhs-blog .blog-banner h1 {
		font-size: 28px;
	}
	
	.qhs-blog .post-item {
		min-height: auto;
	}
	
	.qhs-blog h2.entry-title {
		line-height: 34px;
	}
	
	.qhs-blog h2.entry-title a {
		font-size: 22px;
	}
	
	.qhs-blog .entry-content p {
		font-size: 16px;
		line-height: 28px;
		margin: 20px 0;
	}
}

@media (max-width: 991px) {
	.qhs-blog .blog-content {
		flex-basis: 100%;
		max-width: 100%;
	}
	
	/* HubSpot blog hides the Categories sidebar below 992px (tablet + mobile) */
	.qhs-blog .blog-sidebar {
		display: none;
	}
	
	.qhs-blog .blogimage {
		height: auto;
	}
	
	.qhs-blog .post-item {
		min-height: auto;
	}
	
	.qhs-blog h2.entry-title {
		font-size: 20px;
		line-height: 32px;
	}
	
	.qhs-blog h2.entry-title a {
		font-size: 22px;
	}
	
	.qhs-blog .entry-content p {
		font-size: 16px;
		line-height: 28px;
		margin: 20px 0;
	}
}

@media (max-width: 767px) {
	.qhs-blog .qhs-page-center {
		padding-top: 40px;
	}
	
	.qhs-blog .post-item {
		float: none;
		width: 100%;
	}
	
	.qhs-blog .post-item.bgx2 {
		border-left: 0;
	}
	
	.qhs-blog h2.entry-title {
		font-size: 18px;
		line-height: 28px;
	}
	
	.qhs-blog h2.entry-title a {
		font-size: 18px;
	}
	
	.qhs-blog .entry-content p {
		font-size: 14px;
		line-height: 24px;
		margin: 10px 0;
	}
	
	.qhs-blog a.more-link {
		font-size: 14px;
	}
	
	.qhs-blog .post-pg h2 {
		font-size: 18px;
		line-height: 32px;
		letter-spacing: normal;
	}
	
	.qhs-single .post-header h1 {
		font-size: 18px;
		line-height: 30px;
	}
	
	.qhs-single .post-header h4 a {
		font-size: 14px;
	}
	
	/* body text/headings keep desktop sizes on mobile, as on the HubSpot blog */
	.qhs-single .post-body img {
		float: none !important;
		display: block;
		margin: 0 !important;
	}
}

@media (max-width: 400px) {
	.qhs-blog .qhs-form fieldset .hs-form-field {
		padding: 0;
		float: none !important;
		width: 100% !important;
	}
}

/* Footer Contact / Newsletter forms: match the homepage (Bootstrap makes inputs inherit the larger blog line-height) */
#footer .hbspt-form input:not([type=checkbox]):not([type=radio]), #footer .hbspt-form select {
	line-height: normal;
}

/* header.php loads css/services-new.css on inner pages; it uppercases all labels and makes all <p> weight 300.
   Undo that for the footer on blog pages so it matches the homepage footer. */
#footer p {
	font-weight: 400;
	margin: 0;
}

#footer label {
	text-transform: none;
	width: auto;
}
