/* Theme 128: Health Journal v2 only. Overrides old Health Story cards; leaves Motivation, Rashifal, Footer unchanged. */
/* Health Journal v2 — editorial real-photo carousel, automatically advancing */
.nfl-health{background:radial-gradient(ellipse 75% 95% at 100% 0%,rgba(26,159,127,.09),transparent 70%),linear-gradient(160deg,#f7fbfb 0%,#eef3f8 100%)}
.nfl-health-heading{align-items:flex-end}
.nfl-health-heading .nfl-heading h2{letter-spacing:-.048em}
.nfl-health-controls{display:flex;align-items:center;gap:9px;flex-shrink:0;padding-bottom:5px}
.nfl-health-counter{font-variant-numeric:tabular-nums;color:var(--nfl-muted);font-size:14px;font-weight:750;margin-right:11px;letter-spacing:.05em}
.nfl-health-counter strong{font-size:26px;color:var(--nfl-ink);font-weight:900}
.nfl-health-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--nfl-line);background:var(--nfl-paper);color:var(--nfl-ink);border-radius:50%;font-size:23px;box-shadow:0 5px 16px #122d4210;transition:transform .2s,background .2s,color .2s}
.nfl-health-controls button:hover,.nfl-health-controls button:focus-visible{transform:translateY(-2px);background:var(--accent,#be123c);color:#fff;outline:2px solid transparent}
.nfl-status-viewport{position:relative;margin:0 -8px}
.nfl-status-strip{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:12px 8px 24px;overscroll-behavior-inline:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.nfl-status-strip::-webkit-scrollbar{display:none}
.nfl-story-card{border:0;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;text-align:left;flex:0 0 calc((100% - 36px) / 3);height:410px;scroll-snap-align:start;border-radius:24px;padding:26px;color:#fff;isolation:isolate;overflow:hidden;box-shadow:0 18px 45px #0d2e3c20;transition:transform .4s cubic-bezier(.22,.6,.28,1),box-shadow .4s ease;background:#102b37}
.nfl-story-card:hover,.nfl-story-card:focus-visible{transform:translateY(-6px);box-shadow:0 26px 60px #0d273c38;outline:2px solid #fff;outline-offset:-5px}
.nfl-story-card::before{display:none}.nfl-story-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#020a160a 0%,#05121c0b 34%,#030d17ad 65%,#03101af5 100%);pointer-events:none}
.nfl-story-picture{position:absolute;inset:0;z-index:-2;overflow:hidden;width:100%;height:100%;border:0;border-radius:0;display:block;background:linear-gradient(135deg,#275a60,#0d2839)}
.nfl-story-picture img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.nfl-story-card:hover .nfl-story-picture img{transform:scale(1.07)}
.nfl-story-ring{position:absolute;left:25px;top:22px;background:#081b26aa;color:#fff;letter-spacing:.12em;font-size:10px;border-radius:100px;padding:8px 13px;font-weight:850;backdrop-filter:blur(8px);border:1px solid #ffffff42}
.nfl-story-ring span{color:#a1efca;margin-right:3px}
.nfl-story-index{position:absolute;top:21px;right:24px;color:#fffe;font-weight:800;font-size:13px;letter-spacing:.1em;text-shadow:0 1px 12px #000a}
.nfl-story-caption{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;margin:0;width:100%}
.nfl-story-category{color:#b8f3dc;font-size:10px;letter-spacing:.16em;font-weight:850}
.nfl-story-caption strong{font-size:clamp(20px,2.25vw,29px);line-height:1.23;letter-spacing:-.02em;font-weight:850;text-wrap:balance;color:#fff}
.nfl-story-summary{font-size:12px;font-weight:450;line-height:1.7;color:#dfe8ef;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.nfl-story-caption small{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff5c;margin-top:5px;padding-top:14px;color:#fff;font-size:12px;letter-spacing:.02em;font-weight:800}
.nfl-story-caption small span{font-size:19px;line-height:1}
.nfl-health-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:7px}
.nfl-health-pagination{display:flex;align-items:center;gap:7px;min-height:26px}
.nfl-health-pagination button{display:block;height:5px;width:16px;padding:0;background:#b9cbd0;border:0;border-radius:99px;transition:width .3s ease,background .3s ease}
.nfl-health-pagination button.is-active{width:38px;background:var(--accent,#be123c)}
.nfl-health-pagination button:focus-visible{outline:2px solid var(--accent,#be123c);outline-offset:5px}
.nfl-health-note{color:#687e8b;font-size:11px;margin:0;text-align:right}

/* Health Journal v2 responsive overrides — other modules remain unchanged */
@media (max-width:960px){.nfl-health .nfl-story-card{flex-basis:calc((100% - 18px) / 2);height:405px}}
@media (max-width:650px){.nfl-health .nfl-story-card{flex-basis:82%;height:405px;padding:25px;border-radius:23px}.nfl-health .nfl-story-picture{height:auto}.nfl-health .nfl-story-caption strong{font-size:26px}.nfl-health .nfl-story-summary{font-size:13px}.nfl-health .nfl-heading{align-items:flex-start;gap:12px}.nfl-health .nfl-health-controls{gap:7px}.nfl-health .nfl-health-controls button{width:35px;height:35px;font-size:18px}.nfl-health .nfl-health-counter{margin-right:2px;font-size:11px}.nfl-health .nfl-health-counter strong{font-size:17px}.nfl-health .nfl-heading h2 span{font-size:14px}.nfl-health .nfl-health-bottom{align-items:flex-start;flex-direction:column;gap:7px}.nfl-health .nfl-health-note{text-align:left}}
@media (max-width:400px){.nfl-health .nfl-health-heading{flex-wrap:wrap}.nfl-health .nfl-story-card{height:385px;flex-basis:87%}}
html[data-ng-theme="dark"] .nfl-health{background:radial-gradient(circle at 100% 0%,#14544d55,transparent 60%),#0e1d2a}
html[data-ng-theme="dark"] .nfl-health-controls button{background:#172a3b;color:#ecf7f7;border-color:#3b5262}
html[data-ng-theme="dark"] .nfl-health-pagination button:not(.is-active){background:#5e7881}
