
/* CPDB domain sales pilot — approved historical portrait preview */

.hero__art.cpdb-hero-with-preview {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    margin-inline: auto;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dedee2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.hero__art.cpdb-hero-with-preview::after {
    content: none;
}

.hero__art.cpdb-hero-with-preview > :not(.cpdb-domain-preview-link):not(.cpdb-domain-preview-disclaimer) {
    display: none;
}

.cpdb-domain-preview-link {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e0e0e3;
    border-radius: 7px;
    color: #111111;
    background: #ffffff;
    text-decoration: none;
}

.cpdb-domain-preview-link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: top center;
    background: #ffffff;
}

.cpdb-domain-preview-label {
    display: block;
    padding: 13px 15px;
    color: #ffffff;
    background: #d6001c;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
    text-align: center;
}

.cpdb-domain-preview-link:hover .cpdb-domain-preview-label,
.cpdb-domain-preview-link:focus-visible .cpdb-domain-preview-label {
    background: #a90018;
}

.cpdb-domain-preview-disclaimer {
    margin: 0;
    padding: 0 4px;
    color: #62666d;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 950px) {
    .hero__art.cpdb-hero-with-preview {
        max-width: 450px;
    }
}

@media (max-width: 620px) {
    .hero__art.cpdb-hero-with-preview {
        max-width: 100%;
        padding: 10px;
    }
}
