/* ------------------------------------------------------------------
   WordPress additions to the Industry.INC template styles.
------------------------------------------------------------------- */

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Header contact links keep template colors */
.header-info-box a,
.footer-info-box a,
.contact-text .header-info-box a {
	color: inherit;
}

/* Blog cards: clickable title + thumb */
.blog-post h2 a,
.rp-item,
.rp-item:hover {
	color: inherit;
	text-decoration: none;
}
.blog-post .blog-thumb {
	text-decoration: none;
}
.blog-post .post-title {
	font-weight: 300;
	font-size: 36px;
	margin-bottom: 30px;
}

/* WordPress widgets inside the blog sidebar */
.sb-widget ul {
	list-style: none;
	padding: 0;
}
.sb-widget ul li a {
	color: #718090;
}

/* Editor content */
.entry-content img {
	max-width: 100%;
	height: auto;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 30px 0 15px;
}
.entry-content ul,
.entry-content ol {
	margin-bottom: 20px;
}
.entry-content p:last-child {
	margin-bottom: 0;
}
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #718090; }

/* WYSIWYG content inside sections keeps template paragraph spacing */
.video-text p,
.about-text p,
.reserch-tab p {
	margin-bottom: 25px;
}

/* Milestones without background (Elements page style) */
.milestones-plain {
	padding: 0;
	background: none;
}
.milestones-plain + .milestones-plain,
.elements-section + .milestones-plain {
	margin-top: -30px;
}

/* Built-in contact form */
.hp-field {
	position: absolute;
	left: -9999px;
}
.contact-notice {
	padding: 15px 20px;
	margin-bottom: 30px;
	font-size: 14px;
}
.contact-notice--ok { background: var(--industry-accent); color: var(--industry-dark); }
.contact-notice--error { background: var(--industry-dark); color: #fff; }

/* Comments */
.comments-area {
	margin-top: 60px;
}
.comment-list {
	list-style: none;
	padding: 0;
	margin-bottom: 40px;
}
.comment-list .children {
	list-style: none;
	padding-left: 40px;
}
.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid #e1e1e1;
}
.comment-form label {
	display: block;
	font-size: 14px;
}
.comment-form input[type="checkbox"] {
	width: auto;
	height: auto;
	margin-right: 8px;
}

/* Back to top */
.back-to-top {
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 99;
	width: 46px;
	height: 46px;
	line-height: 46px;
	text-align: center;
	font-size: 22px;
	color: var(--industry-dark);
	background: var(--industry-accent);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s;
}
.back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.back-to-top:hover {
	color: #fff;
	background: var(--industry-dark);
}
