/* Scoped to the free registration wall; Ghost retains control of access and Portal. */
.gh-post-upgrade-cta.cio-registration-wall {
    align-items: stretch;
    color: var(--color-primary-text, #15171a);
    font-family: var(--gh-font-body, var(--font-sans));
    text-align: left;
}

.cio-registration-wall .gh-post-upgrade-cta-content {
    align-items: flex-start;
    padding: 28px 0 8px;
    border-top: 3px solid var(--ghost-accent-color, #1b4f72);
    border-radius: 0;
    background: #fff;
    color: inherit;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
}

.cio-registration-wall .cio-registration-wall-masthead {
    margin: 0 0 16px;
    color: var(--ghost-accent-color, #1b4f72);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cio-registration-wall h2 {
    max-width: 680px;
    margin: 0;
    color: inherit;
    font-family: var(--gh-font-heading, var(--font-serif));
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.cio-registration-wall p {
    max-width: 660px;
    margin: 16px 0 0;
}

.cio-registration-wall .cio-registration-wall-promise {
    font-weight: 600;
}

.cio-registration-wall a.gh-btn {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 48px;
    margin: 24px 0 0;
    padding: 13px 22px;
    border-radius: 3px;
    background: var(--ghost-accent-color, #1b4f72);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.cio-registration-wall a.gh-btn:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.cio-registration-wall small {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
}

.cio-registration-wall a:not(.gh-btn),
.cio-registration-wall a:not(.gh-btn):hover {
    color: var(--ghost-accent-color, #1b4f72);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cio-registration-wall a:focus-visible {
    outline: 3px solid var(--ghost-accent-color, #1b4f72);
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .cio-registration-wall .gh-post-upgrade-cta-content {
        padding-top: 22px;
        font-size: 16px;
    }

    .cio-registration-wall a.gh-btn {
        width: 100%;
        padding-inline: 16px;
    }
}
