.he-google-signin {
    clear: both;
    max-width: 100%;
}

/* Account-only controls must also fit narrow WordPress/UM theme containers. */
.he-social-account form,
.he-social-account details {
    min-width: 0;
    max-width: 100%;
}

.he-social-account button,
.he-social-account .um-button {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.he-social-account p,
.he-social-account summary {
    overflow-wrap: anywhere;
}

.he-social-account summary {
    cursor: pointer;
    padding: 10px 0;
}

.he-social-account :is(button, input, summary):focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 3px;
}

.he-google-signin .he-google-signin__link,
.he-google-signin .he-google-signin__link:link,
.he-google-signin .he-google-signin__link:visited {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    max-width: 400px;
    padding: 10px 12px !important;
    border: 1px solid #747775 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #1f1f1f !important;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: .15px;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.he-google-signin .he-google-signin__link:hover {
    border-color: #5f6368 !important;
    background: #f8f9fa !important;
    color: #1f1f1f !important;
    text-decoration: none !important;
}

.he-google-signin .he-google-signin__link:active {
    background: #f1f3f4 !important;
    color: #1f1f1f !important;
}

.he-google-signin .he-google-signin__link:focus {
    color: #1f1f1f !important;
}

.he-google-signin .he-google-signin__link:focus-visible {
    outline: 3px solid #1a73e8 !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #fff !important;
}

.he-google-signin .he-google-signin__mark {
    position: relative;
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.he-google-signin .he-google-signin__mark img {
    position: absolute;
    top: -10px;
    left: -10px;
    display: block;
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
}

.he-google-signin .he-google-signin__label {
    display: block;
    min-width: 0;
}

@media (max-width: 360px) {
    .he-google-signin .he-google-signin__link,
    .he-google-signin .he-google-signin__link:link,
    .he-google-signin .he-google-signin__link:visited {
        width: 100%;
        min-width: 0;
    }
}

