/**
 * Styles for Page content (patterns) and the main Page template (page.html).
 */

/* Match nav bar purple when theme style.css isn’t loaded in editor. */
:root {
	--murphy-accent-purple: #6b3d9a;
}

/* --- templates/page.html (interior pages) --- */
.murphy-page-template .wp-block-post-featured-image {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.murphy-page-template .wp-block-post-featured-image img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	height: auto;
	max-width: 100%;
}

.murphy-page-template .murphy-page-template__title,
.murphy-page-template .wp-block-post-title.murphy-page-template__title {
	color: #111111;
	line-height: 1.2;
	text-align: left;
	text-transform: none;
	width: 100%;
}

.murphy-page-template .wp-block-post-content {
	width: 100%;
}

/* --- templates/front-page.html: full-width LayerSlider band only (id fixed in template) --- */
.murphy-front-slider__band {
	max-width: 100%;
	box-sizing: border-box;
}

.murphy-front-slider__band .wp-block-shortcode {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.murphy-front-slider__band .ls-wp-container,
.murphy-front-slider__band [id^="layerslider_"] {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.murphy-front-slider__band .ls-wp-container img,
.murphy-front-slider__band [id^="layerslider_"] img {
	max-width: none !important;
}

/* LayerSlider UI: grey instead of default white (timers, sprites, light slidebar, thumbnails) */
.murphy-front-slider__band .ls-minimal {
	background: #e4e4e4 !important;
}

.murphy-front-slider__band .ls-bar-timer {
	background: #888888 !important;
	border-bottom-color: #555555 !important;
}

.murphy-front-slider__band .ls-ct-half {
	border-color: #777777 !important;
}

.murphy-front-slider__band .ls-slidebar-light .ls-slidebar {
	background-color: #cccccc !important;
	border-color: #999999 !important;
}

.murphy-front-slider__band .ls-slidebar-light .ls-progressbar {
	background-color: #999999 !important;
}

.murphy-front-slider__band .ls-slidebar-light .ls-slidebar-slider {
	background-color: #888888 !important;
	border-color: #666666 !important;
}

.murphy-front-slider__band .ls-nav-prev,
.murphy-front-slider__band .ls-nav-next,
.murphy-front-slider__band .ls-nav-start,
.murphy-front-slider__band .ls-nav-stop,
.murphy-front-slider__band .ls-bottom-slidebuttons a,
.murphy-front-slider__band .ls-nav-sides,
.murphy-front-slider__band .ls-fullscreen,
.murphy-front-slider__band .ls-playvideo {
	filter: brightness(0) invert(52%) !important;
}

.murphy-front-slider__band .ls-thumbnail-hover-bg {
	background: #d0d0d0 !important;
}

.murphy-front-slider__band .ls-thumbnail-hover span {
	border-color: #b8b8b8 !important;
}

.murphy-front-slider__band .ls-thumbnail-inner {
	background: #d8d8d8 !important;
}

/* Footer — social icons: same purple as nav indicator (--murphy-accent-purple in style.css) */
.murphy-footer-social {
	border-top: 1px solid #e8e8e8;
}

.murphy-footer-social .wp-block-social-links {
	gap: 1.75rem;
	color: var(--murphy-accent-purple, #6b3d9a) !important;
}

.murphy-footer-social .wp-block-social-link .wp-block-social-link-anchor {
	color: var(--murphy-accent-purple, #6b3d9a) !important;
}

.murphy-footer-social .wp-block-social-link svg,
.murphy-footer-social .wp-block-social-link svg path {
	fill: currentColor;
}

.murphy-footer-social .wp-block-social-link .wp-block-social-link-anchor {
	padding: 0.4rem;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.murphy-footer-social .wp-block-social-link .wp-block-social-link-anchor:hover,
.murphy-footer-social .wp-block-social-link .wp-block-social-link-anchor:focus {
	opacity: 0.82;
	transform: translateY(-1px);
}

.murphy-footer-social .wp-block-social-link svg {
	width: 1.85rem;
	height: 1.85rem;
}

.murphy-page-content {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.murphy-page-content .murphy-page-content__photo img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 560px;
	height: auto;
}

.murphy-page-content .murphy-page-content__headline {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.35;
	color: #111111;
}

.murphy-page-content .murphy-page-content__tagline {
	margin-top: 0;
	margin-bottom: 0;
	color: #444444;
}

.murphy-page-content .murphy-page-content__cta {
	margin-top: 0.25rem;
}

/* Red CTA — block style "Murphy red CTA" */
.wp-block-button.is-style-murphy-red-cta .wp-block-button__link,
.wp-block-button.is-style-murphy-red-cta .wp-block-button__link:visited {
	background-color: #e31c1c;
	color: #ffffff;
	border: none;
	border-radius: 3px;
	padding: 0.65rem 1.65rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.wp-block-button.is-style-murphy-red-cta .wp-block-button__link:hover,
.wp-block-button.is-style-murphy-red-cta .wp-block-button__link:focus {
	background-color: #c41515;
	color: #ffffff;
}
