/*
Theme Name: Ashe Pro Child
Theme URI: https://wp-royal-themes.com/themes/item-ashe-pro/
Description: Child theme for Ashe Pro Premium customizations.
Author: Royal Flush
Template: ashe-pro-premium
Version: 1.1.0
Text Domain: ashe-pro-child
*/

/*
Add custom CSS below this line.
*/

.main-content {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.wp-block-group.is-style-pm-width-900,
.wp-block-group.is-style-pm-width-1100,
.wp-block-group.is-style-pm-width-1280,
.wp-block-group.is-style-pm-width-1440 {
	box-sizing: border-box;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.wp-block-group.is-style-pm-width-900 {
	max-width: 900px;
}

.wp-block-group.is-style-pm-width-1100 {
	max-width: 1100px;
}

.wp-block-group.is-style-pm-width-1280 {
	max-width: 1280px;
}

.wp-block-group.is-style-pm-width-1440 {
	max-width: 1440px;
}

.post-content h1:not([class*="-font-size"]),
.entry-content h1:not([class*="-font-size"]) {
	font-size: clamp(38px, 4.5vw, var(--pm-heading-base, 44px));
	line-height: 1.08;
}

.post-title,
.page-title {
	font-size: clamp(38px, 4.5vw, var(--pm-heading-base, 44px));
	line-height: 1.08 !important;
}

.post-content h2:not([class*="-font-size"]),
.entry-content h2:not([class*="-font-size"]) {
	font-size: clamp(30px, 3.4vw, 42px);
	line-height: 1.12;
}

.post-content h3:not([class*="-font-size"]),
.entry-content h3:not([class*="-font-size"]) {
	font-size: clamp(26px, 2.7vw, 34px);
	line-height: 1.16;
}

.post-content h4:not([class*="-font-size"]),
.entry-content h4:not([class*="-font-size"]) {
	font-size: clamp(22px, 2.2vw, 29px);
	line-height: 1.22;
}

.post-content h5:not([class*="-font-size"]),
.entry-content h5:not([class*="-font-size"]) {
	font-size: clamp(19px, 1.8vw, 24px);
	line-height: 1.28;
}

.post-content h6:not([class*="-font-size"]),
.entry-content h6:not([class*="-font-size"]) {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.32;
}

.footer-socials a,
.footer-socials a:hover,
.footer-socials a:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}

.footer-socials a::before,
.footer-socials a::after {
	text-decoration: none !important;
}

#mobile-menu li a,
#mobile-menu li a:hover,
#mobile-menu li a:focus {
	text-decoration: none !important;
}

html.ashe-dark-mode .entry-header,
body.ashe-dark-mode .entry-header {
	background-color: #222222 !important;
}

html.ashe-dark-mode #page-footer,
body.ashe-dark-mode #page-footer {
	background-color: #111111 !important;
}

html.ashe-dark-mode .footer-widgets,
body.ashe-dark-mode .footer-widgets {
	background-color: #222222 !important;
}

html.ashe-dark-mode #page-footer,
body.ashe-dark-mode #page-footer,
html.ashe-dark-mode #page-footer a,
body.ashe-dark-mode #page-footer a {
	color: #c4c4c4;
}

html.ashe-dark-mode #page-footer a:hover,
html.ashe-dark-mode #page-footer a:focus,
body.ashe-dark-mode #page-footer a:hover,
body.ashe-dark-mode #page-footer a:focus {
	color: #ca9b52 !important;
}

html.ashe-dark-mode img,
body.ashe-dark-mode img {
	filter: none !important;
}

.pm-editorial-home {
	background: #ffffff;
}

.pm-editorial-hero {
	margin-top: 0;
}

.pm-editorial-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

.pm-editorial-hero-copy {
	max-width: 520px;
	margin-left: 0;
	padding: 56px 0;
	color: #ffffff;
}

.pm-editorial-hero-copy h1 {
	margin: 0 0 18px;
	font-size: clamp(42px, 6vw, 82px);
	line-height: 0.98;
}

.pm-editorial-hero-copy p {
	font-size: 17px;
	line-height: 1.7;
}

.pm-eyebrow {
	margin-bottom: 10px;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.pm-editorial-intro {
	padding: 72px 0 34px;
}

.pm-editorial-intro h2 {
	margin-top: 0;
	font-size: clamp(32px, 4vw, 52px);
}

.pm-service-grid {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 24px 0;
	gap: 24px;
}

.pm-service-card {
	position: relative;
	min-height: 560px;
	overflow: hidden;
}

.pm-service-card::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #000000;
	content: "";
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.pm-service-card .wp-block-cover__background {
	background-color: #000000 !important;
	opacity: 0 !important;
	transition: opacity 220ms ease;
}

.pm-service-card .wp-block-cover__image-background {
	z-index: 0;
	transition: transform 260ms ease;
}

.pm-service-card .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	color: #ffffff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 220ms ease, visibility 220ms ease;
}

.pm-service-card .wp-block-cover__inner-container h1,
.pm-service-card .wp-block-cover__inner-container h2,
.pm-service-card .wp-block-cover__inner-container h3,
.pm-service-card .wp-block-cover__inner-container h4,
.pm-service-card .wp-block-cover__inner-container h5,
.pm-service-card .wp-block-cover__inner-container h6,
.pm-service-card .wp-block-cover__inner-container p {
	color: #ffffff !important;
}

.pm-service-card:hover::before,
.pm-service-card:focus-within::before {
	opacity: 0.62;
}

.pm-service-card:hover .wp-block-cover__background,
.pm-service-card:focus-within .wp-block-cover__background {
	opacity: 0.62 !important;
}

.pm-service-card:hover .wp-block-cover__image-background,
.pm-service-card:focus-within .wp-block-cover__image-background {
	transform: scale(1.035);
}

.pm-service-card:hover .wp-block-cover__inner-container,
.pm-service-card:focus-within .wp-block-cover__inner-container {
	opacity: 1;
	visibility: visible;
}

.mh-home {
	background: #ffffff;
	padding-top: 0;
}

.mh-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(256px, 1fr));
	width: 100vw;
	max-width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: 0;
	gap: 0;
}

.editor-styles-wrapper .mh-grid {
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

.mh-grid > .wp-block-column {
	width: auto;
	min-width: 0;
	margin: 0 !important;
}

.mh-card {
	position: relative;
	overflow: hidden;
	height: clamp(560px, 48vw, 960px) !important;
	min-height: 560px !important;
	margin: 0 !important;
	cursor: pointer;
}

.mh-card .wp-block-cover__background {
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.48) 100%) !important;
	opacity: 1 !important;
}

.mh-card .wp-block-cover__image-background {
	z-index: 0;
	filter: grayscale(100%) !important;
	transition: filter 520ms ease, transform 620ms ease;
}

.mh-card .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 24px 8px;
	text-align: center;
	opacity: 1;
	visibility: visible;
}

.mh-card .wp-block-cover__inner-container > * {
	position: relative;
	z-index: 2;
}

.mh-card:hover .wp-block-cover__image-background,
.mh-card:focus-within .wp-block-cover__image-background {
	filter: grayscale(0%) !important;
	transform: scale(1.035);
}

.mh-title {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0;
	opacity: 0.85;
	transform: translateY(0);
	transition: opacity 520ms ease, transform 620ms ease, letter-spacing 520ms ease;
	white-space: nowrap;
}

.mh-card p {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0;
	opacity: 0.85;
	transform: translateY(0);
	transition: opacity 520ms ease, transform 620ms ease;
	white-space: nowrap;
}

.mh-title a {
	color: #ffffff !important;
	text-decoration: none;
}

.mh-title a::after {
	position: absolute;
	inset: 0;
	z-index: 5;
	content: "";
}

.mh-title a:focus-visible::after {
	outline: 2px solid #ffffff;
	outline-offset: 6px;
}

.mh-card:hover .mh-title,
.mh-card:focus-within .mh-title {
	opacity: 1;
	transform: translateY(-8px);
}

.mh-card:hover p,
.mh-card:focus-within p {
	opacity: 1;
	transform: translateY(-8px);
}

@media (hover: none), (pointer: coarse) {
	.mh-card:hover .wp-block-cover__image-background,
	.mh-card:focus-within .wp-block-cover__image-background {
		filter: grayscale(100%) !important;
		transform: none;
	}

	.mh-card.is-touch-activating .wp-block-cover__image-background,
	.mh-card.is-touch-visible .wp-block-cover__image-background {
		filter: grayscale(0%) !important;
		transform: scale(1.035);
	}

	.mh-card.is-touch-activating .mh-title,
	.mh-card.is-touch-activating p,
	.mh-card.is-touch-visible .mh-title,
	.mh-card.is-touch-visible p {
		opacity: 1;
		transform: translateY(-8px);
	}
}

.mh-quote {
	padding-top: 38px;
	padding-bottom: 64px;
}

.pm-editorial-hero-copy .wp-block-button__link {
	border-radius: 0;
	padding: 10px 22px;
}

.pm-editorial-quote {
	padding: 72px 0 86px;
}

.pm-editorial-quote p {
	font-size: clamp(28px, 4vw, 52px);
	font-family: Georgia, serif;
	font-style: italic;
	line-height: 1.25;
}

html.ashe-dark-mode .pm-editorial-home,
body.ashe-dark-mode .pm-editorial-home,
html.ashe-dark-mode .mh-home,
body.ashe-dark-mode .mh-home {
	background: #222222;
}

html.ashe-dark-mode .pm-editorial-intro,
body.ashe-dark-mode .pm-editorial-intro,
html.ashe-dark-mode .pm-editorial-quote,
body.ashe-dark-mode .pm-editorial-quote,
html.ashe-dark-mode .mh-quote,
body.ashe-dark-mode .mh-quote {
	color: #ffffff;
}

@media screen and (max-width: 768px) {
	.pm-editorial-hero {
		min-height: 520px !important;
	}

	.pm-editorial-hero .wp-block-cover__inner-container {
		width: 100%;
		max-width: 520px;
	}

	.pm-editorial-hero-copy {
		padding: 40px 0;
	}

	.pm-editorial-intro {
		padding-top: 48px;
	}

	.pm-service-grid {
		padding: 16px 0;
	}

	.pm-service-card {
		min-height: 430px !important;
	}

	.pm-service-card .wp-block-cover__background {
		opacity: 0 !important;
	}

	.mh-card .wp-block-cover__background {
		opacity: 1 !important;
	}

	.mh-grid {
		grid-template-columns: 1fr;
		width: 100vw;
		max-width: 100vw;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
		padding: 0;
	}

	.mh-card {
		height: auto !important;
		min-height: clamp(620px, 135vw, 760px) !important;
	}

	.mh-title {
		font-size: clamp(3.6rem, 14vw, 5.6rem) !important;
	}

	.pm-editorial-quote {
		padding-top: 50px;
		padding-bottom: 64px;
	}

	.footer-copyright {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		gap: 14px;
		overflow: visible;
	}

	.footer-copyright .footer-socials {
		order: 1;
		width: 100%;
		float: none !important;
		margin-top: 0 !important;
		text-align: center;
	}

	.footer-copyright .copyright-info {
		order: 2;
		width: 100%;
		float: none !important;
		text-align: center;
	}

	.footer-copyright .footer-menu-container {
		order: 3;
		width: 100%;
		float: none !important;
		text-align: center;
	}
}
