/* ==========================================================================
   Indiapulse Home â€” responsive stylesheet
   Breakpoints: â‰¤1024px tablet Â· â‰¤768px small tablet Â· â‰¤560px mobile
   ========================================================================== */
:root{
  --primary:#F97316; --primary-dark:#EA580C;
  --orange-50:#FFF7ED; --orange-100:#FFEDD5; --orange-200:#FED7AA; --orange-300:#FDBA74; --orange-700:#C2410C; --orange-900:#7C2D12; --orange-soft:#FFA666;
  --gray-900:#111827; --gray-800:#1F2937; --gray-700:#374151; --gray-600:#4B5563; --gray-500:#6B7280; --gray-400:#9CA3AF; --gray-300:#D1D5DB; --gray-200:#E5E7EB; --gray-100:#F3F4F6; --gray-50:#F9FAFB;
  --link:#2563EB; --success:#15803D; --band-alt:#f5f5f5; --picks:#e8f0fe; --nav:#262626;
  --radius:8px; --max:1200px; --gutter:clamp(16px,4vw,32px); --band:clamp(32px,4vw,44px);
  --font:'Roboto',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:88px}
body{margin:0;font-family:var(--font);color:var(--gray-900);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
a:hover{color:var(--orange-900)}
h1,h2,h3,p{margin:0}
ul{list-style:none;margin:0;padding:0}
button,input{font:inherit}
hr{margin:0}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.icon{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Layout ---------- */
.band{padding-block:var(--band)}
.band-alt{background:var(--band-alt)}
.band-first{padding-top:16px}
.center{display:flex;justify-content:center;margin-top:20px}
.row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.row-head .section-title{margin:0}

/* ---------- Typography helpers ---------- */
.section-title{margin-bottom:16px;font-size:20px;line-height:28px;font-weight:500}
.section-title a{display:inline-flex;align-items:center;gap:4px;color:var(--gray-900)}
.section-title a:hover{color:var(--orange-900)}
.section-title .icon{width:18px;height:18px}
.clamp-1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.meta,.byline{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;color:var(--gray-500)}
.byline a,.byline span:not(.sep):not(.avatar),.meta a{color:var(--gray-800);font-weight:500}
.byline a:hover,.meta a:hover{color:var(--orange-900)}
.byline .sep{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.6}
.avatar{width:24px;height:24px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--orange-100);color:var(--orange-900)!important;font-size:10px;font-weight:700}
.time{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--gray-600)}
.time .icon{width:13px;height:13px}
.kicker{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--orange-900)}
.badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:var(--orange-100);color:var(--orange-900);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* ---------- Category tags ---------- */
/* ---------- Category badge (every category label on every page) ----------
   Add class "cat-badge" and data-cat="<category-key>" to a label. The colour map below is the only
   place category colours are defined (any element with data-cat gets --cat-bg), so a category
   looks the same everywhere. */
.cat-badge{--cat-bg:var(--primary);display:inline-flex;align-items:center;align-self:flex-start;height:22px;padding:0 10px;border-radius:2px;background:var(--cat-bg);color:#fff;font-size:12px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.03em;text-decoration:none;white-space:nowrap;transition:filter .2s}
a.cat-badge{color:#fff}
.cat-badge:hover,.ovl-body .cat-badge:hover{color:#fff;filter:brightness(.92)}
[data-cat="local-pulse"]{--cat-bg:#ffae25}
[data-cat="local-services"]{--cat-bg:#0ea5e9}
[data-cat="housing-corner"]{--cat-bg:#15c215}
[data-cat="career-corner"]{--cat-bg:#0073ff}
[data-cat="care-corner"]{--cat-bg:#f43f5e}
[data-cat="entertainment"]{--cat-bg:#d946ef}
[data-cat="tech-pulse"]{--cat-bg:#8b5cf6}
[data-cat="travel-blogs"]{--cat-bg:#3dd800}
[data-cat="uk-buzz"]{--cat-bg:#6366f1}
[data-cat="gulf-beat"]{--cat-bg:#14b8a6}
[data-cat="icc-champions-trophy"]{--cat-bg:#ef4444}
[data-cat="fashion-style"]{--cat-bg:#ec4899}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 18px;border:1px solid transparent;border-radius:var(--radius);font-size:14px;font-weight:500;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);color:#fff}
.btn-primary:disabled{opacity:.7;cursor:progress}
.btn-secondary{background:#fff;border-color:var(--gray-300);color:var(--gray-900)}
.btn-secondary:hover{border-color:var(--primary);color:var(--orange-900)}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:160px;height:36px;padding:0 18px;border:1px solid var(--primary);border-radius:var(--radius);background:#fff;color:var(--orange-700);font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}
.btn-outline:hover{background:var(--orange-50);color:var(--orange-900)}
.btn-outline-block{display:flex;width:100%}
.icon-btn{width:36px;height:36px;flex:none;display:grid;place-items:center;border:1px solid var(--gray-200);border-radius:50%;background:#fff;color:var(--gray-800);cursor:pointer;transition:border-color .2s,color .2s,opacity .2s}
.icon-btn:hover{border-color:var(--primary);color:var(--orange-900)}
.icon-btn:disabled{opacity:.35;cursor:default}
.icon-btn .icon{width:18px;height:18px}
.icon-btn-solid{border:0;border-radius:var(--radius)}
.scroll-arrows{display:flex;gap:8px}
.share-btn{position:absolute;top:10px;right:10px;z-index:3;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:var(--gray-900);box-shadow:0 1px 4px rgba(17,24,39,.2);cursor:pointer;transition:color .2s}
.share-btn:hover{color:var(--orange-900)}
.share-btn .icon{width:16px;height:16px}
.share-btn-sm{top:6px;right:6px;width:28px;height:28px}
.share-btn-sm .icon{width:14px;height:14px}

/* ---------- Media ---------- */
.thumb{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--gray-100)}
.thumb>a{display:block;width:100%;height:100%}
.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.thumb:hover img{transform:scale(1.04)}
.thumb-2x1{aspect-ratio:2/1}.thumb-16x9{aspect-ratio:16/9}.thumb-16x10{aspect-ratio:16/10}.thumb-3x2{aspect-ratio:3/2}.thumb-4x3{aspect-ratio:4/3}
.thumb-row{flex:none;width:110px;height:76px;border-radius:var(--radius)}
.thumb-mini{flex:none;width:112px;height:80px;border-radius:var(--radius)}
.thumb-side{flex:none;width:104px;height:70px;border-radius:var(--radius)}
.thumb-pick{flex:none;width:130px;height:100px}

/* ---------- Overlay card (image with text on top) ---------- */
.ovl{position:relative;isolation:isolate;overflow:hidden;min-height:280px;border-radius:var(--radius);background:var(--gray-900);color:#fff}
.ovl-media{position:absolute;inset:0;z-index:-2}
.ovl-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.ovl:hover .ovl-media img{transform:scale(1.04)}
.ovl::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(17,24,39,0) 40%,rgba(17,24,39,.9) 100%);pointer-events:none}
.ovl-body{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;pointer-events:none}
.ovl-body a{pointer-events:auto;color:#fff}
.ovl-body a:hover,.ovl .byline a:hover{color:var(--orange-soft)}
.ovl-title{font-size:17px;line-height:1.4;font-weight:700}
.ovl-excerpt{font-size:14px;line-height:22px;color:rgba(255,255,255,.88)}
.ovl .byline{color:rgba(255,255,255,.9)}
.ovl .byline a{color:#fff}
.ovl .byline .sep{background:#fff}
.ovl-time{display:inline-flex;align-items:center;gap:6px;max-height:0;overflow:hidden;opacity:0;transform:translateY(6px);font-size:13px;font-weight:500;color:rgba(255,255,255,.9);transition:opacity .25s,transform .25s,max-height .25s}
.ovl-time .icon{width:13px;height:13px}
.ovl:hover .ovl-time,.ovl:focus-within .ovl-time{max-height:20px;opacity:1;transform:none}
.ovl-hero,.ovl-lead{min-height:clamp(320px,34vw,420px)}
.ovl-hero .ovl-body,.ovl-lead .ovl-body,.ovl-picks .ovl-body{gap:12px;padding:clamp(18px,3vw,28px)}
.ovl-hero .ovl-title{max-width:640px;font-size:clamp(22px,2.8vw,32px);line-height:1.25}
.ovl-lead .ovl-title{font-size:clamp(20px,2.4vw,28px);line-height:1.25}
.ovl-band{min-height:clamp(380px,40vw,450px)}
.ovl-band::after{display:none}
.ovl-band .ovl-body{background:rgba(17,24,39,.72)}
.ovl-band .ovl-title{font-size:18px;line-height:26px}

/* ---------- Intro ---------- */
.intro{background:var(--orange-50);border-bottom:1px solid var(--orange-100)}
.intro .section{padding-block:clamp(28px,5vw,56px) clamp(28px,4vw,48px)}
.intro h1{font-size:clamp(22px,3.6vw,44px);line-height:1.1;font-weight:700;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- Featured Topics â€” option 1 (mosaic + carousel) ---------- */
.ft1{padding-top:clamp(16px,2.5vw,24px)}
.ft1-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);gap:16px}
.ft1-col{display:grid;grid-auto-rows:1fr;gap:16px}
.ft1-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.carousel{position:relative;min-height:clamp(320px,36vw,420px);overflow:hidden;border-radius:var(--radius);background:var(--gray-900)}
.carousel-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s}
.carousel-slide.is-active{opacity:1;visibility:visible}
.carousel-slide .ovl{height:100%;border-radius:0}
.carousel-slide.is-active .ovl-media img{animation:ip-zoom .6s ease-out}
.carousel-slide.is-active .ovl-body{animation:ip-rise .5s .12s ease-out both}
.carousel-dots{position:absolute;top:16px;left:16px;z-index:4;display:flex;flex-direction:column;gap:6px}
.carousel-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.55);cursor:pointer;transition:height .2s,background .2s}
.carousel-dot.is-active{height:24px;background:#fff}
.carousel-controls{position:absolute;top:10px;right:56px;z-index:4;display:flex;gap:8px}
.wide-card{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.wide-card-thumb{flex:0 1 250px;min-width:200px;height:200px}
.wide-card-body{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.wide-card-title{font-size:20px;line-height:28px;font-weight:700}
@keyframes ip-zoom{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}
@keyframes ip-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- Featured Topics â€” option 2 (big + 2Ã—2) ---------- */
.ft2{padding-top:clamp(28px,4vw,40px)}
.ft2-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.ft2-head .section-title{margin:0}
.ft2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ovl-ft2-lead{min-height:clamp(340px,34vw,460px)}
.ovl-ft2-lead .ovl-body{gap:12px;padding:clamp(20px,3vw,36px)}
.ovl-ft2-lead .ovl-title{max-width:620px;font-size:clamp(22px,2.6vw,32px);line-height:1.3}
.ft2-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(200px,1fr);gap:10px}
.ovl-ft2{min-height:200px}
.ovl-ft2 .ovl-body{padding:20px}

/* ---------- Jump-to navigation ---------- */
.jump-nav{position:sticky;top:0;z-index:999;margin-top:24px;padding-block:8px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
@media (max-width:1000px){
.jump-nav{top:0}
.jump-nav .container.container-max{padding: 0;}

  
}
.jump-nav-bar{display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:var(--radius);background:#000;box-shadow:0 2px 8px rgba(0,0,0,.14)}
.jump-nav-arrow{flex:none;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgb(255 255 255 / 60%);border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:border-color .2s,color .2s,opacity .2s}
.jump-nav-arrow:hover{border-color:var(--primary);color:var(--primary)}
.jump-nav-arrow:disabled{opacity:.55;cursor:default}
.jump-nav-arrow .icon{width:16px;height:16px}
.jump-nav-list{position:relative;flex:1;min-width:0;display:flex;align-items:center;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}
.jump-nav-list::-webkit-scrollbar{display:none}
.jump-nav-list li{flex:none;display:flex;align-items:center}
.jump-nav-list li+li::before{content:"";width:1px;height:18px;background:rgba(255,255,255,.28)}
.jump-nav-list a{height:52px;padding:0 22px;display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:14px;font-weight:600;white-space:nowrap;transition:color .2s}
.jump-nav-list a svg{height:20px; width:20px}
.jump-nav-list a:hover,.jump-nav-list a.is-active{color:#ff0}
.jump-nav-list a.is-active{box-shadow:inset 0 -3px 0 #ff0}

/* ---------- Horizontal tile rows ---------- */
.tile-row{display:flex;gap:16px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:none}
.tile-row::-webkit-scrollbar{display:none}
.tile-row>li{flex:0 0 200px;display:flex;scroll-snap-align:start}
.tile{flex:1;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:var(--radius);background:var(--gray-100);color:var(--gray-900);transition:background .2s}
.tile:hover{background:var(--gray-200);color:var(--gray-900)}
.tile-icon{width:32px;height:32px;stroke:var(--gray-700);stroke-width:1.5;object-fit:contain}
.tile-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.tile-kicker{font-size:13px;line-height:18px;color:var(--gray-700)}
.tile-label{display:flex;align-items:center;gap:8px;font-size:16px;line-height:24px;font-weight:500}
.tile-label::before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:var(--dot,var(--primary))}
.tile-more .tile-label{color:var(--link)}
.tile-more .tile-label::before{display:none}
.tile-more-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--link)}

/* ---------- Local Services ---------- */
.ls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ls-tall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ls-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;align-content:start}
.ls-cols>.btn-outline-block{grid-column:1/-1}
.ls-col{min-width:0;display:flex;flex-direction:column;gap:16px}
.card{display:flex;flex-direction:column;gap:12px;min-width:0}
.card-title{font-size:18px;line-height:26px;font-weight:700}
.card-sm{gap:8px}
.card-sm .card-title{font-size:15px;line-height:22px;font-weight:600}
.card-title a:hover,.row-item-title a:hover,.mini-row-title a:hover,.side-item-title a:hover,.lead-card-title a:hover,.pick-item-title a:hover,.latest-item-title a:hover,.wide-card-title a:hover{color:var(--orange-900)}
.divider{height:1px;border:0;background:var(--gray-200)}
.mini-row{display:flex;gap:14px;align-items:flex-start}
.mini-row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.mini-row-title{font-size:15px;line-height:22px;font-weight:700}
.explore{margin-top:32px}

/* ---------- Housing Corner ---------- */
.feature-top{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:24px}
.feature-side{display:flex;flex-direction:column}
.side-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--gray-200)}
.side-item:first-child{padding-top:0;border-top:0}
.side-item-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.side-item-title{font-size:16px;line-height:24px;font-weight:500}
.feature-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin-top:24px}

/* ---------- Contributor banner ---------- */
.contrib{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;padding:clamp(20px,3vw,28px) clamp(20px,3vw,32px);border:1px solid var(--orange-100);border-radius:var(--radius);background:var(--orange-50)}
.contrib-text{font-size:17px;line-height:1.4;font-weight:600}
.contrib-actions{display:flex;flex-wrap:wrap;gap:8px}

/* ---------- Lead + list (Care Corner, Local Pulse) ---------- */
.hero-split-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:24px}
.hero-split-list .row-item:first-child{padding-top:0;border-top:0}

/* ---------- List rows ---------- */
.row-list{display:flex;flex-direction:column}
.row-item{display:flex;align-items:flex-start;gap:16px;padding:14px 0;border-top:1px solid var(--gray-200)}
.row-item-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.row-item-title{font-size:16px;line-height:24px;font-weight:500}

/* ---------- Two-up section pairs ---------- */
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,4vw,48px)}
.half{min-width:0}
.lead-card{display:flex;flex-direction:column;gap:8px;padding-bottom:20px}
.lead-card .meta{margin-top:4px}
.lead-card-title{font-size:18px;line-height:1.35;font-weight:700}
.lead-card-title-lg{font-size:22px;line-height:30px;font-weight:500}
.lead-card-excerpt{font-size:14px;line-height:1.55;color:var(--gray-600)}

/* ---------- Food & Recipes ---------- */
.recipe-feature{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;padding:clamp(14px,2vw,20px);border-radius:var(--radius);background:var(--gray-100)}
.recipe-feature .thumb{flex:1 1 240px}
.recipe-feature-body{flex:1 1 200px;min-width:0;display:flex;flex-direction:column;gap:8px}
.recipe-feature-title{font-size:20px;line-height:1.3;font-weight:700}
.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.recipe-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--orange-200);border-radius:var(--radius);background:#fff}
.recipe-card .thumb{border-radius:0;background:var(--orange-50)}
.recipe-card-body{display:flex;flex-direction:column;gap:4px;padding:12px 14px}
.recipe-card-title{font-size:16px;line-height:22px;font-weight:700}
.recipe-card-sub{font-size:13px;color:var(--gray-600)}

/* ---------- Entertainment (dark band) ---------- */
.dark-band{padding-block:var(--band);background:var(--gray-900);color:#fff}
.dark-band .section-title a{color:#fff}
.dark-band .section-title a:hover{color:var(--orange-soft)}
.dark-band .icon-btn{background:transparent;border-color:rgba(255,255,255,.25);color:#fff}
.dark-row{display:flex;gap:20px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none}
.dark-row::-webkit-scrollbar{display:none}
.dark-card{flex:0 0 clamp(220px,26vw,280px);display:flex;flex-direction:column;gap:8px;scroll-snap-align:start}
.dark-card .meta{color:var(--gray-400)}
.dark-card-title{font-size:15px;line-height:1.4;font-weight:600}
.dark-card-title a:hover{color:var(--orange-soft)}
.btn-ghost-light{display:inline-flex;align-items:center;gap:6px;height:36px;margin-top:24px;padding:0 16px;border:1px solid rgba(255,255,255,.3);border-radius:var(--radius);color:#fff;font-size:14px;font-weight:500}
.btn-ghost-light:hover{border-color:var(--primary);color:#fff}

/* ---------- Editor's Picks ---------- */
.picks-band{padding-block:clamp(28px,4vw,44px);background:var(--picks)}
.picks-title{display:flex;align-items:center;gap:4px;margin-bottom:20px;font-size:22px;line-height:30px;font-weight:700}
.picks-title .icon{width:18px;height:18px}
.picks-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:24px 32px}
.ovl-picks{min-height:clamp(360px,38vw,480px)}
.ovl-picks .ovl-title{max-width:680px;font-size:clamp(22px,2.6vw,30px);line-height:1.25}
.picks-list{display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.pick-item{display:flex;align-items:center;gap:20px}
.pick-item-body{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.pick-item-title{font-size:16px;line-height:23px;font-weight:700}

/* ---------- Newsletter ---------- */
.newsletter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;padding:clamp(24px,4vw,40px);border-radius:var(--radius);background:var(--gray-900);color:#fff}
.newsletter-copy{flex:1 1 320px}
.newsletter h2{font-size:clamp(20px,2.4vw,26px);line-height:1.3;font-weight:700}
.newsletter p,.nl-card p{margin-top:6px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.newsletter-form{flex:1 1 420px;max-width:560px}
.nl-form{display:flex;flex-wrap:wrap;gap:8px}
.nl-form input{flex:1 1 160px;min-width:0;height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius);background:rgba(255,255,255,.06);color:#fff;font-size:15px}
.nl-form input::placeholder{color:rgba(255,255,255,.6)}
.nl-form input:focus{outline:none;border-color:var(--primary);background:rgba(255,255,255,.1)}
.nl-form .btn{height:44px}
.nl-form-error{flex-basis:100%;margin:0;font-size:13px;font-weight:500;color:var(--orange-soft)}
.nl-done{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--radius);background:#fff;color:var(--success);font-size:14px;font-weight:600}
.nl-done .icon{width:20px;height:20px}
.nl-done[hidden],.nl-form[hidden],.nl-form-error[hidden]{display:none}

/* ---------- Latest + sidebar ---------- */
.latest-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:clamp(24px,4vw,48px)}
/* Latest Articles â€” listing: one horizontal card per article, same-size image on the left */
.latest-list{display:flex;flex-direction:column;gap:16px}
.latest-item{position:relative;display:flex;align-items:stretch;gap:20px;min-width:0;padding:16px;border:1px solid var(--gray-200);border-radius:var(--radius);background:#fff;transition:border-color .2s}
.latest-item[hidden]{display:none}
.latest-item:hover{border-color:var(--orange-200)}
.latest-item .thumb-latest{flex:none;align-self:flex-start;width:clamp(200px,30%,280px);aspect-ratio:3/2}
.latest-item:hover .thumb img{transform:scale(1.04)}
.latest-item-body{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.latest-item-title{font-size:20px;line-height:28px;font-weight:700}
.latest-item-title a{color:var(--gray-900);transition:color .2s}
.latest-item:hover .latest-item-title a{color:var(--orange-900)}
/* the title link covers the whole card; badge, author and share stay clickable on top */
.latest-item-title a::after{content:"";position:absolute;inset:0;z-index:1}
.latest-item .cat-badge,.latest-item .byline a{position:relative;z-index:2}
.latest-item:has(.latest-item-title a:focus-visible){outline:2px solid var(--primary);outline-offset:2px}
.latest-item:has(.latest-item-title a:focus-visible) .latest-item-title a{outline:0}
.latest-item-excerpt{font-size:14px;line-height:22px;color:var(--gray-600)}
.latest-item .byline{margin-top:auto;padding-top:4px}
.latest .center{margin-top:32px}
/* List / Grid switch */
.view-toggle{display:flex;gap:8px}
.view-toggle .icon-btn{border-radius:var(--radius)}
.view-toggle .icon-btn[aria-pressed="true"]{border-color:var(--primary);background:var(--orange-50);color:var(--orange-700)}
/* Grid view: same cards, stacked image-on-top; 3 columns on desktop, 2 on small tablets, 1 on phones */
.latest-list[data-view="grid"]{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:24px}
.latest-list[data-view="grid"] .latest-item{flex-direction:column;gap:0;padding:0;overflow:hidden}
.latest-list[data-view="grid"] .thumb-latest{align-self:stretch;width:100%;border-radius:0}
.latest-list[data-view="grid"] .latest-item-body{gap:10px;padding:16px}
.latest-list[data-view="grid"] .latest-item-title{min-height:calc(2 * 26px);font-size:18px;line-height:26px}
.latest-list[data-view="grid"] .latest-item-excerpt{min-height:calc(2 * 22px)}
.latest-list[data-view="grid"] .latest-item .byline{width:100%;margin-top:auto;padding-top:12px;border-top:1px solid var(--gray-200)}
/* phones: smaller thumbnail, title + meta only */
@media (max-width:640px){
  .latest-list{gap:12px}
  .latest-item{gap:14px;padding:12px}
  .latest-item .thumb-latest{width:clamp(104px,34%,160px)}
  .latest-item-body{gap:6px}
  .latest-item-title{font-size:16px;line-height:22px}
  .latest-item-excerpt{display:none}
  .latest-item .byline{padding-top:0;gap:4px 6px}
  .latest-item .byline .avatar{display:none}
  .latest-item .share-btn{top:6px;right:6px;width:28px;height:28px}
  .latest-item .share-btn .icon{width:14px;height:14px}
  .latest-list[data-view="grid"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .latest-list[data-view="grid"] .latest-item-body{gap:8px;padding:12px}
  .latest-list[data-view="grid"] .latest-item-title{min-height:calc(2 * 22px);font-size:16px;line-height:22px}
  .latest-list[data-view="grid"] .latest-item-excerpt{display:none}
}
@media (max-width:480px){
  .latest-list[data-view="grid"]{grid-template-columns:minmax(0,1fr)}
  .latest-list[data-view="grid"] .latest-item-body{padding:16px}
  .latest-list[data-view="grid"] .latest-item-title{min-height:0;font-size:18px;line-height:26px}
  .latest-list[data-view="grid"] .latest-item-excerpt{display:-webkit-box;min-height:0}
}
.latest-aside{position:sticky;top:96px;display:flex;flex-direction:column;gap:24px}
.social h2{margin-bottom:12px;font-size:18px;font-weight:700}
.social ul{display:flex;flex-direction:column;gap:8px}
.social a{display:flex;align-items:center;gap:12px;height:44px;padding:0 16px;border-radius:var(--radius);background:var(--c);color:#fff;font-size:14px;font-weight:500;transition:filter .2s}
.social a:hover{color:#fff;filter:brightness(.92)}
.social-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.25);font-size:12px;font-weight:700}
.social-act{margin-left:auto;font-size:11px;letter-spacing:.08em}
.nl-card{display:flex;flex-direction:column;gap:16px;padding:24px;border-radius:var(--radius);background:var(--gray-900);color:#fff}
.nl-card h2{font-size:20px;line-height:1.3;font-weight:700}
.nl-card .nl-form{flex-direction:column}
.nl-card .nl-form input{flex:none;width:100%}

/* ---------- Advertisement slots ---------- */
.ad-slot{padding-block:16px;display:flex;flex-direction:column;align-items:center;gap:6px}
.ad-slot-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--gray-500)}
.ad-slot-box{width:100%;max-width:970px;height:90px;display:grid;place-items:center;padding:0 12px;border:1px dashed var(--gray-300);border-radius:var(--radius);background:var(--gray-50);color:var(--gray-500);font-size:13px;text-align:center}

/* ---------- Share dialog ---------- */
.share-dialog{width:min(440px,calc(100% - 32px));padding:0;border:0;border-radius:var(--radius);color:var(--gray-900);box-shadow:0 24px 60px rgba(17,24,39,.3)}
.share-dialog::backdrop{background:rgba(17,24,39,.55)}
.share-dialog-inner{display:flex;flex-direction:column;gap:16px;padding:20px}
.share-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.share-dialog-head h2{font-size:18px;font-weight:700}
.share-dialog-post{display:flex;align-items:center;gap:12px;padding:10px;border-radius:var(--radius);background:var(--gray-100)}
.share-dialog-post img{width:56px;height:56px;flex:none;border-radius:var(--radius);object-fit:cover}
.share-dialog-post img[hidden]{display:none}
.share-dialog-post p{font-size:14px;font-weight:500}
.share-dialog-targets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.share-dialog-targets a{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--gray-700)}
.share-dialog-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--gray-200);border-radius:50%;transition:border-color .2s}
.share-dialog-targets a:hover .share-dialog-icon{border-color:var(--primary)}
.share-dialog-icon .icon{width:22px;height:22px}
.share-dialog-link label{display:block;margin-bottom:6px;font-size:13px;font-weight:500;color:var(--gray-700)}
.share-dialog-copy{display:flex;gap:8px}
.share-dialog-copy input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid var(--gray-300);border-radius:var(--radius);font-size:14px;color:var(--gray-700)}

/* Previous / next article navigation (pulse-details.html) */
.pulse-pn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px!important}
.pulse-pn-link{display:flex;align-items:center;gap:16px;min-width:0;color:var(--gray-900);text-decoration:none}
.pulse-pn-next{flex-direction:row-reverse;text-align:right}
.pulse-pn-img{flex:none;width:80px;height:80px;overflow:hidden;border-radius:50%;background:var(--gray-100)}
.pulse-pn-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.pulse-pn-text{display:block;min-width:0}
.pulse-pn-label{display:block;margin-bottom:4px;font-size:16px;line-height:1.4;font-weight:400;color:var(--gray-500)}
.pulse-pn-title{font-size:17px;line-height:1.5;font-weight:600;color:var(--gray-900);transition:color .2s}
/* right-aligned clamp: give the "â€¦" room so it is not clipped */
.pulse-pn-next .pulse-pn-title{padding-right:1em;margin-right:-1em}
.pulse-pn-link:hover{color:var(--gray-900)}
.pulse-pn-link:hover .pulse-pn-title{color:var(--orange-900)}
.pulse-pn-link:hover .pulse-pn-img img{transform:scale(1.04)}
@media (max-width:560px){
  .pulse-pn{grid-template-columns:1fr;gap:20px}
  .pulse-pn-img{width:64px;height:64px}
  .pulse-pn-title{font-size:16px}
}

/* Contributor block (pulse-details.html) */
.pulse-author{display:flex;align-items:center;gap:clamp(20px,3vw,36px);margin-top:40px!important;padding:clamp(20px,3vw,32px);border-radius:var(--radius);background:var(--band-alt)}
.pulse-author-photo{flex:none;width:150px;height:150px;display:grid;place-items:center;overflow:hidden;border:4px solid #fff;border-radius:50%;background:var(--gray-200);color:var(--gray-700);font-size:40px;font-weight:600;text-decoration:none;box-shadow:0 1px 4px rgba(17,24,39,.08)}
.pulse-author-photo img{width:100%;height:100%;object-fit:cover}
.pulse-author-body{min-width:0}
.pulse-body .pulse-author-name{margin:0;font-size:26px;line-height:1.3;font-weight:700;color:var(--gray-900)}
.pulse-author-name a{color:inherit}
.pulse-author-name a:hover{color:var(--orange-900)}
.pulse-author-bio{margin:8px 0 0;font-size:16px;line-height:1.75;color:var(--gray-600)}
.pulse-body .pulse-author-social{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0 0;padding:0;list-style:none}
.pulse-body .pulse-author-social li{margin:0}
.pulse-author-social a{width:25px;height:25px;display:grid;place-items:center;border-radius:var(--radius);background:#666;color:#fff;transition:filter .2s}
.pulse-author-social a:hover{color:#fff;filter:brightness(.92)}
.pulse-author-social svg{display:block;width:14px;height:14px;fill:currentColor}
@media (max-width:560px){
  .pulse-author{flex-direction:column;text-align:center}
  .pulse-author-photo{width:96px;height:96px;font-size:28px}
  .pulse-body .pulse-author-name{font-size:22px}
  .pulse-author-social{justify-content:center}
}

/* Pulse details header (pulse-details.html) */
.pulse-detailshd{padding:clamp(24px,4vw,40px) 0;background:var(--band-alt);border-bottom:1px solid var(--gray-200)}
.pulse-dh{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.pulse-dh-title{margin:0;font-family:var(--font);font-size:clamp(24px,3.4vw,36px);line-height:1.3;font-weight:600;color:#000}
.pulse-dh-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0;padding:0;list-style:none;font-size:14px;font-weight:400;color:var(--gray-600)}
.pulse-dh-meta li{display:inline-flex;align-items:center;gap:6px}
.pulse-dh-meta a{color:inherit;text-decoration:none}
.pulse-dh-meta a:hover{color:var(--orange-900)}
.pulse-dh-meta .pulse-dh-author{color:var(--gray-900);font-weight:500}
.pulse-dh-meta .pulse-dh-author:hover{color:var(--orange-900)}
.pulse-dh-icon{width:15px;height:15px;flex:none;fill:var(--gray-500)}
.pulse-dh-icon.pulse-dh-icon-line{fill:none;stroke:var(--gray-500)}
.pulse-dh-icon-line{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pulse-dh-share{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}
.pulse-dh-tools{display:flex;gap:10px;flex:none}
.pulse-dh-tbtn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 18px;border:1px solid var(--orange-200);border-radius:999px;background:#fff;color:var(--gray-900);font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.pulse-dh-tbtn:hover{border-color:var(--orange-300);background:var(--orange-50)}
.pulse-dh-tbtn svg{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pulse-dh-tbtn[aria-pressed="true"]{border-color:var(--primary);background:var(--orange-50);color:var(--orange-700)}
.pulse-dh-tbtn[aria-pressed="true"] svg{fill:currentColor}
@media (max-width:560px){
  .pulse-dh-share{flex-wrap:wrap}
  .pulse-dh-tbtn{height:34px;padding:0 14px;font-size:14px}
}

/* Pulse article body (pulse-details.html) */
.pulse-body{padding:32px 0 48px;font-size:17px;line-height:1.75;color:var(--gray-700)}
.pulse-body > * + *{margin-top:20px}
.pulse-body p{margin-bottom:0}
.pulse-body strong{color:var(--gray-900);font-weight:600}
.pulse-body h3,.pulse-body h4{margin-bottom:0;color:var(--gray-900);font-weight:700;line-height:1.35}
.pulse-body h3{margin-top:36px;font-size:24px}
.pulse-body h4{margin-top:28px;font-size:19px}
.pulse-body ul{margin-bottom:0;padding-left:22px}
.pulse-body li + li{margin-top:6px}
.pulse-body li::marker{color:var(--primary)}
.pulse-lead{font-size:20px;line-height:1.6;color:var(--gray-900)}
.pulse-figure{margin:0;overflow:hidden;border-radius:var(--radius);background:var(--gray-100)}
.pulse-figure img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.pulse-body > .pulse-figure,.pulse-gallery{margin-top:28px;margin-bottom:8px}
.pulse-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pulse-gallery img{aspect-ratio:4/3}
.pulse-quote{position:relative;margin:32px 0 12px;padding:28px 28px 24px 72px;border-left:4px solid var(--primary);border-radius:0 var(--radius) var(--radius) 0;background:var(--band-alt)}
.pulse-quote::before{content:"\201C";position:absolute;left:22px;top:6px;font-family:Georgia,serif;font-size:72px;line-height:1;color:var(--primary)}
.pulse-quote p{font-size:20px;line-height:1.55;font-style:italic;font-weight:500;color:var(--gray-900)}
.pulse-quote cite{display:block;margin-top:12px;font-size:14px;font-style:normal;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--gray-600)}
.pulse-quote cite::before{content:"\2014\00a0"}
.pulse-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin-top:32px!important;margin-bottom:0;padding:20px 24px;border-left:4px solid var(--primary);border-radius:0 var(--radius) var(--radius) 0;background:var(--band-alt)}
.pulse-facts dt{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--gray-500)}
.pulse-facts dd{margin:2px 0 0;font-size:16px;line-height:1.5;font-weight:500;color:var(--gray-900)}
.pulse-facts-full{grid-column:1/-1}
.pulse-source{font-size:14px;color:var(--gray-500)}
.pulse-share{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin-top:36px!important;padding:18px 22px;border:1px solid var(--orange-100);border-radius:var(--radius);background:linear-gradient(135deg,var(--orange-50),#fff 70%);box-shadow:0 2px 10px rgba(249,115,22,.06)}
.pulse-share-actions{display:flex;gap:10px}
.pulse-share-sep{width:1px;height:30px;background:var(--orange-200)}
.pulse-share-label{font-size:15px;font-weight:500;color:var(--gray-600)}
.pulse-share-list,.pulse-body .pulse-share-list{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;list-style:none}
.pulse-share-list li,.pulse-body .pulse-share-list li{display:flex;margin:0}
.pulse-share-btn{width:42px;height:42px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:#fff;cursor:pointer;transition:filter .2s}
.pulse-share-btn:hover{color:#fff;filter:brightness(.92)}
.pulse-share-btn svg{display:block;width:18px;height:18px;fill:currentColor}
.pulse-share-btn.pulse-dh-wa{background:#25D366}
.pulse-share-btn.pulse-dh-fb{background:#1877F2}
.pulse-share-btn.pulse-dh-x{background:#000}
.pulse-share-btn.pulse-dh-lin{background:#0077b7}
.pulse-share-btn.pulse-dh-ins{background:linear-gradient(45deg,#FFD059 0%,#FD5627 35%,#BE2BBC 70%,#0143DF 100%)}
.pulse-share-more{background:var(--gray-500)}

.pulse-comment{margin-top:40px!important;padding:clamp(20px,3vw,32px);border:1px solid var(--gray-200);border-radius:var(--radius);background:var(--gray-50)}
.pulse-comment h3{margin-top:0}
.pulse-comment [hidden]{display:none!important}
.pulse-comment-note{margin-top:6px;font-size:14px;color:var(--gray-500)}
.pulse-comment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.pulse-field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:var(--gray-800)}
.pulse-field-full{grid-column:1/-1}
.pulse-field label{font-weight:500}
.pulse-error{min-height:0;font-size:13px;line-height:1.4;font-weight:400;color:#DC2626}
.pulse-error:empty{display:none}
.pulse-field.is-invalid input,.pulse-field.is-invalid textarea{border-color:#DC2626;background:#FEF2F2}
.pulse-field.is-invalid input:focus,.pulse-field.is-invalid textarea:focus{border-color:#DC2626;box-shadow:0 0 0 3px #FEE2E2}
.pulse-form-alert{padding:12px 14px;border:1px solid #FECACA;border-left:4px solid #DC2626;border-radius:var(--radius);background:#FEF2F2;font-size:14px;font-weight:500;color:#991B1B}
.pulse-thanks{margin-top:20px;padding:32px 24px;border:1px solid #BBF7D0;border-radius:var(--radius);background:#F0FDF4;text-align:center;outline:0}
.pulse-thanks-icon{width:52px;height:52px;display:inline-grid;place-items:center;margin-bottom:12px;border-radius:50%;background:var(--success);color:#fff}
.pulse-thanks-icon svg{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.pulse-body .pulse-thanks h4{margin:0;font-size:20px;color:var(--success)}
.pulse-thanks p{margin:8px auto 0;max-width:420px;font-size:15px;line-height:1.6;color:var(--gray-700)}
.pulse-thanks-again{margin-top:18px;padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:600;color:var(--orange-700);text-decoration:underline;cursor:pointer}
.pulse-thanks-again:hover{color:var(--orange-900)}
.pulse-field input,.pulse-field textarea{width:100%;padding:10px 12px;border:1px solid var(--gray-300);border-radius:var(--radius);background:#fff;font:inherit;font-weight:400;color:var(--gray-900);transition:border-color .2s,box-shadow .2s}
.pulse-field textarea{resize:vertical;min-height:140px}
.pulse-field input:focus,.pulse-field textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px var(--orange-100)}
.pulse-check{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.5;color:var(--gray-600)}
.pulse-check input{margin-top:3px;accent-color:var(--primary)}
.pulse-submit{height:44px;padding:0 28px;border:0;border-radius:var(--radius);background:var(--primary);color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}
.pulse-submit:hover{background:var(--primary-dark)}
@media (max-width:560px){
  .pulse-body{font-size:16px}
  .pulse-lead{font-size:18px}
  .pulse-body h3{font-size:21px}
  .pulse-quote{padding:22px 18px 18px 52px}
  .pulse-quote::before{left:12px;font-size:56px}
  .pulse-quote p{font-size:18px}
  .pulse-gallery,.pulse-comment-form,.pulse-facts{grid-template-columns:minmax(0,1fr)}
  .pulse-share{padding:16px}
  .pulse-share-sep{display:none}
  .pulse-share-label{width:100%}
  .pulse-share-btn{width:38px;height:38px}
}

/* RHS tickets block (pulse-details.html) */
.pulse-tickets{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:32px 0 0;padding:28px 24px;border:1px solid var(--orange-200);border-radius:var(--radius);background:linear-gradient(160deg,var(--orange-50) 0%,#FFE4D3 100%);text-align:center;box-shadow:0 4px 16px rgba(210,64,12,.08)}
.pulse-tickets-title{margin:0;font-family:'Poppins',var(--font);font-size:22px;line-height:1.3;font-weight:600;color:#33334D}
.pulse-tickets-btn{display:flex;align-items:center;justify-content:center;height:46px;padding:0 20px;border-radius:var(--radius);background:#D2400C;color:#fff;font-family:'Poppins',var(--font);font-size:16px;font-weight:500;text-decoration:none;transition:background .2s,box-shadow .2s}
.pulse-tickets-btn:hover{background:#B8360A;color:#fff}
.pulse-tickets-btn:focus-visible{outline:2px solid #D2400C;outline-offset:2px}
.pulse-nl{gap:20px;margin:40px 0;padding:28px}
.pulse-nl .nl-form{gap:20px}
/* RHS sticky: desktop only (Bootstrap lg = 992px, where the columns sit side by side) */
@media (min-width:992px){
  .pulse-rhs{position:sticky;top:96px;margin-left:clamp(16px,2.5vw,40px)}
}

/* Related posts (pulse-details.html) â€” card layout */
.pulse-related{padding:clamp(32px,4vw,48px) 0 clamp(40px,5vw,64px);background:var(--band-alt)}
.pulse-related-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.pulse-related-title{margin:0;font-size:24px;line-height:1.3;font-weight:700;color:var(--gray-900)}
.pulse-related-more{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:15px;font-weight:500;color:var(--gray-900);text-decoration:none}
.pulse-related-more:hover{color:var(--orange-900)}
.pulse-related-more .icon{width:18px;height:18px}
.pulse-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.rp-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--gray-200);border-radius:var(--radius);background:#fff;transition:border-color .2s}
.rp-card:hover{border-color:var(--orange-200)}
.rp-thumb{overflow:hidden;background:var(--gray-100)}
.rp-thumb img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .4s}
.rp-card:hover .rp-thumb img{transform:scale(1.04)}
.rp-body{display:flex;flex-direction:column;flex:1;padding:16px}
.rp-cat{position:relative;z-index:2}
.rp-title{margin:10px 0 16px;min-height:calc(2em * 1.45);font-size:17px;line-height:1.45;font-weight:600}
.rp-title a{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--gray-900);text-decoration:none;transition:color .2s}
/* the title link covers the whole card, so the image and empty space are clickable too */
.rp-link::after{content:"";position:absolute;inset:0;z-index:1}
.rp-card:hover .rp-title a,.rp-title a:hover{color:var(--orange-900)}
.rp-card:has(.rp-link:focus-visible){outline:2px solid var(--primary);outline-offset:2px}
.rp-card:has(.rp-link:focus-visible) .rp-link{outline:0}
.rp-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid var(--gray-200)}
.rp-author{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:500;color:var(--gray-800);text-decoration:none;white-space:nowrap}
.rp-author:hover{color:var(--orange-900)}
.rp-avatar{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--orange-100);color:var(--orange-700);font-size:11px;font-weight:700}
.rp-date{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:13px;color:var(--gray-500);white-space:nowrap}
.rp-date svg{flex:none;width:13px;height:13px;fill:currentColor}
@media (max-width:1024px){
  .pulse-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* phones: swipeable row of cards instead of a long stack */
@media (max-width:560px){
  .pulse-related-title{font-size:21px}
  .pulse-related-more{font-size:14px}
  .pulse-related-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;scrollbar-width:none}
  .pulse-related-grid::-webkit-scrollbar{display:none}
  .rp-card{scroll-snap-align:start}
}

/* ==========================================================================
   All Categories page (categories-listing.html)
   The listing is the Latest Articles block from index.html (same markup and styles,
   List and Grid views, Show more); only the page heading and sidebar live here.
   ========================================================================== */
.catl-band{padding-top:clamp(24px,4vw,40px)}
.catl-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 16px;margin-bottom:20px}
.catl-heading{min-width:0}
.catl-title{margin:0;font-size:clamp(24px,3vw,30px);line-height:1.25;font-weight:700;color:var(--gray-900)}
.catl-intro{margin:6px 0 0;font-size:15px;line-height:22px;color:var(--gray-600)}
/* "You may also be interested in" below the listing. Tiles, arrows and spacing come from the index.html styles;
   this page's background is grey, so the section sits on a white panel to keep the grey tiles visible as on index.html */
.catl-services{margin-top:clamp(32px,4vw,48px);padding:20px;border:1px solid var(--gray-200);border-radius:var(--radius);background:#fff}
/* Sidebar: beside the listing on desktop (col-lg-4), stacked below it on smaller screens.
   Scrolls with the page (not sticky); one column so the block order never changes. */
.catl-aside{display:flex;flex-direction:column;gap:24px}
@media (max-width:991.98px){
  .catl-aside{margin-top:32px}
}
/* Sidebar blocks: white card, same border, radius and spacing as the article cards */
.widget{padding:20px;border:1px solid var(--gray-200);border-radius:var(--radius);background:#fff}
.widget-title{margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--gray-200);font-size:18px;line-height:26px;font-weight:700;color:var(--gray-900)}
.widget .cat-badge{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;line-height:22px;vertical-align:top}
/* Editor's Picks (index pick-item, sized for the sidebar) */
.widget-picks{display:flex;flex-direction:column}
.widget-picks .pick-item{gap:14px;align-items:flex-start}
.widget-picks .pick-item+.pick-item{margin-top:14px;padding-top:14px;border-top:1px solid var(--gray-200)}
.widget-picks .thumb-pick{width:96px;height:72px}
.widget-picks .pick-item-body{gap:6px}
.widget-picks .pick-item-title{font-size:15px;line-height:22px}
/* Top Week: numbered list */
.rank-list{margin:0;padding:0;list-style:none}
.rank-item{display:flex;align-items:flex-start;gap:14px}
.rank-item+.rank-item{margin-top:12px;padding-top:12px;border-top:1px solid var(--gray-200)}
.rank-num{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--orange-100);color:var(--orange-900);font-size:13px;font-weight:700}
.rank-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.rank-title{font-size:15px;line-height:22px;font-weight:600}
.rank-title a{color:var(--gray-900)}
.rank-title a:hover{color:var(--orange-900)}
/* Tags */
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.tag-chip{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:var(--radius);background:var(--gray-100);color:var(--gray-800);font-size:13px;font-weight:500;transition:background .2s,color .2s}
.tag-chip:hover{background:var(--gray-200);color:var(--orange-900)}
/* Top Categories / Archives / Top Authors: rows with a count */
.row-links{margin:0;padding:0;list-style:none}
.row-links li+li{border-top:1px solid var(--gray-200)}
.list-row,.author-row{display:flex;align-items:center;gap:12px;padding:10px 0;color:var(--gray-800)}
.row-links li:first-child>a{padding-top:0}
.row-links li:last-child>a{padding-bottom:0}
/* Archives: fixed height, scrolls inside the card */
.row-links-scroll{max-height:220px;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-width:thin;scrollbar-color:var(--gray-300) transparent}
.row-links-scroll::-webkit-scrollbar{width:6px}
.row-links-scroll::-webkit-scrollbar-thumb{border-radius:var(--radius);background:var(--gray-300)}
.row-links-scroll::-webkit-scrollbar-track{background:transparent}
.list-row{justify-content:space-between}
.list-row-label{font-size:15px;line-height:22px;font-weight:500;transition:color .2s}
.list-row-count{flex:none;font-size:13px;color:var(--gray-500)}
.list-row:hover .list-row-label,.author-row:hover .author-row-name{color:var(--orange-900)}
/* Top Categories: the icon tiles from "You may also be interested in" (2 per row; 1 in the narrow desktop sidebar and on very small phones; 3 when stacked on tablets) */
.tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
@media (min-width:992px) and (max-width:1199.98px){.tile-grid{grid-template-columns:minmax(0,1fr)}}
@media (min-width:641px) and (max-width:991.98px){.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:374.98px){.tile-grid{grid-template-columns:minmax(0,1fr)}}
.tile-grid>li{display:flex;min-width:0}
.tile-grid .tile{gap:12px;padding:16px}
.tile-grid .tile-icon{fill:none;stroke-linecap:round;stroke-linejoin:round}
.tile-grid .tile-label{align-items:flex-start;font-size:15px;line-height:22px}
.tile-grid .tile-label::before{margin-top:7px;background:var(--cat-bg,var(--primary))}
.avatar-lg{width:40px;height:40px;font-size:13px}
.author-row-text{display:flex;flex-direction:column;min-width:0}
.author-row-name{font-size:15px;line-height:22px;font-weight:600;color:var(--gray-900);transition:color .2s}
.author-row-count{font-size:13px;line-height:18px;color:var(--gray-500)}
@media (max-width:640px){
  /* bigger tap targets for the List / Grid switch on phones (both pages) */
  .view-toggle .icon-btn{width:44px;height:44px}
}

/* ==========================================================================
   Category home page (category.html)
   Hero + Featured Topics; the listing and sidebar reuse the All Categories styles above
   ========================================================================== */
.cat-hero-band{padding-block:clamp(16px,2.5vw,24px) clamp(20px,3vw,32px);background:var(--band-alt)}
.breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 clamp(16px,2.5vw,24px);padding:0;list-style:none;font-size:13px;line-height:20px;color:var(--gray-500)}
.breadcrumb li+li::before{content:"/";margin-right:8px;color:var(--gray-300)}
.breadcrumb a{color:var(--gray-700)}
.breadcrumb a:hover{color:var(--orange-900)}
.breadcrumb [aria-current]{color:var(--gray-900);font-weight:500}
/* Hero: full-width category banner, image behind a dark gradient, category colour accent along the bottom */
.cat-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(180px,16vw,240px);overflow:hidden;border-radius:var(--radius);background:var(--gray-900);color:#fff}
.cat-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(17,24,39,.92) 0%,rgba(17,24,39,.78) 42%,rgba(17,24,39,.25) 100%)}
.cat-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--cat-bg,var(--primary))}
/* blurred background photo; scaled up slightly so the blur does not leave soft edges */
.cat-hero-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;filter:blur(18px);transform:scale(1.15)}
.cat-hero-body{max-width:760px;padding:clamp(20px,2.5vw,32px)}
.cat-hero-title{margin:0;font-size:clamp(28px,3.8vw,44px);line-height:1.1;font-weight:700;color:#fff}
.cat-hero-stats{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.cat-hero-stats li{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius);background:rgba(255,255,255,.1);font-size:13px;color:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.cat-hero-stats .icon{width:15px;height:15px}
.cat-hero-stats strong{color:#fff;font-weight:700}
.cat-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.cat-hero-actions .btn .icon{width:16px;height:16px}
.cat-hero-actions .btn-ghost-light{height:40px;margin-top:0;padding:0 18px}
/* "Browse latest stories" target: stop below the sticky site header */
#catl-title{scroll-margin-top:110px}
@media (max-width:768px){
  .cat-hero{min-height:0}
  .cat-hero::before{background:linear-gradient(180deg,rgba(17,24,39,.55) 0%,rgba(17,24,39,.9) 55%,rgba(17,24,39,.95) 100%)}
  .cat-hero-body{padding-top:40px}
}
@media (max-width:480px){
  .cat-hero-body{padding:32px 20px 24px}
  .cat-hero-actions .btn{flex:1 1 100%}
}
.cat-featured{padding-bottom:clamp(28px,4vw,40px)}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1024px){
  .ft1-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ft1-main{grid-column:1/-1;order:-1}
  .ls-grid,.feature-top,.hero-split-grid,.picks-grid{grid-template-columns:minmax(0,1fr)}
  .feature-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}
  .latest-grid{grid-template-columns:minmax(0,1fr)}
  .latest-aside{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  .pair,.ft2-grid{grid-template-columns:minmax(0,1fr)}
  .jump-nav-list a{height:70px;padding:0 14px;font-size:14px}
  
  .feature-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
  .latest-aside{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .intro h1{white-space:normal}
  .ft1-grid,.ls-tall,.ls-cols,.ft2-tiles,.recipe-grid{grid-template-columns:minmax(0,1fr)}
  .carousel-controls{right:52px}
  .jump-nav-arrow{display:none}
.jump-nav-bar{padding:0 4px; border-radius: 0;}
  .thumb-pick{width:100px;height:80px}
  .share-dialog-targets{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ad-slot-box{max-width:320px;height:100px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ==========================================================================
   Page extras â€” classes the page uses that the designer's file does not define
   (values copied from the old styles.css)
   ========================================================================== */
/* .section{max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)} */
.page-h1{max-width:var(--max);margin:20px auto 0;padding-inline:var(--gutter);font-size:clamp(20px,2.4vw,28px);line-height:1.3;font-weight:700;color:var(--gray-900)}
.latest-main{min-width:0}

/* Performance: skip rendering of off-screen sections until they are near */
.band:not(.band-first):not(.catl-band),.dark-band,.picks-band{content-visibility:auto;contain-intrinsic-size:auto 700px}
.ovl-media[data-href]{cursor:pointer}

/* ===== Indiapulse: Subscribe button + popup ===== */

.ip-sub-btn {
    min-width: 160px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
}

.ip-sub-btn--block {
    width: 100%;
    margin-top: 1rem;
}

.ip-sub-btn.is-on {
    background: transparent !important;
    color: #fdba74 !important;
    box-shadow: inset 0 0 0 2px #fdba74;
}

    .ip-sub-btn.is-on:hover {
        background: #c2410c !important;
        color: #fff !important;
    }

.ip-sb {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(440px, calc(100vw - 32px));
    height: fit-content;
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: #111827;
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.35);
    overflow: auto;
}

    .ip-sb::backdrop {
        background: rgba(17, 24, 39, 0.6);
        backdrop-filter: blur(3px);
    }

    .ip-sb[open] {
        animation: ip-sb-in 0.2s ease-out;
    }

@keyframes ip-sb-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ip-sb[open] {
        animation: none;
    }
}

.ip-sb__head {
    position: relative;
    padding: 1.75rem 1.75rem 1.5rem;
    background: #111827;
    color: #fff;
}

.ip-sb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: #f97316;
    color: #fff;
}

.ip-sb__title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.ip-sb__text {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.ip-sb__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

    .ip-sb__close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.ip-sb__body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.ip-sb__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #f3f4f6;
}

    .ip-sb__tabs button {
        padding: 0.6rem 0.5rem;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #4b5563;
        font-size: 0.88rem;
        font-weight: 600;
        cursor: pointer;
    }

        .ip-sb__tabs button.is-active {
            background: #fff;
            color: #c2410c;
            box-shadow: 0 1px 4px rgba(17, 24, 39, 0.12);
        }

.ip-sb__label {
    display: block;
    margin: 1.1rem 0 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.ip-sb__input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 1rem;
}

    .ip-sb__input:focus {
        outline: none;
        border-color: #f97316;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    }

.ip-sb__phone {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
}

.ip-sb__otp {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    padding-left: 1.5rem;
}

.ip-sb__error {
    min-height: 1.2em;
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: #dc2626;
}

.ip-sb__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 10px;
    background: #c2410c;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

    .ip-sb__btn:hover {
        background: #9a3412;
    }

    .ip-sb__btn:disabled {
        opacity: 0.7;
        cursor: progress;
    }

.ip-sb__links {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

    .ip-sb__links button {
        border: 0;
        background: none;
        color: #c2410c;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
    }

        .ip-sb__links button:disabled {
            color: #9ca3af;
            cursor: default;
        }

.ip-sb__fine {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.78rem;
    color: #6b7280;
}

.ip-sb__result {
    text-align: center;
}

.ip-sb__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0.25rem auto 0.9rem;
    border-radius: 50%;
}

.ip-sb__result[data-type="subscribed"] .ip-sb__badge {
    background: #dcfce7;
    color: #15803d;
}

.ip-sb__result[data-type="already"] .ip-sb__badge {
    background: #fef3c7;
    color: #b45309;
}

.ip-sb__result[data-type="unsubscribed"] .ip-sb__badge {
    background: #f3f4f6;
    color: #4b5563;
}

.ip-sb__result[data-type="error"] .ip-sb__badge {
    background: #fee2e2;
    color: #dc2626;
}

.ip-sb__result-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.ip-sb__result-text {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4b5563;
}

.ip-sb__target {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #f3f4f6;
    font-weight: 600;
    word-break: break-all;
}

    .ip-sb__target:empty {
        display: none;
    }

.ip-spin {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ip-spin 0.7s linear infinite;
}

@keyframes ip-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===== Newsletter band: button on the right ===== */
.newsletter-form {
    flex: 0 0 auto;
    max-width: none;
    margin-left: auto;
}

.newsletter .ip-sub-btn {
    height: 52px;
    min-width: 200px;
    padding: 0 36px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.35);
}

    .newsletter .ip-sub-btn:hover {
        transform: translateY(-1px);
    }

/* mobile: button full width under the text */
@media (max-width: 768px) {
    .newsletter-form {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .newsletter .ip-sub-btn {
        width: 100%;
    }
}

/* ==========================================================================
   All Categories page extras (copied as-is from the old allcategories.css)
   ========================================================================== */
/* page width: same as the design */

/* ---------- Responsive (from the designer's file, only rules for this page) ---------- */
@media (max-width:560px){
  .thumb-pick{width:100px;height:80px}
  .share-dialog-targets{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Most Viewed: show 5; the extra rows only step in when an article's picture fails to load */
.mv-list .side-item:nth-of-type(n+6){display:none}

/* Desktop: the sidebar column runs the full height of the list, and the last block (Most Viewed)
   sticks below the site header while the list scrolls, so the column never shows empty space */
@media (min-width:992px){
  .catl-aside{height:100%}
  .catl-aside > .widget:last-child{position:sticky;top:110px}
}

/* ---------- Performance: skip rendering off-screen blocks until they scroll near ---------- */
.latest-list .latest-item:nth-child(n+4){content-visibility:auto;contain-intrinsic-size:auto 220px}
.latest-list[data-view="grid"] .latest-item:nth-child(n+4){contain-intrinsic-size:auto 380px}
.catl-services{content-visibility:auto;contain-intrinsic-size:auto 200px}
@media (max-width:991.98px){
  .catl-aside>.widget{content-visibility:auto;contain-intrinsic-size:auto 420px}
}
@media (max-width:640px){
  .latest-list .latest-item:nth-child(n+4){contain-intrinsic-size:auto 130px}
}
/* thumbnails keep their box even before the picture arrives (no layout shift) */
.latest-item .thumb-latest img{aspect-ratio:3/2;height:auto}

/* ==========================================================================
   Article page extras (copied as-is from the old articleindividual.css)
   ========================================================================== */
[data-cat="food-recipes"]{--cat-bg:#f59e0b}
/* Pictures inside the article body (htmldesc): same look as the design's main picture - 16:9, rounded */
.pulse-body img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);background:var(--gray-100)}
.pulse-body p img,.pulse-body figure img{margin:0}
.pulse-body p:has(> img:only-child){margin-top:28px}
.pulse-body figure{margin:28px 0 8px}
/* small pictures stay small: icons, author photo, prev/next, share */
.pulse-body .pulse-pn-img img,.pulse-body .pulse-author-photo img,.pulse-body svg{aspect-ratio:auto;border-radius:0}
.pulse-body .pulse-pn-img img{width:100%;height:100%;object-fit:cover}
.pulse-body .pulse-author-photo img{width:100%;height:100%}

/* Reading stream: articles loaded one after another while scrolling */
.ip-next-label{display:flex;align-items:center;gap:16px;padding-top:8px;padding-bottom:8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--orange-700)}
.ip-next-label::before,.ip-next-label::after{content:"";flex:1;height:2px;background:var(--orange-200)}
.ip-article + .ip-next-label{margin-top:8px}
.ip-stream-sentinel{height:1px}
.ip-stream-sentinel.is-loading{height:72px;background:radial-gradient(circle,var(--primary) 0 5px,transparent 6px) center/24px 24px no-repeat;animation:ip-pulse 1s ease-in-out infinite}
@keyframes ip-pulse{50%{opacity:.3}}
/* loaded articles have no sidebar: keep the text the same width as the first article */
.ip-article + .ip-next-label + .ip-article .pulse-body,.ip-next-label ~ .ip-article .pulse-body{padding-bottom:32px}

/* "Related Posts" heading above the first loaded article, "More from {category}" at the end */
.ip-related-head{padding-top:clamp(24px,3vw,40px);padding-bottom:8px;border-top:1px solid var(--gray-200)}
.ip-related-head h2{margin:0;font-size:clamp(22px,2.4vw,28px);line-height:1.3;font-weight:700;color:var(--gray-900)}
.ip-more-cat{display:flex;justify-content:center;padding-top:8px;padding-bottom:clamp(32px,4vw,56px)}
.ip-more-cat .btn{height:46px;padding:0 28px;font-size:15px;font-weight:600}
.ip-more-cat .btn .icon{width:18px;height:18px}

/* every article in the stream: body left, sticky newsletter right (desktop) */
@media (min-width:992px){
  .ip-article .row{display:flex;flex-wrap:wrap}
  .ip-article .col-lg-8{flex:0 0 66.6667%;max-width:66.6667%}
  .ip-article .col-lg-4{flex:0 0 33.3333%;max-width:33.3333%;align-self:stretch}
}

/* Article body from the database: keep its spacing, and keep its own styles from leaking out */
.pulse-content{min-width:0;overflow-wrap:break-word}
.pulse-content::after{content:"";display:table;clear:both}
.pulse-content > * + *{margin-top:20px}
.pulse-content p{margin-bottom:0}
.pulse-content table{display:block;max-width:100%;overflow-x:auto}
.pulse-content iframe,.pulse-content video{max-width:100%}
/* share bar and everything after the body: always the design's own look */
.pulse-share,.pulse-author,.pulse-pn,.pulse-comment{clear:both;font-weight:400;font-style:normal}
.pulse-share{display:flex!important;flex-wrap:wrap;align-items:center}
.pulse-share-actions,.pulse-share-list{display:flex!important}

/* article sidebar card: full-width subscribe button */
.pulse-nl .ip-sub-btn{width:100%;height:46px;font-size:15px;font-weight:600}

/* Wide things inside an article (tables, fixed-width pictures, embeds, long links) must not stretch the
   body column - otherwise the sidebar (Subscribe) wraps below the article */
.ip-article .col-lg-8,.ip-article .col-lg-4{min-width:0}
.pulse-body,.pulse-content{min-width:0;max-width:100%}
.pulse-content{overflow-x:hidden}
.pulse-content *{max-width:100%;box-sizing:border-box}
.pulse-content img,.pulse-content video,.pulse-content iframe,.pulse-content embed,.pulse-content object{height:auto}
.pulse-content table{display:block;width:auto!important;overflow-x:auto}
.pulse-content pre{white-space:pre-wrap}
.pulse-content a{word-break:break-word}
.pulse-content [style*="width"]{width:auto!important}

/* small message at the bottom (e.g. "Please log in to like or save articles.") */
.ip-toast{position:fixed;left:50%;bottom:72px;z-index:10000;max-width:min(420px,calc(100% - 32px));padding:12px 18px;border-radius:var(--radius);background:var(--gray-900);color:#fff;font-size:14px;font-weight:500;line-height:1.4;text-align:center;box-shadow:0 10px 30px rgba(17,24,39,.3);opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .2s,transform .2s}
.ip-toast.is-show{opacity:1;transform:translate(-50%,0)}

/* Like / Save: quick feedback on click */
.pulse-dh-tbtn{transition:border-color .15s,background .15s,color .15s,transform .1s}
.pulse-dh-tbtn:active{transform:scale(.95)}
.pulse-dh-tbtn[aria-pressed="true"] svg{animation:ip-pop .25s ease-out}
@keyframes ip-pop{50%{transform:scale(1.3)}}

/* Article pictures: show the WHOLE picture (no cropping). Natural shape, full column width;
   very tall pictures (posters) are limited in height and shown in full inside a soft background */
.pulse-body .pulse-content img,.pulse-body .pulse-figure img{
  aspect-ratio:auto!important;width:100%;height:auto!important;max-height:80vh;
  object-fit:contain!important;object-position:center;background:var(--gray-100)}
.pulse-body .pulse-content [style*="width"] img{width:100%}

/* ===== Article pictures, final look: the WHOLE picture, its own shape, centred - no crop, no bars, no frame ===== */
.pulse-body .pulse-content img,.pulse-body .pulse-figure img{
  display:block;width:auto!important;max-width:100%;height:auto!important;max-height:85vh;
  margin-left:auto;margin-right:auto;aspect-ratio:auto!important;object-fit:contain!important;
  background:none!important;border-radius:var(--radius)}
/* wide pictures fill the column */
.pulse-body img.ip-img-wide{width:100%!important;max-height:none}
.pulse-body .pulse-content figure,.pulse-body .pulse-content p:has(> img:only-child){text-align:center}