/* Registration chrome overrides — engage cards + minimal header + hide portal floats */

.reg-page .reg-app-header {
    background: #fff;
    border-bottom: 1px solid #e3e7ee;
    flex-shrink: 0;
}

.reg-page .reg-app-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 64px;
}

.reg-page .reg-app-header__menu,
.reg-page .reg-app-header__search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: #171c8f;
    flex-shrink: 0;
    cursor: default;
}

.reg-page .reg-app-header__logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 0;
}

.reg-page .reg-rta-logo-img {
    height: 52px;
    width: auto;
}

.reg-page .section_h23_engage .columns.columns-gap.is-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .reg-page .section_h23_engage .columns.columns-gap.is-mobile {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .reg-page .section_h23_engage .columns.columns-gap.is-mobile {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.reg-page .section_h23_engage .h23_card.h23_engage_icon {
    display: block;
    text-align: center;
    height: 100%;
    padding: 16px 18px;
}

.reg-page .section_h23_engage .h23_engage_icon svg,
.reg-page .section_h23_engage .h23_card.h23_engage_icon > svg {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

.reg-page .section_h23_engage .h23_card_content {
    text-align: center;
}

.reg-page .section_h23_engage .h23_card_content p {
    margin: 0;
    line-height: 1.45;
}

.reg-page .section_h23_engage .h23_card_content p + p {
    margin-top: 6px;
}

/* Registration footer — social row, stacked gov logos, centered copyright (match service-details) */
.reg-page .foo-copyright-container .dda-container.container-1200 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    float: none;
}

.reg-page .foo-copyright-container .col-lg-4,
.reg-page .foo-copyright-container .col-lg-8,
.reg-page .foo-copyright-container .col-lg-6,
.reg-page .foo-copyright-container .col-md-6 {
    width: 100%;
    max-width: 100%;
    float: none;
}

.reg-page .foo-copyright-container .list-social-media {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reg-page .foo-copyright-container .normal-row.foo-gov-logos {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.25rem;
}

.reg-page .foo-copyright-container .foo-gov-logos .logocontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.reg-page .foo-copyright-container .clearfix {
    width: 100%;
}

.reg-page .foo-copyright-container .para {
    text-align: center;
}

.reg-page .foo-copyright-container .dda-d-none.d-lg-block {
    display: block !important;
}


/* Identity page uses same header chrome without .reg-page wrapper issues */
body.rta-identity-mode .reg-app-header {
    background: #fff;
    border-bottom: 1px solid #e3e7ee;
}
body.rta-identity-mode .reg-app-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 64px;
}
body.rta-identity-mode .reg-app-header__menu,
body.rta-identity-mode .reg-app-header__search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: #171c8f;
    flex-shrink: 0;
}
body.rta-identity-mode .reg-app-header__logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.rta-identity-mode .reg-rta-logo-img {
    height: 48px;
    width: auto;
}
