/* Homepage hero rotator. Scoped under .thh; selectors use two classes so the Elementor kit styles don't win. */
.thh {
	--forest: #10352f;
	--sage: #4f8663;
	--mint: #9fd0b1;
	--pink: #f26e8c;
	--pink-dk: #e85b7b;
	--line: rgba(16, 53, 47, .16);
	--muted: #5d6f68;
	--display: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
	--body: "Lora", Georgia, serif;
	--gut: clamp(20px, 5.5vw, 80px);
	--dur: 3.5s;
	position: relative;
	background: var(--e-global-color-3d0ba40, #efe6da);
	color: var(--forest);
	font: 400 17px/1.6 var(--body);
	overflow-x: clip;
}
.thh *, .thh *::before, .thh *::after { box-sizing: border-box; }
.thh .thh__wrap { width: min(1280px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* The theme and Elementor style every button; reset ours. */
.thh button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; box-shadow: none; text-transform: none; letter-spacing: inherit; line-height: inherit; white-space: normal; cursor: pointer; }
.thh button:hover, .thh button:focus, .thh button:active { color: inherit; background-color: transparent; }

/* slides share one grid cell and crossfade; the tallest sets the height */
.thh .thh__track { display: grid; grid-template-columns: minmax(0, 1fr); }
.thh .thh__slide { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.thh .thh__slide.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; z-index: 1; }
.thh .thh__slide--brand > .e-con { flex: 1; }

.thh .thh__in { flex: 1; min-height: 590px; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 60px; align-items: center; padding-block: 50px; }
.thh .thh__in > * { min-width: 0; }
.thh .thh__slide.is-on .thh__text > * { animation: thh-rise .7s both; }
.thh .thh__slide.is-on .thh__text > :nth-child(2) { animation-delay: .06s; }
.thh .thh__slide.is-on .thh__text > :nth-child(3) { animation-delay: .12s; }
.thh .thh__slide.is-on .thh__text > :nth-child(4) { animation-delay: .18s; }
.thh .thh__slide.is-on .thh__text > :nth-child(5) { animation-delay: .24s; }
@keyframes thh-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.thh .thh__eyebrow { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.thh .thh__eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.thh .thh__title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.9vw, 56px); line-height: 1.02; letter-spacing: 0; text-transform: uppercase; margin: 18px 0 0; color: var(--forest); overflow-wrap: break-word; }
.thh .thh__title--long { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.06; }
.thh .thh__title a { color: inherit; text-decoration: none; }
.thh .thh__title a:hover { color: var(--sage); }
.thh .thh__sub { font-size: clamp(17px, 1.5vw, 21px); font-style: italic; margin: 14px 0 0; }
.thh .thh__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; font-size: 17px; }
.thh .thh__meta span { display: inline-flex; gap: 9px; align-items: center; }
.thh .tel-ico { width: 19px; height: 19px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.thh .tel-flip { transform: scaleX(-1); }
.thh .thh__meta .tel-ico { color: var(--sage); }

.thh .thh__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.thh .thh__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 15px 30px; border-radius: 99px; transition: background-color .2s, color .2s, transform .2s; }
.thh .thh__btn:hover { transform: translateY(-2px); }
.thh .thh__btn--pink, .thh .thh__btn--pink:hover, .thh .thh__btn--pink:focus { background: var(--pink); color: #fff; }
.thh .thh__btn--pink:hover { background: var(--pink-dk); }
.thh .thh__btn--ghost { border: 1px solid var(--forest); color: var(--forest); }
.thh .thh__btn--ghost:hover, .thh .thh__btn--ghost:focus-visible { background: var(--forest); color: #fff; }
.thh .thh__btn .tel-ico { width: 17px; height: 17px; }

/* event image card: the whole image, never cropped */
.thh .thh__card { position: relative; justify-self: end; width: min(620px, 100% - 34px); }
.thh .thh__img { display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--forest); box-shadow: 0 34px 60px -30px rgba(16,53,47,.55); transition: transform .4s; }
.thh .thh__img:hover { transform: scale(1.015); }
.thh .thh__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thh .thh__fallback { position: relative; width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; color: #fff; background: var(--forest) url("../../uploads/2026/06/hero_accent_image_aloe2-edit.webp") center / cover; }
.thh .thh__fallback::before { content: ""; position: absolute; inset: 0; background: rgba(10, 36, 31, .78); }
.thh .thh__fallback > * { position: relative; }
.thh .thh__fallback img { width: min(230px, 50%); height: auto; object-fit: contain; }
.thh .thh__fallback small { font-family: var(--display); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--mint); }
.thh .thh__badge { position: absolute; left: -34px; top: -30px; width: 96px; padding: 14px 0 12px; background: #fff; border-radius: 14px; text-align: center; box-shadow: 0 18px 30px -18px rgba(16,53,47,.5); }
.thh .thh__badge small { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.thh .thh__badge b { display: block; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; margin-top: 4px; }
.thh .thh__badge em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* "Coming up" bar */
.thh .thh__rail { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--thh-n, 5), minmax(0, 1fr)) auto; border-top: 1px solid var(--line); }
.thh .thh__item { position: relative; display: block; text-align: left; padding: 18px 22px 24px 0; }
.thh .thh__item::before, .thh .thh__item::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; }
.thh .thh__item::before { right: 22px; }
.thh .thh__item::after { width: 0; background: var(--forest); }
.thh .thh__item.is-on::before { background: rgba(16, 53, 47, .18); }
.thh .thh__item.is-on::after { animation: thh-fill var(--dur) linear forwards; }
.thh.is-paused .thh__item.is-on::after, .thh.is-held .thh__item.is-on::after { animation-play-state: paused; }
.thh.is-still .thh__item.is-on::after { animation: none; width: calc(100% - 22px); }
@keyframes thh-fill { to { width: calc(100% - 22px); } }
.thh .thh__item small { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.thh .thh__item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.thh .thh__item:hover span, .thh .thh__item.is-on span { color: var(--forest); }
.thh .thh__item.is-on span { font-weight: 500; }
.thh .thh__ctl { display: flex; gap: 10px; align-items: center; padding-left: 10px; }
.thh .thh__circ { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(16, 53, 47, .35); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.thh .thh__circ:hover { background: #fff; border-color: var(--forest); }
.thh .thh__circ .tel-ico { width: 18px; height: 18px; }
.thh .thh__i-play, .thh.is-paused .thh__i-pause { display: none; }
.thh.is-paused .thh__i-play { display: block; }
.thh .thh__dots { display: none; }
.thh .thh__item:focus-visible, .thh .thh__circ:focus-visible, .thh .thh__dots button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

/* tablet */
@media (max-width: 1100px) {
	.thh .thh__in { grid-template-columns: 1fr 1fr; gap: 40px; }
	.thh .thh__rail { grid-template-columns: repeat(var(--thh-n, 5), minmax(0, 1fr)); }
	.thh .thh__ctl { grid-column: 1 / -1; justify-content: flex-end; padding: 0 0 18px; }
}

/* phone: image on top; the bar becomes dots */
@media (max-width: 700px) {
	.thh .thh__in { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-block: 30px 10px; }
	.thh .thh__card { order: -1; width: auto; margin: 14px 0 26px 10px; justify-self: auto; }
	.thh .thh__badge { left: -10px; top: -14px; width: 70px; padding: 9px 0 8px; border-radius: 11px; }
	.thh .thh__badge b { font-size: 30px; }
	.thh .thh__badge small { font-size: 11px; }
	.thh .thh__badge em { display: none; }
	.thh .thh__title { font-size: min(32px, 8.4vw); }
	.thh .thh__meta { flex-direction: column; gap: 8px; margin-top: 16px; font-size: 15px; }
	.thh .thh__ctas { flex-direction: column; margin-top: 22px; gap: 10px; }
	.thh .thh__ctas .thh__btn { width: 100%; padding: 14px 20px; font-size: 14px; }
	.thh .thh__rail { display: flex; align-items: center; padding: 16px 0 20px; }
	.thh .thh__item { display: none; }
	.thh .thh__dots { display: flex; gap: 4px; align-items: center; margin-right: auto; }
	.thh .thh__dots button { width: 22px; height: 26px; display: grid; place-items: center; }
	.thh .thh__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 9px; background: rgba(16, 53, 47, .25); transition: width .3s, background-color .3s; }
	.thh .thh__dots button.is-on { width: 36px; }
	.thh .thh__dots button.is-on::before { width: 24px; background: var(--forest); }
	.thh .thh__ctl { padding: 0; }
	.thh .thh__circ { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.thh .thh__slide, .thh .thh__slide.is-on { transition: none; }
	.thh .thh__slide.is-on .thh__text > * { animation: none; }
}
