/* #region Truebase Inlined — replaces external truebase.css dependency */

/* #region Site-wide tokens */
:root {
    --site-max-w: 1400px;
}
/* #endregion */

/* Critical resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 18px;
    line-height: 1.7;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1;
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

input, button {
    border: 0;
}

a {
    text-decoration: none;
}

p a {
    word-break: break-word;
}

a, button {
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

button {
    background-color: transparent;
}

ul, ol {
    margin-left: 2rem;
}

ul li:not(:last-of-type), ol li:not(:last-of-type) {
    margin-bottom: 1rem;
}

sup {
    line-height: 0;
    font-size: .75rem !important;
}

table {
    border-collapse: collapse;
}

/* Layout utilities */
.rel { position: relative; }
.hidden { display: none !important; }

.boxbox {
    max-width: var(--site-max-w);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Flex utilities */
.flex { display: flex; }
.col { flex-direction: column; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.justcenter { justify-content: center; }
.center { align-items: center; }
.grow { flex-grow: 1; min-width: 0; }
.nosh, .noshrink { flex-shrink: 0; }

/* Gap utilities */
.rowgap { row-gap: 2rem; }
.colgap { column-gap: 2rem; }
.colgapmini { column-gap: 1rem; }
.colgapmicro { column-gap: 0.5rem; }

/* Spacer utilities */
.spacerbig > *:not(:last-child) { margin-bottom: 2rem; }
.spacersmall > *:not(:last-child) { margin-bottom: 1rem; }
.spacermini > *:not(:last-child) { margin-bottom: 0.5rem; }

/* Padding utilities */
.pad    { padding: 3rem; }
.padhalf { padding: 2rem; }
.padmini { padding: 0.3rem; }

.padtop     { padding-top: 3rem;  padding-bottom: 3rem; }
.padtophalf { padding-top: 2rem;  padding-bottom: 2rem; }
.padtopmini { padding-top: 0.3rem; padding-bottom: 0.3rem; }

.padonlytop  { padding-top: 3rem; }
.padonlytop2 { padding-top: 6rem; }
.padonlybot  { padding-bottom: 3rem; }

/* Rounding */
.rounded    { border-radius: 1rem; }
.roundedmini { border-radius: 0.5rem; }
.rounded2   { border-radius: 2rem; }

/* Image shadows */
.imgshadow img  { box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1); }
.imgshadow2 img { box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1); }

/* Misc utilities */
.mainlink { cursor: pointer; }

/* Honeypot / form spam protection */
.firstnameform {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    opacity: 0.01;
    pointer-events: none;
    padding: 0 !important;
    margin: 0 !important;
}

/* Font icons */
@font-face {
    font-family: 'fa-brands';
    src: url('https://www.midobi.com/mods/fonts/awesome/fa-brands-400.woff');
}

@font-face {
    font-family: 'la-solid';
    src: url('https://www.midobi.com/mods/fonts/line/la-solid-900.woff');
}

.fa-brands {
    font-family: 'fa-brands' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.la-solid {
    font-family: 'la-solid' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

/* Scroll animations (driven by scrollcheck.js) */
.scrollme {
    transition: all 1s cubic-bezier(.9, 0, .1, 1) !important;
    position: relative;
    transform: translate(0, 0) !important;
}

.SCAfadeleft {
    transform: translateX(3rem) !important;
    opacity: 0 !important;
}

.SCAfaderight {
    transform: translateX(-3rem) !important;
    opacity: 0 !important;
}

.SCAfadeup {
    transform: translateY(3rem) !important;
    opacity: 0 !important;
}

.SCAfadedown {
    transform: translateY(-3rem) !important;
    opacity: 0 !important;
}

.SCAzoomin {
    transform: scale(1.2) !important;
    opacity: 0 !important;
}

/* #endregion */

/* ─── Ni3Fe-specific overrides below ─── */

.boxbox {
    max-width:700px;
}

.hero .boxbox {
    max-width: var(--site-max-w);
    transform:none;
}

h2, h3, h4, h5, h6 {
    line-height: 1.5;
}

h1 {
    color:#111;
}

h1, h1 span {
    font-size:2.25rem;
    font-weight:bold;
}

h3 {
    text-transform:uppercase;
}

h1 sub {
    font-size:1.5rem;
    color:#111;
}

header .boxbox {
    max-width: var(--site-max-w);
    transform:none;
}

.landerbox h2, .landerbox h2 span {
    font-size:1.75rem;
    font-weight:bold;
    color:#111;
    text-transform:uppercase;
}

.landerbox h3, .landerbox h3 span {
    font-size:1.75rem;
    font-weight:bold;
    color:#111;
    line-height:1.25;
}

.landerbox h3 b {
    font-weight:700;
}

.landerbox h4 {
    font-size:1.25rem;
}

.landerbox h5 {
    background-color:#1a88c2;
    color:#fff;
    padding:0.5rem 1rem;
    border-radius:0.5rem;
    font-size:2rem;
    font-weight:600;
    margin:0 auto 0.75rem;
    text-align:center;
}

@media only screen and (max-width: 500px) {
    .landerbox h5 {
        font-size: 2rem;
    }
}

.landerbox .problemtitle {
    background-color:#8B0000;
}

.landerbox .solutiontitle {
    background-color:#1278b0;
}
.landerbox p, .landerbox ol li, .landerbox ul li {
    font-size:1.125rem;
}

.landerbox .highlights .item {
    background-color:#fff;
    padding:1.25rem 1.5rem;
    border-radius:0.5rem;
    width:auto;
    box-shadow:0 0 25px 0 rgba(0,0,0,0.025);
    display:flex;
    gap:1rem;
    align-items:flex-start;
}

.landerbox .highlights .item::before {
    content:'✓';
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:1.75rem;
    height:1.75rem;
    background:#1278b0;
    border-radius:50%;
    color:#fff;
    font-size:1rem;
    font-weight:700;
    flex-shrink:0;
    margin-top:0.125rem;
}

.landerbox .highlights .item p {
    font-size:1.125rem;
    margin:0;
}

.landerbox .figures {
    background-color:#1278b0;
    color:#fff;
    padding:3rem;
    border-radius:1rem;
}

.landerbox .figures p {
    font-size:1.25rem;
}

.landerbox .figures:before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url('images/bg_batteries.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:1;
    opacity:0.25;
    border-radius:1rem;
}

.landerbox .figures h3 {
    color:#fff;
    text-align:center;
}

.landerbox .figures h4 {
    border-bottom:2px solid rgba(255,255,255,0.5);
    padding-bottom:1rem;
    margin-bottom:1rem;
    color:#fff;
}

.landerbox img {
    width:100%;
}

.landerbox figcaption {
    background-color:#354872;
    color:#fff;
    border-radius:0.25rem;
    padding:0.5rem;
    font-size:1rem;
    font-weight:bold;
    font-style:italic;
    margin-left:0.5rem;
    margin-right:0.5rem;
    margin-top:-1.5rem;
    z-index:2;
    position:relative;
    text-align:center;
}

.landerbox .quote {
    border-top:1px solid #1a88c2;
    border-bottom:1px solid #1a88c2;
    padding:2rem;
    font-size:1.25rem;
}

.landerbox .quote img {
    width:auto;
    height:3rem;
    margin-left:auto;
    display:block;
}

.landerbox .magmap {
    width:100%;
}

.landerbox .magflex {
    flex-direction:column;
    align-items:stretch;
}

.landerbox .magflex .highlights {
    display:grid;
    grid-template-columns:1fr;
    gap:1.25rem;
    width:100%;
}

.landerbox ol {
    list-style: none;
    counter-reset: list-counter;
}

.landerbox ol li {
    background-color:#fff;
    padding:1rem 2rem;
    padding-left:3rem;
    border-radius:0.5rem;
    box-shadow:0 0 25px 0 rgba(0,0,0,0.025);
    counter-increment: list-counter;
    position: relative;
}

.landerbox ol li:before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 1rem; /* Adjust as necessary */
    font-weight: bold;
}

.landerbox ol li:not(:last-child) {
    margin-bottom:1rem;
}

.landerbox .pagebreak {
    position:relative;
    height:60vh;
    /* Add inset shadow at top and bottom with 3rem spread, 10% opacity */
    box-shadow: 
        inset 0 3rem 3rem -3rem rgba(0,0,0,0.25),
        inset 0 -3rem 3rem -3rem rgba(0,0,0,0.25);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.landerbox .pagebreak h5 {
    display:table;
    position:absolute;
    left:50%;
    transform:translateX(-50%) translateY(50%);
    bottom:0;
    max-width:1000px;
    margin:0 auto;
    text-align:center;
}

.landerbox {
    display: grid;
    grid-template-columns: 1fr minmax(0, 40rem) 1fr;
    column-gap: 4rem;
    justify-content: center;
    box-sizing: border-box;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    align-items: start;
    max-width: var(--site-max-w);
    margin-left: auto;
    margin-right: auto;
}

.landerbox .toc-sidebar {
    grid-column: 1;
    position: sticky;
    top: calc(var(--header-h, 5.625rem) + 2rem);
    margin-top: 2rem;
    align-self: start;
    height: fit-content;
}

.landerbox .toc-sidebar li {
    list-style: none;
}

.landerbox .main-col {
    grid-column: 2;
    min-width: 0;
    padding-bottom:3rem;
}

.landerbox .main-col .boxbox {
    transform: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.landerbox .sidebar {
    grid-column: 3;
    align-self: start;
    margin-top: 2rem;
    width: 100%;
    transform: none;
    pointer-events: all;
    z-index: 5;
}

.landerbox .sidebar .mainlink {
    width:100%;
    justify-content:center;
}

.landerbox .sidebar .sidebartop {
    padding:1rem;
}

.landerbox .sidebar .sidebarinner {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    max-width: 100%;
    pointer-events: all;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.landerbox .sidebar .vimpre {
    margin-top:1rem;
    cursor:pointer;
}

.landerbox .sidebar .vimpre:hover {
    opacity:0.5;
}

.landerbox .sidebar .sidebar-newslink {
    display:flex;
    flex-direction:column;
    gap:0.75rem;
    margin-top:1.5rem;
    padding:1.25rem 1.5rem;
    border-radius:0.75rem;
    background:linear-gradient(135deg, #1a88c2, #1278b0);
    color:#ffffff;
    border:0.1rem solid rgba(255,255,255,0.35);
    box-shadow:0 1.75rem 3.5rem rgba(18,120,176,0.25);
    text-decoration:none;
    transform:translateY(0);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.landerbox .sidebar .sidebar-newslink span {
    display:block;
    font-size:1rem;
    color:rgba(255,255,255,0.85);
}

.landerbox .sidebar .sidebar-newslink span strong {
    display:block;
    margin-top:0.25rem;
    font-size:1rem;
    color:#ffffff;
    font-weight:600;
}

.landerbox .sidebar .sidebar-newslink .flex {
    align-items:center;
    justify-content:space-between;
    color:#ffffff;
    font-size:1.05rem;
    font-weight:600;
}

.landerbox .sidebar .sidebar-newslink .flex span {
    color:#ffffff;
}

.landerbox .sidebar .sidebar-newslink:hover {
    transform:translateY(-0.1rem);
    box-shadow:0 2rem 3.5rem rgba(18,120,176,0.32);
}

.landerbox .sidebar .sidebar-newslink:focus-visible {
    outline:none;
    box-shadow:0 0 0 0.2rem rgba(255,255,255,0.4), 0 1.75rem 3.5rem rgba(18,120,176,0.25);
}

.landerbox .sidebar .sidebar-brokers {
    padding:1.5rem;
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.landerbox .sidebar .sidebar-brokers__title {
    text-transform:uppercase;
    text-align:center;
    font-size:1rem;
    color:#111111;
}

.landerbox .sidebar .sidebar-brokers__list {
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.landerbox .sidebar .sidebar-brokers__link {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:0.75rem;
    background-color:#ffffff;
    border-radius:0.75rem;
    border:0.1rem solid rgba(17,17,17,0.08);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.landerbox .sidebar .sidebar-brokers__link:hover,
.landerbox .sidebar .sidebar-brokers__link:focus-visible {
    outline:none;
    transform:translateY(-0.1rem);
    box-shadow:0 1.25rem 2.5rem rgba(18,120,176,0.25);
}

.landerbox .sidebar .sidebar-brokers__image {
    max-height:3.5rem;
    width:auto;
    display:block;
}

/* #region TOC Sidebar Contact */
.landerbox .toc-sidebar .toc-contact {
    display:flex;
    flex-direction:column;
    gap:0rem;
    margin-bottom:0.25rem;
}

.landerbox .toc-sidebar .toc-contact__heading {
    display:block;
    font-size:0.875rem;
    font-weight:700;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:#1278b0;
    padding:0 0.625rem 0.25rem;
}

.landerbox .toc-sidebar .toc-contact__link {
    display:flex;
    align-items:center;
    gap:0.375rem;
    padding:0.125rem 0.625rem;
    font-size:1rem;
    font-weight:600;
    color:#1278b0;
    text-decoration:none;
    border-radius:0.5rem;
    transition:background-color 0.2s ease, color 0.2s ease;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.landerbox .toc-sidebar .toc-contact__link:hover {
    background-color:rgba(18,120,176,0.08);
    color:#0e5f8a;
}

.landerbox .toc-sidebar .toc-contact__link .icon-tel,
.landerbox .toc-sidebar .toc-contact__link .icon-mail {
    width:0.875rem;
    height:0.875rem;
    flex-shrink:0;
}
/* #endregion TOC Sidebar Contact */

/* #region TOC Sidebar Brokers */
.landerbox .toc-sidebar .toc-sidebar-brokers {
    margin-top:0.5rem;
    padding:0.5rem 0.75rem;
    background-color:transparent;
    border-radius:0.5rem;
    box-shadow:0 1.75rem 3.5rem rgba(18,120,176,0.18);
    border:0.05rem solid rgba(18,120,176,0.12);
    display:flex;
    flex-direction:column;
    gap:0.25rem;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__title {
    text-transform:uppercase;
    text-align:center;
    font-size:1rem;
    font-weight:700;
    color:#555;
    letter-spacing:0.04em;
    margin:0;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .toc-brokers__brand {
    color:#1278b0;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .toc-brokers__symbols {
    text-align:center;
    font-size:1rem;
    font-weight:700;
    color:#1278b0;
    margin:0;
    letter-spacing:0.02em;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .toc-brokers__sym-label {
    color:#888;
    font-weight:500;
    font-size:1rem;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .sym-flag {
    height: 1rem;
    width: auto;
    border-radius: 0.125rem;
    vertical-align: middle;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__list {
    display:flex;
    flex-direction:column;
    gap:0.25rem;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__link {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:0.25rem 0.5rem;
    background-color:#ffffff;
    border-radius:0.5rem;
    border:0.1rem solid rgba(17,17,17,0.08);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__link:hover,
.landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__link:focus-visible {
    outline:none;
    transform:translateY(-0.1rem);
    box-shadow:0 0.75rem 1.5rem rgba(18,120,176,0.2);
}

.landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__image {
    max-height:2rem;
    width:auto;
    display:block;
}
/* #endregion TOC Sidebar Brokers */

.landerbox .sidebar .sidebarinner .sidebox {
    background-color:#fff;
    border-radius:1rem;
    box-shadow:0 1.75rem 3.5rem rgba(18,120,176,0.18);
    border:0.15rem solid rgba(18,120,176,0.12);
    display:flex;
    flex-direction:column;
    pointer-events:auto;
    overflow:hidden;
}

.landerbox .sidebar .sidebarinner p {
    font-size:1rem;
    margin-bottom:1rem;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__media {
    position:relative;
    overflow:hidden;
    box-shadow:0 1.25rem 2.5rem rgba(0,0,0,0.15);
}

.landerbox .sidebar .sidebarinner .sidebar-cta__media img {
    display:block;
    width:100%;
    height:auto;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__title {
    font-weight:bold;
    color:#111;
    font-size:1rem;
    margin-bottom:0.25rem;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__form {
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__label {
    position:absolute;
    width:0.0625rem;
    height:0.0625rem;
    padding:0;
    margin:-0.0625rem;
    overflow:hidden;
    clip:rect(0, 0, 0, 0);
    border:0;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__form input[type="email"],
.landerbox .sidebar .sidebarinner .sidebar-cta__form input[type="text"],
.landerbox .sidebar .sidebarinner .sidebar-cta__form input[type="tel"] {
    background-color:#f2f6fa;
    border:0.1rem solid rgba(17,17,17,0.08);
    border-radius:0.75rem;
    padding:0.75rem 1rem;
    font-size:1rem;
    font-family:inherit;
    transition:border-color 0.2s ease, box-shadow 0.2s ease;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__form input[type="email"]:focus,
.landerbox .sidebar .sidebarinner .sidebar-cta__form input[type="text"]:focus,
.landerbox .sidebar .sidebarinner .sidebar-cta__form input[type="tel"]:focus {
    outline:none;
    border-color:#1a88c2;
    box-shadow:0 0 0 0.2rem rgba(26,136,194,0.15);
}

.landerbox .sidebar .sidebarinner .sidebar-cta__checkbox {
    display:flex;
    align-items:center;
    gap:0.75rem;
    font-size:1rem;
    line-height:1.5;
    color:#3c3c3c;
    cursor:pointer;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__checkbox input {
    width:1.5rem;
    height:1.5rem;
    border:0.15rem solid rgba(17,17,17,0.3);
    border-radius:0.25rem;
    background-color:#ffffff;
    accent-color:#1a88c2;
    transition:border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor:pointer;
    flex-shrink:0;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__checkbox input:focus {
    outline:none;
    box-shadow:0 0 0 0.25rem rgba(26,136,194,0.25);
    border-color:#1a88c2;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__checkbox input:hover {
    border-color:#1a88c2;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__submit {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg, #1a88c2, #1278b0);
    color:#fff;
    border:none;
    border-radius:0.75rem;
    padding:1rem 1.25rem;
    font-size:1.1rem;
    font-weight:600;
    cursor:pointer;
    transition:transform 0.2s ease, box-shadow 0.2s ease;
    text-transform:none;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__submit:hover {
    transform:translateY(-0.1rem);
    box-shadow:0 1rem 2rem rgba(26,136,194,0.25);
}

.landerbox .sidebar .sidebarinner .sidebar-cta__submit:focus {
    outline:none;
    box-shadow:0 0 0 0.25rem rgba(26,136,194,0.3);
}

.landerbox .sidebar .sidebarinner .sidebar-cta__watchlist {
    border-top:0.1rem solid rgba(17,17,17,0.07);
    padding-top:1.5rem;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__watchlist h5 {
    font-size:1.1rem;
    font-weight:600;
    text-align:center;
    margin-bottom:1.25rem;
    color:#111;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__watchlist-logos {
    display:flex;
    justify-content:space-between;
    gap:1rem;
}

.landerbox .sidebar .sidebarinner .sidebar-cta__logo {
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    background-color:#f2f6fa;
    border:0.1rem solid rgba(26,136,194,0.15);
    border-radius:0.75rem;
    padding:1rem;
    font-size:0.95rem;
    font-weight:600;
    text-align:center;
    color:#1278b0;
}

/* #region DEPRECATED - Old Sticky CTA Bottom (replaced with popup modal) */
/*
.cta-bottom {
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    background-color:#ffffff;
    box-shadow:0 -0.75rem 2.5rem rgba(17,17,17,0.12);
    border-top:0.1rem solid rgba(26,136,194,0.15);
    transform:translateY(100%);
    opacity:0;
    transition:transform 0.4s ease, opacity 0.4s ease;
    z-index:20;
    pointer-events:none;
}

.cta-bottom .mainlink {
    justify-content:center;
    width:100%;
}

.cta-bottom.is-visible {
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
}

.cta-bottom .boxbox {
    transform:none;
    width: var(--site-max-w);
    max-width:unset !important;
    padding:0.5rem 0;
}

.cta-bottom__form {
    display:flex;
    align-items:center;
    justify-content:space-between;
    column-gap:1.5rem;
    row-gap:0.25rem;
    flex-wrap:wrap;
}

.cta-bottom__segment {
    display:flex;
    flex-direction:column;
}

.cta-bottom__segment--copy {
    flex:1 1 18rem;
    max-width:26rem;
}

.cta-bottom__segment--copy h4 {
    font-size:1.5rem;
    font-weight:600;
    color:#111111;
}

.cta-bottom__segment--copy p {
    margin:0;
    font-size:1.1rem;
    color:#2a2a2a;
}

.cta-bottom__segment--email {
    flex:1 1 18rem;
}

.cta-bottom__segment--phone {
    flex:0 1 12rem;
}

.cta-bottom__segment--consent {
    flex:1 1 100%;
    min-width:0;
    width:100%;
}

.cta-bottom__label {
    position:absolute;
    width:0.0625rem;
    height:0.0625rem;
    padding:0;
    margin:-0.0625rem;
    overflow:hidden;
    clip:rect(0, 0, 0, 0);
    border:0;
}

.cta-bottom__input {
    width:100%;
    background-color:#f2f6fa;
    border:0.1rem solid rgba(17,17,17,0.12);
    border-radius:0.75rem;
    padding:0.5rem 1rem;
    font-size:1.05rem;
    font-family:inherit;
    transition:border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-bottom__input:focus {
    outline:none;
    border-color:#1a88c2;
    box-shadow:0 0 0 0.25rem rgba(26,136,194,0.2);
}

.cta-bottom__checkbox {
    display:flex;
    align-items:flex-start;
    gap:0.5rem;
    font-size:0.75rem;
    line-height:1.5;
    color:#3c3c3c;
    cursor:pointer;
}

.cta-bottom__checkbox .consent-disclaimer {
    min-width:0;
    flex:1 1 auto;
}

.cta-bottom__checkbox input {
    width:1rem;
    height:1rem;
    border:0.15rem solid rgba(17,17,17,0.3);
    border-radius:0.25rem;
    background-color:#ffffff;
    accent-color:#1a88c2;
    transition:border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor:pointer;
    flex-shrink:0;
}

.cta-bottom__checkbox input:focus {
    outline:none;
    box-shadow:0 0 0 0.25rem rgba(26,136,194,0.25);
    border-color:#1a88c2;
}

.cta-bottom__checkbox input:hover {
    border-color:#1a88c2;
}

.cta-bottom__actions {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0.25rem;
}

.cta-bottom__submit {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0.9rem 1.75rem;
    border-radius:0.75rem;
    background:linear-gradient(135deg, #1a88c2, #1278b0);
    color:#ffffff;
    font-size:1.05rem;
    font-weight:600;
    border:none;
    cursor:pointer;
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-bottom__submit:hover {
    transform:translateY(-0.1rem);
    box-shadow:0 1rem 2rem rgba(18,120,176,0.25);
}

.cta-bottom__submit:focus {
    outline:none;
    box-shadow:0 0 0 0.25rem rgba(26,136,194,0.3);
}
*/
/* #endregion */

header .logo span {
    font-size:0.8rem;
    text-align:center;
    color:#354872;
    margin-bottom:0.5rem;
}

@media only screen and (max-width:1600px) {
    .boxbox {
        max-width:800px;
    }

    .hero .boxbox {
        max-width:1200px;
        transform:none;
    }

    header .boxbox {
        max-width:1200px;
    }

    .landerbox h2 {
        font-size:1.75rem;
    }

    .landerbox h3, .landerbox h3 span {
        font-size:1.75rem;
    }

    .landerbox p, .landerbox ol li, .landerbox ul li {
        font-size:1.25rem;
    }

    .landerbox .highlights .item p {
        font-size:1rem;
    }

    /* DEPRECATED - moved to popup modal
    .cta-bottom .boxbox {
        max-width:1200px;
        width:90vw;
    }

    .cta-bottom__checkbox {
        font-size:0.75rem;
    }
    */
}

@media only screen and (max-width: 1400px) {
    .header .subheader .contact a:last-of-type {
        display:flex;
    }
}

/* Compact TOC on laptop */
@media (min-width: 1351px) and (max-width: 1600px) {
    .landerbox .toc-nav__link {
        font-size: 0.8125rem;
        padding: 0.3125rem 0.75rem;
    }

    .landerbox .toc-nav__title {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }

    .landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__image {
        max-height: 1.625rem;
    }

    .landerbox .toc-sidebar .toc-sidebar-brokers {
        margin-top: 0.5rem;
        padding: 0.5rem;
        gap: 0.375rem;
    }

    .landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__link {
        padding: 0.25rem 0.375rem;
    }

    .landerbox .toc-sidebar .toc-sidebar-brokers .sidebar-brokers__title,
    .landerbox .toc-sidebar .toc-sidebar-brokers .toc-brokers__symbols {
        font-size: 0.8125rem;
    }

    .landerbox .toc-sidebar .toc-sidebar-brokers .toc-brokers__sym-label {
        font-size: 0.8125rem;
    }

    .landerbox .toc-sidebar .toc-contact__link {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
    }

    .landerbox .toc-sidebar .toc-contact__link .icon-tel,
    .landerbox .toc-sidebar .toc-contact__link .icon-mail {
        width: 0.75rem;
        height: 0.75rem;
    }

    .subscribe-form-modal__input {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }

    .subscribe-form-modal__label {
        font-size: 0.8125rem;
    }
}

/* Hide TOC at narrower viewports, collapse grid */
@media (max-width: 1350px) {
    .landerbox {
        grid-template-columns: minmax(0, 1fr) 22rem;
    }

    .landerbox .toc-sidebar {
        display: none;
    }

    .landerbox .main-col {
        grid-column: 1;
    }

    .landerbox .sidebar {
        grid-column: 2;
    }
}

/* Collapse sidebar below content at narrow widths */
@media (max-width: 1100px) {
    .landerbox {
        grid-template-columns: minmax(0, 44rem);
    }

    .landerbox .sidebar {
        grid-column: 1;
        position: static;
        max-height: none;
        overflow-y: visible;
        width: 90vw;
        max-width: 44rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .landerbox .sidebar .sidebarinner {
        gap: 2rem;
    }

    .landerbox .sidebar .sidebartop,
    .landerbox .sidebar .sidebox {
        background-color:#ffffff;
        border-radius:1rem;
        border:0.1rem solid rgba(18,120,176,0.12);
        box-shadow:0 1.5rem 3rem rgba(18,120,176,0.12);
        padding:1.5rem;
    }

    .landerbox .sidebar .sidebartop {
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:1rem;
    }

    .landerbox .sidebar .sidebartop img {
        max-width:14rem;
        width:100%;
        height:auto;
    }

    .landerbox .sidebar .sidebartop p {
        margin-bottom:0;
        font-size:1.1rem;
    }

    .landerbox .sidebar .sidebartop h4 {
        margin-bottom:0.5rem;
    }

    .landerbox .sidebar .mainlink {
        width:100%;
        justify-content:center;
    }

    .landerbox .sidebar .sidebar-cta__form {
        padding:1rem;
        background-color:#ffffff;
        border-radius:1rem;
        border:0.1rem solid rgba(18,120,176,0.12);
        box-shadow:0 1.5rem 3rem rgba(18,120,176,0.12);
    }

    .landerbox .sidebar .vimpre,
    .landerbox .sidebar .sidebar-brokers,
    .landerbox .sidebar .vidwatch {
        display:none;
    }

    .boxbox {
        max-width:100%;
    }

    header .boxbox {
        max-width:1000px;
    }

    .landerbox .pagebreak h5 {
        left:50%;
    }
}

header .subheader {
    background:linear-gradient(45deg, #1f519f, #1f84bd)
}

@media only screen and (max-width: 1200px) {
    .header .subheader .symbol:last-of-type {
        display:block;
    }
}

/* DEPRECATED - moved to popup modal
@media (max-width: 1050px) {
    .cta-bottom__segment--copy {
        display:none;
    }
}
*/

/* DEPRECATED - moved to popup modal
@media (max-width: 700px) {
    .cta-bottom__form {
        justify-content:center;
    }

    .cta-bottom__segment--email,
    .cta-bottom__segment--copy,
    .cta-bottom__segment--consent {
        width:100%;
    }

    .cta-bottom__actions {
        align-items:center;
    }

    .cta-bottom__checkbox {
        justify-content:center;
        text-align:center;
    }
}
*/

@media (max-width: 500px) {
    /* DEPRECATED - moved to popup modal
    .cta-bottom__segment,
    .cta-bottom__actions {
        width:100%;
    }

    .cta-bottom__actions {
        flex-direction:column;
        align-items:center;
        gap:0.75rem;
    }

    .cta-bottom__submit {
        width:auto;
        min-width:12rem;
        justify-content:center;
    }
    */

    .landerbox .sidebar .sidebartop,
    .landerbox .sidebar .sidebox,
    .landerbox .sidebar .sidebar-cta__form {
        padding:1rem;
    }

    .landerbox .sidebar .sidebartop img {
        max-width:10rem;
    }

    .landerbox .sidebar .sidebartop p {
        font-size:1rem;
    }

    .landerbox p, .landerbox ol li, .landerbox ul li {
        font-size:1rem;
    }

    .landerbox h2, .landerbox h2 span {
        font-size:1.25rem;
    }

    .landerbox h3, .landerbox h3 span {
        font-size:1.25rem;
    }
}

@media only screen and (max-width: 400px) {
    .landerbox h2, .landerbox h2 span {
        font-size:1.125rem;
    }

    .landerbox h3, .landerbox h3 span {
        font-size:1.125rem;
    }
}

@media only screen and (max-width: 900px) {
    .landerbox .pagebreak h5 {
        font-size: 2.5rem;
    }
}

.header .subheader .quote {
    padding-top:0;
    padding-bottom:0;
}

@media only screen and (max-width: 750px) {
    .header .subheader .quote {
        margin-left:auto;
        margin-right:auto;
    }

    .landerbox .quote img {
        margin-right:auto;
    }

    .landerbox .pagebreak h5 {
        font-size: 2rem;
        padding: 0.375rem 0.75rem;
    }

    .landerbox .magflex .highlights .item {
        transform:none !important;
    }

    .landerbox .sidebar .sidebarinner {
        gap:1.5rem;
    }

    .landerbox .sidebar .sidebartop,
    .landerbox .sidebar .sidebox,
    .landerbox .sidebar .sidebar-cta__form {
        padding:1.25rem;
    }

    .landerbox .sidebar .sidebartop img {
        max-width:12rem;
    }

    h1, h1 span {
        font-size:2rem;
    }
    
    .landerbox h2 {
        font-size:1.5rem;
    }

    .landerbox h3, .landerbox h3 span {
        font-size:1.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .landerbox .pagebreak h5 {
        font-size: 1.5rem;
        padding: 0.25rem 0.5rem;
    }
}

@media only screen and (max-width: 500px) {
    .header .subheader .quote {
        padding-top:0;
    }


}

@media only screen and (max-width: 400px) {
    h1, h1 span {
        font-size:1.5rem;
    }

    .header .subheader .quote .symbol:last-of-type {
        display:none;
    }

    .header .subheader .quote .chart:last-of-type {
        display:none;
    }

    .header .subheader .quote .symbol:first-of-type {
        padding-right:0;
        margin-right:0;
        border-right:none;
    }
}

@media only screen and (max-width: 350px) {
    .header .subheader .chart {
        display:block;
    }
}

.landerbox .brokerages {
    padding:2rem;
    background-color:#fff;
    border-radius:1rem;
    box-shadow:0 0 25px 0 rgba(0,0,0,0.025);
}

.brokers img {
    max-height:6rem;
    max-width:20rem;
    transition:all 0.3s;
}

@media (max-width:600px) {
    .brokers img {
        max-width:100%;
    }

    form .symbols {
        flex-direction:column;
        row-gap:0.5rem;
    }
}

.brokers:hover img {
    opacity: 0.5;
}

.brokers img:hover {
    opacity: 1;
}

.advertorial {
    text-align:center;
    color:#fff;
}

.herounder {
    background-image:url('images/fan_header.jpg');
}

.scrolled .logo img {
    margin-bottom:0;
    margin-top:0;
    height:4rem;
}

/* #region Header Overrides */
.header {
    box-shadow: 0 4px 20px 0 rgba(31, 81, 159, 0.12);
}

/* Prevent FAN.css scrolled-state from resizing the header */
.scrolled .logo img {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.header .subheader {
    padding:0;
}

.header .subheader .contact {
    padding-right: 0 !important;
}

.header .mainheader {
    border-bottom: none;
    padding-bottom:0;
    padding-top:0;
}

.header .logo img {
    margin-top:1rem;
}

.header .mainheader .boxbox {
    justify-content: center;
}

.header .mainheader .logo {
    align-items: center;
}

.header .stockbar {
    background: linear-gradient(45deg, #1f519f, #1f84bd);
    padding: 0.5rem 0;
}

.header .stockbar .quote {
    color: #fff;
    padding: 0;
}

.header .stockbar .quote a {
    color: #fff;
    font-weight: bold;
}

.header .stockbar .chart {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    background-color: #fff;
    -webkit-mask: url("/images/svg/chart.svg") no-repeat center / contain;
    mask: url("/images/svg/chart.svg") no-repeat center / contain;
}

.header .stockbar .symbol {
    background-size: auto 60%;
    background-repeat: no-repeat;
    background-position: center left;
    padding-right: 1rem;
    color: #fff;
}

.header .stockbar .symbol:not(:last-of-type) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    margin-right: 1rem;
}

@media only screen and (max-width: 750px) {
    .header .stockbar .quote {
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 400px) {
    .header .stockbar .symbol:last-of-type {
        display: none;
    }

    .header .stockbar .chart:last-of-type {
        display: none;
    }

    .header .stockbar .symbol:first-of-type {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
    }
}
/* #endregion */

.landerbox .titlebox {
    max-width:1400px;
    transform:unset;
}

/* #region Section & Paragraph Spacing */
.landerbox .main-col > div {
    padding-top: 2.5rem;
    padding-bottom: 0;
}

.landerbox .main-col > div:first-child {
    padding-top: 0;
}


.landerbox p {
    margin-bottom: 1rem;
}

.landerbox p:last-child {
    margin-bottom: 0;
}

.landerbox figure {
    margin: 1.5rem 0;
}

.landerbox h2 {
    margin-bottom: 1.25rem;
}

.landerbox h3 {
    margin-bottom: 1.25rem;
}

.landerbox ol, .landerbox ul {
    margin-top: 1rem;
}

.landerbox ol li, .landerbox ul li {
    margin-bottom:0;
}
/* #endregion */