/* Keep all grid articles/nth-child rules; the tray hangs from the card surface. */
.dsn-news-feed>.dsn-card--action{background:transparent;overflow:visible;box-shadow:none}
.dsn-news-feed>.dsn-card--action:hover{box-shadow:none}
.dsn-card--action>.nha-card__surface{position:relative;z-index:1;display:flex;flex-direction:column;flex:1;min-width:0;background:var(--color-white,#fff);border-radius:var(--radius,10px);overflow:hidden;box-shadow:var(--shadow-card,0 2px 8px #0000000d)}
.dsn-card--action>.nha-card__surface:hover{box-shadow:var(--shadow-card-hover,0 4px 14px #00000016)}
.nha-tray{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:54px;margin:-1px 8px 0;padding:9px 10px;border:1px solid #dfe7e5;border-top:0;border-radius:0 0 9px 9px;background:#f2f8f5;box-shadow:0 3px 6px #00000005;text-decoration:none!important;color:#243d32;transition:background .15s,border-color .15s}
.nha-tray__copy{display:block;min-width:0;flex:1}
.nha-tray__label{display:block;font-size:9px;font-weight:600;line-height:1.3;letter-spacing:.03em;text-transform:uppercase;color:#6b7d73;margin-bottom:3px}
.nha-tray__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;line-height:1.3;color:#314b3b}
.nha-tray__button{flex-shrink:0;display:block;font-size:10px;font-weight:700;line-height:1.4;padding:6px 8px;border:1px solid #cae4d6;border-radius:5px;background:#fff;color:#167343;white-space:nowrap}
.nha-tray:hover{background:#e7f3ec;border-color:#b5d2c2}
.nha-tray--partner{background:#fff5f5;border-color:#eed5d9;color:#7e2534}
.nha-tray--partner .nha-tray__label{color:#93727a}
.nha-tray--partner .nha-tray__title{color:#64373e}
.nha-tray--partner .nha-tray__button{background:#e8192c;border-color:#e8192c;color:#fff}
.nha-tray--partner:hover{background:#ffeded;border-color:#e8b9c1}
.nha-tray:focus-visible{outline:3px solid #16a34a;outline-offset:2px}
.nha-tray--partner:focus-visible{outline-color:#e8192c}
@media(max-width:600px){.nha-tray{margin-left:5px;margin-right:5px;padding:8px;gap:6px;flex-wrap:wrap}.nha-tray__title{font-size:10px}.nha-tray__button{font-size:10px;padding:5px 7px}}

/* Unextended news cards keep their own content height beside cards with trays. */
.dsn-news-feed>.dsn-card:nth-child(n+6):not(.dsn-card--action){align-self:start}

/* Every news card gets one tray; subtle teal/blue gradients distinguish context. */
.nha-tray{background:linear-gradient(120deg,#edf9f4,#edf5fb);border-color:#cfe3df}
.nha-tray:hover{background:linear-gradient(120deg,#e0f2e9,#e4effb);border-color:#a9cbc3}
.nha-tray__button{color:#166b59;border-color:#c6dfd8}
.nha-tray--daily,.nha-tray--league,.nha-tray--player{background:linear-gradient(120deg,#eff4ff,#f3f0fc);border-color:#d7dfef}
.nha-tray--daily .nha-tray__title,.nha-tray--league .nha-tray__title,.nha-tray--player .nha-tray__title{color:#3a4e76}
.nha-tray--daily .nha-tray__button,.nha-tray--league .nha-tray__button,.nha-tray--player .nha-tray__button{color:#3b5f92;border-color:#d0dcf0}
.nha-tray--partner{background:linear-gradient(120deg,#fff0f0,#fff6e9);border-color:#edcfd3}
.nha-tray--partner:hover{background:linear-gradient(120deg,#ffe6e8,#fff0dd);border-color:#e7b4be}
.nha-tray--partner .nha-tray__button{background:#e8192c;border-color:#e8192c;color:#fff}
/* Hovering the independent tray must not trigger the news image or surface. */
.dsn-news-feed>.dsn-card--action:hover .dsn-card__img{transform:none}
.dsn-news-feed>.dsn-card--action:nth-child(n+6):has(>.nha-card__surface:hover) .dsn-card__img{transform:scale(1.05)}
.dsn-news-feed>.dsn-card--action:first-child:has(>.nha-card__surface:hover) .dsn-card__img{transform:scale(1.03)}
.dsn-news-feed>.dsn-card--action{flex-direction:column}
@media(min-width:601px){
 .dsn-news-feed>.dsn-card--action:nth-child(n+2):nth-child(-n+5)>.nha-card__surface{flex-direction:row}
 .dsn-news-feed>.dsn-card--action:nth-child(n+2):nth-child(-n+5)>.nha-tray{min-height:39px;padding:6px 8px}
 .dsn-news-feed>.dsn-card--action:nth-child(n+2):nth-child(-n+5) .nha-tray__label{display:none}
 .dsn-news-feed>.dsn-card--action:first-child>.nha-card__surface>.dsn-card__img-wrap{flex:1;height:auto;min-height:280px}
 .dsn-news-feed>.dsn-card--action:first-child>.nha-card__surface>.dsn-card__img-wrap>.dsn-card__img{position:absolute;inset:0}
 .dsn-news-feed>.dsn-card--action:first-child>.nha-card__surface>.dsn-card__body{flex:0}
}

@media(min-width:601px){.dsn-news-feed>.dsn-card--action:nth-child(n+2):nth-child(-n+5) .nha-tray--partner .nha-tray__label{display:block;font-size:8px}}

/* Keep each small caption on one line, even in two-column tablet cards. */
.nha-tray__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
