.amg-google-source {
    box-sizing: border-box;
    width: min(1120px, calc(100% - 32px));
    margin: clamp(24px, 4vw, 40px) auto;
    font-family: inherit;
}

.amg-google-source__link {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 15px 18px;
    color: #edf8ff;
    text-decoration: none;
    background: linear-gradient(115deg, #0d2743, #091a2e 72%);
    border: 1px solid #356185;
    border-radius: 14px;
    transition: border-color .18s ease, background-color .18s ease;
}

.amg-google-source__link:hover {
    color: #fff;
    text-decoration: none;
    border-color: #78cbf7;
}

.amg-google-source__link:focus-visible {
    outline: 3px solid #81d8ff;
    outline-offset: 4px;
}

.amg-google-source__icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    background: #fff;
    border-radius: 12px;
}

.amg-google-source__icon svg,
.amg-google-source__cta svg {
    display: block;
    flex: none;
}

.amg-google-source__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.amg-google-source__copy strong {
    font-size: clamp(16px, 1.55vw, 19px);
    font-weight: 750;
    line-height: 1.3;
}

.amg-google-source__copy > span {
    color: #c2d7e9;
    font-size: 14px;
    line-height: 1.4;
}

.amg-google-source__cta {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 15px;
    color: #082032;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    white-space: nowrap;
    background: #82d8ff;
    border-radius: 9px;
}

.amg-google-source__link:hover .amg-google-source__cta {
    background: #b5ecff;
}

.amg-google-source__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 540px) {
    .amg-google-source__link {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 11px;
        padding: 13px;
    }

    .amg-google-source__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .amg-google-source__icon svg {
        width: 24px;
        height: 24px;
    }

    .amg-google-source__cta {
        grid-column: 2;
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .amg-google-source__link {
        transition: none;
    }
}
