/*
Theme Name: Salient Child Theme
Description: Custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: Alexander Dikov
Author URI:  https://www.elana.net
Template: salient
Version: 1.2
*/

/* -----------------------------------------------------------------------------
 * Merged stylesheet of the child theme.
 *
 * Holds the former `style-old.css` plus the rules from the Customizer's
 * Additional CSS (`style-customizer.css`). The Customizer rules used to load
 * after the theme's own, so wherever the two overlapped the Customizer values
 * were kept and the duplicated selectors were merged into a single rule.
 *
 * Contents:
 *   1.  Variables
 *   2.  Theme fixes
 *   3.  Typography and utility classes
 *   4.  Global layout
 *   5.  Headings
 *   6.  Buttons and CTA
 *   7.  Bar above the header
 *   8.  Header - main menu
 *   9.  Header - dropdown menus
 *   10. Header - right-hand buttons
 *   11. Header - responsive layout
 *   12. Mobile menu and off-canvas
 *   13. Component - app button
 *   14. Component - breadcrumb
 *   15. Component - tables
 *   16. Component - warnings
 *   17. Component - tabs
 *   18. Small components
 *   19. Animations
 * -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');


/* =============================================================================
 * 1. Variables
 * ========================================================================== */

:root {
    --padding-05-rem: 8px;
    --padding-15-rem: 24px;
    --Padding-1rem: 16px;
    --Web-Colors-RC: #B21C2E;
    --Web-Colors-PM: #773DBD;
    --Grayscale-G0: #FFF;
    --Gradients-Grad-RC-PM: linear-gradient(90deg, var(--Web-Colors-RC) 0%, var(--Web-Colors-PM) 100%);
    --Gradients-Grad-Light: linear-gradient(90deg, #F1ECF8 0%, #E8F5FA 100%);
    --Grayscale-G600: #453E3F;
    --Grayscale-G400: #7E7B7B;
    --Divider-Color: #DDC4FA;
}

html {
    font-size: 16px
}

html body {
    --scroll-bar-w: 0px !important;
}


/* =============================================================================
 * 2. Theme fixes
 * ========================================================================== */

#header-outer.transparent[data-permanent-transparent="false"] #top .slide-out-widget-area-toggle.mobile-icon i:before,
#header-outer.transparent[data-permanent-transparent="false"] #top .slide-out-widget-area-toggle.mobile-icon i:after {
    background-color: #453e3f !important;
}

@media only screen and (min-width: 1000px) and (max-width: 1280px) {
    body:not(.mobile) #header-outer.transparent > #top .span_9 > .slide-out-widget-area-toggle .lines-button:after,
    body:not(.mobile) #header-outer.transparent > #top .span_9 > .slide-out-widget-area-toggle .lines:before,
    body:not(.mobile) #header-outer.transparent > #top .span_9 > .slide-out-widget-area-toggle .lines:after {
        background-color: #453e3f !important;
    }
}


/* =============================================================================
 * 3. Typography and utility classes
 * ========================================================================== */

h1, h2, h3, h4, h5, p {
    font-variant-numeric: lining-nums proportional-nums;
}

body .container-wrap .col .toggle[data-inner-wrap="true"].open > div .panel-collapse>.panel-body,
body .container-wrap .col ul li,
.main-content .alert-warning li,
body .container-wrap .col ol li,
body .container-wrap .col p {
    color: var(--Grayscale-G600);
}

/* A font color set in WPBakery (column "Font Color" -> data-cfc, row "Text Color:
   Custom" -> data-using-ctc) lands on the wrapper, so the text must inherit it
   instead of the gray above. Same specificity, wins by order. */
body .container-wrap [data-cfc="true"] :is(p, li),
body .container-wrap [data-using-ctc="true"] :is(p, li) {
    color: inherit;
}

/* Salient spaces elements with `.wpb_wrapper > div { margin-bottom: 24px }`. A
   split heading with a link is wrapped in <a>, so it is no longer a direct child
   and loses the gap. Give it back. */
.wpb_wrapper > a > .nectar-split-heading {
    margin-bottom: 24px;
}

.gradient {
    background: linear-gradient(45deg, #f3ec78, #af4261);
    background-clip: text;
    color: transparent;
}

.grad-rc-pm {
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
}

.grad-light {
    background: var(--Gradients-Grad-Light);
}

.font-g-600 {
    color: #453E3F;
}

/* Heading level and heading look are separate. Every page needs exactly one H1
   (the page title), but the design draws the page titles of the Conditions and
   Useful pages at H2 size, and repeated blocks such as "Questions" or "Ready to
   get started?" at H1 size. A split heading picks its tag from its font style,
   so these two classes (set as the element's "Extra class name") keep the old
   size while the tag changes:

   - egt-look-h2 - an <h1> drawn like an <h2> (on the split heading wrapper,
                   or on a plain <h1> in a text block)
   - egt-look-h1 - an <h2> drawn like the split-heading <h1>

   The values mirror Salient's typography for h1/h2 (theme options -> dynamic
   CSS, breakpoints 690/999/1300) and the 1441px+ sizes below, measured in the
   browser on 04.12.2026. Retune both together if the theme typography changes. */
body .container-wrap .nectar-split-heading.egt-look-h1 h2 {
    font-size: 64px;
    line-height: 64px;
    letter-spacing: -1.8px;
    margin-bottom: 0;
}

body .container-wrap .nectar-split-heading.egt-look-h2 h1,
body .container-wrap h1.egt-look-h2 {
    font-size: 30px;
    line-height: 30px;
    letter-spacing: -1.2px;
    margin-bottom: 7px;
}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {
    body .container-wrap .nectar-split-heading.egt-look-h1 h2 { font-size: 48px; line-height: 48px; }
    body .container-wrap .nectar-split-heading.egt-look-h2 h1,
    body .container-wrap h1.egt-look-h2 { font-size: 25.5px; line-height: 25.5px; }
}

@media only screen and (min-width: 691px) and (max-width: 999px) {
    body .container-wrap .nectar-split-heading.egt-look-h1 h2 { font-size: 44.8px; line-height: 44.8px; }
    body .container-wrap .nectar-split-heading.egt-look-h2 h1,
    body .container-wrap h1.egt-look-h2 { font-size: 24px; line-height: 24px; }
}

@media only screen and (max-width: 690px) {
    body .container-wrap .nectar-split-heading.egt-look-h1 h2 { font-size: 41.6px; line-height: 41.6px; }
    body .container-wrap .nectar-split-heading.egt-look-h2 h1,
    body .container-wrap h1.egt-look-h2 { font-size: 22.5px; line-height: 22.5px; }
}

@media (min-width: 1441px) {
    body .container-wrap .nectar-split-heading.egt-look-h1 h2 { font-size: 4.3rem; line-height: 64px; }
    /* 1.171875 = the .col h2 leading below; every page title converted to h1 sits in a column. */
    body .container-wrap .nectar-split-heading.egt-look-h2 h1,
    body .container-wrap h1.egt-look-h2 { font-size: 3.2rem; line-height: 1.171875; }
}

/* Article headings moved up one level. The articles (elana_content) used h3
   for their sections right under the page h1; they now start at h2 and keep
   their old look through egt-look-h<old level> (see
   .scripts/migrations/task-article-headings.php). Values measured in the
   browser on 04.12.2026: h3 is Salient's h3 (20px, 17px at 1000-1300, 16px
   below 1000, the .col h3 size from 1441px), h4 is the article h4 from
   elana-cpt-content/assets/content.css, h5 is Salient's h5. */
body .container-wrap .elana-hc .elana-article__body .egt-look-h3 {
    font-size: 20px;
    line-height: 20px;
    letter-spacing: normal;
}

body .container-wrap .elana-hc .elana-article__body .egt-look-h4 {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: normal;
}

body .container-wrap .elana-hc .elana-article__body .egt-look-h5 {
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
    letter-spacing: normal;
    margin-top: 0;
    margin-bottom: 7px;
}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {
    body .container-wrap .elana-hc .elana-article__body .egt-look-h3 { font-size: 17px; line-height: 17px; }
}

@media only screen and (max-width: 999px) {
    body .container-wrap .elana-hc .elana-article__body .egt-look-h3 { font-size: 16px; line-height: 16px; }
}

@media (min-width: 1441px) {
    body .container-wrap .elana-hc .elana-article__body .egt-look-h3 { font-size: 1.6rem; line-height: 1.15625; }
}

/* Headings are written in rem, so the root size on `html` above rescales every
   one of them at once. Careful with that: the values here were derived against a
   16px root to land 20% under the sizes the design started from, and any other
   root size moves them all proportionally. Salient's own 18px sits on `body`,
   which rem does not follow.

   Line heights are unitless, so the leading follows whatever font size the rule
   ends up with and only one number needs touching when a size is retuned. The
   ratios are the design's own - 75/64 and 37/32 - which is why they carry so
   many decimals; they are exact, and rounding them to 1.17 and 1.16 would shift
   the leading by well under a tenth of a pixel.

   Each comment carries the computed px and the size the design started from. */
@media (min-width: 1441px) {
    body .container-wrap h1 {
        font-size: 4.3rem; /* 68.8px, was 86px */
    }

    body .container-wrap .col h2 {
        font-size: 3.2rem; /* 51.2px, was 64px */
        line-height: 1.171875; /* 60px, was 75px */
    }

    body .container-wrap .col h3 {
        font-size: 1.6rem; /* 25.6px, was 32px */
        line-height: 1.15625; /* 29.6px, was 37px */
    }

    body .col .nectar-cta h4,
    body .col .nectar-split-heading h4 {
        font-size: 1.2rem; /* 19.2px, was 24px */
    }

    body .container-wrap .col .toggle[data-inner-wrap="true"].open > div .panel-collapse>.panel-body,
    body .container-wrap .col ul li,
    body .container-wrap .col ol li,
    body .container-wrap .col p {
        font-size: 1.125rem;
        line-height: 1.7;
    }

    div[data-style="minimal"] .toggle[data-inner-wrap="true"] > div .inner-toggle-wrap,
    body .container-wrap .col .toggle .inner-toggle-wrap {
        padding-left: 40px;
    }
}


.d-block {
    display: block !important;
}

/* =============================================================================
 * 4. Global layout
 * ========================================================================== */

@media only screen and (min-width: 1500px) {
    .container {
        max-width: 1800px;
    }
}

.row .col h4 {
    margin-bottom: 0;
}

/* Cards in a row end at the same line.
 *
 * A column with a background colour paints it on `.vc_column-inner`, and that
 * box is only as tall as its content, while the column itself is a flex item
 * the row already stretches. So in a row of cards the one whose text runs to
 * one line less ended 31px short of its neighbours - visible on "Available on
 * all devices", where which card is short changes with the viewport and with
 * the language.
 *
 * The column's stretched height is definite, so a percentage underneath it
 * resolves against it.
 *
 * Desktop only: below 1000px Salient stacks the columns, each is then as tall
 * as its own content, and there is nothing to line up with.
 *
 * Measured across the site before adding this: everywhere else the inner box
 * already fills its column, so this changes those cards and nothing else. */
@media only screen and (min-width: 1000px) {
    .wpb_column[data-has-bg-color="true"] > .vc_column-inner {
        height: 100%;
    }
}


/* =============================================================================
 * 5. Headings
 * ========================================================================== */

.row .title-1 h3 {
    padding: 0;
    color: #453E3F;
    font-size: 2rem; /* 32px, was 40px */
    font-weight: 700;
    line-height: 1; /* was 100% */
}

.row .title-1 p {
    color: #453E3F;
}

.row .title-1-col {
    padding: 0 16px;
    color: #453E3F;
    font-size: 20px;
    font-weight: 700;
}


/* =============================================================================
 * 6. Buttons and CTA
 * ========================================================================== */

/* Shared geometry for the two CTA button styles.
 *
 * Both used to take their height from vertical padding on `span.text`, which
 * Salient leaves as an inline element. `height` does not apply to an inline
 * box, so the painted background came out as the font's em box plus the
 * padding, which means the height followed the font size. `anim-fill` asked
 * for 52px and rendered 56px; `grad-stroke` set no height at all and landed on
 * 54px, and since its shortcode carries no `font_size_desktop` it inherited
 * the `h4` size, which Salient rescales at 1600px and again on phones. That is
 * where the two drifted apart: 2px at 1440, 8px at 1600.
 *
 * `inline-flex` gives the span a real box, so `min-height` holds, the label is
 * centred, and a label that wraps to two lines makes the button taller instead
 * of splitting the background into two overlapping fragments. It also lets the
 * button reserve its own height - as inline boxes they overflowed the element
 * around them.
 *
 * The font size is set here rather than left to the shortcode, so neither
 * button depends on the heading scale any more. */
.row .anim-fill .link_wrap,
.row .grad-stroke .link_wrap {
    display: inline-flex;
}

.row .anim-fill .link_wrap a span,
.row .grad-stroke .link_wrap a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 52px;
    padding: 6px 48px;
    border-radius: 24px;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}

/* Button with a gradient outline.
 *
 * The gradient is a real 2px border on the span - `border-box` for the
 * gradient layer, `padding-box` for the white fill underneath it - not a
 * padded wrapper around it. A wrapper adds its own 2px above and below, so the
 * button stayed 4px taller than the solid one whenever the label wrapped and
 * the content, rather than `min-height`, set the height.
 *
 * The 2px border is taken out of the padding on all four sides, so the two
 * buttons are the same size to the pixel at any label length. */
.row .grad-stroke .link_wrap a span {
    padding: 4px 46px;
    border: 2px solid transparent;
    background: linear-gradient(#FFF, #FFF) padding-box,
    linear-gradient(90deg, #B21C2E 0%, #773DBD 100%) border-box;
    transition: background 0.3s ease;
}

.row .grad-stroke .link_wrap a span:hover {
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%) padding-box,
    linear-gradient(90deg, #B21C2E 0%, #773DBD 100%) border-box;
    color: #FFF;
}

/* Solid button with an animated gradient */
.row .anim-fill .link_wrap a span {
    background: linear-gradient(90deg, #201718 0%, #201718 100%);
    background-size: 10000px 100px; /* required by the animation */
    transition: background 0.5s ease;
}

.row .anim-fill .link_wrap a span:hover {
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
    background-size: 10000px 100px;
    animation: gradientShift 5s ease infinite;
}

@media (min-width: 1441px) {
    .row .anim-fill .link_wrap a span,
    .row .grad-stroke .link_wrap a span {
        min-height: 72px;
        padding-right: 64px;
        padding-left: 64px;
    }

    .row .grad-stroke .link_wrap a span {
        padding-right: 62px;
        padding-left: 62px;
    }
}

/* Phones: the label stays at 20px, so the side padding is what gives way -
 * otherwise a Bulgarian label runs past the edge of its column. */
@media (max-width: 690px) {
    .row .anim-fill .link_wrap a span,
    .row .grad-stroke .link_wrap a span {
        padding-right: 24px;
        padding-left: 24px;
    }

    .row .grad-stroke .link_wrap a span {
        padding-right: 22px;
        padding-left: 22px;
    }
}

/* Phones: a pair of these buttons stacks instead of sitting side by side.
 *
 * The column is set to lay its elements out horizontally on phones as well
 * (`column_element_direction_phone="horizontal"`), which leaves two buttons
 * fighting over some 300px. The rule is tied to the button classes rather than
 * to the column, because the only other places using that setting are the
 * footer and the top menu, which are meant to stay in a row.
 *
 * Salient spaces those columns with `gap`, which is direction-agnostic, so the
 * 20px between the buttons carries over as vertical spacing. */
@media only screen and (max-width: 690px) {
    #ajax-content-wrap .wpb_wrapper:has( > .anim-fill, > .grad-stroke ) {
        flex-direction: column;
        align-items: center;
    }
}


/* =============================================================================
 * 7. Bars above the header and the footer
 * ========================================================================== */

.nectar-global-section.nectar_hook_before_secondary_header .row-bg-layer .row-bg {
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
}

/* The strip between the page and the footer.
 *
 * It used to be a row in each page own content: a full-width row carrying
 * `grad-rc-pm` with nothing in it but a 40px divider. That put the same
 * decoration in 90 pages, where it could be dragged, edited or - as happened
 * on the English home page - lost on a save without anyone noticing.
 *
 * As a pseudo-element on the footer section it is on every page by itself, and
 * a page that has never been opened in the builder gets it too. The footer
 * section paints its own dark background from `.row-bg`, which is positioned
 * inside the row below this box, so the strip sits above it rather than under
 * it. 40px is the height of the divider it replaces. */
.nectar-global-section.before-footer::before {
    content: "";
    display: block;
    height: 40px;
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
}

.nectar-hor-list-item {
    padding: 0;
}

.nectar-hor-list-item .nectar-list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0 !important;
}

.nectar-hor-list-item .nectar-list-item i {
    margin: 5px 5px 5px 0;
    font-size: 16px;
}

.nectar-hor-list-item .nectar-list-item h5 {
    font-size: 12px;
    line-height: 1;
}

.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lang-switcher .polylang_langswitcher {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: Raleway, serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.lang-switcher .polylang_langswitcher a {
    color: #fff;
    opacity: 1 !important;
}

@media (width <= 1280px) {
    .nectar_hook_before_secondary_header .dummy-box {
        display: none;
    }

    .nectar_hook_before_secondary_header .wpb_row > .col {
        justify-content: center;
    }

    .nectar_hook_before_secondary_header .wpb_row > .col .column_container {
        width: 25%;
    }
}

@media (width <= 767px) {
    .nectar_hook_before_secondary_header {
        display: none;
    }
}


/* =============================================================================
 * 8. Header - main menu
 *
 * The order of the `.menu-title-text` rules is deliberate: the last one resets
 * the colour of the inactive items back to #453E3F.
 * ========================================================================== */

#top .sf-menu > li:not([class*="menu-item-btn"]) > a .menu-title-text:before {
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #F1ECF8 0%, #E8F5FA 100%);
}

#header-outer #top .row nav > ul > li:not([class*="current"]) > a .menu-title-text {
    color: #201718;
}

#header-outer #top .row nav > ul > li:not([class*="current"]) > a:hover .menu-title-text {
    color: #201718;
}

#header-outer header#top .col nav ul.sf-menu li a {
    min-height: 40px;
    padding: 16px;
    border: 1px solid transparent;
}

#header-outer header#top .col nav ul.sf-menu li a:hover,
#header-outer header#top .col nav ul.sf-menu li.sfHover a,
#header-outer header#top .col nav ul.sf-menu li a:active {
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    background-image: linear-gradient(white, white), linear-gradient(to right, #B21C2E, #5B2D82);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 4px 0 #B21C2E;
    color: #201718;
    opacity: 1;
}

#header-outer header#top .col nav ul.sf-menu li {
    color: #453E3F;
}

#header-outer header#top .col nav ul.sf-menu li:hover {
    color: #201718;
}

#header-outer #top nav .sf-menu > .sfHover:not([class*="current"]):not(#social-in-menu) > a .menu-title-text,
#header-outer #top nav > ul > li:not([class*="current"]) > a:hover .menu-title-text {
    color: #201718;
}

#header-outer #top nav .sf-menu > .sfHover:not([class*="current"]):not(#social-in-menu) > a .menu-title-text,
#header-outer #top nav > ul > li:not([class*="current"]) > a .menu-title-text {
    color: #453E3F;
}


/* =============================================================================
 * 9. Header - dropdown menus
 * ========================================================================== */

/* Superfish opens the submenu on click instead of on hover. */
ul.sf-menu li.sfHover > .sub-menu {
    display: block !important;
}

#header-outer header#top .col nav ul.sf-menu li.sfHover ul a {
    border: 0;
    background-image: none;
    box-shadow: none;
}

#header-outer header#top .col nav ul.sf-menu li ul a span.menu-title-text {
    color: #453E3F;
    font-size: 16px;
    font-weight: 600;
}

#header-outer header#top .col nav ul.sf-menu li ul a:hover span.menu-title-text {
    border: 0;
    color: #B21C2E;
}

/* The dropdown is centred under its own top-level item - the Salient megamenu
   included, so every item behaves the same way.

   The parent theme already declares `.sf-menu li { position: relative }`, which
   makes the item the containing block. `left: 0` and `right: 0` then span that
   item, and with a definite `width` the two auto side margins share whatever is
   left over. That share stays even when the number is negative, so a panel
   wider than its item ends up centred on it.

   Centring through margins is deliberate, not a workaround for a transform:
   Salient parks a closed dropdown off-screen with `transform: translateY(-9999px)`
   and reveals it with `transform: none`, so a `translateX(-50%)` of ours would
   fight the theme's own show/hide logic. */
#header-outer #top .sf-menu > li > ul {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-content: center !important;
    align-items: flex-start !important;
    /* Salient clips the megamenu with `overflow: hidden`, which would cut off
       the backdrop below. */
    overflow: visible !important;
    width: max-content !important;
    max-width: calc(100vw - 40px) !important;
    max-height: 400px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 40px 0 !important;
    border-top: none;
    background: transparent !important;
    box-shadow: none !important;
}

/* Full-bleed backdrop behind the dropdown.

   It reaches a whole viewport width past each side, so it covers the screen from
   edge to edge wherever the parent item sits, while `top: 0; bottom: 0` copy the
   panel's height exactly - neither edge needs a hard-coded number. The overflow
   adds no horizontal scrollbar, because `#header-outer` is `position: fixed` and
   fixed elements stay out of the document's scrollable overflow area. */
#header-outer #top .sf-menu > li > ul::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100vw;
    bottom: 0;
    left: -100vw;
    background: #fff;
    box-shadow: 0 12px 24px rgba(2, 9, 18, 0.08);
}

#header-outer #top .sf-menu > li > ul > li {
    position: relative; /* keeps the links above the backdrop */
    z-index: 1;
    float: none !important;
    width: 280px !important;
    padding-right: 20px !important;
    margin-right: 20px !important; /* gap between the columns */
    padding-left: 0 !important;
}

/* Without this the trailing gap counts as part of the panel and pushes the
   centred columns half a gap to the left. */
#header-outer #top .sf-menu > li > ul > li:last-child {
    margin-right: 0 !important;
}


/* =============================================================================
 * 10. Header - right-hand buttons
 * ========================================================================== */

#header-outer header#top .right-aligned-menu-items nav ul.buttons {
    flex-direction: row-reverse;
}

#header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button {
    display: inline-block;
    overflow: hidden;
    width: max-content;
    padding: 0;
    border: 0;
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    opacity: 1 !important;
}

#header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.open-account {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 20px;
    border-radius: 16px;
    background: #020912;
    color: #fff !important;
    font-family: Raleway, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    transition: all 0.4s ease;
}

#header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.open-account:hover {
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
    background-size: 10000px 100px;
    animation: gradientShift 5s ease infinite;
}

#header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.log-in {
    position: relative;
    z-index: 1;
    min-width: 112px;
    border-radius: 16px;
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
}

#header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.log-in span {
    content: "";
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2px);
    min-width: 110px;
    height: calc(100% - 2px);
    min-height: 48px;
    margin: 1px;
    padding: 7px 20px;
    border-radius: 15px;
    background: #fff;
    color: #020912;
    font-family: Raleway, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    transition: all 0.4s ease;
}

#header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.log-in:hover span {
    background: transparent;
    color: #fff;
}

/* Search button */
#header-outer header#top nav ul li#search-btn a:hover span {
    color: #201718 !important;
}

#header-outer.transparent #top nav ul #search-btn a .icon-salient-search {
    color: #453E3F !important;
}

#header-outer.transparent #top nav ul #search-btn a:hover .icon-salient-search {
    color: #201718 !important;
}


/* =============================================================================
 * 11. Header - responsive layout
 * ========================================================================== */

@media (width <= 1400px) {
    #header-outer header#top .col nav ul.sf-menu li {
        margin-left: 0;
        margin-right: 0;
    }

    #header-outer header#top .col nav ul.sf-menu li a {
        display: flex;
        align-items: center;
    }

    #header-outer header#top .col nav ul.sf-menu li.sf-with-ul a {
        padding-right: 10px !important;
    }
}

@media (width <= 1280px) {
    #header-outer.transparent,
    #header-outer.scrolled-down {
        padding: 0;
    }

    #header-outer.transparent #top,
    #header-outer.scrolled-down #top {
        padding: 10px 0;
        background-color: #fff;
    }
}

@media (width <= 999px) {
    #header-outer #logo {
        margin-top: 0;
        margin-bottom: 0;
    }

    #header-outer header#top nav ul.buttons {
        display: flex;
        gap: 20px;
    }

    #header-outer header#top nav ul.buttons li {
        margin: 0 !important;
    }

    #header-outer header#top .container .row {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        gap: 10px;
    }

    #header-outer header#top .container:before,
    #header-outer header#top .container .row:before,
    #header-outer header#top .container:after,
    #header-outer header#top .container .row:after {
        display: none;
        content: none;
    }

    #header-outer header#top .container .row .col {
        width: fit-content !important;
    }

    #header-outer header#top .container .row .col.span_3 {
        order: 1;
        margin-right: auto;
    }

    #header-outer header#top .container .row .col.span_3 #logo img,
    #header-outer header#top .container .row .col.span_3 #logo img.starting-logo.mobile-only-logo {
        display: none;
    }

    #header-outer header#top .container .row .col.span_3 #logo img.mobile-only-logo:not(.starting-logo) {
        position: relative;
        display: block;
    }

    #header-outer header#top .container .row .col.span_9 {
        position: relative !important;
        order: 3;
    }

    #header-outer header#top .container .row .col.span_9 .mobile-search {
        display: none;
    }

    #header-outer header#top .container .row .col.span_9 .slide-out-widget-area-toggle > div {
        top: 0;
        transform: unset;
    }

    #header-outer header#top .right-aligned-menu-items {
        order: 2;
    }

    #header-outer header#top .right-aligned-menu-items nav {
        display: flex !important;
    }

    #header-outer header#top .right-aligned-menu-items nav ul.buttons.sf-menu {
        margin: 0;
        padding: 0;
    }

    #header-outer header#top .right-aligned-menu-items nav ul.buttons.sf-menu #search-btn {
        display: none;
    }
}

@media (width <= 480px) {
    #header-outer header#top > .container {
        max-width: unset;
        padding: 0 15px;
    }

    #header-outer header#top nav ul.buttons {
        gap: 10px;
    }

    #header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.log-in span,
    #header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.open-account {
        height: 100%;
        font-size: 14px !important;
    }

    #header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.log-in {
        min-width: unset !important;
    }

    #header-outer header#top .right-aligned-menu-items nav > ul.buttons > li > a.itc-button.log-in span {
        width: fit-content;
        min-width: unset !important;
    }
}


/* =============================================================================
 * 12. Mobile menu and off-canvas
 * ========================================================================== */

body.material #slide-out-widget-area-bg.slide-out-from-right {
    background-color: var(--nectar-extra-color-1);
    background: linear-gradient(90deg, #B21C2E 0%, #773DBD 100%);
}

#slide-out-widget-area[data-dropdown-func=separate-dropdown-parent-link] .off-canvas-menu-container li > a {
    position: relative;
    z-index: 1;
}

#slide-out-widget-area[data-dropdown-func=separate-dropdown-parent-link] .off-canvas-menu-container li > .ocm-dropdown-arrow {
    top: 0 !important;
    left: 0;
    z-index: 5;
    width: calc(100% + 6px);
    transform: none;
    text-align: right;
}

#slide-out-widget-area[data-dropdown-func=separate-dropdown-parent-link] .off-canvas-menu-container li.open-submenu > .ocm-dropdown-arrow > i {
    transform: rotate(180deg);
}

.off-canvas-menu-container.mobile-only {
    margin-top: 70px;
}

.off-canvas-menu-container.mobile-only:before {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    margin: 40px 0;
    background-image: url('../salient-child/images/elana-Logo-small-bw.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


/* =============================================================================
 * 13. Component - app button
 * ========================================================================== */

.app-button {
    display: inline-flex;
    align-items: center;
    gap: var(--padding-05-rem);
    min-width: 222px;
    min-height: 48px;
    padding: var(--padding-05-rem) var(--padding-15-rem);
    border: 1px solid var(--Web-Colors-RC);
    border-radius: var(--Padding-1rem);
    background: var(--Grayscale-G0);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.app-button-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-button-line1,
.app-button-line2 {
    color: var(--Web-Colors-RC);
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: normal;
    letter-spacing: -0.24px;
    text-align: center;
    transition: color 0.2s ease;
}

.app-button-surface {
    color: var(--Web-Colors-PM);
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.64px;
    text-align: center;
    transition: color 0.2s ease;
}

.app-button:hover,
.app-button:active,
.app-button.current {
    border-color: transparent;
    background: var(--Gradients-Grad-RC-PM);
}

.app-button:hover .app-button-line1,
.app-button:hover .app-button-line2,
.app-button:active .app-button-line1,
.app-button:active .app-button-line2,
.app-button.current .app-button-line1,
.app-button.current .app-button-line2 {
    color: var(--Grayscale-G0);
}

.app-button:hover .app-button-surface,
.app-button:active .app-button-surface,
.app-button.current .app-button-surface {
    color: var(--Grayscale-G0);
}


/* =============================================================================
 * 14. Component - breadcrumb
 * ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 4px;
    max-width: 640px;
}

.breadcrumb-link {
    color: var(--Grayscale-G600);
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 16px;
    height: 24px;
}

.breadcrumb-divider svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.breadcrumb-current {
    color: var(--Grayscale-G400);
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    pointer-events: none;
}


/* =============================================================================
 * 15. Component - tables
 * ========================================================================== */

/* Core block styles, copied verbatim from the per-block stylesheets under
 * wp-includes/blocks/.
 *
 * The tables used to be Gutenberg blocks embedded through WPBakery's
 * "Gutenberg Editor" element, so WordPress found `<!-- wp:table -->` in the
 * post content and printed `wp-block-table-inline-css` by itself. The element
 * is gone (its editing modal is broken on WP 7.1) and the markup now lives in
 * a "Raw HTML" element, where WordPress can no longer see the block - so these
 * rules have to be stated here or the tables lose their borders and widths.
 *
 * Only the selectors actually present in the content are copied. The variants
 * for stripes, background colours and inline border styles are left out; no
 * table on the site uses them. They sit above the overrides below on purpose,
 * so the cascade order matches what it was while the block styles were loaded.
 */
.wp-block-table {
    overflow-x: auto;
}

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table thead {
    border-bottom: 3px solid;
}

.wp-block-table tfoot {
    border-top: 3px solid;
}

.wp-block-table td,
.wp-block-table th {
    border: 1px solid;
    padding: .5em;
}

.wp-block-table .has-fixed-layout {
    table-layout: fixed;
    width: 100%;
}

.wp-block-table .has-fixed-layout td,
.wp-block-table .has-fixed-layout th {
    word-break: break-word;
}

.wp-block-table.aligncenter,
.wp-block-table.alignleft,
.wp-block-table.alignright {
    display: table;
    width: auto;
}

.wp-block-table.aligncenter td,
.wp-block-table.aligncenter th,
.wp-block-table.alignleft td,
.wp-block-table.alignleft th,
.wp-block-table.alignright td,
.wp-block-table.alignright th {
    word-break: break-word;
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.wp-block-image figure {
    margin: 0;
}

.wp-block-image.aligncenter {
    text-align: center;
}

/* Core states these two as `ol, ul` and `.wp-block-group`. Scoping the list
   rule to the block keeps every other list on the site untouched. */
.wp-block-list {
    box-sizing: border-box;
}

.wp-block-group {
    box-sizing: border-box;
}

body .main-content .wp-block-table table td {
    vertical-align: middle;
    font-size: 16px;
    font-weight: 500;
    font-variant-numeric: lining-nums;
}

body .main-content .wp-block-table table td img {
    float: left;
    width: 16px;
    height: 16px;
    margin: 0 6px 6px 0;
}

body .main-content .wp-block-table tr th {
    background-color: #DDC4FA;
    font-size: 16px;
    font-weight: 500;
}

/* The value `.wp-block-table 0` is invalid, so the browser drops the line.
   Kept commented out rather than corrected, so the rendering stays the same. */
.main-content .wp-block-table thead {
    /*border-bottom: .wp-block-table 0;*/
}

body .main-content .wp-block-table td {
    border-style: none none solid none;
    border-color: #BDB4B5;
}

body .main-content .wp-block-table tr td:first-child {
    border-left-style: none;
    border-left-width: 0;
    border-color: #BDB4B5;
}

body .main-content .wp-block-table tr td[colspan] {
    background: #EFEDF2;
}


body .main-content .wp-block-table table tr td:first-child {
    font-weight: 700;
}

body .main-content .wp-block-table table td span.d-block {
    font-size: small;
    font-weight: 400;
}

.overflow-table {
    overflow: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

.overflow-table table {
    min-width: 720px;
}


/* =============================================================================
 * 16. Component - warnings
 * ========================================================================== */

body .main-content .warning-item > div {
    display: flex;
    gap: 2rem;
}

body .main-content .warning-item > div figure {
    min-width: 48px;
}

body .main-content .warning-item p {
    padding-bottom: 1.5rem;
    color: #000000;
    font-size: 14px;
    line-height: 17px;
    text-align: left;
}

body .main-content .warning-item > div ul li {
    padding: 0.5rem 0;
    font-size: 14px;
    text-align: left;
}


/* -----------------------------------------------------------------------------
 * .alert-warning - the Bootstrap-named version.
 *
 * Put `alert-warning` in Extra class name on a Text Block and write plain text
 * inside; the icon comes from ::before, so the content stays free of markup
 * that only exists to hold a picture. This replaces the flattened screenshots
 * (Warning-4, Warning-7 and the rest) that carried warning text as pixels.
 *
 * The icon is an inline SVG data URI rather than an uploaded PNG: it costs no
 * request, stays sharp at any density, and its two colours - #EBAB21 and
 * #201718 - are the ones sampled from Warning.png (#6738), the icon already in
 * use on Conditions Stocks.
 *
 * Scoped to .main-content so that adding real Bootstrap later cannot take the
 * rule over: Bootstrap's own `.alert-warning` is one class, this is two.
 * -------------------------------------------------------------------------- */

.main-content .alert-warning {
    position: relative;
    min-height: 48px;
    padding-left: 80px; /* 56px icon + 24px gap */
}

.main-content .alert-warning::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 48'%3E%3Crect width='56' height='48' rx='8' fill='%23EBAB21'/%3E%3Cpath d='M28 12.5 42.5 37.5 13.5 37.5Z' fill='none' stroke='%23201718' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M28 21.5V28.5' stroke='%23201718' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='28' cy='32.8' r='1.5' fill='%23201718'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Browsers indent a list by another 40px of their own, which would push the
   numbers to 120px from the edge. The block already provides the indent. */
.main-content .alert-warning ol,
.main-content .alert-warning ul {
    margin: 0;
    padding-left: 22px;
}

.main-content .alert-warning li {
    padding: 0.25rem 0;
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
}

.main-content .alert-warning p {
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
}

/* Icon above the text, the same breakpoint the content list uses. */
@media (max-width: 680px) {
    .main-content .alert-warning {
        padding-top: 60px;
        padding-left: 0;
    }

    .main-content .alert-warning::before {
        width: 48px;
        height: 41px;
    }
}


/* =============================================================================
 * 17. Component - tabs
 *
 * Salient's "default" tab style paints the active tab with a flat accent colour
 * from the generated stylesheet (`.tabbed > ul li .active-tab { background-color:
 * #b21c2e }` in salient-dynamic-styles.css) and greys the rest out at #888. The
 * rules below dress the element in the same language as the menu and the header
 * buttons instead: Raleway 700, a 16px pill, the brand gradient when active and
 * the light gradient on hover.
 * ========================================================================== */

body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav > li {
    float: none;
    margin: 0;
}

body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--padding-05-rem);
    min-height: 48px;
    padding: var(--padding-05-rem) var(--padding-15-rem);
    border: 0;
    border-radius: var(--Padding-1rem);
    background: transparent;
    color: var(--Grayscale-G600);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    transition: background 0.3s ease, color 0.3s ease;
}

body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav > li > a:hover {
    background: var(--Gradients-Grad-Light);
    color: #201718;
}

body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav > li > a.active-tab,
body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav > li > a.active-tab:hover {
    border-color: transparent;
    background: var(--Gradients-Grad-RC-PM);
    color: var(--Grayscale-G0);
}

/* The parent theme colours icons separately from the label. */
body .wpb_content_element .tabbed[data-style="default"] > .wpb_tabs_nav > li > a svg {
    fill: currentColor;
}


/* =============================================================================
 * 18. Small components
 * ========================================================================== */

/* Bootstrap-named alignment utility.
 *
 * Text blocks used to carry a pasted `style="text-align: left"` on every
 * paragraph. That inline style was doing real work: many of these blocks sit in
 * an inner row the builder set to centre, which Salient renders as
 * `.col.center { text-align: center }`. The pasted styles are gone now and this
 * class carries the intent instead.
 *
 * Same specificity as `.col.center`, so this wins on source order - the child
 * stylesheet is the last one on the page. Anything that has to beat it can say
 * so inline, which is what the few deliberate `text-align: center` blocks do. */
.main-content .text-start {
    text-align: left;
}

/* "View details" links.
 *
 * Conditions and Trading used to carry `<a href="…"><button>View details</button></a>`
 * as pasted markup, with the look in an inline style on the button. A button
 * inside a link is invalid HTML - two tab stops for one destination, and
 * ambiguous for screen readers - so the migration `task-button-links.php`
 * turned all 30 of them into plain links with this class, and the inline style
 * became this rule.
 *
 * Same colour and weight as before. The one visible difference is the font:
 * the button rendered in the browser's UI font, Arial, because `button` does
 * not inherit font-family; the link takes Raleway like the text around it.
 *
 * `:hover` is listed so a generic link hover elsewhere cannot recolour it -
 * the button never changed on hover either. */
.main-content .wpb_text_column a.link-details,
.main-content .wpb_text_column a.link-details:hover {
    display: inline-block;
    font-weight: 600;
    color: #773DBD;
}

/* Leftover buttons without a link.
 *
 * Three "View details" buttons on Bulgarian Conditions and on both Trading
 * pages are not inside any link, so there is nothing to click through to and
 * the migration left them alone. Nothing in the served CSS targets a bare
 * `button` - Salient only covers `button[type=submit]` - so without this they
 * drop to the browser default, around 13px. Remove once those three are
 * resolved. */
.main-content .wpb_text_column button {
    font-size: inherit;
}

/* Spacing after a flag.
 *
 * `mr-5` is written next to every `<i class="fi fi-xx">` in the tables. Careful:
 * in Bootstrap 4 that name means 3rem, which inside a table cell would be
 * absurd - here it is read as the 5px the markup clearly intends. Bootstrap is
 * not loaded on the site, so nothing collides; if it ever is, this will need a
 * different name (`me-1` is the Bootstrap 5 spelling of the same intent). */
.main-content .mr-5 {
    margin-right: 5px;
}

/* App icons */
body .container-wrap .col .label-app-icon p {
    font-size: 18px;
    line-height: 20px;
}

/* The icon keeps its size whatever the label says.
 *
 * The column is laid out horizontally, so the icon and its label are two flex
 * items sharing 224px, and both were free to shrink. The label took what it
 * needed and the icon paid for it: 46.8px next to "Marked with this icon in
 * the app", 34.9px next to the longer "Обозначени с тази икона в
 * приложението" - which is why the two Bulgarian pages that have actually been
 * translated had a smaller icon than the fourteen that have not.
 *
 * Now only the label gives way, by wrapping onto another line. 48px is where
 * the fourteen already were, so nothing visibly moves on them. */
.wpb_wrapper:has( > .label-app-icon ) > .img-with-aniamtion-wrap {
    flex: 0 0 48px;
}

/* Icon beside a text block, in a horizontally laid out column.
 *
 * The same shrinking as above, on a larger scale: 163 blocks on 34 pages - the
 * eight-icon grids on Conditions and Trading, and the feature lists on the
 * Investing and Trading pages. The icon wrapper was free to shrink, so every
 * block gave its icon whatever the text next to it left over. On Conditions
 * that put the text anywhere between 214px and 261px from the column edge, and
 * only the Bulgarian page looked tidy because all its texts happened to be the
 * same.
 *
 * 40% is where the tidy blocks already were. A percentage rather than pixels,
 * so it scales with the column: 240px of a 600px column at 1440, 192px at 1200.
 * Below 1000px the columns stack and stop being flex rows, so this does
 * nothing there.
 *
 * The label-app-icon blocks keep their own 48px rule above. */
.column_element_direction_desktop_horizontal > .vc_column-inner > .wpb_wrapper
    > .img-with-aniamtion-wrap:has( + .wpb_text_column:not( .label-app-icon ) ) {
    flex: 0 0 40%;
}

/* Ordered list with roomier rows */
.st-ol li {
    padding: 0.5rem;
}


body .container-wrap .sticky-section-title > .vc_column-inner {
    position: sticky;
    top: 120px;
}

/* =============================================================================
 * 19. Animations
 * ========================================================================== */

@keyframes gradientShift {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0 0;
    }
}

/* =============================================================================
 * 20. Video - Invest In Seconds
 * ========================================================================== */

/* One number decides how big the video is.
 *
 * Change `--invest-video-width` and everything follows: the height comes from
 * the 6:7 ratio of the file, so the picture is never cropped, and the box is
 * centred across its column. 600px is the file's own width - past that it is
 * being enlarged, which shows.
 *
 * Do not use the element's own Video Width dropdown for this any more. It sets
 * a width on the same box and this rule, being later in the cascade, wins - so
 * the dropdown would look broken. Leave it at 100%.
 *
 * Nor `max-width` on its own: the box is stretched to the column's height (see
 * below), and `object-fit: cover` then fills that height by cropping the sides
 * instead of scaling the whole thing down. Width and height have to move
 * together, which is what the ratio here does. */
.invest-in-seconds-video-wrapper {
    --invest-video-width: 600px;
}

.invest-in-seconds-video-wrapper .nectar_video_player_self_hosted {
    width: 100%;
}


/* The video sits at the bottom of the row.
 *
 * The row is as tall as its taller column. The video's height comes from its
 * ratio, the text column's from the text - and in Bulgarian the h2 wraps to
 * two lines inside its 550px, 123px tall against 61px in English, which left
 * the video 29px short of the bottom at 1920. At 1200 both languages left
 * 59px, because there the video shrinks with the column and the text does not.
 *
 * So the column is made a flex column and the video is pushed to its far end
 * with `margin-top: auto`, whatever the two heights happen to be. The `auto`
 * margins to the left and right centre it across the column at the same time.
 *
 * For a video centred vertically as well, `margin: auto` is the whole change.
 *
 * The column itself is deliberately not given a height. It is a flex item that
 * the row stretches to full height, and a height of its own turns that
 * stretching off. Its stretched height is definite, so the percentages
 * underneath resolve against it. */
.invest-in-seconds-video-wrapper > .vc_column-inner,
.invest-in-seconds-video-wrapper > .vc_column-inner > .wpb_wrapper,
.invest-in-seconds-video-wrapper .nectar_video_player_self_hosted {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.invest-in-seconds-video-wrapper .nectar_video_player_self_hosted > .wpb_wrapper {
    width: var( --invest-video-width );
    max-width: 100%;
    margin: auto auto 0;
}

.invest-in-seconds-video-wrapper .wpb_video_wrapper {
    position: relative;
    width: 100%;
    height: auto !important;
    aspect-ratio: 6 / 7;
    padding-top: 0 !important;
    overflow: hidden;
}

.invest-in-seconds-video-wrapper .wpb_video_wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================================================
 * 21. Video - Invest In Seconds Steps
 * ========================================================================== */

.invest-in-seconds-step {
    cursor: pointer;
}


.invest-in-seconds-step p {
    color: #7E7B7B !important;

    transition: color 0.25s ease,
    opacity 0.25s ease;
}


.invest-in-seconds-step.is-active p,
.invest-in-seconds-step.is-complete p {
    color: #773DBD !important;
}


.invest-in-seconds-step:hover p {
    color: #773DBD !important;
}

/* =============================================================================
 * 22. Video - Invest In Seconds progress
 * ========================================================================== */
.invest-in-seconds-steps
.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
    position: relative;
    padding-left: 48px;
}


/* Steps */

.invest-in-seconds-step {
    display: flex;
    align-items: center;

    min-height: 54px;

    cursor: pointer;
}

.invest-in-seconds-step p {
    margin: 0;
}


/* Progress
 *
 * The rail is drawn by the script, not by fixed numbers here: it reads the
 * position of each step and writes `top` on the dots and `top` / `height` on
 * the two lines. It used to be a 162px box with the dots pinned at 0%, 50% and
 * 100%, which put every dot above its own row and left the rail ending short
 * of the last one - and it only ever suited exactly three steps of exactly one
 * line each. */

.invest-progress {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 16px;

    margin: 0;
}


/* Background line */

.invest-progress__line {
    position: absolute;

    left: 7px;

    width: 2px;

    background: rgba(119, 61, 189, 0.30);
}


/* Active line
 *
 * `linear` rather than `ease`: the fill is redrawn several times a second
 * while the video runs, and an eased transition never settles, so the bar
 * lags behind the video by a hair the whole way down. */

.invest-progress__line-fill {
    position: absolute;

    left: 7px;

    width: 2px;
    height: 0;

    background: #773DBD;

    transition: height 0.12s linear;
}


/* Dots */
.invest-progress__dot {
    position: absolute;
    left: 1px;

    width: 14px;
    height: 14px;

    box-sizing: border-box;

    border: 3px solid #773DBD;
    border-radius: 50%;

    background: #F1ECF8;

    transition: background-color 0.25s ease;
}
.invest-progress__dot.is-active {
    background: #773DBD;
}


/* =============================================================================
 * 23. Component - footer (sample on page #9720)
 *
 * Light footer: brand column on the left, four link columns with small grey
 * uppercase titles, a legal block in small print, then copyright and the
 * language switcher. Rows carry `egt-footer`; built by
 * .scripts/migrations/task-footer-sample.php.
 * ========================================================================== */

.egt-footer {
    --egt-footer-line: #E6E2E2;
}

/* Brand column */
/* Salient puts the element's class on the <img> itself. */
.egt-footer img.egt-footer__logo {
    max-width: 190px;
}

body .container-wrap .egt-footer__brand p {
    max-width: 380px;
    font-size: 1rem;
    line-height: 1.6;
}

body .container-wrap .egt-footer__brand .egt-footer__contact {
    font-size: 0.875rem;
    color: var(--Grayscale-G400);
}

/* 2x2 grid so the second column lines up although the badges differ in width. */
.egt-footer .egt-footer__badges {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px;
    padding-bottom: 0;
}

/* Same height for all badges; the images have different proportions. */
.egt-footer .egt-footer__badges img.egt-footer__app {
    display: block;
    width: auto;
    height: 44px;
}

body .container-wrap .egt-footer .egt-footer__web {
    margin-top: 14px;
    font-size: 0.875rem;
}

/* Link columns */
/* h6 + body prefix: Salient sizes h6 with a stronger selector. */
body .container-wrap .egt-footer h6.egt-footer__title {
    margin: 6px 0 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--Grayscale-G400);
}

.egt-footer ul.egt-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .container-wrap .egt-footer ul.egt-footer__links li {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    font-size: 1rem;
    line-height: 1.4;
}

.egt-footer a {
    color: var(--Grayscale-G600);
    transition: color 0.2s ease;
}

.egt-footer a:hover {
    color: var(--Web-Colors-RC);
}

/* Lines between the blocks span the content, not the screen */
.egt-footer--legal .row_col_wrap_12,
.egt-footer--bottom .row_col_wrap_12 {
    border-top: 1px solid var(--egt-footer-line);
}

.egt-footer--legal .row_col_wrap_12 {
    padding-top: 32px;
    padding-bottom: 16px;
}

.egt-footer--bottom .row_col_wrap_12 {
    padding-top: 20px;
}

/* Legal block in small print */
/* Same size as the legal text of the current footer (18px / 1.7). */
body .container-wrap .egt-footer h6.egt-footer__legal-title {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--Grayscale-G600);
}

body .container-wrap .egt-footer--legal p {
    margin-bottom: 20px;
    padding-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--Grayscale-G400);
}

/* Bottom bar */
body .container-wrap .egt-footer--bottom p.egt-footer__meta {
    padding-bottom: 0;
    font-size: 0.875rem;
    color: var(--Grayscale-G400);
}

.egt-footer .egt-footer__lang .polylang_langswitcher {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
}

body .container-wrap .egt-footer .egt-footer__lang .polylang_langswitcher li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.egt-footer .egt-footer__lang .polylang_langswitcher a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--egt-footer-line);
    border-radius: 6px;
    font-size: 0.875rem;
}

@media only screen and (max-width: 999px) {
    .egt-footer .egt-footer__lang .polylang_langswitcher {
        justify-content: flex-start;
    }
}

/* Dark variant: same structure on the background of the current footer.
   Colours are lighter greys so the small print stays readable on #0F0E0E. */
.egt-footer--dark {
    --egt-footer-line: rgba(255, 255, 255, 0.14);
}

body .container-wrap .egt-footer--dark .egt-footer__brand p,
body .container-wrap .egt-footer--dark ul.egt-footer__links li,
.egt-footer--dark a {
    color: #E6E2E2;
}

.egt-footer--dark a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.egt-footer--dark .egt-footer__title,
body .container-wrap .egt-footer--dark .egt-footer__brand .egt-footer__contact,
body .container-wrap .egt-footer--dark.egt-footer--legal p,
body .container-wrap .egt-footer--dark.egt-footer--bottom p.egt-footer__meta {
    color: #9A9495;
}

body .container-wrap .egt-footer--dark h6.egt-footer__legal-title {
    color: #E6E2E2;
}

/* Legal text in the colour of the current footer. */
body .container-wrap .egt-footer--dark.egt-footer--legal p {
    color: #BDB4B5;
}

/* Section titles link to the section page but keep the title look. */
.egt-footer .egt-footer__title a {
    color: inherit;
}

/* Two rows of three menu sections. */
.egt-footer__nav .wpb_row:not(:last-child) {
    margin-bottom: 16px;
}

/* Salient leaves a gap under each row; the footer rows must touch. */
body .container-wrap .wpb_row.egt-footer {
    margin-bottom: 0;
}

/* Social icons (nectar_icon): Salient paints them with the accent red through
   an !important rule on data-color, so only !important can override it. */
body .container-wrap .egt-footer .egt-footer__social {
    margin-right: 18px;
    margin-bottom: 28px;
}

.egt-footer .egt-footer__social[data-color] i {
    color: #E6E2E2 !important;
    transition: color 0.2s ease;
}

.egt-footer .egt-footer__social[data-color] a:hover i {
    color: #FFFFFF !important;
}


/* =============================================================================
 * 24. Split headings sized in vw
 *
 * Some split_line_heading elements use a font size in vw (4vw, 2.5vw, 1.05vw,
 * 1.1vw). vw follows the window, not the content: zooming the page out makes
 * the window wider in CSS pixels, so the text keeps growing while the
 * 1500px container does not - headings like "Stocks" end up over the cards.
 * Zooming in does the opposite and shrinks body text below readable size.
 *
 * clamp() keeps the vw behaviour on normal screens; the maximum is the value at
 * the 1500px container width, the minimum keeps text readable. Salient sets
 * these with !important, so the override needs it too (body prefix wins on
 * specificity). Its own tablet/phone sizes use a stronger selector and still
 * apply below 1000px.
 * ========================================================================== */

body #ajax-content-wrap .font_size_4vw.nectar-split-heading {
    font-size: clamp(32px, 4vw, 60px) !important;
}

body #ajax-content-wrap .font_size_2-5vw.nectar-split-heading {
    font-size: clamp(26px, 2.5vw, 37.5px) !important;
}

body #ajax-content-wrap .font_size_1-05vw.nectar-split-heading {
    font-size: clamp(13px, 1.05vw, 15.75px) !important;
}

body #ajax-content-wrap .font_size_1-1vw.nectar-split-heading {
    font-size: clamp(13px, 1.1vw, 16.5px) !important;
}
