/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Header CSS */
header .header-block{
	transition: all ease-in-out 0.4s;
	overflow: visible;
}
header.scrolled .header-block{
	top: 20px !important;
	transition: all ease-in-out 0.4s;
}
header .elementor-widget-theme-site-logo img, header .ham-menu .elementor-icon{
	transition: all ease-in-out 0.4s;
	border-radius: 10px;
}
header.scrolled .elementor-widget-theme-site-logo img, header.scrolled .ham-menu .elementor-icon{
	border: 1px solid white;
	display: inline-block;
    backdrop-filter: blur(20px);
    background-color: #ffffff30;
    padding: 10px;
	transition: all ease-in-out 0.4s;
}
header .elementor-widget-theme-site-logo a{color: transparent;}
.menu-item a:after{
	content:"";
	width: 5px;
    height: 5px;
    display: inline-block;
    background: #fff;
    border-radius: 100%;
    position: absolute;
    bottom: 5px;
    right: 50%;
}
footer .menu-item a:after{display: none !important;}
/* Button Animation */
.dot-animate a .elementor-button-text, .dot-animate .elementor-button .elementor-button-text, .dot-animate button{
	display: flex;
    align-items: center;
	position: relative;
	padding-right: 20px;
}
.dot-animate a .elementor-button-text:before, .dot-animate .elementor-button .elementor-button-text:before {
	content:"";
	width: 7px;
	height: 7px;
	display: inline-block;
    background: #fff;
    border-radius: 100%;
    margin-left: 8px;
	position: absolute;
    right: 0;
	transition-timing-function: ease-in-out;
    transition-duration: .4s;
	scale: 100%;
	rotate: -1turn;
}
.dot-animate a:hover .elementor-button-text:before, .dot-animate .elementor-button:hover .elementor-button-text:before{scale: 0%; opacity: 0; transition: opacity 0.2s ease-in-out;}
.dot-animate a .elementor-button-text:after, .dot-animate .elementor-button .elementor-button-text:after{
	content: "\f135";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
	font-size: 12px;
	transition-timing-function: ease-in-out;
    transition-duration: .4s;
	margin-left: 8px;
	scale: 0%;
	position: absolute;
    right: 0;
	rotate: 0deg;
	transition-property: all;
}
.dot-animate a:hover .elementor-button-text:after, .dot-animate .elementor-button:hover .elementor-button-text:after{scale: 100%; rotate: -1turn;}
.dot-animate.user-icon a .elementor-button-text:after{content: "\f504";}
.dot-animate.mail-icon a .elementor-button-text:after, .dot-animate.mail-icon .elementor-button .elementor-button-text:after{content: "\f0e0";}
.dot-animate.arrow-icon a .elementor-button-text:after, .dot-animate.arrow-icon .elementor-button .elementor-button-text:after{content: "\f061" !important;}
.dot-animate.plane-icon a .elementor-button-text:after, .dot-animate.plane-icon .elementor-button .elementor-button-text:after{content: "\f1d8";}
/* Load More dot animate */
/* .load-dot-animate button{
	display: flex;
    align-items: center;
	position: relative;
	padding-right: 20px;
}
.load-dot-animate button:before {
	content:"";
	width: 7.4px;
	height: 7.4px;
	display: inline-block;
    background: #fff;
    border-radius: 100%;
    margin-left: 8px;
	position: absolute;
    right: 0;
	transition-timing-function: ease-in-out;
    transition-duration: .4s;
	scale: 100%;
	rotate: -1turn;
}
.load-dot-animate button:before::hover{scale: 0%; opacity: 0; transition: opacity 0.2s ease-in-out;}
.load-dot-animate button:after {
    content: "\f135";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
	font-size: 12px;
	transition-timing-function: ease-in-out;
    transition-duration: .4s;
	margin-left: 8px;
	scale: 0%;
	position: absolute;
    right: 0;
	rotate: 0deg;
	transition-property: all;
}
.load-dot-animate button:after::hover{scale: 100%; rotate: -1turn;} */
/* .people-load-more-wrapper{
	margin-top: 40px;
    display: flex;
    justify-content: center;
} */

.acf-peop-slider-container { width: 100%; overflow: hidden; position: relative; }
.acf-peop-slider-container .swiper-slide { height: auto; display: flex !important; justify-content: center !important; }
    
/* Swiper global adjustments to protect fanning spacing boundaries */
.swiper {
	max-width: 100vw !important;
	overflow: visible !important; /* Prevents edge clipping during card drop math */
	padding: 40px 70px 120px !important; /* Reserves landing buffers for drop animation math */
	box-sizing: border-box;
}
.swiper-slide {
	border-radius: 16px;
	overflow: visible !important; /* Crucial: Allows elements to shift transformation vectors cleanly */
	flex-shrink: 0;
	background: transparent !important;
}

/* ==========================================
PROFILE CARD DIMENSIONS (EXACT SPECIFICATIONS)
========================================== */
.acf-peop-card {
	position: relative; 
	width: 342px !important;       
	min-height: 420px !important;  
	display: flex; 
	flex-direction: column;
	justify-content: flex-end; 
	padding: 24px; 
	z-index: 1;
	background-position: center center; 
	background-repeat: no-repeat; 
	background-size: cover;
	border-radius: 16px;
	box-sizing: border-box !important;
	overflow: hidden !important; /* Safely clips curtains within the standalone card boundary */
}

/* Black bottom gradient shading over layout image */
.acf-peop-card::before {
	content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%) !important;
	border-radius: 16px; z-index: 2; pointer-events: none;
}

/* Premium Solid Placeholder Color Layout */
.acf-peop-card.peop-no-image {
	background-color: #1e293b !important;
}

/* Flex row for title elements */
.peop-name-row {
	display: flex !important; justify-content: space-between !important; align-items: center !important;
	width: 100% !important; cursor: pointer; position: relative; z-index: 110 !important;
}
.peop-name {
	color: #ffffff !important; font-size: 24px !important; font-weight: 600 !important;
	margin: 0 !important; font-family: "Libre Baskerville";
	transition: opacity 0.3s ease-in-out !important;
}
.peop-plus-icon {
	color: #ffffff !important; font-size: 26px !important; font-weight: 300 !important;
	display: inline-block; width: 24px; text-align: center; line-height: normal;
	user-select: none;
	transition: color 0.3s ease !important;
}

/* Extra Last Static Slide Styles */
.acf-peop-card.extra-last-slide {
	background-color: #E6E6F3; justify-content: center; align-items: center; text-align: center;
}
.acf-peop-card.extra-last-slide::before { display: none !important; } 
.extra-last-slide h3 { color: #111111; margin-bottom: 10px; font-size: 24px; font-family:"Libre Baskerville";}
.extra-last-slide p { color: #111111; font-size: 14px; }

/* ==========================================
THE SMOOOOOOTH 4-SEPARATE-DIV CURTAIN ENGINE
========================================== */
.peop-card-hover {
	position: absolute !important; bottom: 0 !important; left: 0 !important; 
	width: 100% !important;
	height: 100% !important; 
	overflow: hidden !important; 
	z-index: 99 !important; 
	border-radius: 10px; 
	
	/* Parent wrapper remains static to maintain absolute coordinates */
	pointer-events: none !important;
	visibility: hidden;
	transition: visibility 0s linear 0.9s;
}

/* Revealed Active Box State */
.peop-card-hover.is-active {
	visibility: visible !important;
	pointer-events: auto !important;
	transition-delay: 0s;
}

/* Common layout properties for all four separate sliding divs */
.js-layer-one,
.js-layer-two,
.js-layer-three,
.js-layer-four {
	position: absolute !important; top: 0 !important; left: 0 !important;
	width: 100% !important; height: 100% !important;
	transform: translateY(100%) !important; /* Start hidden underneath the card floor */
}

/* Layer 4 specific layout to safely display the flexbox content tree */
.js-layer-four {
	z-index: 104 !important;
	padding: 24px; 
	box-sizing: border-box !important;
	display: flex !important; flex-direction: column !important; justify-content: space-between !important;
}

/* Assign discrete brand colors, slower durations, and closing sequence delays */
.js-layer-one   { background-color: #fce4ec !important; z-index: 101 !important; transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1) 0.36s !important; border-radius: 10px;} 
.js-layer-two   { background-color: #e8f5e9 !important; z-index: 102 !important; transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1) 0.24s !important; border-radius: 10px;} 
.js-layer-three { background-color: #ffe0b2 !important; z-index: 103 !important; transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1) 0.12s !important; border-radius: 10px;}    
.js-layer-four  { background-color: #E6E6F3 !important; /* Your final open content background color */ transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1) 0s !important; border-radius: 10px;}

/* Upward trajectory curves when sliding UPWARDS (is-active triggers) */
.peop-card-hover.is-active .js-layer-one   { transform: translateY(0) !important; transition-delay: 0s !important; }
.peop-card-hover.is-active .js-layer-two   { transform: translateY(0) !important; transition-delay: 0.12s !important; }
.peop-card-hover.is-active .js-layer-three { transform: translateY(0) !important; transition-delay: 0.24s !important; }
.peop-card-hover.is-active .js-layer-four  { transform: translateY(0) !important; transition-delay: 0.36s !important; }

/* Trigger row design adjustments */
.acf-peop-card.active-trigger .peop-name { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.3s ease; }
.peop-name-row.active-trigger .peop-plus-icon { color: #111111 !important; z-index: 110 !important; position: relative !important; }

/* Content pieces sit naturally and static relative to layer four frame */
.acf-peop-content-top, 
.acf-peop-meta-wrapper-bottom {
	position: relative !important;
	z-index: 105 !important;
}


/* ==========================================
HOVERED INNER CONTENT TYPOGRAPHY RULES
========================================== */
.acf-peop-designation {
	display: block !important; font-size: 14px !important;
	margin-bottom: 8px !important; font-weight: 400 !important;
}
.acf-peop-title h3 {
	margin: 0 0 12px 0 !important; font-size: 24px !important; color: #05028E !important; 
	font-weight: 600 !important; font-family: "Libre Baskerville";
}
.acf-peop-excerpt p {
	margin: 0 !important; font-size: 14px !important; color: #333333 !important; line-height: 1.5 !important;
}

/* ==========================================
MULTI-PILL CONTROLS FOR THE BOTTOM EDGE
========================================== */
.acf-peop-meta-wrapper-bottom {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;         
	margin-top: 16px !important; 
	align-self: flex-start !important;
}
.acf-peop-meta-bottom {
	display: inline-flex !important; align-items: center !important; gap: 6px !important;
	padding: 5px 12px !important; border: 1px solid #d81b60 !important; 
	border-radius: 20px !important; background: transparent !important;
}
.acf-peop-meta-bottom img { width: 14px; height: 14px; object-fit: contain; } 
.acf-peop-meta-bottom h5 {
	margin: 0 !important; font-size: 12px !important; white-space: nowrap;
}

.icon-minus .peop-name{visibility: hidden;}

/* Custom tracking arrow pagination containers */
.acf-peop-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.swiper-next, .swiper-prev { cursor: pointer; font-size: 20px; font-weight: bold; user-select: none; }
.swiper-pagination { position: relative !important; width: auto !important; font-family: sans-serif; font-size: 16px; }
.acf-peop-mobile-instance{display: none !important;}
@media (max-width: 767px) {
	/* Allows peek elements to float cleanly past the container wall */
	.acf-peop-mobile-instance {
		overflow: visible !important;
		max-width: 100% !important;
		display: flex !important;
	}
	.acf-peop-swiper-instance{display: none !important;}
}

/* Archive page css */
.archive-people-container .people-grid-layout{
	display: flex;
    flex-wrap: wrap;
	gap: 16px;
}
.archive-people-container .people-grid-item{
	flex: 0 1 calc(33.33% - 11px);
}
.archive-people-container .acf-peop-card{min-height: 486px !important; width: 100% !important;}

/* People Archive - Search Filter */
.people-filter-section .search-filter-label{
	font-family: "Libre Baskerville";
	font-size: 18px;
	line-height: 32px;
	font-weight: 600;
	white-space: nowrap;
    width: auto;
	margin: 0;
	color: #111111;
}
.people-filter-section{
	display: flex;
    justify-content: space-between;
    gap: 20px;
	align-items: center;
	margin-bottom: 40px;
	overflow: hidden;
}
.people-filter-section .search-filter-style--id-1 {display: flex; flex-direction: row; gap: 16px; align-items: center;}
.people-filter-section .search-filter-component-popover{
	width: 100% !important;
	min-width: 250px !important;
    max-width: 300px !important;
}
.search-filter-component-combobox-base{padding: 0;}
.search-filter-component-combobox-base{width: auto;}
.search-filter-component-combobox-base__listbox-list{padding: 40px 0 0 0; max-height: 250px;}
.search-filter-component-combobox-base__listbox-list li:first-child{padding-top: 20px !important;}
.search-filter-component-combobox-base__listbox-list li:last-child{padding-bottom: 20px !important;}
.search-filter-component-combobox__selection , .search-filter-component-combobox__selection-placeholder{
	color: #111111 !important; 
	font-size: 18px !important;
	cursor: pointer;
}
.search-filter-component-combobox__listbox-toggle svg{fill: #111111 !important; color: #111111 !important;}
.search-filter-component-combobox-base__listbox-option{
	font-size: 16px;
    padding: 10px 16px !important;
	color: #111111 !important;
}
.search-filter-component-combobox-base__listbox-list{
	background-color: #E6E6F3;
}
.search-filter-component-combobox-base__listbox-option--selected{
	background: transparent !important;
    color: #05028E !important;
    font-weight: 600;
}
.search-filter-component-combobox-base__listbox-option:hover{cursor: pointer;}
.search-filter-style--search-text{
	width: 100%;
    max-width: 307px;
	min-width: 307px;
}
#search-filter-input-text-0{
	font-size: 14px !important;
    line-height: 24px !important;
}
#search-filter-input-text-0::placeholder{
	font-size: 14px !important;
}

/* ==========================================================
   1. GRID ELEMENT CONSTRAINTS & STRETCH ALIGNMENTS
   ========================================================== */
.people-grid-item .acf-peop-card {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
	position: relative;
}
.people-grid-item .acf-peop-card:hover{cursor: pointer;}
/* ==========================================================
   2. YOUR VERIFIED 5-SECOND CINEMATIC ENGINE (DYNAMICALLY BOUND)
   ========================================================== */
.people-grid-item {
    animation: premiumSlowTestingGlide 5s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    will-change: transform, opacity;
    animation-delay: calc(var(--peop-index, 0) * 0.8s) !important;
}

@keyframes premiumSlowTestingGlide {
    0% {
        opacity: 0;
        transform: translateY(100px); /* Your verified 100px deep drop tracking point */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.people-filter-section {
    animation: premiumSlowTestingGlide 3s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    will-change: transform, opacity;
    animation-delay: 0s !important; 
}
/* Elevates the filter section stacking order above the animated grid */
.people-filter-section {
    position: relative !important;
    z-index: 999 !important; /* Higher number keeps dropdowns on top */
}

/* Optional: Ensures Search & Filter Pro dropdown menus don't get clipped */
.people-filter-section form,
.people-filter-section .sf-field-taxonomy-work_category {
    position: relative !important;
    overflow: visible !important;
}

/* Range Slider CSS */
.timeline-dual-slider{max-width: 1240px;}

/* Responsive CSS */
@media screen and (max-width: 991px){
	.archive-people-container .people-grid-item{
		flex: 0 1 calc(50% - 8px);
	}
}
@media screen and (max-width: 767px){
	.search-filter-style--search-text{max-width: 100%;}
	.search-filter-component-combobox__selection, .search-filter-component-combobox__selection-placeholder{font-size: 14px !important;}
	.people-filter-section > .elementor-element, .people-filter-section .search-filter-style--id-1{gap: 10px;}
	.search-filter-component-combobox__listbox-toggle{padding-left: 0 !important; padding-right: 0 !important;}
}
@media screen and (max-width: 576px){
	.archive-people-container .people-grid-item{flex: 0 1 100%;}
	.people-filter-section{flex-wrap: wrap;}
	.people-filter-section .search-filter-style--id-1{order: 1; width: 100%;}
	.people-filter-section .search-filter-field--id-2{order: 2;}
	header.scrolled .ham-menu .elementor-icon{padding: 12px;}
	.search-filter-style--search-text{width: 100%; max-width: 100%;}
	.people-filter-section{margin-bottom: 30px;}
}
.acf-peop-slider-container .acf-peop-excerpt{
	height: 250px;
    overflow-y: auto;
	scrollbar-width: thin;
}
.menu-item.current-menu-item a, .menu-item a:hover, .menu-item a:focus{
	font-weight: bold !important;
}
.related-titles-text-wrapper{
	font-size: 12px;
	border-bottom: 1px solid #ADADAD;
	border-top: 1px solid #ADADAD;
	padding: 8px 0;
}
body .search-filter-component-combobox{
	border: 1px solid #189F48 !important;
    border-radius: 50px;
    background: #DBEEE2;
    padding: 0px 12px;
}
.peop-front-cat-icon{
    background-repeat: no-repeat;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-color: #ffffff;
    -webkit-mask-image: var(--cat-icon);
    mask-image: var(--cat-icon);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.3s ease;
	position: absolute;
    top: 16px;
    right: 16px;
}


@media (max-width: 768px) {
	.rel-popup-flex { flex-direction: column; }
	.rel-popup-content { margin: 20% auto; padding: 15px; }
}