/*
Theme Name: Overmountain Base Child
Theme URI: https://overmountainstudios.com/
Author: Overmountain Studios
Author URI: https://overmountainstudios.com/
Description: Minimal child theme for Overmountain Base.
Version: 0.1.5
Template: overmountain-base
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: overmountain-base-child
*/

/* Add client/build-specific overrides here. */
@media screen and (min-width: 1025px){
	.testimonial_section_image
	{
		position: relative;
		left: 4rem;
	}
	.testimonial_section_caption
	{
		position: relative;
		right: 4rem;
	}
	
}
@media screen and (max-width: 1024px){
	.ovm-child-footer__nav
	{
		display: none!important;
	}
}

.kb-post-list-item .entry-header
{
	padding-block: 0;
}


/* Single post / blog styling. */
body,
#page,
.site {
	background: #1c2e3f;
}

.ovm-blog-hero {
	background-color: #1c2e3f;
	background-image: linear-gradient(rgba(28, 46, 63, 0.35), rgba(28, 46, 63, 0.35)), url('/wp-content/uploads/2026/06/blog-header.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #ffffff;
	margin: 0;
	padding: clamp(3.5rem, 8vw, 7rem) 1.5rem;
	text-align: center;
}

.ovm-blog-hero__inner {
	margin: 0 auto;
	max-width: 1440px;
}

.ovm-blog-hero__title {
	color: inherit;
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
}

.ovm-single-post-main {
	background: #1c2e3f;
	color: #ffffff;
	margin: 0 auto;
	max-width: 960px;
	padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.ovm-single-post {
	margin: 0;
}

.ovm-single-post__header {
	margin: 0 0 2rem;
}

.ovm-single-post__date {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 0.75rem;
}

.ovm-single-post__title {
	color: #ffffff;
	font-family: Lato, Arial, sans-serif;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}

.ovm-single-post__content {
	font-size: 1rem;
	line-height: 1.75;
}

.ovm-single-post__content > *:first-child {
	margin-top: 0;
}

.ovm-single-post__content > *:last-child {
	margin-bottom: 0;
}

.ovm-single-post__content a,
.ovm-single-post-main .comments-area a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.ovm-single-post__content img,
.ovm-single-post__content iframe,
.ovm-single-post__content video {
	max-width: 100%;
}

.ovm-single-post-main .comments-area {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: 2rem;
}

.ovm-single-post-main .comments-area input,
.ovm-single-post-main .comments-area textarea {
	background: #ffffff;
	color: #1c2e3f;
}


/* Child footer override. Uses the same primary menu markup/style language as the header, with footer-only upward dropdowns. */
.ovm-child-footer {
	--ovm-footer-bg: #021a29;
	--ovm-footer-text: #ffffff;
	background: var(--ovm-footer-bg);
	border-top: 0;
	color: var(--ovm-footer-text);
	margin-top: 0;
	padding: 2rem 1.5rem;
}

.ovm-child-footer__inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
	min-height: 0;
	text-align: center;
}

.ovm-child-footer__nav {
	display: flex;
	justify-content: center;
	width: 100%;
}

.ovm-child-footer .site-menu,
.ovm-child-footer-menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 1rem;
	gap: clamp(.75rem, 2vw, 1.5rem);
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ovm-child-footer .site-menu li {
	position: relative;
}

.ovm-child-footer .site-menu a {
	color: var(--ovm-footer-text);
	font-weight: 700;
	text-decoration: none;
}

.ovm-child-footer .site-menu a:hover,
.ovm-child-footer .site-menu a:focus {
	color: var(--ovm-footer-text);
	text-decoration: underline;
	text-decoration-thickness: 0.12em;
}

.ovm-child-footer .site-menu > .menu-item-has-children > a {
	align-items: center;
	display: inline-flex;
	gap: 0;
}

.ovm-child-footer .site-menu .sub-menu {
	background: #ffffff;
	border: 1px solid var(--ovm-border);
	border-radius: 0;
	bottom: calc(100% - 1px);
	box-shadow: none;
	display: none;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 220px;
	padding: 0;
	position: absolute;
	text-align: left;
	top: auto;
	z-index: 60;
}

.ovm-child-footer .site-menu li:hover > .sub-menu,
.ovm-child-footer .site-menu li:focus-within > .sub-menu {
	display: block;
}

.ovm-child-footer .site-menu .sub-menu .sub-menu {
	bottom: 0;
	left: calc(100% - 1px);
	top: auto;
}

.ovm-child-footer .site-menu .sub-menu a {
	color: var(--ovm-text);
	display: block;
	padding: .65rem .75rem;
	white-space: nowrap;
}

.ovm-child-footer .site-menu .sub-menu a:hover,
.ovm-child-footer .site-menu .sub-menu a:focus {
	color: var(--ovm-primary);
	text-decoration: none;
}

.ovm-child-footer .site-menu .sub-menu .menu-item-has-children > a {
	align-items: center;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	width: 100%;
}

.ovm-child-footer .ovm-menu-submenu-icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	height: 1em;
	justify-content: center;
	line-height: 1;
	width: 1em;
}

.ovm-child-footer .ovm-menu-submenu-icon__svg {
	display: block;
	height: 1em;
	width: 1em;
}

.ovm-child-footer .ovm-menu-submenu-icon--mobile,
.ovm-child-footer .site-menu .sub-menu .ovm-menu-submenu-icon--desktop-top-level,
.ovm-child-footer .site-menu > li > a .ovm-menu-submenu-icon--desktop-submenu {
	display: none;
}

.ovm-child-footer__copyright {
	color: var(--ovm-footer-text);
	font-size: 0.8125rem;
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 800px) {
	.ovm-child-footer .site-menu,
	.ovm-child-footer-menu {
		align-items: center;
		flex-direction: column;
		gap: .25rem;
	}

	.ovm-child-footer .site-menu > .menu-item-has-children > a {
		display: flex;
		gap: .5rem;
		justify-content: center;
		width: 100%;
	}

	.ovm-child-footer .site-menu .sub-menu {
		background: transparent;
		border: 0;
		border-radius: 0;
		bottom: auto;
		box-shadow: none;
		display: block;
		left: auto;
		margin: .25rem 0 0;
		min-width: 0;
		padding: 0;
		position: static;
		text-align: center;
	}

	.ovm-child-footer .site-menu .sub-menu .sub-menu {
		bottom: auto;
		left: auto;
		top: auto;
	}

	.ovm-child-footer .site-menu a,
	.ovm-child-footer .site-menu .sub-menu a {
		align-items: center;
		color: var(--ovm-footer-text);
		display: flex;
		gap: .5rem;
		justify-content: center;
		padding: .5rem .75rem;
		white-space: normal;
	}

	.ovm-child-footer .site-menu .sub-menu a:hover,
	.ovm-child-footer .site-menu .sub-menu a:focus {
		color: var(--ovm-footer-text);
		text-decoration: underline;
	}

	.ovm-child-footer .ovm-menu-submenu-icon--desktop-top-level,
	.ovm-child-footer .ovm-menu-submenu-icon--desktop-submenu {
		display: none;
	}

	.ovm-child-footer .ovm-menu-submenu-icon--mobile {
		display: inline-flex;
	}
}
