/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: NextMagazine design, a child theme of Hello Elementor.
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 3.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--nm-navy: #001035;
	--nm-navy-deep: #000a24;
	--nm-brand: #e19735;
	--nm-brand-dark: #c9802a;
	--nm-ink: #001035;
	--nm-muted: #5d6681;
	--nm-line: #e6e9f0;
	--nm-soft: #f6f7fb;
	--nm-shadow: 0 1px 2px rgba(0, 16, 53, .06), 0 8px 24px rgba(0, 16, 53, .06);
	--nm-shadow-hover: 0 2px 4px rgba(0, 16, 53, .08), 0 18px 40px rgba(0, 16, 53, .14);
	--nm-wrap: 1240px;
	--nm-head: 'Poppins', sans-serif;
	--nm-body: 'Roboto', system-ui, sans-serif;
}

/* ==========================================================================
   Base / resets (scoped so Elementor widgets elsewhere are untouched)
   ========================================================================== */
html { scroll-behavior: smooth; }
body.nm-theme {
	font-family: var(--nm-body);
	color: var(--nm-ink);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.nm-scope, .nm-scope *, .nm-scope *::before, .nm-scope *::after { box-sizing: border-box; }
.nm-scope :where(h1, h2, h3, h4, h5, p, ul, ol, figure) { margin: 0; padding: 0; }
.nm-scope :where(h1, h2, h3, h4, h5) { font-family: var(--nm-head); line-height: 1.25; letter-spacing: -.01em; color: inherit; font-weight: 700; }
.nm-scope a { color: inherit; text-decoration: none; }
.nm-scope img { display: block; max-width: 100%; }
.nm-wrap { max-width: var(--nm-wrap); margin: 0 auto; padding: 0 16px; }
.nm-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nm-hp { position: absolute !important; left: -9999px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; z-index: 100000; padding: 12px 20px; background: #fff; color: var(--nm-navy); font: 600 14px var(--nm-head); }

/* Elementor containers that hold our sections: no padding / gaps */
.elementor .e-con.nm-el-sec { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; --gap: 0; --row-gap: 0; --column-gap: 0; padding: 0; }
.elementor .nm-el-sec > .elementor-widget, .elementor .nm-el-sec .elementor-widget-shortcode { width: 100%; margin: 0; }
.elementor .nm-el-sec .elementor-shortcode { width: 100%; }

/* ==========================================================================
   Media / labels / buttons
   ========================================================================== */
.nm-media { position: relative; overflow: hidden; background: linear-gradient(135deg, #e3e7f0, #c9d0de); }
.nm-scope .nm-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nm-media--empty { background: linear-gradient(135deg, var(--nm-navy), #183072); }
.nm-r43 { aspect-ratio: 4 / 3; }
.nm-r32 { aspect-ratio: 3 / 2; }
.nm-scope a.nm-tile:hover :is(h2, h3) { color: var(--nm-brand); }

.nm-cat { display: inline-block; font: 700 11px/1 var(--nm-head); text-transform: uppercase; letter-spacing: 1.2px; color: var(--nm-brand-dark); }
.nm-chip { display: inline-block; background: var(--nm-brand); color: var(--nm-navy) !important; font: 700 11px/1 var(--nm-head); text-transform: uppercase; letter-spacing: 1px; padding: 7px 10px; }
.nm-meta { font-size: 13px; color: var(--nm-muted); }
.nm-meta i, .nm-single-meta i { font-style: normal; margin: 0 6px; opacity: .5; }
.nm-eyebrow { display: inline-block; color: var(--nm-brand); font: 600 13px var(--nm-head); text-transform: uppercase; letter-spacing: 2.5px; }

.nm-scope .nm-btn,
.nm-scope button.nm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--nm-brand); color: var(--nm-navy);
	padding: 12px 22px; font: 600 14px/1.2 var(--nm-head);
	border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
	transition: background .2s, color .2s;
}
.nm-scope .nm-btn:hover, .nm-scope .nm-btn:focus { background: var(--nm-navy); color: #fff; }
.nm-scope input[type=email], .nm-scope input[type=search], .nm-scope input[type=text] {
	border: 1px solid var(--nm-line); border-radius: 0; padding: 13px 14px; font: inherit; font-size: 15px; background: #fff; color: var(--nm-ink); width: 100%;
}
.nm-scope input:focus { outline: 2px solid var(--nm-brand); outline-offset: 0; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.nm-topbar { background: var(--nm-navy-deep); color: #b9c3dc; font-size: 13px; border-bottom: 1px solid #13234f; }
.nm-topbar .nm-wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.nm-toplinks { display: flex; gap: 18px; list-style: none; }
.nm-toplinks a:hover { color: var(--nm-brand); }

.nm-header { position: sticky; top: 0; z-index: 99; background: rgba(0, 16, 53, .96); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); color: #fff; box-shadow: 0 6px 24px rgba(0, 16, 53, .18); }
body.admin-bar .nm-header { top: 32px; }
.nm-header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.nm-scope .nm-logo img { height: 50px; width: auto; }
.nm-menu { display: flex; gap: 2px; list-style: none; font: 500 15px var(--nm-head); }
.nm-menu a { display: block; padding: 8px 13px; position: relative; color: #fff; }
.nm-menu a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--nm-brand); transform: scaleX(0); transition: transform .25s; }
.nm-menu a:hover::after, .nm-menu .current-menu-item > a::after, .nm-menu .current-category-ancestor > a::after { transform: scaleX(1); }
.nm-actions { display: flex; gap: 10px; align-items: center; }
.nm-scope .nm-icon-btn { width: 42px; height: 42px; border: 1px solid #24376b; border-radius: 0; display: grid; place-items: center; color: #fff; background: transparent; padding: 0; cursor: pointer; }
.nm-scope .nm-icon-btn:hover { border-color: var(--nm-brand); color: var(--nm-brand); background: transparent; }
.nm-icon-btn svg { width: 18px; height: 18px; }
.nm-scope .nm-btn--header:hover { background: #fff; color: var(--nm-navy); }
.nm-burger { display: none !important; }
.nm-search-panel { border-top: 1px solid #13234f; padding: 16px 0; }
.nm-search-panel form, .nm-search-inline { display: flex; gap: 0; max-width: 640px; }
.nm-search-panel input[type=search] { border-color: transparent; }
.nm-mobile-menu { border-top: 1px solid #13234f; padding: 8px 0 16px; }
.nm-mobile-list { list-style: none; }
.nm-mobile-list a { display: block; padding: 12px 0; border-bottom: 1px solid #13234f; font: 500 16px var(--nm-head); color: #fff; }
.nm-scope [hidden] { display: none !important; }

/* Ticker */
.nm-ticker { background: var(--nm-soft); border-bottom: 1px solid var(--nm-line); font-size: 14px; }
.nm-ticker .nm-wrap { display: flex; gap: 16px; align-items: center; height: 46px; }
.nm-ticker .nm-chip { flex-shrink: 0; }
.nm-ticker-mask { overflow: hidden; flex: 1; white-space: nowrap; }
.nm-ticker-track { display: inline-flex; gap: 36px; animation: nm-scroll 40s linear infinite; }
.nm-ticker-track:hover { animation-play-state: paused; }
.nm-ticker-dup { display: inline-flex; gap: 36px; }
.nm-ticker-track a::before { content: "●"; color: var(--nm-brand); font-size: 8px; margin-right: 10px; vertical-align: middle; }
.nm-ticker-track a:hover { color: var(--nm-brand-dark); }
@keyframes nm-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nm-ticker-track { animation: none; } }

/* ==========================================================================
   Hero + tiles
   ========================================================================== */
.nm-hero { padding: 36px 0 20px; }
.nm-hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; }
.nm-tile { position: relative; display: block; overflow: hidden; }
.nm-tile .nm-media { height: 100%; }
.nm-hero-main .nm-media { min-height: 500px; }
.nm-hero-side { display: grid; gap: 20px; }
.nm-hero-side .nm-media { min-height: 240px; }
.nm-overlay { position: absolute; inset: auto 0 0 0; padding: 30px; background: linear-gradient(180deg, transparent, rgba(0, 16, 53, .92)); color: #fff; }
.nm-overlay h2 { font-size: 36px; font-weight: 700; margin: 14px 0 10px; max-width: 680px; color: #fff; }
.nm-overlay h3 { font-size: 19px; font-weight: 600; margin-top: 12px; color: #fff; }
.nm-overlay .nm-meta { color: #c9d1e3; }

/* ==========================================================================
   Sections
   ========================================================================== */
.nm-sec { padding: 64px 0; }
.nm-sec--tight { padding-top: 44px; }
.nm-soft { background: var(--nm-soft); }
.nm-sec-head { margin-bottom: 30px; display: flex; align-items: center; gap: 16px; }
.nm-sec-head h2 { font-size: 30px; font-weight: 700; white-space: nowrap; }
.nm-sec-head h2::before { content: ""; display: inline-block; width: 10px; height: 26px; background: var(--nm-brand); margin-right: 12px; vertical-align: -3px; }
.nm-sec-head h2 a:hover { color: var(--nm-brand-dark); }
.nm-sec-head::after { content: ""; flex: 1; height: 1px; background: var(--nm-line); }

.nm-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nm-card { display: block; background: #fff; box-shadow: var(--nm-shadow); transition: box-shadow .3s, transform .3s; }
.nm-card:hover { box-shadow: var(--nm-shadow-hover); transform: translateY(-4px); }
.nm-card-body { padding: 20px 22px 24px; }
.nm-card h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.nm-card p { color: var(--nm-muted); font-size: 15px; margin-bottom: 12px; }
.nm-scope h3 { transition: color .2s; }
.nm-scope a:not(.nm-tile):hover h3 { color: var(--nm-brand-dark); }

/* Categories */
.nm-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.nm-cat-tile { background: #fff; border: 1px solid var(--nm-line); padding: 26px 12px; text-align: center; transition: all .25s; }
.nm-cat-tile .nm-ic { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--nm-soft); color: var(--nm-navy); transition: all .25s; }
.nm-cat-tile .nm-ic svg { width: 26px; height: 26px; }
.nm-cat-tile b { display: block; font: 600 15px var(--nm-head); }
.nm-cat-tile small { color: var(--nm-muted); font-size: 13px; }
.nm-cat-tile:hover { border-color: var(--nm-navy); transform: translateY(-4px); box-shadow: var(--nm-shadow-hover); }
.nm-cat-tile:hover .nm-ic { background: var(--nm-brand); }

/* About */
.nm-about { background: var(--nm-navy); color: #fff; position: relative; overflow: hidden; }
.nm-about::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 60px solid rgba(225, 151, 53, .08); pointer-events: none; }
.nm-about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.nm-about-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nm-about-mosaic .nm-media { aspect-ratio: 1 / 1; }
.nm-about-mosaic .nm-media:nth-child(1) { aspect-ratio: auto; grid-row: span 2; }
.nm-about h2 { font-size: 38px; font-weight: 700; margin: 12px 0 18px; color: #fff; }
.nm-about h2 span { color: var(--nm-brand); }
.nm-about p { color: #c3cbe0; margin-bottom: 14px; font-size: 16px; }
.nm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.nm-stat { background: rgba(255, 255, 255, .05); border-top: 3px solid var(--nm-brand); padding: 16px 18px; }
.nm-stat b { display: block; font: 700 28px var(--nm-head); color: #fff; }
.nm-stat small { color: #c3cbe0; font-size: 13px; }
.nm-about-points { display: flex; flex-wrap: wrap; gap: 10px; }
.nm-about-points span { border: 1px solid #24376b; padding: 8px 14px; font-size: 14px; }
.nm-about-points span::before { content: "✓"; color: var(--nm-brand); margin-right: 8px; font-weight: 700; }

/* Latest + sidebar */
.nm-two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
.nm-list-post { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--nm-line); }
.nm-sec-head + .nm-list-post { padding-top: 0; }
.nm-list-post h3 { font-size: 22px; font-weight: 600; margin: 10px 0 8px; }
.nm-list-post p { color: var(--nm-muted); font-size: 15px; margin-bottom: 10px; }
.nm-sidebar { position: sticky; top: 100px; align-self: start; }
.nm-box { background: #fff; border: 1px solid var(--nm-line); padding: 24px; margin-bottom: 24px; }
.nm-box h4 { font-size: 19px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.nm-box h4::before { content: ""; width: 8px; height: 20px; background: var(--nm-brand); flex-shrink: 0; }
.nm-popular { list-style: none; counter-reset: nmp; }
.nm-popular li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--nm-line); counter-increment: nmp; }
.nm-popular li:last-child { border: 0; padding-bottom: 0; }
.nm-popular li::before { content: counter(nmp, decimal-leading-zero); flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--nm-soft); color: var(--nm-brand); display: flex; align-items: center; justify-content: center; font: 700 14px/1 var(--nm-head); }
.nm-popular a { font: 500 14.5px/1.45 var(--nm-head); }
.nm-popular a:hover { color: var(--nm-brand-dark); }
.nm-box--newsletter { background: var(--nm-navy); color: #fff; border: 0; }
.nm-box--newsletter p { color: #b9c3dc; font-size: 14px; margin: 8px 0 14px; }
.nm-newsletter--stack input[type=email] { border: 0; margin-bottom: 10px; }
.nm-scope .nm-newsletter--stack .nm-btn { width: 100%; }
.nm-scope .nm-box--newsletter .nm-btn:hover { background: #fff; color: var(--nm-navy); }
.nm-form-msg { font-size: 14px; margin-top: 10px !important; color: #ffb4a8; }
.nm-form-msg--ok { color: #7be3a5; }

/* Tech: split */
.nm-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.nm-split-big .nm-media { min-height: 360px; margin-bottom: 18px; }
.nm-split-big h3 { font-size: 26px; font-weight: 700; margin: 14px 0 10px; }
.nm-split-big p { color: var(--nm-muted); }
.nm-mini { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--nm-line); }
.nm-mini:last-child { border: 0; margin: 0; padding: 0; }
.nm-mini h3 { font-size: 16px; font-weight: 600; margin: 6px 0 4px; }

/* Category cards (Business, Health, Lifestyle) */
.nm-hcards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nm-hcard { display: grid; grid-template-columns: 200px 1fr; background: #fff; box-shadow: var(--nm-shadow); transition: box-shadow .3s, transform .3s; }
.nm-hcard:hover { box-shadow: var(--nm-shadow-hover); transform: translateY(-3px); }
.nm-hcard .nm-media { height: 100%; min-height: 170px; }
.nm-hcard .nm-card-body { padding: 20px 22px; }
.nm-hcard h3 { font-size: 18px; font-weight: 600; margin: 8px 0 6px; }
.nm-hcard p { color: var(--nm-muted); font-size: 14px; }

/* Authors (photos stay round) */
.nm-authors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nm-author { display: block; text-align: center; padding: 30px 20px; border: 1px solid var(--nm-line); background: #fff; transition: all .25s; }
.nm-author:hover { box-shadow: var(--nm-shadow-hover); transform: translateY(-4px); }
.nm-scope .nm-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--nm-brand); }
.nm-author h3 { font-size: 18px; font-weight: 600; }

/* CTA */
.nm-cta { background: var(--nm-brand); color: var(--nm-navy); padding: 52px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; position: relative; overflow: hidden; }
.nm-cta::before { content: ""; position: absolute; left: -60px; bottom: -60px; width: 220px; height: 220px; border: 40px solid rgba(0, 16, 53, .07); pointer-events: none; }
.nm-cta .nm-eyebrow { color: var(--nm-navy); opacity: .7; }
.nm-cta h2 { font-size: 32px; font-weight: 700; }
.nm-newsletter--inline { display: flex; position: relative; }
.nm-newsletter--inline input[type=email] { flex: 1; border: 0; padding: 16px 18px; min-width: 0; }
.nm-scope .nm-cta .nm-btn { background: var(--nm-navy); color: #fff; }
.nm-scope .nm-cta .nm-btn:hover { background: var(--nm-navy-deep); }
.nm-cta .nm-form-msg { grid-column: 2; margin-top: -20px !important; color: var(--nm-navy); font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nm-footer { background: var(--nm-navy); color: #b9c3dc; padding: 64px 0 24px; }
.nm-fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.nm-flogo { display: inline-block; margin-bottom: 16px; }
.nm-scope .nm-flogo img { height: 46px; width: auto; }
.nm-fabout { font-size: 14px; max-width: 320px; }
.nm-footer h5 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.nm-footer ul { list-style: none; }
.nm-footer li { margin-bottom: 10px; font-size: 14px; }
.nm-footer a:hover { color: var(--nm-brand); }
.nm-copy { border-top: 1px solid #1c2d5c; margin-top: 48px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Single post / pages / archives
   ========================================================================== */
/* Shared page header (posts, pages, categories, authors, search, 404) */
.nm-page-head { background: var(--nm-navy); color: #fff; padding: 44px 0 48px; position: relative; overflow: hidden; }
.nm-page-head::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border: 60px solid rgba(225, 151, 53, .08); pointer-events: none; }
.nm-page-head-inner { max-width: 860px; position: relative; z-index: 1; }
.nm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 13px var(--nm-head); color: #9fabc8; margin-bottom: 18px; }
.nm-crumbs a { color: #c9d1e3; }
.nm-crumbs a:hover { color: #fff; }
.nm-crumbs > :last-child { color: var(--nm-brand); }
.nm-page-head .nm-eyebrow { display: block; margin-bottom: 8px; }
.nm-page-title { font-size: 44px; font-weight: 700; line-height: 1.18; color: #fff; }
.nm-page-desc { font-size: 18px; line-height: 1.6; color: #c3cbe0; margin-top: 14px; max-width: 760px; }
.nm-page-desc p { margin: 0; }
.nm-page-count { display: inline-block; margin-top: 16px; color: #9fabc8; }
.nm-scope .nm-avatar-head { margin: 0 0 18px; width: 96px; height: 96px; }
.nm-page-head .nm-search-inline { margin-top: 22px; }
.nm-page-head .nm-search-inline input[type=search] { border-color: transparent; }
.nm-page-head .nm-search-inline + .nm-page-count { display: block; margin-top: 12px; }
.nm-page-body { padding-top: 48px; padding-bottom: 72px; }
.nm-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.rank-math-breadcrumb { font-size: 13px; color: var(--nm-muted); margin-bottom: 14px; }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a:hover { color: var(--nm-brand-dark); }
.rank-math-breadcrumb .separator { margin: 0 6px; opacity: .6; }

/* Reading progress */
.nm-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.nm-progress span { display: block; height: 100%; background: var(--nm-brand); transform-origin: 0 50%; transform: scaleX(0); }
body.admin-bar .nm-progress { top: 32px; }

/* Single: header */
.nm-single-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #1c2d5c; }
.nm-byline { display: flex; align-items: center; gap: 14px; }
.nm-scope .nm-avatar-sm { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--nm-brand); }
.nm-byline-name { display: block; font: 600 15px var(--nm-head); color: #fff; }
.nm-byline-name:hover { color: var(--nm-brand); }
.nm-byline .nm-meta { color: #9fabc8; }

/* Share buttons */
.nm-share { display: flex; gap: 8px; }
.nm-scope .nm-share-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #24376b; border-radius: 0; background: transparent; color: #fff; padding: 0; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.nm-scope .nm-share-btn:hover, .nm-scope .nm-share-btn.is-copied { background: var(--nm-brand); border-color: var(--nm-brand); color: var(--nm-navy); }
.nm-share-btn svg { width: 17px; height: 17px; }
.nm-share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding: 18px 0; border-top: 1px solid var(--nm-line); border-bottom: 1px solid var(--nm-line); }
.nm-share-row > span { font: 600 15px var(--nm-head); }
.nm-scope .nm-share-row .nm-share-btn { border-color: var(--nm-line); color: var(--nm-navy); }

/* Single: body */
.nm-single-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
.nm-featured { margin-bottom: 36px !important; }
.nm-scope .nm-featured img { width: 100%; height: auto; }
.nm-featured figcaption { font-size: 13px; color: var(--nm-muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--nm-brand); }

.nm-sidebar--single { position: static; align-self: stretch; }
.nm-sticky { position: sticky; top: 102px; }
body.admin-bar .nm-sticky { top: 134px; }

/* Table of contents */
.nm-toc h4 { margin-bottom: 12px; }
.nm-toc-list { position: relative; list-style: none; border-left: 2px solid var(--nm-line); }
.nm-toc-list li { margin: 0; }
.nm-toc-list a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font: 500 14px/1.45 var(--nm-head); color: var(--nm-muted); transition: color .2s, border-color .2s; }
.nm-toc-list .nm-toc-l3 a { padding-left: 28px; font-size: 13px; font-weight: 400; }
.nm-toc-list a:hover { color: var(--nm-navy); }
.nm-toc-list a.is-active { color: var(--nm-navy); border-left-color: var(--nm-brand); font-weight: 600; }
.nm-toc--side .nm-toc-list { max-height: calc(100vh - 470px); min-height: 120px; overflow-y: auto; scrollbar-width: thin; }
.nm-toc--inline { display: none; border: 1px solid var(--nm-line); background: var(--nm-soft); margin-bottom: 28px; }
.nm-toc--inline summary { cursor: pointer; padding: 16px 20px; font: 600 16px var(--nm-head); list-style: none; display: flex; justify-content: space-between; }
.nm-toc--inline summary::-webkit-details-marker { display: none; }
.nm-toc--inline summary::after { content: "+"; color: var(--nm-brand); font-size: 22px; line-height: 1; }
.nm-toc--inline[open] summary::after { content: "\2212"; }
.nm-toc--inline .nm-toc-list { margin: 0 20px 18px; }

/* Article typography */
.nm-content { font-size: 18px; line-height: 1.85; color: #1d2540; }
.nm-scope .nm-content > * + * { margin-top: 1.25em; }
.nm-scope .nm-content :where(h2, h3, h4) { margin-top: 1.9em; margin-bottom: .1em; color: var(--nm-navy); scroll-margin-top: 110px; }
.nm-content h2 { font-size: 30px; padding-left: 16px; border-left: 5px solid var(--nm-brand); }
.nm-content h3 { font-size: 23px; }
.nm-content h4 { font-size: 19px; }
.nm-scope .nm-content > p:first-child { font-size: 20px; color: var(--nm-navy); }
.nm-scope .nm-content a { color: var(--nm-brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nm-scope .nm-content a:hover { color: var(--nm-navy); }
.nm-scope .nm-content :where(ul, ol) { padding-left: 1.4em; }
.nm-content li + li { margin-top: .45em; }
.nm-content li::marker { color: var(--nm-brand-dark); font-weight: 700; }
.nm-content strong { color: var(--nm-navy); }
.nm-content img { height: auto; }
.nm-content figure, .nm-content .wp-caption { max-width: 100%; }
.nm-content figcaption, .nm-content .wp-caption-text { font-size: 14px; color: var(--nm-muted); margin-top: 8px; }
.nm-content blockquote { border-left: 5px solid var(--nm-brand); background: var(--nm-soft); padding: 22px 26px; margin-left: 0; margin-right: 0; font: 500 19px/1.6 var(--nm-head); color: var(--nm-navy); }
.nm-content blockquote p { margin: 0; }
.nm-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.nm-content th, .nm-content td { border: 1px solid var(--nm-line); padding: 11px 14px; text-align: left; }
.nm-content th { background: var(--nm-navy); color: #fff; font-family: var(--nm-head); font-weight: 600; }
.nm-content tr:nth-child(even) td { background: var(--nm-soft); }
.nm-content .aligncenter { margin-left: auto; margin-right: auto; }
.nm-content iframe { max-width: 100%; }
.nm-content hr { border: 0; height: 1px; background: var(--nm-line); margin: 2.2em 0; }

.nm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.nm-tags a { border: 1px solid var(--nm-line); padding: 6px 12px; font-size: 13px; }
.nm-tags a:hover { border-color: var(--nm-navy); }

/* Author box */
.nm-author-box { display: flex; gap: 24px; align-items: flex-start; background: var(--nm-soft); border-top: 3px solid var(--nm-brand); padding: 30px; margin-top: 36px; }
.nm-scope .nm-author-box .nm-avatar { width: 88px; height: 88px; margin: 0; flex-shrink: 0; }
.nm-author-box h3 { font-size: 21px; margin: 4px 0 8px; }
.nm-author-box p { color: var(--nm-muted); font-size: 15px; margin-bottom: 10px; }
.nm-scope .nm-author-link { font: 600 14px var(--nm-head); color: var(--nm-brand-dark); }
.nm-scope .nm-author-link:hover { color: var(--nm-navy); }

/* Inline newsletter */
.nm-inline-cta { background: var(--nm-navy); color: #fff; padding: 30px; margin-top: 28px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.nm-inline-cta h3 { font-size: 22px; color: #fff; }
.nm-inline-cta p { color: #b9c3dc; font-size: 15px; margin-top: 6px !important; }
.nm-scope .nm-inline-cta .nm-btn:hover { background: #fff; color: var(--nm-navy); }
.nm-inline-cta .nm-form-msg { grid-column: 1 / -1; margin-top: -10px !important; }

/* Explore More (text cards) */
.nm-tcard { display: flex; flex-direction: column; background: #fff; border-top: 3px solid var(--nm-brand); padding: 24px 24px 22px; box-shadow: var(--nm-shadow); transition: box-shadow .3s, transform .3s; }
.nm-tcard:hover { box-shadow: var(--nm-shadow-hover); transform: translateY(-4px); }
.nm-tcard h3 { font-size: 19px; font-weight: 600; margin: 12px 0 10px; }
.nm-tcard p { color: var(--nm-muted); font-size: 15px; margin-bottom: 16px; }
.nm-tcard .nm-meta { margin-top: auto; }

/* Comments */
.nm-comments { margin-top: 44px; }
.nm-comments :is(.comments-title, .comment-reply-title) { font: 700 24px var(--nm-head); margin-bottom: 18px; }
.nm-comments .comment-list { list-style: none; padding: 0; }
.nm-comments .comment-body { border-bottom: 1px solid var(--nm-line); padding: 18px 0; }
.nm-comments .avatar { border-radius: 50%; }
.nm-comments .comment-respond { background: var(--nm-soft); padding: 28px; margin-top: 24px; }
.nm-comments .comment-respond label { display: block; font: 500 14px var(--nm-head); margin-bottom: 6px; }
.nm-comments .comment-respond input:not([type=checkbox]):not([type=submit]), .nm-comments .comment-respond textarea { border: 1px solid var(--nm-line); border-radius: 0; padding: 12px; width: 100%; font: inherit; background: #fff; }
.nm-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.nm-comments .comment-form-cookies-consent label { display: inline; font: inherit; }
.nm-scope .nm-comments .submit { background: var(--nm-brand); color: var(--nm-navy); border: 0; border-radius: 0; padding: 13px 26px; font: 600 14px var(--nm-head); cursor: pointer; }
.nm-scope .nm-comments .submit:hover { background: var(--nm-navy); color: #fff; }

/* Pagination */
.nm-pagination { margin-top: 48px; }
.nm-scope .nm-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; justify-content: center; margin: 0; padding: 0; }
.nm-pagination li { margin: 0; }
.nm-pagination a.page-numbers, .nm-pagination span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--nm-line); font: 500 14px/1 var(--nm-head); background: #fff; color: var(--nm-ink); transition: background .2s, color .2s, border-color .2s; }
.nm-pagination a.page-numbers:hover { border-color: var(--nm-navy); background: var(--nm-navy); color: #fff; }
.nm-pagination span.current { background: var(--nm-navy); color: #fff; border-color: var(--nm-navy); }
.nm-pagination span.dots { border-color: transparent; background: transparent; min-width: 24px; padding: 0 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.nm-cats { grid-template-columns: repeat(4, 1fr); }
	.nm-menu a { padding: 8px 9px; }
}
@media (max-width: 1024px) {
	.nm-nav, .nm-btn--header { display: none !important; }
	.nm-burger { display: grid !important; }
	.nm-hero-grid, .nm-two-col, .nm-split, .nm-about-grid, .nm-cta, .nm-hcards { grid-template-columns: 1fr; }
	.nm-sidebar { position: static; }
	.nm-single-body { grid-template-columns: 1fr; gap: 40px; }
	.nm-sticky { position: static; }
	.nm-toc--side { display: none; }
	.nm-toc--inline { display: block; }
	.nm-authors { grid-template-columns: repeat(2, 1fr); }
	.nm-grid3 { grid-template-columns: 1fr 1fr; }
	.nm-fgrid { grid-template-columns: 1fr 1fr; }
	.nm-about-grid { gap: 30px; }
	.nm-cta .nm-form-msg { grid-column: 1; margin-top: -16px !important; }
}
@media (max-width: 782px) {
	body.admin-bar .nm-header { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar .nm-header { top: 0; }
	.nm-sec { padding: 44px 0; }
	.nm-topbar { display: none; }
	.nm-header-inner { height: 66px; }
	.nm-scope .nm-logo img { height: 40px; }
	.nm-grid3, .nm-fgrid, .nm-authors { grid-template-columns: 1fr; }
	.nm-cats { grid-template-columns: repeat(2, 1fr); }
	.nm-hero-main .nm-media { min-height: 360px; }
	.nm-hero-side .nm-media { min-height: 220px; }
	.nm-overlay { padding: 20px; }
	.nm-overlay h2 { font-size: 24px; }
	.nm-sec-head h2 { font-size: 24px; white-space: normal; }
	.nm-about h2 { font-size: 28px; }
	.nm-stats { gap: 8px; }
	.nm-stat { padding: 12px; }
	.nm-stat b { font-size: 20px; }
	.nm-list-post, .nm-hcard { grid-template-columns: 1fr; }
	.nm-hcard .nm-media { aspect-ratio: 16 / 9; height: auto; }
	.nm-cta { padding: 30px 22px; }
	.nm-cta h2 { font-size: 24px; }
	.nm-newsletter--inline { flex-direction: column; gap: 10px; }
	.nm-page-title { font-size: 28px; }
	.nm-page-head { padding: 32px 0 36px; }
	.nm-page-body { padding-top: 32px; padding-bottom: 56px; }
	.nm-grid2 { grid-template-columns: 1fr; }
	.nm-content { font-size: 17px; }
	.nm-content h2 { font-size: 24px; }
	.nm-content h3 { font-size: 20px; }
	.nm-author-box { flex-direction: column; padding: 22px; }
	.nm-page-desc { font-size: 16px; }
	.nm-single-bar { align-items: flex-start; flex-direction: column; }
	.nm-inline-cta { grid-template-columns: 1fr; padding: 24px; }
	.nm-scope .nm-content > p:first-child { font-size: 18px; }
}
