/* PromoVEN house ads. The ad slot dimensions and document layouts stay owned
   by the News page templates; this file supplies only the creative treatment. */
.mock-ad-slot.pv-house-ad-slot,
.pv-inline-ad.pv-house-ad-slot,
.pv-house-ad-slot.pv-article-top-ad {
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #062f54 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(5, 40, 70, .14) !important;
    text-align: left !important;
}

.mock-ad-slot.pv-house-ad-slot {
    display: block !important;
}

.mock-ad-slot.pv-house-ad-slot > *,
.pv-inline-ad.pv-house-ad-slot > * {
    margin: 0 !important;
    padding: 0 !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad *,
.pv-inline-ad.pv-house-ad-slot .pv-house-ad * {
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    text-align: left !important;
}

.pv-house-ad-slot .pv-house-ad,
.pv-house-ad-slot.pv-house-ad {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    align-items: center;
    color: #fff !important;
    background: #062f54 !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    text-align: left !important;
    text-decoration: none !important;
}

.pv-house-ad-slot .pv-house-ad:hover,
.pv-house-ad-slot.pv-house-ad:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.pv-house-ad__photo,
.pv-house-ad__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block !important;
}

.pv-house-ad__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .74;
}

.pv-house-ad__shade {
    z-index: 0;
    background: linear-gradient(90deg, rgba(3, 37, 67, .97) 0%, rgba(3, 48, 84, .89) 52%, rgba(3, 48, 84, .42) 100%) !important;
}

.pv-house-ad__brand,
.pv-house-ad__copy {
    position: relative;
    z-index: 1;
}

.pv-house-ad__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 28px;
    margin: 0 12px 0 15px !important;
    padding: 3px 7px !important;
    border-radius: 5px;
    background: #fff !important;
    text-align: center !important;
}

.pv-house-ad__brand img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pv-house-ad__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 8px 13px 8px 0 !important;
    text-align: left !important;
}

.pv-house-ad__eyebrow {
    color: #ffd044 !important;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.15;
    text-transform: uppercase;
}

.pv-house-ad__headline {
    display: block;
    max-width: 100%;
    color: #fff !important;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.13;
    letter-spacing: -.02em;
}

.pv-house-ad__body {
    display: block;
    max-width: 580px;
    color: #e0edf7 !important;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
}

.pv-house-ad__cta {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    margin: 2px 0 0 !important;
    padding: 4px 10px !important;
    border-radius: 999px;
    background: #f5b400 !important;
    color: #082b4f !important;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.pv-house-ad__short {
    display: none;
}

.pv-house-ad--square {
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 17px !important;
    text-align: left !important;
}

.pv-house-ad--square .pv-house-ad__photo img {
    opacity: .66;
}

.pv-house-ad--square .pv-house-ad__shade {
    background: linear-gradient(180deg, rgba(3, 37, 67, .06) 0%, rgba(3, 37, 67, .48) 37%, rgba(3, 37, 67, .98) 100%) !important;
}

.pv-house-ad--square .pv-house-ad__brand {
    width: 86px;
    height: 27px;
    margin: 0 0 11px !important;
}

.pv-house-ad--square .pv-house-ad__copy {
    width: 100%;
    gap: 5px;
    padding: 0 !important;
}

.pv-house-ad--square .pv-house-ad__eyebrow {
    font-size: 8px;
}

.pv-house-ad--square .pv-house-ad__headline {
    font-size: 17px;
}

.pv-house-ad--square .pv-house-ad__body {
    font-size: 10px;
    line-height: 1.35;
}

.pv-house-ad--square .pv-house-ad__cta {
    min-height: 27px;
    margin: 4px 0 0 !important;
    padding: 6px 12px !important;
    font-size: 10px;
}

.pv-house-ad--banner {
    min-height: 100%;
    flex-direction: row;
}

.pv-house-ad--banner .pv-house-ad__copy {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 8px 14px 8px 0 !important;
}

.pv-house-ad--banner .pv-house-ad__eyebrow,
.pv-house-ad--banner .pv-house-ad__body {
    display: none;
}

.pv-house-ad--banner .pv-house-ad__headline {
    flex: 1 1 auto;
    font-size: clamp(14px, 1.5vw, 20px);
}

.pv-house-ad--banner .pv-house-ad__cta {
    flex: 0 0 auto;
    min-height: 28px;
    margin: 0 !important;
    padding: 7px 12px !important;
    font-size: 10px;
}

.pv-inline-ad.pv-house-ad-slot {
    min-height: 90px;
    height: 90px;
    margin: 0 auto 30px;
}

.pv-article-top-ad {
    width: 970px;
    max-width: 100%;
    height: 90px;
    margin: 0 auto 22px;
}

.pv-article-top-ad .pv-house-ad__brand {
    width: 100px;
}

.pv-rectangle.pv-house-ad-slot {
    padding: 0 !important;
    border-radius: 12px !important;
}

.pv-rectangle.pv-house-ad-slot .pv-house-ad__brand {
    flex: 0 0 auto;
}

@media (max-width: 800px) {
    .pv-house-ad__brand {
        width: 76px;
        height: 25px;
        margin: 0 9px 0 10px !important;
    }

    .pv-house-ad--banner .pv-house-ad__copy {
        gap: 8px;
        padding: 8px 9px 8px 0 !important;
    }

    .pv-house-ad--banner .pv-house-ad__headline {
        font-size: 14px;
    }

    .pv-house-ad--banner .pv-house-ad__cta {
        min-height: 25px;
        padding: 6px 9px !important;
        font-size: 9px;
    }

    .pv-article-top-ad {
        width: 468px;
        height: 60px;
    }
}

@media (max-width: 560px) {
    .pv-house-ad--banner .pv-house-ad__brand {
        display: none;
    }

    .pv-house-ad--banner .pv-house-ad__copy {
        gap: 6px;
        padding: 4px 8px !important;
    }

    .pv-house-ad--banner .pv-house-ad__headline {
        font-size: 12px;
        line-height: 1.05;
    }

    .pv-house-ad--banner .pv-house-ad__full {
        display: none;
    }

    .pv-house-ad--banner .pv-house-ad__short {
        display: inline;
    }

    .pv-house-ad--banner .pv-house-ad__cta {
        min-height: 21px;
        padding: 5px 7px !important;
        font-size: 8px;
    }

    .pv-house-ad__shade {
        background: linear-gradient(90deg, rgba(3, 37, 67, .97), rgba(3, 48, 84, .65)) !important;
    }

    .pv-article-top-ad {
        width: 320px;
        height: 50px;
        margin-bottom: 16px;
    }

    .pv-inline-ad.pv-house-ad-slot {
        height: 60px;
        min-height: 60px;
    }
}

/* The supplied News mockups include forceful placeholder styles. These
   selectors intentionally outrank those rules for the campaign artwork. */
.mock-ad-slot.pv-house-ad-slot .pv-house-ad__shade,
.mock-ad-slot.pv-house-ad-slot .pv-house-ad--square .pv-house-ad__shade {
    background: linear-gradient(90deg, rgba(3, 37, 67, .97), rgba(3, 48, 84, .65)) !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad__brand {
    margin: 0 12px 0 15px !important;
    padding: 3px 7px !important;
    background: #fff !important;
    text-align: center !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad__copy {
    padding: 8px 13px 8px 0 !important;
    text-align: left !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad__eyebrow {
    color: #ffd044 !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad__headline {
    color: #fff !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad__body {
    color: #e0edf7 !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad__cta {
    margin: 0 !important;
    padding: 4px 10px !important;
    background: #f5b400 !important;
    color: #082b4f !important;
    text-align: center !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--square {
    padding: 17px !important;
    text-align: left !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--square .pv-house-ad__shade {
    background: linear-gradient(180deg, rgba(3, 37, 67, .06), rgba(3, 37, 67, .48) 37%, rgba(3, 37, 67, .98)) !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--square .pv-house-ad__brand {
    margin: 0 0 11px !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--square .pv-house-ad__copy {
    padding: 0 !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--square .pv-house-ad__cta {
    margin: 4px 0 0 !important;
    padding: 6px 12px !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--banner .pv-house-ad__copy {
    padding: 8px 14px 8px 0 !important;
}

.mock-ad-slot.pv-house-ad-slot .pv-house-ad--banner .pv-house-ad__cta {
    margin: 0 !important;
    padding: 7px 12px !important;
}

@media (max-width: 800px) {
    .mock-ad-slot.pv-house-ad-slot .pv-house-ad__brand {
        margin: 0 9px 0 10px !important;
    }

    .mock-ad-slot.pv-house-ad-slot .pv-house-ad--banner .pv-house-ad__copy {
        padding: 8px 9px 8px 0 !important;
    }

    .mock-ad-slot.pv-house-ad-slot .pv-house-ad--banner .pv-house-ad__cta {
        padding: 6px 9px !important;
    }
}

@media (max-width: 560px) {
    .mock-ad-slot.pv-house-ad-slot .pv-house-ad--banner .pv-house-ad__copy {
        padding: 4px 8px !important;
    }

    .mock-ad-slot.pv-house-ad-slot .pv-house-ad--banner .pv-house-ad__cta {
        padding: 5px 7px !important;
    }
}
