/* One optional article promotion, inheriting the NOVUM palette and type. */
.article-promo {
    width: min(940px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    padding: 0;
    margin: auto;
    overflow: auto;
    border: 1px solid #c5dcd3;
    border-radius: 0;
    background: #fff;
    color: #004672;
    font-family: var(--font-body, 'Nunito Sans', sans-serif);
    box-shadow: none;
    overscroll-behavior: contain;
}
.article-promo:not([open]) { display: none; }
.article-promo::backdrop { background: rgb(0 33 52 / 48%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.article-promo[open] { animation: novum-promo-zoom var(--promo-duration, 500ms) cubic-bezier(.16, 1, .3, 1) both; }
.article-promo[open]::backdrop { animation: novum-promo-fade var(--promo-duration, 500ms) ease-out both; }
.article-promo[data-effect="fade"] { animation-name: novum-promo-fade; }
.article-promo[data-effect="up"] { animation-name: novum-promo-up; }
.article-promo[data-effect="down"] { animation-name: novum-promo-down; }
.article-promo[data-effect="left"] { animation-name: novum-promo-left; }
.article-promo[data-effect="right"] { animation-name: novum-promo-right; }
.article-promo[data-effect="none"], .article-promo[data-effect="none"]::backdrop { animation: none; }
@keyframes novum-promo-zoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes novum-promo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes novum-promo-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes novum-promo-down { from { opacity: 0; transform: translateY(-32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes novum-promo-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes novum-promo-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.article-promo__layout { display: grid; grid-template-columns: 46% minmax(0, 1fr); }
.article-promo__media { background: #002d4a; display: flex; align-items: center; }
.article-promo .article-promo__image { display: block; width: 100%; height: auto; max-height: 480px; margin: 0; border: 0; box-shadow: none; object-fit: contain; }
.article-promo__copy { padding: 64px 38px 40px; }
.article-promo #novum-promo-title { margin: 0 0 20px; color: #004672; font-family: var(--font-heading, 'Sora', sans-serif); font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.3; font-weight: 700; text-wrap: balance; overflow-wrap: anywhere; }
.article-promo #novum-promo-description { color: #36586b; font-size: 1rem; line-height: 1.65; margin: 0 0 28px; }
.article-promo__controls { position: sticky; z-index: 2; top: 12px; height: 0; }
.article-promo__close { position: absolute; top: 0; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #bed8cb; border-radius: 0; background: #fff; color: #004672; cursor: pointer; }
.article-promo__close:hover { background: #edf8f2; }
.article-promo__link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 20px; background: #2dc471; color: #002d4a; font-size: 1rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.article-promo__link:hover { background: #28b768; color: #002d4a; }
.article-promo :is(a,button):focus-visible { outline: 3px solid #004672; outline-offset: 4px; }
.article-promo ::selection { background: #b9f2d4; color: #002d4a; }
.article-promo--text { width: min(620px, calc(100% - 32px)); }
.article-promo--text .article-promo__layout { grid-template-columns: minmax(0, 1fr); }
html.novum-promo-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .article-promo[open], .article-promo[open]::backdrop { animation: none; }
}
@media (max-width: 680px) {
    .article-promo { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
    .article-promo__layout { grid-template-columns: minmax(0, 1fr); }
    .article-promo__media { justify-content: center; }
    .article-promo .article-promo__image { width: auto; max-width: 100%; max-height: 190px; }
    .article-promo__copy { padding: 28px 24px; }
    .article-promo--text .article-promo__copy { padding-top: 64px; }
    .article-promo #novum-promo-title { font-size: 1.4rem; }
    .article-promo__link { width: 100%; box-sizing: border-box; }
}
