/* Sunlux legal documents: an integrated chapter column and a plain reading column. */
body:has(.sunlux-legal) .content-main { background: #fff; }
body:has(.sunlux-legal) .container-main { padding: 0; }
.sunlux-legal {
    --legal-page-width: min(calc(100% - 64px), 1540px);
    --legal-purple: #57466f;
    --legal-ink: #18233a;
    --legal-line: #e7e1ec;
    --legal-anchor-offset: 190px;
    --legal-sticky-top: 56px;
    color: var(--legal-ink);
    font-size: 16px;
    scroll-margin-top: var(--legal-anchor-offset);
}
.sunlux-legal *, .sunlux-legal *::before, .sunlux-legal *::after { box-sizing: border-box; }
.sunlux-legal [hidden] { display: none !important; }
.sunlux-legal a:focus-visible { outline: 3px solid var(--legal-purple); outline-offset: 4px; }
.sunlux-legal__intro { background: #f7f4f9; border-bottom: 1px solid var(--legal-line); }
.sunlux-legal__intro-inner { width: var(--legal-page-width); margin-inline: auto; padding: 26px 0 48px; }
.sunlux-legal__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    color: #6d6479;
    font-size: 13px;
    line-height: 1.5;
}
.sunlux-legal__breadcrumb a { color: var(--legal-purple); text-decoration: none; }
.sunlux-legal__breadcrumb a:hover { text-decoration: underline; }
.sunlux-legal__breadcrumb > span[aria-hidden] { color: #aaa1b4; }
.sunlux-legal__hero h1, .sunlux-legal__hero h1 * {
    color: var(--legal-ink) !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    font-size: inherit;
    line-height: inherit;
}
.sunlux-legal__hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(32px, 3.5vw, 48px) !important;
    line-height: 1.16 !important;
    letter-spacing: -.03em;
    text-align: left !important;
}
.sunlux-legal__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    width: var(--legal-page-width);
    margin-inline: auto;
    padding: 56px 0 30px;
}
.sunlux-legal--has-contents .sunlux-legal__layout {
    grid-template-columns: 250px minmax(0, 1fr);
    justify-content: stretch;
    gap: clamp(40px, 6.5vw, 92px);
}
.sunlux-legal--compact .sunlux-legal__main { max-width: 100%; }
.sunlux-legal__aside { align-self: start; position: sticky; top: var(--legal-sticky-top); min-width: 0; }
.sunlux-legal--long-contents .sunlux-legal__aside { position: static; }
.sunlux-legal .sunlux-legal__contents h2 {
    margin: 0 0 18px;
    color: var(--legal-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
}
.sunlux-legal__contents ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sunlux-legal__contents li { margin: 0; padding: 0; }
.sunlux-legal__contents a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    min-height: 24px;
    padding: 3px 0;
    color: #6d6479;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.sunlux-legal__contents a::before { content: attr(data-legal-number); color: #8b7b9d; font-size: 12px; font-variant-numeric: tabular-nums; }
.sunlux-legal__contents a:hover { color: var(--legal-purple); text-decoration: underline; text-underline-offset: 3px; }
.sunlux-legal__contents a[aria-current='location'] { color: var(--legal-purple); font-weight: 800; }
.sunlux-legal__nav { width: var(--legal-page-width); margin: 24px auto 0; padding: 24px 0 48px; border-top: 1px solid var(--legal-line); }
.sunlux-legal .sunlux-legal__nav-title { margin: 0 0 14px; color: #6d6479; font-size: 13px; font-weight: 700; line-height: 1.5; }
.sunlux-legal .sunlux-legal__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.sunlux-legal__links li { margin: 0; padding: 0; }
.sunlux-legal__links a { display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--legal-purple); font-size: 14px; line-height: 1.4; text-decoration: none; }
.sunlux-legal__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sunlux-legal__links a[aria-current='page'] { font-weight: 800; }
.sunlux-legal__links svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sunlux-legal__links .sunlux-legal__arrow { display: none; }
.sunlux-legal__main { min-width: 0; }
.sunlux-legal__document {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-wrap: anywhere;
}
.sunlux-legal__document-label {
    margin: 0 0 14px;
    color: var(--legal-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}
.sunlux-legal__document .cms-section,
.sunlux-legal__document .cms-section-default.boxed,
.sunlux-legal__document .cms-block,
.sunlux-legal__document .cms-block-container {
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
    background: transparent;
}
.sunlux-legal__document .cms-block-container-row { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 0; }
.sunlux-legal__document .cms-block-container-row > * { min-width: 0; padding-inline: 0; }
.sunlux-legal__document .cms-element-text { color: var(--legal-ink); font-size: 16px; line-height: 1.8; }
.sunlux-legal__document .cms-element-text * { font-family: inherit !important; }
/* Older privacy documents contain fixed heights, widths and inline typography. */
.sunlux-legal__document .section__wrap,
.sunlux-legal__document .section__header {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
.sunlux-legal__document .cms-element-text font { color: inherit !important; }
.sunlux-legal__document .cms-element-text h1,
.sunlux-legal__document .cms-element-text h1 * {
    color: var(--legal-ink) !important;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700 !important;
    line-height: inherit;
}
.sunlux-legal__document .cms-element-text h1 {
    margin: 0 0 28px !important;
    padding: 0 0 22px !important;
    color: var(--legal-ink) !important;
    border-bottom: 1px solid var(--legal-line);
    font-size: clamp(28px, 2.7vw, 38px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.03em;
    text-align: left !important;
}
.sunlux-legal__document .cms-element-text h2,
.sunlux-legal__document .cms-element-text h3 {
    margin: 32px 0 14px !important;
    color: var(--legal-ink) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -.015em;
    text-align: left !important;
    scroll-margin-top: var(--legal-anchor-offset);
}
.sunlux-legal__document .cms-element-text h3 { font-size: 18px !important; }
.sunlux-legal__document .cms-element-text .sunlux-legal__paragraph-heading {
    margin: 0 0 18px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    letter-spacing: normal;
}
.sunlux-legal__document .cms-element-text p {
    margin: 0 0 18px !important;
    color: inherit !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}
.sunlux-legal__document .cms-element-text a { color: var(--legal-purple); text-decoration: underline; text-underline-offset: 3px; }
.sunlux-legal__document .cms-element-text a:hover { color: #382a4b; }
.sunlux-legal__document .cms-element-text ul,
.sunlux-legal__document .cms-element-text ol { padding-left: 24px; }
.sunlux-legal__document .cms-element-text li { margin-bottom: 8px; }
.sunlux-legal__document .cms-element-text hr { width: 100%; margin: 24px 0; border-color: var(--legal-line); }
.sunlux-legal__document .cms-element-text h1 + hr { display: none; }
.sunlux-legal__document .cms-element-text > :last-child { margin-bottom: 0; }
.sunlux-legal__document table { display: block; max-width: 100%; overflow-x: auto; }
.sunlux-legal__document img { max-width: 100%; height: auto; }
.sunlux-legal__bottom { display: flex; justify-content: flex-end; padding: 20px 4px 0; }
.sunlux-legal__bottom a { color: var(--legal-purple); font-size: 13px; font-weight: 700; text-decoration: none; }
.sunlux-legal__bottom a span { margin-left: 8px; }
.sunlux-legal__bottom a:hover { text-decoration: underline; }

.sunlux-legal__document .standard-document > h2:first-child { margin-top: 0 !important; }
.sunlux-legal--enhanced .sunlux-legal__document > .sunlux-legal__document-label,
.sunlux-legal__document .sunlux-legal__title-rule { display: none; }
.sunlux-legal__document .sunlux-legal__anchor { scroll-margin-top: var(--legal-anchor-offset); }

.sunlux-legal__document .cms-element-text .sunlux-legal__anchor {
    margin-top: 44px !important;
    padding-top: 30px;
    border-top: 1px solid var(--legal-line);
    scroll-margin-top: var(--legal-anchor-offset);
}
.sunlux-legal__document .cms-element-text .sunlux-legal__first-chapter { margin-top: 0 !important; padding-top: 0; border-top: 0; }
@media (max-width: 991.98px) {
    .sunlux-legal { --legal-anchor-offset: 170px; --legal-sticky-top: 56px; }
    .sunlux-legal--has-contents .sunlux-legal__layout { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 820px) {
    .sunlux-legal { --legal-page-width: calc(100% - 40px); --legal-anchor-offset: 130px; }
    .sunlux-legal__intro-inner { padding: 20px 0 34px; }
    .sunlux-legal__breadcrumb { gap: 9px; margin-bottom: 28px; font-size: 12px; }
    .sunlux-legal__hero h1 { font-size: 32px !important; }
    .sunlux-legal__layout, .sunlux-legal--has-contents .sunlux-legal__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 34px 0 20px; }
    .sunlux-legal__aside { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--legal-line); }
    .sunlux-legal__contents ol { gap: 0; }
    .sunlux-legal__contents a { align-items: baseline; min-height: 44px; padding-block: 10px; font-size: 14px; }
    .sunlux-legal__document-label { font-size: 10px; letter-spacing: .09em; }
    .sunlux-legal__document .cms-element-text h1 { font-size: 28px !important; }
    .sunlux-legal__document .cms-element-text h2 { font-size: 24px !important; }
    .sunlux-legal__document .cms-element-text .sunlux-legal__paragraph-heading { font-size: 16px !important; }
    .sunlux-legal__document .cms-element-text .sunlux-legal__anchor { margin-top: 36px !important; padding-top: 26px; }
    .sunlux-legal__document .cms-element-text .sunlux-legal__first-chapter { margin-top: 0 !important; padding-top: 0; }
    .sunlux-legal__nav { padding-bottom: 32px; }
    .sunlux-legal .sunlux-legal__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sunlux-legal__links a { min-height: 44px; font-size: 13px; }
}
@media print {
    .sunlux-legal__intro { background: none; }
    .sunlux-legal__intro-inner { padding: 20px 0; }
    .sunlux-legal__aside, .sunlux-legal__breadcrumb, .sunlux-legal__bottom, .sunlux-legal__nav { display: none !important; }
    .sunlux-legal__layout, .sunlux-legal--has-contents .sunlux-legal__layout { display: block; padding: 24px 0; }
}
