/* LovelyDelhi homepage (hm-*): hero, cards, icon row, news, listings, trending */
.hm-wrap{padding-top:14px;padding-bottom:30px}
.hm-wrap h2,.hm-wrap h3{font-family:'Fraunces',Georgia,serif;font-weight:700}
.hm-link{color:var(--ld-red);font-size:.78rem;font-weight:700;white-space:nowrap}
.hm-link:hover{text-decoration:underline}
.hm-empty{color:#8a7e73;font-size:.88rem;padding:14px 2px}.hm-empty a{color:var(--ld-red);font-weight:700}

/* hero + side cards */
.hm-top{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);gap:16px}
.hm-top-solo{grid-template-columns:minmax(0,1fr)}
.hm-hero{position:relative;border-radius:14px;overflow:hidden;min-height:300px;background:#2b1b14;box-shadow:0 6px 22px rgba(90,40,20,.15)}
.hm-slide{position:absolute;inset:0;background:center/cover no-repeat;display:flex;align-items:center;opacity:0;visibility:hidden;transition:opacity .6s ease;color:#fff}
.hm-slide.on{opacity:1;visibility:visible}
.hm-slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,8,4,.78) 0%,rgba(15,8,4,.45) 45%,rgba(15,8,4,0) 78%)}
.hm-slide-txt{position:relative;display:flex;flex-direction:column;gap:12px;padding:0 44px;max-width:620px}
.hm-slide-txt em{font-style:normal;color:#E7C070;font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;font-weight:600}
.hm-slide-txt b{font-family:'Fraunces',Georgia,serif;font-size:clamp(1.9rem,3.6vw,3rem);line-height:1.08;font-weight:700;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.hm-slide-txt small{font-size:.98rem;line-height:1.45;max-width:440px;color:#f6ece0}
.hm-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);color:#3a2a22;font-size:1.5rem;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.25);z-index:3;padding-bottom:3px}
.hm-arrow:hover{background:#fff}.hm-arrow.prev{left:12px}.hm-arrow.next{right:12px}
.hm-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;gap:7px;justify-content:center;z-index:3}
.hm-dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55);padding:0}.hm-dots button.on{background:var(--ld-red);width:9px;height:9px;box-shadow:0 0 0 2px rgba(255,255,255,.7)}
.hm-cards{display:flex;flex-direction:column;gap:14px}
.hm-card{background:#fff;border:1px solid var(--ld-line);border-radius:14px;padding:14px 16px;box-shadow:0 2px 10px rgba(110,70,30,.05)}
.hm-card-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.hm-card-h h3{font-size:1.12rem;color:var(--ld-red)}.hm-pin{font-size:.95rem;display:flex;align-items:center;gap:4px}.hm-pin .ico{width:16px;height:16px;color:var(--ld-red)}
.hm-weather{display:block}.hm-weather:hover{box-shadow:0 6px 18px rgba(110,70,30,.12)}
.hm-w-row{display:flex;align-items:center;gap:12px}
.hm-w-ico .ico{width:46px;height:46px}
.hm-w-main{display:flex;flex-direction:column;line-height:1.1}
.hm-w-main strong{font-family:'Fraunces',Georgia,serif;font-size:2.35rem;font-weight:700}.hm-w-main sup{font-size:.95rem;font-weight:600;margin-left:1px}
.hm-w-main span{font-size:.82rem;color:#6b5f55;margin-top:2px}
.hm-aqi{margin-left:auto;text-align:center;border-radius:8px;padding:5px 12px;min-width:92px;border:1px solid transparent}
.hm-aqi span{display:block;font-size:.78rem;font-weight:700}.hm-aqi span b{font-size:.98rem;margin-left:4px}.hm-aqi em{display:block;font-style:normal;font-size:.74rem;font-weight:700;margin-top:1px}
.hm-aqi-ok{background:#E7F6ED;color:#15803D;border-color:#bfe6cc}.hm-aqi-warn{background:#FFF4C9;color:#8A6A00;border-color:#f0dc8a}.hm-aqi-bad{background:#FDE5E3;color:#B3151F;border-color:#f3bdb8}
.hm-w-hl{margin-top:8px;font-size:.82rem;color:#4a403a;font-weight:500}
.hm-panchang{flex:1;background:linear-gradient(160deg,#fff 55%,#FBF1DC)}
.hm-p-tithi{font-size:1.02rem;font-weight:700;color:var(--ld-red);margin-bottom:2px}
.hm-p-date{font-size:.82rem;color:#6b5f55;margin-bottom:10px}
.hm-p-times{display:flex;flex-direction:column;gap:6px;font-size:.84rem}
.hm-p-times div{display:flex;align-items:center;gap:8px;color:#4a403a;max-width:210px}.hm-p-times b{margin-left:auto;font-weight:600;color:#2a211c}
.hm-p-times span{display:flex;color:#E8A317}.hm-p-times span.dim{color:#EA6A12}.hm-p-times .ico{width:16px;height:16px}
.hm-p-link{display:inline-block;margin-top:12px}

/* icon row */
.hm-icons{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:8px;background:#fff;border:1px solid var(--ld-line);border-radius:14px;padding:14px 10px;margin-top:16px;box-shadow:0 2px 10px rgba(110,70,30,.05)}
.hm-ic{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;transition:transform .15s}
.hm-ic:hover{transform:translateY(-3px)}
.hm-ic-b{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:1px;font-size:1.05rem}
.hm-ic-b .ico{width:27px;height:27px}
.hm-ic-l{font-size:.78rem;font-weight:600;color:#2a211c;line-height:1.2}

/* panels + headers */
.hm-panel,.hm-section{background:#fff;border:1px solid var(--ld-line);border-radius:14px;padding:14px 16px;box-shadow:0 2px 10px rgba(110,70,30,.05)}
.hm-section{margin-top:16px}
.hm-ph{display:flex;align-items:center;gap:14px;margin-bottom:12px;flex-wrap:wrap}
.hm-ph h2{font-size:1.4rem;color:var(--ld-red);display:flex;align-items:center;gap:9px;line-height:1.2}
.hm-ph .hm-link{margin-left:auto}
.hm-bar{width:5px;height:24px;background:var(--ld-red);border-radius:3px;display:inline-block}
.hm-dot{width:11px;height:11px;border-radius:50%;background:var(--ld-red);display:inline-block;box-shadow:0 0 0 4px rgba(179,21,31,.16)}
.hm-sec-ico{display:inline-flex;color:var(--ld-red)}.hm-sec-ico .ico{width:23px;height:23px}.hm-sec-ico.flame{color:#E8601C}
.hm-gear{display:inline-flex}.hm-gear .ico{width:20px;height:20px;color:#3a2a22}
.hm-tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;min-width:0}
.hm-tabs::-webkit-scrollbar{display:none}
.hm-tabs a{font-size:.8rem;font-weight:600;padding:6px 10px;color:#4a403a;white-space:nowrap;border-bottom:2px solid transparent}
.hm-tabs a:hover{color:var(--ld-red)}.hm-tabs a.on{color:var(--ld-red);border-bottom-color:var(--ld-red)}

/* news row */
.hm-newsrow{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);gap:16px;margin-top:16px;align-items:stretch}
.hm-newsrow>.hm-news{display:flex;flex-direction:column}.hm-newsrow>.hm-news .hm-news-grid{flex:1}
.hm-news-grid.hm-news-solo{grid-template-columns:minmax(0,1fr)}.hm-news-grid.hm-news-solo .hm-lead{min-height:340px;height:100%}
.hm-col>.hm-panel:last-child{flex:1}
.hm-newsrow-solo{grid-template-columns:minmax(0,1fr)}
.hm-news-grid{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);gap:16px}
.hm-lead{position:relative;display:flex;align-items:flex-end;min-height:300px;border-radius:12px;overflow:hidden;background:#3a2a22 center/cover;color:#fff}
.hm-lead-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 32%,rgba(10,5,2,.86) 100%)}
.hm-lead-txt{position:relative;display:flex;flex-direction:column;gap:7px;padding:18px 20px}
.hm-lead-txt i{align-self:flex-start;font-style:normal;font-size:.7rem;font-weight:700;padding:3px 9px;border-radius:4px;color:#fff}
.hm-lead-txt b{font-family:'Fraunces',Georgia,serif;font-size:1.6rem;line-height:1.18;font-weight:700}
.hm-lead-txt small{font-size:.86rem;line-height:1.45;color:#f0e6da;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-lead-txt em{font-style:normal;font-size:.76rem;color:#e0d2c2}
.hm-sides{display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.hm-side{display:flex;gap:12px;align-items:center}
.hm-thumb{flex:0 0 96px;height:66px;border-radius:8px;background:#f1e7d8 center/cover;display:flex;align-items:center;justify-content:center}.hm-thumb .ico{width:28px;height:28px}
.hm-side-t{display:flex;flex-direction:column;gap:4px;min-width:0}
.hm-side-t b{font-size:.9rem;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-side:hover .hm-side-t b{color:var(--ld-red)}
.hm-side-t small{font-size:.74rem;color:#7a6e63}.hm-side-t small i{font-style:normal;font-weight:700}
.hm-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.hm-live ul{list-style:none}
.hm-live li{display:flex;gap:12px;align-items:baseline;padding:9px 0;border-bottom:1px solid #f0e8dc;font-size:.86rem;line-height:1.35}
.hm-live li:last-child{border-bottom:0}.hm-live time{flex:0 0 auto;font-weight:700;color:var(--ld-red);font-size:.8rem;font-variant-numeric:tabular-nums}
.hm-live li a:hover{color:var(--ld-red)}
.hm-qgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.hm-q{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:12px 6px;border-radius:10px;font-size:.76rem;font-weight:600;line-height:1.2;border:1px solid transparent;transition:.15s}
.hm-q:hover{border-color:var(--ld-line);transform:translateY(-2px);background:#fff!important;box-shadow:0 6px 14px rgba(110,70,30,.1)}
.hm-q-i{display:flex}.hm-q-i .ico{width:26px;height:26px}

/* explore scroller */
.hm-scroll{position:relative}
.hm-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:2px}
.hm-track::-webkit-scrollbar{display:none}
.hm-xt{position:relative;flex:0 0 calc((100% - 60px) / 7);min-width:128px;height:116px;border-radius:10px;overflow:hidden;background:#3a2a22 center/cover;scroll-snap-align:start;display:flex;align-items:flex-end;color:#fff;transition:transform .15s}
a.hm-xt:hover{transform:translateY(-3px)}
.hm-xt-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.7))}
.hm-xt b{position:relative;padding:8px 10px;font-size:.88rem;font-weight:700;text-shadow:0 1px 5px rgba(0,0,0,.5)}
.hm-sarrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.25);font-size:1.4rem;line-height:1;z-index:2;display:flex;align-items:center;justify-content:center;padding-bottom:3px}
.hm-sarrow.prev{left:-8px}.hm-sarrow.next{right:-8px}

/* four blocks */
.hm-four{display:grid;gap:16px;margin-top:16px;grid-template-columns:repeat(4,minmax(0,1fr))}
.hm-four-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-four-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-four-1{grid-template-columns:minmax(0,1fr)}
.hm-blk .hm-ph h2{font-size:1.25rem}
.hm-row{display:flex;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #f0e8dc;min-width:0}
.hm-ph + .hm-row{border-top:0}.hm-row:hover .hm-rt b{color:var(--ld-red)}
.hm-rthumb{flex:0 0 58px;height:50px;border-radius:8px;background:#f1e7d8 center/cover;display:flex;align-items:center;justify-content:center;color:var(--ld-red)}
.hm-rthumb .ico{width:24px;height:24px}.hm-av{font-weight:800;font-size:1.1rem}
.hm-rt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.hm-rt b{font-size:.86rem;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-rt small{font-size:.76rem;color:#7a6e63;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-chev{color:#b5a899;font-size:1.3rem;line-height:1}

/* trending */
.hm-tgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.hm-tt{display:flex;flex-direction:column;border:1px solid var(--ld-line);border-radius:10px;overflow:hidden;background:#fff;transition:.15s}
a.hm-tt:hover{box-shadow:0 8px 20px rgba(110,70,30,.14);transform:translateY(-3px)}
.hm-tt-img{display:block;aspect-ratio:16/9;background:#3a2a22 center/cover}
.hm-tt b{padding:10px 12px;font-size:.84rem;font-weight:700;line-height:1.25}

.home-module{margin-top:16px}

@media(max-width:1100px){
  .hm-top{grid-template-columns:minmax(0,1fr)}.hm-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hm-newsrow{grid-template-columns:minmax(0,1fr)}.hm-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hm-four,.hm-four-3{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-tgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-xt{flex-basis:calc((100% - 30px) / 4)}
}
@media(max-width:700px){
  .hm-hero{min-height:230px}.hm-slide-txt{padding:0 22px;gap:8px}.hm-slide-txt small{display:none}
  .hm-cards,.hm-col{grid-template-columns:minmax(0,1fr)}
  .hm-icons{display:flex;overflow-x:auto;scrollbar-width:none;gap:6px}.hm-icons::-webkit-scrollbar{display:none}.hm-ic{flex:0 0 76px}
  .hm-news-grid{grid-template-columns:minmax(0,1fr)}.hm-lead{min-height:230px}.hm-lead-txt b{font-size:1.3rem}
  .hm-four,.hm-four-3,.hm-four-2{grid-template-columns:minmax(0,1fr)}.hm-tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-xt{flex-basis:calc((100% - 10px) / 2.4)}.hm-ph h2{font-size:1.2rem}.hm-sarrow{display:none}
  .hm-panel,.hm-section,.hm-card{padding:12px}
}
/* keep the breaking / markets strips aligned with the page grid */
.ticker-row,.market-row{padding-left:24px !important;padding-right:24px !important}
@media(max-width:820px){.ticker-row,.market-row{padding-left:14px !important;padding-right:14px !important}}

.hm-top>*,.hm-newsrow>*,.hm-four>*,.hm-news-grid>*,.hm-col>*,.hm-cards>*{min-width:0}
/* older modules below the fold: make their grids shrink on phones */
.live-grid>*{min-width:0}
@media(max-width:700px){.live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-module,.hm-wrap{overflow-x:clip}}
