/*
 * Project Vox visual compatibility layer.
 *
 * Sydney supplies the layout system, responsive breakpoints and component
 * styling. These selectors retain the intentional visual choices from the
 * former Project Vox/Sydney 1.52 child stylesheet without copying an older
 * version of Sydney over the active parent theme.
 */

/* Keep the email icon used by the Project Vox social menu. */
.social-menu-widget a[href*="mailto"]::before {
	content: '\f0e0';
}

/* Match the established masthead type and spacing without replacing its DOM. */
.site-description {
	color: #efefef;
	font-size: 16px;
	line-height: 1.6;
	margin: 15px 0 0;
}

#mainnav ul li a {
	font-family: "Raleway", sans-serif;
	font-size: 16px;
	font-weight: 500;
}

#mainnav ul ul a {
	font-family: "Source Sans Pro", sans-serif !important;
}

/* Retain Project Vox's muted headings and body copy on current Sydney markup. */
h1,
h2,
h3,
h4,
h5,
h6,
.hentry .title-post {
	color: #443f3f;
}

/*
 * Sydney 1.52 supplied these content-container offsets. They are presentation
 * values used by Project Vox pages and singles, not framework layout rules.
 */
.page-wrap .content-wrapper {
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: #fff;
}

.page .page-wrap .content-wrapper,
.single .page-wrap .content-wrapper {
	padding: 30px;
}

.page-template-page_front-page .page-wrap .content-wrapper {
	padding-top: 0;
	padding-bottom: 0;
	background-color: transparent;
}

/* Project Vox sliders are image-led; their titles were intentionally empty. */
.text-slider .maintitle,
.text-slider .subtitle {
	display: none;
}

/* Preserve the compact archive titles. */
.posts-layout .entry-title,
.hentry .title-post {
	font-size: 20px;
}

.archive-title {
	color: #443f3f;
	font-size: 32px;
	line-height: 1.2;
	margin: 7px 0 12px;
}

h1.archive-title {
	font-size: 32px;
}

.archive-header {
	margin-bottom: 48px;
}

/* The original theme used the Project Vox accent for linked headings. */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.posts-layout .entry-title a {
	color: #d65050;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.posts-layout .entry-title a:hover {
	color: #443f3f;
}

/* Keep the legacy archive rhythm while retaining Sydney's responsive grid. */
.content-area .entry-thumb {
	margin-bottom: 30px;
	text-align: center;
}

.content-area.layout5:not(.layout4):not(.layout6) .posts-layout .entry-thumb {
	margin-bottom: 36px;
}

/* Legacy Project Vox archive metadata sits directly below each title. */
.layout5 .posts-layout .entry-header {
	margin-bottom: 0;
}

.layout5 .posts-layout .entry-meta {
	align-items: baseline;
	flex-wrap: wrap;
	margin: 0 0 20px;
}

.layout5 .posts-layout .entry-post {
	color: #0a0a0a;
}

/* Restore the two-line, icon-led legacy Project Vox archive metadata. */
.layout5 .posts-layout .entry-meta.delimiter-dot > .posted-on::after,
.layout5 .posts-layout .entry-meta.delimiter-dot > .byline::after {
	display: none;
}

.layout5 .posts-layout .entry-meta .posted-on::before,
.layout5 .posts-layout .entry-meta .byline::before,
.layout5 .posts-layout .entry-meta .cat-links::before {
	font-family: FontAwesome;
	margin-right: 8px;
}

.layout5 .posts-layout .entry-meta .posted-on::before {
	content: "\f073";
}

.layout5 .posts-layout .entry-meta .posted-on {
	margin-right: 18px;
}

.layout5 .posts-layout .entry-meta .posted-on a::before {
	content: "Posted ";
}

.layout5 .posts-layout .entry-meta .byline {
	font-size: 0;
}

.layout5 .posts-layout .entry-meta .byline::before {
	content: "\f007";
	font-size: 13px;
}

.layout5 .posts-layout .entry-meta .author {
	font-size: 0;
}

.layout5 .posts-layout .entry-meta .author a {
	font-size: 13px;
}

.layout5 .posts-layout .entry-meta .cat-links {
	flex-basis: 100%;
	margin-top: 3px;
}

.layout5 .posts-layout .entry-meta .cat-links::before {
	content: "\f114";
}

.layout5 .posts-layout .entry-meta .cat-links a:first-of-type::before {
	content: "Posted in ";
}

.hentry .title-post {
	font-weight: 600;
	line-height: normal;
	margin: 0;
	padding-bottom: 10px;
}

.posts-layout .entry-meta {
	color: #5e5e5e;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	margin-bottom: 20px;
	text-transform: none;
}

.posts-layout .entry-meta a {
	color: #5e5e5e;
}

/* Keep home-page bylines within the same muted metadata color system. */
.entry-meta a,
.entry-meta .author a.url {
	color: #5e5e5e;
}

/* Treat each date, author, and category group as one interactive item. */
.entry-meta > *:hover,
.entry-meta > *:hover *,
.entry-meta > *:hover a,
.entry-meta > *:focus-within,
.entry-meta > *:focus-within *,
.entry-meta > *:focus-within a,
.entry-meta a:hover,
.entry-meta a:focus-visible {
	color: #d65050;
}

/* Match Sydney's archive selector specificity. */
.posts-layout .entry-meta > *:hover,
.posts-layout .entry-meta > *:hover *,
.posts-layout .entry-meta > *:hover a,
.posts-layout .entry-meta > *:focus-within,
.posts-layout .entry-meta > *:focus-within *,
.posts-layout .entry-meta > *:focus-within a,
.posts-layout .entry-meta a:hover,
.posts-layout .entry-meta a:focus-visible {
	color: #d65050;
}

/* Retain visible keyboard focus. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #d65050;
	outline-offset: 2px;
}

/*
 * Keep the legacy pagination treatment while Sydney supplies its native
 * previous/next symbols. The selectors apply to either navigation output.
 */
.navigation.pagination .nav-links .page-numbers {
	background-color: #f7f7f7;
	color: #443f3f;
	display: inline-block;
	height: auto;
	line-height: 1;
	margin-right: 0;
	padding: 20px;
	width: auto;
}

.navigation.pagination .nav-links .page-numbers.dots {
	background-color: #f7f7f7;
	color: #443f3f;
}

.navigation.pagination .nav-links .page-numbers:not(.dots):hover,
.navigation.pagination .nav-links .page-numbers.current {
	background-color: #252525;
	color: #fff;
}

.post-navigation {
	margin: 30px 0;
}

/* Reapply the legacy footer palette and compact credit area to Sydney markup. */
.footer-widgets {
	background-color: #252525;
}

.footer-widgets .widget-title {
	color: #c5c5c5;
}

/* Current Sydney removes last-widget spacing; the historical footer retained it. */
.footer-widgets-grid {
	padding-bottom: 113px;
	padding-top: 97px;
}

#sidebar-footer .sidebar-column > .widget:last-child {
	margin-bottom: 60px;
}

/* Keep the established widget rhythm inside Sydney's current footer grid. */
#sidebar-footer .sidebar-column {
	position: relative;
	top: -2px;
}

#sidebar-footer #block-3 {
	position: relative;
	top: 47px;
}

#sidebar-footer #custom_html-5 {
	position: relative;
	top: 50px;
}

#sidebar-footer .widget_fp_social .social-menu-widget a::before {
	font-size: 34px;
}

.site-footer {
	background-color: #1c1c1c;
	line-height: 35px;
	padding: 15px 0;
}

.site-footer,
.site-footer a {
	color: #666;
}

.site-info {
	padding: 0;
}

.site-info .sydney-credits {
	text-align: left;
}

/* Preserve the established image-first sequence on single entries. */
.projectvox-single-thumbnail {
	padding: 8px;
}

.projectvox-single-date {
	margin: 0;
}

@media screen and (max-width: 767px) {
	.footer-widgets-grid {
		padding-bottom: 105px;
	}

	#sidebar-footer .sidebar-column:nth-child(2) {
		top: 8px;
	}

	#sidebar-footer .sidebar-column:nth-child(3) {
		top: -31px;
	}

	#sidebar-footer #block-3 {
		top: 50px;
	}
}

/* Metadata used to be one compact block above employee biographies. */
.projectvox-employee-metadata {
	margin: 0 0 20px;
}

/* Existing Customizer CSS, replicated here so the child owns its presentation. */
.ui-helper-reset {
	line-height: inherit;
}

h1.title-post.entry-title {
	font-size: 2.5em;
}

.single .hentry .title-post {
	font-size: 36px;
}

/*
 * SiteOrigin Image Grid support retained for editor-created grids.
 */
#content .projectvox-image-grid .sow-image-grid-wrapper {
	display: grid !important;
	gap: 5px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

#content .projectvox-image-grid .sow-image-grid-image {
	aspect-ratio: 1;
	background: #333;
	min-width: 0;
	padding: 0 !important;
	position: relative;
}

#content .projectvox-image-grid .sow-image-grid-image a,
#content .projectvox-image-grid .sow-image-grid-image img {
	display: block;
	height: 100%;
	width: 100%;
}

#content .projectvox-image-grid .sow-image-grid-image img {
	object-fit: cover;
	opacity: 1 !important;
}

#content .projectvox-image-grid .sow-image-grid-image .image-title {
	background: rgb(0 0 0 / 55%);
	bottom: 0;
	box-sizing: border-box;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	left: 0;
	line-height: 1.25;
	padding: 0.45rem 0.55rem;
	pointer-events: none;
	position: absolute;
	right: 0;
	text-align: left;
	z-index: 1;
}

@media screen and (max-width: 991px) {
	#content .projectvox-image-grid .sow-image-grid-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	#content .projectvox-image-grid .sow-image-grid-wrapper {
		grid-template-columns: 1fr;
	}
}

#content {
	padding-top: 0;
}

#page_menu {
	background-color: #f5f5f5;
	border-radius: 8px;
	padding: 8px;
}

.display-posts-listing .listing-item {
	clear: both;
}

.display-posts-listing img {
	float: left;
	margin: 0 10px 10px 0;
}
