/* Allcontrols block theme: the old Rife look, rebuilt. Measurements are from the live site
   (November 2026) at 1440-1512px wide unless noted. */

:root {
	--ac-red: #ed1b24;
	--ac-red-dark: #cb0e16;
	--ac-ink: #323232;
	--ac-text: #555;
	--ac-grey: #767676;
	--ac-line: rgba(58, 58, 58, .06);
	--ac-header-h: 127px;
	--ac-ease-out: cubic-bezier(.23, 1, .32, 1);
}

/* ---------- Page frame ---------- */
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > *,
.wp-site-blocks > * + *,
.ac-main > .wp-block-post-content > .alignfull { margin-block-start: 0; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #1b1b1b; display: block; height: auto; left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--ac-red); outline-offset: 2px; }

/* ---------- Header ---------- */
.ac-header-wrap { position: sticky; top: 0; z-index: 60; }
.admin-bar .ac-header-wrap { top: var(--wp-admin--admin-bar--height, 32px); }
.ac-header { background: #fff; border-bottom: 1px solid var(--ac-line); }
.ac-header__in { box-sizing: border-box; width: 80%; max-width: 1240px; min-height: var(--ac-header-h); margin: 0 auto; padding: 0 40px; gap: 20px; }
.ac-header__logo { flex: 0 0 auto; margin: 0; padding: 10px 0; }
.ac-header__logo img { display: block; width: 196px; height: auto; }

/* Main menu (desktop) */
.ac-menu { flex: 1 1 auto; display: flex; justify-content: center; }
.ac-menu__list, .ac-menu__sub { list-style: none; margin: 0; padding: 0; }
.ac-menu > .ac-menu__list { display: flex; flex-wrap: nowrap; justify-content: center; }
.ac-menu__item { position: relative; display: flex; align-items: center; }
.ac-menu__link {
	display: block; padding: 0 9px; border: 0; background: none; cursor: pointer;
	font: 400 13px/50px var(--wp--preset--font-family--system); color: #555; text-decoration: none; white-space: nowrap;
	transition: color .15s ease;
}
.ac-menu > .ac-menu__list > .has-sub > .ac-menu__link::after {
	content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 7px;
	border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg);
}
.ac-menu__more { display: none; }
.ac-menu__item:hover > .ac-menu__link,
.ac-menu__item:focus-within > .ac-menu__link,
.ac-menu__item.is-current > .ac-menu__link,
.ac-menu__link[aria-current] { color: var(--ac-red); }

.ac-menu__sub {
	position: absolute; z-index: 5; min-width: 350px; padding: 10px; box-sizing: border-box;
	background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s var(--ac-ease-out), transform .18s var(--ac-ease-out), visibility 0s linear .18s;
}
.ac-menu__sub--drop { top: 100%; left: 0; }
.ac-menu__sub--fly { top: -10px; left: 100%; }
.ac-menu__item:hover > .ac-menu__sub,
.ac-menu__item:focus-within > .ac-menu__sub,
.ac-menu__item.is-open > .ac-menu__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ac-menu__sub .ac-menu__item { display: block; }
.ac-menu__sub .ac-menu__link { width: 100%; text-align: left; padding: 0 10px; font-size: 13px; line-height: 35px; color: #666; white-space: normal; }
.ac-menu__sub .has-sub > .ac-menu__link::after {
	content: ""; float: right; width: 5px; height: 5px; margin-top: 15px;
	border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) { .ac-menu__sub { transform: none; transition: none; } }

/* Header tools: search and the red bars */
.ac-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 0 0 0 16px; position: relative; }
.ac-tools::before { content: ""; position: absolute; left: 0; top: 50%; height: 26px; margin-top: -13px; width: 1px; background: var(--ac-line); }
.ac-tools__btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; color: #151515; transition: color .15s ease, transform .16s var(--ac-ease-out); }
.ac-tools__btn:active { transform: scale(.94); }
.ac-tools__search:hover { color: var(--ac-red); }
.ac-tools__bars { color: var(--ac-red); }
.ac-tools__bars svg { fill: currentColor; }

/* Search panel */
.ac-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ac-line); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); padding: 24px clamp(16px, 4vw, 40px); display: flex; gap: 12px; align-items: center; justify-content: center; }
.ac-search[hidden] { display: none; }
.ac-search__form { display: flex; gap: 10px; width: min(760px, 100%); }
.ac-search__form input[type="search"] { flex: 1; min-width: 0; font: 400 18px/1.4 var(--wp--preset--font-family--system); color: #1b1b1b; border: 0; border-bottom: 2px solid #e5e5e5; padding: 10px 2px; background: transparent; }
.ac-search__form input[type="search"]:focus { outline: none; border-bottom-color: var(--ac-red); }
.ac-search__go { font: 600 13px/1 var(--wp--preset--font-family--system); color: #fff; background: var(--ac-red); border: 0; padding: 0 22px; cursor: pointer; }
.ac-search__close, .ac-side__close { border: 0; background: none; font-size: 30px; line-height: 1; color: #151515; cursor: pointer; width: 40px; height: 40px; }

/* Side panel (red bars): slides in from the right; on phones it also holds the main menu */
.ac-side { position: fixed; inset: 0; z-index: 90; }
.ac-side[hidden] { display: none; }
.ac-side__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .25s ease; }
.ac-side__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%); overflow-y: auto; overscroll-behavior: contain; background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .12); padding: 70px 40px 40px; box-sizing: border-box; transform: translateX(100%); transition: transform .32s cubic-bezier(.32, .72, 0, 1); font-size: 15px; }
.ac-side.is-open .ac-side__backdrop { opacity: 1; }
.ac-side.is-open .ac-side__panel { transform: none; }
.ac-side__close { position: absolute; top: 16px; right: 16px; }
.admin-bar .ac-side__panel { top: var(--wp-admin--admin-bar--height, 32px); }
.ac-side__phone-only { display: none; }
.ac-side .ac-socials { margin-bottom: 30px; }
.ac-side .ac-socials a { color: #000; }
.ac-side .ac-socials a:hover { color: var(--ac-red); }
.ac-list-nav--side .ac-list-menu__link { color: #1b1b1b; font-size: 14px; font-weight: 500; line-height: 2.4; }
.ac-list-nav--side .ac-list-menu__link:hover, .ac-list-nav--side .is-current > .ac-list-menu__link { color: var(--ac-red); }
html.ac-side-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ac-side__panel, .ac-side__backdrop { transition: none; } }

/* Plain list menus (side panel and footer) */
.ac-list-menu, .ac-list-menu__sub { list-style: none; margin: 0; padding: 0; }
.ac-list-menu__sub { padding-left: 10px; }
.ac-list-menu__link { text-decoration: none; }

/* ---------- Title bar ---------- */
.ac-title-bar { position: relative; overflow: hidden; display: grid; place-items: center; padding: 114px clamp(16px, 4vw, 40px); background: #4c4c4c; text-align: center; isolation: isolate; }
.ac-title-bar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ac-title-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(76, 76, 76, .75); }
.ac-title-bar--news::before { background: rgba(0, 0, 0, .7); }
.ac-title-bar--post { padding-block: 230px; }
.ac-title-bar--post::before { background: rgba(11, 11, 11, .5); }
.ac-title-bar__in { width: 100%; max-width: 1160px; }
.ac-title-bar__title { margin: 0; color: #fff; font: 700 59px/1.2 var(--wp--preset--font-family--system); text-transform: uppercase; overflow-wrap: anywhere; }
.ac-title-bar__meta { margin: 0 0 20px; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.2; }

/* ---------- Content ---------- */
.ac-main { padding-top: 60px; padding-bottom: 60px; }
.ac-main--front { padding-top: 0; padding-bottom: 0; }
.ac-content p { padding-block: .85em; }
.ac-content :where(p + p) { margin-block-start: 0; }
.ac-content > * { margin-block-start: 0; margin-block-end: 0; }
.ac-content :where(h1, h2, h3, h4, h5, h6) { color: var(--ac-ink); padding-block: 1.5em .5em; margin: 0; }
.ac-content > :where(h1, h2, h3, h4, h5, h6):first-child { padding-top: 0; }
.ac-content :where(ul, ol):not(.wp-block-post-template) { margin: .5em 1.5em; padding: 0; }
.ac-content li { padding: .2em 0; }
.ac-content .alignright { float: right; margin: 5px 0 20px 20px; }
.ac-content .alignleft { float: left; margin: 5px 20px 20px 0; }
.ac-content .aligncenter { margin-left: auto; margin-right: auto; }
.ac-content :where(.wp-block-image, figure) { margin-block: 5px; }
.ac-content .wp-block-image img { height: auto; }
.ac-content .wp-video { margin: 0 0 12px; }
.ac-content .wp-block-embed, .ac-content .wp-block-video { margin-block: 12px; }
.ac-content .wp-block-columns { margin-block: 12px; }
.ac-content::after { content: ""; display: table; clear: both; }
/* Floats sit in the text column, not at the edge of the full-width content area. */
.ac-content.is-layout-constrained > .alignleft { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)); }
.ac-content.is-layout-constrained > .alignright { margin-right: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)); }
/* The old pages pushed text below a floated picture with empty lines; the converter marks the
   block that should start below it instead. */
.ac-clear { clear: both; }
.ac-content .wp-block-list + .wp-block-image { margin-top: 24px; }

/* Product row (IOSYS Products): even image frames, the product name, then its links */
.ac-content .ac-products { margin-block: 28px 40px; gap: 30px; }
.ac-products .ac-product__img { aspect-ratio: 4 / 3; margin: 0 0 16px; padding: 16px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 1px solid #e6e6e6; background: #fff; }
.ac-products .ac-product__img img { width: 100%; height: 100%; object-fit: contain; }
.ac-content .ac-products .ac-product__name { padding: 0 0 6px; color: var(--ac-ink); font-size: 18px; line-height: 1.25; text-transform: none; letter-spacing: normal; }
.ac-content .ac-products .ac-product__links { list-style: none; margin: 0; padding: 0; }
.ac-content .ac-products .ac-product__links li { padding: 0; }
.ac-products .ac-product__links a { display: inline-flex; align-items: center; gap: 10px; padding-block: 5px; color: #1f1f1f; font-size: 14px; line-height: 1.5; text-decoration: none; transition: color .15s ease; }
.ac-products .ac-product__links a::before { content: ""; flex: none; width: 6px; height: 6px; border-top: 1.5px solid var(--ac-red); border-right: 1.5px solid var(--ac-red); transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .ac-products .ac-product__links a:hover { color: var(--ac-red-dark); } }
.ac-products .ac-product__links a:focus-visible { outline: 2px solid var(--ac-red); outline-offset: 2px; }

/* Converted Elementor sections keep Elementor's Roboto and lighter grey */
.is-style-elementor, .ac-el { font-family: var(--wp--preset--font-family--roboto); color: var(--ac-grey); }
.is-style-elementor :where(h1, h2, h3, h4, h5, h6), .ac-el :where(h1, h2, h3, h4, h5, h6) { font-family: var(--wp--preset--font-family--system); }

/* Red info box ("If you would like more information...") */
.is-style-info-box { clear: both; background: var(--ac-red); color: #fffafa; padding: 10px 10px; margin-block: 0; font-family: var(--wp--preset--font-family--roboto); }
.is-style-info-box p { padding: 0; margin: 14px 10px; }
.is-style-info-box a { color: #1f1f1f; font-weight: 700; }
.is-style-info-box a:hover { color: #fff; }

/* Buttons */
.wp-element-button, .wp-block-button__link { transition: background-color .15s ease, transform .16s var(--ac-ease-out); box-shadow: 0 10px 25px rgba(0, 0, 0, .12); }
.wp-element-button:active, .wp-block-button__link:active { transform: scale(.97); }
.is-style-grey .wp-block-button__link { background: var(--wp--preset--color--slate); }
.is-style-grey .wp-block-button__link:hover { background: #7f8c8d; }
.is-style-small .wp-block-button__link, .wp-block-post-excerpt__more-link {
	display: inline-block; padding: 10px 15px; border-radius: 0; box-shadow: none;
	font: 700 12.45px/1.5 var(--wp--preset--font-family--system); letter-spacing: normal; text-transform: none;
	color: #fff; background: var(--ac-red); text-decoration: none;
}
.wp-block-post-excerpt__more-link:hover { background: var(--ac-red-dark); color: #fff; }

/* Spaced label heading ("WHY WORK WITH ALLCONTROLS?") */
.is-style-label { font: 600 13px/1.4 var(--wp--preset--font-family--roboto) !important; letter-spacing: 8px; text-transform: uppercase; color: #767676 !important; }

/* Testimonial quotes */
.is-style-testimonial { border: 0; margin: 0; padding: 0; text-align: center; font-family: var(--wp--preset--font-family--roboto); color: var(--ac-grey); }
.is-style-testimonial p { font-size: 14px; line-height: 1.7; }
.is-style-testimonial cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; color: var(--ac-ink); font-size: 14px; }

/* ---------- News grid ---------- */
.ac-main--news { padding-top: 20px; }
.ac-news { max-width: 1050px !important; }
.ac-news__grid { gap: 20px !important; align-items: start; }
.ac-card { background: #fff; text-align: center; }
.ac-card__img { margin: 0; }
.ac-card__img img { display: block; width: 100%; height: auto; }
.ac-card__body { padding: 20px 40px 40px; }
.ac-card__date { font-size: 10.9px; line-height: 1.7; color: #767676; margin: 0; }
.ac-card__title { margin: 0; padding: 11px 0; font-size: 22px !important; line-height: 1.3 !important; color: #222; text-transform: uppercase !important; }
.ac-card__title a { color: #222; text-decoration: none; }
.ac-card__title a:hover { color: #646464; }
.ac-card__excerpt { margin: 0; font-size: 14px; line-height: 1.7; }
.ac-card__excerpt .wp-block-post-excerpt__excerpt { margin: 0 0 20px; }
.ac-card__excerpt .wp-block-post-excerpt__more-text { margin: 0; }
/* Masonry (site.js places cards in the shortest column, as the old theme did). */
.ac-news__grid.is-masonry { display: flex !important; gap: 20px; }
.ac-news__grid.is-masonry > .ac-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; list-style: none; margin: 0; padding: 0; }
.ac-pager { margin-top: 40px; padding: 0 0 0; border-top: 1px solid #eee; font: 700 11px/43px var(--wp--preset--font-family--system); text-transform: uppercase; letter-spacing: 1px; }
.ac-pager a { color: #222; text-decoration: none; }
.ac-pager a:hover { color: var(--ac-red); }

/* Previous / next under posts and testimonials */
.ac-post-nav { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; gap: 30px; }
.ac-post-nav .post-navigation-link-previous, .ac-post-nav .post-navigation-link-next { flex: 1 1 0; text-align: center; font-size: 13px; }
.ac-post-nav .wp-block-post-navigation-link__label { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #a7a7a7; }
.ac-post-nav a { display: block; color: #222; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.ac-post-nav a:hover { color: var(--ac-red); }

/* Testimonial single (no title bar) */
.ac-main--testimonial { padding-top: 0; }
.ac-plain-title { box-sizing: border-box; max-width: 1440px !important; margin: 0 auto !important; padding: 50px clamp(16px, 2.4vw, 40px) 70px; font-size: 50px !important; line-height: 1.2 !important; color: #222 !important; text-align: left; }

/* ---------- Footer ---------- */
.ac-footer { background: #111; color: #c1c1c1; font-size: 15px; line-height: 25px; margin-top: 0; }
.ac-footer a { color: #c1c1c1; text-decoration: none; }
.ac-footer a:hover { color: #fff; }
.ac-footer__cols { box-sizing: border-box; max-width: 1512px; margin: 0 auto !important; padding: 75px 70px 150px; gap: 42px !important; }
.ac-footer__cols p { margin: 15px 0; }
.ac-footer__title { margin: 0 0 25px !important; font: 700 18.67px/26px var(--wp--preset--font-family--system) !important; color: #fff !important; text-transform: none !important; }
.ac-footer__news .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.ac-footer__news li { margin-bottom: 15px; }
.ac-footer__news-title { margin: 0; font: 400 15px/25px var(--wp--preset--font-family--system) !important; text-transform: none !important; }
.ac-footer__news-title a { color: #c1c1c1; }
.ac-footer__news-date { color: #9a9a9a; font-size: 15px; }
.ac-footer .ac-list-menu__link { font-size: 14px; font-weight: 500; line-height: 2; }
.ac-footer__badge img { max-width: 100%; height: auto; }
.ac-footer__strip { box-sizing: border-box; background: #0e0e0e; color: #8a8a8a; padding: 15px 70px; margin: 0 !important; gap: 20px; }
.ac-footer__strip-text { margin: 0; white-space: pre-wrap; }
.ac-footer__strip a { color: #8a8a8a; }
.ac-footer__strip a:hover { color: #fff; }
.ac-socials { display: flex; gap: 20px; align-items: center; }
.ac-socials a { display: inline-grid; place-items: center; color: #fff; transition: color .15s ease; }
.ac-socials svg { width: 26px; height: 26px; fill: currentColor; }
.ac-footer .ac-socials a:hover { color: var(--ac-red); }

/* Cookie bar */
.ac-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 680px; margin: 0 auto; background: #fff; color: #1b1b1b; border: 1px solid #e5e5e5; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; font-size: 14px; line-height: 1.5; }
.ac-consent[hidden] { display: none !important; }
.ac-consent p { margin: 0; }
.ac-consent__text { flex: 1 1 320px; }
.ac-consent__text a { color: #1b1b1b; }
.ac-consent__buttons { display: flex; gap: 8px; }
.ac-consent__btn { font: 600 13px/1 var(--wp--preset--font-family--system); cursor: pointer; padding: 12px 18px; border: 1.5px solid #1b1b1b; background: #fff; color: #1b1b1b; }
.ac-consent__btn--yes { background: var(--ac-red); border-color: var(--ac-red); color: #fff; }

/* Search results */
.ac-search-again { margin-bottom: 30px; max-width: 600px; }
.ac-results li { margin-bottom: 28px; }
.ac-results__title { font-size: 18px !important; margin: 0 0 6px; }
.ac-results__title a { text-decoration: none; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
	.ac-header__in { width: 100%; padding: 0 24px; }
	.ac-menu { display: none; }
	.ac-menu--drawer { display: block; }
	.ac-side__phone-only { display: block; margin-bottom: 30px; }
	.ac-side__phone-only .ac-search__form { margin-bottom: 20px; }
	.ac-side__phone-only .ac-search__form input[type="search"] { font-size: 16px; }
	/* Drawer menu: stacked, branches open on tap */
	.ac-menu--drawer .ac-menu__list { display: block; }
	.ac-menu--drawer .ac-menu__item { display: block; position: static; border-bottom: 1px solid #f0f0f0; }
	.ac-menu--drawer .ac-menu__link { width: 100%; text-align: left; padding: 0; font-size: 15px; line-height: 48px; color: #1b1b1b; }
	.ac-menu--drawer .ac-menu__item.has-sub { display: grid; grid-template-columns: 1fr 44px; }
	.ac-menu--drawer .ac-menu__item.has-sub > .ac-menu__link { grid-column: 1 / -1; grid-row: 1; }
	.ac-menu--drawer .ac-menu__more { display: block; grid-column: 2; grid-row: 1; z-index: 1; width: 44px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
	.ac-menu--drawer button.ac-menu__link { grid-column: 1 / -1; }
	.ac-menu.ac-menu--drawer a.ac-menu__link::after { display: none !important; }
	.ac-menu--drawer button.ac-menu__link { display: flex; align-items: center; justify-content: space-between; }
	.ac-menu--drawer .ac-menu__more { display: flex; align-items: center; justify-content: flex-end; }
	/* Specific enough to beat the desktop top-level arrow rule, so every branch in the drawer
	   (plain headings and link + toggle alike) gets the same arrow and it flips when open. */
	.ac-menu.ac-menu--drawer .ac-menu__list .has-sub > button.ac-menu__link::after,
	.ac-menu.ac-menu--drawer .ac-menu__list .has-sub > .ac-menu__more::after { content: ""; display: block; float: none; flex: 0 0 auto; width: 7px; height: 7px; margin: 0 14px 4px 0; border: 0; border-right: 1.5px solid #1b1b1b; border-bottom: 1.5px solid #1b1b1b; transform: rotate(45deg); transition: transform .2s ease; }
	.ac-menu.ac-menu--drawer .ac-menu__list .has-sub > button[aria-expanded="true"]::after { transform: rotate(-135deg); margin: 4px 14px 0 0; }
	.ac-menu--drawer .ac-menu__sub { position: static; grid-column: 1 / -1; display: none; min-width: 0; padding: 0 0 8px 14px; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
	.ac-menu--drawer .ac-menu__item.is-open > .ac-menu__sub { display: block; }
	.ac-menu--drawer .ac-menu__sub .ac-menu__item { border: 0; }
	.ac-menu--drawer .ac-menu__sub .ac-menu__link { font-size: 14px; line-height: 40px; color: #555; }
	.ac-menu--drawer .ac-menu__link[aria-current] { color: var(--ac-red); }
	.ac-footer__cols { padding: 60px 24px 40px; flex-wrap: wrap !important; }
	.ac-footer__cols > .wp-block-column { flex-basis: calc(50% - 21px) !important; }
	.ac-footer__strip { padding: 15px 24px; }
}
@media (max-width: 781px) {
	:root { --ac-header-h: 78px; }
	.ac-header__in { padding: 0 16px; }
	.ac-header__logo { padding: 6px 0; }
	.ac-header__logo img { width: 112px; }
	.ac-tools__search { display: none; }
	.ac-tools::before { display: none; }
	.ac-tools__bars svg { width: 28px; height: 22px; }
	.ac-side__panel { width: 100%; padding: 64px 24px 32px; }
	.ac-title-bar { padding: 72px 16px; }
	.ac-title-bar--post { padding-block: 110px; }
	.ac-title-bar__title { font-size: 34px; }
	.ac-main { padding-top: 24px; padding-bottom: 40px; }
	.ac-content .alignright, .ac-content .alignleft { float: none; margin: 10px 0; }
	.ac-news__grid.is-masonry { flex-direction: column; }
	.ac-plain-title { font-size: 32px !important; padding: 30px 16px 30px; }
	.ac-post-nav { flex-direction: column; }
	.ac-footer__cols > .wp-block-column { flex-basis: 100% !important; }
	.ac-footer__strip { flex-direction: column; align-items: flex-start; }
}

/* ---------- Homepage ---------- */
.ac-main--front .wp-block-post-content > * { margin-block: 0; }
.ac-big { font: 700 52px/1.1 var(--wp--preset--font-family--system) !important; letter-spacing: -2px !important; text-transform: uppercase; color: var(--wp--preset--color--black) !important; margin-block: 0; }
.ac-sub { font: 500 14px/1.6 var(--wp--preset--font-family--roboto); letter-spacing: 3.2px; text-transform: uppercase; color: #767676; margin: 16px auto 40px !important; padding: 0 20px; max-width: 760px; }

/* Buttons as Elementor drew them */
.wp-block-button.is-style-hero .wp-block-button__link,
.ac-why .wp-block-button__link, .ac-solutions .wp-block-button__link, .ac-reviews .wp-block-button__link {
	font: 700 14px/1 var(--wp--preset--font-family--roboto); letter-spacing: 2px; text-transform: uppercase; padding: 21px 33px 18px; border-radius: 2px;
	box-shadow: 0 12px 39px rgba(0, 0, 0, .16);
}
.wp-block-button.is-style-hero .wp-block-button__link { letter-spacing: 3.2px; padding: 21px 40px 17px; box-shadow: 0 0 15px rgba(0, 0, 0, .57); }
.ac-why .is-style-grey .wp-block-button__link { padding: 21px 30px 18px; }
.ac-why .is-style-grey .wp-block-button__link:hover { background: #111; }

/* Hero */
.ac-hero { position: relative; min-height: 786px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 160px 20px; background-color: #161616; }
.ac-hero::before, .ac-statement::before, .ac-news-band::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); pointer-events: none; }
.ac-statement::before { background: rgba(0, 0, 0, .67); }
.ac-news-band::before { background: rgba(28, 28, 28, .79); }
.ac-hero > *, .ac-statement > *, .ac-news-band > * { position: relative; z-index: 2; }
.ac-hero::before, .ac-statement::before, .ac-news-band::before { z-index: 1; }
.ac-hero > .ac-band__bg, .ac-news-band > .ac-band__bg { position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; max-width: none !important; width: 100%; height: 100%; }
.ac-band__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 36px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ac-hero__title { font: 600 68px/1.1 var(--wp--preset--font-family--system) !important; color: #fff !important; margin-block: 0 !important; text-transform: uppercase; }
.ac-hero__lead { max-width: 532px; margin: 18px auto 19px !important; font: 300 18px/1.5 var(--wp--preset--font-family--system); letter-spacing: .2px; color: rgba(255, 255, 255, .8); }
.ac-hero .wp-block-buttons { gap: 20px; }

/* Three features over the hero */
.ac-features { position: relative; z-index: 2; margin-top: -165px !important; }
.ac-features__cols { gap: 0 !important; }
.ac-features .wp-block-column { padding: 60px 50px; border-radius: 0; transition: box-shadow .25s ease, border-radius .25s ease; }
@media (hover: hover) { .ac-features .wp-block-column:hover { box-shadow: 0 0 50px rgba(0, 0, 0, .13); border-radius: 20px; } }
.ac-icon { display: grid; place-items: center; width: 149px; height: 149px; margin: 0 auto 20px; border-radius: 50%; background: #fff; color: var(--ac-red); transition: background-color .2s ease, color .2s ease; }
.ac-icon svg { width: 55px; height: 55px; }
@media (hover: hover) { .ac-features .wp-block-column:hover .ac-icon { background: var(--ac-red); color: #fff; } }
.ac-feature__title { font: 700 15px/1.4 var(--wp--preset--font-family--system) !important; letter-spacing: 2px; text-transform: uppercase !important; color: var(--wp--preset--color--black) !important; margin-block: 0 15px !important; }
.ac-feature__text { font: 300 17px/1.7 var(--wp--preset--font-family--roboto); color: var(--ac-grey); margin-block: 0 !important; }

/* Why work with Allcontrols */
.ac-why { padding: 30px 20px 120px; }
.ac-why .ac-big { margin-bottom: 0 !important; }
.ac-why .is-style-label { margin-bottom: 14px !important; font-size: 14px !important; color: #767676 !important; }
.ac-why__text { max-width: 760px; margin: 10px auto 35px !important; padding-top: 10px !important; font: 400 16px/1.5 var(--wp--preset--font-family--system); color: #767676; }
.ac-why .wp-block-buttons { gap: 60px; }

/* Black statement band */
.ac-statement { position: relative; background-color: #141414; padding: 100px; }
.ac-statement__text { max-width: 1140px; margin: 0 auto 60px !important; font: 400 37px/1.1 var(--wp--preset--font-family--system) !important; letter-spacing: -2px; text-transform: none !important; color: #fff !important; text-shadow: 0 0 10px rgba(0, 0, 0, .55); }
.ac-statement__mark { margin: 20px auto 0 !important; }
.ac-statement__mark img { width: 50px; height: auto; }

/* Our solutions */
.ac-solutions { padding: 70px 20px 100px; }
.ac-solutions__row { gap: 30px !important; margin-bottom: 20px !important; }
.ac-solution { gap: 16px; align-items: flex-start; padding-bottom: 20px; }
.ac-solution__img { flex: 0 0 auto; width: 80px; margin: 0 !important; }
.ac-solution__img img { width: 100%; height: auto; }
.ac-solution__title { font: 700 14px/1.4 var(--wp--preset--font-family--system) !important; letter-spacing: 1px; text-transform: uppercase !important; color: var(--wp--preset--color--black) !important; margin: 0 0 12px !important; }
.ac-solution__text { font: 400 14px/1.7 var(--wp--preset--font-family--roboto); color: #767676; margin: 0 !important; }
.ac-solutions .wp-block-buttons { margin-top: 40px; }

/* Latest news band and cards */
.ac-news-band { position: relative; background-color: #0c0c0c; padding: 140px 20px 240px; }
.ac-news-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 128px; background: #fff; clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%); }
.ac-news-band__title { font: 700 52px/1.1 var(--wp--preset--font-family--system) !important; letter-spacing: -1px; color: #fff !important; margin-block: 0 !important; }
.ac-home-news { position: relative; z-index: 2; max-width: 1300px !important; margin: -140px auto 0 !important; padding: 0 20px 40px; box-sizing: border-box; }
.ac-home-news__grid { gap: 20px !important; }

/* Video band */
.ac-video-band { position: relative; overflow: hidden; min-height: 612px; background: #0f0f0f; }
.ac-video-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-video-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(2, 2, 2, .55) 100%); opacity: .65; }
.ac-video-band__media { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.ac-video-band.is-playing .ac-video-band__media { opacity: 1; }
.ac-video-band__media iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh, 555px); height: max(56.25vw, 100%); transform: translate(-50%, -50%); border: 0; pointer-events: none; }

/* We work with: logo strip */
.ac-logos { padding: 90px 20px 70px; }
.ac-logos .is-style-label { margin-block: 0 40px !important; font-size: 14px !important; color: #767676 !important; }
.ac-logos__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.is-style-logo-strip { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; width: max-content; }
.is-style-logo-strip .ac-logo { flex: 0 0 auto; width: calc(1160px / 6); margin: 0 !important; padding: 0 12px; box-sizing: border-box; }
.is-style-logo-strip .ac-logo img { width: 100%; height: auto; }
.is-style-logo-strip.is-looping { animation: ac-logos 60s linear infinite; }
.ac-logos__viewport:hover .is-style-logo-strip { animation-play-state: paused; }
@keyframes ac-logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.is-style-logo-strip, .is-style-logo-strip.is-looping { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
	.is-style-logo-strip > [aria-hidden="true"] { display: none; }
}

/* Embedded video and the YouTube facade */
.ac-home-video { padding: 0 20px; }
.wp-block-embed-youtube .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; background: #000; }
.wp-block-embed-youtube .wp-block-embed__wrapper::before { display: none; }
.ac-yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.ac-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(33, 33, 33, .85); transition: background-color .15s ease; }
.ac-yt__play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.ac-yt:hover .ac-yt__play, .ac-yt:focus-visible .ac-yt__play { background: #f00; }
.ac-yt__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* What our customers say */
.ac-reviews { padding: 20px 20px 90px; }
.ac-reviews .ac-big { margin-bottom: 40px !important; }
.ac-reviews__cols { gap: 30px !important; }
.ac-reviews .wp-block-column { padding: 30px 40px; border-radius: 4px; transition: box-shadow .25s ease; }
@media (hover: hover) { .ac-reviews .wp-block-column:hover { box-shadow: inset 0 -4px 0 #222, 0 0 56px rgba(0, 0, 0, .2); } }
.ac-review__by { gap: 14px; align-items: center; margin-top: 24px !important; }
.ac-review__logo { margin: 0 !important; }
.ac-review__logo img { width: 60px; height: 60px; object-fit: contain; display: block; }
.ac-review__name { margin: 0 !important; padding: 0 !important; font: 700 13px/1.4 var(--wp--preset--font-family--roboto); text-transform: uppercase; letter-spacing: .6px; color: #222; }
.ac-reviews .is-style-testimonial p { font: 300 14px/1.5 var(--wp--preset--font-family--roboto); color: #777; padding: 0; }
.ac-reviews .is-style-testimonial cite { text-transform: uppercase; letter-spacing: .6px; font-family: var(--wp--preset--font-family--roboto); }
.ac-reviews .wp-block-buttons { margin-top: 40px; }

/* Contact page */
.ac-contact { gap: 30px !important; }
.ac-contact__phone { padding-top: 0 !important; }
.ac-contact__lines { padding: 0 !important; margin: 0 0 6px !important; font-size: 11px; line-height: 1.8; }
.ac-map { display: block; margin-top: 18px; }
.ac-contact__badge { margin-top: 30px !important; }
.ac-form { font-size: 11px; }
.ac-form .ac-field { margin: 0 0 14px; padding: 0 !important; }
.ac-form label { display: block; margin-bottom: 6px; color: #555; }
.ac-form input, .ac-form select, .ac-form textarea { box-sizing: border-box; width: 100%; font: 400 14px/1.4 var(--wp--preset--font-family--system); color: #1b1b1b; background: #f1f1f1; border: 1px solid #f1f1f1; border-radius: 0; padding: 9px 12px; }
.ac-form select { background: #fff; border-color: #ccc; }
.ac-form input:focus, .ac-form select:focus, .ac-form textarea:focus { outline: none; border-color: var(--ac-red); background: #fff; }
.ac-form .has-error input, .ac-form .has-error textarea, .ac-form .has-error select { border-color: #b3141b; }
.ac-field__error { display: block; color: #b3141b; font-size: 12px; margin-bottom: 4px; }
.ac-form__summary { background: #fdecec; border: 1px solid #f3c5c5; color: #8a1015; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; }
.ac-form__hp { position: absolute !important; left: -9999px !important; }
.ac-form__send { font: 600 13px/1 var(--wp--preset--font-family--system) !important; letter-spacing: normal !important; text-transform: none !important; padding: 13px 28px !important; border: 0; cursor: pointer; box-shadow: none !important; }
.ac-form--sent h3 { padding-top: 0 !important; }

@media (max-width: 1100px) {
	.ac-big, .ac-news-band__title { font-size: 40px !important; }
	.ac-hero__title { font-size: 48px !important; }
}
@media (max-width: 781px) {
	.ac-big, .ac-news-band__title { font-size: 32px !important; letter-spacing: -1px !important; }
	.ac-hero { padding: 50px 16px 180px; }
	.ac-hero__title { font-size: 36px !important; }
	.ac-statement__text { font-size: 26px !important; letter-spacing: -1px; }
	.ac-why .wp-block-buttons { gap: 20px; }
	.ac-solution__img { max-width: 110px; }
	.ac-home-news { margin-top: -150px !important; }
	.is-style-logo-strip .ac-logo { width: 150px; }
}

/* FAQs (were Elementor toggles) */
.ac-content .wp-block-details { margin: 0; background: #dedede; border-bottom: 1px solid #d5d8dc; }
.ac-content .wp-block-details + .wp-block-details { margin-top: 0; }
.ac-content .wp-block-details summary { position: relative; list-style: none; cursor: pointer; padding: 15px 44px 15px 15px; font: 600 16px/1.4 var(--wp--preset--font-family--system); color: #1b1b1b; }
.ac-content .wp-block-details summary::-webkit-details-marker { display: none; }
.ac-content .wp-block-details summary::after { content: ""; position: absolute; right: 18px; top: 50%; margin-top: -5px; border-style: solid; border-width: 5px 0 5px 6px; border-color: transparent transparent transparent #1b1b1b; transition: transform .2s ease; }
.ac-content .wp-block-details[open] summary { color: var(--ac-red); }
.ac-content .wp-block-details[open] summary::after { transform: rotate(90deg); border-left-color: var(--ac-red); }
.ac-content .wp-block-details > :not(summary) { background: #fff; margin: 0; padding: 0 20px; }
.ac-content .wp-block-details > :not(summary):first-of-type { padding-top: 15px; }
.ac-content .wp-block-details > :not(summary):last-child { padding-bottom: 15px; }
.ac-content .wp-block-details summary:focus-visible { outline-offset: -2px; }

/* Testimonials page (left aligned, logo beside the name) */
.ac-el .is-style-testimonial { text-align: left; }
.ac-el .is-style-testimonial p { font: 400 14px/1.4 var(--wp--preset--font-family--roboto); color: var(--ac-grey); padding: 0 0 14px; }
.ac-el .ac-review__by { gap: 16px; align-items: center; margin-top: 10px !important; }
.ac-el .ac-review__logo img { width: 60px !important; height: auto; max-height: 60px; object-fit: contain; }
.ac-el .ac-review__name { margin: 0 !important; padding: 0 !important; font: 600 18.2px/1.3 var(--wp--preset--font-family--system); color: #1b1b1b; text-transform: none; letter-spacing: normal; }
.ac-el .wp-block-columns { gap: 30px; margin-bottom: 40px; }
