/*
 * Structural layout for the Creed House widgets.
 * Colours, fonts, spacing and corners come from each widget's Style tab, not from here.
 */

/* Card + Step */
.elementor-widget-ch-card,
.elementor-widget-ch-step { height: 100%; }
.elementor-widget-ch-card > .elementor-widget-container,
.elementor-widget-ch-step > .elementor-widget-container { height: 100%; }

.ch-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	border-style: solid;
}
.ch-card__body { display: flex; flex-direction: column; gap: inherit; flex: 1 1 auto; }
.ch-card--edge { overflow: hidden; gap: 0; }
.ch-card--edge .ch-card__img,
.ch-card--edge .ch-card__img img { border-radius: 0; }
.ch-card__label,
.ch-card__title,
.ch-step__number,
.ch-card__text p { margin: 0; }
.ch-card__text p + p { margin-top: .75em; }
.ch-card__img img { display: block; width: 100%; object-fit: cover; }
.ch-card:not(.ch-card--edge) .ch-card__img + .ch-card__body { margin-top: 8px; }
.ch-card__link { margin-top: auto; padding-top: 6px; text-decoration: underline; text-underline-offset: 4px; }
.ch-step__number { line-height: 1; }

/* Learning World */
.ch-world { display: flex; align-items: center; }
.ch-world__media,
.ch-world__body { flex: 1 1 0; min-width: 0; }
.ch-world--right .ch-world__media { order: 2; }
.ch-world__media img { display: block; width: 100%; object-fit: cover; }
.ch-world__media,
.ch-world__media img { border-radius: var(--ch-img-radius, 20px); }
.ch-world--arch .ch-world__media,
.ch-world--arch .ch-world__media img { border-top-left-radius: 9999px; border-top-right-radius: 9999px; }
.ch-world-shadow-yes .ch-world__media { box-shadow: 0 25px 50px -20px rgba(47, 66, 51, .22); }
.ch-world__body { display: flex; flex-direction: column; gap: 14px; }
.ch-world__label,
.ch-world__title,
.ch-world__text p { margin: 0; }
.ch-world__text p + p { margin-top: .75em; }

@media (max-width: 767px) {
	.ch-world { flex-direction: column; align-items: stretch; }
	.ch-world__media,
	.ch-world__body { flex: none; }
	.ch-world--right .ch-world__media { order: 0; }
}

/* Hover effects (Style → Hover effect / Zoom image on hover).
   Elementor switches transitions off for visitors who prefer reduced motion. */
.ch-card { transition: transform .35s ease, box-shadow .35s ease; }
.ch-hover-lift .ch-card:hover,
.ch-hover-both .ch-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(47, 66, 51, .28); }
.ch-card__img,
.ch-world__media { overflow: hidden; }
.ch-card__img img,
.ch-world__media img { transition: transform .7s ease; }
.ch-hover-zoom .ch-card:hover .ch-card__img img,
.ch-hover-both .ch-card:hover .ch-card__img img,
.ch-world-zoom-yes .ch-world:hover .ch-world__media img { transform: scale(1.05); }

/* Logo */
.ch-logo-wrap { display: flex; }
.ch-logo { display: block; width: 180px; max-width: 100%; line-height: 0; }
.ch-logo svg,
.ch-logo img { display: block; width: 100%; height: auto; }

/* Badge */
.ch-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: 1px solid; border-radius: 999px; line-height: 1.3; box-shadow: 0 6px 16px -8px rgba(47, 66, 51, .35); }
.ch-badge__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; }

/* Pop-up form */
html.ch-popup-open { overflow: hidden; }
.ch-popup { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26, 33, 28, .6); }
.ch-popup[hidden] { display: none; }
.ch-popup__dialog { position: relative; box-sizing: border-box; width: 100%; max-width: 600px; max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-radius: 24px; background: var(--e-global-color-chcream, #FFF8F0); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); animation: ch-popup-in .35s ease; }
.ch-popup__title { margin: 0 40px 6px 0; }
.ch-popup__intro { margin: 0 0 18px; }
.ch-popup .ch-popup__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(47, 66, 51, .08); color: var(--e-global-color-primary, #2F4233); font: 400 22px/36px sans-serif; text-align: center; cursor: pointer; box-shadow: none; }
.ch-popup .ch-popup__close:hover,
.ch-popup .ch-popup__close:focus { background: rgba(47, 66, 51, .16); color: var(--e-global-color-primary, #2F4233); }
.ch-popup .ff-el-form-control { border-radius: 12px !important; border-color: var(--e-global-color-chborder, #D9D2C4) !important; background: #fff !important; }
.ch-popup .ff-el-group { margin-bottom: 14px; }
.ch-popup .ff-btn-submit { width: 100%; border-radius: 999px !important; padding: 14px 24px !important; font-weight: 600; }
.ch-popup--editing { position: static; display: block; padding: 0; background: none; }
.ch-popup--editing .ch-popup__dialog { max-height: none; margin: 0 auto; animation: none; }
.ch-popup__note { margin: 0 0 12px; font-size: 12px; opacity: .6; }
@keyframes ch-popup-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .ch-popup__dialog { padding: 24px 20px; } }

/* Heading with highlight */
.ch-hl { margin: 0; }

/* Smart header (Sticky → Hide when scrolling down) */
.ch-smart-target { transition: transform .35s ease, box-shadow .35s ease; will-change: transform; }
.ch-smart-target.ch-smart-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }
.ch-smart-target.ch-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }

/* Stacking panels (Advanced → Stacking panels) */
.ch-stack-yes > .e-con-inner > .elementor-element,
.ch-stack-yes > .elementor-element { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; padding: 48px 56px; background-color: #FFFFFF; border-radius: 32px 32px 0 0; }
@media (max-width: 1024px) {
	.ch-stack-yes > .e-con-inner > .elementor-element,
	.ch-stack-yes > .elementor-element { padding: 28px 24px; border-radius: 24px; margin-bottom: 16px; }
}
.ch-stack-yes.ch-stack-shadow-yes > .e-con-inner > .elementor-element + .elementor-element,
.ch-stack-yes.ch-stack-shadow-yes > .elementor-element + .elementor-element { box-shadow: 0 -24px 48px -32px var(--ch-stack-shadow, rgba(0, 0, 0, .35)); }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Form fields in the Pop-up and in Fluent Forms widgets: same font everywhere, and dropdowns
   with a brand chevron instead of the browser's default arrow. Applies to any dropdown staff add. */
/* Use the site's Body font (Elementor → Site Settings → Global Fonts) for the whole form. */
.ch-popup .fluentform,
.ch-popup .fluentform .ff-el-input--label label,
.ch-popup .fluentform .ff-btn,
.elementor-widget-fluent-form-widget .fluentform,
.elementor-widget-fluent-form-widget .fluentform .ff-el-input--label label,
.elementor-widget-fluent-form-widget .fluentform .ff-btn { font-family: var(--e-global-typography-text-font-family, 'Open Sans'), sans-serif; }
.ch-popup .fluentform .ff-el-form-control,
.elementor-widget-fluent-form-widget .fluentform .ff-el-form-control { font-family: var(--e-global-typography-text-font-family, 'Open Sans'), sans-serif; font-size: 15px; color: var(--e-global-color-primary, #2F4234); }
.ch-popup .fluentform .ff-el-form-control::placeholder,
.elementor-widget-fluent-form-widget .fluentform .ff-el-form-control::placeholder { font-family: var(--e-global-typography-text-font-family, 'Open Sans'), sans-serif; color: #8A918B; opacity: 1; }
.ch-popup .fluentform select.ff-el-form-control,
.elementor-widget-fluent-form-widget .fluentform select.ff-el-form-control {
	-webkit-appearance: none;
	appearance: none;
	min-height: 46px;
	padding-right: 44px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%232F4234' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 14px 14px !important;
	cursor: pointer;
}
.ch-popup .fluentform select.ff-el-form-control::-ms-expand,
.elementor-widget-fluent-form-widget .fluentform select.ff-el-form-control::-ms-expand { display: none; }
.ch-popup .fluentform .ff-el-form-control:focus,
.elementor-widget-fluent-form-widget .fluentform .ff-el-form-control:focus { border-color: var(--e-global-color-primary, #2F4234) !important; box-shadow: 0 0 0 3px rgba(47, 66, 52, .12) !important; outline: none; }
.ch-popup .fluentform input.ff-el-form-control { min-height: 46px; }
/* Map with school pin */
.ch-map { position: relative; height: 480px; border-radius: 12px; overflow: hidden; background: #E8E4DA; isolation: isolate; }
.ch-map__canvas { position: absolute; inset: 0; z-index: 0; font-family: inherit; }
.ch-map--soft .leaflet-tile-pane { filter: saturate(.78) sepia(.08) brightness(1.02); }
.ch-map .leaflet-control-zoom { border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); border-radius: 8px; overflow: hidden; }
.ch-map .leaflet-control-zoom a { color: var(--e-global-color-primary, #2F4234); width: 34px; height: 34px; line-height: 34px; text-decoration: none; }
.ch-map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .75); }
.ch-map__pin { background: none; border: 0; }
.ch-map__pin img { display: block; width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 6px 16px rgba(36, 51, 42, .35); }
.ch-map__pin::after { content: ""; position: absolute; left: 50%; top: 44px; margin-left: -8px; border: 8px solid transparent; border-top: 10px solid var(--e-global-color-primary, #2F4233); border-bottom: 0; }
.ch-map__popup .leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.ch-map__popup .leaflet-popup-content { margin: 12px 16px; font-size: 14px; line-height: 1.4; color: var(--e-global-color-text, #3A413C); }
.ch-map__popup strong { display: block; color: var(--e-global-color-primary, #2F4234); font-size: 15px; }
.ch-map .ch-map__directions { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; background: var(--e-global-color-primary, #2F4234); color: var(--e-global-color-chcream, #FFF8F0); border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: background-color .2s; }
.ch-map .ch-map__directions:hover, .ch-map .ch-map__directions:focus { background: var(--e-global-color-chforestdark, #24332A); color: var(--e-global-color-chcream, #FFF8F0); }

/* Latest news: cards, list and carousel */
.ch-news { --ch-news-cols: 3; --ch-news-gap: 28px; display: grid; grid-template-columns: repeat(var(--ch-news-cols), minmax(0, 1fr)); gap: var(--ch-news-gap); }
.ch-news__item { display: flex; flex-direction: column; overflow: hidden; background: var(--e-global-color-chwhite, #FFFFFF); border-radius: 12px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; height: 100%; }
/* Lift on hover: Latest news → Style → Cards */
.ch-news-lift-yes .ch-news__item:hover,
.ch-news-lift-yes .ch-news__item:focus-within { transform: translateY(calc(-1 * var(--ch-news-lift, 8px))); box-shadow: 0 22px 40px -20px var(--ch-news-shadow, rgba(36, 51, 42, .32)); }
.ch-news__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ch-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ch-news-zoom-yes .ch-news__item:hover .ch-news__img img { transform: scale(1.04); }
.ch-news__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.ch-news__date { margin: 0; font-size: 14px; }
.ch-news__title { margin: 0; }
.ch-news__title a { color: inherit; text-decoration: none; }
.ch-news__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ch-news__excerpt { margin: 0; }
.ch-news__more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; }
.ch-news__more:hover { text-decoration: underline; }
.ch-news__pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ch-news__pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; color: var(--e-global-color-primary, #2F4234); text-decoration: none; font-weight: 600; }
.ch-news__pages .page-numbers.current, .ch-news__pages a.page-numbers:hover { background: var(--e-global-color-primary, #2F4234); color: var(--e-global-color-chcream, #FFF8F0); }
.ch-news__empty { margin: 0; opacity: .8; }
.ch-news--list { grid-template-columns: minmax(0, 1fr); }
.ch-news--list .ch-news__item { flex-direction: row; }
.ch-news--list .ch-news__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
@media (max-width: 767px) { .ch-news--list .ch-news__item { flex-direction: column; } .ch-news--list .ch-news__img { aspect-ratio: 3 / 2; min-height: 0; } }
.ch-news-carousel { position: relative; }
.ch-news--carousel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--ch-news-cols) - 1) * var(--ch-news-gap)) / var(--ch-news-cols)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: calc(var(--ch-news-lift, 8px) + 4px) 0 28px; margin-top: calc(-1 * (var(--ch-news-lift, 8px) + 4px)); margin-bottom: -20px; outline-offset: 6px; }
.ch-news--carousel::-webkit-scrollbar { display: none; }
.ch-news__slide { scroll-snap-align: start; min-width: 0; }
.ch-news-carousel__arrows { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.ch-news-carousel .ch-news-carousel__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-height: 0; padding: 0; border: 1px solid var(--e-global-color-chborder, #DDE1DA); border-radius: 50%; background: var(--e-global-color-chwhite, #FFFFFF); color: var(--e-global-color-primary, #2F4234); stroke: currentColor; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ch-news-carousel__btn svg { width: 20px; height: 20px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-news-carousel__btn[hidden], .ch-news-carousel__dots[hidden] { display: none !important; }
.ch-news-carousel__dots { position: absolute; left: 0; bottom: 14px; display: flex; gap: 8px; }
.ch-news-carousel__arrows + .ch-news-carousel__dots { bottom: 20px; }
.ch-news-carousel__dots:only-child, .ch-news--carousel + .ch-news-carousel__dots { position: static; justify-content: center; margin-top: 20px; }
.ch-news-carousel .ch-news-carousel__dot { width: 9px; height: 9px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: var(--e-global-color-chborder, #DDE1DA); cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.ch-news-carousel .ch-news-carousel__dot[aria-selected="true"] { background: var(--e-global-color-primary, #2F4234); transform: scale(1.25); }

/* News article (Article widgets and the built-in layout) */
.ch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--e-global-color-secondary, #5F6E62); }
.ch-meta__cat { color: var(--e-global-color-accent, #A8781F); text-decoration: none; font-weight: 600; }
.ch-meta__cat:hover { text-decoration: underline; }
.ch-meta__sep { opacity: .6; }
.ch-article-title { margin: 0; }
.ch-article-image { margin: 0; }
.ch-article-image img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
.ch-article-image figcaption { margin-top: 10px; font-size: 14px; color: var(--e-global-color-secondary, #5F6E62); }
.ch-article-text { max-width: 720px; font-size: 18px; line-height: 1.75; }
.ch-article-text > *:first-child { margin-top: 0; }
.ch-article-text p, .ch-article-text ul, .ch-article-text ol { margin: 0 0 1.2em; }
.ch-article-text :is(h2, h3, h4) { margin: 1.6em 0 .5em; color: var(--e-global-color-primary, #2F4234); }
.ch-article-text a { color: var(--e-global-color-accent, #A8781F); text-underline-offset: 3px; }
.ch-article-text img { max-width: 100%; height: auto; border-radius: 10px; }
.ch-article-text blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--e-global-color-chgold, #E8B153); font-family: var(--e-global-typography-primary-font-family, 'Lora'), serif; font-size: 1.35em; line-height: 1.4; }
.ch-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ch-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-share__link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--e-global-color-chsand, #F6EEE3); fill: var(--e-global-color-primary, #2F4234); transition: background-color .2s ease, fill .2s ease; }
.ch-share__link svg { width: 18px; height: 18px; fill: inherit; }
.ch-share__link:hover { background: var(--e-global-color-primary, #2F4234); fill: var(--e-global-color-chcream, #FFF8F0); }
.ch-share__done { font-size: 14px; color: var(--e-global-color-secondary, #5F6E62); }
.ch-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--e-global-color-chborder, #DDE1DA); }
.ch-postnav__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--e-global-color-primary, #2F4234); }
.ch-postnav__item--next { text-align: right; }
.ch-postnav__label { font-size: 14px; color: var(--e-global-color-secondary, #5F6E62); }
.ch-postnav__item:hover .ch-postnav__title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .ch-postnav { grid-template-columns: 1fr; } .ch-postnav__item--next { text-align: left; } .ch-article-text { font-size: 17px; } }
.ch-listing-title h1 { margin: 0; }
.ch-listing-title__desc { margin-top: 12px; }

/* Built-in news layouts (used when no Elementor layout is chosen) */
.ch-news-page .ch-article, .ch-news-page .ch-listing, .ch-news-page .ch-article-related { width: min(1200px, 100% - 48px); margin: 0 auto; }
.ch-news-page .ch-article { display: flex; flex-direction: column; gap: 32px; max-width: 820px; padding: 64px 0 56px; }
.ch-news-page .ch-article__head { display: flex; flex-direction: column; gap: 16px; }
.ch-news-page .ch-article__title, .ch-news-page .ch-listing__title { margin: 0; font-family: var(--e-global-typography-chh1-font-family, var(--e-global-typography-primary-font-family, 'Lora')), serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; font-weight: 700; color: var(--e-global-color-primary, #2F4234); }
.ch-news-page .ch-article__back { margin: 0; }
.ch-news-page .ch-article__back a { font-weight: 600; text-decoration: none; color: var(--e-global-color-accent, #A8781F); }
.ch-news-page .ch-article__foot { display: flex; flex-direction: column; gap: 36px; }
.ch-news-page .ch-article-related { padding: 56px 0 120px; border-top: 1px solid var(--e-global-color-chborder, #DDE1DA); }
.ch-news-page .ch-article-related__title { margin: 0 0 28px; font-family: var(--e-global-typography-primary-font-family, 'Lora'), serif; font-weight: 700; font-size: 36px; color: var(--e-global-color-primary, #2F4234); }
.ch-news-page .ch-listing { padding: 64px 0 120px; }
.ch-news-page .ch-listing__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
@media (max-width: 1024px) { .ch-news-page .ch-news { --ch-news-cols: 2; } }
@media (max-width: 767px) { .ch-news-page .ch-news { --ch-news-cols: 1; } .ch-news-page .ch-article { padding-top: 40px; } .ch-news--carousel { grid-auto-columns: 86%; } }

/* Term dates */
.ch-terms { margin: 0; }
.ch-terms__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 8px 32px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--e-global-color-chborder, #DDE1DA); }
.ch-terms__row:last-child { border-bottom: 1px solid var(--e-global-color-chborder, #DDE1DA); border-bottom-color: inherit; }
.ch-terms__term, .ch-terms__dates, .ch-terms__note { margin: 0; }
.ch-terms__note:empty { display: none; }
@media (max-width: 767px) {
	.ch-terms__row { grid-template-columns: 1fr; padding: 20px 0; }
}

/* Legal links in the footer bottom row (navigation menu with the CSS class "ch-legal") */
.ch-legal ul.hfe-nav-menu { flex-wrap: wrap; row-gap: 4px; }
.ch-legal ul.hfe-nav-menu > li:last-child > a { padding-right: 0 !important; }
@media (max-width: 767px) { .ch-legal ul.hfe-nav-menu > li:first-child > a { padding-left: 0 !important; } }

/* Navigation Menu → Layout → Equal-width boxes (Creed House) */
.ch-boxes-yes ul.hfe-nav-menu::before, .ch-boxes-yes ul.hfe-nav-menu::after { display: none !important; content: none !important; }
.ch-boxes-yes ul.hfe-nav-menu { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; border: 1px solid var(--ch-boxes-line, rgba(255,248,240,.16)); border-radius: var(--ch-boxes-radius, 10px); overflow: hidden; }
.ch-boxes-yes ul.hfe-nav-menu > li { display: flex; justify-content: center; margin: 0 !important; box-shadow: -1px -1px 0 0 var(--ch-boxes-line, rgba(255,248,240,.16)); }
.ch-boxes-yes ul.hfe-nav-menu > li > a { width: 100%; justify-content: center; text-align: center; transition: background-color .2s ease; }
.ch-boxes-yes ul.hfe-nav-menu > li > a:hover { background: var(--ch-boxes-hover, rgba(255,248,240,.06)); }

/* Image Carousel: arrows sit over the photos, dots below */
.elementor-widget-image-carousel .elementor-image-carousel-caption { margin-top: 12px; }
.elementor-widget-image-carousel .elementor-swiper-button { top: calc(50% - 42px); }
.elementor-widget-image-carousel .swiper-pagination { position: static; margin-top: 24px; }


/* Lift on hover (container → Advanced → Lift on hover) */
.ch-lift-yes { transition: transform var(--ch-lift-speed, .4s) cubic-bezier(.2, .7, .2, 1), box-shadow var(--ch-lift-speed, .4s) ease; }
.ch-lift-yes img { transition: box-shadow var(--ch-lift-speed, .4s) ease; }
.ch-lift-yes:hover { transform: translateY(calc(-1 * var(--ch-lift, 8px))); }
.ch-lift-shadow-images:hover img { box-shadow: 0 24px 40px -20px var(--ch-lift-shadow, rgba(36, 51, 42, .35)); }
.ch-lift-shadow-card:hover { box-shadow: 0 28px 50px -24px var(--ch-lift-shadow, rgba(36, 51, 42, .35)); }
@media (prefers-reduced-motion: reduce) {
	.ch-lift-yes, .ch-lift-yes img { transition: none; }
	.ch-lift-yes:hover { transform: none; }
}

/* Buttons: "Lift (Creed House)" hover animation, and the Hero banner's buttons */
.elementor-animation-ch-lift,
.ch-hero-lift-yes .ch-hero__btn { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.elementor-animation-ch-lift:hover, .elementor-animation-ch-lift:focus-visible,
.ch-hero-lift-yes .ch-hero__btn:hover, .ch-hero-lift-yes .ch-hero__btn:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(36, 51, 42, .55); }
.elementor-animation-ch-lift:active, .ch-hero-lift-yes .ch-hero__btn:active { transform: translateY(-1px); box-shadow: 0 6px 12px -8px rgba(36, 51, 42, .5); transition-duration: .1s; }
@media (prefers-reduced-motion: reduce) {
	.elementor-animation-ch-lift:hover, .ch-hero-lift-yes .ch-hero__btn:hover { transform: none; }
}

/* Form submit buttons rise on hover (Fluent Forms widget and Pop-up form → Style → submit button switch) */
.ch-btn-lift-yes .ff-btn-submit { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease !important; }
.ch-btn-lift-yes .ff-btn-submit:not([disabled]):hover,
.ch-btn-lift-yes .ff-btn-submit:not([disabled]):focus-visible { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(36, 51, 42, .55); }
.ch-btn-lift-yes .ff-btn-submit:not([disabled]):active { transform: translateY(-1px); box-shadow: 0 6px 12px -8px rgba(36, 51, 42, .5); transition-duration: .1s !important; }
@media (prefers-reduced-motion: reduce) {
	.ch-btn-lift-yes .ff-btn-submit:hover { transform: none; }
}

/* Button widget: size the widget to the button itself, so a button lines up with text beside it
   (Elementor's wrapper otherwise adds a line of body-text height around the button). */
.elementor-widget-button, .elementor-widget-button .elementor-button-wrapper { line-height: 0; }
.elementor-widget-button .elementor-button { vertical-align: top; }

@media (prefers-reduced-motion: reduce) {
	.ch-news-lift-yes .ch-news__item:hover, .ch-news-lift-yes .ch-news__item:focus-within { transform: none; }
}
