/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

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

/* General */
@media (max-width: 1024px) {
	.min-height-112 {
		min-height: 112px;
	}
}
/* Forms */
.wp-block-kadence-advanced-form.kb-adv-form-label-style-infield.wp-block-kadence-advanced-form13_58066d-ba .kb-adv-form-label {
	font-size: var(--global-kb-font-size-md, 1.25rem);
}
.wp-block-kadence-advanced-form.kb-adv-form-label-style-infield.wp-block-kadence-advanced-form13_2614a0-99 .kb-adv-form-label {
	font-size: var(--global-kb-font-size-md, 1.25rem);
}
/* Top Bar */
.site-top-header-wrap .site-container {
	max-width: 1600px;
	max-width: 1300px;
}
.site-main-header-wrap .site-container {
	max-width: 1900px;
	max-width: 1600px;
}
/* Pricing Banner */
.pricing-container .kt-inside-inner-col:before {
	background-image: url('https://www.elleryarborlife.com/wp-content/uploads/2025/05/senior-living-pricing.png');
	background-size: contain;
	background-position: 100% 100%;
	background-attachment: scroll;
	background-repeat: no-repeat;
	content: '';
	position: absolute;
	top: -75px;
	left: -75px;
	right: 0px;
	bottom: 0px;
	z-index: 1;
}
@media (max-width: 1140px) {
	.pricing-container .kt-inside-inner-col:before {
		top: 60px;
		left: 0px;
	}
}
@media (max-width: 1024px) {
	.pricing-container .kt-inside-inner-col:before {
		top: 50%;
	}
}
/* Home */
.gld-divid-btm {
	position: absolute;
	bottom: 0;
	margin-bottom: 20px;
}
.max-width-row {
	max-width: 1081px;
	margin: auto;
}
.max-width-section {
	max-width: 1081px;
	margin: auto;
}
.pseudo-gld-brd:before {
	border-top: 2px solid #435465;
	border-right: 2px solid #435465;
	border-bottom: 2px solid #435465;
	border-left: 2px solid #435465;
	content: '';
	position: absolute;
	width: 100%;
	z-index: 2;
	height: 100%;
	pointer-events: none;
}
.pseudo-gld-brd-os:before {
	border-top: 4px solid #435465;
	border-right: 4px solid #435465;
	border-bottom: 4px solid #435465;
	border-left: 4px solid #435465;
	content: '';
	position: absolute;
	width: 100%;
	z-index: 2;
	height: 100%;
	pointer-events: none;
	width: -webkit-calc(100% - 80px);
	width: -moz-calc(100% - 80px);
	width: calc(100% - 80px);
	margin-left: 40px;
	margin-top: 40px;
}
@media (max-width: 767px) {
	.pseudo-gld-brd-os:before {
		width: -webkit-calc(100% - 40px);
		width: -moz-calc(100% - 40px);
		width: calc(100% - 40px);
		margin-left: 20px;
		margin-top: 20px;
	}
}
.main-street-icon-box-home .kt-blocks-info-box-link-wrap {
	min-height: 215px;
}
@media (max-width: 767px) {
	.main-street-icon-box-home .kt-blocks-info-box-link-wrap {
		min-height: unset;
	}
	.main-street-icon-box .kt-blocks-info-box-link-wrap {
		min-height: unset;
	}
	.wp-block-kadence-column.kb-section-dir-horizontal.kadence-column13_2f0a04-23.main-street-icon-box-section > .kt-inside-inner-col > * {
		flex: 0 0 275px;
	}
}

/* Featured Menu Item */
/* Contain and clip the shimmer to the LI */
.menu-item-featured {
  position: relative;
  overflow: hidden; /* <-- hard clip */
}
/* Keep the link above the effect */
.menu-item-featured > a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 4px 8px;
}
/* Shimmer that sweeps only within this LI */
.menu-item-featured::after {
  content: "";
  position: absolute;
  inset: 0;                 /* same size as the LI (the menu item) */
  transform: translateX(-120%);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.15) 35%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0.15) 65%,
    transparent 100%
  );
  animation: shimmer-through 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes shimmer-through {
  0%   { transform: translateX(-120%); opacity: 0; }
  20%  { opacity: 1; }
  60%  { transform: translateX(120%); opacity: 1; }
  70%  { opacity: 0; }
  100% { transform: translateX(120%); opacity: 0; }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-item-featured::after { animation: none !important; }
}
