/**
* Theme Name: Arolax Child
* Description: This is a child theme of Arolex
* Author: <a href="http://themeforest.net/user/crowdytheme">CrowdyTheme</a>
* Template: arolax
* Version: 3.0.2
*/
/* BERI: counter units are M and K, the theme lowercases them */
.wcf--counter .wcf--counter-number-prefix, .wcf--counter .wcf--counter-number-suffix { text-transform: none !important; }

/* BERI: portfolio mockups are wider than the demo shots; keep the demo 620:420 card, mockup fitted on white */
.elementor-element-e47c842 .wcf--image img { width: 100%; height: auto; aspect-ratio: 620 / 420; object-fit: contain; background: #fff; }
.elementor-element-e47c842 .elementor-element-43b8764 img { aspect-ratio: 1290 / 790; }

/* BERI: "Our Capabilities" mega menu, the demo's own mega-menu CSS (demo item #menu-item-8821) on class .beri-mega */
@media (min-width: 1200px) {
  .elementor-element-41ab87a, .elementor-element-ac2115a, .elementor-element-af4e9eb, .beri-mega { position: static !important; }
  .beri-mega > .sub-menu { width: 96% !important; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; left: 2% !important; top: 80px; border-radius: 5px; padding: 0; }
  .beri-mega .sub-menu .sub-menu { position: static !important; opacity: 0; visibility: hidden; transform: none !important; border-radius: 0 !important; border: 0 !important; box-shadow: none; width: auto; min-width: 0; }
  .beri-mega:hover .sub-menu .sub-menu { opacity: 1 !important; visibility: visible !important; }
  .beri-mega > .sub-menu > li { border-right: 1px solid #ddd; }
  .beri-mega > .sub-menu > li:nth-child(4n), .beri-mega > .sub-menu > li:last-child { border-right: none; }
  .beri-mega > .sub-menu > li > a { border-bottom: 1px solid #ddd; text-transform: uppercase !important; padding: 18px 30px; }
  .beri-mega .sub-menu .sub-menu a { text-transform: none !important; }
  .beri-mega .sub-menu .wcf-submenu-indicator { display: none !important; }
  /* SEO column: Technical / On-Page / Off-Site sit under Search Engine Optimization (SEO), indented (Jason, 14 Nov) */
  .beri-mega .sub-menu .sub-menu .sub-menu { padding: 0 0 4px 22px !important; background: transparent; }
}


/* BERI: highlighted title words in the theme's lime green (#C9F31D, the color of every button), not the
   theme's default red. One accent only (Jason, 12 Nov). Opt-in: titles with class beri-ai, set by the page
   builder on titles that would otherwise show the default red; the homepage keeps the demo's white. */
.beri-ai .wcf--title .highlight { color: #c9f31d !important; -webkit-text-fill-color: #c9f31d !important; }

/* BERI: client logo grids on inner pages, sized and muted like the demo's dark logos */
.elementor-element-9a5c21f .wcf--image img, .elementor-element-eff7569 .wcf--image img { max-width: 70%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
/* white by default and on hover (Jason, 12 Nov: the theme's hover turned them black) */
.elementor-element-9a5c21f .wcf--image img, .elementor-element-eff7569 .wcf--image img,
.elementor-element-9a5c21f :hover .wcf--image img, .elementor-element-eff7569 :hover .wcf--image img,
.elementor-element-9a5c21f .wcf--image img:hover, .elementor-element-eff7569 .wcf--image img:hover { opacity: 1 !important; filter: brightness(0) invert(1) !important; }
/* the demo's logo widgets invert colors (its logos were black); BERI's are white, so switch that off in every state */
.elementor-element-9a5c21f .elementor-widget-wcf--image, .elementor-element-eff7569 .elementor-widget-wcf--image,
.elementor-element-9a5c21f .elementor-widget-wcf--image:hover, .elementor-element-eff7569 .elementor-widget-wcf--image:hover { filter: none !important; }
.elementor-element-9a5c21f .wcf--image, .elementor-element-eff7569 .wcf--image { display: flex; justify-content: center; align-items: center; }

/* BERI: active / current top menu item in the accent green (it turned near-black on the dark header) */
.wcf-nav-menu-nav > li.current-menu-item > a,
.wcf-nav-menu-nav > li.current-menu-ancestor > a,
.wcf-nav-menu-nav > li.current-menu-parent > a,
.wcf-nav-menu-nav > li.current_page_item > a,
.wcf-nav-menu-nav > li.current_page_ancestor > a,
.wcf-nav-menu-nav > li > a:hover { color: #c9f31d !important; }
.wcf-nav-menu-nav > li.current-menu-item > a svg,
.wcf-nav-menu-nav > li.current-menu-ancestor > a svg,
.wcf-nav-menu-nav > li.current_page_ancestor > a svg,
.wcf-nav-menu-nav > li > a:hover svg { fill: #c9f31d !important; }

/* BERI: Gravity Forms on the dark theme (labels were dark on dark) - inputs and button match the theme */
.gform_wrapper .gfield_label, .gform_wrapper legend, .gform_wrapper .gfield_description, .gform_wrapper .ginput_complex label,
.gform_wrapper .gchoice label, .gform_wrapper .gfield_consent_label, .gform_wrapper .gfield_checkbox label,
.gform_wrapper .gform_fileupload_rules, .gform_wrapper .gfield_required { color: #d9d9d9 !important; }
.gform_wrapper .gfield_required { color: #c9f31d !important; }
.gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=url],
.gform_wrapper input[type=number], .gform_wrapper select, .gform_wrapper textarea {
  background: #1c1c1c !important; color: #fff !important; border: 1px solid #3a3a3a !important; border-radius: 6px !important; padding: 12px 14px !important; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus, .gform_wrapper select:focus { border-color: #c9f31d !important; outline: none !important; }
.gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_footer button, .gform_wrapper .gform_button {
  background: #c9f31d !important; color: #121212 !important; border: 0 !important; border-radius: 30px !important;
  padding: 14px 32px !important; font-weight: 600 !important; text-transform: uppercase; cursor: pointer; }
.gform_wrapper .gform_footer input[type=submit]:hover, .gform_wrapper .gform_button:hover { background: #fff !important; }
.gform_wrapper .validation_message, .gform_wrapper .gform_validation_errors { color: #ff8a8a !important; }
.gform_wrapper .gfield_html, .gform_wrapper .gfield_html *, .gform_wrapper .gsection_description, .gform_wrapper .gform_description { color: #bdbdbd !important; }
.gform_wrapper input[type=checkbox], .gform_wrapper input[type=radio] { accent-color: #c9f31d; width: 16px; height: 16px; }

/* BERI: blog listing and single posts in the dark theme (the imported blog templates were the light demo) */
body.blog, body.single-post, body.archive, body.search { background: #121212 !important; }
.elementor-24782 .e-con, .elementor-24779 .e-con { background-color: transparent !important; }
.elementor-24782, .elementor-24779 { color: #bdbdbd; }
.elementor-24782 .wcf--title, .elementor-24782 h1, .elementor-24782 h2, .elementor-24782 h3, .elementor-24782 h4,
.elementor-24779 h1, .elementor-24779 h2, .elementor-24779 h3, .elementor-24779 h4, .elementor-24779 h5,
.elementor-24782 .wcf--counter-number, .elementor-24782 .wcf--counter-number-suffix, .elementor-24782 a { color: #fff !important; }
.elementor-24782 .wcf--text, .elementor-24782 .wcf--counter .title, .elementor-24782 p, .elementor-24779 p, .elementor-24779 li { color: #bdbdbd !important; }
.elementor-24779 .elementor-element-ba9d2ca h1, .elementor-24779 .elementor-element-ba9d2ca h2, .elementor-24779 .elementor-element-ba9d2ca h3,
.elementor-24779 .elementor-element-ba9d2ca h4 { font-family: "Inter", sans-serif !important; color: #fff !important; margin: 1.4em 0 .5em; line-height: 1.25; }
.elementor-24779 .elementor-element-ba9d2ca p { margin: 0 0 1em; line-height: 1.75; }
.elementor-24779 .elementor-element-ba9d2ca a { color: #c9f31d !important; }
.elementor-24779 .elementor-element-ba9d2ca strong { color: #fff; }
.elementor-24782 hr, .elementor-24782 [class*=border], .elementor-24779 hr { border-color: #2a2a2a !important; }
.elementor-24779 .elementor-element-ba9d2ca { font-size: 17px; }
.elementor-24779 .elementor-element-ba9d2ca ul, .elementor-24779 .elementor-element-ba9d2ca ol { margin: 0 0 1.2em 1.2em; }
.elementor-24779 .elementor-element-ba9d2ca img { border-radius: 8px; margin: 1em 0; height: auto; }

/* BERI: Privacy Policy and Terms text (legal-pages.php), same reading style as blog posts */
.beri-legal { max-width: 860px; font-size: 17px; text-align: left; }
.beri-legal h2, .beri-legal h3 { font-family: "Inter", sans-serif !important; color: #fff !important; margin: 1.6em 0 .5em; line-height: 1.25; }
.beri-legal h2 { font-size: 26px; } .beri-legal h3 { font-size: 20px; }
.beri-legal p { margin: 0 0 1em; line-height: 1.75; }
.beri-legal a { color: #c9f31d !important; word-break: break-word; }
.beri-legal strong { color: #fff; }
.beri-legal ul, .beri-legal ol { margin: 0 0 1.2em 1.2em; line-height: 1.75; }
.elementor-widget.beri-legal { width: 100% !important; --container-widget-width: 100% !important; max-width: 860px !important; }
.beri-legal blockquote { margin: 0 0 1.6em; padding: 4px 0 4px 22px; border-left: 3px solid #c9f31d; font-size: 19px; color: #ddd; background: none !important; border-radius: 0; }

/* BERI: town pages (scripts/city) - hero button as the header's lime pill; nearby-city links in columns */
.beri-cta a.wcf-btn-underline { display: inline-block !important; background: #c9f31d !important; color: #121212 !important; padding: 16px 32px !important; border-radius: 50px !important; text-decoration: none !important; font-weight: 600; line-height: 1.2; }
.beri-cta a.wcf-btn-underline::before, .beri-cta a.wcf-btn-underline::after { display: none !important; }
.beri-cta a.wcf-btn-underline:hover { background: #fff; }
.beri-links-sec .beri-links-title, .beri-links-sec .beri-links-title * { font-size: 34px !important; line-height: 1.2 !important; text-align: left !important; }
.elementor-widget.beri-links-title { width: 100% !important; max-width: 100% !important; --container-widget-width: 100% !important; margin-top: 30px; }
.elementor-widget.beri-links { width: 100% !important; --container-widget-width: 100% !important; }
.beri-links .elementor-icon-list-items { columns: 4; column-gap: 32px; display: block !important; }
.beri-links .elementor-icon-list-item { break-inside: avoid; }
.beri-links .elementor-icon-list-item a:hover .elementor-icon-list-text { color: #c9f31d; }
@media (max-width: 1024px) { .beri-links .elementor-icon-list-items { columns: 3; } }
@media (max-width: 767px) { .beri-links .elementor-icon-list-items { columns: 2; } .beri-links-sec .beri-links-title, .beri-links-sec .beri-links-title * { font-size: 26px !important; } }

/* BERI: footer badges (footer-badges.php) */
.beri-badges { display: flex !important; gap: 20px; align-items: center; flex-wrap: nowrap; }
.beri-badges a { display: block; line-height: 0; }
.beri-badges img { display: block !important; height: 104px !important; width: auto !important; max-width: none !important; border-radius: 6px; background: #fff; }
.elementor-element-beribdg { width: auto !important; flex: 0 0 auto !important; }
.elementor-element-1f85065 { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 32px; flex-wrap: wrap; }
@media (max-width: 767px) { .beri-badges img { height: 80px !important; } }

/* BERI: services list (arolax--service) - Explore services buttons always lime with dark text and arrow, so they
   stand out on the dark rows and on the photo shown on hover (Jason, 12 Nov) */
.a-service--item .wc-btn-group .wc-btn-primary, .a-service--item .wc-btn-group .wc-btn-play { background: #c9f31d !important; border-color: #c9f31d !important; color: #121212 !important; }
.a-service--item .wc-btn-group .wc-btn-play i, .a-service--item .wc-btn-group .wc-btn-primary * { color: #121212 !important; }
.a-service--item .wc-btn-group:hover .wc-btn-primary, .a-service--item .wc-btn-group:hover .wc-btn-play { background: #fff !important; border-color: #fff !important; }

/* BERI: header menu - the theme's JS hides the hamburger on desktop only after it loads, so it flashed next to the
   logo on every page load (Jason, 12 Nov). Hide it with CSS above the tablet breakpoint (1024px) from the start. */
@media (min-width: 1025px) { .elementor-element-af4e9eb .wcf-menu-hamburger, .elementor-element-af4e9eb .mobile-menu-active .wcf-menu-hamburger { display: none !important; } }

/* BERI: every client-logo image (uploads/2026/11/NN-<client>-white.*) shows plain white in every state and widget (Jason, 12 Nov) */
img[src*="/uploads/2026/11/"][src*="-white."], img[src*="/uploads/2026/11/"][src*="-white."]:hover,
:hover > img[src*="/uploads/2026/11/"][src*="-white."] { filter: brightness(0) invert(1) !important; opacity: 1 !important; }

/* BERI: text-reveal headings clip each line to exactly one line-height, cutting off g, p, y (Jason, 12 Nov).
   Room for descenders inside the clip, the same amount taken back so line spacing is unchanged. */
.anim-reveal-line { padding-bottom: .16em !important; margin-bottom: -.16em !important; }

/* BERI: single post template (24779) came from the light demo: author, date, comments and related-post titles
   were #121212 on the dark page, so invisible (12 Nov). */
.elementor-24779 .wcf--meta-list .wcf--meta-author, .elementor-24779 .wcf--meta-list .wcf--meta-author a,
.elementor-24779 .wcf--meta-list .wcf--meta-date, .elementor-24779 .wcf--meta-list .wcf--meta-comment,
.elementor-24779 .wcf--title, .elementor-24779 .arolax--post .title, .elementor-24779 .arolax--post .title a,
.elementor-24779 .arolax--post .number { color: #fff !important; fill: #fff !important; }
.elementor-24779 .wcf--meta-list .label { color: #9a9a9a !important; }

/* BERI: homepage "Latest from the blog" (widget 21dd842): post image left, text right, so 2 posts stay compact (12 Nov). */
@media (min-width: 768px) {
  .elementor-element-21dd842 .content { display: grid; grid-template-columns: 38% 1fr; column-gap: 36px; align-items: start; }
  .elementor-element-21dd842 .content .thumb { grid-column: 1; grid-row: 1 / span 4; margin: 0 !important; }
  .elementor-element-21dd842 .content > :not(.thumb) { grid-column: 2; }
}
.elementor-element-21dd842 .content .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* BERI: featured image at the top of each post (single post template 24779, 12 Nov). */
.beri-post-image { margin-bottom: 48px; }
.beri-post-image img { width: 100%; aspect-ratio: 16 / 9; max-height: 640px; object-fit: cover; border-radius: 12px; display: block; }
.beri-post-image:not(:has(img)) { display: none; }

/* BERI: post meta line without the Comments column: Author comes first, no left divider, name on one line (12 Nov). */
.elementor-24779 .elementor-element-6a6efdbc { border-left-width: 0 !important; padding-left: 0 !important; width: auto !important; --width: auto !important; }
.elementor-24779 .wcf--meta-list .wcf--meta-author a { white-space: nowrap; }

/* BERI: post page title was 100px (Jason, 12 Nov: "so big"); sized just under the service page titles (60px). */
.elementor-24779 .elementor-element-54def30b .wcf--title { font-size: 56px !important; line-height: 1.12 !important; }
@media (max-width: 1366px) { .elementor-24779 .elementor-element-54def30b .wcf--title { font-size: 52px !important; } }
@media (max-width: 1024px) { .elementor-24779 .elementor-element-54def30b .wcf--title { font-size: 44px !important; } }
@media (max-width: 767px) { .elementor-24779 .elementor-element-54def30b .wcf--title { font-size: 32px !important; } }

/* BERI: post meta line without Author (Jason, 12 Nov): Post Date first, no left divider. */
.elementor-24779 .elementor-element-2521ae1 { border-left-width: 0 !important; padding-left: 0 !important; }

/* BERI: client logo grid with 12 logos (13 Nov): tall logos (NACA, Jack & King's, Jungle Fever) capped so they sit at the
   same visual size as the wide ones; every logo centered in its cell. */
.logo-item { justify-content: center !important; align-items: center !important; }
.logo-item .elementor-widget-wcf--image { width: 100%; }
.logo-item img { width: auto !important; max-width: 100% !important; max-height: 88px !important; object-fit: contain; margin-inline: auto; display: block; }
@media (max-width: 767px) { .logo-item img { max-height: 64px !important; } }
/* phones: two equal logo columns (some cells had different phone widths) */
@media (max-width: 767px) { .logo-item { --width: 50% !important; width: 50% !important; flex: 0 0 50% !important; } }

/* BERI: phone menu, "Our Capabilities" opens in place: group headings with their services under them (mobile-menu.js) */
.wcf__nav-menu.mobile-menu-active .beri-mega .sub-menu { position: static !important; transform: none !important; visibility: visible !important; height: auto !important; width: auto !important; background: transparent !important; transition: none; }
.wcf__nav-menu.mobile-menu-active .beri-mega > .sub-menu { display: none; padding: 0 0 8px 0; border-bottom: 1px solid #dee1e7; }
.wcf__nav-menu.mobile-menu-active .beri-mega.beri-open > .sub-menu { display: block; }
.wcf__nav-menu.mobile-menu-active .beri-mega .sub-menu .sub-menu { display: block; }
.wcf__nav-menu.mobile-menu-active .beri-mega li:has(> .nav-back-link) { display: none; }
.wcf__nav-menu.mobile-menu-active .beri-mega .wcf-submenu-indicator { transition: transform .2s; }
.wcf__nav-menu.mobile-menu-active .beri-mega.beri-open > a .wcf-submenu-indicator { transform: rotate(180deg); }
.wcf__nav-menu.mobile-menu-active .beri-mega .sub-menu .wcf-submenu-indicator { display: none; }
.wcf__nav-menu.mobile-menu-active .beri-mega .sub-menu a { border-bottom: 0 !important; padding: 6px 1em 6px 2em; font-size: .95rem; }
.wcf__nav-menu.mobile-menu-active .beri-mega > .sub-menu > li { margin: 0 1em 0 2em; border-bottom: 1px solid #dee1e7; padding: 6px 0 10px; }
.wcf__nav-menu.mobile-menu-active .beri-mega > .sub-menu > li:last-child { border-bottom: 0; }
.wcf__nav-menu.mobile-menu-active .beri-mega > .sub-menu > li > a { padding: 10px 0 6px; font-weight: 600; font-size: 1.05rem; }
.wcf__nav-menu.mobile-menu-active .beri-mega > .sub-menu > li > .sub-menu > li > a { padding: 6px 0; }
.wcf__nav-menu.mobile-menu-active .beri-mega .sub-menu .sub-menu .sub-menu a { padding-left: 1em; }
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-container { width: min(360px, 86vw) !important; }

/* BERI: site font Inter (Jason, 14 Nov 2026). Elementor widgets carry Inter in their own settings (scripts/redesign/beri-inter.php);
   these are the theme's own font variables (master.css: DM Sans / PT Serif), used by menus, the 404 page and plugin UI such as the cookie banner. */
:root { --font-primary: "Inter", sans-serif; --font-secondary: "Inter", sans-serif; }

/* BERI: in the white phone menu the current / tapped item is blue #3e6ae1, not the lime used on the dark desktop header (Jason, 14 Nov 2026). Phone widths only: the page loads as mobile-menu-active and the theme switches to desktop after load, so without the width check desktop flashed blue */
@media (max-width: 1024px) {
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current-menu-item > a,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current-menu-ancestor > a,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current-menu-parent > a,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current_page_item > a,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current_page_ancestor > a,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li > a:hover { color: #3e6ae1 !important; }
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current-menu-item > a svg,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current-menu-ancestor > a svg,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li.current_page_ancestor > a svg,
.wcf__nav-menu.mobile-menu-active .wcf-nav-menu-nav > li > a:hover svg { fill: #3e6ae1 !important; }
}
