/* নগরকথা — city & lifestyle magazine: warm paper, six category tones, rounded cards, a hand-lettered Galada
   masthead with Mina text, generous whitespace and photo-led layouts. */
:root {
    --ng-ink: #1f2430;
    --ng-ink-2: #4a5160;
    --ng-muted: #8a8f9c;
    --ng-line: #efe6dc;
    --ng-paper: #fff8f2;
    --ng-card: #ffffff;
    --ng-t0: #ffe0d9; --ng-k0: #c8442f;
    --ng-t1: #dff3ec; --ng-k1: #1f7a5f;
    --ng-t2: #fff1c7; --ng-k2: #9a6a00;
    --ng-t3: #e6e9ff; --ng-k3: #3d4bb8;
    --ng-t4: #fde3f1; --ng-k4: #b1306e;
    --ng-t5: #dff1fb; --ng-k5: #1b6f9a;
    --ng-head: 'Mina', 'Noto Sans Bengali', system-ui, sans-serif;
    --ng-hand: 'Galada', 'Mina', cursive;
    --ng-r: 24px;
    --ng-wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
body.ng-body { margin: 0; background: var(--ng-paper); color: var(--ng-ink); font-family: var(--ng-head); --gc-body-font: var(--ng-head); --gc-heading-font: var(--ng-head); font-size: 17px; line-height: 1.7; }
.ng-body h1, .ng-body h2, .ng-body h3 { font-family: var(--ng-head); font-weight: 700; color: var(--ng-ink); margin: 0; line-height: 1.32; }
.ng-body a { color: inherit; text-decoration: none; }
.ng-body img { display: block; max-width: 100%; }
.ng-body p { margin: 0; }
.ng-wrap { width: 100%; max-width: var(--ng-wrap); margin: 0 auto; padding: 0 22px; }
.ng-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ng-skip { position: absolute; left: -999px; }
.ng-skip:focus { left: 10px; top: 10px; z-index: 3000; background: var(--ng-ink); color: #fff; padding: 8px 14px; border-radius: 12px; }
.ng-body :focus-visible { outline: 2px solid var(--ng-coral); outline-offset: 3px; }
.nw-lock { overflow: hidden; }
.ng-empty { padding: 30px; border-radius: var(--ng-r); background: #fff; border: 2px dashed var(--ng-line); color: var(--ng-muted); text-align: center; grid-column: 1 / -1; }
.ng-c0 { --t: var(--ng-t0); --k: var(--ng-k0); } .ng-c1 { --t: var(--ng-t1); --k: var(--ng-k1); } .ng-c2 { --t: var(--ng-t2); --k: var(--ng-k2); }
.ng-c3 { --t: var(--ng-t3); --k: var(--ng-k3); } .ng-c4 { --t: var(--ng-t4); --k: var(--ng-k4); } .ng-c5 { --t: var(--ng-t5); --k: var(--ng-k5); }
.ng-band-0 { background: var(--ng-t0); } .ng-band-1 { background: var(--ng-t1); } .ng-band-2 { background: var(--ng-t2); }
.ng-band-3 { background: var(--ng-t3); } .ng-band-4 { background: var(--ng-t4); } .ng-band-5 { background: var(--ng-t5); }
.ng-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--t, var(--ng-t0)); color: var(--k, var(--ng-k0)) !important; font-size: 13.5px; font-weight: 700; }
.ng-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--ng-ink); color: #fff !important; font-weight: 700; font-size: 15.5px; transition: transform .2s, background .2s; }
.ng-btn:hover { background: var(--ng-coral); transform: translateY(-2px); }
.ng-btn.is-light { background: #fff; color: var(--ng-ink) !important; }

/* ── Header ── */
.ng-hello { font-size: 13.5px; color: var(--ng-ink-2); }
.ng-hello-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 6px; }
.ng-hello i { color: var(--ng-coral); margin-right: 6px; }
.ng-hello-note { font-family: var(--ng-hand); font-size: 16px; color: var(--ng-coral); }
.ng-mast { position: sticky; top: 0; z-index: 900; padding: 10px 0; background: rgba(255, 248, 242, .92); backdrop-filter: blur(12px); }
.ng-mast.is-scrolled { box-shadow: 0 10px 24px -18px rgba(31, 36, 48, .35); }
.ng-mast-in { display: flex; align-items: center; gap: 20px; padding: 10px 14px 10px 26px !important; border-radius: 999px; background: #fff; box-shadow: 0 2px 0 var(--ng-line); max-width: calc(var(--ng-wrap) - 44px); }
.ng-logo { font-family: var(--ng-hand); font-size: 38px; line-height: 1; color: var(--ng-coral); flex-shrink: 0; }
.ng-logo.is-light { color: #fff; }
.ng-nav { flex: 1; display: flex; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ng-nav::-webkit-scrollbar { display: none; }
.ng-nav a { flex-shrink: 0; padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: 15.5px; color: var(--ng-ink-2); transition: background .2s, color .2s; }
.ng-nav a:hover, .ng-nav a.is-on { background: var(--t); color: var(--k); }
.ng-tools { display: flex; gap: 8px; }
.ng-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ng-paper); font-family: var(--ng-head); font-size: 15px; color: var(--ng-ink-2); cursor: pointer; }
.ng-round { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ng-ink); color: #fff; font-size: 17px; cursor: pointer; }
.ng-round:hover { background: var(--ng-coral); }

/* ── Panels ── */
.ng-panel { position: fixed; inset: 0; z-index: 1500; background: rgba(31, 36, 48, .5); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.ng-panel.is-open { opacity: 1; visibility: visible; }
.ng-panel-box { position: absolute; right: 16px; top: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); padding: 30px 26px; border-radius: 30px; background: #fff; overflow-y: auto; transform: translateX(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.ng-panel.is-open .ng-panel-box { transform: none; }
.ng-panel-x { position: absolute; right: 18px; top: 18px; }
.ng-panel-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ng-panel-cats a { padding: 12px 18px; border-radius: 18px; background: var(--t); color: var(--k); font-weight: 700; font-size: 17px; }
.ng-panel.is-search { display: flex; align-items: flex-start; justify-content: center; padding-top: 16vh; }
.ng-search { display: flex; align-items: center; gap: 8px; width: min(720px, 92vw); padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4); }
.ng-search input { flex: 1; min-width: 0; padding: 14px 18px; border: 0; outline: 0; background: none; font-family: var(--ng-head); font-size: 19px; }
.ng-search button { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ng-coral); color: #fff; font-size: 18px; cursor: pointer; }
.ng-search button.is-x { background: var(--ng-paper); color: var(--ng-ink); }
.ng-search.is-inline { margin-top: 18px; box-shadow: none; }

/* ── Section heads ── */
.ng-section { padding: 56px 0; }
.ng-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.ng-head.is-center { justify-content: center; text-align: center; }
.ng-body .ng-head-title { position: relative; font-family: var(--ng-hand); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; padding-bottom: 10px; }
.ng-head-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 8px; background: radial-gradient(circle at 4px 4px, var(--ng-coral) 3px, transparent 3.5px) 0 0 / 14px 8px repeat-x; }
.ng-head.is-center .ng-head-title::after { left: 50%; transform: translateX(-50%); }
.ng-head-more { padding: 9px 16px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14.5px; }
.ng-head-more:hover { background: var(--ng-ink); color: #fff; }

/* ── Cards ── */
.ng-card { display: flex; flex-direction: column; border-radius: var(--ng-r); background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--ng-line); transition: transform .3s, box-shadow .3s; }
.ng-card:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -26px rgba(31, 36, 48, .4); }
.ng-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ng-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ng-card:hover .ng-card-img img { transform: scale(1.06); }
.ng-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 20px; flex: 1; }
.ng-card h3 { font-size: 19px; line-height: 1.38; }
.ng-card h3 a:hover { color: var(--ng-coral); }
.ng-card p { font-size: 15.5px; color: var(--ng-ink-2); }
.ng-card small { margin-top: auto; font-size: 13px; color: var(--ng-muted); }
.ng-card.is-row { flex-direction: row; align-items: stretch; }
.ng-card.is-row .ng-card-img { width: 42%; flex-shrink: 0; aspect-ratio: auto; }
.ng-card.is-row h3 { font-size: 18px; }

/* ── Cover ── */
.ng-cover { padding: 22px 0 10px; }
.ng-cover .ng-wrap { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px; }
.ng-cover-main { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 34px; overflow: hidden; background: var(--ng-deep); color: #fff; min-height: 520px; }
.ng-cover-img img { width: 100%; height: 100%; object-fit: cover; }
.ng-cover-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 40px 34px; }
.ng-cover-label { font-family: var(--ng-hand); font-size: 22px; color: #ffd166; }
.ng-cover-copy h1 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.25; color: #fff !important; }
.ng-cover-copy h1 a:hover { color: #ffd166; }
.ng-cover-copy p { color: #d6dcea; font-size: 16.5px; }
.ng-cover-copy .ng-btn { background: var(--ng-coral); }
.ng-cover-copy .ng-btn:hover { background: #fff; color: var(--ng-ink) !important; }
.ng-cover-side { display: flex; flex-direction: column; gap: 20px; }
.ng-cover-side .ng-card { flex: 1; }
.ng-cover-side .ng-card.is-row { flex-direction: column; }
.ng-cover-side .ng-card.is-row .ng-card-img { width: 100%; aspect-ratio: 16 / 9; }

/* ── Bubbles ── */
.ng-bubbles { padding: 30px 0 6px; }
.ng-bubble-row { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.ng-bubble-row::-webkit-scrollbar { display: none; }
.ng-bubble { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 108px; text-align: center; }
.ng-bubble-ring { width: 96px; height: 96px; padding: 4px; border-radius: 50%; background: conic-gradient(var(--k), var(--t), var(--k)); transition: transform .25s; }
.ng-bubble:hover .ng-bubble-ring { transform: rotate(-6deg) scale(1.05); }
.ng-bubble-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--ng-paper); }
.ng-bubble b { font-size: 14.5px; line-height: 1.3; }

/* ── Mosaic ── */
.ng-mosaic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
.ng-mosaic-grid .is-m0 { grid-column: span 2; grid-row: span 2; }
.ng-mosaic-grid .is-m0 .ng-card-img { aspect-ratio: 4 / 3.2; }
.ng-mosaic-grid .is-m0 h3 { font-size: 26px; }
.ng-mosaic-grid .is-m3 { grid-column: span 2; flex-direction: row; }
.ng-mosaic-grid .is-m3 .ng-card-img { width: 45%; flex-shrink: 0; aspect-ratio: auto; }

/* ── Long read ── */
.ng-lr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: 36px; overflow: hidden; background: var(--ng-coral); color: #fff; }
.ng-lr-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 54px; }
.ng-lr-copy .ng-cover-label { color: #fff; opacity: .9; }
.ng-lr-copy h2 { font-size: clamp(28px, 3vw, 42px); color: #fff !important; }
.ng-lr blockquote { margin: 0; padding-left: 18px; border-left: 4px solid #ffd166; font-size: 19px; line-height: 1.6; }
.ng-lr-meta span { font-weight: 700; }
.ng-lr-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* ── Shelf ── */
.ng-shelf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ng-shelf-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Story ── */
.ng-story-hero { height: min(62vh, 620px); overflow: hidden; background: var(--ng-deep); }
.ng-story-hero img { width: 100%; height: 100%; object-fit: cover; }
.ng-story-card { position: relative; max-width: 900px; margin: -140px auto 0; padding: 34px 40px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px -36px rgba(31, 36, 48, .45); text-align: center; }
.ng-story-card h1 { margin: 14px 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; }
.ng-story-dek { font-size: 19px; color: var(--ng-ink-2); }
.ng-story-meta { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; text-align: left; }
.ng-story-meta small { display: block; color: var(--ng-muted); font-size: 13.5px; }
.ng-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--t); color: var(--k); font-weight: 700; font-size: 20px; }
.ng-story-grid { display: grid; grid-template-columns: 60px minmax(0, 720px); justify-content: center; gap: 30px; padding: 40px 0 60px; }
.ng-share-rail { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.ng-share-rail a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 1px 0 var(--ng-line); }
.ng-share-rail a:hover, .ng-share-rail a.is-done { background: var(--ng-coral); color: #fff; }
.ng-story-body.mz-article-body p, .ng-story-body.mz-article-body li { font-size: 18.5px !important; line-height: 1.9 !important; color: var(--ng-ink) !important; }
.ng-story-body h2 { font-family: var(--ng-hand) !important; font-weight: 400 !important; font-size: 30px !important; color: var(--ng-coral) !important; }

/* ── Category ── */
.ng-cathead { padding: 50px 0 44px; margin-bottom: 30px; border-radius: 0 0 40px 40px; }
.ng-cathead h1 { margin-top: 10px; font-family: var(--ng-hand); font-weight: 400; font-size: clamp(42px, 6vw, 72px); line-height: 1.05; }
.ng-cathead p { color: var(--ng-ink-2); }
.ng-catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ng-catgrid .is-feature { grid-column: span 2; grid-row: span 2; }
.ng-catgrid .is-feature h3 { font-size: 28px; }
.ng-pager { padding: 30px 22px 60px; }
.ng-pager nav { display: flex; justify-content: center; }
.ng-pager svg { width: 18px; height: 18px; }
.ng-pager .hidden { display: none; }
.ng-pager a, .ng-pager span > span { display: inline-block; min-width: 42px; padding: 8px 14px; margin: 0 3px; border-radius: 999px; background: #fff; text-align: center; }
.ng-pager span[aria-current] span { background: var(--ng-coral); color: #fff; }
.ng-pagewrap { padding: 40px 22px 70px; max-width: 860px; }
.ng-pagehead h1 { font-family: var(--ng-hand); font-weight: 400; font-size: clamp(40px, 5vw, 64px); margin-bottom: 20px; }
.ng-prose { padding: 34px; border-radius: 30px; background: #fff; }

/* ── Footer ── */
.ng-foot { padding: 40px 0 10px; }
.ng-foot-card { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 40px; padding: 46px; border-radius: 40px; background: var(--ng-deep); color: #c9d1e3; }
.ng-foot-brand p { margin-top: 14px; font-size: 15px; }
.ng-foot-cats { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.ng-foot-cats a { padding: 7px 14px; border-radius: 999px; background: var(--t); color: var(--k); font-size: 14.5px; font-weight: 700; }
.ng-foot-info p { margin-bottom: 12px; font-size: 15px; }
.ng-foot-info small { display: block; font-size: 12.5px; color: #8d98b3; }
.ng-social { display: flex; gap: 8px; margin-top: 18px; }
.ng-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.ng-social a:hover { background: var(--ng-coral); }
.ng-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 10px; font-size: 14px; color: var(--ng-ink-2); }
.ng-foot-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ── Responsive ── */
@media (max-width: 1100px) { .ng-nav { display: none; } .ng-mast-in { justify-content: space-between; } }
@media (max-width: 991px) {
    .ng-cover .ng-wrap { grid-template-columns: 1fr; }
    .ng-cover-side { flex-direction: row; }
    .ng-mosaic-grid { grid-template-columns: 1fr 1fr; }
    .ng-mosaic-grid .is-m3 { grid-column: span 2; }
    .ng-lr { grid-template-columns: 1fr; }
    .ng-lr-img { order: -1; }
    .ng-lr-img img { min-height: 280px; }
    .ng-shelf-row { grid-template-columns: 1fr 1fr; }
    .ng-catgrid { grid-template-columns: 1fr 1fr; }
    .ng-foot-card { grid-template-columns: 1fr 1fr; }
    .ng-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .ng-wrap { padding: 0 14px; }
    .ng-hello-note { display: none; }
    .ng-mast-in { padding: 8px 8px 8px 18px !important; margin: 0 10px !important; width: auto; }
    .ng-logo { font-size: 30px; }
    .ng-pill span { display: none; }
    .ng-pill { width: 46px; padding: 0; justify-content: center; }
    .ng-cover-main { grid-template-columns: 1fr; min-height: 0; border-radius: 26px; }
    .ng-cover-img img { aspect-ratio: 4 / 3; height: auto; }
    .ng-cover-copy { padding: 24px 22px 28px; }
    .ng-cover-side { flex-direction: column; }
    .ng-section { padding: 40px 0; }
    .ng-mosaic-grid { grid-template-columns: 1fr; }
    .ng-mosaic-grid .is-m0, .ng-mosaic-grid .is-m3 { grid-column: auto; grid-row: auto; }
    .ng-mosaic-grid .is-m3 { flex-direction: column; }
    .ng-mosaic-grid .is-m3 .ng-card-img { width: 100%; aspect-ratio: 4 / 3; }
    .ng-lr-copy { padding: 30px 24px; }
    .ng-shelf-row, .ng-shelf-row.is-3, .ng-catgrid { grid-template-columns: 1fr; }
    .ng-catgrid .is-feature { grid-column: auto; grid-row: auto; }
    .ng-story-card { margin: -60px 12px 0; padding: 24px 20px; border-radius: 24px; }
    .ng-story-grid { grid-template-columns: 1fr; padding-top: 26px; }
    .ng-share-rail { position: static; flex-direction: row; justify-content: center; }
    .ng-foot-card { grid-template-columns: 1fr; padding: 30px 24px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ng-card, .ng-card-img img, .ng-bubble-ring { transition: none !important; } }
