/* Generated by tools/build-css.ps1 from the live Webflow site. Edit e4b-additions.css for new rules. */
/* --- Webflow global styles embed --- */


/* Make text look crisper and more legible in all browsers */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Focus state style for keyboard navigation for the focusable elements */
*[tabindex]:focus-visible,
  input[type="file"]:focus-visible {
   outline: 0.125rem solid #4d65ff;
   outline-offset: 0.125rem;
}

/* Set color style to inherit */
.inherit-color * {
    color: inherit;
}

/* Get rid of top margin on first element in any rich text element */
.w-richtext > :not(div):first-child, .w-richtext > div:first-child > :first-child {
  margin-top: 0 !important;
}

/* Get rid of bottom margin on last element in any rich text element */
.w-richtext>:last-child, .w-richtext ol li:last-child, .w-richtext ul li:last-child {
	margin-bottom: 0 !important;
}


/* Make sure containers never lose their center alignment */
.container-medium,.container-small, .container-large {
	margin-right: auto !important;
  margin-left: auto !important;
}

/* 
Make the following elements inherit typography styles from the parent and not have hardcoded values. 
Important: You will not be able to style for example "All Links" in Designer with this CSS applied.
Uncomment this CSS to use it in the project. Leave this message for future hand-off.
*/
/*
a,
.w-input,
.w-select,
.w-tab-link,
.w-nav-link,
.w-dropdown-btn,
.w-dropdown-toggle,
.w-dropdown-link {
  color: inherit;
  text-decoration: inherit;
  font-size: inherit;
}
*/

/* Apply "..." after 3 lines of text */
.text-style-3lines {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* Apply "..." after 2 lines of text */
.text-style-2lines {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* These classes are never overwritten */
.hide {
  display: none !important;
}

@media screen and (max-width: 991px) {
    .hide, .hide-tablet {
        display: none !important;
    }
}
  @media screen and (max-width: 767px) {
    .hide-mobile-landscape{
      display: none !important;
    }
}
  @media screen and (max-width: 479px) {
    .hide-mobile{
      display: none !important;
    }
}
 
.margin-0 {
  margin: 0rem !important;
}
  
.padding-0 {
  padding: 0rem !important;
}

.spacing-clean {
padding: 0rem !important;
margin: 0rem !important;
}

.margin-top {
  margin-right: 0rem !important;
  margin-bottom: 0rem !important;
  margin-left: 0rem !important;
}

.padding-top {
  padding-right: 0rem !important;
  padding-bottom: 0rem !important;
  padding-left: 0rem !important;
}
  
.margin-right {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
  margin-left: 0rem !important;
}

.padding-right {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
  padding-left: 0rem !important;
}

.margin-bottom {
  margin-top: 0rem !important;
  margin-right: 0rem !important;
  margin-left: 0rem !important;
}

.padding-bottom {
  padding-top: 0rem !important;
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}

.margin-left {
  margin-top: 0rem !important;
  margin-right: 0rem !important;
  margin-bottom: 0rem !important;
}
  
.padding-left {
  padding-top: 0rem !important;
  padding-right: 0rem !important;
  padding-bottom: 0rem !important;
}
  
.margin-horizontal {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
}

.padding-horizontal {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.margin-vertical {
  margin-right: 0rem !important;
  margin-left: 0rem !important;
}
  
.padding-vertical {
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}


/* --- Site-wide head code: responsive tables --- */

/* ================================
   Responsive tables - global styles
   Tables live in a rich-text embed block, so the markup is stored as raw code
   and never passes through the rich-text parser. That is what stops long
   articles flattening the table into a paragraph.
   Colours are tints of the brand green (--green, #00947b). The rgba line is a
   fallback; the color-mix line below it wins where supported and follows the
   Webflow variable, so re-branding the green updates the tables too.
   ================================ */
.w-embed:has(table){
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  position:relative;
}

.w-embed:has(table)::before{
  content:"Scroll for more \2192";
  display:none;
  font-size:0.75rem;
  color:#00947b;
  color:var(--green,#00947b);
  font-weight:600;
  margin-bottom:0.5rem;
}

/* Scrollbar styling */
.w-embed:has(table)::-webkit-scrollbar{height:8px}
.w-embed:has(table)::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}
.w-embed:has(table)::-webkit-scrollbar-thumb{
  background:rgba(0,148,123,.35);
  background:color-mix(in srgb, var(--green,#00947b) 35%, white);
  border-radius:4px;
}
.w-embed:has(table)::-webkit-scrollbar-thumb:hover{
  background:rgba(0,148,123,.6);
  background:color-mix(in srgb, var(--green,#00947b) 60%, white);
}

table{
  width:100%;
  border-collapse:collapse;
  font-family:inherit;
  font-size:0.95rem;
  line-height:1.5;
  min-width:600px;
}

thead,tbody{display:table-row-group}
tr{display:table-row}

th,td{
  display:table-cell;
  padding:0.75rem 1rem;
  text-align:left;
  vertical-align:top;
}

th{
  background-color:rgba(0,148,123,.08);
  background-color:color-mix(in srgb, var(--green,#00947b) 8%, white);
  border-bottom:2px solid rgba(0,148,123,.4);
  border-bottom:2px solid color-mix(in srgb, var(--green,#00947b) 40%, white);
  font-weight:600;
  white-space:nowrap;
}

tr + tr{
  border-top:1px solid rgba(0,148,123,.15);
  border-top:1px solid color-mix(in srgb, var(--green,#00947b) 15%, white);
}

tbody tr:hover{
  background-color:rgba(0,148,123,.04);
  background-color:color-mix(in srgb, var(--green,#00947b) 4%, white);
}

td a.faq_jump{
  font-weight:600;
  text-decoration:underline;
  color:#00947b;
  color:var(--green,#00947b);
}

/* Tablet: 991px and down */
@media screen and (max-width:991px){
  th,td{padding:0.625rem 0.75rem;font-size:0.9rem}
}

/* Mobile landscape: 767px and down */
@media screen and (max-width:767px){
  .w-embed:has(table)::before{display:block}
}

.w-richtext figure{max-width:100%;position:relative}

/* ==========================================================================
   Excel4Business additions (consent bar, carousels). Appended to site.css by
   tools/build-css.ps1 - edit this file, not site.css.
   ========================================================================== */

/* Consent bar - wording from the excel-expert landing page; fixed to the bottom so it never
   pushes the page down. Hidden unless e4b-site.js decides the visitor must choose. */
.e4b-cb{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:#F2F2F2;border-top:1px solid #D9D9D9;font-size:.88rem;color:#333;box-shadow:0 -4px 16px rgba(0,0,0,.08)}
.e4b-cb[hidden]{display:none!important}
.e4b-cb-wrap{max-width:1120px;margin:0 auto;padding:10px 20px calc(10px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.e4b-cb p{margin:0;flex:1 1 280px}
.e4b-cb a{color:#333;text-decoration:underline}
.e4b-cb button{min-height:36px;padding:0 14px;font:inherit;font-weight:600;border:1px solid #333;border-radius:3px;background:#fff;color:#333;cursor:pointer}
.e4b-cb button.e4b-cb-y{background:#333;color:#fff}
.e4b-cb button:focus-visible{outline:3px solid #333;outline-offset:2px}
/* Narrow phones: text on its own line, Accept and Decline side by side underneath */
@media (max-width:479px){.e4b-cb p{flex-basis:100%}}

/* Footer: Privacy / Terms / Cookie settings wrap instead of pushing small phones (320px) into a sideways scroll */
.privacy-terms_wrapper{flex-wrap:wrap;row-gap:.5rem}
.footer2_legal-list,.footer2_legal-list>*{max-width:100%}
/* FAQs guide cards: Webflow's 22rem minimum is wider than a 360px phone; let a single card shrink to fit */
.guide_list{grid-template-columns:repeat(auto-fill,minmax(min(22rem,100%),1fr))}
/* ...and the "reception@excel4business.com" card title may break instead of running off the screen */
.guide_card-title{overflow-wrap:anywhere}

/* Header phone: space is reserved while the location lookup runs, so nothing moves */
#phone-number-wrapper[style*="visibility:hidden"] a{pointer-events:none}

/* Carousels: slides that are not showing are hidden; the script fixes the height to the
   tallest slide so the page does not jump as quotes change. */
[data-e4b-carousel] [hidden]{display:none!important}
[data-e4b-carousel="fade"]{transition:opacity .45s ease}
[data-e4b-carousel].e4b-fading{opacity:0}
.e4b-wslider{text-align:center;clear:both;-webkit-tap-highlight-color:transparent;position:relative}
.e4b-wslider .w-slide{transition:transform .5s ease}
button.slider-arrow{padding:0;font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.e4b-wslider [data-e4b-dots]>button{cursor:pointer;width:1em;height:1em;margin:0 3px .5em;padding:0;border:0;border-radius:100%;background-color:rgba(34,34,34,.4);display:inline-block}
.e4b-wslider [data-e4b-dots]>button[aria-current="true"]{background-color:#222}
@media (prefers-reduced-motion:reduce){[data-e4b-carousel] *,[data-e4b-carousel]{transition:none!important}}

/* Hero rotator (home / about / what-we-do): one quote at a time. The slides share one grid cell so the box
   is always as tall as the longest quote (nothing below moves) and quotes cross-fade without a blank frame. */
[data-e4b-carousel="crossfade"]{display:grid}
[data-e4b-carousel="crossfade"]>*{grid-area:1/1;transition:opacity .7s ease,visibility .7s}
[data-e4b-carousel="crossfade"].e4b-ready>[hidden]{display:flex!important;opacity:0;visibility:hidden}
[data-e4b-carousel].e4b-noanim>*{transition:none!important}

/* Home page: sections alternate white / grey (Webflow had two grey blocks in a row) */
.e4b-bg-white{background-color:#fff}
.e4b-bg-grey{background-color:#fbfbf8}
.section_home_process{color:#000}

/* Guide byline under the H1: "By Ed Bolton, founder of Excel4Business Ltd. Last reviewed September 2026." */
.e4b-byline{margin:.6rem 0 0;font-size:.9rem;font-style:italic;line-height:1.4;color:#5a6470}
.e4b-byline a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.e4b-byline a:hover{color:#021f0d}

/* Client testimonials page (/guides/testimonials-client-list) */
.e4b-tp-text p{margin:0 0 1em;text-wrap:pretty}
.e4b-tp-text>:last-child{margin-bottom:0}
.e4b-tp-text a{color:inherit;text-decoration:underline}
.e4b-tp-survey{display:flex;flex-direction:column;gap:2.5rem}
/* H1 "Excel Consultant Reviews: / Client Testimonials and Results": balance the orange line so no word sits alone */
.e4b-tp h1 .text-span{display:inline-block;text-wrap:balance}
.e4b-tp .header5_content-grid h1{margin-bottom:1.25rem}
.e4b-tp-scores{width:100%;max-width:40rem;background:#fff;border-radius:.75rem;box-shadow:0 10px 30px rgba(2,31,13,.08);padding:.5rem 1.25rem;font-size:.95rem}
.e4b-tp-score{display:grid;grid-template-columns:minmax(0,1fr) 7rem 7.5rem;gap:1rem;align-items:center;padding:.85rem 0;border-top:1px solid #e3ebe7}
.e4b-tp-score-head{border-top:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#5a6470}
.e4b-tp-score-head span:not(:first-child),.e4b-tp-avg,.e4b-tp-pct{text-align:right}
.e4b-tp-avg{font-size:1.5rem;font-weight:700;color:#021f0d}
.e4b-tp-pct{font-weight:600;color:#1d6f42}
.e4b-tp-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.25rem 0 1.5rem}
.e4b-tp-topics a{padding:.45rem .9rem;border:1px solid #9cc9b7;border-radius:999px;background:#edf5f0;color:#021f0d;font-size:.9rem;text-decoration:none;transition:background-color .15s}
.e4b-tp-topics a:hover,.e4b-tp-topics a:focus-visible{background:#cae4db}
.e4b-tp-group{scroll-margin-top:5rem}
.e4b-tp-h{margin:0 0 2rem;font-size:2rem;line-height:1.2;text-wrap:balance}
.e4b-tp-cards{columns:3 18rem;column-gap:1.25rem}
.e4b-tp-card{break-inside:avoid;margin:0 0 1.25rem;padding:1.25rem 1.25rem 1rem;background:#fff;border:1px solid #e3ebe7;border-radius:.75rem;display:flex;flex-direction:column;gap:.85rem}
.e4b-bg-white .e4b-tp-card{background:#fbfbf8}
.e4b-tp-card blockquote{margin:0;padding:0;border:0;font-size:1rem;line-height:1.55;color:#1c2430}
.e4b-tp-card figcaption{display:flex;flex-direction:column;gap:.1rem;font-size:.88rem;line-height:1.4;color:#5a6470;border-top:1px solid #e3ebe7;padding-top:.7rem}
.e4b-tp-name{font-weight:600;color:#1c2430}
.e4b-tp-sector{font-size:.82rem}
@media (max-width:479px){.e4b-tp-score{grid-template-columns:minmax(0,1fr) 3.5rem 4.5rem;gap:.6rem}.e4b-tp-avg{font-size:1.25rem}.e4b-tp-h{font-size:1.6rem}}

/* get-a-quote: the form wrapper no longer carries Webflow's w-form class (so Webflow Forms leaves it alone); keep its spacing */
.e4b-wform{margin:0 0 15px}

/* FAQs: popular-question jumps land clear of the fixed header (86px desktop, 64px tablet/phone).
   Kept here because tools/build-css.ps1 regenerates faqs.css. */
.faq_item{scroll-margin-top:6.5rem}
@media (max-width:991px){.faq_item{scroll-margin-top:5rem}}
