/* Only the homepage hero at the existing phone breakpoint. No header rules. */
.mobile-hero-news,.mh-indicators,.mh-read,.mh-count,.mh-copy-backdrop,.mh-photo-category{display:none}
@media(max-width:600px){
 .container.ticker{width:100%;border-radius:0;border-left:0;border-right:0;box-shadow:none;margin-block:6px}
 .front-edition{display:block;width:100%;padding-bottom:24px;--mh-brand:var(--nagar-logo-color,var(--red))}
 .front-edition .edition-news{display:block}
 .front-edition .edition-news>.edition-more,.front-edition .edition-news>.edition-rail{display:none}
 .front-edition>.latest-panel{display:none}
 .front-edition .edition-main{position:relative}
 .front-edition .lead-story{border:0;border-radius:0;padding:0;background:var(--paper)}
 .front-edition .lead-story>a{display:block;min-height:0}
 .front-edition .lead-story .photo{position:relative;width:100%;height:auto;min-height:0;border-radius:0;background:var(--paper)}
 .front-edition .lead-story .photo img{position:static;display:block;width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain;transform:none}
 .front-edition .lead-story>a:after{content:none}
 .front-edition .lead-story .story-copy{position:relative;padding:18px 20px 24px;overflow-wrap:anywhere;color:var(--ink)}
 .front-edition .edition-main{touch-action:pan-y pinch-zoom}
 .front-edition .edition-main img{-webkit-user-drag:none;user-select:none}
 .front-edition .mobile-lead-slide.is-active{animation-duration:.18s}
 .front-edition .lead-story .eyebrow{display:table;padding:0 0 6px;border-bottom:2px solid var(--mh-brand);background:none;color:var(--mh-brand);border-radius:0;font-size:16px;margin-bottom:12px}
 .front-edition .lead-story h2{font-size:clamp(25px,7vw,34px);line-height:1.2;color:var(--ink);letter-spacing:0}
 .front-edition .lead-story .summary{color:var(--muted);font-size:17px;line-height:1.5;margin-top:10px;-webkit-line-clamp:2}
 .front-edition .lead-story time{display:none}
 .front-edition .mh-indicators{display:flex;position:static;justify-content:center;gap:5px;overflow:hidden;pointer-events:none;padding:0 20px 18px;border-bottom:1px solid var(--line)}
 .front-edition .mh-indicators span{flex:0 1 24px;min-width:2px;height:4px;border-radius:2px;background:var(--line)}
 .front-edition .mh-indicators .is-current{background:var(--mh-brand)}
 .front-edition .mh-indicators span[hidden]{display:none}
 .mobile-hero-news{display:block;padding:16px;background:var(--paper)}
 .mobile-hero-news h2,.mobile-hero-news h3{overflow-wrap:anywhere}
 .mh-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .mh-secondary .story{min-width:0}
 .mh-secondary .photo img{aspect-ratio:16/10;object-fit:cover;border-radius:3px}
 .mh-secondary .story-copy{padding-top:8px}
 .mh-secondary .eyebrow{color:var(--mh-brand);font-size:14px;margin-bottom:5px}
 .mh-secondary h2{font-size:20px;line-height:1.4}
 .mh-secondary time{display:none}
 .mh-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}
 .mh-heading h2{font-size:23px;line-height:1.35;border-left:3px solid var(--mh-brand);padding-left:9px}
 .mh-heading>a{flex-shrink:0;font-size:14px;color:var(--muted)}
 .mh-scroll{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:8px;max-width:100%}
 .mh-scroll::-webkit-scrollbar{display:none}
 .mh-scroll article{flex:0 0 43%;min-width:0;scroll-snap-align:start}
 .mh-scroll img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:3px}
 .mh-scroll h3{font-size:18px;line-height:1.4;margin-top:8px}
 .mobile-hero-news time{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:7px}
 .mobile-hero-news .mh-secondary time{display:none}
 .mh-important article+article{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
 .mh-important article>a{display:flex;align-items:flex-start;gap:12px}
 .mh-important img{flex:0 0 30%;width:30%;aspect-ratio:8/5;object-fit:cover;border-radius:3px}
 .mh-important article>a>div{min-width:0;flex:1}
 .mh-important h3{font-size:20px;line-height:1.4}
}
@media(max-width:600px){
 .front-edition .mobile-lead-slide{position:relative}
 .front-edition .lead-story>a{display:block;position:relative;isolation:isolate;min-height:0}
 .front-edition .lead-story .photo{position:relative;height:auto;min-height:0;background:#111}
 .front-edition .lead-story .photo:before{content:'';position:absolute;inset:auto 0 0;height:64px;background:linear-gradient(180deg,transparent,#111);z-index:1;pointer-events:none}
 .front-edition .lead-story .photo img{position:static;display:block;width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain}
 .front-edition .lead-story .story-copy{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;z-index:1;padding:20px 24px 42px;color:white;background:#111}
 .front-edition .lead-story .story-copy .mh-copy-backdrop{display:block;position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(18px);opacity:.45;mask-image:linear-gradient(180deg,transparent,black 30%);-webkit-mask-image:linear-gradient(180deg,transparent,black 30%);z-index:-2;pointer-events:none}
 .front-edition .lead-story .story-copy:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));z-index:-1;pointer-events:none}
 .front-edition .lead-story .eyebrow{position:static;display:flex;align-items:center;gap:7px;background:rgba(0,0,0,.65);border:0;border-radius:7px;padding:6px 10px;color:white;font-size:15px;margin-bottom:12px}
 .front-edition .lead-story .eyebrow:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--mh-brand)}
 .front-edition .lead-story h2{color:white;font-size:clamp(26px,7.4vw,38px);line-height:1.18;border-left:5px solid var(--mh-brand);padding-left:12px;margin:0 0 0 -12px}
 .front-edition .lead-story .summary{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3;color:#eee;font-size:16px;line-height:1.4;margin-top:12px}
 .front-edition .mh-read{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:15px}
 .mh-read>span{display:grid;place-items:center;width:29px;height:29px;background:var(--mh-brand);border-radius:50%;font-family:sans-serif;font-size:21px}
 .front-edition .mh-count{display:none}
 .front-edition .lead-story .story-copy .eyebrow{display:none}
 .front-edition .mh-photo-category{display:flex;align-items:center;gap:7px;position:absolute;right:16px;top:20px;z-index:2;background:rgba(0,0,0,.65);color:white;border-radius:7px;padding:6px 10px;font-size:15px;line-height:1.4}
 .front-edition .mh-photo-category:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--mh-brand)}
 .front-edition .lead-story .story-copy{height:var(--mh-copy-height,auto)}
 .front-edition .lead-story .story-copy>h2,.front-edition .lead-story .story-copy>.summary,.front-edition .lead-story .story-copy>.mh-read{flex-shrink:0}
 .front-edition .lead-story .story-copy>.mh-read{margin-top:auto;padding-top:13px}
 .front-edition .lead-story .story-copy .mh-copy-backdrop{max-width:none;object-position:center;opacity:.20}
 .front-edition .lead-story .photo,.front-edition .lead-story .story-copy{background:#000}
 .front-edition .lead-story .photo:before{background:linear-gradient(180deg,transparent,#000)}
 .front-edition .lead-story .story-copy:after{background:none}
 .front-edition .mh-indicators{position:absolute;bottom:18px;right:24px;padding:0;border:0;z-index:2}
 .front-edition .mh-indicators span{width:17px;flex:0 0 17px;background:#999}
 .front-edition .mh-indicators .is-current{background:var(--mh-brand);width:26px;flex-basis:26px}
 .mobile-hero-news{position:relative;border-radius:12px 12px 0 0;margin-top:-8px;padding:16px;z-index:2}
 .mh-updates>.mh-heading{margin-top:0}
 .mh-timeline{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;padding:3px 0 16px;border-bottom:1px solid var(--line)}
 .mh-timeline::-webkit-scrollbar{display:none}
 .mh-timeline>a{position:relative;flex:0 0 42%;min-width:0;border-left:2px solid var(--mh-brand);padding-left:11px}
 .mh-timeline h3{font-size:16px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .mh-timeline time{font-size:11px;color:var(--mh-brand);margin:0 0 5px}
 .mh-secondary{gap:12px}
 .mh-secondary .story{border:1px solid var(--line);border-radius:7px;overflow:hidden;padding:0}
 .mh-secondary .story-copy{padding:8px}
 .mh-secondary h2{font-size:18px;line-height:1.3}
 .mh-secondary .photo img{border-radius:0}
 .mh-scroll article{flex-basis:38%}
 .mh-scroll h3{font-size:16px;line-height:1.35}
 .front-edition .lead-story .story-copy{padding:12px 20px 28px}
 .front-edition .lead-story h2{font-size:clamp(24px,6.6vw,32px);line-height:1.18}
 .front-edition .lead-story .summary{font-size:15px;line-height:1.35;margin-top:7px}
 .front-edition .lead-story .story-copy>.mh-read{padding-top:8px;font-size:14px}
 .front-edition .mh-read>span{width:25px;height:25px;font-size:19px}
 .front-edition .mh-indicators{bottom:14px}
 .mobile-hero-news{padding-top:12px}
 .mh-updates .mh-heading{margin-bottom:8px}
 .mh-updates .mh-heading h2{display:flex;align-items:center;gap:9px;border:0;padding:0;font-size:21px}
 .mh-live-pulse{position:relative;width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--mh-brand)}
 .mh-live-pulse:after{content:'';position:absolute;inset:-4px;border:1px solid var(--mh-brand);border-radius:50%;animation:mh-live-pulse 2s ease-out infinite}
 .mh-timeline{gap:12px;padding-bottom:10px}
 .mh-timeline>a{flex-basis:44%;border-left-color:var(--line)}
 .mh-timeline>a:before{content:'';position:absolute;left:-2px;top:0;width:2px;height:100%;background:var(--mh-brand);transform-origin:top;animation:mh-live-line 2.8s ease-in-out infinite}
 .mh-timeline>a:nth-child(even):before{animation-delay:.7s}
 .mh-timeline time{font-size:10px;margin-bottom:3px}
 .mh-timeline h3{font-size:15px;line-height:1.3}
}
@keyframes mh-live-pulse{from{transform:scale(.65);opacity:.85}to{transform:scale(1.7);opacity:0}}
@keyframes mh-live-line{0%,100%{transform:scaleY(.35);opacity:.45}50%{transform:scaleY(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.mh-live-pulse:after,.mh-timeline>a:before{animation:none}}

/* Preview-only logo; the original news image is untouched. */
.front-edition .lead-story .photo{position:relative}
.front-edition .lead-story .photo .hero-brand-overlay{display:block;position:absolute;z-index:4;top:20px;left:20px;width:115px;height:30px;pointer-events:none;background-image:url('/uploads/branding/nagarpostlogo_footer.png');background-size:contain;background-repeat:no-repeat;background-position:left center;filter:drop-shadow(0 1px 3px #0008)}
@media(max-width:600px){.front-edition .lead-story .photo .hero-brand-overlay{top:18px;left:16px;width:88px;height:24px}}
