/* National Golf Media Hub - scoped to .ngm so it never touches the rest of the site.
   Fonts are inherited from the Salient theme so everything matches. */
.ngm {
	--ngm-ocean: #212E40;
	--ngm-sand: #F4F4EE;
	--ngm-sky: #A8B8BE;
	--ngm-turf: #5F7C5D;
	max-width: 920px;
	margin: 0 auto;
	color: var(--ngm-ocean);
}
.ngm * { box-sizing: border-box; }
.ngm a { color: var(--ngm-ocean); }

.ngm-back { margin: 0 0 24px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.ngm-back a { text-decoration: none; border-bottom: 1px solid var(--ngm-sky); }

.ngm-eyebrow, .ngm-sub { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ngm-turf); margin: 0 0 8px; }
.ngm-date { margin: 0 0 20px; color: #5b6676; font-size: 14px; }
.ngm-byline { margin: 16px 0; font-size: 15px; }

.ngm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ngm-pill { background: #fff; border: 1px solid var(--ngm-sky); border-radius: 999px; padding: 4px 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.ngm-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 20px; border-radius: 8px; overflow: hidden; background: var(--ngm-ocean); }
.ngm-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ngm-embed-audio { aspect-ratio: auto; height: 232px; background: transparent; }

.ngm-hero { margin: 0 0 24px; }
.ngm-hero img { width: 100%; height: auto; border-radius: 8px; display: block; }
.ngm-portrait { max-width: 360px; }

.ngm-body { line-height: 1.7; font-size: 17px; }
.ngm-body img { max-width: 100%; height: auto; }

.ngm-btn, .ngm .ngm-btn {
	display: inline-block;
	background: var(--ngm-ocean);
	color: var(--ngm-sand) !important;
	padding: 12px 26px;
	border-radius: 4px;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.ngm-btn:hover { background: var(--ngm-turf); }
.ngm-buttons .ngm-btn { margin-right: 8px; margin-bottom: 8px; }

.ngm-canva { display: block; text-decoration: none; margin: 0 0 16px; border: 1px solid var(--ngm-sky); border-radius: 10px; overflow: hidden; background: #fff; }
.ngm-canva-bar { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--ngm-sand); border-bottom: 1px solid var(--ngm-sky); font-size: 12px; color: #5b6676; }
.ngm-canva-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ngm-sky); display: inline-block; }
.ngm-canva-bar span { margin-left: 10px; }
.ngm-canva-shot { display: block; position: relative; width: 100%; aspect-ratio: 21 / 8; max-height: 260px; overflow: hidden; background: var(--ngm-sand); }
.ngm .ngm-canva-shot img { position: absolute !important; inset: 0; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none !important; min-width: 100% !important; object-fit: cover; object-position: center center; display: block; margin: 0 !important; transition: transform .3s ease; }
.ngm-canva:hover .ngm-canva-shot img { transform: scale(1.02); }
.ngm-canva-body { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--ngm-sky); }
.ngm-canva-body .ngm-eyebrow { margin: 0 !important; }

.ngm-related { margin: 28px 0; padding: 20px 24px; background: #fff; border: 1px solid #dfe5e7; border-radius: 8px; }
.ngm-related h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.ngm-related ul { margin: 0; padding-left: 18px; }

@media (max-width: 600px) {
	.ngm-canva-body { padding: 24px 18px; }
	.ngm-body { font-size: 16px; }
	.ngm-embed-audio { height: 180px; }
}

/* Sand page background on hub pages (switchable in Settings) */
body.ngm-sand,
body.ngm-sand .site,
body.ngm-sand .site-content,
body.ngm-sand #page,
body.ngm-sand #content,
body.ngm-sand #ajax-content-wrap,
body.ngm-sand .container-wrap,
body.ngm-sand .main-content,
body.ngm-sand .entry-content,
body.ngm-sand .post-area { background-color: #F4F4EE !important; }

/* Tighter spacing on single hub pages so the box fits on one screen */
.ngm-single .ngm-back { margin: 0 0 10px !important; }
.ngm-single .ngm-sub, .ngm-single .ngm-date { margin: 0 0 8px !important; line-height: 1.3; }
.ngm-single .ngm-title { margin: 0 0 10px !important; }
.ngm-single .ngm-btn { padding: 10px 22px; }
@media (max-width: 600px) { .ngm-canva-shot { aspect-ratio: 16 / 9; } }

/* Compact title replaces the theme's large title banner (switchable in Settings) */
body.ngm-notitle .page-header-no-bg,
body.ngm-notitle #page-header-bg,
body.ngm-notitle #page-header-wrap,
body.ngm-notitle .nectar-page-header,
body.ngm-notitle .entry-header,
body.ngm-notitle .page-title,
body.ngm-notitle .page-header,
body.ngm-notitle .post-header,
body.ngm-notitle .featured-media-under-header,
body.ngm-notitle .row.heading-title,
body.ngm-notitle .heading-title,
body.ngm-notitle .section-title,
body.ngm-notitle h1.entry-title,
body.ngm-notitle .nectar-prev-next,
body.ngm-notitle #page-header-bg .span_6 { display: none !important; }
.ngm .ngm-title { margin: 0 0 24px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; color: var(--ngm-ocean); }
.ngm-page-head h2 { margin: 0; flex: 1 1 100%; color: var(--ngm-ocean); }

/* ---------- Listing pages ---------- */
.ngm [hidden] { display: none !important; }
.ngm-wide { max-width: 1180px; }
.ngm-page { padding: 8px 0 48px; }
.ngm-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 32px; }
.ngm-page-head h1 { margin: 0; flex: 1 1 100%; color: var(--ngm-ocean); }
.ngm-page-head .ngm-eyebrow { flex: 1 1 100%; margin: 0; }
.ngm-section { margin: 48px 0; }
.ngm-section > h2 { margin: 0 0 20px; }
.ngm-year-title { margin: 28px 0 14px; }
.ngm-empty-note { padding: 28px; background: #fff; border: 1px solid #dfe5e7; border-radius: 8px; text-align: center; }
.ngm-plain-list { list-style: none; margin: 0; padding: 0; }
.ngm-plain-list li { padding: 12px 0; border-bottom: 1px solid var(--ngm-sky); }
.ngm-plain-list .ngm-date { margin: 0 0 0 10px; display: inline; }

/* Card grid */
.ngm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ngm-grid-team, .ngm-grid-editions { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ngm-card { display: flex; flex-direction: column; text-decoration: none !important; color: var(--ngm-ocean) !important; background: #fff; border: 1px solid #dfe5e7; border-radius: 10px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.ngm-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(33, 46, 64, .12); }
.ngm-card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ngm-sand); overflow: hidden; }
.ngm-card-portrait { aspect-ratio: 4 / 5; }
.ngm-card-cover { aspect-ratio: 3 / 4; }
.ngm-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ngm-card-blank { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ngm-sand), var(--ngm-sky)); }
.ngm-play { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(33, 46, 64, .85); }
.ngm-play::after { content: ""; position: absolute; left: 16px; top: 11px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ngm-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.ngm-card-meta { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ngm-turf); }
.ngm-card-title { font-size: 18px; line-height: 1.3; font-weight: 600; }
.ngm-card-sub { font-size: 13px; color: #5b6676; }

/* Search and filters */
.ngm .ngm-search { width: 100%; padding: 14px 18px; border: 1px solid var(--ngm-sky); border-radius: 6px; font-size: 16px; background: #fff; margin: 0 0 18px; }
.ngm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ngm .ngm-chip { appearance: none; cursor: pointer; background: #fff !important; color: var(--ngm-ocean) !important; border: 1px solid var(--ngm-sky) !important; box-shadow: none; border-radius: 999px; padding: 8px 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ngm .ngm-chip.is-active, .ngm .ngm-chip:hover { background: var(--ngm-ocean) !important; color: var(--ngm-sand) !important; border-color: var(--ngm-ocean) !important; }
.ngm-selects { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.ngm .ngm-selects select { padding: 10px 14px; border: 1px solid var(--ngm-sky); border-radius: 6px; background: #fff; font-size: 14px; min-width: 150px; }
.ngm-count { margin: 0 0 16px; min-height: 1.4em; font-size: 14px; color: #5b6676; }

/* Boxes: Book a Lesson, What's On, Coming soon */
.ngm-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--ngm-ocean); color: var(--ngm-sand); border-radius: 10px; padding: 28px 40px; margin: 32px 0; }
.ngm-box h3, .ngm-box .ngm-box-title { color: var(--ngm-sand); margin: 0; font-size: 24px; line-height: 1.2; }
.ngm-box-text { display: flex; flex-direction: column; gap: 6px; }
.ngm-box-summary { font-size: 15px; opacity: .85; }
.ngm-eyebrow.ngm-light { color: var(--ngm-sky); }
.ngm-btn-sand, .ngm .ngm-btn-sand { background: var(--ngm-sand); color: var(--ngm-ocean) !important; }
.ngm-btn-sand:hover { background: #fff; }

/* Fold-down panels (native <details>, no script needed) */
.ngm-fold summary { list-style: none; cursor: pointer; }
.ngm-fold summary::-webkit-details-marker { display: none; }
.ngm-fold > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.ngm-fold .ngm-when-open { display: none; }
.ngm-fold[open] .ngm-when-open { display: inline; }
.ngm-fold[open] .ngm-when-closed { display: none; }
.ngm-box.ngm-fold { display: block; }
.ngm-box .ngm-fold-panel { margin-top: 20px; padding: 22px 26px; background: var(--ngm-sand); color: var(--ngm-ocean); border-radius: 8px; }
.ngm-fold-inline .ngm-fold-panel { margin-top: 20px; }

/* Updates */
.ngm-latest { margin: 0 0 48px; }
.ngm-latest h2 { margin: 0 0 6px; }
.ngm-timeline { max-width: 1000px; margin: 0 auto; }
.ngm-year h3 { margin: 28px 0 10px; font-size: 14px; letter-spacing: .18em; color: var(--ngm-turf); }
.ngm-year ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ngm-sky); }
.ngm-year li { padding: 10px 0 10px 20px; }
.ngm-year li a { text-decoration: none; }
.ngm-year li a:hover { text-decoration: underline; }

/* Through The Green */
.ngm-latest-edition { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid #dfe5e7; border-radius: 10px; padding: 32px; }
.ngm-edition-cover img, .ngm-edition-cover .ngm-card-blank { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; display: block; }
.ngm-edition-text h2 { margin: 6px 0; }

/* Home tiles */
.ngm-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0 0 24px; }
.ngm-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 140px; padding: 20px; background: var(--ngm-ocean); color: var(--ngm-sand) !important; border-radius: 10px; text-decoration: none !important; transition: background .15s ease; }
.ngm-tile:hover { background: var(--ngm-turf); }
.ngm-tile-title { font-size: 18px; font-weight: 600; }
.ngm-tile-sub { font-size: 13px; opacity: .8; }

@media (max-width: 960px) {
	.ngm-tiles { grid-template-columns: repeat(2, 1fr); }
	.ngm-latest-edition { grid-template-columns: 1fr; }
	.ngm-edition-cover { max-width: 260px; }
}
@media (max-width: 600px) {
	.ngm-box { padding: 22px; }
	.ngm .ngm-selects select { flex: 1 1 100%; }
}

/* Breathing room above and below hub content, so the first line (e.g. the
   Back link) never sits tight under the website header, even when the header
   changes size as the page is scrolled. */
body.ngm-hub .ngm { padding-top: 64px !important; padding-bottom: 80px !important; }
body.ngm-hub .ngm-single .ngm-back { margin-bottom: 20px !important; }
@media (max-width: 690px) { body.ngm-hub .ngm { padding-top: 40px !important; padding-bottom: 56px !important; } }

/* Through The Green: compact latest-edition box */
body.ngm-hub .ngm-latest-edition { grid-template-columns: 150px 1fr !important; gap: 28px !important; padding: 20px !important; }
body.ngm-hub .ngm-edition-cover img, body.ngm-hub .ngm-edition-cover .ngm-card-blank { aspect-ratio: 3 / 4; }
body.ngm-hub .ngm-edition-text h2 { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.2 !important; margin: 4px 0 !important; }
body.ngm-hub .ngm-edition-text .ngm-date { margin: 0 0 14px !important; }
body.ngm-hub .ngm-edition-text .ngm-btn { padding: 10px 22px; }
@media (max-width: 600px) { body.ngm-hub .ngm-latest-edition { grid-template-columns: 110px 1fr !important; gap: 16px !important; padding: 16px !important; } }

/* Home tiles: titles line up at the top of every box */
body.ngm-hub .ngm-tile { justify-content: flex-start !important; }
body.ngm-hub .ngm-tile-sub { line-height: 1.4 !important; }
/* Link back to the Media Hub */
body.ngm-hub .ngm-hublink { margin: 0 0 14px !important; }
body.ngm-hub .ngm-back-sep { color: var(--ngm-sky); }

/* ---- v0.2.12 ---- */
/* Page title big; section headings smaller */
body.ngm-hub .ngm-page > .ngm-title { font-size: clamp(40px, 5vw, 60px) !important; line-height: 1.1 !important; margin: 0 0 28px !important; }
body.ngm-hub .ngm-section > h2, body.ngm-hub .ngm-page h2.ngm-section-title { font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.25 !important; margin: 0 0 18px !important; }

/* Home tiles with a photo */
body.ngm-hub .ngm-tile { position: relative; justify-content: flex-end !important; min-height: 240px; padding: 0 !important; overflow: hidden; background-size: cover; background-position: center; background-color: var(--ngm-ocean); }
body.ngm-hub .ngm-tile.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(33,46,64,.92) 0%, rgba(33,46,64,.55) 45%, rgba(33,46,64,.08) 100%); transition: background .2s ease; }
body.ngm-hub .ngm-tile.has-photo:hover::before { background: linear-gradient(to top, rgba(95,124,93,.92) 0%, rgba(33,46,64,.5) 50%, rgba(33,46,64,.05) 100%); }
body.ngm-hub .ngm-tile-text { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; }
body.ngm-hub .ngm-tile-sub { opacity: .9; }
@media (max-width: 960px) { body.ngm-hub .ngm-tile { min-height: 180px; } }

/* Through The Green latest edition: tall photo, text centred beside it */
body.ngm-hub .ngm-latest-edition { grid-template-columns: 300px 1fr !important; gap: 0 !important; padding: 0 !important; overflow: hidden; align-items: stretch !important; min-height: 340px; }
body.ngm-hub .ngm-edition-cover { position: relative; min-height: 100%; }
body.ngm-hub .ngm-edition-cover img, body.ngm-hub .ngm-edition-cover .ngm-card-blank { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; aspect-ratio: auto !important; border-radius: 0 !important; object-fit: cover; object-position: center; }
body.ngm-hub .ngm-edition-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px 48px; }
@media (max-width: 760px) {
	body.ngm-hub .ngm-latest-edition { grid-template-columns: 1fr !important; min-height: 0; }
	body.ngm-hub .ngm-edition-cover { min-height: 220px; max-width: none !important; }
	body.ngm-hub .ngm-edition-text { padding: 24px; }
}

/* ---- v0.2.14 ---- */
/* Home tiles: titles line up whether the small text is one line or two */
body.ngm-hub .ngm-tile-sub { min-height: 2.8em; }

/* Timeline: previous editions and previous updates */
body.ngm-hub .ngm-timeline { max-width: none; margin: 40px 0 0; }
body.ngm-hub .ngm-tl-year h3 { margin: 32px 0 14px; }
body.ngm-hub .ngm-tl-list { list-style: none !important; margin: 0 0 0 6px !important; padding: 0 !important; border-left: 2px solid var(--ngm-sky); }
body.ngm-hub .ngm-tl-item { position: relative; margin: 0 !important; padding: 0 0 14px 28px !important; list-style: none !important; }
body.ngm-hub .ngm-tl-item::before { content: ""; position: absolute; left: -8px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--ngm-turf); border: 3px solid var(--ngm-sand); box-sizing: content-box; margin-left: -3px; margin-top: -3px; }
body.ngm-hub .ngm-tl-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; background: #fff; border: 1px solid #dfe5e7; border-radius: 10px; text-decoration: none !important; color: var(--ngm-ocean) !important; transition: border-color .15s ease, transform .15s ease; }
body.ngm-hub .ngm-tl-link:hover { border-color: var(--ngm-turf); transform: translateX(2px); text-decoration: none !important; }
body.ngm-hub .ngm-tl-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.ngm-hub .ngm-tl-date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ngm-turf); }
body.ngm-hub .ngm-tl-title { font-size: 18px; line-height: 1.3; font-weight: 600; }
body.ngm-hub .ngm-tl-thumb { flex: 0 0 auto; width: 96px; height: 64px; border-radius: 6px; overflow: hidden; }
body.ngm-hub .ngm-tl-thumb img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
@media (max-width: 600px) { body.ngm-hub .ngm-tl-thumb { width: 72px; height: 54px; } body.ngm-hub .ngm-tl-item { padding-left: 22px !important; } }

/* ---- v0.2.15 ---- */
/* Year drop-downs in the timeline */
body.ngm-hub .ngm-tl-year { margin: 0 0 8px; border-bottom: 1px solid #dfe5e7; }
body.ngm-hub .ngm-tl-year > summary { display: flex; align-items: baseline; gap: 16px; padding: 14px 4px; cursor: pointer; list-style: none !important; }
body.ngm-hub .ngm-tl-year > summary::-webkit-details-marker { display: none; }
body.ngm-hub .ngm-tl-year > summary::marker { content: ""; }
body.ngm-hub .ngm-tl-year > summary::after { content: ""; margin-left: auto; align-self: center; width: 10px; height: 10px; border-right: 2px solid var(--ngm-ocean); border-bottom: 2px solid var(--ngm-ocean); transform: rotate(45deg); transition: transform .2s ease; }
body.ngm-hub .ngm-tl-year[open] > summary::after { transform: rotate(-135deg); }
body.ngm-hub .ngm-tl-year .ngm-tl-yearname { margin: 0 !important; padding: 0 !important; font-size: clamp(32px, 3.4vw, 46px) !important; line-height: 1.1 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ngm-ocean) !important; }
body.ngm-hub .ngm-tl-year .ngm-tl-yearcount { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ngm-turf); }
body.ngm-hub .ngm-tl-year .ngm-tl-list { margin-top: 8px !important; margin-bottom: 20px !important; }

/* Flick-through booklet */
body.ngm-hub .ngm-book { margin: 28px 0; padding: 20px; background: #e9ece6; border-radius: 10px; outline: none; }
body.ngm-hub .ngm-book-title { margin: 0 0 14px !important; font-size: 22px !important; }
body.ngm-hub .ngm-book-stage { display: flex; justify-content: center; align-items: center; min-height: 240px; }
body.ngm-hub .ngm-book-msg { margin: 0; color: #5b6676; text-align: center; }
body.ngm-hub .ngm-book-spread { display: flex; justify-content: center; align-items: stretch; box-shadow: 0 10px 34px rgba(33,46,64,.22); background: #fff; max-width: 100%; }
body.ngm-hub .ngm-book-spread.turn-next { animation: ngm-turn-next .35s ease; }
body.ngm-hub .ngm-book-spread.turn-prev { animation: ngm-turn-prev .35s ease; }
@keyframes ngm-turn-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ngm-turn-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
body.ngm-hub .ngm-book-page { display: flex; min-width: 0; }
body.ngm-hub .ngm-book-page + .ngm-book-page { box-shadow: inset 14px 0 18px -14px rgba(0,0,0,.28); }
body.ngm-hub .ngm-book-page img, body.ngm-hub .ngm-book-page canvas { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 78vh !important; margin: 0 !important; }
body.ngm-hub .ngm-book-spread:not(.is-single) .ngm-book-page img, body.ngm-hub .ngm-book-spread:not(.is-single) .ngm-book-page canvas { max-width: 100% !important; }
body.ngm-hub .ngm-book-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; }
body.ngm-hub .ngm-book-bar button, body.ngm-hub .ngm-book-bar .ngm-book-dl { padding: 9px 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: var(--ngm-ocean); color: var(--ngm-sand) !important; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none !important; line-height: 1.2; }
body.ngm-hub .ngm-book-bar button:disabled { opacity: .35; cursor: default; }
body.ngm-hub .ngm-book-bar .ngm-book-full, body.ngm-hub .ngm-book-bar .ngm-book-dl { background: transparent !important; color: var(--ngm-ocean) !important; border: 1px solid var(--ngm-ocean) !important; }
body.ngm-hub .ngm-book-pos { min-width: 150px; text-align: center; font-size: 14px; color: #5b6676; }
body.ngm-hub .ngm-book.is-fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; background: #1b2531; padding: 16px; }
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-title { display: none; }
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-page img, body.ngm-hub .ngm-book.is-fullscreen .ngm-book-page canvas { max-height: calc(100vh - 110px) !important; }
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-pos { color: #cfd6dd; }
@media (max-width: 600px) { body.ngm-hub .ngm-book { padding: 12px; } body.ngm-hub .ngm-book-bar .ngm-book-pos { order: 3; width: 100%; } }

/* ---- v0.2.17 ---- */
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-bar button,
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-bar .ngm-book-full,
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-bar .ngm-book-dl { background: var(--ngm-sand) !important; color: var(--ngm-ocean) !important; border: 1px solid var(--ngm-sand) !important; }
body.ngm-hub .ngm-book.is-fullscreen .ngm-book-bar button:disabled { opacity: .35; }

/* ---- v0.2.18: more breathing room ---- */
/* Archive and other listing pages */
body.ngm-hub .ngm-page .ngm-back, body.ngm-hub .ngm-page .ngm-hublink { margin-bottom: 32px !important; }
body.ngm-hub .ngm-page > .ngm-title { margin-bottom: 40px !important; }
body.ngm-hub .ngm .ngm-search { margin: 0 0 28px !important; padding: 16px 20px !important; }
body.ngm-hub .ngm-chips { gap: 12px !important; margin: 0 0 32px !important; }
body.ngm-hub .ngm-selects { gap: 16px !important; margin: 0 0 40px !important; }
body.ngm-hub .ngm-count { margin: 0 0 24px !important; }
body.ngm-hub .ngm-grid { gap: 36px 28px !important; }
body.ngm-hub .ngm-section { margin-top: 56px; }
body.ngm-hub .ngm-section > h2 { margin-bottom: 28px !important; }
body.ngm-hub .ngm-card-body { gap: 8px !important; padding: 20px 22px 24px !important; }

/* Article pages: title, brought-to-you-by, date, category, then the text */
body.ngm-hub .ngm-single.ngm-article .ngm-title { margin-bottom: 14px !important; }
body.ngm-hub .ngm-single.ngm-article .ngm-byline { margin: 0 0 6px !important; font-size: 17px; }
body.ngm-hub .ngm-single.ngm-article .ngm-date { margin: 0 0 22px !important; font-size: 15px; }
body.ngm-hub .ngm-single.ngm-article .ngm-pills { margin: 0 0 36px !important; }
body.ngm-hub .ngm-single.ngm-article .ngm-hero { margin-bottom: 36px; }
body.ngm-hub .ngm-single.ngm-article .ngm-body p { margin-bottom: 1.4em; line-height: 1.75; }
