/*
Theme Name: নগরের খবর
Theme URI: https://nogorerkhobor.com
Author: নগরের খবর
Description: Mobile-first Bangla news theme for নগরের খবর — city story circles, lead story, এক নজরে, নগর সেবা, city tabs, সর্বাধিক পঠিত, প্রবাস, and an app-style bottom bar.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: scn
*/

:root {
	--bg: #FAF8F4;
	--paper: #fff;
	--ink: #121212;
	--ink2: #1E2422;
	--muted: #5E6662;
	--soft: #7A817D;
	--line: #E6E2DA;
	--line2: #EEEAE3;
	--green: #006A4E;
	--deep: #0B2E24;
	--red: #E61E32;
	--maroon: #7A1E2B;
	--head: 'Noto Serif Bengali', 'Noto Sans Bengali', serif;
	--label: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
	--body: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
	--r: 16px;
	--wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	padding-bottom: calc(68px + env(safe-area-inset-bottom));
}
body.single { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.nk-skip:focus {
	position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto;
	z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}

.nk-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.nk-hscroll { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.nk-hscroll::-webkit-scrollbar { display: none; }

/* ---------- header ---------- */
.nk-head {
	position: sticky; top: 0; z-index: 40;
	background: rgba(250, 248, 244, .96);
	-webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .nk-head { top: 46px; }
@media (min-width: 783px) { .admin-bar .nk-head { top: 32px; } }
.nk-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.nk-iconbtn {
	width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
}
.nk-iconbtn:hover { background: rgba(0, 0, 0, .05); }
.nk-logo { display: flex; align-items: center; }
.nk-logo__img { height: 40px; width: auto; }
.nk-logo__text { font-family: var(--label); font-weight: 800; font-size: 26px; color: var(--green); }
.nk-desknav { display: none; }
.nk-head__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; padding-bottom: 2px; font-size: 13px; color: var(--muted); }
.nk-head__sub > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 359px) { .nk-head__sub { font-size: 12px; } .nk-citypill__lbl { display: none; } }
.nk-citypill {
	display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--green); color: var(--green);
	background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; min-height: 34px; white-space: nowrap; flex: none;
}
.nk-citypill b { font-weight: 700; }

/* ---------- sheets (menu, search, city) ---------- */
.nk-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(10, 20, 16, .45); display: flex; }
.nk-sheet[hidden] { display: none; }
.nk-sheet__panel { background: var(--bg); overflow-y: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .2); }
.nk-sheet--left .nk-sheet__panel { width: min(340px, 88vw); height: 100%; padding: 8px 16px 32px; animation: nkLeft .22s ease-out; }
.nk-sheet--top { align-items: flex-start; }
.nk-sheet--top .nk-sheet__panel { width: 100%; padding: 12px 16px; animation: nkTop .2s ease-out; }
.nk-sheet--bottom { align-items: flex-end; }
.nk-sheet--bottom .nk-sheet__panel { width: 100%; max-height: 85vh; border-radius: 22px 22px 0 0; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); animation: nkUp .22s ease-out; }
@keyframes nkLeft { from { transform: translateX(-30px); opacity: 0; } }
@keyframes nkTop { from { transform: translateY(-20px); opacity: 0; } }
@keyframes nkUp { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nk-sheet__panel { animation: none !important; } }
.nk-sheet__top { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-family: var(--label); font-size: 20px; }
.nk-sheet__h { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--soft); }
.nk-sheet__note { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.nk-menucities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nk-menucities a { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-weight: 600; font-size: 14px; min-height: 44px; }
.nk-menucities__dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.nk-menulist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nk-menulist a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.nk-menulist--plain { display: block; }
.nk-menulist--plain a { display: block; border: 0; background: none; padding: 10px 0; border-bottom: 1px solid var(--line2); border-radius: 0; font-size: 15px; }
.nk-searchform { display: flex; gap: 8px; align-items: center; }
.nk-searchform input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font-family: inherit; font-size: 16px; background: #fff; }
.nk-searchform input:focus { border-color: var(--green); outline: none; }
.nk-searchform button[type="submit"] { height: 48px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font-weight: 700; padding: 0 16px; font-size: 15px; }
.nk-citygrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nk-citygrid button { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.nk-citygrid button span { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.nk-citygrid button.is-on { border-color: var(--green); background: #EEF6F2; }

/* ---------- section headings ---------- */
.nk-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 28px 0 8px; }
.nk-h h2 { margin: 0; font-family: var(--label); font-weight: 800; font-size: 22px; line-height: 1.2; }
.nk-h--bar h2 { display: flex; align-items: center; gap: 8px; }
.nk-h--bar h2::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--red); flex: none; }
.nk-h--green h2::before { background: var(--green); }
.nk-h__hint { font-size: 13px; color: var(--muted); }
.nk-h__link { border: 0; background: none; color: var(--green); font-weight: 700; font-size: 13px; padding: 8px 0; }
.nk-kicker { display: block; font-size: 12px; font-weight: 700; color: var(--red); line-height: 1.4; }
.nk-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- city stories ---------- */
.nk-stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 10px; }
.nk-stories::-webkit-scrollbar { display: none; }
.nk-story { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; width: 68px; }
.nk-story__ring { width: 66px; height: 66px; border-radius: 50%; padding: 3px; border: 3px solid #CFD5D1; display: flex; transition: transform .15s; }
.nk-story__ring.is-new { border-color: var(--red); }
.nk-story:hover .nk-story__ring { transform: scale(1.05); }
.nk-story__dot { flex: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.nk-story__name { font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink); }

/* ---------- breaking + lead ---------- */
.nk-breaking { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; background: #fff; border: 1px solid #F1C9CE; border-radius: 12px; padding: 10px 12px; }
.nk-breaking__tag { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-family: var(--label); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; flex: none; }
.nk-breaking__tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: nkPulse 1.4s infinite; }
@keyframes nkPulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .nk-breaking__tag i { animation: none; } }
.nk-breaking__text { font-size: 14px; font-weight: 600; line-height: 1.4; }

.nk-lead { display: block; position: relative; border-radius: 18px; overflow: hidden; background: #0E5A45; color: #fff; isolation: isolate; }
.nk-lead:hover { color: #fff; }
.nk-lead__img { width: 100%; height: 340px; object-fit: cover; transition: transform .4s; }
.nk-lead:hover .nk-lead__img { transform: scale(1.03); }
.nk-lead__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(180deg, rgba(8, 20, 16, 0) 0%, rgba(8, 20, 16, .82) 45%, rgba(8, 20, 16, .92) 100%); }
.nk-lead__tag { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 6px; margin-bottom: 8px; }
.nk-lead__title { margin: 0; font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.4; color: #fff; }
.nk-lead__meta { display: block; margin-top: 8px; font-size: 12px; color: #C9D7D1; }

/* ---------- এক নজরে ---------- */
.nk-glance .nk-h { margin-top: 24px; }
.nk-glance__row { gap: 12px; margin: 0 -16px; padding: 0 16px 4px; }
.nk-glance__card { flex: none; width: 250px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.nk-glance__big { font-family: var(--label); font-weight: 800; font-size: 26px; line-height: 1; }
.nk-glance__t { font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nk-glance__s { font-size: 12px; color: var(--soft); font-weight: 600; margin-top: auto; }

/* ---------- rows (feed) ---------- */
.nk-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nk-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nk-row__t { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.48; color: var(--ink); }
.nk-row:hover .nk-row__t { color: var(--green); }
.nk-row__time { font-size: 12px; color: var(--soft); }
.nk-row__img { width: 104px; height: 78px; border-radius: 12px; object-fit: cover; flex: none; background: #DDE3DF; }
.nk-row--small .nk-row__t { font-size: 15px; }
.nk-row--small .nk-row__img { width: 84px; height: 63px; border-radius: 10px; }

/* ---------- নগর সেবা ---------- */
.nk-civic { margin-top: 26px; background: var(--deep); border-radius: 20px; padding: 18px; color: #fff; }
.nk-civic__h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.nk-civic__h h2 { margin: 0; font-family: var(--label); font-weight: 800; font-size: 22px; }
.nk-civic__h span { font-size: 12px; color: #A9C3B8; }
.nk-civic__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nk-civic__grid a { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px; color: #fff; display: flex; flex-direction: column; gap: 6px; min-height: 92px; }
.nk-civic__grid a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nk-civic__grid svg { color: #7FD1AE; }
.nk-civic__grid b { font-size: 14px; }
.nk-civic__grid span { font-size: 12px; color: #C9D7D1; line-height: 1.45; }

/* ---------- নগর জুড়ে ---------- */
.nk-tabs { gap: 8px; margin: 0 -16px; padding: 0 16px 12px; }
.nk-tabs button { flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; min-height: 38px; }
.nk-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.nk-citycard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.nk-citycard__img img { width: 100%; height: 190px; object-fit: cover; }
.nk-citycard__body { padding: 14px 16px; }
.nk-citycard__t { display: block; font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.45; }
.nk-citycard__s { display: block; font-size: 15px; font-weight: 600; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line2); line-height: 1.5; }
.nk-citycard__all { display: inline-block; margin-top: 12px; color: var(--green); font-weight: 700; font-size: 14px; }

/* ---------- section tiles ---------- */
.nk-tiles { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.nk-tile { display: block; }
.nk-tile__img { width: 100%; height: 110px; border-radius: 14px; object-fit: cover; margin-bottom: 8px; background: #DDE3DF; }
.nk-tile__t { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.45; }

/* ---------- most read ---------- */
.nk-popular ol { list-style: none; margin: 0; padding: 0; }
.nk-popular a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nk-popular__n { font-family: var(--label); font-weight: 800; font-size: 38px; line-height: .9; color: #D8DED9; width: 28px; flex: none; }
.nk-popular__t { font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.5; }

/* ---------- প্রবাস ---------- */
.nk-probash { margin-top: 28px; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.nk-probash__head {
	display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; padding: 14px 16px; color: #fff;
	background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18) 0 40px, transparent 41px), radial-gradient(circle at 85% 20%, transparent 0 70px, rgba(255, 255, 255, .08) 71px 72px, transparent 73px), linear-gradient(135deg, #7A1E2B, #4A0F1A);
}
.nk-probash__head:hover { color: #fff; }
.nk-probash__head h2 { margin: 0; font-family: var(--label); font-weight: 800; font-size: 26px; line-height: 1.1; }
.nk-probash__head span { font-size: 13px; font-weight: 600; color: #FFE3E6; }
.nk-probash__list { padding: 4px 16px 8px; }
.nk-probash__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.nk-probash__list a:last-child { border-bottom: 0; }
.nk-probash__list .nk-kicker { color: var(--maroon); }
.nk-probash__t { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.45; }
.nk-probash__empty { color: var(--muted); font-size: 14px; }

/* ---------- submit CTA ---------- */
.nk-cta { margin-top: 28px; background: var(--red); border-radius: 20px; padding: 20px; color: #fff; }
.nk-cta h2 { margin: 0; font-family: var(--label); font-weight: 800; font-size: 22px; line-height: 1.2; }
.nk-cta p { margin: 6px 0 14px; font-size: 14px; line-height: 1.55; color: #FFE3E6; }
.nk-cta a { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--red); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; min-height: 44px; }

/* ---------- more cards ---------- */
.nk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.nk-card { display: flex; flex-direction: column; gap: 4px; }
.nk-card__img { width: 100%; aspect-ratio: 16 / 10; height: auto; border-radius: 12px; object-fit: cover; margin-bottom: 4px; background: #DDE3DF; }
.nk-card__t { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.45; }
.nk-morelink { text-align: center; margin: 24px 0 0; }
.nk-morelink a { display: inline-block; border: 1.5px solid var(--green); color: var(--green); font-weight: 700; padding: 10px 20px; border-radius: 999px; }

/* ---------- footer ---------- */
.nk-foot { margin-top: 36px; background: var(--deep); color: #fff; padding: 26px 0 24px; }
.nk-foot a { color: #fff; }
.nk-foot a:hover { color: #7FD1AE; }
.nk-foot__icon { width: 44px; height: 44px; border-radius: 10px; }
.nk-foot__name { font-family: var(--label); font-weight: 800; font-size: 28px; margin-top: 6px; }
.nk-foot__brand p { margin: 4px 0 16px; font-size: 14px; line-height: 1.65; color: #C9D7D1; }
.nk-foot__fb { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; }
.nk-foot__info { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 18px; padding-top: 16px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6; }
.nk-foot__info span { color: #A9C3B8; }
.nk-foot__links { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 16px; padding-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
.nk-foot__copy { margin: 18px auto 0; font-size: 12px; line-height: 1.6; color: #A9C3B8; }

/* ---------- bottom tab bar ---------- */
.nk-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line);
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 4px 4px calc(6px + env(safe-area-inset-bottom));
}
.nk-tabbar a,
.nk-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: 11px; font-weight: 700; color: var(--muted); border: 0; background: none; }
.nk-tabbar .is-on { color: var(--red); }

/* ---------- article ---------- */
.nk-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: transparent; pointer-events: none; }
.nk-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.nk-single { padding-top: 18px; }
.nk-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: #B7BDB9; }
.nk-crumbs a { color: var(--green); }
.nk-crumbs .nk-crumbs__place { color: var(--red); }
.nk-article__title { margin: 10px 0 12px; font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.4; color: var(--ink); }
.nk-article__dek { margin: 0 0 14px; font-family: var(--head); font-weight: 500; font-size: 17px; line-height: 1.6; color: #3F4744; }
.nk-byline { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nk-byline__img { width: 36px; height: 36px; border-radius: 50%; }
.nk-byline__name { font-weight: 700; font-size: 14px; }
.nk-byline__meta { font-size: 12px; color: var(--soft); }
.nk-figure { margin: 16px -16px 0; }
.nk-figure img { width: 100%; max-height: 520px; object-fit: cover; }
.nk-figure figcaption { padding: 8px 16px 0; font-size: 12px; color: var(--soft); }
.nk-share { display: flex; gap: 8px; margin: 16px 0 4px; }
.nk-share a,
.nk-share button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: 14px; border: 0; }
.nk-share__fb { flex: 1; background: #1877F2; color: #fff !important; }
.nk-share__wa { flex: 1; background: #1FA855; color: #fff !important; }
.nk-share__copy { width: 48px; background: #fff !important; border: 1px solid var(--line) !important; color: var(--ink); }
.nk-share__copy.is-done { border-color: var(--green) !important; color: var(--green); }
.nk-content { font-family: var(--head); font-size: calc(18px * var(--fs, 1)); line-height: 1.85; color: var(--ink2); margin-top: 16px; overflow-wrap: break-word; }
.nk-content p { margin: 0 0 16px; }
.nk-content h2,
.nk-content h3 { font-family: var(--label); font-weight: 800; line-height: 1.3; margin: 26px 0 10px; color: var(--ink); }
.nk-content h3 { font-size: 20px; }
.nk-content ul,
.nk-content ol { padding-left: 22px; margin: 0 0 16px; }
.nk-content blockquote { margin: 20px 0; padding: 0 0 0 16px; border-left: 4px solid var(--green); font-weight: 700; font-size: 1.12em; line-height: 1.55; color: var(--green); }
.nk-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.nk-content img { border-radius: 12px; }
.nk-content figure { margin: 18px 0; }
.nk-content figcaption { font-family: var(--body); font-size: 13px; color: var(--soft); margin-top: 6px; }
.nk-content .scna-source,
.nk-content small { font-family: var(--body); font-size: 13px; color: var(--soft); }
.nk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.nk-tags a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.nk-mycity-cta { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--ink); color: #fff; border: 0; border-radius: var(--r); padding: 14px 16px; margin: 8px 0 8px; }
.nk-mycity-cta__txt { flex: 1; display: flex; flex-direction: column; }
.nk-mycity-cta__txt b { font-size: 15px; }
.nk-mycity-cta__txt small { font-size: 12px; color: #C9D0CC; }
.nk-mycity-cta__btn { background: var(--red); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; flex: none; }
.nk-mycity-cta.is-done .nk-mycity-cta__btn { background: var(--green); }
.nk-single__side { display: none; }
.nk-actionbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line);
	display: flex; align-items: center; gap: 8px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
}
.nk-actionbar__main { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; background: var(--red); color: #fff !important; font-weight: 700; font-size: 14px; }
.nk-actionbar__btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }
.nk-actionbar__font { font-family: var(--label); font-weight: 800; font-size: 16px; }

/* ---------- archive / pages ---------- */
.nk-archive { padding-top: 18px; }
.nk-archive__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nk-archive__head h1 { margin: 0; font-family: var(--label); font-weight: 800; font-size: 28px; line-height: 1.2; }
.nk-archive__head p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.nk-archive__head--place { background: var(--pc); color: #fff; border-radius: 20px; padding: 18px 16px; flex-wrap: wrap; }
.nk-archive__head--place p { color: rgba(255, 255, 255, .85); }
.nk-archive__icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; flex: none; }
.nk-archive__head--place > div { flex: 1; min-width: 140px; }
.nk-archive__pick { border: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; min-height: 38px; }
.nk-archive__pick.is-done { background: rgba(255, 255, 255, .25); color: #fff; }
.nk-lead--archive { margin-bottom: 4px; }
.nk-lead--archive .nk-lead__img { height: 260px; }
.nk-lead--archive .nk-lead__title { font-size: 21px; }
.nk-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; }
.nk-pages .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.nk-pages .current { background: var(--green); border-color: var(--green); color: #fff; }
.nk-page { padding-top: 18px; max-width: 760px; }
.scn-archive-page__intro { color: var(--muted); }
.scn-datepick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.scn-datepick label { font-weight: 700; }
.scn-datepick input { height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font-family: inherit; font-size: 16px; }
.scn-datepick button { height: 44px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; padding: 0 16px; }
.scn-daylist { list-style: none; margin: 0; padding: 0; }
.scn-daylist a { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.scn-daylist b { background: var(--red); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.scn-daylist em { margin-left: auto; font-style: normal; color: var(--soft); font-size: 13px; }

/* scna submit form + misc plugin output */
.nk-content input[type="text"],
.nk-content input[type="email"],
.nk-content input[type="tel"],
.nk-content textarea,
.nk-content select { width: 100%; font-family: var(--body); font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.nk-content button,
.nk-content input[type="submit"] { font-family: var(--body); background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px; }
.nk-noimg { display: block; background: linear-gradient(135deg, #0E5A45, #006A4E); }

/* ================= tablet & desktop ================= */
@media (min-width: 760px) {
	.nk-wrap { padding: 0 24px; }
	.nk-lead__img { height: 420px; }
	.nk-lead__title { font-size: 30px; }
	.nk-citygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nk-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nk-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nk-citycard { display: grid; grid-template-columns: 1.1fr 1fr; }
	.nk-citycard__img img { height: 100%; min-height: 240px; }
	.nk-sheet--bottom { align-items: center; justify-content: center; }
	.nk-sheet--bottom .nk-sheet__panel { width: 560px; border-radius: 22px; }
	.nk-sheet--top .nk-sheet__panel { padding: 16px max(24px, calc((100vw - 760px) / 2)); }
	.nk-figure { margin: 18px 0 0; }
	.nk-figure img { border-radius: 16px; }
	.nk-figure figcaption { padding: 8px 0 0; }
	.nk-article__title { font-size: 34px; }
	.nk-foot__inner { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 32px; }
	.nk-foot__info,
	.nk-foot__links { border-top: 0; margin-top: 0; padding-top: 0; align-content: start; }
}

@media (min-width: 1024px) {
	body,
	body.single { padding-bottom: 0; }
	.nk-tabbar,
	.nk-actionbar { display: none; }
	.nk-head__bar { padding-top: 10px; padding-bottom: 10px; }
	.nk-logo__img { height: 46px; }
	.nk-desknav { display: flex; flex: 1; justify-content: center; gap: 2px; flex-wrap: wrap; }
	.nk-desknav a { padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 15px; }
	.nk-desknav a:hover { background: rgba(0, 106, 78, .08); }
	.nk-stories { justify-content: space-between; padding-top: 18px; }
	.nk-home__top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.nk-glance .nk-h { margin-top: 4px; }
	.nk-glance__row { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 10px; }
	.nk-glance__card { width: auto; padding: 14px 16px; }
	.nk-glance__big { font-size: 20px; }
	.nk-h__hint { display: none; }
	.nk-lead__img { height: 470px; }
	.nk-home__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.nk-home__side { position: sticky; top: 90px; }
	.nk-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nk-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
	.nk-article { max-width: 720px; }
	.nk-single__side { display: block; position: sticky; top: 90px; }
	.nk-single__side .nk-h { margin-top: 0; }
	.nk-archive__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.nk-lead--archive { grid-column: 1 / -1; }
	.nk-lead--archive .nk-lead__img { height: 380px; }
}
