/* Briskwhale editorial pages (Agent 2): About, testimonials, knowledge center (article categories), articles, FAQ,
   contact and the simple information pages. RebrandEditorial.master puts them on the approved Home / Bwize design
   system: body.bw-home-premium (css/home-premium.css: header, footer, buttons, testimonial cards, FAQ, contact form)
   + body.bw-inner-page (css/rebrand-inner-shared.css, Agent 1, read-only: the Bwize testimonials mosaic).
   This file only adds what those pages need on top: the shared compact hero, the editorial layouts and the About
   sections. Every rule is scoped to body.bw-ed, so Home, Bwize, systems, industries, EN and PT are untouched.

   1. Base          2. Shared hero          3. Section headings and cards
   4. Knowledge center (category template)  5. Article  6. Simple pages
   7. Testimonials page                     8. Contact page  9. FAQ page  10. About
   11. Responsive   12. Reduced motion */

/* ---------- 1. Base ---------- */

body.bw-ed {
    --ed-line: #e2e8f0;
    --ed-card-line: #dbe8f5;
    --ed-soft: #f5f9fe;
    --ed-text: #334155;
    --ed-radius: 24px;
    --ed-shadow: 0 20px 40px -34px rgba(28, 43, 65, .4);
    --ed-shadow-hover: 0 30px 50px -34px rgba(28, 43, 65, .45);
}

body.bw-ed .bw-ed-page {
    font-family: Assistant, sans-serif;
    letter-spacing: 0;
}

/* The theme has no screen-reader-only utility */
body.bw-ed .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.bw-ed .bw-ed-section {
    position: relative;
    padding: 88px 0 96px;
    background: #fff;
}

body.bw-ed .bw-ed-section--soft {
    background: var(--ed-soft);
}

/* ---------- 2. Shared hero: breadcrumbs + H1 (+ optional lead and button) ----------
   One compact navy band for every inner page of this template, the colours of the Home / industry heroes without
   their large animations. The header of css/home-premium.css floats over it (transparent at the top). */

body.bw-ed .bw-ed-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 150px 0 76px;
    color: #fff;
    text-align: center;
    background: var(--bw-navy-bg);
}

/* Quiet texture: a dot grid that fades out, and two soft glows (static) */
body.bw-ed .bw-ed-hero::before,
body.bw-ed .bw-ed-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

body.bw-ed .bw-ed-hero::before {
    background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(70% 90% at 50% 60%, #000 0%, transparent 85%);
    mask-image: radial-gradient(70% 90% at 50% 60%, #000 0%, transparent 85%);
}

body.bw-ed .bw-ed-hero::after {
    background:
        radial-gradient(38% 70% at 92% 110%, rgba(88, 200, 126, .16), transparent 70%),
        radial-gradient(34% 60% at 6% -10%, rgba(156, 202, 240, .16), transparent 70%);
}

body.bw-ed .bw-ed-hero > .container {
    width: 100%;
}

body.bw-ed .bw-ed-hero__inner {
    max-width: 940px;
    margin: 0 auto;
}

/* Breadcrumbs (the theme's ol.breadcrumbs-custom-path, re-drawn for the navy band) */
body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path {
    position: static;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
    border-radius: 0;
    transform: none;
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li {
    position: relative;
    top: auto;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li[style*="none"],
body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li:empty {
    display: none;
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li + li::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin: 0 12px;
    border-bottom: 1.5px solid rgba(255, 255, 255, .5);
    border-left: 1.5px solid rgba(255, 255, 255, .5);
    transform: rotate(45deg);
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li::after {
    display: none;
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path a,
body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path a:visited {
    display: inline-block;
    overflow: hidden;
    max-width: 340px;
    color: rgba(255, 255, 255, .72);
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    vertical-align: middle;
    transition: color .25s;
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path a:hover,
body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path a:focus {
    color: #fff;
}

body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li.active,
body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li.active a,
body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li:last-child a {
    color: #fff;
    font-weight: 600;
    pointer-events: none;
}

body.bw-ed .bw-ed-hero__title {
    margin: 22px 0 0;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0;
    text-wrap: balance;
}

body.bw-ed .bw-ed-hero__title span {
    color: inherit;
}

/* The moderate blue accent: a phrase in light blue when the CMS marks one, and a short brand line under every H1 */
body.bw-ed .bw-ed-hero__title em {
    color: var(--bw-blue-300);
    font-style: normal;
}

body.bw-ed .bw-ed-hero__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 24px auto 0;
    background: linear-gradient(90deg, var(--bw-green), var(--bw-blue-300));
    border-radius: 4px;
}

body.bw-ed .bw-ed-hero__lead {
    max-width: 720px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, .86);
    font-size: 21px;
    line-height: 1.6;
}

body.bw-ed .bw-ed-hero__lead p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

body.bw-ed .bw-ed-hero__cta {
    margin-top: 32px;
}

/* Articles and information pages: the same band, compact (no minimum height, less air, no line under the H1);
   the article subtitle is the CMS intro. The other editorial pages keep the hero above unchanged. */
body.bw-ed--article .bw-ed-hero,
body.bw-ed--page .bw-ed-hero {
    min-height: 0;
    padding: 118px 0 46px;
}

body.bw-ed--article .bw-ed-hero__inner,
body.bw-ed--page .bw-ed-hero__inner {
    max-width: 860px;
}

body.bw-ed--article .bw-ed-hero__title,
body.bw-ed--page .bw-ed-hero__title {
    margin-top: 16px;
    font-size: 46px;
    line-height: 1.16;
}

body.bw-ed--article .bw-ed-hero__title::after,
body.bw-ed--page .bw-ed-hero__title::after {
    display: none;
}

body.bw-ed--article .bw-ed-hero__lead {
    max-width: 700px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .8);
    font-size: 19px;
    line-height: 1.6;
}

/* ---------- 3. Section headings and article cards ---------- */

body.bw-ed .bw-ed-h2 {
    margin: 0;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

body.bw-ed .bw-ed-sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 40px;
}

body.bw-ed .bw-ed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

body.bw-ed .bw-ed-card {
    min-width: 0;
}

body.bw-ed .bw-ed-card__link,
body.bw-ed .bw-ed-card__link:visited {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--ed-card-line);
    border-radius: var(--ed-radius);
    box-shadow: var(--ed-shadow);
    transition: transform .5s var(--bw-ease), box-shadow .5s, border-color .5s;
}

/* Accent line that grows on hover, as on the homepage system cards */
body.bw-ed .bw-ed-card__link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bw-green), var(--bw-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--bw-ease);
}

body.bw-ed .bw-ed-card__link:hover,
body.bw-ed .bw-ed-card__link:focus {
    color: inherit;
    text-decoration: none;
    border-color: #bfd6ec;
    transform: translateY(-4px);
    box-shadow: var(--ed-shadow-hover);
}

body.bw-ed .bw-ed-card__link:hover::after,
body.bw-ed .bw-ed-card__link:focus::after {
    transform: scaleX(1);
}

body.bw-ed .bw-ed-card__link:focus-visible {
    outline: 3px solid var(--bw-green);
    outline-offset: 3px;
}

/* CMS thumbnail, shown whole (no crop) on a soft panel */
body.bw-ed .bw-ed-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    padding: 18px 24px;
    overflow: hidden;
    background: var(--ed-soft);
    border-bottom: 1px solid #e6eef7;
}

body.bw-ed .bw-ed-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .8s var(--bw-ease);
}

body.bw-ed .bw-ed-card__link:hover .bw-ed-card__media img {
    transform: scale(1.04);
}

/* A product logo as the CMS thumbnail: a modest mark on the panel, not a full-width cover */
body.bw-ed .bw-ed-card__media--logo img {
    width: auto;
    max-width: 46%;
    height: auto;
    max-height: 30%;
}

body.bw-ed .bw-ed-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    padding: 24px 26px 24px;
    text-align: right;
}

body.bw-ed .bw-ed-card--text .bw-ed-card__body {
    padding-top: 30px;
}

/* Real CMS category of the article: plain text, no pill */
body.bw-ed .bw-ed-tag {
    color: var(--bw-blue);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

body.bw-ed .bw-ed-card__title {
    color: var(--bw-ink);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    text-wrap: pretty;
    transition: color .3s;
}

body.bw-ed .bw-ed-card__link:hover .bw-ed-card__title {
    color: var(--bw-blue);
}

body.bw-ed .bw-ed-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bw-muted);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

body.bw-ed .bw-ed-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--bw-blue);
    font-size: 16.5px;
    font-weight: 700;
}

body.bw-ed .bw-ed-card__more .bw-home-btn-arrow {
    width: 18px;
    height: 18px;
}

body.bw-ed .bw-ed-card__link:hover .bw-ed-card__more .bw-home-btn-arrow {
    transform: translateX(-4px);
}

/* ---------- 4. Knowledge center: one template for every article category ---------- */

body.bw-ed .bw-ed-knowledge {
    padding-top: 64px;
    background: #fff;
}

body.bw-ed .bw-ed-intro {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

body.bw-ed .bw-ed-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 36px;
}

body.bw-ed .bw-ed-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.bw-ed .bw-ed-chip,
body.bw-ed .bw-ed-chip:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    color: var(--bw-ink);
    font-size: 16.5px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1.5px #d3e1ef;
    transition: color .25s, background-color .25s, box-shadow .25s;
}

body.bw-ed .bw-ed-chip small {
    color: var(--bw-muted);
    font-size: 13.5px;
    font-weight: 600;
}

body.bw-ed .bw-ed-chip:hover,
body.bw-ed .bw-ed-chip:focus {
    color: var(--bw-blue);
    text-decoration: none;
    box-shadow: inset 0 0 0 1.5px var(--bw-blue);
}

body.bw-ed .bw-ed-chip.is-active {
    color: #fff;
    background: var(--bw-navy-900);
    box-shadow: none;
}

body.bw-ed .bw-ed-chip.is-active small {
    color: var(--bw-blue-300);
}

body.bw-ed .bw-ed-search {
    position: relative;
    flex: 0 1 340px;
    margin-inline-start: auto;
}

body.bw-ed .bw-ed-search input {
    width: 100%;
    height: 50px;
    padding: 0 22px 0 54px;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 17px;
    background: #fff;
    border: 1.5px solid #d3e1ef;
    border-radius: 999px;
    outline: 0;
    transition: border-color .25s, box-shadow .25s;
}

body.bw-ed .bw-ed-search input:focus {
    border-color: var(--bw-blue);
    box-shadow: 0 0 0 4px rgba(11, 106, 161, .12);
}

body.bw-ed .bw-ed-search button {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    background: var(--bw-blue);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .25s;
}

body.bw-ed .bw-ed-search button:hover,
body.bw-ed .bw-ed-search button:focus {
    background: var(--bw-blue-600);
}

body.bw-ed .bw-ed-search svg {
    width: 18px;
    height: 18px;
}

body.bw-ed .bw-ed-results-note {
    margin: -12px 0 28px;
    color: var(--bw-muted);
    font-size: 16.5px;
}

body.bw-ed .bw-ed-results-note a {
    color: var(--bw-blue);
    font-weight: 700;
}

body.bw-ed .bw-ed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 560px;
    margin: 0 auto;
    padding: 56px 32px;
    color: var(--bw-muted);
    text-align: center;
    background: var(--ed-soft);
    border-radius: var(--ed-radius);
}

body.bw-ed .bw-ed-empty svg {
    width: 52px;
    height: 52px;
    color: var(--bw-blue-300);
}

body.bw-ed .bw-ed-empty p {
    margin: 0;
    color: var(--bw-ink);
    font-size: 19px;
    font-weight: 600;
}

body.bw-ed .bw-ed-pager {
    margin-top: 56px;
}

body.bw-ed .bw-ed-pager ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.bw-ed .bw-ed-pager__num,
body.bw-ed .bw-ed-pager__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    color: var(--bw-ink);
    font-size: 16.5px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1.5px #d3e1ef;
    transition: color .25s, box-shadow .25s, background-color .25s;
}

body.bw-ed a.bw-ed-pager__num:hover,
body.bw-ed a.bw-ed-pager__step:hover,
body.bw-ed a.bw-ed-pager__num:focus,
body.bw-ed a.bw-ed-pager__step:focus {
    color: var(--bw-blue);
    text-decoration: none;
    box-shadow: inset 0 0 0 1.5px var(--bw-blue);
}

body.bw-ed .bw-ed-pager__num.is-current {
    color: #fff;
    background: var(--bw-blue);
    box-shadow: none;
}

/* ---------- 5. Article ---------- */

body.bw-ed .bw-ed-article-sec {
    padding: 56px 0 88px;
}

/* Reading column, and beside it (wide screens, long articles only) the compact table of contents */
body.bw-ed .bw-ed-article {
    display: grid;
    grid-template-columns: minmax(0, 740px) 250px;
    justify-content: center;
    align-items: start;
    gap: 72px;
}

body.bw-ed .bw-ed-article--single {
    grid-template-columns: minmax(0, 760px);
}

body.bw-ed .bw-ed-article__main {
    min-width: 0;
}

body.bw-ed .bw-ed-toc {
    position: sticky;
    top: 110px;
    padding: 4px 22px 4px 0;
    border-right: 2px solid #e3edf7;
}

body.bw-ed .bw-ed-toc__title {
    display: block;
    margin-bottom: 14px;
    color: var(--bw-muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

body.bw-ed .bw-ed-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

body.bw-ed .bw-ed-toc li {
    counter-increment: toc;
    margin: 0;
    padding: 0;
}

body.bw-ed .bw-ed-toc a,
body.bw-ed .bw-ed-toc a:visited {
    position: relative;
    display: block;
    padding: 7px 26px 7px 0;
    color: #475569;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: color .25s;
}

body.bw-ed .bw-ed-toc a::before {
    content: counter(toc, decimal-leading-zero);
    position: absolute;
    top: 9px;
    right: 0;
    color: var(--bw-blue);
    font-size: 12px;
    font-weight: 700;
}

body.bw-ed .bw-ed-toc a:hover,
body.bw-ed .bw-ed-toc a:focus {
    color: var(--bw-blue);
    text-decoration: none;
}

/* Readable text. Also styles legacy CMS HTML (old articles, terms, privacy, accessibility). */
body.bw-ed .bw-ed-prose {
    min-width: 0;
    color: var(--ed-text);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.85;
    overflow-wrap: break-word;
}

body.bw-ed .bw-ed-prose > :first-child {
    margin-top: 0;
}

body.bw-ed .bw-ed-prose p,
body.bw-ed .bw-ed-prose ul,
body.bw-ed .bw-ed-prose ol,
body.bw-ed .bw-ed-prose blockquote,
body.bw-ed .bw-ed-prose table,
body.bw-ed .bw-ed-prose figure {
    margin: 0 0 1.15em;
}

body.bw-ed .bw-ed-prose p,
body.bw-ed .bw-ed-prose div,
body.bw-ed .bw-ed-prose span {
    font-size: inherit;
    line-height: inherit;
}

body.bw-ed .bw-ed-prose p {
    color: inherit;
}

body.bw-ed .bw-ed-prose--article > p:first-child {
    color: var(--bw-ink);
    font-size: 21px;
    line-height: 1.75;
}

body.bw-ed .bw-ed-prose h2 {
    margin: 1.9em 0 .6em;
    padding: 0;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    scroll-margin-top: 110px;
}

body.bw-ed .bw-ed-prose h3 {
    margin: 1.6em 0 .5em;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

body.bw-ed .bw-ed-prose h4,
body.bw-ed .bw-ed-prose h5,
body.bw-ed .bw-ed-prose h6 {
    margin: 1.4em 0 .4em;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

body.bw-ed .bw-ed-prose a,
body.bw-ed .bw-ed-prose a:visited {
    color: var(--bw-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

body.bw-ed .bw-ed-prose a:hover,
body.bw-ed .bw-ed-prose a:focus {
    color: var(--bw-blue-600);
    text-decoration-thickness: 2px;
}

body.bw-ed .bw-ed-prose strong,
body.bw-ed .bw-ed-prose b {
    color: var(--bw-ink);
    font-weight: 700;
}

body.bw-ed .bw-ed-prose ul,
body.bw-ed .bw-ed-prose ol {
    padding: 0 1.3em 0 0;
}

body.bw-ed .bw-ed-prose ul {
    list-style: disc;
}

body.bw-ed .bw-ed-prose ol {
    list-style: decimal;
}

/* the theme makes every li a plain block (no marker box) and resets list-style on it: restore the list item */
body.bw-ed .bw-ed-prose ul > li {
    display: list-item;
    list-style: disc outside;
}

body.bw-ed .bw-ed-prose ol > li {
    display: list-item;
    list-style: decimal outside;
}

body.bw-ed .bw-ed-prose li {
    margin: 0 0 .45em;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1.75;
}

body.bw-ed .bw-ed-prose li::before {
    content: none;
}

/* Legacy CMS formatting in old articles and pages: one type scale. Lists take the text size; inline sizes, fonts,
   letter-spacing and justified text from the old editor are neutralised; old "headings" made of bold text with a
   large inline size get the H3 size of the template (the CMS content itself is not changed). */
body.bw-ed .bw-ed-prose ul,
body.bw-ed .bw-ed-prose ol {
    font-size: inherit;
}

body.bw-ed .bw-ed-prose [style*="font-size"] {
    font-size: inherit !important;
    line-height: inherit !important;
}

body.bw-ed .bw-ed-prose strong[style*="font-size"],
body.bw-ed .bw-ed-prose b[style*="font-size"],
body.bw-ed .bw-ed-prose strong > [style*="font-size"],
body.bw-ed .bw-ed-prose [style*="font-size"] > strong {
    color: var(--bw-ink);
    font-size: 24px !important;
    line-height: 1.35 !important;
}

body.bw-ed .bw-ed-prose [style*="font-family"] {
    font-family: inherit !important;
}

body.bw-ed .bw-ed-prose [style*="letter-spacing"] {
    letter-spacing: normal !important;
}

body.bw-ed .bw-ed-prose [align="justify"],
body.bw-ed .bw-ed-prose [style*="text-align: justify"],
body.bw-ed .bw-ed-prose [style*="text-align:justify"] {
    text-align: start !important;
}

body.bw-ed .bw-ed-prose li::marker {
    color: var(--bw-blue);
    font-weight: 700;
}

body.bw-ed .bw-ed-prose blockquote {
    padding: 20px 26px;
    color: var(--bw-ink);
    font-size: 20px;
    font-style: normal;
    line-height: 1.7;
    background: var(--ed-soft);
    border: 0;
    border-right: 4px solid var(--bw-blue);
    border-radius: 0 16px 16px 0;
}

body.bw-ed .bw-ed-prose blockquote p:last-child {
    margin-bottom: 0;
}

body.bw-ed .bw-ed-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

body.bw-ed .bw-ed-prose figure img {
    display: block;
    margin: 0 auto;
}

body.bw-ed .bw-ed-prose figcaption {
    margin-top: 10px;
    color: var(--bw-muted);
    font-size: 15px;
    text-align: center;
}

body.bw-ed .bw-ed-prose iframe,
body.bw-ed .bw-ed-prose video {
    max-width: 100%;
}

body.bw-ed .bw-ed-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

body.bw-ed .bw-ed-prose th,
body.bw-ed .bw-ed-prose td {
    padding: 10px 12px;
    text-align: right;
    vertical-align: top;
    border: 1px solid var(--ed-line);
}

body.bw-ed .bw-ed-prose th {
    color: var(--bw-ink);
    background: var(--ed-soft);
}

body.bw-ed .bw-ed-prose hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid var(--ed-line);
}

/* Legacy article markup (old LMS articles): their blocks stay, oversized spacing and floats are calmed */
body.bw-ed .bw-ed-prose .sub-head-1 {
    padding-top: 24px;
    padding-bottom: 16px;
    color: var(--bw-ink);
    font-size: 26px;
    letter-spacing: 0;
}

body.bw-ed .bw-ed-prose .container,
body.bw-ed .bw-ed-prose .row {
    max-width: 100%;
}

body.bw-ed .bw-ed-prose [style*="text-align: justify"],
body.bw-ed .bw-ed-prose [style*="text-align:justify"],
body.bw-ed .bw-ed-prose [align="justify"] {
    text-align: right !important;
}

/* ----- Old-editor content normalised by App_Code/Content/RebrandLegacyHtml (articles and information pages) -----
   One mechanism for every CMS text: headings made of bold lines, paragraphs made of <br> runs, centred pictures,
   check / numbered lists of the old LMS articles. */

/* safety net for anything the normaliser leaves: layout wrappers and empty blocks of the old editor */
body.bw-ed .bw-ed-prose section,
body.bw-ed .bw-ed-prose .container,
body.bw-ed .bw-ed-prose .row,
body.bw-ed .bw-ed-prose [class*="col-"] {
    display: block;
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.bw-ed .bw-ed-prose p:empty,
body.bw-ed .bw-ed-prose div:empty {
    display: none;
}

body.bw-ed .bw-ed-prose > div {
    margin: 0 0 1.15em;
}

/* bold line of the old editor used as a heading (H3 size); a line ending with ":" introduces a list */
body.bw-ed .bw-ed-prose .bw-ed-lh {
    display: block;
    margin: 1.7em 0 .55em;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    letter-spacing: 0;
}

body.bw-ed .bw-ed-prose .bw-ed-lh strong,
body.bw-ed .bw-ed-prose .bw-ed-lh b,
body.bw-ed .bw-ed-prose .bw-ed-lh span {
    color: inherit;
    font-size: inherit !important;
    font-weight: 700;
    line-height: inherit !important;
}

body.bw-ed .bw-ed-prose .bw-ed-lh u {
    text-decoration: none;
}

body.bw-ed .bw-ed-prose .bw-ed-lh--lead {
    margin: 1.4em 0 .5em;
    font-size: 20px !important;
}

body.bw-ed .bw-ed-prose .bw-ed-lh + ul,
body.bw-ed .bw-ed-prose .bw-ed-lh + ol {
    margin-top: 0;
}

body.bw-ed .bw-ed-prose > .bw-ed-lh:first-child,
body.bw-ed .bw-ed-prose .bw-ed-figure--lead + .bw-ed-lh {
    margin-top: 0;
}

/* "last updated" line of a policy */
body.bw-ed .bw-ed-prose .bw-ed-updated {
    margin-bottom: 1.6em;
    color: var(--bw-muted);
    font-size: 15.5px;
    font-weight: 600;
}

/* a span the old editor displayed as its own line */
body.bw-ed .bw-ed-prose .bw-ed-line {
    display: block;
    margin: .3em 0;
}

/* pictures: the lead illustration of an article, then the pictures between the paragraphs (centred, never cropped) */
body.bw-ed .bw-ed-prose .bw-ed-figure {
    margin: 36px auto;
    text-align: center;
}

body.bw-ed .bw-ed-prose .bw-ed-figure img {
    display: inline-block;
    max-width: min(100%, 440px);
    height: auto;
    vertical-align: top;
    border-radius: 16px;
}

body.bw-ed .bw-ed-prose .bw-ed-figure--lead {
    margin: 0 0 36px;
}

body.bw-ed .bw-ed-prose .bw-ed-figure--lead img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
}

/* the opening paragraph after the lead picture, as without one */
body.bw-ed .bw-ed-prose--article > .bw-ed-figure--lead + p {
    color: var(--bw-ink);
    font-size: 21px;
    line-height: 1.75;
}

/* check list of the old LMS articles (was: FontAwesome glyph) */
body.bw-ed .bw-ed-prose ul.bw-ed-list-check {
    padding: 0;
    list-style: none;
}

body.bw-ed .bw-ed-prose ul.bw-ed-list-check > li {
    position: relative;
    margin: 0 0 .5em;
    padding-inline-start: 36px;
    list-style: none;
}

body.bw-ed .bw-ed-prose ul.bw-ed-list-check > li::before {
    content: "";
    position: absolute;
    top: .42em;
    inset-inline-start: 0;
    width: 22px;
    height: 22px;
    background: var(--bw-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
    border-radius: 50%;
}

body.bw-ed .bw-ed-prose ul.bw-ed-list-check > li::marker {
    content: "";
}

/* numbered steps of the old LMS articles (was: counters in grey circles) */
body.bw-ed .bw-ed-prose ul.bw-ed-list-num,
body.bw-ed .bw-ed-prose ol.bw-ed-list-num {
    padding: 0;
    list-style: none;
    counter-reset: bwstep;
}

body.bw-ed .bw-ed-prose .bw-ed-list-num > li {
    position: relative;
    margin: 0 0 .9em;
    padding-inline-start: 50px;
    list-style: none;
    counter-increment: bwstep;
}

body.bw-ed .bw-ed-prose .bw-ed-list-num > li::before {
    content: counter(bwstep);
    position: absolute;
    top: .1em;
    inset-inline-start: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--bw-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    background: var(--bw-sky);
    border-radius: 50%;
}

body.bw-ed .bw-ed-prose .bw-ed-list-num > li::marker {
    content: "";
}

body.bw-ed .bw-ed-prose li > p {
    margin: 0 0 .4em;
}

body.bw-ed .bw-ed-prose li > p:last-child {
    margin-bottom: 0;
}

body.bw-ed .bw-ed-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 40px;
}

body.bw-ed .bw-ed-gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ed-soft);
    border-radius: 16px;
}

body.bw-ed .bw-ed-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--bw-ease);
}

body.bw-ed .bw-ed-gallery a:hover img {
    transform: scale(1.04);
}

/* Testimonials linked to the article in the CMS: the Home quote cards in a row */
body.bw-ed .bw-ed-article-quotes {
    padding: 72px 0;
}

body.bw-ed .bw-ed-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

body.bw-ed .bw-ed-quotes .bw-home-tq-text {
    -webkit-line-clamp: 6;
}

body.bw-ed .bw-ed-related {
    padding: 88px 0 96px;
    background: var(--ed-soft);
}

/* ----- Article template (2026-11-17, conference): one wide RTL reading column, no side table of contents, no
   related block (switched off in viewArticle.aspx.cs). One type scale for every article, old or new:
   lead 22 / H2 32 / H3 24 / text 20 / lists 20 (phone: 20 / 26 / 21 / 18 / 18). Compact hero, then the column;
   an article photo sits inside the column (see "Article photo" below). No decorative lines or shapes on headings.
   Scoped to body.bw-ed--article (body.bw-ed.bw-ed--article beats the generic rules of section 11): the information
   pages (body.bw-ed--page: terms, privacy, accessibility) are not affected. ----- */

body.bw-ed.bw-ed--article .bw-ed-hero {
    padding-bottom: 54px;
}

body.bw-ed.bw-ed--article .bw-ed-article-sec {
    padding: 64px 0 96px;
}

body.bw-ed.bw-ed--article .bw-ed-article,
body.bw-ed.bw-ed--article .bw-ed-article--single {
    display: block;
    max-width: 880px;
    margin: 0 auto;
}

body.bw-ed.bw-ed--article .bw-ed-prose--article {
    color: #2f3d52;
    font-size: 20px;
    line-height: 1.8;
}

body.bw-ed.bw-ed--article .bw-ed-prose p,
body.bw-ed.bw-ed--article .bw-ed-prose ul,
body.bw-ed.bw-ed--article .bw-ed-prose ol,
body.bw-ed.bw-ed--article .bw-ed-prose table,
body.bw-ed.bw-ed--article .bw-ed-prose blockquote,
body.bw-ed.bw-ed--article .bw-ed-prose > div {
    margin: 0 0 22px;
}

/* opening paragraph (with or without a lead picture before it) */
body.bw-ed.bw-ed--article .bw-ed-prose--article > p:first-child,
body.bw-ed.bw-ed--article .bw-ed-prose--article > .bw-ed-figure--lead + p {
    margin-bottom: 26px;
    color: var(--bw-ink);
    font-size: 22px;
    line-height: 1.7;
}

/* headings: air above, tight to their text */
body.bw-ed.bw-ed--article .bw-ed-prose h2 {
    margin: 56px 0 16px;
    font-size: 32px;
    line-height: 1.28;
}

body.bw-ed.bw-ed--article .bw-ed-prose h3,
body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-lh {
    margin: 40px 0 12px;
    font-size: 24px !important;
    line-height: 1.35 !important;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-lh--lead {
    margin: 28px 0 10px;
    font-size: 21px !important;
}

body.bw-ed.bw-ed--article .bw-ed-prose h4,
body.bw-ed.bw-ed--article .bw-ed-prose h5,
body.bw-ed.bw-ed--article .bw-ed-prose h6 {
    margin: 32px 0 8px;
    font-size: 21px;
}

body.bw-ed.bw-ed--article .bw-ed-prose > h2:first-child,
body.bw-ed.bw-ed--article .bw-ed-prose > h3:first-child,
body.bw-ed.bw-ed--article .bw-ed-prose > .bw-ed-lh:first-child,
body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead + h2,
body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead + h3,
body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead + .bw-ed-lh {
    margin-top: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose h2 + h3,
body.bw-ed.bw-ed--article .bw-ed-prose h2 + .bw-ed-lh {
    margin-top: 20px;
}

/* lists: the text size, a blue marker, even rhythm */
body.bw-ed.bw-ed--article .bw-ed-prose ul,
body.bw-ed.bw-ed--article .bw-ed-prose ol {
    padding: 0 1.25em 0 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose li {
    margin: 0 0 10px;
    padding-inline-start: 4px;
    line-height: 1.7;
}

body.bw-ed.bw-ed--article .bw-ed-prose li:last-child {
    margin-bottom: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose ul.bw-ed-list-check,
body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-list-num {
    padding: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose ul.bw-ed-list-check > li {
    margin-bottom: 12px;
    padding-inline-start: 36px;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-list-num > li {
    margin-bottom: 16px;
    padding-inline-start: 50px;
}

/* links: blue, a quiet underline that firms up on hover */
body.bw-ed.bw-ed--article .bw-ed-prose a,
body.bw-ed.bw-ed--article .bw-ed-prose a:visited {
    color: var(--bw-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(11, 106, 161, .35);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

body.bw-ed.bw-ed--article .bw-ed-prose a:hover,
body.bw-ed.bw-ed--article .bw-ed-prose a:focus {
    color: var(--bw-blue-600);
    text-decoration-color: currentColor;
}

body.bw-ed.bw-ed--article .bw-ed-prose strong,
body.bw-ed.bw-ed--article .bw-ed-prose b {
    font-weight: 700;
}

/* pictures already in the article: lead picture over the full column, the others centred at their own size
   (never enlarged beyond it, never cropped or distorted) */
body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure {
    margin: 40px auto;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure img {
    width: auto;
    max-width: min(100%, 680px);
    height: auto;
    border-radius: 18px;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead {
    margin: 0 0 40px;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead img {
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
}

/* old LMS articles: the wrapper .post-1 and its inline <style> in viewArticle.aspx (sizes 18-25px, negative
   margins) give way to the template scale */
body.bw-ed.bw-ed--article .bw-ed-prose .post-1 {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

body.bw-ed.bw-ed--article .bw-ed-prose .sub-head-1 {
    clear: none;
    margin: 48px 0 20px;
    padding: 0;
    color: var(--bw-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead + .sub-head-1,
body.bw-ed.bw-ed--article .bw-ed-prose > .sub-head-1:first-child {
    margin-top: 0;
}

/* old "unit" blocks (icon + title + text; the icon fonts are gone): a title line and its text, flush right */
body.bw-ed.bw-ed--article .bw-ed-prose .unit {
    display: block;
    margin: 0 0 30px;
    padding: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-left {
    display: none;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-body {
    margin: 0;
    padding: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-body > span:first-child {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    color: var(--bw-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-body p,
body.bw-ed.bw-ed--article .bw-ed-prose .unit-body p span {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-body p span {
    display: inline;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-body p + p {
    margin-top: 12px;
}

/* the first picture inside an old wrapper (.post-1 > div > figure) starts the column like a lead picture */
body.bw-ed.bw-ed--article .bw-ed-prose--article > div:first-child,
body.bw-ed.bw-ed--article .bw-ed-prose--article > div:first-child > .bw-ed-figure:first-child {
    margin-top: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit-body > h2,
body.bw-ed.bw-ed--article .bw-ed-prose .unit-body > h3 {
    margin-bottom: 0;
}

body.bw-ed.bw-ed--article .bw-ed-prose .unit:has(> .unit-body > h2:only-child),
body.bw-ed.bw-ed--article .bw-ed-prose .unit:has(> .unit-body > h3:only-child) {
    margin-bottom: 12px;
}

/* ----- Article photo: part of the article content in the CMS (edited in the article editor, CuteEditor):
     <p class="bw-article-image"><img src="/StaticFiles/..." alt="..." width="880" height="495" />
       <span class="bw-article-image__credit">צילום: ... / Unsplash</span></p>
   A real photograph inside the reading column, at the column width (880px) and in the file's own proportions
   (prepared 16:9 or 3:2). Never over the hero; no shadow, frame or backing. The credit is optional (a picture alone
   in the paragraph is shown as a figure by RebrandLegacyHtml and keeps these rules). The headings carry no
   decoration: the type scale alone marks the sections. ----- */
body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image {
    margin: 44px 0 48px;
    font-size: 13px;
    line-height: 1.4;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 16px;
    background: #e9eef4;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image__credit {
    display: block;
    margin-top: 10px;
    color: var(--bw-muted);
    font-size: 13px;
    line-height: 1.4;
    text-align: start;
}

body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image + h2,
body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image + h3 {
    margin-top: 48px;
}

/* testimonials linked to the article, then the contact form: the same width logic as the page */
body.bw-ed.bw-ed--article .bw-ed-article-quotes {
    padding: 72px 0 80px;
}

@media (max-width: 767.98px) {
    body.bw-ed.bw-ed--article .bw-ed-hero {
        padding-bottom: 40px;
    }

    body.bw-ed.bw-ed--article .bw-ed-article-sec {
        padding: 40px 0 64px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose--article {
        font-size: 18px;
        line-height: 1.75;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose p,
    body.bw-ed.bw-ed--article .bw-ed-prose ul,
    body.bw-ed.bw-ed--article .bw-ed-prose ol,
    body.bw-ed.bw-ed--article .bw-ed-prose table,
    body.bw-ed.bw-ed--article .bw-ed-prose blockquote,
    body.bw-ed.bw-ed--article .bw-ed-prose > div {
        margin-bottom: 18px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose--article > p:first-child,
    body.bw-ed.bw-ed--article .bw-ed-prose--article > .bw-ed-figure--lead + p {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 1.65;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose h2 {
        margin: 40px 0 12px;
        font-size: 26px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose h3,
    body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-lh {
        margin: 30px 0 10px;
        font-size: 21px !important;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-lh--lead {
        margin: 22px 0 8px;
        font-size: 19px !important;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .sub-head-1 {
        margin: 36px 0 16px;
        font-size: 24px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .unit {
        margin-bottom: 24px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .unit-body > span:first-child {
        font-size: 20px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose li {
        margin-bottom: 8px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose ul.bw-ed-list-check > li {
        padding-inline-start: 32px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-list-num > li {
        padding-inline-start: 44px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure {
        margin: 28px auto;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure img {
        max-width: 100%;
        border-radius: 14px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-ed-figure--lead {
        margin-bottom: 28px;
    }

    body.bw-ed.bw-ed--article .bw-ed-article-quotes {
        padding: 56px 0 64px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image {
        margin: 30px 0 34px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image img {
        border-radius: 12px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image__credit {
        margin-top: 8px;
        font-size: 12px;
    }

    body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image + h2,
    body.bw-ed.bw-ed--article .bw-ed-prose .bw-article-image + h3 {
        margin-top: 34px;
    }
}

/* ---------- 6. Simple pages (terms, privacy, accessibility): a centred reading column, no sidebar ---------- */

body.bw-ed .bw-ed-page-body {
    padding: 64px 0 104px;
}

body.bw-ed .bw-ed-prose--page {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

body.bw-ed .bw-ed-prose--page h2:first-child,
body.bw-ed .bw-ed-prose--page h3:first-child {
    margin-top: 0;
}

/* information pages: a slightly smaller heading scale, same rhythm for every one of them */
body.bw-ed .bw-ed-prose--page h2 {
    font-size: 26px;
}

body.bw-ed .bw-ed-prose--page .bw-ed-lh {
    margin: 1.8em 0 .5em;
    font-size: 22px !important;
}

body.bw-ed .bw-ed-prose--page .bw-ed-lh--lead {
    margin: 1.3em 0 .45em;
    font-size: 18.5px !important;
}

body.bw-ed .bw-ed-prose--page p,
body.bw-ed .bw-ed-prose--page ul,
body.bw-ed .bw-ed-prose--page ol {
    margin-bottom: 1em;
}

body.bw-ed .bw-ed-prose--page li {
    margin-bottom: .35em;
}

/* ---------- 7. Testimonials page: masonry of interviews and CMS quotes ---------- */

body.bw-ed .bw-ed-testi-wall {
    padding: 80px 0 104px;
    background: var(--ed-soft);
}

body.bw-ed .bw-ed-wall-title {
    margin-bottom: 36px;
}

/* Masonry = CSS columns: equal columns (3 / 2 / 1), each card the full column width and as tall as its content, no row
   tracks (RebrandEditorial.TestimonialsMasonry). js/rebrand-testimonials.js then moves the cards into fixed columns
   (.is-frozen) exactly as the browser balanced them, so expanding a quote never moves a card to another column.
   --bw-masonry-cols tells the script the column count of the current breakpoint. */
body.bw-ed .bw-ed-masonry {
    --bw-masonry-cols: 3;
    column-count: 3;
    column-gap: 24px;
}

body.bw-ed .bw-ed-masonry.is-frozen {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    column-count: auto;
}

body.bw-ed .bw-ed-masonry__col {
    flex: 1 1 0;
    min-width: 0;
}

body.bw-ed .bw-ed-masonry__item {
    display: block;
    width: 100%;
    margin: 0 0 24px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

/* Interviews: the homepage video card with a compact poster (cover, faces kept in the upper part of the frame); the
   player (js/home-premium.js modal) plays the video in its full original format */
body.bw-ed .bw-ed-masonry .bw-home-tv {
    aspect-ratio: 15 / 21;
    max-height: 520px;
    border-radius: var(--ed-radius);
    box-shadow: 0 22px 44px -32px rgba(28, 43, 65, .55);
}

body.bw-ed .bw-ed-masonry .bw-home-tv img {
    object-fit: cover;
    object-position: 50% 20%;
}

body.bw-ed .bw-ed-masonry .bw-home-tv:hover {
    transform: none;
}

body.bw-ed .bw-ed-masonry .bw-home-tv-play {
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
}

body.bw-ed .bw-ed-masonry .bw-home-tv-play svg {
    width: 24px;
    height: 24px;
}

/* Quote card: one size, padding and type for every testimonial */
body.bw-ed .bw-ed-tcard {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 30px 30px 26px;
    color: var(--ed-text);
    background: #fff;
    border: 1px solid var(--ed-card-line);
    border-radius: var(--ed-radius);
    box-shadow: var(--ed-shadow);
    transition: box-shadow .3s ease, border-color .3s ease;
}

/* inside the card (top: 0): at top: -1px the accent of a card opening a CSS column was painted under the previous
   column, the stray line at the end of the masonry */
body.bw-ed .bw-ed-tcard::before {
    content: "";
    position: absolute;
    top: 0;
    right: 30px;
    width: 44px;
    height: 3px;
    background: var(--bw-blue);
    border-radius: 0 0 3px 3px;
}

body.bw-ed .bw-ed-tcard:hover {
    border-color: #c6dcf3;
    box-shadow: var(--ed-shadow-hover);
}

body.bw-ed .bw-ed-tcard__mark {
    width: 30px;
    height: 24px;
    fill: var(--bw-blue);
    opacity: .9;
}

body.bw-ed .bw-ed-tcard__quote {
    position: relative;
    margin: 16px 0 0;
    padding: 0;
    border: 0;
    font-style: normal;
}

/* One type size for every quote, whatever its length */
body.bw-ed .bw-ed-tcard__quote p {
    margin: 0 0 .8em;
    color: var(--bw-ink);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

body.bw-ed .bw-ed-tcard__quote p:last-child {
    margin-bottom: 0;
}

/* Long quote: about 6 lines (height measured by the script from the real line boxes), expanded to its measured full
   height and back */
body.bw-ed .bw-ed-tcard__quote.is-clamped {
    overflow: hidden;
}

body.bw-ed .bw-ed-tcard__quote.is-animating {
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1);
}

body.bw-ed .bw-ed-tcard__quote.is-clamped::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.2em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    transition: opacity .3s ease;
}

body.bw-ed .bw-ed-tcard__quote.is-open::after {
    opacity: 0;
}

body.bw-ed .bw-ed-tcard__toggle {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin: 12px 0 0;
    padding: 4px 0;
    color: var(--bw-blue);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    background: none;
    border: 0;
    cursor: pointer;
}

body.bw-ed .bw-ed-tcard__toggle[hidden] {
    display: none;
}

body.bw-ed .bw-ed-tcard__toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s ease;
}

body.bw-ed .bw-ed-tcard__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

body.bw-ed .bw-ed-tcard__toggle:hover span,
body.bw-ed .bw-ed-tcard__toggle:focus-visible span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.bw-ed .bw-ed-tcard__toggle:focus-visible {
    outline: 3px solid var(--bw-green);
    outline-offset: 3px;
    border-radius: 4px;
}

body.bw-ed .bw-ed-tcard__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ed-line);
}

body.bw-ed .bw-ed-tcard__person img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--ed-card-line);
}

body.bw-ed .bw-ed-tcard__person strong {
    display: block;
    color: var(--bw-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

body.bw-ed .bw-ed-tcard__person span span {
    display: block;
    margin-top: 2px;
    color: var(--bw-muted);
    font-size: 15px;
    line-height: 1.4;
}

/* One customer in full (/he/testimonials/{id}/{name}) */
body.bw-ed .bw-ed-featured-quote-sec {
    padding-bottom: 24px;
}

body.bw-ed .bw-ed-featured-quote {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 56px 40px;
    background: var(--ed-soft);
    border: 1px solid var(--ed-card-line);
    border-radius: 28px;
}

body.bw-ed .bw-ed-featured-quote__mark {
    width: 40px;
    height: 32px;
    fill: var(--bw-blue);
}

body.bw-ed .bw-ed-featured-quote__text {
    margin: 20px 0 0;
    padding: 0;
    color: var(--bw-ink);
    font-size: 21px;
    font-style: normal;
    line-height: 1.75;
    border: 0;
}

body.bw-ed .bw-ed-featured-quote__text p {
    margin: 0 0 1em;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

body.bw-ed .bw-ed-featured-quote__text p:last-child {
    margin-bottom: 0;
}

body.bw-ed .bw-ed-featured-quote__person {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--ed-card-line);
}

body.bw-ed .bw-ed-featured-quote__person img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

body.bw-ed .bw-ed-featured-quote__person strong {
    display: block;
    color: var(--bw-ink);
    font-size: 19px;
    font-weight: 700;
}

body.bw-ed .bw-ed-featured-quote__person span span {
    display: block;
    color: var(--bw-muted);
    font-size: 16px;
}

/* ---------- 8. Contact page (/he/contact): the page's own form (right) and the CMS contact details (left) ---------- */

/* Hero: the shared compact hero with a few static wave lines */
body.bw-ed--contact .bw-ed-hero {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='260' viewBox='0 0 1440 260' fill='none' stroke='%239ccaf0' stroke-width='1'%3E%3Cpath stroke-opacity='.16' d='M0 150Q180 100 360 150T720 150T1080 150T1440 150'/%3E%3Cpath stroke-opacity='.11' d='M0 176Q180 226 360 176T720 176T1080 176T1440 176'/%3E%3Cpath stroke-opacity='.07' d='M0 204Q180 160 360 204T720 204T1080 204T1440 204'/%3E%3C/svg%3E") center bottom / 1440px 260px repeat-x,
        var(--bw-navy-bg);
}

/* no breadcrumbs and no line under the heading on Contact (the shared hero of the other pages is unchanged) */
body.bw-ed--contact .bw-ed-crumbs,
body.bw-ed--contact .bw-ed-hero__title::after {
    display: none;
}

body.bw-ed--contact .bw-ed-hero__title {
    margin-top: 0;
}

body.bw-ed .bw-cf {
    position: relative;
    padding: 88px 0 104px;
    background:
        radial-gradient(36% 46% at 8% 18%, rgba(156, 202, 240, .2), transparent 72%),
        linear-gradient(180deg, #f2f7fd 0%, #f7fbff 58%, #fff 100%);
}

body.bw-ed .bw-cf__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 80px;
}

/* ----- Form: floating labels inside the fields, icons on the start side (RTL: right) ----- */
body.bw-ed .bw-cf-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* every field on its own line, full width; the space under each field holds its error message (fixed height, so a
   message never moves the form) */
body.bw-ed .bw-cf-row {
    display: block;
}

body.bw-ed .bw-cf-field {
    position: relative;
    margin: 0;
}

body.bw-ed .bw-cf-field--area {
    margin-bottom: 28px;
}

body.bw-ed .bw-cf-input {
    display: block;
    width: 100%;
    height: 62px;
    margin: 0;
    padding: 25px 56px 9px 24px;
    padding-block: 25px 9px;
    padding-inline: 56px 24px;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 17.5px;
    line-height: 1.4;
    background: #fff;
    border: 1px solid #d4e1ee;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(28, 43, 65, .04);
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

body.bw-ed textarea.bw-cf-input {
    height: auto;
    min-height: 150px;
    padding-top: 30px;
    line-height: 1.6;
    border-radius: 28px;
    overflow-y: auto;
    resize: none;
}

body.bw-ed .bw-cf-input:hover {
    border-color: #b8cee5;
}

body.bw-ed .bw-cf-input:focus {
    border-color: var(--bw-blue);
    box-shadow: 0 0 0 4px rgba(11, 106, 161, .12);
}

body.bw-ed .bw-cf-field__icon {
    position: absolute;
    top: 20px;
    inset-inline-start: 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #8199b2;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    transition: stroke .25s ease;
}

body.bw-ed .bw-cf-field:focus-within .bw-cf-field__icon {
    stroke: var(--bw-blue);
}

body.bw-ed .bw-cf-label {
    position: absolute;
    top: 19px;
    inset-inline-start: 56px;
    margin: 0;
    color: #6b7f95;
    font-size: 17.5px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
    pointer-events: none;
    transform-origin: right top;
    transition: transform .2s ease, color .2s ease;
}

/* raised: on focus, with a value, or autofilled (.is-filled from the script) */
body.bw-ed .bw-cf-input:focus + .bw-cf-label,
body.bw-ed .bw-cf-input:not(:placeholder-shown) + .bw-cf-label,
body.bw-ed .bw-cf-field.is-filled .bw-cf-label {
    transform: translateY(-12px) scale(.76);
}

body.bw-ed .bw-cf-input:focus + .bw-cf-label {
    color: var(--bw-blue);
}

/* invalid field: red line and label, the message under the field */
body.bw-ed .bw-cf-field.is-invalid .bw-cf-input {
    border-color: #d0524d;
}

body.bw-ed .bw-cf-field.is-invalid .bw-cf-input:focus {
    box-shadow: 0 0 0 4px rgba(208, 82, 77, .12);
}

body.bw-ed .bw-cf-field.is-invalid .bw-cf-label,
body.bw-ed .bw-cf-field.is-invalid .bw-cf-field__icon {
    color: #b8423d;
    stroke: #b8423d;
}

/* compact message line right under its field (3px), always reserved (16px), then 9px before the next field; one
   line, aligned with the text of the field */
body.bw-ed .bw-cf-error {
    display: block;
    height: 16px;
    margin: 3px 0 9px;
    padding-inline-start: 24px;
    overflow: hidden;
    color: #b8423d;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* server message (stale page, a field the server refused) */
body.bw-ed .bw-cf-alert {
    margin: 0 0 22px;
    padding: 13px 18px;
    color: #9c302b;
    font-size: 16.5px;
    background: #fdf2f1;
    border: 1px solid #f2cdca;
    border-radius: 12px;
}

body.bw-ed .bw-cf-alert:focus {
    outline: none;
}

body.bw-ed .bw-cf-actions {
    margin-top: 0;
}

body.bw-ed .bw-cf-submit {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 0 38px;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 58px;
    white-space: normal;
    background: var(--bw-blue);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 16px 30px -20px rgba(11, 106, 161, .8);
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

body.bw-ed .bw-cf-submit:hover {
    background: #0a5c8c;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px -20px rgba(11, 106, 161, .9);
}

body.bw-ed .bw-cf-submit:focus-visible {
    outline: 3px solid var(--bw-green);
    outline-offset: 3px;
}

body.bw-ed .bw-cf-form.is-sending .bw-cf-submit {
    cursor: progress;
    opacity: .72;
    transform: none;
}

/* thanks */
body.bw-ed .bw-cf-done {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 34px 0;
    outline: none;
}

body.bw-ed .bw-cf-done__icon {
    display: inline-flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: rgba(1, 197, 1, .1);
    border-radius: 50%;
}

body.bw-ed .bw-cf-done__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #1a9e2d;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.bw-ed .bw-cf-done__text {
    margin: 0;
    color: var(--bw-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

body.bw-ed .bw-cf-done__frame {
    position: absolute;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

/* ----- Contact details: a quiet column beside the form, separated by a hairline ----- */
body.bw-ed .bw-cf__info {
    padding-inline-start: 56px;
    border-inline-start: 1px solid #dbe6f1;
}

body.bw-ed .bw-cf-info__intro {
    margin: 0 0 30px;
    color: var(--bw-ink);
    font-size: 20px;
    line-height: 1.65;
}

body.bw-ed .bw-cf-info__intro a,
body.bw-ed .bw-cf-info__intro a:visited {
    color: var(--bw-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.bw-ed .bw-cf-info__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.bw-ed .bw-cf-info__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e3ecf5;
}

body.bw-ed .bw-cf-info__item:first-child {
    padding-top: 0;
}

body.bw-ed .bw-cf-info__item:last-child {
    border-bottom: 0;
}

body.bw-ed .bw-cf-info__icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--bw-blue);
    font-size: 21px;
    background: #fff;
    border: 1px solid #d4e1ee;
    border-radius: 50%;
}

body.bw-ed .bw-cf-info__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.bw-ed .bw-cf-info__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.bw-ed .bw-cf-info__label {
    color: #6b7f95;
    font-size: 14.5px;
    line-height: 1.3;
}

body.bw-ed .bw-cf-info__value {
    color: var(--bw-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.bw-ed .bw-cf-info__value a,
body.bw-ed .bw-cf-info__value a:visited {
    color: inherit;
    text-decoration: none;
    unicode-bidi: isolate;
    transition: color .2s ease;
}

body.bw-ed .bw-cf-info__value a:hover,
body.bw-ed .bw-cf-info__value a:focus {
    color: var(--bw-blue);
}

/* the CMS area as is, when it cannot be parsed */
body.bw-ed .bw-cf__info .list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- 9. FAQ page (/he/faq): the Home FAQ section under the shared hero ---------- */

/* The hero already holds the H1 "שאלות ותשובות"; the section heading would repeat it */
body.bw-ed--faq .bw-home-faq-premium .bw-home-faq-head .bw-home-h2 {
    display: none;
}

body.bw-ed--faq .bw-home-faq-premium {
    padding-top: 88px;
}

/* ---------- 10. About (CMS content of the final document) ---------- */

body.bw-ed .bw-ab-sec {
    position: relative;
    padding: 112px 0;
    background: #fff;
}

body.bw-ed .bw-ab-sec--soft {
    background: var(--ed-soft);
}

body.bw-ed .bw-ab-h2 {
    margin: 0 0 28px;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-wrap: balance;
}

body.bw-ed .bw-ab-h2 em {
    color: var(--bw-blue);
    font-style: normal;
}

body.bw-ed .bw-ab-copy p {
    margin: 0 0 1.1em;
    color: var(--ed-text);
    font-size: 19px;
    line-height: 1.8;
}

body.bw-ed .bw-ab-copy p:last-child {
    margin-bottom: 0;
}

body.bw-ed .bw-ab-copy strong {
    color: var(--bw-ink);
    font-weight: 700;
}

body.bw-ed .bw-ab-copy a,
body.bw-ed .bw-ab-copy a:visited {
    color: var(--bw-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.bw-ed .bw-ab-hello {
    color: var(--bw-ink) !important;
    font-size: 23px !important;
    font-weight: 700;
}

/* Story: text (right) and the presentation photo (left) in two equal columns, centred vertically; the photo keeps its
   natural 4:3 proportion and is not cropped */
body.bw-ed .bw-ab-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

body.bw-ed .bw-ab-story .bw-ab-copy p {
    margin-bottom: .7em;
    font-size: 19px;
    line-height: 1.7;
}

body.bw-ed .bw-ab-story .bw-ab-copy p:last-child {
    margin-bottom: 0;
}

/* one line on a wide desktop: slightly tighter letter-spacing, same size (wraps normally on narrow screens) */
body.bw-ed .bw-ab-story .bw-ab-h2 {
    margin-bottom: 22px;
    letter-spacing: -.7px;
}

body.bw-ed .bw-ab-photo {
    margin: 0;
}

body.bw-ed .bw-ab-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 34px 64px -48px rgba(28, 43, 65, .55);
}

/* What we do: heading -> the whole text -> the homepage systems component (Controls/Content/HomeProjects.ascx, placed
   by viewStaticPage at the CMS placeholder). Its cards, texts, carousel and script are the homepage's; here only the
   section frame is fitted into this section: no own padding / background, the homepage heading of that component is
   not shown (this section has its own), and its arrows sit beside the last line of the text, as next to the heading
   on the homepage. */
body.bw-ed .bw-ab-what {
    padding-bottom: 96px;
    overflow: hidden;
}

body.bw-ed .bw-ab-what__intro .bw-ab-h2 {
    margin: 0 0 26px;
}

/* the whole container width, right-aligned (RTL), compact paragraph spacing */
body.bw-ed .bw-ab-what__copy p {
    margin-bottom: 0.3em;
    line-height: 1.75;
}

/* Under the cards, one line as the homepage carousel foot: the progress line on the right, the component's own arrows
   on the left where the homepage CTA stands (same buttons and handlers of js/home-premium.js; the CTA is not shown
   here). Grid: row 1 = the carousel, row 2 = the head container (arrows) and the foot container (progress) in one cell. */
body.bw-ed--about .bw-ab-what .bw-home-systems-premium {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 46px 0 0;
    background: none;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-premium > * {
    grid-column: 1;
    grid-row: 1;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-premium > .container {
    grid-row: 2;
    align-self: center;
}

/* the arrows above the (transparent) foot row, so they stay clickable */
body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-sec-head {
    position: relative;
    z-index: 1;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-bg,
body.bw-ed--about .bw-ab-what .bw-home-sec-head-copy,
body.bw-ed--about .bw-ab-what .bw-home-carousel-foot [data-bw-explore] {
    display: none;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-sec-head--split {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    pointer-events: none;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-carousel-nav {
    align-self: center;
    margin-top: 0;
    pointer-events: auto;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-carousel-foot {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
}

@media (max-width: 767.98px) {
    body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-carousel-foot {
        min-height: 46px;
    }

    /* the progress line leaves room for the two 46px arrows on the left */
    body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-carousel-progress {
        flex: 0 1 auto;
        width: calc(100% - 132px);
    }
}

/* The homepage (Classic Review) card rules of css/home-classic.css and the soft carousel edges of
   css/home-classic-review.css, same values, for this component only (those files are not loaded here: they restyle
   the whole homepage) */
body.bw-ed--about .bw-ab-what .bw-home-sys-visual {
    align-items: flex-end;
    height: 180px;
    background: none;
}

body.bw-ed--about .bw-ab-what .bw-home-sys-body {
    text-align: center;
}

body.bw-ed--about .bw-ab-what .bw-home-sys-logo {
    margin: 0 auto;
}

body.bw-ed--about .bw-ab-what .bw-home-sys-cta {
    margin-right: auto;
    margin-left: auto;
}

body.bw-ed--about .bw-ab-what .bw-home-systems-premium .bw-home-carousel-track {
    --rv-fade: clamp(16px, calc(var(--bw-edge) * .6), 120px);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--rv-fade), #000 calc(100% - var(--rv-fade)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--rv-fade), #000 calc(100% - var(--rv-fade)), transparent 100%);
}

/* What drives us: navy section, everything centred - the heading, the full text, then the five values in one row.
   Background: a faint blue glow and two layers of thin wave lines (inline SVG) drifting very slowly in opposite
   directions; static on phones and with reduced motion. */
body.bw-ed .bw-ab-drive {
    position: relative;
    isolation: isolate;
    padding: 112px 0 120px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(48% 60% at 50% 0%, rgba(156, 202, 240, .13), transparent 72%),
        var(--bw-navy-bg);
}

body.bw-ed .bw-ab-drive::before,
body.bw-ed .bw-ab-drive::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    width: calc(100% + 1440px);
    height: 420px;
    background-repeat: repeat-x;
    background-size: 1440px 420px;
    pointer-events: none;
    will-change: transform;
}

body.bw-ed .bw-ab-drive::before {
    bottom: -40px;
    opacity: .55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='420' viewBox='0 0 1440 420' fill='none' stroke='%239ccaf0' stroke-width='1'%3E%3Cpath stroke-opacity='.3' d='M0 280Q180 220 360 280T720 280T1080 280T1440 280'/%3E%3Cpath stroke-opacity='.22' d='M0 306Q180 366 360 306T720 306T1080 306T1440 306'/%3E%3Cpath stroke-opacity='.16' d='M0 334Q180 280 360 334T720 334T1080 334T1440 334'/%3E%3Cpath stroke-opacity='.1' d='M0 362Q180 418 360 362T720 362T1080 362T1440 362'/%3E%3C/svg%3E");
    animation: bwAbWaves 110s linear infinite;
}

body.bw-ed .bw-ab-drive::after {
    top: -150px;
    opacity: .4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='420' viewBox='0 0 1440 420' fill='none' stroke='%239ccaf0' stroke-width='1'%3E%3Cpath stroke-opacity='.26' d='M0 210Q180 260 360 210T720 210T1080 210T1440 210'/%3E%3Cpath stroke-opacity='.16' d='M0 238Q180 186 360 238T720 238T1080 238T1440 238'/%3E%3Cpath stroke-opacity='.1' d='M0 266Q180 316 360 266T720 266T1080 266T1440 266'/%3E%3C/svg%3E");
    animation: bwAbWaves 150s linear infinite reverse;
}

@keyframes bwAbWaves {
    from { transform: translateX(0); }
    to { transform: translateX(-1440px); }
}

body.bw-ed .bw-ab-drive > .container {
    text-align: center;
}

body.bw-ed .bw-ab-drive__title {
    margin: 0 auto 30px;
    color: #fff;
    font-size: 56px;
    line-height: 1.1;
}

body.bw-ed .bw-ab-drive__title em {
    color: var(--bw-blue-300);
}

body.bw-ed .bw-ab-drive__text {
    /* max-width: 860px; */
    margin: 0 auto;
}

body.bw-ed .bw-ab-drive__text p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 20px;
    line-height: 1.75;
}

body.bw-ed .bw-ab-drive__text p:last-child {
    margin-bottom: 0;
}

body.bw-ed .bw-ab-drive__text strong {
    color: #fff;
    font-weight: 700;
}
.bw-ab-what__intro{
    text-align:center;
}
body.bw-ed .bw-ab-drive__text .bw-ab-drive__lead {
    margin-bottom: .8em;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
    /* text-wrap: balance; */
}

body.bw-ed .bw-ab-drive__text .bw-ab-drive__close {
    margin-top: 1em;
    color: #fff;
    font-size: 20px;
    line-height: 1.65;
}

/* The five values in one row: icon in a thin circle, label under it; no cards or fills */
body.bw-ed .bw-ab-values {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 56px;
    margin: 64px 0 0;
    padding: 0;
    list-style: none;
}

body.bw-ed .bw-ab-values li {
    display: flex;
    flex: 0 0 150px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

body.bw-ed .bw-ab-values__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    color: var(--bw-blue-300);
    border: 1px solid rgba(156, 202, 240, .38);
    border-radius: 50%;
}

body.bw-ed .bw-ab-values__icon svg {
    width: 40px;
    height: 40px;
}

/* The numbers speak: the counters of the landing pages (/org/ai "section-animated-counters") */
body.bw-ed .bw-ab-numbers {
    padding: 104px 0 112px;
    background: var(--bw-sky);
}

body.bw-ed .bw-ab-numbers .bw-ab-h2 {
    margin-bottom: 52px;
    text-align: center;
}

/* the heading of this section in one colour (the CMS <em> stays, unstyled here) */
body.bw-ed .bw-ab-numbers .bw-ab-h2 em {
    color: inherit;
}

/* About hero without its button (viewStaticPage): a little more air under the lead; no line under the heading */
body.bw-ed--about .bw-ed-hero {
    padding-bottom: 92px;
}

body.bw-ed--about .bw-ed-hero__title::after {
    display: none;
}

/* no breadcrumbs on About (the shared breadcrumbs of the other pages are unchanged) */
body.bw-ed--about .bw-ed-crumbs {
    display: none;
}

body.bw-ed--about .bw-ed-hero__title {
    margin-top: 0;
}

body.bw-ed .bw-ab-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.bw-ed .bw-ab-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 30px 16px 28px;
    text-align: center;
    background: rgba(255, 255, 255, .8);
    border-radius: 20px;
}

body.bw-ed .bw-ab-stat {
    display: inline-flex;
    align-items: flex-start;
    color: var(--bw-navy-700);
    font-family: Arial, sans-serif;
    font-size: 96px;
    font-weight: 600;
    line-height: 1;
    direction: ltr;
    unicode-bidi: isolate;
}

body.bw-ed .bw-ab-stat__suffix {
    margin: 6px 2px 0;
    color: #01c501;
    font-size: 36px;
}

body.bw-ed .bw-ab-stat__label {
    color: #444;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

/* Odometer (the landing page's rolling digits, /ai/js/odometer.min.js), its minimal theme */
body.bw-ed .bw-ab-stat .odometer,
body.bw-ed .bw-ab-stat .odometer-digit {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

body.bw-ed .bw-ab-stat .odometer-inside {
    white-space: nowrap;
}

body.bw-ed .bw-ab-stat .odometer-digit .odometer-digit-spacer {
    display: inline-block;
    visibility: hidden;
}

body.bw-ed .bw-ab-stat .odometer-digit .odometer-digit-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow: hidden;
    text-align: left;
}

body.bw-ed .bw-ab-stat .odometer-digit .odometer-ribbon,
body.bw-ed .bw-ab-stat .odometer-digit .odometer-ribbon-inner,
body.bw-ed .bw-ab-stat .odometer-digit .odometer-value {
    display: block;
}

body.bw-ed .bw-ab-stat .odometer-digit .odometer-value.odometer-last-value {
    position: absolute;
}

body.bw-ed .bw-ab-stat .odometer.odometer-animating-up .odometer-ribbon-inner {
    transition: transform 2s;
}

body.bw-ed .bw-ab-stat .odometer.odometer-animating-up.odometer-animating .odometer-ribbon-inner {
    transform: translateY(-100%);
}

/* About testimonials (the Bwize mosaic): the link to the testimonials page at the end of the progress line */
body.bw-ed .bw-ed-testi .bw-home-carousel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ---------- 11. Responsive ---------- */

@media (max-width: 1199.98px) {
    body.bw-ed .bw-ed-article {
        grid-template-columns: minmax(0, 760px);
    }

    body.bw-ed .bw-ed-toc {
        display: none;
    }

    body.bw-ed .bw-ed-hero__title {
        font-size: 48px;
    }

    body.bw-ed .bw-ab-split {
        gap: 48px;
    }

    body.bw-ed .bw-ab-drive__title {
        font-size: 50px;
    }

    body.bw-ed .bw-ab-values {
        gap: 40px;
    }

    body.bw-ed .bw-ab-values li {
        font-size: 18px;
    }

    body.bw-ed .bw-ab-stat {
        font-size: 80px;
    }
}

@media (max-width: 991.98px) {
    body.bw-ed .bw-ed-hero {
        min-height: 0;
        padding: 128px 0 64px;
    }

    body.bw-ed--article .bw-ed-hero,
    body.bw-ed--page .bw-ed-hero {
        padding: 112px 0 44px;
    }

    body.bw-ed--article .bw-ed-hero__title,
    body.bw-ed--page .bw-ed-hero__title {
        font-size: 38px;
    }

    /* contact: one column (form, then details), the hairline above the details */
    body.bw-ed .bw-cf__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    body.bw-ed .bw-cf__info {
        padding: 40px 0 0;
        border-inline-start: 0;
        border-top: 1px solid #dbe6f1;
    }

    body.bw-ed .bw-ed-hero__title {
        font-size: 42px;
    }

    body.bw-ed .bw-ed-hero__lead {
        font-size: 19px;
    }

    body.bw-ed .bw-ed-section,
    body.bw-ed .bw-ed-related {
        padding: 72px 0 80px;
    }

    body.bw-ed .bw-ed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    body.bw-ed .bw-ed-h2 {
        font-size: 34px;
    }

    body.bw-ed .bw-ed-masonry {
        --bw-masonry-cols: 2;
        column-count: 2;
        column-gap: 20px;
    }

    body.bw-ed .bw-ed-masonry.is-frozen {
        gap: 20px;
    }

    body.bw-ed .bw-ed-masonry__item {
        margin-bottom: 20px;
    }

    body.bw-ed .bw-ab-sec {
        padding: 84px 0;
    }

    body.bw-ed .bw-ab-h2 {
        font-size: 38px;
    }

    /* one column: text, then the photo; heading -> text -> values */
    body.bw-ed .bw-ab-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    body.bw-ed .bw-ab-what {
        padding-bottom: 72px;
    }

    body.bw-ed .bw-ab-drive {
        padding: 88px 0 80px;
    }

    body.bw-ed .bw-ab-drive__title {
        margin-bottom: 26px;
        font-size: 44px;
    }

    /* values: 3 + 2, centred */
    body.bw-ed .bw-ab-values {
        flex-wrap: wrap;
        gap: 36px 24px;
        margin-top: 52px;
    }

    body.bw-ed .bw-ab-values li {
        flex: 0 0 calc((100% - 48px) / 3);
    }

    body.bw-ed .bw-ab-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.bw-ed .bw-ab-numbers {
        padding: 84px 0 92px;
    }
}

@media (max-width: 767.98px) {
    body.bw-ed .bw-ed-hero {
        padding: 104px 0 52px;
    }

    body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li {
        font-size: 14px;
    }

    body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path a {
        max-width: 180px;
    }

    body.bw-ed .bw-ed-crumbs .breadcrumbs-custom-path > li + li::before {
        margin: 0 9px;
    }

    body.bw-ed .bw-ed-hero__title {
        margin-top: 16px;
        font-size: 34px;
        line-height: 1.2;
    }

    body.bw-ed .bw-ed-hero__title::after {
        width: 52px;
        margin-top: 18px;
    }

    body.bw-ed .bw-ed-hero__lead {
        font-size: 18px;
    }

    body.bw-ed .bw-ed-hero__cta {
        margin-top: 26px;
    }

    body.bw-ed .bw-ed-section,
    body.bw-ed .bw-ed-related,
    body.bw-ed .bw-ed-page-body,
    body.bw-ed .bw-ed-testi-wall,
    body.bw-ed .bw-ed-article-sec {
        padding: 56px 0 64px;
    }

    body.bw-ed .bw-ed-knowledge {
        padding-top: 40px;
    }

    body.bw-ed .bw-ed-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    body.bw-ed .bw-ed-h2 {
        font-size: 29px;
    }

    body.bw-ed .bw-ed-sec-head {
        margin-bottom: 28px;
    }

    body.bw-ed .bw-ed-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    body.bw-ed .bw-ed-search {
        flex-basis: auto;
        margin: 0;
    }

    body.bw-ed .bw-ed-chips {
        flex-wrap: nowrap;
        margin: 0 -16px;
        padding: 0 16px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.bw-ed .bw-ed-chips li {
        flex-shrink: 0;
    }

    body.bw-ed .bw-ed-prose {
        font-size: 18px;
        line-height: 1.8;
    }

    body.bw-ed .bw-ed-prose--article > p:first-child {
        font-size: 19px;
    }

    body.bw-ed .bw-ed-prose h2 {
        font-size: 25px;
    }

    body.bw-ed .bw-ed-prose h3,
    body.bw-ed .bw-ed-prose strong[style*="font-size"],
    body.bw-ed .bw-ed-prose b[style*="font-size"],
    body.bw-ed .bw-ed-prose strong > [style*="font-size"],
    body.bw-ed .bw-ed-prose [style*="font-size"] > strong,
    body.bw-ed .bw-ed-prose .bw-ed-lh {
        font-size: 21px !important;
    }

    body.bw-ed .bw-ed-prose .bw-ed-lh--lead,
    body.bw-ed .bw-ed-prose--page .bw-ed-lh--lead {
        font-size: 18px !important;
    }

    body.bw-ed .bw-ed-prose--page .bw-ed-lh {
        font-size: 20px !important;
    }

    body.bw-ed .bw-ed-prose--page h2 {
        font-size: 23px;
    }

    body.bw-ed--article .bw-ed-hero,
    body.bw-ed--page .bw-ed-hero {
        padding: 100px 0 36px;
    }

    body.bw-ed--article .bw-ed-hero__title,
    body.bw-ed--page .bw-ed-hero__title {
        margin-top: 12px;
        font-size: 30px;
    }

    body.bw-ed--article .bw-ed-hero__lead {
        font-size: 17px;
    }

    body.bw-ed .bw-ed-article-sec {
        padding-top: 40px;
    }

    body.bw-ed .bw-ed-prose .bw-ed-figure {
        margin: 28px auto;
    }

    body.bw-ed .bw-ed-prose .bw-ed-figure img {
        max-width: min(100%, 320px);
        border-radius: 12px;
    }

    body.bw-ed .bw-ed-prose .bw-ed-figure--lead {
        margin-bottom: 26px;
    }

    body.bw-ed .bw-ed-prose .bw-ed-figure--lead img {
        border-radius: 14px;
    }

    body.bw-ed .bw-ed-prose--article > .bw-ed-figure--lead + p {
        font-size: 19px;
    }

    body.bw-ed .bw-ed-prose ul.bw-ed-list-check > li {
        padding-inline-start: 32px;
    }

    body.bw-ed .bw-ed-prose ul.bw-ed-list-check > li::before {
        top: .38em;
        width: 20px;
        height: 20px;
        background-size: 12px;
    }

    body.bw-ed .bw-ed-prose .bw-ed-list-num > li {
        padding-inline-start: 44px;
    }

    body.bw-ed .bw-ed-prose .bw-ed-list-num > li::before {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    body.bw-ed .bw-ed-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.bw-ed .bw-ed-masonry {
        --bw-masonry-cols: 1;
        column-count: 1;
    }

    body.bw-ed .bw-ed-masonry__item {
        margin-bottom: 18px;
    }

    body.bw-ed .bw-ed-tcard {
        padding: 26px 22px 22px;
    }

    body.bw-ed .bw-ed-tcard::before {
        right: 22px;
    }

    body.bw-ed .bw-ed-featured-quote {
        padding: 32px 24px 28px;
        border-radius: 22px;
    }

    body.bw-ed .bw-ed-featured-quote__text {
        font-size: 19px;
    }

    /* contact: the form first, then the details; fields one under the other */
    body.bw-ed .bw-cf {
        padding: 48px 0 64px;
    }

    body.bw-ed .bw-cf-input,
    body.bw-ed .bw-cf-label {
        font-size: 17px;
    }

    body.bw-ed .bw-cf-submit {
        width: 100%;
        padding: 12px 24px;
        line-height: 1.35;
    }

    body.bw-ed .bw-cf__info {
        padding-top: 36px;
    }

    body.bw-ed .bw-cf-info__intro {
        font-size: 18px;
    }

    body.bw-ed .bw-cf-info__value {
        font-size: 18px;
    }

    body.bw-ed .bw-cf-done__text {
        font-size: 21px;
    }

    body.bw-ed--faq .bw-home-faq-premium {
        padding-top: 56px;
    }

    body.bw-ed .bw-ab-sec {
        padding: 64px 0;
    }

    body.bw-ed .bw-ab-h2 {
        margin-bottom: 22px;
        font-size: 31px;
    }

    body.bw-ed .bw-ab-copy p {
        font-size: 18px;
    }

    body.bw-ed .bw-ab-hello {
        font-size: 20px !important;
    }

    body.bw-ed .bw-ab-photo img {
        border-radius: 20px;
    }

    body.bw-ed .bw-ab-what {
        padding-bottom: 56px;
    }

    body.bw-ed .bw-ab-story .bw-ab-copy p {
        font-size: 18px;
    }

    body.bw-ed .bw-ab-drive {
        padding: 64px 0 60px;
    }

    /* static waves on phones */
    body.bw-ed .bw-ab-drive::before,
    body.bw-ed .bw-ab-drive::after {
        animation: none;
    }

    body.bw-ed .bw-ab-drive__title {
        font-size: 34px;
        line-height: 1.15;
    }

    body.bw-ed .bw-ab-drive__text p {
        font-size: 18px;
    }

    body.bw-ed .bw-ab-drive__text .bw-ab-drive__lead {
        font-size: 21px;
    }

    body.bw-ed .bw-ab-drive__text .bw-ab-drive__close {
        font-size: 19px;
    }

    body.bw-ed .bw-ab-values {
        gap: 32px 12px;
        margin-top: 40px;
    }

    body.bw-ed .bw-ab-values li {
        flex-basis: calc((100% - 24px) / 3);
        gap: 12px;
        font-size: 16.5px;
    }

    body.bw-ed .bw-ab-values__icon {
        width: 64px;
        height: 64px;
    }

    body.bw-ed .bw-ab-values__icon svg {
        width: 30px;
        height: 30px;
    }

    body.bw-ed .bw-ab-numbers {
        padding: 64px 0 72px;
    }

    body.bw-ed .bw-ab-numbers .bw-ab-h2 {
        margin-bottom: 32px;
    }

    body.bw-ed .bw-ab-stats {
        gap: 12px;
    }

    body.bw-ed .bw-ab-stats li {
        padding: 22px 8px 20px;
    }

    body.bw-ed .bw-ab-stat {
        font-size: 56px;
    }

    body.bw-ed .bw-ab-stat__suffix {
        margin-top: 4px;
        font-size: 24px;
    }

    body.bw-ed .bw-ab-stat__label {
        font-size: 17px;
    }

    body.bw-ed .bw-ed-testi .bw-home-carousel-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- 12. Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    body.bw-ed .bw-ed-card__link,
    body.bw-ed .bw-ed-card__link::after,
    body.bw-ed .bw-ed-card__media img,
    body.bw-ed .bw-ed-gallery img,
    body.bw-ed .bw-ed-tcard__quote.is-animating,
    body.bw-ed .bw-ed-tcard__toggle svg {
        transition: none;
    }

    body.bw-ed .bw-ed-card__link:hover {
        transform: none;
    }

    body.bw-ed .bw-ab-drive::before,
    body.bw-ed .bw-ab-drive::after {
        animation: none;
    }
}
