.srp-location-welcome-container {
    display: none;
    justify-items: center;
    padding-top: 24px;
}

.srp-location-welcome-container.srp-location-welcome-container--visible {
    display: grid;
}

.page-template-page-front-page .srp-location-welcome-container.srp-location-welcome-container--visible {
    display: flex;
    justify-content: center;
    margin-top: -10rem;
    z-index: 1;
    position: relative;
}

@media screen and (max-width: 767px) {
    .page-template-page-front-page .srp-location-welcome-container.srp-location-welcome-container--visible {
        margin-bottom: 2rem !important;
    }

    .page-template-page-homepage-page-builder .srp-location-welcome-container.srp-location-welcome-container--visible {
        margin-bottom: 2rem !important;
    }
}

@media screen and (max-width: 1024px) {
    .srp-location-welcome-container.srp-location-welcome-container--visible {
        margin-bottom: 1rem;
    }

    .srp-location-welcome {
        max-width: 100%;
    }

    .srp-location-welcome__subtitle {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.srp-location-welcome {
    background: #F7F7F7;
    border: 1px solid #ECECEC;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 549px;
}

.srp-location-welcome__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 24px;
    width: 100%;
}

.srp-location-welcome__cta {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.srp-location-welcome__cta:hover {
    text-decoration: none;
    color: inherit;
}

.srp-location-welcome__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.srp-location-welcome__kota {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.srp-location-welcome__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, var(--brand-color-primary-acf) 0%, rgba(40, 33, 97, 0.50) 100%);
    border-radius: 8px;
    color: #FFFFFF;
    text-decoration: none;
    flex-shrink: 0;
}

.srp-location-welcome__back:hover {
    color: #FFFFFF;
    opacity: 0.9;
}

.srp-location-welcome__back svg {
    width: 24px;
    height: 24px;
}

.srp-location-welcome__text-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.srp-location-welcome__text-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.srp-location-welcome__welcome {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: 0.015625em;
    color: #120253;
}

.srp-location-welcome__subtitle {
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5em;
    letter-spacing: 0.02083333em;
    color: #444854;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srp-location-welcome--skeleton .srp-location-welcome__subtitle {
    width: 300px;
    min-height: 18px;
    color: transparent;
    position: relative;
    overflow: hidden;
}

.srp-location-welcome--skeleton .srp-location-welcome__subtitle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #ECECEC 0%,
        #F7F7F7 50%,
        #ECECEC 100%
    );
    background-size: 200% 100%;
    animation: srp-location-welcome-skeleton 1.2s ease-in-out infinite;
}

@keyframes srp-location-welcome-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.srp-location-welcome__subtitle-prompt {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.25px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #120253;
    text-overflow: ellipsis;
}

.srp-location-welcome__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F3F1FC;
    border-radius: 50%;
    flex-shrink: 0;
}

.srp-location-welcome__icon-wrap svg {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 767px) {
    .srp-location-welcome {
        width: 100%;
    }

    .srp-location-welcome__inner {
        padding: 8px 16px 24px;
        align-self: stretch;
        width: 100%;
        box-sizing: border-box;
    }

    .srp-location-welcome__row {
        align-self: stretch;
        width: 100%;
    }

    .srp-location-welcome__kota {
        align-self: stretch;
        min-width: 0;
    }

    .srp-location-welcome__back {
        width: 32px;
        height: 32px;
    }

    .srp-location-welcome__back svg {
        width: 20px;
        height: 20px;
    }

    .srp-location-welcome__text-block {
        flex: 1;
        justify-content: stretch;
        min-width: 0;
    }

    .srp-location-welcome__subtitle {
        width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .srp-location-welcome--skeleton .srp-location-welcome__subtitle {
        width: 200px;
        height: 34px;
        min-height: 34px;
    }
}
