/*
Theme Name: Nazareth Child
Template: nazareth
Theme URI: https://nazareth.axiomthemes.com/
Description: Nazareth is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AxiomThemes
Author URI: https://axiomthemes.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Fix page content overlapping into footer */
.page_content_wrap {
	padding-bottom: 200px !important;
}

/* Ensure footer sits above page content (map iframes, etc.) */
.footer_wrap {
	position: relative;
	z-index: 10;
}

/* Contain Elementor content within page area */
.page_content_wrap .post_content > .elementor {
	position: relative;
	z-index: 0;
}

/* Prevent Google Maps iframe from breaking out of its container */
.page_content_wrap iframe {
	position: relative;
	z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.chandler-ministry-target {
	scroll-margin-top: 100px;
	transition: box-shadow 0.45s ease, border-radius 0.45s ease;
}

.chandler-ministry-target.chandler-ministry-target--active {
	border-radius: 24px;
	box-shadow: 0 0 0 6px rgba(15, 76, 92, 0.14);
}

/* Header/logo readability */
.top_panel_custom .sc_layouts_item.elementor-widget-trx_sc_layouts_logo {
	flex: 0 0 auto;
	width: auto !important;
}

.top_panel_custom .sc_layouts_item.elementor-widget-trx_sc_layouts_logo .elementor-widget-container {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(15, 39, 47, 0.12);
	display: inline-flex;
	max-width: max-content;
	padding: 10px 18px;
}

.top_panel_custom .logo_image {
	max-height: 50px !important;
	width: auto;
}

.top_panel_custom .sc_layouts_menu_nav > li > a {
	font-weight: 700;
}

@media (min-width: 1025px) {
	.home .top_panel_custom_1025 .elementor-element.elementor-element-c4e1284 {
		width: 65% !important;
	}

	.home .top_panel_custom_1025 .elementor-element.elementor-element-d3d47e2 {
		width: 20% !important;
	}
}

@media (max-width: 766px) {
	.top_panel_custom .sc_layouts_item.elementor-widget-trx_sc_layouts_logo .elementor-widget-container {
		padding: 8px 14px;
	}

	.top_panel_custom .logo_image {
		max-height: 42px !important;
	}
}

/* Make handwritten/accent text more readable */
.sc_item_subtitle,
.sc_promo_subtitle,
.sc_item_title_style_accent,
.sc_layouts_title_breadcrumbs .breadcrumbs,
.sc_layouts_title_breadcrumbs .breadcrumbs a,
.sc_layouts_title_breadcrumbs .breadcrumbs span {
	font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem) !important;
	font-weight: 700 !important;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

/* Sermons section */
.chandler-sermons {
	max-width: 1120px;
	margin: 0 auto;
}

.chandler-sermons__player-shell {
	background: #091a20;
	border-radius: 18px;
	box-shadow: 0 22px 50px rgba(9, 26, 32, 0.18);
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
}

.chandler-sermons__player-shell iframe,
.chandler-sermons__player-shell > div {
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.chandler-sermons__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 26px;
}

.chandler-sermons__thumb {
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
	text-align: left;
	width: 100%;
}

.chandler-sermons__thumb-image {
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(15, 39, 47, 0.14);
	display: block;
	overflow: hidden;
	position: relative;
}

.chandler-sermons__thumb-image img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 0.25s ease;
	width: 100%;
}

.chandler-sermons__thumb:hover .chandler-sermons__thumb-image img,
.chandler-sermons__thumb.is-active .chandler-sermons__thumb-image img {
	transform: scale(1.03);
}

.chandler-sermons__thumb-play {
	align-items: center;
	background: rgba(9, 26, 32, 0.72);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	left: 16px;
	letter-spacing: 0.02em;
	padding: 10px 16px;
	position: absolute;
	top: 16px;
}

.chandler-sermons__thumb-title {
	color: #0f2730;
	display: block;
	font-size: 1rem;
	font-weight: 700;
	margin-top: 12px;
}

.chandler-sermons__cta {
	margin-top: 28px;
	text-align: center;
}

.chandler-sermons__cta a {
	background: #0f4c5c;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(15, 76, 92, 0.22);
	color: #fff !important;
	display: inline-block;
	font-weight: 700;
	padding: 14px 28px;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chandler-sermons__cta a:hover,
.chandler-sermons__cta a:focus {
	box-shadow: 0 16px 32px rgba(15, 76, 92, 0.28);
	transform: translateY(-1px);
}

@media (max-width: 1024px) {
	.chandler-sermons__grid {
		grid-template-columns: 1fr;
	}
}


/* Footer newsletter link should read like the other footer lists */
@media (min-width: 767px) {
	.footer_wrap .elementor-element.elementor-element-129cf00 {
		padding-right: 1.75rem;
		box-sizing: border-box;
	}

	.footer_wrap .elementor-element.elementor-element-170016e {
		padding-left: 1.75rem;
		box-sizing: border-box;
	}
}

.footer_wrap .elementor-element.elementor-element-5e23e4e ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer_wrap .elementor-element.elementor-element-5e23e4e li {
	line-height: 1.6;
	margin: 0;
	padding-left: 1rem;
	position: relative;
}

.footer_wrap .elementor-element.elementor-element-5e23e4e li::before {
	color: #f0be20;
	content: "\2022";
	font-size: 1.1em;
	font-weight: 700;
	left: 0;
	line-height: 1;
	position: absolute;
	top: 0.45em;
}

.footer_wrap .elementor-element.elementor-element-5e23e4e a {
	color: #ffffff !important;
	display: inline-block;
	font-weight: 600;
	text-decoration: none !important;
	vertical-align: middle;
}

.footer_wrap .elementor-element.elementor-element-5e23e4e a:hover,
.footer_wrap .elementor-element.elementor-element-5e23e4e a:focus {
	color: #f0be20 !important;
}
