/* Chem Advances – front end for the atomic templates.
   Header .elementor-933 · Footer .elementor-934 · Product page .elementor-935
   Gradients live here because the host firewall blocks "linear-gradient(" in editor requests. */

body { overflow-x: clip; }

/* ---------- shared ---------- */
.ca-gradient-bar { background-image: linear-gradient(90deg, #68B04D 0%, #1D9B43 100%); }
a.ca-btn, .ca-btn { text-decoration: none; }
.ca-btn::after {
	content: ""; width: 18px; height: 18px; flex-shrink: 0; background-color: currentColor;
	-webkit-mask: url(arrow-right.svg) center / contain no-repeat; mask: url(arrow-right.svg) center / contain no-repeat;
	transition: transform .3s ease;
}
.ca-btn:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
/* Whole header is sticky; the 38px top bar scrolls away and the white bar stays. */
header.elementor-933 { position: sticky; top: -38px; z-index: 999; }
.admin-bar header.elementor-933 { top: -6px; }
@media (max-width: 782px) { .admin-bar header.elementor-933 { top: 8px; } }
@media (max-width: 600px) { .admin-bar header.elementor-933 { top: -38px; } }
.elementor-933 .ca-topbar-icon svg, .elementor-934 .ca-contact-icon svg { width: 100%; height: 100%; display: block; }

.elementor-933 .e-image-link-base { display: block; flex: 0 1 290px; max-width: 290px; transition: opacity .3s ease; }
.elementor-933 .e-image-link-base:hover { opacity: .85; }
.elementor-933 .e-image-link-base img { width: 100% !important; max-width: none !important; height: auto; display: block; }
@media (max-width: 1440px) { .elementor-933 .e-image-link-base { flex-basis: 250px; } }
@media (max-width: 767px) { .elementor-933 .e-image-link-base { flex-basis: 200px; } }
.elementor-933 .elementor-widget-nav-menu { margin-left: auto; }
@media (max-width: 1024px) {
	.elementor-933 .e-image-link-base { flex-shrink: 0; }
	.elementor-933 .elementor-menu-toggle { margin-left: auto !important; margin-right: 0 !important; }
}

.elementor-933 .elementor-widget-nav-menu { --e-nav-menu-horizontal-menu-item-margin: 22px; }
@media (max-width: 1440px) { .elementor-933 .elementor-widget-nav-menu { --e-nav-menu-horizontal-menu-item-margin: 17px; } }
.elementor-933 .elementor-nav-menu--main .elementor-item {
	font-family: brandon-grotesque, sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .07em;
	text-transform: uppercase; color: #3C3C3C; fill: #3C3C3C; padding: 22px 0;
}
.elementor-933 .elementor-nav-menu--main .elementor-item:hover,
.elementor-933 .elementor-nav-menu--main .elementor-item:focus { color: #1D9B43; }
.elementor-933 .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #1D9B43; }
/* Same padding in every state (Elementor adds 20px side padding while a dropdown is open, which made the menu jump). */
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a,
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a:hover,
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a:focus,
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a.highlighted { padding: 22px 0 !important; }
/* One underline, drawn by us (the widget's own pointer is off). */
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a { position: relative; }
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: #68B04D;
	transform: scaleX(0); transform-origin: left center; transition: transform .25s ease; opacity: 1 !important;
}
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a:hover::after,
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a.highlighted::after,
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item-active::after { transform: scaleX(1); }
.elementor-933 .elementor-nav-menu--main .sub-arrow { font-size: 13px; margin-inline-start: 8px; color: #68B04D; }
.elementor-933 .elementor-nav-menu--main .sub-arrow i, .elementor-933 .elementor-nav-menu--main .sub-arrow svg { font-size: 13px; width: 13px; height: 13px; }
.elementor-933 nav.elementor-nav-menu--dropdown .sub-arrow, .elementor-933 nav.elementor-nav-menu--dropdown .sub-arrow i { font-size: 15px; color: #68B04D; }
.elementor-933 .elementor-nav-menu--main .elementor-nav-menu--dropdown {
	background: #fff; border: 0; border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(0,0,0,.14);
	min-width: 250px !important; padding: 8px 0;
}
.elementor-933 .elementor-nav-menu--dropdown .elementor-sub-item {
	font-family: brandon-grotesque, sans-serif; font-weight: 500; font-size: 17px; color: #3C3C3C; padding: 10px 22px; text-transform: none;
	border-left: 3px solid transparent; transition: all .2s ease;
}
.elementor-933 .elementor-nav-menu--dropdown .elementor-sub-item:hover,
.elementor-933 .elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active { background: #F1F8EE; color: #1D9B43; border-left-color: #68B04D; }

/* tablet / phone menu */
.elementor-933 .elementor-menu-toggle { background: #F1F8EE; color: #1D9B43; font-size: 26px; padding: 8px; border-radius: 8px; }
.elementor-933 .elementor-menu-toggle:hover { background: #68B04D; color: #fff; }
.elementor-933 .elementor-menu-toggle svg { fill: currentColor; }
.elementor-933 .ca-header-row { position: relative; }
@media (max-width: 1024px) { .elementor-933 .elementor-widget-nav-menu { position: static !important; } }
.elementor-933 nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	position: absolute; top: 100%; left: 0 !important; right: 0; width: 100% !important; z-index: 20;
	background: #fff; margin-top: 3px; box-shadow: 0 14px 30px rgba(0,0,0,.14); border-top: 3px solid #68B04D;
}
.elementor-933 nav.elementor-nav-menu--dropdown .elementor-item,
.elementor-933 nav.elementor-nav-menu--dropdown .elementor-sub-item {
	font-family: brandon-grotesque, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .05em; color: #3C3C3C;
	text-transform: uppercase; padding: 14px 24px; border-bottom: 1px solid #eef0ee;
}
.elementor-933 nav.elementor-nav-menu--dropdown .elementor-sub-item { font-weight: 500; letter-spacing: 0; text-transform: none; padding-left: 42px; }
.elementor-933 nav.elementor-nav-menu--dropdown a:hover,
.elementor-933 nav.elementor-nav-menu--dropdown a.elementor-item-active { background: #F1F8EE; color: #1D9B43; }

/* ---------- footer ---------- */
.elementor-934 .ca-footer-cta { background-image: linear-gradient(115deg, #1D9B43 0%, #68B04D 100%); position: relative; overflow: hidden; }
.elementor-934 .ca-footer-cta > * { position: relative; z-index: 1; }
.elementor-934 .ca-footer-cta::after {
	content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 260px; transform: translateY(-50%);
	background: url(../../../uploads/2024/01/chem-advances-grey.svg) center / contain no-repeat; opacity: .12; pointer-events: none;
}
@media (max-width: 767px) { .elementor-934 .ca-footer-cta::after { display: none; } }
.elementor-934 .e-image-link-base { display: block; width: 100%; max-width: 250px; }
.elementor-934 img.ca-logo-white { filter: brightness(0) invert(1); width: 100% !important; height: auto; }
.elementor-934 a, .elementor-934 a:hover { text-decoration: none; }
.elementor-934 .ca-footer-link a, .elementor-934 .ca-footer-link a:hover { color: inherit; }
.elementor-934 .ca-footer-col > p:not(.ca-footer-link) a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.elementor-934 .ca-footer-col > p:not(.ca-footer-link) a:hover { color: #68B04D; }
.elementor-934 .ca-footer-small a { color: rgba(255,255,255,.85); }
.elementor-934 .ca-footer-small a:hover { color: #68B04D; }

.chem-footer-products { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.chem-footer-products a { color: rgba(255,255,255,.78); font-family: brandon-grotesque, sans-serif; font-size: 17px; line-height: 1.3; transition: color .3s ease; }
.chem-footer-products a:hover { color: #68B04D; }

/* ---------- product page ---------- */
.elementor-935 .elementor-element-2c24ff52 {
	background-image: linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)), var(--chem-hero, linear-gradient(90deg, #68B04D, #1D9B43));
	background-size: cover; background-position: center; background-attachment: fixed;
}
@media (max-width: 1024px) { .elementor-935 .elementor-element-2c24ff52 { background-attachment: scroll; } }

.chem-photo__img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 10px rgba(0,0,0,.28); }

.chem-info { font-family: brandon-grotesque, sans-serif; font-size: 18px; line-height: 1.6; color: #3C3C3C; }
.chem-info > :first-child { margin-top: 0; }
.chem-info > :last-child { margin-bottom: 0; }
.chem-info p { margin: 0 0 1em; }
.chem-info ul, .chem-info ol { margin: 0 0 1em; padding-left: 1.3em; }
.chem-info li { margin-bottom: .35em; }
.chem-info li::marker { color: #68B04D; }
.chem-info h2, .chem-info h3, .chem-info h4 { color: #3C3C3C; font-weight: 600; margin: 1.2em 0 .5em; line-height: 1.25; }
.chem-info a { color: #1D9B43; }
.chem-info strong { font-weight: 600; }

.chem-postnav { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #e3e3e3; padding-top: 24px; }
.chem-postnav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; max-width: 48%; }
.chem-postnav__next { text-align: right; margin-left: auto; }
.chem-postnav__label { font-family: Roboto, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #3C3C3C; }
.chem-postnav__prev .chem-postnav__label::before { content: "← "; }
.chem-postnav__next .chem-postnav__label::after { content: " →"; }
.chem-postnav__title { font-family: brandon-grotesque, sans-serif; font-size: 18px; color: #68B04D; transition: color .3s ease; }
.chem-postnav a:hover .chem-postnav__title { color: #3C3C3C; }

/* ---------- home page ---------- */
/* Hero: photos crossfade every 5s on their own (25s loop for 5 photos) until home.js takes over. */
.chem-heroslides { position: absolute; inset: 0; overflow: hidden; background: #2b2f2d; }
.chem-heroslides__img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover;
	opacity: 0; animation: chemHeroFade 25s linear infinite; animation-delay: calc(var(--i) * 5s - 25s);
}
.chem-heroslides__img:first-child { opacity: 1; }
@keyframes chemHeroFade { 0% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 96% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chem-heroslides__img { animation: none; } .chem-heroslides__img:not(:first-child) { opacity: 0; } }
.chem-heroslides::after, .chem-herophotos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 100%); }
.chem-herophotos { position: absolute; inset: 0; overflow: hidden; background: #2b2f2d; }
.chem-herophotos .chem-heroslides__img { animation: none; }
/* Big green logo mark over the photos, right side */
.chem-herophotos::after { z-index: 1; }
.chem-herophotos::before {
	content: ""; position: absolute; z-index: 2; right: -3%; top: 50%; transform: translateY(-56%);
	width: min(50vw, 960px); aspect-ratio: 108 / 66.71; pointer-events: none; opacity: .92;
	background: url(logo-mark.svg) center / contain no-repeat; filter: drop-shadow(0 10px 40px rgba(0,0,0,.35));
}
.chem-herophotos::after { background: linear-gradient(90deg, rgba(12,16,14,.74) 0%, rgba(12,16,14,.36) 40%, rgba(12,16,14,.42) 58%, rgba(12,16,14,.78) 82%, rgba(12,16,14,.9) 100%), linear-gradient(0deg, rgba(12,16,14,.55) 0%, rgba(12,16,14,0) 32%); }

/* Product & technology slideshow (home.js adds .chem-hero-js and the tabs) */
.ca-hero:has(.chem-herotext) { flex-wrap: wrap; align-content: center; justify-content: space-between !important; row-gap: 48px; }
.chem-hero-js .chem-heroslides__img { animation: none; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 8s ease-out; }
.chem-hero-js .chem-heroslides__img.is-active { opacity: 1; transform: scale(1); }
.chem-herotext { display: grid; color: #fff; }
.chem-herotext__slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; transition: opacity .7s ease, transform .7s ease; }
.chem-herotext__slide:not(:first-child) { visibility: hidden; opacity: 0; }
.chem-hero-js .chem-herotext__slide { visibility: hidden; opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s; }
.chem-hero-js .chem-herotext__slide.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: .25s, .25s, 0s; }
.chem-herotext__eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-family: Roboto, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #A6DA8F; }
.chem-herotext__eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: #68B04D; }
.chem-herotext__name { margin: 0; font-family: brandon-grotesque, sans-serif; font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; color: #68B04D; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.chem-herotext__copy { margin: 0; max-width: 540px; font-family: Roboto, sans-serif; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.9); text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.chem-herotext__btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border: 2px solid #68B04D; background-color: #68B04D; box-shadow: 0 8px 24px rgba(0,0,0,.28); border-radius: 50px; font-family: brandon-grotesque, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: #fff !important; text-decoration: none; transition: background-color .3s ease, border-color .3s ease; }
.chem-herotext__btn::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url(arrow-right.svg) center / contain no-repeat; mask: url(arrow-right.svg) center / contain no-repeat; transition: transform .3s ease; }
.chem-herotext__btn:hover, .chem-herotext__btn:focus-visible { background-color: #1D9B43; border-color: #1D9B43; }
.chem-herotext__btn:hover::after { transform: translateX(4px); }
.chem-herotext__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.chem-herotext__actions .chem-herotext__btn { margin-top: 0; }
.chem-herotext__btn--ghost { background-color: transparent; border-color: rgba(255,255,255,.8); box-shadow: none; }
.chem-herotext__btn--ghost::after { display: none; }
.chem-herotext__btn--ghost:hover, .chem-herotext__btn--ghost:focus-visible { background-color: #fff; border-color: #fff; color: #1D9B43 !important; }

/* Scroll cue (added by home.js) */
.chem-hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; opacity: .8; transition: opacity .3s ease; }
.chem-hero-scroll:hover, .chem-hero-scroll:focus-visible { opacity: 1; }
.chem-hero-scroll svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: chemHeroBob 2.4s ease-in-out infinite; }
@keyframes chemHeroBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .chem-hero-scroll svg { animation: none; } }

.chem-herotabs { position: relative; z-index: 1; flex: 0 0 100%; order: 3; display: flex; align-items: center; gap: 20px; }
.chem-herotabs__list { display: flex; gap: 10px; }
.chem-herotabs__tab { all: unset; box-sizing: border-box; flex: 0 0 auto; width: 56px; display: block; cursor: pointer; padding: 14px 0; }
.chem-herotabs__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chem-herotabs__label { font-family: Roboto, sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .01em; color: rgba(255,255,255,.62); line-height: 1.25; transition: color .3s ease; }
.chem-herotabs__tab:hover .chem-herotabs__label, .chem-herotabs__tab.is-active .chem-herotabs__label { color: #fff; }
.chem-herotabs__bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.chem-herotabs__fill { display: block; height: 100%; background: #68B04D; transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }
.chem-herotabs__tab:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.chem-herotabs__pause { all: unset; box-sizing: border-box; flex: 0 0 auto; width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; transition: background-color .3s ease, border-color .3s ease; }
.chem-herotabs__pause:hover, .chem-herotabs__pause:focus-visible { background: #68B04D; border-color: #68B04D; }
.chem-herotabs__pause svg { width: 16px; height: 16px; fill: currentColor; grid-area: 1 / 1; }
.chem-herotabs__pause .i-play, .is-paused .chem-herotabs__pause .i-pause { display: none; }
.is-paused .chem-herotabs__pause .i-play { display: block; }
.chem-herotabs.is-single { display: none; }

@media (max-width: 1440px) { .chem-herotext__name { font-size: 22px; } }
@media (max-width: 1024px) {
	.ca-hero:has(.chem-herotext) { justify-content: center !important; row-gap: 36px; }
	.chem-herophotos::before { width: 56vw; top: 30px; right: -6%; transform: none; opacity: .3; }
	.chem-herotabs { padding-right: 0; }
	.chem-herotext__copy { max-width: none; }
	.chem-hero-scroll { display: none; }
}
@media (max-width: 767px) {
	.ca-hero:has(.chem-herotext) { row-gap: 28px; }
	.chem-herotext__name { font-size: 19px; }
	.chem-herophotos::before { width: 70vw; top: 18px; right: -14vw; transform: none; opacity: .22; }
	.chem-herotext__copy { display: none; }
	.chem-herotext__actions { gap: 10px; }
	.chem-herotext__btn { padding: 12px 18px; font-size: 13px; gap: 8px; }
	.chem-herotext__btn::after { width: 12px; height: 12px; }
	.chem-herotabs { gap: 14px; align-items: center; }
	.chem-herotabs__list { gap: 8px; }
	.chem-herotabs__list { flex: 1; min-width: 0; }
	.chem-herotabs__tab { flex: 1 1 0; width: auto; max-width: 52px; }
	.chem-herophotos::after { background: linear-gradient(0deg, rgba(12,16,14,.8) 0%, rgba(12,16,14,.45) 55%, rgba(12,16,14,.3) 100%); }
}
@media (min-width: 768px) and (max-width: 1024px) { .chem-herotext__copy { max-width: 640px; } }
@media (prefers-reduced-motion: reduce) {
	.chem-hero-js .chem-heroslides__img, .chem-hero-js .chem-herotext__slide { transition: none; transform: none; }
}

.ca-hero-card { background-image: linear-gradient(160deg, rgba(104,176,77,.92) 0%, rgba(29,155,67,.94) 100%); overflow: hidden; }
.ca-hero-card::before {
	content: ""; position: absolute; inset: -10% -25%; pointer-events: none; opacity: .12;
	background: url(../../../uploads/2024/01/chem-advances-grey.svg) center / 110% no-repeat; filter: brightness(3);
}
.ca-hero-card > * { position: relative; }

/* About: photo with a soft green offset behind it */
.ca-photo-frame { position: relative; }
.ca-photo-frame::before { content: ""; position: absolute; top: auto; left: auto; right: -18px; bottom: -18px; width: 70%; height: 70%; border-radius: 20px; background: linear-gradient(135deg, #68B04D, #1D9B43); opacity: .9; }
.ca-photo-frame img { position: relative; z-index: 1; display: block; width: 100% !important; height: auto; border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
@media (max-width: 767px) { .ca-photo-frame::before { right: -10px; bottom: -10px; } }

/* Products section: light grey with the faint logo mark */
.ca-products { position: relative; overflow: hidden; }
.ca-products::before {
	content: ""; position: absolute; left: 50%; top: 40px; width: 900px; height: 560px; transform: translateX(-50%);
	background: url(../../../uploads/2024/01/chem-advances-grey.svg) center / contain no-repeat; opacity: .07; pointer-events: none;
}
.ca-products > * { position: relative; }

/* Product cards (same look as the old loop: photo, white card overlapping it, green bar, icon) */
.chem-cards, .chem-productcards { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 28px; width: 100%; }
.chem-card { flex: 0 1 calc((100% - 56px) / 3); display: flex; flex-direction: column; align-items: center; text-decoration: none !important; color: inherit; }
@media (max-width: 1024px) { .chem-card { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 767px) { .chem-card { flex-basis: 100%; } }
.chem-card__img { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: #e9ece9; }
.chem-card__img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .5s ease; }
.chem-card:hover .chem-card__img img { transform: scale(1.05); }
.chem-card__body {
	position: relative; width: 90%; margin-top: -42px; background: #fff; border-radius: 12px; overflow: hidden;
	padding: 30px 26px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1;
	box-shadow: 0 10px 30px rgba(0,0,0,.08); transition: box-shadow .3s ease, transform .3s ease;
}
.chem-card:hover .chem-card__body { box-shadow: 0 16px 40px rgba(0,0,0,.14); transform: translateY(-4px); }
.chem-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #68B04D, #1D9B43); }
.chem-card__icon { width: 52px !important; height: 52px !important; object-fit: contain; margin-bottom: 2px; }
.chem-card__title { font-family: brandon-grotesque, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; color: #3C3C3C; transition: color .3s ease; }
.chem-card:hover .chem-card__title { color: #1D9B43; }
.chem-card__text { font-family: brandon-grotesque, sans-serif; font-size: 17px; line-height: 1.55; color: #5a5f5c; }
.chem-card__more {
	margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px;
	font-family: brandon-grotesque, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #1D9B43;
}
.chem-card__more::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url(arrow-right.svg) center / contain no-repeat; mask: url(arrow-right.svg) center / contain no-repeat; transition: transform .3s ease; }
.chem-card:hover .chem-card__more::after { transform: translateX(4px); }

/* ---------- inner page hero (green band with the faint logo mark) ---------- */
.ca-page-hero { position: relative; overflow: hidden; background-image: linear-gradient(115deg, #1D9B43 0%, #68B04D 100%); }
.ca-page-hero::after {
	content: ""; position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: min(46vw, 640px); aspect-ratio: 108 / 66.71;
	background: url(../../../uploads/2024/01/chem-advances-grey.svg) center / contain no-repeat; opacity: .14; pointer-events: none;
}
.ca-page-hero > * { position: relative; z-index: 1; }
@media (max-width: 767px) { .ca-page-hero::after { width: 90vw; right: -30vw; opacity: .1; } }

/* ---------- contact page ---------- */
.chem-contactinfo { display: flex; flex-direction: column; gap: 14px; }
.chem-contact__row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.06); color: #3C3C3C !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.chem-contact__row:hover, .chem-contact__row:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
.chem-contact__icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #68B04D, #1D9B43); color: #fff; }
.chem-contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chem-contact__text { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.chem-contact__label { font-family: Roboto, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #68B04D; }
.chem-contact__value { font-family: brandon-grotesque, sans-serif; font-size: 19px; font-weight: 500; line-height: 1.35; color: #262A28; word-break: break-word; }
.chem-contact__row:hover .chem-contact__value { color: #1D9B43; }

.chem-map { line-height: 0; }
.chem-map__frame { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.25); }
@media (max-width: 767px) { .chem-map__frame { height: 320px; } }

/* Gravity Forms in the brand */
.chem-contactform .gform_wrapper.gravity-theme .gform_fields { row-gap: 22px; column-gap: 18px; }
.chem-contactform .gform_wrapper.gravity-theme .gfield_label { font-family: brandon-grotesque, sans-serif; font-size: 16px; font-weight: 600; color: #262A28; margin-bottom: 8px; padding: 0; }
.chem-contactform .gform_wrapper.gravity-theme .gfield_required { color: #1D9B43; }
.chem-contactform .gform_wrapper.gravity-theme .ginput_complex label, .chem-contactform .gform_wrapper.gravity-theme .gform-field-label--type-sub { font-family: Roboto, sans-serif; font-size: 12px; color: #777; padding-top: 6px; }
.chem-contactform .gform_wrapper.gravity-theme input[type=text], .chem-contactform .gform_wrapper.gravity-theme input[type=email], .chem-contactform .gform_wrapper.gravity-theme input[type=tel], .chem-contactform .gform_wrapper.gravity-theme textarea {
	width: 100%; padding: 14px 16px !important; border: 1px solid #DADDDA; border-radius: 10px; background: #F7F8F7; font-family: Roboto, sans-serif; font-size: 16px; color: #262A28; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.chem-contactform .gform_wrapper.gravity-theme textarea { min-height: 170px; }
.chem-contactform .gform_wrapper.gravity-theme input:focus, .chem-contactform .gform_wrapper.gravity-theme textarea:focus { outline: none; border-color: #68B04D; background: #fff; box-shadow: 0 0 0 3px rgba(104,176,77,.2); }
.chem-contactform .gform_wrapper.gravity-theme .gform_footer { margin: 26px 0 0; padding: 0; }
.chem-contactform .gform_wrapper.gravity-theme .gform_button {
	padding: 15px 38px; border: 0; border-radius: 50px; background: #68B04D; color: #fff; font-family: brandon-grotesque, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 22px rgba(29,155,67,.3); transition: background-color .3s ease, transform .2s ease;
}
.chem-contactform .gform_wrapper.gravity-theme .gform_button:hover, .chem-contactform .gform_wrapper.gravity-theme .gform_button:focus-visible { background: #1D9B43; transform: translateY(-1px); }
.chem-contactform .gform_wrapper.gravity-theme .gfield_error input, .chem-contactform .gform_wrapper.gravity-theme .gfield_error textarea { border-color: #c02b0a; }
.chem-contactform .gform_confirmation_message { padding: 22px 24px; border-radius: 12px; background: #F1F8EE; border-left: 4px solid #68B04D; font-family: Roboto, sans-serif; font-size: 17px; color: #262A28; }
@media (max-width: 640px) { .chem-contactform .gform_wrapper.gravity-theme .gfield--width-half { grid-column: span 12; } }

/* The footer's "Contact Us" call to action isn't needed on the contact page itself. */
body:has(.chem-contactform) .elementor-934 .ca-footer-cta { display: none; }

/* Accessibility (PageSpeed): main landmark, skip link, links inside sentences are underlined */
.chem-main { display: block; outline: none; }
body .skip-link.screen-reader-text:focus { background: #3C3C3C; color: #fff; clip: auto; clip-path: none; width: auto; height: auto; padding: 12px 20px; top: 8px; left: 8px; z-index: 100000; border-radius: 4px; text-decoration: none; }
.elementor-934 .ca-footer-small a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.elementor-934 .ca-footer-small a:hover { text-decoration-color: currentColor; }

/* Product page text: group headings and product rows */
.chem-info h3 { font-size: 28px; margin: 40px 0 6px; }
.chem-info .chem-info__sub { margin: 30px 0 4px; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #3C3C3C; }
.chem-info .chem-info__sub strong { font-weight: 600; }
.chem-info h3 + .chem-info__sub { margin-top: 14px; }
.chem-info .chem-info__item { position: relative; margin: 0; padding: 11px 0 11px 22px; border-bottom: 1px solid #E4E8E4; line-height: 1.45; }
.chem-info .chem-info__item::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; border-radius: 2px; background: #68B04D; transform: rotate(45deg); }
.chem-info .chem-info__item em { display: block; margin-top: 2px; font-size: 16px; color: #5E625E; }
.chem-info .chem-info__item + :not(.chem-info__item) { margin-top: 24px; }
.chem-info .chem-info__item a { color: #2E7D32; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(46,125,50,.35); }
.chem-info .chem-info__item a:hover { text-decoration-color: currentColor; }

/* Accessible greens (WCAG AA): #2E7D32 for green text on white (5.1:1), #3D7A2A behind white button text (5.2:1).
   The brand green #68B04D stays for lines, icons, bars and decoration. */
.elementor-933 .elementor-nav-menu--main .elementor-item:focus,
.elementor-933 .elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-933 .elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active,
.elementor-933 nav.elementor-nav-menu--dropdown a.elementor-item-active,
.elementor-933 .elementor-menu-toggle { color: #2E7D32; }
.chem-info a, .chem-card__more, .chem-card:hover .chem-card__title, .chem-postnav__title,
.chem-contact__label, .chem-contact__row:hover .chem-contact__value,
.chem-contactform .gform_wrapper.gravity-theme .gfield_required { color: #2E7D32; }
.chem-herotext__btn { background-color: #3D7A2A; border-color: #3D7A2A; }
.chem-herotext__btn:hover, .chem-herotext__btn:focus-visible { background-color: #2F6121; border-color: #2F6121; }
.chem-herotext__btn--ghost { background-color: transparent; border-color: rgba(255,255,255,.8); }
.chem-herotext__btn--ghost:hover, .chem-herotext__btn--ghost:focus-visible { background-color: #fff; border-color: #fff; color: #2E7D32 !important; }
.chem-contactform .gform_wrapper.gravity-theme .gform_button { background: #3D7A2A; }
.chem-contactform .gform_wrapper.gravity-theme .gform_button:hover, .chem-contactform .gform_wrapper.gravity-theme .gform_button:focus-visible { background: #2F6121; }
body .skip-link.screen-reader-text { color: #2E7D32; }
/* Green banners: darker end so white text passes contrast */
.elementor-934 .ca-footer-cta { background-image: linear-gradient(115deg, #2E7D32 0%, #3D7A2A 100%); }
.ca-page-hero { background-image: linear-gradient(115deg, #2E7D32 0%, #5A9E42 100%); }

/* Product finder */
.chem-finder { max-width: 980px; margin: 0 auto; text-align: left; font-family: brandon-grotesque, sans-serif; }
.chem-finder__form { position: relative; }
.chem-finder__icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #2E7D32; }
.chem-finder__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
body .chem-finder__input { width: 100%; box-sizing: border-box; padding: 18px 22px 18px 56px; border: 2px solid #D6DDD6; border-radius: 50px; background: #fff; font-family: inherit; font-size: 18px; color: #3C3C3C; box-shadow: 0 10px 30px rgba(0,0,0,.06); transition: border-color .2s ease, box-shadow .2s ease; }
body .chem-finder__input:focus { outline: none; border-color: #68B04D; box-shadow: 0 0 0 4px rgba(104,176,77,.2); }
.chem-finder__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
body button.chem-finder__chip { padding: 8px 16px !important; border: 1px solid #D6DDD6 !important; border-radius: 50px !important; background: #fff !important; color: #3C3C3C !important; font-family: brandon-grotesque, sans-serif !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.2 !important; cursor: pointer; transition: all .2s ease; }
body button.chem-finder__chip:hover, body button.chem-finder__chip:focus-visible { border-color: #68B04D !important; color: #2E7D32 !important; }
body button.chem-finder__chip.is-active { background: #3D7A2A !important; border-color: #3D7A2A !important; color: #fff !important; }
.chem-finder__count { margin: 18px 4px 6px; font-size: 14px; color: #5E625E; min-height: 1em; }
.chem-finder__results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chem-finder__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid #E4E8E4; }
.chem-finder__row.is-area { border-left: 4px solid #68B04D; }
.chem-finder__name { grid-column: 1; font-size: 18px; font-weight: 600; color: #3C3C3C; text-decoration: none; }
.chem-finder__name:hover { color: #2E7D32; text-decoration: underline; }
.chem-finder__meta { grid-column: 1; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #5E625E; }
.chem-finder__desc { grid-column: 1; font-size: 15px; color: #5E625E; }
.chem-finder__pdf { grid-column: 2; grid-row: 1 / span 3; padding: 9px 16px; border: 1.5px solid #3D7A2A; border-radius: 50px; color: #2E7D32; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chem-finder__pdf:hover, .chem-finder__pdf:focus-visible { background: #3D7A2A; color: #fff; }
.chem-finder__ask { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; padding: 16px; color: #5E625E; font-size: 16px; }
.chem-finder__askbtn { padding: 10px 22px; border-radius: 50px; background: #3D7A2A; color: #fff !important; font-weight: 600; text-decoration: none; }
.chem-finder__askbtn:hover, .chem-finder__askbtn:focus-visible { background: #2F6121; }
@media (max-width: 767px) {
	body .chem-finder__input { font-size: 16px; padding: 15px 18px 15px 48px; }
	.chem-finder__icon { left: 16px; width: 20px; height: 20px; }
	.chem-finder__row { grid-template-columns: 1fr; }
	.chem-finder__pdf { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
/* "Asking about" on the contact form */
.chem-topic { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: #F1F8EE; border-left: 4px solid #68B04D; font-family: brandon-grotesque, sans-serif; font-size: 17px; color: #3C3C3C; }
.chem-topic a { margin-left: 8px; color: #2E7D32; text-decoration: none; font-size: 20px; line-height: 1; }
