/* Home, Assets - innovationVideoSwap */
.home-innovation-video video { height: 102% !important; opacity: 1; transform: translate(-50%, -50%) scale(1.01); transition: opacity 0.18s ease, transform 0.28s ease, filter 0.28s ease; will-change: opacity, transform, filter; }
.home-innovation-video video.is-swapping-out { opacity: 0.2; transform: translate(-50%, -50%) scale(1.03); filter: blur(2px); }
.home-innovation-video video.is-swapping-in { opacity: 1; transform: translate(-50%, -50%) scale(1.01); filter: blur(0); }


/* Events */
.archive.term-events .ni-filter-group:not(.ni-filter-group-search) { display: none !important; }
.elementor-headline-dynamic-text.elementor-headline-text-active { opacity: 1; }
.event-content .elementor-widget-text-editor a, .event-content .elementor-heading-title a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.event-content .elementor-widget-text-editor a:hover, .event-content .elementor-heading-title a:hover {
    color: var(--ych-orange);
}
.agenda-table { width: 100%; border-collapse: collapse; background: none; border: none; }
.agenda-table * { background: none !important; }
.agenda-table th, .agenda-table td, .agenda-table thead {
	border: none !important; border-bottom: 1px solid rgba(255,255,255,0.45) !important;
	padding: 20px 0; vertical-align: middle; text-align: left;
}
.agenda-table th:first-child, .agenda-table td:first-child { width: 220px; padding-right: 40px; white-space: nowrap; }
.agenda-table th { font-weight: 700; padding-top: 20px; padding-bottom: 8px; }
.agenda-title { margin-bottom: 24px; }
.agenda-desc { color: var(--ych-orange); }
.agenda-table td p:not(.agenda-title):not(.agenda-desc) { height: 8px; }
@media (max-width: 767px) {
	.agenda-table, .agenda-table thead, .agenda-table tbody,
	.agenda-table tr, .agenda-table th, .agenda-table td {
		display: block;
		width: 100%;
	}
	.agenda-table th:first-child, .agenda-table td:first-child {
		width: 100%; padding-right: 0; padding-bottom: 12px; border: none !important; font-weight: 700;
	}
	.agenda-table th:last-child { height: 0; padding: 0; margin: 0; }
	.agenda-table td:last-child { padding-top: 0; }
	.agenda-title { margin-bottom: 12px; }
	.elementor-widget-countdown.elementor-countdown--label-block .elementor-countdown-wrapper { flex-direction: column; }
	.elementor-widget-countdown.elementor-countdown--label-block .elementor-countdown-wrapper .elementor-countdown-item { padding: 20px 40px !important; margin: 10px auto !important; }
}


/* Subpage banner & Top banner */
#subpage-banner { background-blend-mode: soft-light; }
#subpage-banner h2 { font-size: 2rem !important; }
.top-banner { min-height: calc(100vh - var(--sub-banner-height)) !important; }
.ych_aam_map { height: calc(100vh - var(--sub-banner-height) - 120px) !important; }
@media (max-width: 767px) {
	body:not(:has(.news-category-events)) #subpage-banner > div { padding-top: calc(var(--header-height) + 15px); padding-bottom: 40px; }
	body:not(:has(.news-category-events)) .top-banner, .top-banner .banner-img { min-height: 260px !important; padding-top: 0; padding-bottom: 0; }
	body:not(:has(.news-category-events)) .top-banner .banner-content { margin-top: 260px; padding-top: 24px !important; padding-bottom: 0 !important; }
	body:not(:has(.news-category-events)) .top-banner .banner-content .elementor-widget-heading * { color: var(--ych-blue) !important; }
	body:not(:has(.news-category-events)) .top-banner .banner-content .elementor-button { color: white !important; background: var(--ych-blue) !important; }
}


/* Carousel A */
.carousel-a .swiper-pagination-bullets { display: flex; gap: 6px; 
	width: 100%; max-width: calc( 1160px + 2 * var(--site-padding-x)); 
	padding-left: var(--site-padding-x); padding-right: var(--site-padding-x); }
.carousel-a .swiper-pagination-bullet { width: 12px; transition: width 0.5s ease; border-radius: 100px; }
.carousel-a .swiper-pagination-bullet:hover { background: var(--ych-blue); }
.carousel-a .swiper-pagination-bullet-active { width: 50px; }
.carousel-a .swiper-pagination-bullet-active:hover { filter: brightness(1.1); }
.carousel-a .elementor-invisible { display: flex !important; visibility: visible !important; }

/* Carousel B */
.carousel-b .swiper-pagination-bullets { display: flex; gap: 6px; 
	width: 100%; max-width: calc(480px + 2 * var(--site-padding-x));
 	padding-left: var(--site-padding-x); padding-right: var(--site-padding-x); } 
.carousel-b .swiper-pagination-bullet { width: 12px; transition: width 0.5s ease; border-radius: 100px; bottom: var(--site-padding-y) !important; }
.carousel-b .swiper-pagination-bullet:hover { background: white; }
.carousel-b .swiper-pagination-bullet-active { width: 50px; }
.carousel-b .swiper-pagination-bullet-active:hover { filter: brightness(1.1); }
.carousel-b .elementor-invisible { display: flex !important; visibility: visible !important; }
@media (max-width: 767px) {
	.carousel-b .elementor-widget-heading * { color: white !important; }
	.carousel-b .top-banner .banner-content .elementor-widget-heading * { color: white !important; }
	.carousel-b .top-banner .banner-content { padding-top: 35px !important; padding-bottom: 0 !important; }
}


/* Hubspot Embed */
.hs-form-frame { margin: -40px; }
/* Hide HubSpot's embedded document border, with tolerance for fractional pixels. */
.hs-form-frame > iframe {
  clip-path: inset(2px);
}


/* Contact Us */
#contact-us-panel > div { cursor: pointer; opacity: 0.8; transition: opacity 0.3s ease; }
#contact-us-panel { transition: top 0.3s ease; position: -webkit-sticky; position: sticky; top: calc(var(--wpadminbar-offset) + 200px); }
body.scroll-down #contact-us-panel { top: calc(var(--wpadminbar-offset) + var(--site-padding-y)); }
@media (max-width: 767px) {
	.contact-us-tab-mobile-dropdown #contact-us-panel { display: none !important; }
}
#contact-us-panel .is-active, #contact-us-panel > div:hover { opacity: 1; }


/* Innovation */
#innovation-map video { pointer-events: none; }
.innovation-icon { pointer-events: none; animation: innovationFloat 3.2s ease-in-out infinite; transition: transform 0.2s ease; will-change: transform; }
.innovation-icon:nth-child(1) { animation-delay: 0s; }
.innovation-icon:nth-child(2) { animation-delay: 0.2s; }
.innovation-icon:nth-child(3) { animation-delay: 2.6s; }
.innovation-icon:nth-child(4) { animation-delay: 3.2s; }
.innovation-icon:hover { animation-play-state: paused; }
.innovation-icon img { opacity: 0; transform: translatey(0) scale(1); transition: opacity 0.5s ease, transform 0.2s ease, filter 0.2s ease; }
.innovation-icon:hover img, .innovation-icon.active img { filter: brightness(1.05); transform: translatey(-2px) scale(1.05); }
@keyframes innovationFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.innovation-icon.shown img, body.elementor-editor-active .innovation-icon img { opacity: 1; }
.innovation-icon.shown, body.elementor-editor-active .innovation-icon { pointer-events: auto; }
.innovation-popup { overflow: visible !important; opacity: 0; visibility: hidden; transition: all 0.3s ease 0.3s; width: fit-content; }
/* .innovation-popup { max-width: calc(100vw - 2 * var(--site-padding-x)); } */
.innovation-popup::before, .innovation-popup::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 20px; height: 26px; background: #FDB813; z-index: 9; }
.innovation-popup::after { background: #EC008C; z-index: 8; }
.innovation-popup.point-left::before, .innovation-popup.point-left::after { left: -15px; right: auto; clip-path: polygon(0 50%, 80% 0, 100% 0, 100% 100%, 80% 100%); }
.innovation-popup.point-right::before, .innovation-popup.point-right::after { left: auto; right: -15px; clip-path: polygon(0 0, 20% 0, 100% 50%, 20% 100%, 0 100%); }
.innovation-popup.point-left::after { left: -16px; }
.innovation-popup.point-right::after { right: -16px; }
.innovation-popup.shown, .innovation-popup:hover { opacity: 1; visibility: visible; transition: all 0.3s ease; }
.innovation-popup .elementor-counter-number-wrapper * { font-size: clamp(1rem, calc(0.557rem + 0.924vw), 1.25rem) !important; line-height: 130%; }
@media (max-width: 1150px) {
/* 	.innovation-popup { max-width: 80vw; } */
	.innovation-popup .e-con-full.e-flex { gap: 30px; padding-bottom: 12px; max-height: max(56px, calc(90vh - 200px)); overflow: auto !important; }
	#innovation-map-wrapper { overflow-x: scroll; flex-wrap: wrap !important; }
	#innovation-map { width: 1440px !important; }
	#innovation-map-wrapper, .innovation-popup .e-con-full.e-flex { scrollbar-width: auto; scrollbar-color: var(--ych-orange) transparent; }
	#innovation-map-wrapper::-webkit-scrollbar, .innovation-popup .e-con-full.e-flex::-webkit-scrollbar  { width: 12px; height: 12px; }
	#innovation-map-wrapper::-webkit-scrollbar-thumb, .innovation-popup .e-con-full.e-flex::-webkit-scrollbar-thumb { background: var(--ych-blue-light); border-radius: 999px; }
	#innovation-map-wrapper::-webkit-scrollbar-track, .innovation-popup .e-con-full.e-flex::-webkit-scrollbar-track { background: transparent; }
}


/* Specialities, Our Solutions - Detail Page */
@media (min-width: 1234px) { .sol-loop-grid .elementor-loop-container.elementor-grid { grid-template-columns: repeat(3, 1fr); } }
/* .sol-loop-text-ind { height: 160px; overflow: auto; }
@media (max-width: 767px) { .sol-loop-text-ind { height: 100%; } } */
.no-case-studies-selected .no-case-studies { display: none !important; }
/* - Overview content grids */
#btn-brochure { margin-top: 40px; }
.overview-grid-list { display: grid; gap: 40px; }
.overview-grid { display: grid; grid-template-columns: 4fr 6fr; grid-template-rows: auto; gap: 40px; align-items: start; }
.overview-grid__heading h2 { margin: 0; }
.overview-grid__content > p:not(:last-child) { margin-block-end: 1rem !important; }
.overview-grid--image { grid-template-columns: 1fr; }
.overview-grid--image img { display: block; width: 100%; height: auto; }
.overview-grid--image p, .overview-grid--image figure { margin: 0; }
.overview-grid__content p:empty { margin: 0 !important; height: calc(40px - 1rem); }
.overview-grid__content a { color: var(--ych-blue); text-decoration: underline; transition: color 0.3s ease; }
.overview-grid__content a:hover { color: var(--ych-orange); }
.cc-grid > div:not(:has(h3)) { display: none !important; }
@media (min-width: 1025px) { 
	.cc-grid > div { max-height: 275px; max-width: 580px; } 
	.cc-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important; } 
}
@media (max-width: 1024px) { 
	.overview-grid-list, .overview-grid { gap: 2rem; }
	.overview-grid__content p:empty { height: 1rem; }
}
@media (max-width: 767px) { 
	.overview-grid { gap: 12px; grid-template-columns: 1fr; } 
	#btn-brochure { margin-top: 20px; } 
}


/* About Us */
.about-us-tab img { margin-left: auto; }
.about-us-tab .e-n-tabs-heading { height: 60px; background: var(--ych-blue-dim); border-radius: 100px; padding: 6px; width: fit-content; align-self: center; }
.about-us-tab .e-n-tabs-heading button { border: none !important; }
.about-us-tab .e-n-tabs-heading button[aria-selected="false"] { background: var(--ych-blue-dim) !important; }
.about-us-tab .e-n-tabs-heading button[aria-selected="false"]:hover { background: var(--ych-blue-light) !important; color: var(--ych-blue) !important; }
/* - More About YCH */
.more-about-ych .elementor-widget-image { aspect-ratio: 1.5; }
.more-about-ych .elementor-widget-image img { aspect-ratio: 1.5; object-fit: cover; }
.more-about-ych .hover-img-zoom * { width: 100%; height: 100%; }
/* -- Timeline */
/* in Snippet: YCH Promise - History Timeline */


/* -- RISE */
#rise-carousel .swiper, #rise-carousel .swiper-wrapper, #rise-carousel .swiper-slide { overflow: visible !important; }
#rise-carousel .swiper { cursor: grab; }
/* - Awards & Accolades Page */
#awards-wrapper:has(.e-n-tabs-content > div.e-active .past-awards.hide) #past-awards-btn { display: none !important; }
#awards-tab .e-n-tabs-heading button { min-width: 150px !important; }
#past-awards-btn { cursor: pointer; border-bottom: 1px solid currentColor; transition: all 0.3s ease !important; }
#past-awards-btn:hover, #past-awards-btn.active { color: var(--ych-orange); }
.present-awards, .past-awards { opacity: 0; transform: scale(0.98); transform-origin: top center; transition: opacity 0.3s ease, transform 0.6s ease; height: 0; }
.present-awards.active, .past-awards.active, body.elementor-editor-active .past-awards { opacity: 1; transform: scale(1); height: auto; }
@media (max-width: 767px) {
	#awards-tab .e-grid { display: flex !important; gap: 20px; align-items: flex-start; }
}
@media (max-width: 480px) {
	#awards-tab .e-grid { flex-direction: column-reverse; }
	#awards-tab .e-grid img { margin: 0; }
}

/* - The Leadership Page */
#leadership-tab .e-n-tabs-heading button { min-width: 220px !important; }
.leader-loop-item .elementor-widget-image { aspect-ratio: 1 !important; overflow: hidden; filter: brightness(1); transition: filter 0.35s ease; }
.leader-loop-item .elementor-widget-image img { margin: 0; }
.leader-linkedin-icon svg path { transition: fill 0.3s ease; }
#solo-feature .e-loop-item { transform: translatex(calc(200% + 80px)); }
@media (min-width: 768px) {
	.leader-loop-item * { transition: all 0.5s ease; }
	.leader-loop-item:hover img { transform: scale(1.05); }
	.leader-loop-item:hover .elementor-widget-image { filter: brightness(1.03); }
	.leader-linkedin-icon:hover svg path { fill: var(--ych-orange); }
}
@media (max-width: 1024px) { #solo-feature .e-loop-item { transform: translatex(calc(50% + 20px)); } }
@media (max-width: 767px) {	
	#solo-feature .e-loop-item { transform: translatex(0); }
	.leader-loop-item .elementor-widget-image { width: fit-content; }
}


/* News & Insights */
.news-insights.e-loop-item .elementor-widget-image > img { aspect-ratio: 1.5; transform: scale(1); transition: transform 0.5s ease; }
.news-insights.e-loop-item:hover .elementor-widget-image > img { transform: scale(1.1); }
.news-insights.e-loop-item .elementor-widget-image { overflow: hidden; }
/* -- Detail Page */
.news-side-wrapper { height: 100%; position: relative; }
.news-side-panel { transition: top 0.3s ease; position: -webkit-sticky; position: sticky; top: calc(var(--wpadminbar-offset) + 200px); }
body.scroll-down .news-side-panel {	top: calc(var(--wpadminbar-offset) + var(--site-padding-y)); }
/* --- News Content  */
.news-contact { display: none !important; }
.news-end * { display: none; }
.news-end::after { content: ""; display: block; width: 60px; height: 1px; background: var(--ych-blue-dim); margin: 0 auto; }
.news-end:has(+ .news-contact), .news-end:not(:has(+ div)) { display: none; }
.news-content .elementor-widget-text-editor a { color: inherit; text-decoration: underline; transition: color 0.3s ease; }
.news-content .elementor-widget-text-editor a:hover { color: var(--ych-orange); }
/* -- Listing Page / News Categories Archive */
body.term-newsroom #newsroomTitle, body:not(.term-newsroom) #notNewsroomTitle { display: block; }
body:not(.term-newsroom) #newsroomTitle, body.term-newsroom #notNewsroomTitle { display: none; }
#news-cat-archive article > .elementor-post__text { background: var(--ych-blue-light); padding: 20px; }
#news-cat-archive article a { overflow: hidden; }
#news-cat-archive article a div { transform: scale(1); transition: transform 0.5s ease; }
#news-cat-archive article:hover a div { transform: scale(1.1); }
/* --- tag pills */
.elementor-widget-archive-posts .elementor-post__text, .elementor-widget-archive-posts .elementor-post { display: flex; flex-direction: column; height: 100%; }
.elementor-widget-archive-posts .elementor-post__text { flex: 1; }
.ni-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ni-post-tag { display: inline-flex; align-items: center; padding: 4px 8px; border: 0; background: white; color: grey; border-radius: 12px; font-size: 12px; line-height: 1; }
/* --- filter & search bar */
.ni-filter-group:has(.ni-filter-empty) { display: none; }
.ni-filter-bar{
	
    --ni-filter-size:14px;
    --ni-filter-muted:#BDBDBD;
    --ni-filter-active:#555;
    --ni-filter-border:#BDBDBD;
    --ni-filter-bg:#fff;
    --ni-filter-tags-width:200px;
    --ni-filter-year-width:200px;
    --ni-filter-search-width:300px;
    --ni-filter-gap:10px;
    --ni-filter-padding-x:20px;
	--ni-filter-padding-y:9px;
    --ni-filter-panel-gap:6px;
    --ni-filter-panel-max-height:280px;

    display:flex;justify-content:flex-end;align-items:stretch;flex-wrap:wrap;gap:0;margin:0;color:var(--ni-filter-muted);
}
.ni-filter-bar div,.ni-filter-bar button,.ni-filter-bar input,.ni-filter-bar a{border-radius:0;box-shadow:none;font-size:var(--ni-filter-size);}
.ni-filter-group,.ni-filter-reset-wrap{position:relative;flex:0 0 auto;}
.ni-filter-trigger,.ni-filter-search-input{border:1px solid var(--ni-filter-border);background:var(--ni-filter-bg);color:var(--ni-filter-muted);font-size:var(--ni-filter-size);line-height:1.4;}
.ni-filter-trigger,.ni-filter-search-input,.ni-filter-search-button{outline:none;box-shadow:none;-webkit-appearance:none;appearance:none;}
.ni-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:var(--ni-filter-padding-y) var(--ni-filter-padding-x);text-align:left;cursor:pointer;}
.ni-filter-group--tags .ni-filter-trigger,.ni-filter-group:first-child .ni-filter-trigger{width:var(--ni-filter-tags-width);}
.ni-filter-group--year .ni-filter-trigger,.ni-filter-group:nth-child(2) .ni-filter-trigger{width:var(--ni-filter-year-width);}
.ni-filter-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ni-filter-muted);}
.ni-filter-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--ni-filter-muted);transform:translatex(50%);}
.ni-filter-group.ni-has-selection .ni-filter-label,.ni-filter-group.ni-has-selection .ni-filter-icon{color:var(--ni-filter-active);}
.ni-filter-group-search{position:relative;display:flex;align-items:stretch;}
.ni-filter-search-input{width:var(--ni-filter-search-width);border:1px solid var(--ni-filter-border)!important;padding:var(--ni-filter-padding-y) var(--ni-filter-padding-x)!important;color:var(--ni-filter-active);}
.ni-filter-search-input::placeholder{color:var(--ni-filter-muted);opacity:1;}
.ni-filter-search-input::-webkit-search-cancel-button,.ni-filter-search-input::-webkit-search-decoration,.ni-filter-search-input::-webkit-search-results-button,.ni-filter-search-input::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none;display:none;}
.ni-filter-search-input[type="search"]{-webkit-appearance:textfield;appearance:textfield;}
.ni-filter-search-button{position:absolute;top:50%;right:14px;width:18px;height:18px;margin:0;padding:0;border:0;background:transparent;color:var(--ni-filter-muted);display:inline-flex;align-items:center;justify-content:center;pointer-events:none;transform:translatey(-50%);}
.ni-filter-search-button svg{display:block;width:18px;height:18px;}
.ni-filter-group-search.ni-has-value .ni-filter-search-button{color:var(--ni-filter-active);}
.ni-filter-panel{position:absolute;top:calc(100% + var(--ni-filter-panel-gap));left:0;min-width:100%;background:var(--ni-filter-bg);border:1px solid var(--ni-filter-border);opacity:0;visibility:hidden;pointer-events:none;z-index:50;}
.ni-filter-group.is-open .ni-filter-panel{opacity:1;visibility:visible;pointer-events:auto;}
.ni-filter-panel-inner{max-height:var(--ni-filter-panel-max-height);overflow-y:auto;padding:6px 0;}
.ni-filter-option{display:flex;align-items:center;gap:8px;margin:0;padding:8px 12px;color:var(--ni-filter-active);line-height:1.35;cursor:pointer;background:transparent;}
.ni-filter-option input{margin:0;flex:0 0 auto;}
.ni-filter-empty{padding:10px 12px;color:var(--ni-filter-active);}
.ni-filter-reset-wrap{display:flex;align-items:center;margin-left:var(--ni-filter-gap);}
.ni-filter-reset{color:var(--ni-filter-muted);text-decoration:none;line-height:1.4;}
#ni-ajax-container.is-loading{opacity:.55;pointer-events:none;}
#ni-ajax-container .elementor-post__thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;}
.ni-filter-trigger:hover,.ni-filter-trigger:hover .ni-filter-label,.ni-filter-trigger:hover .ni-filter-icon,.ni-filter-reset:hover,.ni-filter-option:hover{color:var(--ych-orange);}
.ni-filter-bar *{background-color:var(--ni-filter-bg)!important;}
.ni-filter-bar .ni-filter-group:not(.ni-filter-group-search) { margin-right: -1px; }
@media (max-width:767px){
    .ni-filter-bar{flex-direction:column;align-items:stretch;gap:0;}
    .ni-filter-group,.ni-filter-group-search,.ni-filter-reset-wrap{width:100%;}
    .ni-filter-trigger,.ni-filter-search-input{width:100%!important;}
    .ni-filter-panel{position:static;margin-top:0;display:none;opacity:1;visibility:visible;pointer-events:auto;}
    .ni-filter-group.is-open .ni-filter-panel{display:block;}
    .ni-filter-reset-wrap{margin-left:0;margin-top:6px;}
}

/* Search Results Page */
div[data-elementor-type="search-results"] .elementor-post__title a { transition: color 0.3s ease; }
div[data-elementor-type="search-results"] .elementor-post__title a:hover { color: var(--ych-orange) !important; }
div[data-elementor-type="search-results"] article:not(:last-of-type) { border-bottom: 1px solid #bdbdbd; padding-bottom: 10px; margin-bottom: 10px; }
div[data-elementor-type="search-results"] .elementor-post__excerpt { margin-bottom: 0; }

/* Keep the HubSpot form within the mobile page canvas. */
@media (max-width: 767px) {
  .elementor-widget-html {
    overflow-x: clip !important;
  }
}