/* --------------------------------------------------------------------------
   Checks v2 interior pages
   Reusable templates migrated from checks-new and adapted to the v2 system.
   -------------------------------------------------------------------------- */

.screen-reader-text {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    clip: rect(1px, 1px, 1px, 1px);
    border: 0;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    top: 8px;
    left: 8px;
    z-index: 100000;
    display: block;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto !important;
    color: var(--checks-navy);
    border-radius: 6px;
    background: #fff;
}

.interior-shell,
.resource-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.checks-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 11px 22px;
    color: #fff;
    border: 1px solid var(--checks-navy);
    border-radius: 8px;
    background: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.checks-button:hover,
.checks-button:focus-visible {
    color: #fff;
    border-color: #0b397c;
    background: #0b397c;
    transform: translateY(-1px);
}

/* Standard and guide pages. */
.interior-page {
    color: #344158;
    background: #f3f7fb;
}

.interior-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 58px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(79, 130, 204, .28), transparent 28%),
        linear-gradient(135deg, #001a50 0%, #062963 100%);
}

.interior-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.interior-hero .interior-shell {
    position: relative;
    z-index: 1;
}

.interior-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #cad8ed;
    font-size: 16px;
    line-height: 1.3;
}

.interior-breadcrumbs a,
.interior-breadcrumbs span {
    display: inline;
    color: inherit;
}

.interior-breadcrumbs a:hover,
.interior-breadcrumbs a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.interior-hero__title,
.resource-hero h1,
.single-resource__hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-family: var(--checks-font);
    font-size: clamp(44px, 6vw, 70px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.025em;
}

.interior-hero__subtitle {
    max-width: 780px;
    margin-top: 17px;
    color: #dbe5f3;
    font-family: var(--checks-font);
    font-size: clamp(20px, 2.3vw, 26px);
    font-weight: 600;
    line-height: 1.35;
}

.interior-body {
    padding: 54px 0 88px;
    background:
        radial-gradient(circle at 8% 4%, rgba(194, 215, 235, .35), transparent 25%),
        #f3f7fb;
}

.interior-body__grid {
    display: grid;
    gap: 30px;
}

.interior-body__grid.has-guide-nav {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    align-items: start;
}

.interior-article {
    min-width: 0;
    padding: clamp(30px, 5vw, 62px);
    border: 1px solid rgba(0, 26, 80, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(0, 24, 68, .08);
}

.interior-page .entry-content {
    color: #435068;
    font-family: var(--checks-font);
}

.interior-page .entry-content > *:first-child {
    margin-top: 0;
}

.interior-page .entry-content > *:last-child {
    margin-bottom: 0;
}

.interior-page .entry-content h2,
.interior-page .entry-content h3,
.interior-page .entry-content h4 {
    scroll-margin-top: 24px;
    margin: 38px 0 14px;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-weight: 700;
    line-height: 1.12;
}

.interior-page .entry-content h2 {
    font-size: clamp(31px, 3vw, 42px);
}

.interior-page .entry-content h3 {
    font-size: clamp(25px, 2.3vw, 31px);
}

.interior-page .entry-content h4 {
    font-size: 23px;
}

.interior-page .entry-content p,
.interior-page .entry-content li {
    color: #465269;
    font-family: var(--checks-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.58;
}

.interior-page .entry-content p {
    margin: 0 0 18px;
}

.interior-page .entry-content ul,
.interior-page .entry-content ol {
    display: grid;
    gap: 9px;
    margin: 18px 0 24px;
    padding-left: 28px;
}

.interior-page .entry-content ul {
    list-style: disc;
}

.interior-page .entry-content ol {
    list-style: decimal;
}

.interior-page .entry-content a {
    display: inline;
    color: #064bb0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.interior-page .entry-content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 5px solid var(--checks-navy);
    border-radius: 0 12px 12px 0;
    background: #f2f7fc;
}

.interior-page .entry-content blockquote p {
    margin: 0;
    color: #263752;
    font-size: 22px;
}

.interior-page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.interior-page .entry-content figure {
    max-width: 100%;
    margin: 28px 0;
}

.interior-page .entry-content figcaption {
    margin-top: 8px;
    color: #6d788b;
    font-size: 15px;
    text-align: center;
}

.interior-page .entry-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #d7e0eb;
    border-radius: 12px;
    font-size: 18px;
}

.interior-page .entry-content th,
.interior-page .entry-content td {
    padding: 14px 16px;
    border-right: 1px solid #d7e0eb;
    border-bottom: 1px solid #d7e0eb;
    text-align: left;
}

.interior-page .entry-content th {
    color: #fff;
    background: var(--checks-navy);
}

.interior-page .entry-content tr:last-child td {
    border-bottom: 0;
}

.interior-page .entry-content th:last-child,
.interior-page .entry-content td:last-child {
    border-right: 0;
}

.interior-page .entry-content details {
    margin-top: 12px;
    padding: 18px 20px;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    background: #f8fbfe;
}

.interior-page .entry-content .wp-block-columns {
    display: flex;
    gap: 24px;
    margin-block: 28px;
}

.interior-page .entry-content .wp-block-column {
    min-width: 0;
}

.interior-page .entry-content .wp-block-group.has-background {
    margin-block: 28px;
    padding: 28px;
    border-radius: 14px;
}

.interior-page .entry-content .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-block: 24px;
}

.interior-page .entry-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 22px;
    color: #fff;
    border: 1px solid var(--checks-navy);
    border-radius: 8px;
    background: var(--checks-navy);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.interior-page .entry-content .is-style-outline .wp-block-button__link {
    color: var(--checks-navy);
    background: #fff;
}

.interior-page .entry-content .wp-block-separator {
    margin-block: 36px;
    border: 0;
    border-top: 1px solid #dce5ef;
}

.interior-page .entry-content .alignwide {
    width: min(1040px, 100%);
    max-width: none;
}

.interior-page .entry-content pre,
.interior-page .entry-content code {
    border-radius: 5px;
    background: #edf3f9;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .86em;
}

.interior-page .entry-content code {
    padding: 2px 6px;
}

.interior-page .entry-content pre {
    overflow-x: auto;
    margin-block: 24px;
    padding: 20px;
}

.interior-page .entry-content summary {
    color: var(--checks-navy);
    font-size: 21px;
    font-weight: 700;
    cursor: pointer;
}

.guide-nav {
    position: sticky;
    top: 24px;
    padding: 22px;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 35px rgba(0, 24, 68, .06);
}

.guide-nav__eyebrow,
.resource-eyebrow {
    margin: 0 0 11px;
    color: #4f6587;
    font-family: var(--checks-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.guide-nav__links {
    display: grid;
    gap: 3px;
}

.guide-nav__links a {
    padding: 8px 10px;
    color: #526078;
    border-left: 2px solid #d9e3ee;
    font-size: 17px;
    line-height: 1.25;
}

.guide-nav__links a.is-subsection {
    padding-left: 22px;
    font-size: 16px;
}

.guide-nav__links a:hover,
.guide-nav__links a:focus-visible,
.guide-nav__links a.is-active {
    color: var(--checks-navy);
    border-left-color: var(--checks-navy);
    background: #f1f6fb;
}

/* Blog, archive and search pages. */
.resource-library,
.single-resource {
    background: #f3f7fb;
}

.resource-hero,
.single-resource__hero {
    padding: 58px 0 62px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(79, 130, 204, .28), transparent 30%),
        linear-gradient(135deg, #001a50, #062963);
}

.resource-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.resource-hero__inner > div:first-child {
    max-width: 760px;
}

.resource-hero .resource-eyebrow,
.single-resource__hero .resource-eyebrow {
    color: #b8cae4;
}

.resource-hero h1 {
    margin-bottom: 14px;
}

.resource-hero p,
.resource-hero__description,
.resource-hero__description p {
    max-width: 720px;
    margin: 0;
    color: #dbe5f3;
    font-size: 21px;
    line-height: 1.42;
}

.checks-search {
    display: flex;
    flex: 0 1 400px;
    min-width: 310px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 12, 45, .18);
}

.checks-search label {
    display: flex;
    flex: 1;
}

.checks-search__field {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 13px;
    color: #23324a;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 600;
}

.checks-search__field:focus {
    box-shadow: inset 0 0 0 2px rgba(23, 76, 159, .18);
}

.checks-search__submit {
    min-width: 92px;
    padding: 8px 16px;
    color: #fff;
    border: 0;
    border-radius: 7px;
    background: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.checks-search__submit:hover,
.checks-search__submit:focus-visible {
    background: #0b397c;
}

.resource-index {
    padding: 58px 0 90px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.resource-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(0, 26, 80, .09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(0, 24, 68, .07);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.resource-card:hover {
    box-shadow: 0 22px 55px rgba(0, 24, 68, .12);
    transform: translateY(-4px);
}

.resource-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dfe9f4;
}

.resource-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.resource-card:hover .resource-card__media img {
    transform: scale(1.025);
}

.resource-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(135deg, #001a50, #174c9f);
    font-family: var(--checks-font);
    font-size: 36px;
    font-weight: 700;
}

.resource-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.resource-card__terms,
.resource-card__terms a {
    display: inline;
    color: #1b58aa;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.resource-card__title {
    margin: 11px 0 8px;
    font-family: var(--checks-font);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.08;
}

.resource-card__title a {
    color: var(--checks-navy);
}

.resource-card__meta,
.single-resource__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #738096;
    font-size: 15px;
    line-height: 1.3;
}

.resource-card__excerpt {
    margin-top: 14px;
}

.resource-card__excerpt p {
    color: #566278;
    font-size: 17px;
    line-height: 1.5;
}

.resource-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    margin-top: auto;
    padding-top: 18px;
    color: var(--checks-navy);
    font-size: 17px;
    font-weight: 700;
}

.resource-card__link:hover span {
    transform: translateX(3px);
}

.resource-card__link span {
    transition: transform 160ms ease;
}

.resource-pagination {
    margin-top: 44px;
}

.resource-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.resource-pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 43px;
    min-height: 43px;
    padding: 7px 12px;
    color: var(--checks-navy);
    border: 1px solid #cbd6e3;
    border-radius: 7px;
    background: #fff;
    font-weight: 700;
}

.resource-pagination .page-numbers.current,
.resource-pagination a.page-numbers:hover {
    color: #fff;
    border-color: var(--checks-navy);
    background: var(--checks-navy);
}

.resource-empty {
    max-width: 720px;
    margin-inline: auto;
    padding: 48px;
    border: 1px solid #d8e2ee;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.resource-empty h2 {
    color: var(--checks-navy);
    font-size: 40px;
}

.resource-empty p {
    margin: 10px 0 22px;
}

.resource-empty .checks-search,
.error-page .checks-search {
    max-width: 480px;
    margin-inline: auto;
    border-color: #cbd6e3;
    box-shadow: none;
}

/* Single articles and comments. */
.single-resource__hero {
    padding-bottom: 68px;
}

.single-resource__heading {
    max-width: 900px;
}

.single-resource__heading h1 {
    margin: 13px 0 18px;
}

.single-resource__meta {
    color: #c9d7ea;
    font-size: 17px;
}

.single-resource__body {
    padding: 56px 0 92px;
}

.single-resource__layout {
    max-width: 960px;
}

.single-resource__article,
.comments-area {
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid rgba(0, 26, 80, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(0, 24, 68, .08);
}

.single-resource__featured {
    overflow: hidden;
    margin: 0 0 38px;
    border-radius: 15px;
}

.single-resource__featured img {
    display: block;
    width: 100%;
    height: auto;
}

.single-resource .entry-content h2,
.single-resource .entry-content h3,
.single-resource .entry-content h4 {
    margin: 38px 0 14px;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-weight: 700;
    line-height: 1.12;
}

.single-resource .entry-content h2 {
    font-size: clamp(31px, 3vw, 42px);
}

.single-resource .entry-content h3 {
    font-size: 29px;
}

.single-resource .entry-content p,
.single-resource .entry-content li {
    color: #465269;
    font-size: 20px;
    line-height: 1.6;
}

.single-resource .entry-content p {
    margin-bottom: 19px;
}

.single-resource .entry-content ul,
.single-resource .entry-content ol {
    margin: 18px 0 24px;
    padding-left: 30px;
}

.single-resource .entry-content ul {
    list-style: disc;
}

.single-resource .entry-content ol {
    list-style: decimal;
}

.single-resource .entry-content a {
    display: inline;
    color: #064bb0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-resource .entry-content img {
    max-width: 100%;
    height: auto;
}

.single-resource__footer {
    display: grid;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #dce5ef;
}

.single-resource__footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.single-resource__footer strong {
    margin-right: 6px;
    color: var(--checks-navy);
}

.single-resource__footer a {
    display: inline;
    color: #064bb0;
}

.comments-area {
    margin-top: 30px;
}

.comments-title,
.comment-reply-title {
    margin-bottom: 22px;
    color: var(--checks-navy);
    font-size: 32px;
}

.comment-list {
    display: grid;
    gap: 16px;
    list-style: none;
}

.comment-list .comment-body {
    padding: 20px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #f8fbfe;
}

.comment-list .children {
    display: grid;
    gap: 16px;
    margin-top: 16px;
    padding-left: 24px;
    list-style: none;
}

.comment-form {
    display: grid;
    gap: 16px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--checks-navy);
    font-size: 17px;
    font-weight: 700;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 11px 14px;
    border: 1px solid #bdc9d8;
    border-radius: 8px;
    font-family: var(--checks-font);
    font-size: 18px;
}

.comment-form textarea {
    min-height: 150px;
}

/* Migrated legacy page components, reskinned for checks-v2. */
.page__request__dbs,
.auth-page {
    width: 100%;
    max-width: none;
    background: #f3f7fb;
}

.hero__common {
    width: 100%;
    padding: 42px 24px 78px;
    background:
        linear-gradient(180deg, #fff 0, #fff 132px, transparent 132px),
        #f3f7fb;
}

.hero__common .hero__common_container {
    width: min(1180px, 100%);
    margin-inline: auto;
    padding: clamp(30px, 5vw, 66px);
    border: 1px solid rgba(0, 26, 80, .09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(0, 24, 68, .08);
}

.hero__common .heading {
    display: grid;
    gap: 10px;
    margin-bottom: 34px;
    text-align: left;
}

.hero__common .hero__title,
.hero__common .payment__title,
.auth-portal__intro h1 {
    margin: 0;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 700;
    line-height: 1;
}

.hero__common .hero__body,
.auth-portal__intro p {
    max-width: 760px;
    color: #536178;
    font-family: var(--checks-font);
    font-size: 21px;
    line-height: 1.45;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    margin: 32px 0 12px;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-weight: 700;
    line-height: 1.15;
}

.page-content h2 {
    font-size: clamp(30px, 3vw, 40px);
}

.page-content h3 {
    font-size: 29px;
}

.page-content p,
.page-content li {
    color: #465269;
    font-size: 19px;
    line-height: 1.55;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
    margin: 16px 0 22px;
    padding-left: 28px;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content a {
    display: inline;
    color: #064bb0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero__common .link,
.eligible-roles__btn,
.auth-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 22px;
    color: #fff;
    border: 1px solid var(--checks-navy);
    border-radius: 8px;
    background: var(--checks-navy);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.hero__common .link:hover,
.eligible-roles__btn:hover,
.auth-form__submit:hover {
    color: #fff;
    border-color: #0b397c;
    background: #0b397c;
}

.hero__request__dbs .hero__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hero__request__dbs .hero__content__card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 26px;
    border: 1px solid #d8e2ee;
    border-radius: 16px;
    background: #f7faff;
}

.hero__request__dbs .hero__content__card_icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e7f0f8;
}

.hero__request__dbs .hero__content__card_icon svg {
    width: 34px;
    height: 34px;
}

.hero__request__dbs .hero__content__card_text h2,
.hero__request__dbs .hero__content__card_text h4 {
    margin: 0 0 6px;
    color: var(--checks-navy);
    font-size: 28px;
    line-height: 1.1;
}

.hero__request__dbs .hero__content__card_text p {
    margin: 0;
    font-size: 18px;
}

.hero__request__dbs .hero__content__card_btn {
    grid-column: 1 / -1;
}

/* FAQ accordions. */
.hero__common_container .accordion-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.hero__common_container .accordion__container__left,
.hero__common_container .accordion__container__right {
    display: grid;
    align-content: start;
    gap: 12px;
}

.hero__common_container .accordion-full-row {
    grid-column: 1 / -1;
    padding: 14px 18px;
    color: #fff;
    border-radius: 9px;
    background: var(--checks-navy);
}

.hero__common_container .accordion-full-row p {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.hero__common_container .accordion-item {
    overflow: hidden;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    background: #fff;
}

.hero__common_container .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 62px;
    padding: 15px 18px;
    color: var(--checks-navy);
    border: 0;
    background: #f8fbfe;
    font-family: var(--checks-font);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.hero__common_container .accordion-icon {
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 50%;
    background: var(--checks-navy);
}

.hero__common_container .accordion-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 180ms ease;
}

.hero__common_container .accordion-item.is-active .accordion-icon svg {
    transform: rotate(45deg);
}

.hero__common_container .accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 220ms ease;
}

.hero__common_container .accordion-item.is-active .accordion-content {
    grid-template-rows: 1fr;
}

.hero__common_container .accordion-content-inner {
    min-height: 0;
    padding: 0 18px;
}

.hero__common_container .accordion-item.is-active .accordion-content-inner {
    padding-block: 17px;
}

.hero__common_container .accordion-content-inner p {
    margin: 0;
    font-size: 17px;
}

/* Eligible roles and migrated data tables. */
.eligible-roles__section,
.eligible-roles__group {
    padding: 0;
}

.eligible-roles__group + .eligible-roles__group {
    margin-top: 46px;
    padding-top: 42px;
    border-top: 1px solid #dce5ef;
}

.eligible-roles__section .headingbar h2,
.onlineprocess .headingbar h2,
.tablewidgetbar .headingbar h2,
.faqbar .headingbar h2 {
    margin: 0 0 10px;
    color: var(--checks-navy);
    font-size: clamp(31px, 3vw, 41px);
    line-height: 1.08;
}

.eligible-roles__table,
.tablewidgetbar .row {
    overflow-x: auto;
    margin-top: 22px;
    border-radius: 12px;
}

.eligible-roles__table table,
.tablewidgetbar table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d7e0eb;
    border-radius: 12px;
    background: #fff;
}

.eligible-roles__table th,
.eligible-roles__table td,
.tablewidgetbar th,
.tablewidgetbar td {
    padding: 14px 16px;
    border-right: 1px solid #d7e0eb;
    border-bottom: 1px solid #d7e0eb;
    color: #465269;
    font-size: 17px;
    line-height: 1.4;
    text-align: left;
}

.eligible-roles__table th,
.tablewidgetbar th {
    color: #fff;
    background: var(--checks-navy);
    font-weight: 700;
}

.eligible-roles__table tr:last-child td,
.tablewidgetbar tr:last-child td {
    border-bottom: 0;
}

.eligible-roles__cta,
.btnbar {
    margin-top: 22px;
}

/* DBS service process, pricing and compact FAQ modules. */
.onlineprocess,
.tablewidgetbar,
.faqbar {
    margin-top: 46px;
    padding: 38px;
    border-radius: 18px;
    background: #f4f8fc;
}

.onlineprocess .row,
.tablewidgetbar .row,
.faqbar .row {
    width: 100%;
    max-width: none;
}

.onlineprocess .itembar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.onlineprocess .item {
    padding: 23px;
    border: 1px solid #d8e2ee;
    border-radius: 14px;
    background: #fff;
}

.onlineprocess .icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #e7f0f8;
}

.onlineprocess .icon img {
    width: 44px;
    height: 44px;
}

.onlineprocess .step,
.faqbar .subtitle,
.tablewidgetbar .subtitle {
    margin-bottom: 6px;
    color: #1b58aa;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.onlineprocess h4 {
    margin: 0 0 7px;
    color: var(--checks-navy);
    font-size: 24px;
}

.onlineprocess p,
.faqbar p,
.tablewidgetbar p {
    color: #536178;
    font-size: 17px;
    line-height: 1.48;
}

.faqbar .columnbox {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.7fr);
    gap: 35px;
}

.questionbar .item {
    border-bottom: 1px solid #d5dfeb;
}

.questionbar .question {
    position: relative;
    margin: 0;
    padding: 17px 42px 17px 0;
    color: var(--checks-navy);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.questionbar .plus {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
}

.questionbar .plus::before,
.questionbar .plus::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 3px;
    width: 16px;
    height: 2px;
    background: var(--checks-navy);
}

.questionbar .plus::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.questionbar .question.minus .plus::after {
    transform: rotate(0);
}

.questionbar .answer {
    display: none;
    padding: 0 34px 18px 0;
}

.questionbar .question.minus + .answer {
    display: block;
}

.questionbar .answer a {
    display: inline;
    color: #064bb0;
    text-decoration: underline;
}

/* Account maintenance templates. */
.auth-page {
    padding: 52px 24px 88px;
}

.auth-portal {
    width: min(960px, 100%);
    margin-inline: auto;
    padding: 0;
}

.auth-portal__intro {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

.auth-portal__intro p {
    margin-top: 12px;
}

.auth-portal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.auth-card {
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(0, 26, 80, .09);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(0, 24, 68, .08);
}

.auth-card__header h2 {
    margin: 0 0 7px;
    color: var(--checks-navy);
    font-size: 33px;
    line-height: 1.1;
}

.auth-card__header p,
.auth-maintenance p,
.auth-portal__note p {
    color: #5b687e;
    font-size: 18px;
    line-height: 1.45;
}

.auth-form {
    display: grid;
    gap: 17px;
    margin-top: 26px;
}

.auth-form__field {
    display: grid;
    gap: 7px;
    color: var(--checks-navy);
    font-size: 18px;
    font-weight: 700;
}

.auth-form__field input {
    width: 100%;
    min-height: 54px;
    padding: 11px 15px;
    color: #26354c;
    border: 1px solid #bdc9d8;
    border-radius: 9px;
    outline: 0;
    font-family: var(--checks-font);
    font-size: 18px;
}

.auth-form__field input:focus {
    border-color: #174c9f;
    box-shadow: 0 0 0 4px rgba(23, 76, 159, .13);
}

.auth-form__submit {
    width: 100%;
    margin-top: 5px;
    cursor: pointer;
}

.auth-maintenance {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid #e4ca81;
    border-radius: 10px;
    background: #fff9e8;
}

.auth-maintenance__badge {
    display: inline-block;
    margin-bottom: 6px;
    color: #694b08;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.auth-portal__note {
    margin-top: 24px;
    text-align: center;
}

.auth-portal__note a {
    display: inline;
    color: #064bb0;
}

/* 404 page. */
.error-page {
    display: grid;
    min-height: 65vh;
    padding: 60px 24px 88px;
    place-items: center;
    background: #f3f7fb;
}

.error-page__card {
    width: 100%;
    max-width: none;
    padding: clamp(34px, 6vw, 64px);
    border: 1px solid #d8e2ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(0, 24, 68, .08);
    text-align: center;
}

.error-page h1 {
    color: var(--checks-navy);
    font-size: clamp(44px, 6vw, 64px);
    line-height: 1;
}

.error-page p:not(.resource-eyebrow) {
    margin: 14px 0 26px;
    font-size: 20px;
}

.error-page .checks-button {
    margin-top: 22px;
}

/* Keep editorial list/link rules from leaking into embedded Gravity Forms. */
.interior-page .entry-content .gform_wrapper ul,
.interior-page .entry-content .gform_wrapper ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.interior-page .entry-content .gform_wrapper li {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.interior-page .entry-content .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px 22px;
}

.interior-page .entry-content .gform_wrapper .gfield_checkbox,
.interior-page .entry-content .gform_wrapper .gfield_radio {
    display: grid;
    gap: 11px;
}

.interior-page .entry-content .gform_wrapper .gform_save_link,
.interior-page .entry-content .gform_wrapper .gform_button_select_files {
    display: inline-flex;
    color: var(--checks-navy);
    text-decoration: none;
}

.interior-page .entry-content .gform_wrapper .gfield_list {
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-radius: 0;
    border-spacing: 8px;
}

.interior-page .entry-content .gform_wrapper .gfield_list th,
.interior-page .entry-content .gform_wrapper .gfield_list td {
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
}

@media (max-width: 980px) {
    .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-hero__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-hero .checks-search {
        width: min(520px, 100%);
    }

    .interior-body__grid.has-guide-nav {
        grid-template-columns: 1fr;
    }

    .guide-nav {
        position: static;
    }

    .guide-nav__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onlineprocess .itembar {
        grid-template-columns: 1fr;
    }

    .faqbar .columnbox {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .interior-shell,
    .resource-shell {
        width: min(100% - 32px, 1180px);
    }

    .interior-hero,
    .resource-hero,
    .single-resource__hero {
        padding-block: 40px 44px;
    }

    .interior-hero__title,
    .resource-hero h1,
    .single-resource__hero h1 {
        font-size: 43px;
    }

    .interior-body,
    .resource-index,
    .single-resource__body {
        padding-block: 32px 58px;
    }

    .interior-article,
    .single-resource__article,
    .comments-area {
        padding: 28px 22px 34px;
        border-radius: 17px;
    }

    .interior-page .entry-content p,
    .interior-page .entry-content li,
    .single-resource .entry-content p,
    .single-resource .entry-content li {
        font-size: 18px;
    }

    .interior-page .entry-content .wp-block-columns {
        flex-direction: column;
    }

    .interior-page .entry-content .gform_wrapper .gform_fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .guide-nav__links {
        grid-template-columns: 1fr;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .checks-search {
        width: 100%;
        min-width: 0;
    }

    .resource-card__title {
        font-size: 28px;
    }

    .hero__common {
        padding: 24px 16px 55px;
        background: #f3f7fb;
    }

    .hero__common .hero__common_container {
        padding: 30px 20px 38px;
        border-radius: 17px;
    }

    .hero__common .hero__title,
    .hero__common .payment__title,
    .auth-portal__intro h1 {
        font-size: 40px;
    }

    .hero__request__dbs .hero__content,
    .hero__common_container .accordion-container,
    .auth-portal__grid {
        grid-template-columns: 1fr;
    }

    .hero__request__dbs .hero__content__card {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 21px;
    }

    .hero__request__dbs .hero__content__card_icon {
        width: 48px;
        height: 48px;
    }

    .onlineprocess,
    .tablewidgetbar,
    .faqbar {
        margin-top: 30px;
        padding: 25px 18px;
    }

    .auth-page {
        padding: 34px 16px 58px;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .comment-list .children {
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .checks-search {
        flex-direction: column;
    }

    .checks-search__submit {
        min-height: 44px;
    }

    .interior-page .entry-content table {
        display: block;
        overflow-x: auto;
    }
}

/* --------------------------------------------------------------------------
   Global site footer
   -------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 54px 0 0;
    color: #fff;
    background:
        radial-gradient(circle at 8% 12%, rgba(63, 115, 190, .22), transparent 25%),
        linear-gradient(145deg, #00143f 0%, #001a50 58%, #052862 100%);
    font-family: var(--checks-font);
}

.site-footer::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -280px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer__shell {
    position: relative;
    z-index: 1;
    width: min(1420px, calc(100% - 64px));
    margin-inline: auto;
}

.site-footer .site-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)),
        #082b66;
    box-shadow: 0 20px 55px rgba(0, 8, 30, .24);
}

.site-footer__cta-copy {
    min-width: 0;
}

.site-footer__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #bbcee8;
    font-family: var(--checks-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-footer__cta h2 {
    margin: 0;
    color: #fff;
    font-family: var(--checks-font);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.08;
}

.site-footer__cta p {
    margin: 7px 0 0;
    color: #dbe6f4;
    font-family: var(--checks-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.site-footer__cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    padding: 12px 23px;
    color: var(--checks-navy);
    border: 1px solid #fff;
    border-radius: 8px;
    background: #fff;
    font-family: var(--checks-font);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 12px 30px rgba(0, 7, 28, .18);
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.site-footer__cta-button span {
    font-size: 23px;
    line-height: 1;
    transition: transform 160ms ease;
}

.site-footer__cta-button:hover,
.site-footer__cta-button:focus-visible {
    color: #fff;
    background: transparent;
    transform: translateY(-1px);
}

.site-footer__cta-button:hover span,
.site-footer__cta-button:focus-visible span {
    transform: translateX(3px);
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(290px, 1.55fr) repeat(auto-fit, minmax(150px, .72fr));
    gap: clamp(36px, 5vw, 78px);
    padding: 58px 0 48px;
}

.site-footer__brand {
    padding-right: clamp(12px, 2vw, 34px);
}

.site-footer__logo {
    display: inline-block;
    width: min(280px, 100%);
    margin-bottom: 22px;
}

.site-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer__intro {
    max-width: 450px;
    margin: 0;
    color: #d2deee;
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
}

.site-footer__contact {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.site-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #e9f0fa;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.site-footer__contact img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    opacity: .95;
}

.site-footer__contact a,
.site-footer__contact span {
    display: inline;
    color: inherit;
}

.site-footer__nav h2 {
    margin: 5px 0 20px;
    padding-bottom: 11px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .17);
    font-family: var(--checks-font);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
}

.site-footer__links,
.site-footer__links .sub-menu {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links .sub-menu {
    gap: 8px;
    margin-top: 9px;
    padding-left: 13px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.site-footer__links a,
.site-footer__legal-links a {
    display: inline-block;
    color: #cbd8ea;
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    transition: color 150ms ease, transform 150ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__legal-links a:hover,
.site-footer__legal-links a:focus-visible,
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    transform: translateX(2px);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.site-footer__company {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 22px;
}

.site-footer__company p {
    margin: 0;
    color: #afc0d8;
    font-family: var(--checks-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.site-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 23px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__legal-links a {
    font-size: 15px;
}

.site-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Migrated static pages retain their structured layouts while using Checks v2 typography. */
body.checks-static-page {
    --font-zalando-sans: var(--checks-font);
    --font-inter: var(--checks-font);
    --font-roobert-trial: var(--checks-font);
}

body.checks-static-page :is(.hero-section, .standard-dbs-check, .contact-section, .help-support-section, .security-section) {
    font-family: var(--checks-font);
}

body.checks-static-page :is(.hero-section, .standard-dbs-check, .contact-section, .help-support-section, .security-section) :is(h1, h2, h3, h4, h5, h6, p, a, li, button, input, textarea, select) {
    font-family: inherit;
}

@media (max-width: 1080px) {
    .site-footer__main {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 38px 48px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(230px, .8fr) minmax(300px, 1.2fr);
        gap: 12px 48px;
        align-items: start;
        padding-right: 0;
    }

    .site-footer__logo {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .site-footer__intro {
        max-width: 620px;
    }

    .site-footer__contact {
        display: flex;
        flex-wrap: wrap;
        gap: 9px 24px;
        margin-top: 5px;
    }
}

@media (max-width: 760px) {
    .site-footer {
        padding-top: 30px;
    }

    .site-footer__shell {
        width: min(100% - 32px, 640px);
    }

    .site-footer .site-footer__cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 25px 23px;
    }

    .site-footer__cta h2 {
        font-size: 34px;
    }

    .site-footer__cta p {
        font-size: 17px;
    }

    .site-footer__cta-button {
        width: 100%;
    }

    .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 30px;
        padding: 42px 0 38px;
    }

    .site-footer__brand {
        display: block;
    }

    .site-footer__logo {
        width: min(255px, 100%);
        margin-bottom: 19px;
    }

    .site-footer__intro {
        font-size: 16px;
    }

    .site-footer__contact {
        display: grid;
        gap: 10px;
        margin-top: 21px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 25px;
    }

    .site-footer__company {
        display: grid;
    }

    .site-footer__legal-links {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .site-footer__nav h2 {
        margin-bottom: 15px;
    }

    .site-footer__links {
        gap: 9px;
    }

    .site-footer__legal-links {
        display: grid;
        gap: 9px;
    }
}

/* --------------------------------------------------------------------------
   DBS application form
   -------------------------------------------------------------------------- */
.application-page {
    color: #25324a;
    background: #fff;
}

.application-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.application-breadcrumbs {
    border-bottom: 1px solid #dce5ef;
    background: #fff;
}

.application-breadcrumbs .application-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    color: #707b8e;
    font-family: var(--checks-font);
    font-size: 16px;
    font-weight: 600;
}

.application-breadcrumbs a {
    display: inline;
    color: var(--checks-navy);
    text-decoration: none;
}

.application-breadcrumbs a:hover,
.application-breadcrumbs a:focus-visible {
    color: #174c9f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.application-form-section {
    padding: 46px 0 88px;
    background: #fff;
}

.application-article,
.application-content {
    min-width: 0;
}

/* Gravity Forms uses form 3 locally and form 79 in production. */
.application-page .gform_wrapper,
.application-page .gform_confirmation_wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #334158;
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 600;
}

.application-page .gform_wrapper .gform_heading {
    display: none;
}

.application-page .gform_wrapper .gf_progressbar_wrapper,
.application-page .gform_wrapper .gf_page_steps {
    width: min(800px, 100%);
    margin: 0 auto 40px;
    padding: 28px 0;
    border-top: 1px solid #d6e0ec;
    border-bottom: 1px solid #d6e0ec;
}

.application-page .gform_wrapper .gf_progressbar_title {
    margin: 0 0 10px;
    color: var(--checks-navy);
    font-size: 16px;
    font-weight: 700;
}

.application-page .gform_wrapper .gf_progressbar {
    height: 8px;
    border-radius: 999px;
    background: #e6edf6;
}

.application-page .gform_wrapper .gf_progressbar_percentage {
    border-radius: inherit;
    background: #174c9f;
}

.application-page .gform_wrapper .gf_page_steps {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.application-page .gform_wrapper .gf_page_steps::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    left: 20px;
    z-index: 0;
    height: 1px;
    background: #b9c8da;
}

.application-page .gform_wrapper .gf_step {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    color: #57657a;
    border: 1px solid #aebed2;
    border-radius: 50%;
    background: #fff;
}

.application-page .gform_wrapper .gf_step_number {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: inherit;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
}

.application-page .gform_wrapper .gf_step_label {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
}

.application-page .gform_wrapper .gf_step_active,
.application-page .gform_wrapper .gf_step_completed {
    color: #fff;
    border-color: #174c9f;
    background: #174c9f;
}

.application-page .gform_wrapper .gform_page_fields,
.application-page .gform_wrapper .gform_page_footer,
.application-page .gform_wrapper .gform_footer,
.application-page .gform_wrapper .gform_validation_errors {
    width: min(1000px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.application-page .gform_wrapper .gform_fields,
.application-page .gform_wrapper ul.gform_fields {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 20px;
}

.application-page .gform_wrapper .gfield {
    margin: 0 0 20px;
}

.application-page .gform_wrapper .gfield_label,
.application-page .gform_wrapper .gform-field-label {
    margin: 0 0 8px;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.application-page .gform_wrapper .gform-field-label--type-sub,
.application-page .gform_wrapper .gfield_description,
.application-page .gform_wrapper .instruction {
    color: #667188;
    font-size: 15px;
    line-height: 1.45;
}

.application-page .gform_wrapper .ginput_complex .gform-field-label--type-sub {
    margin-top: 6px;
}

.application-page .gform_wrapper input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not(.ginput_total),
.application-page .gform_wrapper select,
.application-page .gform_wrapper textarea {
    min-height: 50px;
    padding: 11px 16px;
    color: #1f2d44;
    border: 1px solid #9fadc0;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: none;
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.application-page .gform_wrapper textarea {
    min-height: 132px;
}

.application-page .gform_wrapper input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not(.ginput_total):focus,
.application-page .gform_wrapper select:focus,
.application-page .gform_wrapper textarea:focus {
    border-color: #174c9f;
    box-shadow: 0 0 0 3px rgba(23, 76, 159, .14);
}

.application-page .gform_wrapper .gfield--type-select > .ginput_container_select {
    width: min(274px, 100%);
}

.application-page .gform_wrapper .ginput_complex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.application-page .gform_wrapper .ginput_complex > span,
.application-page .gform_wrapper .ginput_complex > div {
    width: 100%;
    max-width: none;
    inline-size: 100%;
    max-inline-size: none;
}

.application-page .gform_wrapper .gfield--type-date .ginput_complex {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(760px, 100%);
    gap: 16px;
}

.application-page .gform_wrapper .gfield--type-name .ginput_complex {
    grid-template-columns: minmax(112px, .55fr) repeat(3, minmax(0, 1fr));
}

.application-page .gform_wrapper .gfield--type-address .address_line_1,
.application-page .gform_wrapper .gfield--type-address .address_line_2 {
    grid-column: 1 / -1;
}

.application-page .gform_wrapper .gfield_radio {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 12px 30px;
    margin: 2px 0 0;
}

.application-page .gform_wrapper .gfield_checkbox {
    display: grid;
    gap: 12px;
    margin: 2px 0 0;
}

.application-page .gform_wrapper .gchoice,
.application-page .gform_wrapper .ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.application-page .gform_wrapper .gchoice label,
.application-page .gform_wrapper .ginput_container_consent label {
    margin: 0;
    color: #344158;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.application-page .gform_wrapper input[type="radio"],
.application-page .gform_wrapper input[type="checkbox"] {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    margin-top: 0;
    border-color: #8fa2ba;
}

.application-page .gform_wrapper .gfield_html:not(.checks-form-intro) {
    padding: 15px 18px;
    color: #334158;
    border-left: 4px solid #174c9f;
    border-radius: 0 6px 6px 0;
    background: #f1f6fb;
    font-size: 16px;
    line-height: 1.45;
}

.application-page .gform_wrapper .gfield_html:not(.checks-form-intro) p,
.application-page .gform_wrapper .gfield_html:not(.checks-form-intro) li {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.application-page .gform_wrapper .checks-form-section-title {
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 26px;
    padding: 0 0 20px;
    color: var(--checks-navy);
    border-bottom: 1px solid #d7e1ec;
    font-family: var(--checks-font);
    font-size: clamp(30px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.015em;
}

.application-page .gform_wrapper .checks-form-additional,
.application-page .gform_wrapper .checks-form-review {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #334158;
    font-size: 16px;
    line-height: 1.45;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 32px;
    border: 1.5px solid #c2cfdd;
    border-radius: 16px;
    background: #fff;
}

.application-page .gform_wrapper .checks-form-intro .heading {
    margin: 0 0 26px;
    padding: 0 0 25px;
    border-bottom: 1px solid #d7e1ec;
}

.application-page .gform_wrapper .checks-form-intro .hero__title {
    margin: 0;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.application-page .gform_wrapper .checks-form-intro .hero__body {
    max-width: 760px;
    margin: 12px 0 0;
    color: #536078;
    font-family: var(--checks-font);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #d8e2ed;
    border-radius: 10px;
    background: #f6f9fc;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card h2 {
    margin: 0 0 14px;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card p,
.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card li {
    color: #465269;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card li {
    position: relative;
    padding-left: 27px;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card li::before {
    content: "\2713";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    color: #fff;
    border-radius: 50%;
    background: #1560c9;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.application-page .gform_wrapper .checks-form-intro .card-2_list {
    display: grid;
    gap: 11px;
}

.card-2_list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-2_list p svg {
    flex: 0 0 21px;
    margin-top: 2px;
}

.application-page .gform_wrapper .checks-form-intro .card-2_list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.application-page .gform_wrapper .checks-form-intro .card-2_list svg {
    flex: 0 0 21px;
    margin-top: 2px;
    color: #1560c9;
}

.application-page .gform_wrapper .gform_page_footer,
.application-page .gform_wrapper .gform_footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding: 0;
    border: 0;
}

.application-page .gform_wrapper .gform_previous_button {
    margin-right: auto;
}

.application-page .gform_wrapper .gform_next_button,
.application-page .gform_wrapper .gform_previous_button,
.application-page .gform_wrapper .gform_button,
.application-page .gform_wrapper input[type="submit"] {
    min-width: 138px;
    min-height: 50px;
    padding: 11px 20px;
    border-radius: 6px;
    box-shadow: none;
    font-size: 18px;
}

.application-page .gform_wrapper .gform_next_button,
.application-page .gform_wrapper .gform_button,
.application-page .gform_wrapper input[type="submit"] {
    border-color: #174c9f;
    background: #174c9f;
}

.application-page .gform_wrapper .gform_next_button:hover,
.application-page .gform_wrapper .gform_button:hover,
.application-page .gform_wrapper input[type="submit"]:hover {
    border-color: var(--checks-navy);
    background: var(--checks-navy);
}

.application-page .gform_wrapper .gfield_error {
    padding: 14px;
    border-radius: 8px;
    background: #fff7f6;
}

.application-page .gform_wrapper .validation_message,
.application-page .gform_wrapper .gfield_validation_message {
    font-size: 15px;
}

@media (max-width: 760px) {
    .application-shell {
        width: min(100% - 32px, 1180px);
    }

    .application-form-section {
        padding: 30px 0 58px;
    }

    .application-page .gform_wrapper .gf_progressbar_wrapper,
    .application-page .gform_wrapper .gf_page_steps {
        margin-bottom: 28px;
        padding: 20px 0;
    }

    .application-page .gform_wrapper .gf_step {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .application-page .gform_wrapper .gform_fields,
    .application-page .gform_wrapper ul.gform_fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .application-page .gform_wrapper .gfield {
        grid-column: 1 / -1 !important;
        margin-bottom: 18px;
    }

    .application-page .gform_wrapper .ginput_complex,
    .application-page .gform_wrapper .gfield--type-name .ginput_complex {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .application-page .gform_wrapper .gfield--type-date .ginput_complex {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .application-page .gform_wrapper .gfield--type-address .address_line_1,
    .application-page .gform_wrapper .gfield--type-address .address_line_2 {
        grid-column: auto;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply {
        padding: 22px;
        border-radius: 12px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__title {
        font-size: 36px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__body {
        font-size: 17px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply__content_card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .application-breadcrumbs .application-shell {
        min-height: 52px;
        font-size: 15px;
    }

    .application-page .gform_wrapper .gfield--type-date .ginput_complex {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .application-page .gform_wrapper .gfield--type-date select {
        padding-right: 27px;
        padding-left: 10px;
        background-position: calc(100% - 13px) 21px, calc(100% - 8px) 21px;
        font-size: 15px;
    }

    .application-page .gform_wrapper .gform_page_footer,
    .application-page .gform_wrapper .gform_footer {
        flex-direction: row;
    }

    .application-page .gform_wrapper .gform_next_button,
    .application-page .gform_wrapper .gform_previous_button,
    .application-page .gform_wrapper .gform_button,
    .application-page .gform_wrapper input[type="submit"] {
        width: auto;
        min-width: 116px;
    }
}

@media (max-width: 420px) {
    .application-shell {
        width: min(100% - 24px, 1180px);
    }

    .application-form-section {
        padding-top: 24px;
        padding-bottom: 46px;
    }

    .application-page .gform_wrapper .gf_progressbar_wrapper,
    .application-page .gform_wrapper .gf_page_steps {
        margin-bottom: 24px;
        padding: 17px 0;
    }

    .application-page .gform_wrapper .gf_page_steps {
        gap: 4px;
    }

    .application-page .gform_wrapper .gf_page_steps::before {
        right: 16px;
        left: 16px;
    }

    .application-page .gform_wrapper .gf_step {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .application-page .gform_wrapper .gf_step_number {
        font-size: 14px;
    }

    .application-page .gform_wrapper .checks-form-section-title {
        margin-bottom: 22px;
        padding-bottom: 16px;
        font-size: 29px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply {
        padding: 18px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__title {
        font-size: 31px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply__content_card {
        padding: 17px;
    }

    .application-page .gform_wrapper .gfield--type-date .ginput_complex {
        gap: 6px;
    }

    .application-page .gform_wrapper .gform_page_footer,
    .application-page .gform_wrapper .gform_footer {
        align-items: stretch;
        flex-direction: column;
    }

    .application-page .gform_wrapper .gform_previous_button {
        margin-right: 0;
    }

    .application-page .gform_wrapper .gform_next_button,
    .application-page .gform_wrapper .gform_previous_button,
    .application-page .gform_wrapper .gform_button,
    .application-page .gform_wrapper input[type="submit"] {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Refined DBS application experience
   -------------------------------------------------------------------------- */
.application-form-section {
    background:
        radial-gradient(circle at 8% 4%, rgba(208, 225, 242, .38), transparent 28%),
        #f7f9fc;
}

.application-page .gform_wrapper .gf_page_steps {
    width: min(1000px, 100%);
    margin-bottom: 42px;
    padding: 17px 22px;
    overflow: hidden;
    border: 1px solid #d8e3ef;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 28px rgba(0, 26, 80, .06);
}

.application-page .gform_wrapper .gf_page_steps::before {
    right: 44px;
    left: 44px;
    height: 2px;
    background: #d7e1ed;
}

.application-page .gform_wrapper .gf_step {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border: 2px solid #b7c6d8;
    box-shadow: 0 0 0 4px #fff;
}

.application-page .gform_wrapper .gf_step_completed {
    border-color: #174c9f;
    background: #174c9f;
    box-shadow: 0 0 0 4px #fff;
}

.application-page .gform_wrapper .gf_step_active {
    border-color: #001a50;
    background: #001a50;
    box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(0, 42, 107, .2);
}

.application-page .gform_wrapper .gf_step_number {
    font-size: 17px;
}

/* Gravity Forms replaces completed numbers with a checkmark. Keep the number. */
.application-page .gform_wrapper .gf_step_completed .gf_step_number::before,
.application-page .gform_wrapper .gf_step_completed .gf_step_number::after {
    display: none !important;
    content: none !important;
}

.application-page .gform_wrapper .gform_page_fields,
.application-page .gform_wrapper .gform_page_footer,
.application-page .gform_wrapper .gform_footer,
.application-page .gform_wrapper .gform_validation_errors {
    width: min(1000px, 100%);
}

.application-page .gform_wrapper .gfield {
    margin-bottom: 25px;
}

.application-page .gform_wrapper .gfield_label,
.application-page .gform_wrapper .gform-field-label {
    margin-bottom: 10px;
    font-size: 18px;
}

.application-page .gform_wrapper input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not(.ginput_total),
.application-page .gform_wrapper select,
.application-page .gform_wrapper textarea {
    min-height: 56px;
    padding: 12px 16px;
    border-color: #afbdce;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 26, 80, .035);
    font-size: 18px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.application-page .gform_wrapper input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not(.ginput_total):hover,
.application-page .gform_wrapper select:hover,
.application-page .gform_wrapper textarea:hover {
    border-color: #8096b1;
}

.application-page .gform_wrapper .checks-form-section-title {
    margin-bottom: 30px;
    padding-bottom: 21px;
    font-size: clamp(34px, 4vw, 48px);
}

/* First-page markup stored in Gravity Forms. */
.application-page .gform_wrapper .checks-form-intro .hero__apply {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 32px;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid #d2dfec;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(206, 226, 247, .55), transparent 34%),
        #fff;
    box-shadow: 0 18px 54px rgba(0, 25, 72, .09);
}

.application-page .gform_wrapper .checks-form-intro .heading {
    align-items: start;
    margin: 0 0 30px;
    padding: 0 0 28px;
    gap: 10px;
    border-bottom: 1px solid #d7e2ee;
    text-align: left;
}

.application-page .gform_wrapper .checks-form-intro .hero__title {
    font-size: clamp(40px, 5vw, 56px);
}

.application-page .gform_wrapper .checks-form-intro .hero__body {
    max-width: 780px;
    margin-top: 0;
    font-size: 20px;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content {
    gap: 20px;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #d8e3ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 26, 80, .055);
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #1760bc;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card:nth-child(2) {
    background: #f5f9fe;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card h2 {
    margin-bottom: 18px;
    font-size: 29px;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card ul,
.application-page .gform_wrapper .checks-form-intro .card-2_list {
    gap: 14px;
}

/* Alternate application-intro markup supplied by the application integration. */
.application-page .gform_wrapper .checks-form-intro .apply-wrapper,
.application-page .apply-wrapper:has(> .apply-block-title) {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 32px;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid #d2dfec;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(206, 226, 247, .55), transparent 34%),
        #fff;
    box-shadow: 0 18px 54px rgba(0, 25, 72, .09);
}

.application-page .gform_wrapper .checks-form-intro .apply-wrapper::before,
.application-page .apply-wrapper:has(> .apply-block-title)::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #001a50, #1760bc 70%, #53a0e8);
}

.application-page .gform_wrapper .checks-form-intro .apply-block-title,
.application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title {
    display: grid;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0 0 28px;
    border-bottom: 1px solid #d7e2ee;
    text-align: left;
}

.application-page .gform_wrapper .checks-form-intro .apply-block-title h1,
.application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title h1 {
    margin: 0;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.02em;
}

.application-page .gform_wrapper .checks-form-intro .apply-block-title p,
.application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title p {
    max-width: 780px;
    margin: 0;
    color: #536078;
    font-family: var(--checks-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
}

.application-page .gform_wrapper .checks-form-intro .proof-block,
.application-page .apply-wrapper:has(> .apply-block-title) > .proof-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.application-page .gform_wrapper .checks-form-intro .proof-item,
.application-page .apply-wrapper:has(> .apply-block-title) > .proof-block > .proof-item {
    min-width: 0;
    padding: 28px;
    border: 1px solid #d8e3ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 26, 80, .055);
}

.application-page .gform_wrapper .checks-form-intro .proof-item:nth-child(2),
.application-page .apply-wrapper:has(> .apply-block-title) > .proof-block > .proof-item:nth-child(2) {
    background: #f5f9fe;
}

.application-page .gform_wrapper .checks-form-intro .apply-title,
.application-page .apply-wrapper:has(> .apply-block-title) .apply-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 22px;
}

.application-page .gform_wrapper .checks-form-intro .apply-title > svg,
.application-page .apply-wrapper:has(> .apply-block-title) .apply-title > svg {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    padding: 8px;
    border: 1px solid #d5e5f5;
    border-radius: 14px;
    background: #eaf3fc;
}

.application-page .gform_wrapper .checks-form-intro .apply-title h2,
.application-page .apply-wrapper:has(> .apply-block-title) .apply-title h2 {
    margin: 0;
    color: var(--checks-navy);
    font-family: var(--checks-font);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.08;
}

.application-page .gform_wrapper .checks-form-intro .track-list,
.application-page .apply-wrapper:has(> .apply-block-title) .track-list {
    margin: 0;
}

.application-page .gform_wrapper .checks-form-intro .track-list ul,
.application-page .apply-wrapper:has(> .apply-block-title) .track-list ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.application-page .gform_wrapper .checks-form-intro .track-list li,
.application-page .apply-wrapper:has(> .apply-block-title) .track-list li {
    position: relative;
    display: block;
    min-height: 51px;
    margin: 0;
    padding: 13px 0 13px 38px;
    color: #334158;
    border-bottom: 1px solid #e1e8f0;
    font-family: var(--checks-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
}

.application-page .gform_wrapper .checks-form-intro .track-list li:last-child,
.application-page .apply-wrapper:has(> .apply-block-title) .track-list li:last-child {
    border-bottom: 0;
}

.application-page .gform_wrapper .checks-form-intro .track-list li > svg,
.application-page .apply-wrapper:has(> .apply-block-title) .track-list li > svg {
    position: absolute;
    top: 14px;
    left: 0;
    width: 24px;
    height: 24px;
}

.application-page .gform_wrapper .checks-form-intro .track-list a,
.application-page .apply-wrapper:has(> .apply-block-title) .track-list a {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0;
    color: #0757b8;
    border-radius: 0;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 820px) {
    .application-page .gform_wrapper .checks-form-intro .hero__apply__content,
    .application-page .gform_wrapper .checks-form-intro .proof-block,
    .application-page .apply-wrapper:has(> .apply-block-title) > .proof-block {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .application-page .gform_wrapper .gf_page_steps {
        margin-bottom: 32px;
        padding: 15px 16px;
        border-radius: 13px;
    }

    .application-page .gform_wrapper .gf_page_steps::before {
        right: 34px;
        left: 34px;
    }

    .application-page .gform_wrapper .gf_step {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        box-shadow: 0 0 0 4px #fff;
    }

    .application-page .gform_wrapper .gf_step_active {
        box-shadow: 0 0 0 4px #fff, 0 6px 15px rgba(0, 42, 107, .18);
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply,
    .application-page .gform_wrapper .checks-form-intro .apply-wrapper,
    .application-page .apply-wrapper:has(> .apply-block-title) {
        padding: 25px;
        border-radius: 16px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__title,
    .application-page .gform_wrapper .checks-form-intro .apply-block-title h1,
    .application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title h1 {
        font-size: 39px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply__content_card,
    .application-page .gform_wrapper .checks-form-intro .proof-item,
    .application-page .apply-wrapper:has(> .apply-block-title) > .proof-block > .proof-item {
        padding: 23px;
    }
}

@media (max-width: 480px) {
    .application-page .gform_wrapper .gf_page_steps {
        justify-content: space-between;
        gap: 4px;
        padding: 13px 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .application-page .gform_wrapper .gf_page_steps::-webkit-scrollbar {
        display: none;
    }

    .application-page .gform_wrapper .gf_page_steps::before {
        right: 24px;
        left: 24px;
    }

    .application-page .gform_wrapper .gf_step {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .application-page .gform_wrapper .gf_step_number {
        font-size: 13px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply,
    .application-page .gform_wrapper .checks-form-intro .apply-wrapper,
    .application-page .apply-wrapper:has(> .apply-block-title) {
        padding: 19px;
        border-radius: 14px;
    }

    .application-page .gform_wrapper .checks-form-intro .heading,
    .application-page .gform_wrapper .checks-form-intro .apply-block-title,
    .application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__title,
    .application-page .gform_wrapper .checks-form-intro .apply-block-title h1,
    .application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title h1 {
        font-size: 32px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__body,
    .application-page .gform_wrapper .checks-form-intro .apply-block-title p,
    .application-page .apply-wrapper:has(> .apply-block-title) > .apply-block-title p {
        font-size: 17px;
    }

    .application-page .gform_wrapper .checks-form-intro .hero__apply__content_card,
    .application-page .gform_wrapper .checks-form-intro .proof-item,
    .application-page .apply-wrapper:has(> .apply-block-title) > .proof-block > .proof-item {
        padding: 18px;
        border-radius: 12px;
    }

    .application-page .gform_wrapper .checks-form-intro .apply-title,
    .application-page .apply-wrapper:has(> .apply-block-title) .apply-title {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .application-page .gform_wrapper .checks-form-intro .apply-title > svg,
    .application-page .apply-wrapper:has(> .apply-block-title) .apply-title > svg {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        padding: 7px;
        border-radius: 12px;
    }

    .application-page .gform_wrapper .checks-form-intro .apply-title h2,
    .application-page .apply-wrapper:has(> .apply-block-title) .apply-title h2 {
        padding-top: 5px;
        font-size: 24px;
    }

    .application-page .gform_wrapper .checks-form-intro .track-list li,
    .application-page .apply-wrapper:has(> .apply-block-title) .track-list li {
        min-height: 48px;
        padding: 12px 0 12px 34px;
        font-size: 17px;
    }

    .application-page .gform_wrapper .checks-form-intro .track-list li > svg,
    .application-page .apply-wrapper:has(> .apply-block-title) .track-list li > svg {
        top: 13px;
        width: 22px;
        height: 22px;
    }
}

/* --------------------------------------------------------------------------
   Application form screenshot corrections
   -------------------------------------------------------------------------- */
.application-page .gform_wrapper .gf_progressbar_wrapper {
    width: min(1000px, 100%);
    margin: 0 auto 42px;
    padding: 20px 0 24px;
    border-top: 1px solid #d7e2ee;
    border-bottom: 1px solid #d7e2ee;
    background: transparent;
}

.application-page .gform_wrapper .gf_progressbar_title {
    margin: 0 0 12px !important;
    color: var(--checks-navy) !important;
    font-family: var(--checks-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.application-page .gform_wrapper .gf_progressbar {
    height: 9px;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 999px;
    background: #e2eaf3;
}

.application-page .gform_wrapper .gf_progressbar_percentage {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #001f5b, #185bb2);
}

.application-page .gform_wrapper .gf_progressbar_percentage span {
    display: none;
}

.application-page .gform_wrapper .gform_fields > .gfield:not(.gfield--type-page) {
    grid-column: 1 / -1;
}

/* Keep all day, month and year controls together in their natural order. */
.application-page .gform_wrapper .gfield--type-date > .ginput_container.ginput_complex {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start;
    width: min(660px, 100%);
    max-width: 100%;
    gap: 14px;
}

.application-page .gform_wrapper .gfield--type-date > .ginput_container.ginput_complex > * {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.application-page .gform_wrapper .gfield--type-date > .ginput_container.ginput_complex select,
.application-page .gform_wrapper .gfield--type-date > .ginput_container.ginput_complex input {
    width: 100% !important;
    min-width: 0 !important;
}

/* Address lines read top-to-bottom, followed by paired locality fields. */
.application-page .gform_wrapper .gfield--type-address > .ginput_container_address {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start;
    width: 100%;
    gap: 16px 20px;
}

.application-page .gform_wrapper .gfield--type-address > .ginput_container_address > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.application-page .gform_wrapper .checks-form-section-title--standalone {
    grid-column: 1 / -1;
}

.application-page .gform_wrapper .gfield--type-address > .ginput_container_address > span {
    display: flex !important;
    flex-direction: column;
}

.application-page .gform_wrapper .gfield--type-address > .ginput_container_address > .address_line_1,
.application-page .gform_wrapper .gfield--type-address > .ginput_container_address > .address_line_2 {
    grid-column: 1 / -1 !important;
}

.application-page .gform_wrapper .gfield--type-address > .ginput_container_address input,
.application-page .gform_wrapper .gfield--type-address > .ginput_container_address select {
    width: 100% !important;
}

.application-page .gform_wrapper .gfield--type-address > .ginput_container_address .gform-field-label--type-sub {
    order: -1;
    margin: 0 0 8px;
    color: var(--checks-navy);
    font-size: 16px;
    font-weight: 700;
}

.application-page .gform_wrapper .gfield--type-address > .ginput_container_address > .gf_clear {
    display: none;
}

.application-page .gform_wrapper .ginput_complex .gform-field-label--type-sub {
    display: block;
    margin: 7px 0 0;
}

/* Clean custom radio controls without the browser's overlapping native dot. */
.application-page .gform_wrapper .gfield_radio {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
    align-items: start;
    gap: 12px 28px;
}

.application-page .gform_wrapper .gfield_radio .gchoice,
.application-page .gform_wrapper .gfield_checkbox .gchoice {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.application-page .gform_wrapper .gfield_radio .gchoice {
    min-height: 24px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
}

.application-page .gform_wrapper .gfield_radio .gchoice label {
    align-self: center;
    line-height: 22px;
}

.application-page .gform_wrapper input[type="radio"] {
    position: relative;
    display: block;
    flex: 0 0 22px;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 2px solid #879bb5 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
}

.application-page .gform_wrapper input[type="radio"]::before {
    content: none !important;
    display: none !important;
}

.application-page .gform_wrapper input[type="radio"]::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #174c9f !important;
    opacity: 0 !important;
    transform: translate(-50%, -50%) !important;
}

.application-page .gform_wrapper input[type="radio"]:checked {
    border-color: #174c9f !important;
    background: #fff !important;
    box-shadow: none !important;
}

.application-page .gform_wrapper input[type="radio"]:checked::after {
    opacity: 1 !important;
}

.application-page .gform_wrapper input[type="radio"]:focus-visible {
    outline: none;
    border-color: #174c9f !important;
    box-shadow: none !important;
}

.application-page .gform_wrapper input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(23, 76, 159, .22);
    outline-offset: 3px;
}

/* Clear square consent controls with one centred checkmark. */
.application-page .gform_wrapper input[type="checkbox"] {
    position: relative;
    display: block;
    flex: 0 0 22px;
    width: 22px !important;
    height: 22px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 2px solid #879bb5 !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none;
    cursor: pointer;
}

.application-page .gform_wrapper input[type="checkbox"]:checked {
    border-color: #174c9f !important;
    background: #174c9f !important;
}

.application-page .gform_wrapper input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.application-page .gform_wrapper .ginput_container_consent {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.application-page .gform_wrapper .gchoice label,
.application-page .gform_wrapper .ginput_container_consent label {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    cursor: pointer;
}

/* Links embedded in sentences must not force the following text onto a new line. */
.application-page .gform_wrapper .gchoice label a,
.application-page .gform_wrapper .ginput_container_consent label a,
.application-page .gform_wrapper .gfield_description a,
.application-page .gform_wrapper .gfield_html p a,
.application-page .gform_wrapper .gfield_html li a,
.interior-page .entry-content :is(p, li, label) a,
body.checks-static-page main :is(p, li, label) a {
    display: inline !important;
    width: auto;
    margin: 0;
    padding: 0;
}

/* The requested application facts receive consistent, visible check badges. */
.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card.card-1 li {
    min-height: 24px;
    padding-left: 34px;
}

.application-page .gform_wrapper .checks-form-intro .hero__apply__content_card.card-1 li::before {
    top: 0;
    width: 23px;
    height: 23px;
    background: #1760bc;
    box-shadow: 0 0 0 4px rgba(23, 96, 188, .1);
    font-size: 14px;
}

.application-page .gform_wrapper .checks-form-review br {
    display: none;
}

@media (max-width: 640px) {
    .application-page .gform_wrapper .gf_progressbar_wrapper {
        margin-bottom: 30px;
        padding: 16px 0 20px;
    }

    .application-page .gform_wrapper .gfield--type-date > .ginput_container.ginput_complex {
        gap: 8px;
    }

    .application-page .gform_wrapper .gfield--type-address > .ginput_container_address {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
    }

    .application-page .gform_wrapper .gfield--type-address > .ginput_container_address > * {
        grid-column: 1 !important;
    }
}

/*
 * Gravity Forms assigns responsive flex widths to each date dropdown. Those
 * widths can be re-applied after a multi-page transition, so lock every
 * dropdown date to one equal, non-wrapping row at the final cascade position.
 */
.application-page .gform_wrapper fieldset.gfield--input-type-datedropdown > .ginput_complex.gform-grid-row {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch;
    justify-content: flex-start !important;
    width: min(660px, 100%) !important;
    max-width: 100% !important;
    gap: 14px !important;
}

.application-page .gform_wrapper fieldset.gfield--input-type-datedropdown > .ginput_complex.gform-grid-row > .ginput_container_date.gform-grid-col {
    display: block !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.application-page .gform_wrapper fieldset.gfield--input-type-datedropdown > .ginput_complex.gform-grid-row > .ginput_container_date select {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media (max-width: 640px) {
    .application-page .gform_wrapper fieldset.gfield--input-type-datedropdown > .ginput_complex.gform-grid-row {
        gap: 8px !important;
    }
}

/* Keep the application Date of Birth dropdowns inline after page refreshes. */
.application-page .gform_wrapper fieldset.checks-form-dob > .ginput_complex.gform-grid-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    width: min(760px, 100%) !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    gap: 14px !important;
}

.application-page .gform_wrapper fieldset.checks-form-dob > .ginput_complex.gform-grid-row > .ginput_container_date.gform-grid-col {
    display: block !important;
    grid-column: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.application-page .gform_wrapper fieldset.checks-form-dob > .ginput_complex.gform-grid-row > .ginput_container_date select {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media (max-width: 640px) {
    .application-page .gform_wrapper fieldset.checks-form-dob > .ginput_complex.gform-grid-row {
        gap: 8px !important;
    }
}

.application-page .gform_wrapper .partial_entry_warning {
    display: none !important;
}
