/* First-party article cards only occupy existing, visible ad reservations. */
.tr-promotion-slot { position: relative; }
#adstickyleft.tr-promotion-slot { position: fixed; }
.tr-promotion-active { min-height: 180px; }
td.tr-promotion-active { height: 180px; }
.tr-promotion-slot > ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.tr-article-promotion {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 28px);
    width: 100%;
    height: 100%;
    min-height: 180px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #bfdaef;
    border-radius: 12px;
    background: linear-gradient(120deg, #eff8ff, #fff 85%);
    color: #163f64;
    text-align: start;
    text-decoration: none;
    line-height: 1.4;
}
.tr-article-promotion[hidden] { display: none; }
/* React before JS runs if a late Google response arrives. Never cover an ad. */
.tr-promotion-slot:has(> ins.adsbygoogle[data-ad-status="filled"]) > .tr-article-promotion,
.tr-promotion-slot:has(> ins.adsbygoogle[data-ad-status="unfill-optimized"]) > .tr-article-promotion,
.tr-promotion-slot:has(> ins.adsbygoogle:not([data-ad-status="unfilled"]) iframe) > .tr-article-promotion { display: none; }
.tr-article-promotion:hover { border-color: #0085dc; background: #eaf5fe; color: #103759; }
.tr-article-promotion:focus-visible { outline: 3px solid #0075c4; outline-offset: 3px; }
.tr-article-promotion > img { flex: 0 0 auto; width: clamp(48px, 15%, 96px); height: auto; }
/* Merchant logos in the popup use a 16px height; article illustrations need their own size. */
#adafilpop .tr-article-promotion > img { width: 96px; height: 96px; margin: 0; }
.tr-promotion-copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; max-width: 560px; }
.tr-promotion-label { color: #52718a; font-size: 11px; font-weight: 400; }
.tr-promotion-title { font-size: 18px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tr-promotion-description { color: #476176; font-size: 13px; }
.tr-promotion-description, .tr-promotion-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tr-promotion-cta { color: #006db3; font-size: 13px; font-weight: 700; }
[dir="rtl"] .tr-promotion-cta > span { display: inline-block; transform: scaleX(-1); }
#sidebar .tr-article-promotion, #adstickyleft .tr-article-promotion { flex-direction: column; padding: 18px 12px; }
#sidebar .tr-article-promotion > img, #adstickyleft .tr-article-promotion > img { width: 80px; }
#sidebar .tr-promotion-title, #adstickyleft .tr-promotion-title { -webkit-line-clamp: 5; }
#sidebar .tr-promotion-description, #adstickyleft .tr-promotion-description { -webkit-line-clamp: 5; }
@media (max-width: 430px) {
    .tr-article-promotion { padding: 12px; gap: 12px; }
    .tr-promotion-title { font-size: 16px; -webkit-line-clamp: 3; }
    .tr-promotion-description { display: none; }
}
