                                                                                   
.jt-home-welcome[hidden] { display: none !important; }

.jt-home-welcome {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 24, 31, .54);
    -webkit-tap-highlight-color: transparent;
}

.jt-home-welcome__backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.jt-home-welcome__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100svh - 48px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(20, 24, 31, .09);
    border-top: 4px solid var(--primary, #c11850);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(12, 18, 29, .28);
}

.jt-home-welcome__close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(20, 24, 31, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #25282d;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.jt-home-welcome__close:hover { background: #f4f5f6; }
.jt-home-welcome__close:focus-visible,
.jt-home-welcome__cta:focus-visible { outline: 3px solid rgba(193, 24, 80, .35); outline-offset: 3px; }

.jt-home-welcome__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f2f4f7;
}

.jt-home-welcome__content {
    padding: 24px 28px 28px;
    color: #31343a;
    text-align: center;
}

.jt-home-welcome__content h2 {
    margin: 0;
    color: #262a31;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 750;
    line-height: 1.22;
}

.jt-home-welcome__content p {
    margin: 12px auto 0;
    max-width: 47ch;
    color: #5d6470;
    font-size: 1rem;
    line-height: 1.55;
}

.jt-home-welcome__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 9px;
    background: var(--primary, #c11850);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.jt-home-welcome__cta:hover { background: #a71345; color: #fff; }

body.jt-home-welcome-open { overflow: hidden; touch-action: none; }
body.jt-home-welcome-open .jt-home-welcome__dialog { touch-action: pan-y; }

@media (max-width: 640px) {
    .jt-home-welcome {
        align-items: end;
        padding: 12px;
    }

    .jt-home-welcome__dialog {
        width: 100%;
        max-height: calc(100svh - 24px);
        border-radius: 15px;
    }

    .jt-home-welcome__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .jt-home-welcome__content { padding: 19px 19px 21px; }
    .jt-home-welcome__content p { font-size: .95rem; line-height: 1.5; }
    .jt-home-welcome__cta { display: flex; width: 100%; margin-top: 17px; min-height: 46px; }
}

@media (prefers-reduced-motion: no-preference) {
    .jt-home-welcome { animation: jt-home-welcome-fade .18s ease-out; }
    .jt-home-welcome__dialog { animation: jt-home-welcome-rise .22s ease-out; }
}

@keyframes jt-home-welcome-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes jt-home-welcome-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
