.with-eye > button.password-visibility {
    position: absolute;
    top: 0;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
}
.with-eye > button.password-visibility svg { position: static; fill: currentColor; }
.with-eye > button.password-visibility[aria-pressed="true"] { color: #1b58a6; }
.rd-remember { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.rd-remember input[type="checkbox"] { display: inline-block; position: static; width: 20px; height: 20px; margin: 0; accent-color: #1b58a6; }
.rd-frontend a:focus-visible, .rd-frontend button:focus-visible, .rd-frontend input:focus-visible {
    outline: 3px solid #173e75;
    outline-offset: 3px;
}
.rd-frontend .login__subtitle a { color: #174d93; text-decoration: underline; }
.rd-public .rd-page-title { font-size: 36px; font-weight: 400; line-height: 1.25; margin: 20px 0; }
.rd-public .banner_text h2, .rd-public .banner_icons h2 { font-size: 30px; line-height: 1.3; margin: 20px 0 10px; }
.rd-mobile-availability { margin: 16px 0; line-height: 1.6; }
.rd-mobile-availability a { text-decoration: underline; }
.rd-footer-address { display: block; margin-bottom: 15px; }
@media (max-width: 480px) { .rd-public .rd-page-title { font-size: 28px; } }

.rd-public .faq h2.question_content { font-size: inherit; line-height: inherit; margin: 0; }

/* Descriptive copy shares one alignment across the public website. */
body.rd-public#homepage #main_content p:not(:where(#headerwrap, h1, h2, h3, h4, h5, h6, nav, form, [role="alert"]) p):not(.rd-ebol-video__link, .support-note, .text-center, .text-right, .rd-screening-eyebrow),
body.rd-public#homepage #main_content .faq .answer,
body.rd-public#homepage #footerwrap .about p {
    text-align: justify;
    text-align-last: left;
}

body.rd-public#homepage #main_content .rd-ebol-video {
    margin: 24px 0;
    padding: 28px;
    border: 1px solid #d9e2ee;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
body.rd-public#homepage #main_content .rd-ebol-video h2 {
    margin: 0 0 20px;
    color: #071568;
    font-size: clamp(24px, 2.3vw, 30px);
    line-height: 1.3;
}
body.rd-public#homepage #main_content .rd-ebol-video__player {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 8px;
    background: #071568;
}
body.rd-public#homepage #main_content .rd-ebol-video__player:focus-visible {
    outline: 3px solid #173e75;
    outline-offset: 3px;
}
body.rd-public#homepage #main_content .rd-ebol-video__link { margin: 16px 0 0; }
body.rd-public#homepage #main_content .rd-ebol-video__link a { color: #174d93; text-decoration: underline; }
@media (max-width: 575px) {
    body.rd-public#homepage #main_content .rd-ebol-video { padding: 16px; }
}

/* Public marketing pages use contained grids instead of escaped legacy floats. */
body.rd-public#homepage #main_content .rd-marketing-page { padding-top: 4px; padding-bottom: 24px; }
body.rd-public#homepage #main_content .rd-marketing-page .banner_content.rd-marketing-section {
    display: flow-root;
    margin: 24px 0;
    padding: 28px;
    border: 1px solid #d9e2ee;
    border-radius: 12px;
    background: #fff;
}
body.rd-public#homepage #main_content .rd-marketing-section.banner_content:not(.banner_icons) > .clearfix {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 30px;
    margin: 0 !important;
}
body.rd-public#homepage #main_content .rd-marketing-section.banner_content > .clearfix::before,
body.rd-public#homepage #main_content .rd-marketing-section.banner_content > .clearfix::after { display: none; }
body.rd-public#homepage #main_content .rd-marketing-section.banner_content .banner_text,
body.rd-public#homepage #main_content .rd-marketing-section.banner_content .banner_image {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}
body.rd-public#homepage #main_content .rd-marketing-section.image-left .banner_image { grid-column: 1; grid-row: 1; }
body.rd-public#homepage #main_content .rd-marketing-section.image-left .banner_text { grid-column: 2; grid-row: 1; }
body.rd-public#homepage #main_content .rd-marketing-section.banner_content .banner_image img.banner {
    display: block;
    width: 100%;
    height: auto;
    max-height: 550px;
    margin: 0;
    object-fit: contain;
}
body.rd-public#homepage #main_content .rd-marketing-section.banner_content h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.3vw, 30px);
    line-height: 1.3;
}
body.rd-public#homepage #main_content .rd-marketing-section.banner_content ul { margin: 0; padding-left: 22px; }
body.rd-public#homepage #main_content .rd-marketing-section.banner_content ul li { margin-bottom: 9px; line-height: 1.65; }
body.rd-public#homepage #main_content .rd-marketing-section.banner_icons > .clearfix { margin: 0 0 24px !important; }
body.rd-public#homepage #main_content .rd-marketing-section.banner_icons h2 { margin: 0; text-align: center; }
body.rd-public#homepage #main_content .rd-marketing-section .banner_icon_list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    width: 100%;
}
body.rd-public#homepage #main_content .rd-marketing-section .banner_icon_list-grid .banner_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
}
body.rd-public#homepage #main_content .rd-marketing-section .banner_icon .img_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 0;
    width: 100%;
    height: 100px;
    margin: 0 0 14px;
}
body.rd-public#homepage #main_content .rd-marketing-section .banner_icon .img_wrapper img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 90px;
    margin: 0;
}
body.rd-public#homepage #main_content .rd-marketing-section .banner_icon h3 {
    order: 1;
    width: 100%;
    min-height: 2.7em;
    margin: 0 0 10px;
    color: #071568;
    font-size: 21px;
    line-height: 1.35;
}
body.rd-public#homepage #main_content .rd-marketing-section .banner_icon p {
    order: 2;
    width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}
body.rd-public#homepage #headerwrap { color: #fff; padding: 28px 0 36px !important; }
body.rd-public#homepage #headerwrap :is(h1, p) { color: #fff; }
body.rd-public#homepage #headerwrap h1.rd-page-title { margin: 0 0 16px; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.25; }
body.rd-public#homepage #headerwrap h1 .orange { color: #ffb399; }

/* FAQ headings remain readable when stored question markup contains its own tags. */
body.rd-public#homepage .container.faq { padding-top: 32px; padding-bottom: 32px; }
body.rd-public#homepage .faq .faq-item { margin: 0 0 20px; }
body.rd-public#homepage .faq .question {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: stretch;
    padding: 0;
    background: #071568;
    border-radius: 7px 7px 0 0;
    overflow: hidden;
}
body.rd-public#homepage .faq .question .question_mark {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: auto;
    height: auto;
    padding: 12px 0;
    margin: 0;
    color: #fff;
    background: #ce380a;
    font-size: 22px;
}
body.rd-public#homepage .faq h2.question_content {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 50px;
    margin: 0;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}
body.rd-public#homepage .faq .question_content,
body.rd-public#homepage .faq .question_content * { color: #fff !important; }
body.rd-public#homepage .faq .answer { margin: 0; padding: 18px 20px; background: #f4f6fa; font-size: 15px; line-height: 1.7; border-radius: 0 0 7px 7px; }
body.rd-public#homepage .faq .answer p { margin: 0 0 12px; }
body.rd-public#homepage .faq .answer p:last-child { margin-bottom: 0; }
body.rd-public#homepage .faq .answer a { color: #174d93; text-decoration: underline; }
body.rd-public#homepage .faq .answer .rd-mobile-availability { margin: 0; }

/* Support keeps its existing validation, consent text, and security verification. */
body.rd-public#homepage .top_banner.contact_us .container {
    display: flex;
    align-items: center;
    min-height: 240px;
    padding-top: 32px;
    padding-bottom: 32px;
}
body.rd-public#homepage .top_banner.contact_us h1.rd-page-title { max-width: 58%; margin: 0; color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; }
body.rd-public#homepage #support-page .support-actions { margin-top: 12px; }
body.rd-public#homepage #support-page .support-actions .reliant-communication-consent { margin-top: 10px !important; }
body.rd-public#homepage #support-page .support-actions .rd-security-field:empty { display: none; }
body.rd-public#homepage #bottom_banner .container { padding-top: 28px; padding-bottom: 30px; }

@media (max-width: 991px) {
    body.rd-public#homepage #main_content .rd-marketing-section.banner_content:not(.banner_icons) > .clearfix { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    body.rd-public#homepage #main_content .rd-marketing-section.image-left .banner_image,
    body.rd-public#homepage #main_content .rd-marketing-section.image-left .banner_text { grid-column: auto; grid-row: auto; }
    body.rd-public#homepage #main_content .rd-marketing-section.banner_content .banner_image { width: 100%; max-width: 620px; margin: 0 auto; }
    body.rd-public#homepage #main_content .rd-marketing-section .banner_icon_list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
    body.rd-public#homepage .top_banner.contact_us .container { min-height: 170px; }
    body.rd-public#homepage .top_banner.contact_us h1.rd-page-title { max-width: 100%; }
}
@media (max-width: 575px) {
    body.rd-public#homepage #main_content .rd-marketing-page { padding-left: 16px; padding-right: 16px; padding-bottom: 16px; }
    body.rd-public#homepage #main_content .rd-marketing-page .banner_content.rd-marketing-section { margin: 18px 0; padding: 20px 16px; }
    body.rd-public#homepage #main_content .rd-marketing-section .banner_icon_list-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    body.rd-public#homepage #main_content .rd-marketing-section .banner_icon h3 { min-height: 0; }
    body.rd-public#homepage .faq .question { grid-template-columns: 40px minmax(0, 1fr); }
    body.rd-public#homepage .faq h2.question_content { font-size: 15px; padding: 12px; }
    body.rd-public#homepage .faq .answer { padding: 16px; }
}

/* Device frames contain unchanged captures of the running applications. */
body.rd-public#homepage .rd-capture-link { display: block; }
body.rd-public#homepage .rd-capture-link:focus-visible { outline: 3px solid #ec650b; outline-offset: 4px; }
body.rd-public#homepage .rd-device { position: relative; box-sizing: border-box; margin: 16px auto 34px; background: #101216; border: 7px solid #25282f; box-shadow: 0 16px 25px -14px #1a2c4c66; }
body.rd-public#homepage .rd-device--iphone,
body.rd-public#homepage .rd-device--samsung { width: min(100%, 300px); padding: 2px; border-radius: 38px; }
body.rd-public#homepage .rd-device--samsung { border-color: #52565c; border-radius: 25px; }
body.rd-public#homepage #main_content .rd-device img.banner { width: 100%; height: auto; max-height: none; margin: 0; }
body.rd-public#homepage .rd-device--iphone img { border-radius: 29px; }
body.rd-public#homepage .rd-device--samsung img { border-radius: 16px; }
body.rd-public#homepage .rd-device--samsung::before { content: ""; position: absolute; top: 7px; left: 50%; width: 6px; height: 6px; transform: translateX(-50%); border-radius: 50%; background: #050505; z-index: 1; }
body.rd-public#homepage .rd-device--monitor,
body.rd-public#homepage .rd-device--laptop { width: 100%; border-radius: 9px; }
body.rd-public#homepage .rd-device--monitor::before { content: ""; position: absolute; top: 100%; left: 43%; width: 14%; height: 30px; background: linear-gradient(90deg,#797f89,#d6d9dd,#9298a2); }
body.rd-public#homepage .rd-device--monitor::after { content: ""; position: absolute; top: calc(100% + 25px); left: 30%; width: 40%; height: 6px; border-radius: 50% 50% 3px 3px; background: #aeb4bd; }
body.rd-public#homepage .rd-device--laptop::after { content: ""; position: absolute; top: calc(100% + 6px); left: -3%; width: 106%; height: 12px; border-radius: 0 0 18px 18px; background: linear-gradient(#d5d9df,#969da7); }
/* Keep the complete original portrait visible instead of cropping a background. */
body.rd-public#homepage .top_banner.contact_us .container.support-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
    gap: 28px;
    align-items: center;
    min-height: 0;
    background-image: none;
}
body.rd-public#homepage .top_banner.contact_us .support-hero h1.rd-page-title { max-width: 100%; }
body.rd-public#homepage .top_banner.contact_us .support-portrait {
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
    margin: 0 auto;
    object-fit: contain;
}
@media (max-width: 575px) {
    body.rd-public#homepage .top_banner.contact_us .container.support-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-top: 28px;
        padding-bottom: 0;
    }
    body.rd-public#homepage .top_banner.contact_us .support-portrait { max-width: 260px; }
}

/* Bootstrap clearfix pseudo-elements must not become Support grid items. */
body.rd-public#homepage .top_banner.contact_us .container.support-hero::before,
body.rd-public#homepage .top_banner.contact_us .container.support-hero::after { display: none; }
body.rd-public#homepage .top_banner.contact_us img.support-portrait { visibility: visible; }

/* Responsive website captures use a neutral phone frame. */
body.rd-public#homepage .rd-device--mobile-web { width: min(100%, 300px); padding: 2px; border-radius: 25px; }
body.rd-public#homepage .rd-device--mobile-web img { border-radius: 16px; }
