/*
Theme Name: Funeral Services – Elida MG
Template: funeral-services
Version: 1.0.0
Description: Light, classy color scheme and content fixes for Elida MG funeral agency, built on top of the free Funeral Services theme. Kept as a child theme so parent theme updates never overwrite these customizations.
Author: Elida MG
*/

/* keep the page title readable over the now less-veiled banner photo */
.inner-cover-img .wp-block-post-title {
	text-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.85);
}

/* ---------- header ---------- */
@media (min-width: 1200px) { header.wp-block-template-part { position: sticky; top: 0; z-index: 100; } }
.elida-header {
	background: #fff;
	border-bottom: 2px solid #a9812e;
	box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.35);
}
.elida-header__top,
.elida-header__nav {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}
.elida-header__top { padding-top: 16px; padding-bottom: 12px; gap: 12px 24px; }
.elida-header .wp-block-site-title { margin: 0; line-height: 1.15; }
.elida-header .wp-block-site-title a {
	font-family: "Inter", sans-serif;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}
.elida-header__contact { gap: 8px 20px; }
.elida-header__phone { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; }
.elida-header__phone::before { content: "\260E"; color: #a9812e; margin-right: -4px; }
.elida-header__phone a {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--wp--preset--color--heading);
	text-decoration: none;
	white-space: nowrap;
}
.elida-header__phone a:hover { color: #a9812e; }
.elida-header__cta .wp-block-button__link {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	border-radius: 2px;
	padding: 10px 22px;
	text-decoration: none;
}
.elida-header__cta .wp-block-button__link:hover { background: #8a6821; }
.elida-header__nav { border-top: 1px solid rgba(0, 0, 0, 0.09); }
.elida-nav .wp-block-navigation__container { gap: 0 20px; flex-wrap: wrap; justify-content: center; }
.elida-nav .wp-block-navigation-item__content {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.1px;
	color: var(--wp--preset--color--heading) !important;
	padding: 13px 0;
	position: relative;
	text-decoration: none;
}
.elida-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 6px;
	height: 2px;
	background: #a9812e;
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.elida-nav .wp-block-navigation-item__content:hover { color: #a9812e !important; }
.elida-nav .wp-block-navigation-item__content:hover::after,
.elida-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.elida-nav .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--heading); }

@media (max-width: 781px) {
	.elida-header .wp-block-site-title a { font-size: 22px; }
	.elida-header__phone a { font-size: 15px; }
	.elida-header__cta { display: none !important; }
	.elida-header__nav { border-top: 0; padding-top: 0; padding-bottom: 6px; }
}

/* ---------- footer ---------- */
footer .wp-block-site-title a { color: var(--wp--preset--color--heading); text-decoration: none; }

/* "available 24/7" note above the header phone numbers */
.elida-header__phones { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.elida-header__avail {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #a9812e;
	line-height: 1.2;
}
.elida-header__avail::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #a9812e; margin-right: 8px; vertical-align: 1px; }
@media (max-width: 781px) {
	.elida-header__phones { align-items: flex-start; }
	.elida-header__avail { font-size: 11px; letter-spacing: 1px; }
}

/* ---------- burial / cremation package cards ---------- */
.elida-packages { gap: 28px; margin-top: 40px; }
.elida-package {
	height: 100%;
	box-sizing: border-box;
	background: #faf8f4;
	border: 1px solid rgba(169, 129, 46, 0.55);
	border-top: 4px solid #a9812e;
	padding: 28px 28px 22px;
}
.elida-package__label {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #a9812e;
}
.elida-package__title { margin: 0 0 6px; font-size: 22px; line-height: 1.3; }
.elida-package__price {
	margin: 0 0 16px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	color: #a9812e;
}
.elida-package ul { margin-top: 8px; padding-left: 20px; }
.elida-package li { margin-bottom: 4px; }
.elida-package li ul { margin-top: 4px; }
.elida-package__note { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, 0.1); color: #555; }
