/* Cross-sell banners for our other Windows photo apps, shown on the Downloading
   and ProDownload pages while the user waits for the installer to arrive. */

.xsell-head {
    margin: 0 0 4px 0;
}

.xsell-sub {
    color: #777;
    font-size: 14px;
    margin: 0 0 18px 0;
}

.xsell-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 26px;
}

.xsell-card {
    position: relative;
    display: block;
    flex: 1 1 380px;
    min-width: 280px;
    min-height: 172px;
    border-radius: 10px;
    overflow: hidden;
    background: #061530;
    box-shadow: 0 6px 18px rgba(0,0,0,0.20);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .xsell-card:hover,
    .xsell-card:focus {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0,0,0,0.32);
        text-decoration: none;
    }

.xsell-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transition: transform .4s ease;
}

.xsell-card:hover .xsell-bg {
    transform: scale(1.04);
}

.xsell-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(3,11,30,0.95) 0%, rgba(3,11,30,0.93) 46%, rgba(3,11,30,0.78) 64%, rgba(3,11,30,0.28) 84%, rgba(3,11,30,0) 100%);
}

.xsell-inner {
    position: relative;
    display: block;
    padding: 18px 22px 20px 22px;
    max-width: 66%;
}

.xsell-brand {
    display: block;
    margin-bottom: 8px;
}

.xsell-icon {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.xsell-name {
    display: block;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.xsell-tag {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8fc4f7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.xsell-pitch {
    display: block;
    clear: both;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    margin: 0 0 14px 0;
}

.xsell-cta {
    display: inline-block;
    background: #fff;
    color: #10437f;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 20px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.xsell-card:hover .xsell-cta {
    background: #eaf3ff;
}

@media screen and (max-width: 767px) {
    .xsell-inner {
        max-width: 100%;
    }

    .xsell-scrim {
        background: linear-gradient(100deg, rgba(3,11,30,0.94) 0%, rgba(3,11,30,0.88) 55%, rgba(3,11,30,0.60) 100%);
    }
}
