/*!
 * Nepal Dining Ultimate Designer Pack — front-end.
 * Everything is scoped to .ndp-scope (or .ndp-progress); the theme's header, footer, menus and
 * typography outside plugin areas are never styled.
 */

/* ===== Tokens (overridden by Design Settings via inline CSS) ===== */
.ndp-scope {
	--ndp-primary: #b23a2b;
	--ndp-secondary: #2c5aa0;
	--ndp-card: #fff;
	--ndp-section-bg: transparent;
	--ndp-text: #1f1b16;
	--ndp-muted: #6f665d;
	--ndp-border: #e8e1d6;
	--ndp-font: inherit;
	--ndp-font-head: inherit;
	--ndp-base: 16px;
	--ndp-head-weight: 700;
	--ndp-head-case: none;
	--ndp-radius: 12px;
	--ndp-gap: 28px;
	--ndp-space: 56px;
	--ndp-max: 1200px;
	--ndp-shadow: 0 1px 2px rgba(20,16,12,.06), 0 8px 24px -12px rgba(20,16,12,.18);
	--ndp-ratio: 16/10;
	--ndp-cols: 3;
	--ndp-cols-t: 2;
	--ndp-cols-m: 1;
	--ndp-ease: cubic-bezier(.2,.7,.2,1);
	color: var(--ndp-text);
	font-family: var(--ndp-font);
	font-size: var(--ndp-base);
	line-height: 1.6;
	text-align: left;
}
.ndp-scope *, .ndp-scope *::before, .ndp-scope *::after { box-sizing: border-box; }
.ndp-scope img { max-width: 100%; height: auto; }
.ndp-scope a { text-decoration: none; }
.ndp-scope :focus-visible { outline: 2px solid var(--ndp-primary); outline-offset: 2px; border-radius: 4px; }
.ndp-scope .ndp-container, .ndp-container { width: 100%; max-width: var(--ndp-max, 1200px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.ndp-site-main { display: block; width: 100%; }
.ndp-builder { width: 100%; max-width: var(--ndp-max); margin-inline: auto; }
/* Builders placed inside a narrow block-theme content column still use the full design width. */
.is-layout-constrained > .ndp-builder, .is-layout-constrained > .wp-block-ndudp-homepage, .entry-content > .ndp-builder { max-width: min(var(--ndp-max, 1200px), 100%); }

/* ===== Sections ===== */
.ndp-scope .ndp-section { margin: 0 0 var(--ndp-space); padding: 0; background: var(--ndp-section-bg); clear: both; }
.ndp-scope .ndp-section:last-child { margin-bottom: 0; }
.ndp-builder > .ndp-section:first-child { margin-top: calc(var(--ndp-space) / 2); }
.ndp-scope .ndp-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.ndp-scope .ndp-section__title {
	display: flex; align-items: center; gap: 16px; flex: 1;
	margin: 0; padding: 0;
	color: var(--ndp-text);
	font-family: var(--ndp-font-head);
	font-size: clamp(20px, 1.2rem + .6vw, 28px);
	font-weight: var(--ndp-head-weight);
	line-height: 1.2;
	letter-spacing: -.01em;
	text-transform: var(--ndp-head-case);
}
.ndp-head-line .ndp-section__title::after { content: ""; flex: 1; height: 1px; background: var(--ndp-border); }
.ndp-head-bar .ndp-section__title { padding-left: 14px; border-left: 4px solid var(--ndp-primary); }
.ndp-head-underline .ndp-section__title span { padding-bottom: 6px; background: linear-gradient(var(--ndp-primary), var(--ndp-primary)) left bottom / 44px 3px no-repeat; }
.ndp-head-pill .ndp-section__title span { padding: 6px 14px; border-radius: 999px; background: var(--ndp-primary); color: #fff; font-size: .7em; letter-spacing: .06em; }
.ndp-scope .ndp-section__more { flex: none; color: var(--ndp-primary); font-size: 14px; font-weight: 600; white-space: nowrap; }
.ndp-scope .ndp-section__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== Cards ===== */
.ndp-scope .ndp-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; color: var(--ndp-text); transition: transform .3s var(--ndp-ease), box-shadow .3s var(--ndp-ease); }
.ndp-scope .ndp-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: var(--ndp-ratio); border-radius: var(--ndp-radius); background: color-mix(in srgb, var(--ndp-border) 60%, transparent); }
.ndp-scope .ndp-card__media .ndp-img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; transition: transform .6s var(--ndp-ease); }
.ndp-scope .ndp-ratio-auto .ndp-card__media { aspect-ratio: auto; }
.ndp-scope .ndp-ratio-auto .ndp-card__media .ndp-img { height: auto; }
.ndp-scope .ndp-fixed-h .ndp-card__media { aspect-ratio: auto; height: var(--ndp-ih); }
.ndp-scope .ndp-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--ndp-secondary) 30%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--ndp-primary) 28%, #f6f1ea), #f6f1ea); color: #fff; font-family: var(--ndp-font-head); font-size: 42px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.ndp-scope .ndp-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 0 0; }
.ndp-scope .ndp-card__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.ndp-scope .ndp-cat { --ndp-cat: var(--ndp-primary); display: inline-block; color: var(--ndp-cat); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.ndp-scope .ndp-cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.ndp-scope .ndp-card__title { margin: 0; padding: 0; color: var(--ndp-text); font-family: var(--ndp-font-head); font-size: var(--ndp-ts, 19px); font-weight: var(--ndp-head-weight); line-height: 1.28; letter-spacing: -.005em; text-transform: none; }
.ndp-scope .ndp-card__title a { color: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ndp-ease); }
.ndp-scope .ndp-card:hover .ndp-card__title a, .ndp-scope .ndp-card__title a:focus-visible { background-size: 100% 1px; }
.ndp-scope .ndp-card__excerpt { margin: 0; color: var(--ndp-muted); font-size: .94em; line-height: 1.55; }
.ndp-scope .ndp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: auto; color: var(--ndp-muted); font-size: 13px; line-height: 1.4; }
.ndp-scope .ndp-meta > * + *::before { content: "·"; margin: 0 8px; opacity: .7; }
.ndp-scope .ndp-more { align-self: flex-start; color: var(--ndp-primary); font-size: 14px; font-weight: 600; }
.ndp-scope .ndp-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Card design (Design Settings) */
.ndp-cards-bordered .ndp-card--standard, .ndp-cards-bordered .ndp-card--horizontal, .ndp-cards-bordered .ndp-card--large { border: 1px solid var(--ndp-border); border-radius: var(--ndp-radius); background: var(--ndp-card); overflow: hidden; }
.ndp-cards-shadow .ndp-card--standard, .ndp-cards-shadow .ndp-card--horizontal, .ndp-cards-shadow .ndp-card--large,
.ndp-cards-elevated .ndp-card--standard, .ndp-cards-elevated .ndp-card--horizontal, .ndp-cards-elevated .ndp-card--large { border-radius: var(--ndp-radius); background: var(--ndp-card); box-shadow: var(--ndp-shadow); overflow: hidden; }
.ndp-cards-elevated .ndp-card--standard, .ndp-cards-elevated .ndp-card--large { border: 1px solid var(--ndp-border); }
:is(.ndp-cards-bordered, .ndp-cards-shadow, .ndp-cards-elevated) :is(.ndp-card--standard, .ndp-card--large) .ndp-card__media { border-radius: 0; }
:is(.ndp-cards-bordered, .ndp-cards-shadow, .ndp-cards-elevated) :is(.ndp-card--standard, .ndp-card--large, .ndp-card--horizontal) .ndp-card__body { padding: 16px 18px 18px; }

/* Hover */
.ndp-scope .ndp-hover-lift .ndp-card:hover { transform: translateY(-4px); }
.ndp-scope .ndp-hover-zoom .ndp-card:hover .ndp-img, .ndp-scope .ndp-hover-lift .ndp-card:hover .ndp-img { transform: scale(1.05); }
.ndp-scope .ndp-hover-shadow .ndp-card:hover { box-shadow: var(--ndp-shadow); }

/* Overlay cards */
.ndp-scope .ndp-card--overlay, .ndp-scope .ndp-card--overlay-big { overflow: hidden; border-radius: var(--ndp-radius); isolation: isolate; }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) .ndp-card__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; height: 100%; border-radius: 0; }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) .ndp-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,0) 25%, rgba(10,8,6,.55) 60%, rgba(10,8,6,.88)); }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) .ndp-card__body { justify-content: flex-end; min-height: max(100%, var(--ndp-ih, 260px)); padding: clamp(16px, 2.4vw, 26px); color: #fff; }
.ndp-scope .ndp-card--overlay .ndp-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ndp-scope .ndp-card--overlay-big .ndp-card__body { aspect-ratio: auto; min-height: clamp(320px, 42vw, 520px); }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) :is(.ndp-card__title, .ndp-card__title a, .ndp-cat) { color: #fff; }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) .ndp-cat { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--ndp-cat, var(--ndp-primary)); }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) :is(.ndp-card__excerpt, .ndp-meta) { color: rgba(255,255,255,.86); }
.ndp-scope :is(.ndp-card--overlay, .ndp-card--overlay-big) .ndp-meta { margin-top: 0; }
.ndp-scope .ndp-card--overlay-big .ndp-card__title { font-size: clamp(24px, 1.2rem + 1.8vw, 40px); line-height: 1.12; }
.ndp-scope .ndp-card--overlay-big .ndp-card__excerpt { max-width: 640px; font-size: 1.02em; }

/* Horizontal / list */
.ndp-scope .ndp-card--horizontal { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ndp-scope .ndp-card--horizontal .ndp-card__media { height: 100%; min-height: 160px; aspect-ratio: auto; }
.ndp-scope .ndp-card--horizontal .ndp-card__body { padding: 4px 0; justify-content: center; }
:is(.ndp-cards-bordered, .ndp-cards-shadow, .ndp-cards-elevated) .ndp-card--horizontal { gap: 0; }
:is(.ndp-cards-bordered, .ndp-cards-shadow, .ndp-cards-elevated) .ndp-card--horizontal .ndp-card__media { border-radius: 0; }

/* Compact */
.ndp-scope .ndp-card--compact { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; }
.ndp-scope .ndp-card--compact .ndp-card__media { aspect-ratio: 1; border-radius: calc(var(--ndp-radius) * .7); }
.ndp-scope .ndp-card--compact .ndp-card__body { gap: 4px; padding: 0; }
.ndp-scope .ndp-card--compact .ndp-card__title { font-size: var(--ndp-ts, 15.5px); line-height: 1.32; }
.ndp-scope .ndp-card--compact .ndp-meta { margin-top: 2px; font-size: 12px; }
.ndp-scope .ndp-card--compact .ndp-cat { font-size: 10.5px; }

/* Minimal & title */
.ndp-scope .ndp-card--minimal { padding-top: 16px; border-top: 2px solid var(--ndp-text); }
.ndp-scope .ndp-card--minimal .ndp-card__body { padding: 0; }
.ndp-scope .ndp-card--minimal .ndp-card__title { font-size: var(--ndp-ts, 21px); }
.ndp-scope .ndp-card--title .ndp-card__body { padding: 0; gap: 2px; }
.ndp-scope .ndp-card--title .ndp-card__title { font-size: var(--ndp-ts, 15.5px); }

/* Large */
.ndp-scope .ndp-card--large .ndp-card__title { font-size: var(--ndp-ts, clamp(22px, 1rem + 1.2vw, 30px)); line-height: 1.18; }
.ndp-scope .ndp-card--large .ndp-card__excerpt { font-size: 1em; }

/* Split (slider) */
.ndp-scope .ndp-card--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.ndp-scope .ndp-card--split .ndp-card__media { aspect-ratio: 4/3; }
.ndp-scope .ndp-card--split .ndp-card__title { font-size: clamp(24px, 1rem + 1.6vw, 36px); line-height: 1.15; }

.ndp-scope .ndp-card__num { position: absolute; top: -6px; left: -6px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 2px solid var(--ndp-card); border-radius: 50%; background: var(--ndp-primary); color: #fff; font-size: 13px; font-weight: 700; }

/* ===== Grids ===== */
.ndp-scope .ndp-grid { display: grid; grid-template-columns: repeat(var(--ndp-cols), minmax(0, 1fr)); gap: var(--ndp-gap); margin: 0; padding: 0; list-style: none; }
.ndp-scope .ndp-grid__item { min-width: 0; }
.ndp-scope .ndp-l-standard .ndp-card__body, .ndp-scope .ndp-l-magazine .ndp-card__body { padding-top: 14px; }
.ndp-scope .ndp-l-masonry { display: block; columns: var(--ndp-cols); column-gap: var(--ndp-gap); }
.ndp-scope .ndp-l-masonry .ndp-grid__item { break-inside: avoid; margin-bottom: var(--ndp-gap); }
.ndp-scope .ndp-l-masonry .ndp-card__media { aspect-ratio: auto; }
.ndp-scope .ndp-l-masonry .ndp-card__media .ndp-img { height: auto; }
.ndp-scope .ndp-l-modern .ndp-card { overflow: hidden; border-radius: var(--ndp-radius); background: var(--ndp-card); box-shadow: var(--ndp-shadow); }
.ndp-scope .ndp-l-modern .ndp-card__media { border-radius: 0; }
.ndp-scope .ndp-l-modern .ndp-card__body { padding: 16px 18px 18px; }
.ndp-scope .ndp-l-overlay .ndp-card { min-height: 100%; }
.ndp-scope .ndp-l-editorial, .ndp-scope .ndp-l-magazine { grid-auto-flow: dense; }
.ndp-scope :is(.ndp-l-editorial, .ndp-l-magazine) .ndp-grid__item--lead { grid-column: span 2; grid-row: span 2; }
.ndp-scope .ndp-l-editorial .ndp-grid__item--lead .ndp-card { height: 100%; }
.ndp-scope .ndp-l-editorial .ndp-grid__item--lead .ndp-card__body { aspect-ratio: auto; min-height: 100%; }
.ndp-scope .ndp-l-editorial .ndp-grid__item--lead .ndp-card__title { font-size: clamp(22px, 1rem + 1.4vw, 34px); }
.ndp-scope .ndp-l-list { grid-template-columns: minmax(0, 1fr); }
.ndp-scope .ndp-l-list .ndp-card--horizontal { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 26px; }
.ndp-scope .ndp-l-list .ndp-card__title { font-size: var(--ndp-ts, 22px); }
.ndp-scope .ndp-l-list .ndp-grid__item + .ndp-grid__item { padding-top: var(--ndp-gap); border-top: 1px solid var(--ndp-border); }
.ndp-scope .ndp-l-horizontal { --ndp-cols: 2; }
.ndp-scope .ndp-l-large { --ndp-cols: 2; }
.ndp-scope .ndp-l-compact { row-gap: 20px; }
.ndp-scope .ndp-l-compact .ndp-grid__item { padding-bottom: 20px; border-bottom: 1px solid var(--ndp-border); }
.ndp-scope .ndp-l-minimal { row-gap: calc(var(--ndp-gap) * 1.2); }
.ndp-scope .ndp-grid__ad { display: flex; align-items: center; justify-content: center; }
.ndp-scope .ndp-grid__ad .ndp-slot { margin: 0 auto; }

/* Category grid */
.ndp-scope .ndp-catcard { position: relative; display: block; overflow: hidden; border-radius: var(--ndp-radius); color: #fff; isolation: isolate; }
.ndp-scope .ndp-catcard__media { display: block; aspect-ratio: 4/3; }
.ndp-scope .ndp-catcard__media .ndp-img, .ndp-scope .ndp-catcard__media .ndp-ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ndp-ease); }
.ndp-scope .ndp-catcard::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,8,6,.8)); }
.ndp-scope .ndp-catcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 18px; }
.ndp-scope .ndp-catcard__name { font-family: var(--ndp-font-head); font-size: 20px; font-weight: var(--ndp-head-weight); line-height: 1.2; }
.ndp-scope .ndp-catcard__count { font-size: 13px; opacity: .85; }
.ndp-scope .ndp-catcard:hover .ndp-img { transform: scale(1.06); }

/* ===== Featured ===== */
.ndp-scope .ndp-feat { display: grid; gap: var(--ndp-gap); }
.ndp-scope .ndp-feat--hero-1 { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.ndp-scope .ndp-feat--hero-1 .ndp-feat__rest { display: grid; grid-template-rows: 1fr 1fr; gap: var(--ndp-gap); }
.ndp-scope .ndp-feat--hero-1 .ndp-feat__rest .ndp-card__body { aspect-ratio: auto; min-height: 100%; }
.ndp-scope .ndp-feat--hero-1 .ndp-feat__lead .ndp-card { height: 100%; }
.ndp-scope .ndp-feat--hero-2 .ndp-feat__rest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ndp-gap); }
.ndp-scope .ndp-feat--hero-3 { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.ndp-scope .ndp-feat--hero-3 .ndp-feat__rest { display: flex; flex-direction: column; gap: 18px; }
.ndp-scope .ndp-feat--hero-3 .ndp-feat__item + .ndp-feat__item { padding-top: 18px; border-top: 1px solid var(--ndp-border); }

/* ===== Magazine ===== */
.ndp-scope .ndp-mag { display: grid; gap: var(--ndp-gap); }
.ndp-scope .ndp-mag--mag-1 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.ndp-scope .ndp-mag__side { display: flex; flex-direction: column; gap: 18px; }
.ndp-scope .ndp-mag__side--list .ndp-card + .ndp-card { padding-top: 18px; border-top: 1px solid var(--ndp-border); }
.ndp-scope .ndp-mag__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--ndp-gap); }
.ndp-scope .ndp-mag--mag-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.ndp-scope .ndp-mag--mag-3 .ndp-mag__side:first-child .ndp-card__excerpt { display: none; }
.ndp-scope .ndp-mag__duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ndp-gap); }
.ndp-scope .ndp-mag__duo .ndp-card--overlay-big .ndp-card__body { min-height: clamp(280px, 30vw, 420px); }
.ndp-scope .ndp-mag__news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px var(--ndp-gap); }

/* ===== Lists ===== */
.ndp-scope .ndp-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ndp-scope .ndp-list > li { margin: 0; padding: 0; }
.ndp-scope .ndp-list > li::marker { content: none; }
.ndp-scope .ndp-list > li + li { padding-top: 16px; border-top: 1px solid var(--ndp-border); }
.ndp-scope .ndp-list--titles > li + li { padding-top: 12px; }

/* ===== Ticker ===== */
.ndp-scope .ndp-ticker { display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--ndp-border); border-radius: var(--ndp-radius); background: var(--ndp-card); }
.ndp-scope .ndp-ticker__label { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ndp-primary); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ndp-scope .ndp-ticker__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ndp-pulse 1.6s infinite; }
@keyframes ndp-pulse { 50% { opacity: .3; } }
.ndp-scope .ndp-ticker__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ndp-scope .ndp-ticker__list { display: flex; align-items: center; gap: 40px; width: max-content; height: 100%; margin: 0; padding: 0 24px; list-style: none; }
.ndp-scope .ndp-ticker__item { display: flex; align-items: center; gap: 10px; margin: 0; white-space: nowrap; font-size: 14.5px; }
.ndp-scope .ndp-ticker__item time { color: var(--ndp-primary); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ndp-scope .ndp-ticker__item a { color: var(--ndp-text); font-weight: 500; }
.ndp-scope .ndp-ticker__item a:hover { color: var(--ndp-primary); }
.ndp-scope .ndp-ticker.is-running .ndp-ticker__list { animation: ndp-marquee var(--ndp-dur, 40s) linear infinite; }
.ndp-scope .ndp-ticker.is-running:hover .ndp-ticker__list, .ndp-scope .ndp-ticker.is-running:focus-within .ndp-ticker__list { animation-play-state: paused; }
@keyframes ndp-marquee { to { transform: translateX(-50%); } }
.ndp-scope .ndp-ticker--fade .ndp-ticker__list { position: relative; display: block; width: auto; height: 44px; }
.ndp-scope .ndp-ticker--fade .ndp-ticker__item { position: absolute; inset: 0 24px; opacity: 0; transition: opacity .5s; overflow: hidden; text-overflow: ellipsis; }
.ndp-scope .ndp-ticker--fade .ndp-ticker__item.is-on, .ndp-scope .ndp-ticker--fade:not(.is-running) .ndp-ticker__item:first-child { opacity: 1; }

/* ===== Slider ===== */
.ndp-scope .ndp-slider { --ndp-vis: 3; position: relative; }
.ndp-scope .ndp-slider__track { display: flex; gap: var(--ndp-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 2px 8px; margin: -4px -2px 0; }
.ndp-scope .ndp-slider__track::-webkit-scrollbar { display: none; }
.ndp-scope .ndp-slide { flex: 0 0 calc((100% - (var(--ndp-vis) - 1) * var(--ndp-gap)) / var(--ndp-vis)); min-width: 0; scroll-snap-align: start; }
.ndp-scope .ndp-slider--hero .ndp-slide, .ndp-scope .ndp-slider--split .ndp-slide { flex-basis: 100%; }
.ndp-scope .ndp-slider--hero .ndp-card--overlay-big .ndp-card__body { min-height: clamp(360px, 48vw, 600px); }
.ndp-scope .ndp-slider__btn { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -22px 0 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 4px 16px rgba(0,0,0,.18); color: var(--ndp-text); font: 400 30px/1 system-ui, sans-serif; cursor: pointer; transition: transform .2s, opacity .2s; }
.ndp-scope .ndp-slider--carousel .ndp-slider__btn { top: 38%; }
.ndp-scope .ndp-slider__btn:hover { transform: scale(1.06); }
.ndp-scope .ndp-slider__btn[disabled] { opacity: .35; cursor: default; }
.ndp-scope .ndp-slider__prev { left: 8px; }
.ndp-scope .ndp-slider__next { right: 8px; }
.ndp-scope .ndp-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.ndp-scope .ndp-slider__dots button { width: 10px; height: 10px; margin: 0; padding: 0; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--ndp-text) 22%, transparent); cursor: pointer; transition: width .3s, background .3s; }
.ndp-scope .ndp-slider__dots button[aria-current="true"] { width: 26px; background: var(--ndp-primary); }
.ndp-scope .ndp-slider__pause { position: absolute; right: 10px; top: 10px; z-index: 3; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 10px; cursor: pointer; opacity: .75; }
.ndp-scope .ndp-slider__pause:hover { opacity: 1; }
.ndp-scope .ndp-slider--carousel .ndp-slider__pause { display: none; }

/* ===== Buttons, pagination ===== */
.ndp-scope .ndp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 10px 22px; border: 1px solid var(--ndp-primary); border-radius: 999px; background: var(--ndp-primary); color: #fff; font: 600 14px/1 var(--ndp-font); cursor: pointer; transition: filter .2s, transform .2s; }
.ndp-scope .ndp-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ndp-scope .ndp-btn[disabled] { opacity: .6; cursor: progress; }
.ndp-scope .ndp-loadmore { display: flex; justify-content: center; margin-top: 30px; }
.ndp-scope .ndp-pagination { margin-top: 36px; }
.ndp-scope .ndp-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ndp-scope .ndp-pagination li { margin: 0; }
.ndp-scope .ndp-pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ndp-border); border-radius: 999px; background: var(--ndp-card); color: var(--ndp-text); font-weight: 600; }
.ndp-scope .ndp-pagination .page-numbers.current, .ndp-scope .ndp-pagination a.page-numbers:hover { border-color: var(--ndp-primary); background: var(--ndp-primary); color: #fff; }

/* ===== Single article ===== */
.ndp-article { padding: 20px 0 64px; }
.ndp-article .ndp-breadcrumb { margin: 10px 0 0; color: var(--ndp-muted); font-size: 13.5px; }
.ndp-scope .ndp-breadcrumb a { color: var(--ndp-muted); }
.ndp-scope .ndp-breadcrumb a:hover { color: var(--ndp-primary); }
.ndp-scope .ndp-breadcrumb__sep { margin: 0 8px; opacity: .5; }
.ndp-article .ndp-hero { margin: 26px 0 0; }
.ndp-article .ndp-hero__text { max-width: 880px; }
.ndp-article .ndp-hero__cats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
.ndp-article .ndp-hero__title { margin: 0 0 16px; padding: 0; color: var(--ndp-text); font-family: var(--ndp-font-head); font-size: clamp(30px, 1.2rem + 3vw, 56px); font-weight: var(--ndp-head-weight); line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; }
.ndp-article .ndp-hero__dek { max-width: 720px; margin: 0 0 22px; color: var(--ndp-muted); font-size: clamp(17px, 1rem + .4vw, 21px); line-height: 1.5; }
.ndp-article .ndp-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--ndp-muted); font-size: 14px; }
.ndp-article .ndp-hero__author { display: inline-flex; align-items: center; gap: 10px; color: var(--ndp-text); font-weight: 600; }
.ndp-scope .ndp-avatar { width: 40px; height: 40px; margin: 0; border-radius: 50%; }
.ndp-article .ndp-hero__meta .ndp-meta { margin: 0; font-size: 14px; }
.ndp-article .ndp-hero__media { margin: 30px 0 0; }
.ndp-article .ndp-hero__img { display: block; width: 100%; height: auto; max-height: 680px; aspect-ratio: var(--ndp-ratio); object-fit: cover; border-radius: var(--ndp-radius); }
.ndp-article .ndp-hero__media figcaption { margin-top: 8px; color: var(--ndp-muted); font-size: 13px; }
.ndp-hero-overlay .ndp-hero { position: relative; display: grid; overflow: hidden; border-radius: var(--ndp-radius); }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) > * { grid-area: 1 / 1; }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) .ndp-hero__media { margin: 0; }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) .ndp-hero__img { border-radius: 0; min-height: 460px; aspect-ratio: 21/9; }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) figcaption { display: none; }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) .ndp-hero__text { z-index: 1; align-self: end; max-width: none; padding: 120px clamp(20px, 5vw, 56px) clamp(24px, 4vw, 44px); background: linear-gradient(180deg, transparent, rgba(10,8,6,.6) 45%, rgba(10,8,6,.9)); }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) :is(.ndp-hero__title, .ndp-hero__author, .ndp-cat) { color: #fff; }
.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) :is(.ndp-hero__dek, .ndp-hero__meta) { color: rgba(255,255,255,.86); }
.ndp-hero-split .ndp-hero:has(.ndp-hero__media) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ndp-hero-split .ndp-hero__media { margin: 0 !important; }
.ndp-article .ndp-article__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 40px; }
.ndp-article--has-sidebar .ndp-article__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 4vw, 64px); }
.ndp-article--left.ndp-article--has-sidebar .ndp-article__layout { grid-template-columns: 320px minmax(0, 1fr); }
.ndp-article--left .ndp-article__sidebar { order: -1; }
.ndp-article--none .ndp-article__main { width: 100%; max-width: var(--ndp-measure); margin-inline: auto; }
.ndp-article--none .ndp-hero__text { margin-inline: auto; text-align: center; }
.ndp-article--none .ndp-hero__cats, .ndp-article--none .ndp-hero__meta { justify-content: center; }
.ndp-article--none .ndp-hero__dek { margin-inline: auto; }
.ndp-article__main { min-width: 0; }
.ndp-article .ndp-prose { max-width: var(--ndp-measure); color: var(--ndp-text); font-size: calc(var(--ndp-base) * 1.12); line-height: 1.78; overflow-wrap: break-word; }
.ndp-article--full .ndp-prose, .ndp-article--none .ndp-prose { max-width: none; }
.ndp-article .ndp-prose > * { max-width: 100%; }
.ndp-article .ndp-prose p { margin: 0 0 1.3em; }
.ndp-article .ndp-prose :is(h2, h3, h4) { margin: 1.8em 0 .6em; color: var(--ndp-text); font-family: var(--ndp-font-head); font-weight: var(--ndp-head-weight); line-height: 1.22; scroll-margin-top: calc(90px + var(--wp-admin--admin-bar--height, 0px)); }
.ndp-article .ndp-prose h2 { font-size: 1.55em; }
.ndp-article .ndp-prose h3 { font-size: 1.28em; }
.ndp-article .ndp-prose a { color: var(--ndp-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.ndp-article .ndp-prose :is(ul, ol) { margin: 0 0 1.3em; padding-left: 1.4em; }
.ndp-article .ndp-prose li { margin-bottom: .4em; }
.ndp-article .ndp-prose li::marker { color: var(--ndp-primary); }
.ndp-article .ndp-prose blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--ndp-primary); font-family: var(--ndp-font-head); font-size: 1.18em; font-style: italic; }
.ndp-article .ndp-prose blockquote::before { content: none; }
.ndp-article .ndp-prose img { border-radius: calc(var(--ndp-radius) * .8); }
.ndp-article .ndp-prose figure { margin: 1.8em 0; }
.ndp-article .ndp-prose figcaption { color: var(--ndp-muted); font-size: 13.5px; }
.ndp-article .ndp-prose :is(.alignwide, .alignfull) { width: 100%; max-width: 100%; margin-inline: 0; }
.ndp-article .ndp-prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.ndp-article .ndp-prose :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--ndp-border); text-align: left; }
.ndp-article .ndp-prose hr { width: 110px; height: 4px; margin: 2.4em auto; border: 0; border-radius: 4px; background: var(--ndp-primary); opacity: .8; }
.ndp-has-dropcap .ndp-prose > p:first-of-type::first-letter { float: left; margin: .05em .1em 0 0; color: var(--ndp-primary); font-family: var(--ndp-font-head); font-size: 3.9em; font-weight: 700; line-height: .82; }
.ndp-scope .ndp-toc { margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--ndp-border); border-radius: var(--ndp-radius); background: var(--ndp-card); }
.ndp-scope .ndp-toc summary { cursor: pointer; font-weight: 700; }
.ndp-scope .ndp-toc__list { margin: 12px 0 0; padding-left: 1.3em; font-size: 15px; }
.ndp-scope .ndp-toc__list li { margin: 6px 0; }
.ndp-scope .ndp-toc__h3 { margin-left: 1em !important; font-size: .94em; }
.ndp-scope .ndp-toc__list a { color: var(--ndp-text); }
.ndp-scope .ndp-toc__list a:hover, .ndp-scope .ndp-toc__list a.is-active { color: var(--ndp-primary); }
.ndp-scope .ndp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; }
.ndp-scope .ndp-tags__label { margin-right: 4px; color: var(--ndp-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ndp-scope .ndp-tag, .ndp-scope .ndp-chip { display: inline-block; padding: 6px 13px; border: 1px solid var(--ndp-border); border-radius: 999px; background: var(--ndp-card); color: var(--ndp-text); font-size: 13px; transition: all .2s; }
.ndp-scope .ndp-tag:hover, .ndp-scope .ndp-chip:hover { border-color: var(--ndp-primary); background: var(--ndp-primary); color: #fff; }
.ndp-scope .ndp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 0; padding: 16px 0; border-block: 1px solid var(--ndp-border); }
.ndp-scope .ndp-share__label { font-weight: 700; }
.ndp-scope .ndp-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ndp-scope .ndp-share .ndp-share__btn.ndp-share__btn { display: inline-flex; align-items: center; min-height: 0; margin: 0; padding: 8px 14px; border: 1px solid var(--ndp-border); border-radius: 999px; background: var(--ndp-card); box-shadow: none; color: var(--ndp-text); font: 500 13px/1 var(--ndp-font); text-transform: none; cursor: pointer; }
.ndp-scope .ndp-share .ndp-share__btn.ndp-share__btn:hover { border-color: var(--ndp-text); background: var(--ndp-text); color: #fff; }
.ndp-scope .ndp-share .ndp-share__btn.is-done { border-color: #2f7d4f; background: #2f7d4f; color: #fff; }
.ndp-scope .ndp-authorbox { display: flex; gap: 18px; margin: 32px 0 0; padding: 24px; border-radius: var(--ndp-radius); background: color-mix(in srgb, var(--ndp-border) 35%, var(--ndp-card)); }
.ndp-scope .ndp-authorbox .ndp-avatar { width: 72px; height: 72px; flex: none; }
.ndp-scope .ndp-authorbox__eyebrow { color: var(--ndp-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ndp-scope .ndp-authorbox__name { margin: 4px 0 6px; font-family: var(--ndp-font-head); font-size: 20px; }
.ndp-scope .ndp-authorbox p { margin: 0 0 8px; color: var(--ndp-muted); font-size: 15px; }
.ndp-scope .ndp-authorbox a { color: var(--ndp-primary); font-weight: 600; }
.ndp-scope .ndp-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.ndp-scope .ndp-prevnext a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--ndp-border); border-radius: var(--ndp-radius); background: var(--ndp-card); color: var(--ndp-text); transition: border-color .2s, transform .2s; }
.ndp-scope .ndp-prevnext a:hover { border-color: var(--ndp-primary); transform: translateY(-2px); }
.ndp-scope .ndp-prevnext__next { text-align: right; }
.ndp-scope .ndp-prevnext span { color: var(--ndp-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ndp-scope .ndp-prevnext strong { font-family: var(--ndp-font-head); font-size: 16.5px; line-height: 1.3; }
.ndp-article .ndp-related { margin-top: 64px; }
.ndp-article .ndp-comments { max-width: var(--ndp-measure); margin-top: 56px; }
.ndp-scope .ndp-artnav { display: flex; align-items: center; gap: 16px; padding: 8px 0; border-block: 1px solid var(--ndp-border); }
.ndp-scope .ndp-artnav__brand { flex: none; padding-right: 16px; border-right: 1px solid var(--ndp-border); font-family: var(--ndp-font-head); font-style: italic; }
.ndp-scope .ndp-artnav__scroll { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ndp-scope .ndp-artnav ul { display: flex; gap: 6px; margin: 0; padding: 4px 0; list-style: none; }
.ndp-scope .ndp-artnav li { margin: 0; }
.ndp-scope .ndp-artnav__link { display: inline-block; padding: 8px 16px; border: 1px solid var(--ndp-border); border-radius: 999px; background: var(--ndp-card); color: var(--ndp-text); font-size: 14px; font-weight: 500; white-space: nowrap; transition: all .25s; }
.ndp-scope .ndp-artnav__link:hover { border-color: var(--ndp-text); background: var(--ndp-text); color: #fff; }
.ndp-scope .ndp-artnav__link.is-active { border-color: var(--ndp-primary); background: var(--ndp-primary); color: #fff; }
.ndp-scope .ndp-announce { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 0; padding: 13px 18px; border-radius: var(--ndp-radius); background: var(--ndp-ann-bg); color: var(--ndp-ann-fg); font-size: 15px; }
.ndp-scope .ndp-announce__badge { padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 18%, transparent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ndp-scope .ndp-announce__text { flex: 1; min-width: 200px; }
.ndp-scope .ndp-announce a { color: inherit; font-weight: 600; text-decoration: underline; }

/* Sidebar & widgets */
.ndp-scope .ndp-article__sidebar, .ndp-scope .ndp-archive__sidebar { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
@media (min-width: 1025px) { .ndp-scope .ndp-sidebar__sticky { position: sticky; top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); } }
.ndp-scope .ndp-widget { min-width: 0; }
.ndp-scope .ndp-widget__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0; font-family: var(--ndp-font-head); font-size: 17px; font-weight: var(--ndp-head-weight); text-transform: var(--ndp-head-case); }
.ndp-scope .ndp-widget__title::after { content: ""; flex: 1; height: 1px; background: var(--ndp-border); }
.ndp-scope .ndp-catlist { margin: 0; padding: 0; list-style: none; }
.ndp-scope .ndp-catlist li { margin: 0; border-bottom: 1px solid var(--ndp-border); }
.ndp-scope .ndp-catlist a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--ndp-text); font-size: 15px; }
.ndp-scope .ndp-catlist a:hover, .ndp-scope .ndp-catlist .is-current a { color: var(--ndp-primary); }
.ndp-scope .ndp-count { min-width: 28px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--ndp-border) 60%, transparent); color: var(--ndp-muted); font-size: 12px; text-align: center; }
.ndp-scope .ndp-search, .ndp-scope .ndp-newsletter { display: flex; gap: 8px; }
.ndp-scope .ndp-search input, .ndp-scope .ndp-newsletter input { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--ndp-border); border-radius: 999px; background: var(--ndp-card); color: var(--ndp-text); font: inherit; font-size: 14px; }
.ndp-scope .ndp-widget--newsletter { padding: 22px; border-radius: var(--ndp-radius); background: color-mix(in srgb, var(--ndp-primary) 8%, var(--ndp-card)); }
.ndp-scope .ndp-widget--newsletter p { margin: 0 0 12px; color: var(--ndp-muted); font-size: 14.5px; }
.ndp-scope .ndp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.ndp-scope .ndp-social__link { padding: 8px 14px; border: 1px solid var(--ndp-border); border-radius: 999px; color: var(--ndp-text); font-size: 13.5px; font-weight: 500; }
.ndp-scope .ndp-social__link:hover { border-color: var(--ndp-primary); color: var(--ndp-primary); }
.ndp-scope .ndp-widget .ndp-toc__list { margin: 0; padding-left: 1.2em; font-size: 14.5px; }

/* ===== Category archive ===== */
.ndp-archive { padding: 24px 0 64px; }
.ndp-scope .ndp-archive__head { position: relative; display: grid; overflow: hidden; margin: 8px 0 36px; border-radius: var(--ndp-radius); }
.ndp-scope .ndp-archive__head.has-image > * { grid-area: 1 / 1; }
.ndp-scope .ndp-archive__media .ndp-img { display: block; width: 100%; height: clamp(240px, 32vw, 420px); object-fit: cover; }
.ndp-scope .ndp-archive__text { position: relative; padding: 30px 0 10px; }
.ndp-scope .ndp-archive__head.has-image .ndp-archive__text { align-self: end; padding: 80px clamp(20px, 4vw, 44px) clamp(22px, 3vw, 36px); background: linear-gradient(180deg, transparent, rgba(10,8,6,.75)); color: #fff; }
.ndp-scope .ndp-archive__head.has-image :is(.ndp-archive__title, .ndp-breadcrumb a, .ndp-breadcrumb, .ndp-archive__desc, .ndp-archive__count, .ndp-archive__related span) { color: #fff; }
.ndp-scope .ndp-archive__head.has-image .ndp-chip { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; }
.ndp-scope .ndp-archive__eyebrow { display: block; margin-top: 14px; color: var(--ndp-cat, var(--ndp-primary)); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ndp-scope .ndp-archive__head.has-image .ndp-archive__eyebrow { color: #fff; opacity: .85; }
.ndp-scope .ndp-archive__title { margin: 6px 0 10px; padding: 0; font-family: var(--ndp-font-head); font-size: clamp(30px, 1.2rem + 2.6vw, 52px); font-weight: var(--ndp-head-weight); line-height: 1.1; letter-spacing: -.015em; }
.ndp-scope .ndp-archive__desc { max-width: 760px; color: var(--ndp-muted); font-size: 1.05em; }
.ndp-scope .ndp-archive__desc p { margin: 0 0 .6em; }
.ndp-scope .ndp-archive__count { display: inline-block; color: var(--ndp-muted); font-size: 14px; font-weight: 600; }
.ndp-scope .ndp-archive__related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.ndp-scope .ndp-archive__related > span { margin-right: 6px; color: var(--ndp-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ndp-scope .ndp-archive__lead { margin-bottom: var(--ndp-gap); }
.ndp-scope .ndp-archive__lead .ndp-card--overlay-big .ndp-card__body { min-height: clamp(300px, 36vw, 480px); }
.ndp-scope .ndp-archive__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.ndp-archive--right .ndp-archive__layout { grid-template-columns: minmax(0, 1fr) 320px; }
.ndp-archive--left .ndp-archive__layout { grid-template-columns: 320px minmax(0, 1fr); }
.ndp-archive--left .ndp-archive__sidebar { order: -1; }
.ndp-scope .ndp-archive__empty { padding: 40px 0; color: var(--ndp-muted); text-align: center; }

/* Reading progress (outside .ndp-scope on purpose) */
.ndp-progress { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 99990; height: 3px; pointer-events: none; }
.ndp-progress__bar { height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #2c5aa0 0 20%, #d8d1c4 20% 40%, #b8322a 40% 60%, #2f7d4f 60% 80%, #e2a72e 80%); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.ndp-scope .ndp-grid { grid-template-columns: repeat(var(--ndp-cols-t), minmax(0, 1fr)); }
	.ndp-scope .ndp-l-masonry { columns: var(--ndp-cols-t); }
	.ndp-scope .ndp-l-list, .ndp-scope .ndp-l-horizontal { grid-template-columns: minmax(0, 1fr); }
	.ndp-scope .ndp-slide { flex-basis: calc((100% - (var(--ndp-vis-t) - 1) * var(--ndp-gap)) / var(--ndp-vis-t)); }
	.ndp-scope .ndp-mag--mag-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ndp-scope .ndp-mag--mag-3 .ndp-mag__lead { grid-column: 1 / -1; order: -1; }
	.ndp-scope .ndp-mag__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ndp-scope .ndp-mag__news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ndp-article--has-sidebar .ndp-article__layout, .ndp-article--left.ndp-article--has-sidebar .ndp-article__layout, .ndp-archive--right .ndp-archive__layout, .ndp-archive--left .ndp-archive__layout { grid-template-columns: minmax(0, 1fr); }
	.ndp-article--left .ndp-article__sidebar, .ndp-archive--left .ndp-archive__sidebar { order: 0; }
}
@media (max-width: 767px) {
	.ndp-scope { --ndp-gap: min(var(--ndp-gap), 20px); --ndp-space: min(var(--ndp-space), 40px); }
	.ndp-scope .ndp-grid { grid-template-columns: repeat(var(--ndp-cols-m), minmax(0, 1fr)); }
	.ndp-scope .ndp-l-compact { grid-template-columns: minmax(0, 1fr); }
	.ndp-scope .ndp-l-masonry { columns: 1; }
	.ndp-scope :is(.ndp-l-editorial, .ndp-l-magazine) .ndp-grid__item--lead { grid-column: auto; grid-row: auto; }
	.ndp-scope .ndp-card--horizontal, .ndp-scope .ndp-l-list .ndp-card--horizontal { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 14px; }
	.ndp-scope .ndp-card--horizontal .ndp-card__media { min-height: 100px; }
	.ndp-scope .ndp-card--horizontal .ndp-card__excerpt { display: none; }
	.ndp-scope .ndp-card--split { grid-template-columns: minmax(0, 1fr); }
	.ndp-scope .ndp-feat--hero-1, .ndp-scope .ndp-feat--hero-3, .ndp-scope .ndp-mag--mag-1, .ndp-scope .ndp-mag--mag-3, .ndp-scope .ndp-mag__duo { grid-template-columns: minmax(0, 1fr); }
	.ndp-scope .ndp-feat--hero-1 .ndp-feat__rest { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.ndp-scope .ndp-feat--hero-1 .ndp-feat__rest .ndp-card__body { min-height: 200px; }
	.ndp-scope .ndp-feat--hero-2 .ndp-feat__rest, .ndp-scope .ndp-mag__row, .ndp-scope .ndp-mag__news { grid-template-columns: minmax(0, 1fr); }
	.ndp-scope .ndp-slide { flex-basis: calc((100% - (var(--ndp-vis-m) - 1) * var(--ndp-gap)) / var(--ndp-vis-m)); }
	.ndp-scope .ndp-slider--carousel .ndp-slide { flex-basis: 84%; }
	.ndp-scope .ndp-slider__btn { width: 38px; height: 38px; margin-top: -19px; font-size: 24px; }
	.ndp-scope .ndp-section__head { flex-wrap: wrap; }
	.ndp-scope .ndp-ticker__label { padding: 10px 12px; }
	.ndp-scope .ndp-ticker__label { font-size: 0; gap: 0; }
	.ndp-scope .ndp-ticker__label::before { width: 10px; height: 10px; }
	.ndp-scope .ndp-prevnext { grid-template-columns: 1fr; }
	.ndp-scope .ndp-authorbox { flex-direction: column; }
	.ndp-hero-split .ndp-hero:has(.ndp-hero__media) { grid-template-columns: minmax(0, 1fr); }
	.ndp-hero-overlay .ndp-hero:has(.ndp-hero__media) .ndp-hero__img { min-height: 360px; aspect-ratio: 3/4; }
	.ndp-article .ndp-hero__media { margin-inline: calc(clamp(16px, 4vw, 32px) * -1); }
	.ndp-article .ndp-hero__img { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ndp-scope *, .ndp-scope *::before, .ndp-scope *::after { animation: none !important; transition: none !important; }
	.ndp-scope .ndp-ticker__viewport { overflow-x: auto; }
	.ndp-progress { display: none; }
}
@media print { .ndp-scope .ndp-slider__btn, .ndp-scope .ndp-slider__dots, .ndp-scope .ndp-share, .ndp-scope .ndp-artnav, .ndp-progress, .ndp-scope .ndp-article__sidebar { display: none !important; } }
.ndp-scope .ndp-slider [hidden] { display: none !important; }
@media (max-width: 767px) { .ndp-scope .ndp-l-category { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ndp-scope .ndp-catcard__name { font-size: 16px; } .ndp-scope .ndp-catcard__body { padding: 12px; } }
