.stseo-preferred-source-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    box-sizing: border-box;
    width: 100%;
    margin: 32px 0 0;
    padding: 20px 22px;
    border: 1px solid #dbe3ec;
    border-left: 4px solid #22354e;
    border-radius: 12px;
    background: #f7f9fc;
    color: #22354e;
}

.stseo-preferred-source-cta__copy,
.stseo-preferred-source-cta__actions {
    min-width: 0;
}

.stseo-preferred-source-cta__button,
.stseo-preferred-source-cta__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 16px;
    border: 1px solid #dadce0;
    border-radius: 999px;
    background: #fff;
    color: #202124 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    transition: background .15s ease, box-shadow .15s ease;
}

.stseo-preferred-source-cta__button:hover,
.stseo-preferred-source-cta__button:focus-visible {
    border-color: #c5c9ce;
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60, 64, 67, .24);
    color: #202124 !important;
}

.stseo-preferred-source-cta__google-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.stseo-preferred-source-cta__title,
.stseo-preferred-source-cta__text {
    max-width: none;
}

.stseo-preferred-source-cta__title {
    margin: 0 0 6px;
    color: #22354e;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.stseo-preferred-source-cta__text {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}

.stseo-preferred-source-cta__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.stseo-preferred-source-cta__google--dark {
    display: none;
}

.stseo-preferred-source-cta__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #22354e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
}

.stseo-preferred-source-cta__fallback:hover,
.stseo-preferred-source-cta__fallback:focus-visible {
    background: #16273b;
    color: #fff !important;
}

body.gh-theme-dark .stseo-preferred-source-cta,
body.dark-mode .stseo-preferred-source-cta,
body.gh-dark-mode .stseo-preferred-source-cta,
body.globalhir-dark-mode .stseo-preferred-source-cta,
body.is-dark-mode .stseo-preferred-source-cta,
body[data-theme="dark"] .stseo-preferred-source-cta,
html.dark-mode .stseo-preferred-source-cta,
html[data-theme="dark"] .stseo-preferred-source-cta {
    border-color: #3b4a60;
    border-left-color: #8ab4f8;
    background: #172033;
    color: #f8fafc;
}

body.gh-theme-dark .stseo-preferred-source-cta__title,
body.dark-mode .stseo-preferred-source-cta__title,
body.gh-dark-mode .stseo-preferred-source-cta__title,
body.globalhir-dark-mode .stseo-preferred-source-cta__title,
body.is-dark-mode .stseo-preferred-source-cta__title,
body[data-theme="dark"] .stseo-preferred-source-cta__title,
html.dark-mode .stseo-preferred-source-cta__title,
html[data-theme="dark"] .stseo-preferred-source-cta__title {
    color: #f8fafc;
}

body.gh-theme-dark .stseo-preferred-source-cta__text,
body.dark-mode .stseo-preferred-source-cta__text,
body.gh-dark-mode .stseo-preferred-source-cta__text,
body.globalhir-dark-mode .stseo-preferred-source-cta__text,
body.is-dark-mode .stseo-preferred-source-cta__text,
body[data-theme="dark"] .stseo-preferred-source-cta__text,
html.dark-mode .stseo-preferred-source-cta__text,
html[data-theme="dark"] .stseo-preferred-source-cta__text {
    color: #cbd5e1;
}

body.gh-theme-dark .stseo-preferred-source-cta__google--light,
body.dark-mode .stseo-preferred-source-cta__google--light,
body.gh-dark-mode .stseo-preferred-source-cta__google--light,
body.globalhir-dark-mode .stseo-preferred-source-cta__google--light,
body.is-dark-mode .stseo-preferred-source-cta__google--light,
body[data-theme="dark"] .stseo-preferred-source-cta__google--light,
html.dark-mode .stseo-preferred-source-cta__google--light,
html[data-theme="dark"] .stseo-preferred-source-cta__google--light {
    display: none;
}

body.gh-theme-dark .stseo-preferred-source-cta__google--dark,
body.dark-mode .stseo-preferred-source-cta__google--dark,
body.gh-dark-mode .stseo-preferred-source-cta__google--dark,
body.globalhir-dark-mode .stseo-preferred-source-cta__google--dark,
body.is-dark-mode .stseo-preferred-source-cta__google--dark,
body[data-theme="dark"] .stseo-preferred-source-cta__google--dark,
html.dark-mode .stseo-preferred-source-cta__google--dark,
html[data-theme="dark"] .stseo-preferred-source-cta__google--dark {
    display: block;
}

body.gh-theme-dark .stseo-preferred-source-cta__button,
body.dark-mode .stseo-preferred-source-cta__button,
body.gh-dark-mode .stseo-preferred-source-cta__button,
body.globalhir-dark-mode .stseo-preferred-source-cta__button,
body.is-dark-mode .stseo-preferred-source-cta__button,
body[data-theme="dark"] .stseo-preferred-source-cta__button,
html.dark-mode .stseo-preferred-source-cta__button,
html[data-theme="dark"] .stseo-preferred-source-cta__button {
    border-color: #5b6472;
    background: #f8f9fa;
    color: #202124 !important;
}

@media (max-width: 720px) {
    .stseo-preferred-source-cta {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 26px;
        padding: 18px;
    }

    .stseo-preferred-source-cta__actions {
        justify-content: flex-start;
    }

    .stseo-preferred-source-cta__button {
        justify-content: flex-start;
        border-radius: 12px;
    }
}
