/* Newport Beach Daily News brand v0.2 (draft, 2026-11-25). Loaded only when nbdn_brand_v2() is on.
   Phone-first: Old Standard TT only for big headlines; Newsreader for small headlines, decks, body, captions;
   Oswald caps for short labels (12px minimum). Fonts self-hosted from Google Fonts files (SIL OFL). */
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/old-standard-tt-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2"); }

:root {
	--paper: #F7F3EA; --paper-2: #E9E2D2; --ink: #1B1A17; --ink-2: #5C574E; --ink-3: #5C574E; --rule: #D6CDBB;
	--accent: #22395A; --accent-ink: #172840; --accent-tint: #E9E2D2; --sun: #9E2A22; --red: #9E2A22;
	--band: #1B1A17; --band-ink: #EFE9DC; --band-muted: #C9C0AE; --btn-ink: #F7F3EA; --field: #FFFDF8;
	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Newsreader", Georgia, "Times New Roman", serif;
	--display: "Old Standard TT", Georgia, "Times New Roman", serif;
	--label: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--radius: 0;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--paper: #161512; --paper-2: #23211D; --ink: #EFE9DC; --ink-2: #ABA393; --ink-3: #ABA393; --rule: #3A3630;
		--accent: #8FA9CC; --accent-ink: #B5C8E0; --accent-tint: #23211D; --sun: #E0625A; --red: #E0625A;
		--band: #0E0D0B; --band-ink: #EFE9DC; --band-muted: #ABA393; --btn-ink: #161512; --field: #1F1D19;
		color-scheme: dark;
	}
}

/* Base: body and UI text in Newsreader; links navy and underlined in stories */
body { font-family: var(--serif); font-size: 17px; line-height: 1.55; }
a:hover { color: var(--accent); }

/* Labels: Oswald caps, 12px minimum */
.kicker, .label, .rail-heading, .promo__eyebrow, .band__eyebrow, .archive-head__eyebrow, .footer__heading, .share__label,
.widget-title, .article__sidebar h2:not(.widget-title), .entry-content h4, .nav__list a, .btn, .topbar, .section-head__more,
.story__meta, .article__byline, .pagination .page-numbers, .legend__more, .tag-list a, .place__cat {
	font-family: var(--label);
}
.kicker { font-weight: 500; font-size: 12.5px; letter-spacing: .12em; color: var(--red); }
.kicker:hover { color: var(--red); text-decoration: underline; }
.label { font-weight: 500; font-size: 12px; letter-spacing: .1em; border-radius: 0; }
.label--opinion { background: var(--red); color: var(--btn-ink); }
.rail-heading, .widget-title, .article__sidebar h2:not(.widget-title) { font-weight: 600; font-size: 13px; letter-spacing: .14em; }
.promo__eyebrow, .band__eyebrow, .archive-head__eyebrow { font-weight: 500; font-size: 12.5px; letter-spacing: .14em; color: var(--red); }
.band--directory .band__eyebrow { color: var(--band-muted); }
.footer__heading, .share__label { font-weight: 500; font-size: 12px; letter-spacing: .14em; }
.story__meta { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.article__byline { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.article__author { font-weight: 500; }
.section-head__more { font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.topbar { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.topbar__links a { font-weight: 500; }

/* Buttons: square, navy, 44px tap targets */
.btn { font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-radius: 0; min-height: 44px; padding: 10px 20px; }
.btn--accent { background: var(--accent); color: var(--btn-ink); }
.btn--accent:hover { background: var(--accent-ink); color: var(--btn-ink); }
.btn--light { background: var(--band-ink); color: var(--band); }
.btn--light:hover { background: #fff; color: var(--band); }
.btn--ghost-light { border-color: rgba(239,233,220,.5); color: var(--band-ink); }

/* Nameplate (logo file, inline SVG) + double rule */
.nameplate__title { font-size: 0; line-height: 0; letter-spacing: 0; }
.nameplate__title a { display: block; color: var(--ink); }
.nameplate .nbdn-nameplate { display: block; width: min(620px, 52vw); height: auto; margin: 0 auto; }
.nameplate__tagline { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.nav { border-top: 5px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.nav::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1.5px solid var(--ink); }
.nav__list a { font-weight: 500; font-size: 14px; letter-spacing: .1em; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-post-ancestor > a, .nav__list .current-menu-parent > a { border-bottom-color: var(--red); }
.nav__search input, .search-form .search-field, .article__sidebar .widget input[type="search"], .article__sidebar .widget input[type="text"],
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { background: var(--field); color: var(--ink); border-radius: 0; font-size: 16px; }

/* Headlines: Old Standard TT for big ones, Newsreader semibold for small ones */
.article__title, .story--lead .story__title, .archive-head__title, .section-head__title, .band__title, .subscribe-band__title,
.page-article__header h1, .page-title, .entry-title, .comments__title, .not-found h1 {
	font-family: var(--display); font-weight: 700; letter-spacing: -0.005em;
}
.article__title { font-size: clamp(30px, 6.4vw, 50px); line-height: 1.08; }
.story--lead .story__title { font-size: clamp(28px, 5.6vw, 42px); line-height: 1.08; }
.section-head { border-top: 5px solid var(--ink); position: relative; }
.section-head::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1.5px solid var(--ink); }
.section-head { padding-top: 14px; }
.section-head__title { font-size: clamp(26px, 4.6vw, 32px); }
.story__title, .story--list .story__title, .latest-list a, .promo__title, .inline-subscribe__title, .place__name { font-family: var(--serif); font-weight: 600; }
.story__title { font-size: 20px; line-height: 1.22; }
.story--row .story__title, .section-block--grid .story__title, .grid-4 .story__title { font-size: 19px; }
.story--list .story__title { font-size: 18px; font-weight: 600; }
.latest-list li::before { font-family: var(--display); color: var(--red); }

/* Decks and body */
.story__dek, .article__dek, .archive-head__desc, .band__text, .subscribe-band__text { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.article__dek { font-size: clamp(19px, 2.4vw, 22px); }
.band--directory .band__text { color: var(--band-muted); }
.entry-content { font-size: 19px; line-height: 1.6; }
@media (min-width: 800px) { .entry-content { font-size: 20px; line-height: 1.62; } }
.entry-content h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.entry-content h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.entry-content h4 { font-weight: 500; font-size: 14px; letter-spacing: .1em; }
.entry-content a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { border-left-color: var(--red); }
.entry-content .wp-block-pullquote, .entry-content .pullquote { font-family: var(--display); border-top: 5px solid var(--ink); }
.entry-content figcaption, .entry-content .wp-caption-text, .article__figure figcaption { font-family: var(--serif); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.entry-content table { font-family: var(--serif); font-size: 16px; }
.share a, .legend__more, .not-found__sections a { color: var(--accent); }
.tag-list a { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-radius: 0; }

/* Panels and bands */
.promo, .inline-subscribe { background: var(--paper-2); border-top: 5px solid var(--ink); }
.subscribe-band__inner { background: var(--paper-2); border-left: 0; border-top: 5px solid var(--ink); }
.subscribe-band .band__eyebrow { color: var(--red); }
.band--directory { background: var(--band); color: var(--band-ink); }
.band--directory .band__title { color: var(--band-ink); }
.place a { background: var(--band); }
.place a:hover { background: #2A2823; color: var(--band-ink); }
.place__name { color: var(--band-ink); }
.place__cat { color: var(--band-muted); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.band--legend .band__eyebrow { color: var(--red); }
.legend__photo img, .story__media, .story__media img { border-radius: 0; }
.pagination .page-numbers { background: var(--field); border-radius: 0; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }

/* Footer: ink band, paper text */
.site-footer { background: #1B1A17; color: #C9C0AE; }
.footer__name { font-size: 0; line-height: 0; margin-bottom: 14px; color: #EFE9DC; }
.footer__name .nbdn-nameplate { display: block; width: min(320px, 100%); height: auto; }
.footer__heading, .footer__legal { color: #ABA393; }
.footer__col a, .social a { color: #EFE9DC; }
.footer__col a:hover, .social a:hover { color: #fff; text-decoration: underline; }
.footer__legal { border-top-color: rgba(239,233,220,.15); }

/* Phones: nameplate gets its own full-width row; tagline hidden */
@media (max-width: 800px) {
	.masthead { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "tog . act" "plate plate plate"; row-gap: 10px; padding-top: 10px; padding-bottom: 14px; }
	.nav-toggle { grid-area: tog; width: 44px; height: 44px; }
	.masthead__actions { grid-area: act; }
	.masthead__actions .btn { min-height: 40px; padding: 8px 14px; font-size: 13px; }
	.nameplate { grid-area: plate; grid-column: 1 / -1; }
	.nameplate .nbdn-nameplate { width: 100%; max-width: 560px; }
	.site-header { border-bottom: 0; }
	.site-header::after { content: ""; display: block; height: 3px; border-top: 5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin: 0 var(--gutter); box-sizing: content-box; }
	.nav { border-top: 0; }
	.nav::before { display: none; }
	.nav__list a { padding: 14px 0; font-size: 15px; }
}
@media (max-width: 480px) {
	.nameplate__tagline { display: none; }
	.story__title { font-size: 19px; }
	.kicker { font-size: 12px; }
}

/* Share and listen bars (inline CSS from functions.php uses fixed colours) */
.nbdn-share { border-top-color: var(--rule); border-bottom-color: var(--rule); }
.nbdn-share__label { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nbdn-share a.nbdn-share__btn, .nbdn-share button { background: var(--field); color: var(--ink) !important; border-color: var(--rule); border-radius: 0; font-family: var(--label); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; min-height: 38px; padding: 8px 12px; }
.nbdn-share a.nbdn-share__btn:hover, .nbdn-share button:hover { border-color: var(--ink); }
.nbdn-share button.nbdn-share__native { background: var(--accent); border-color: var(--accent); color: var(--btn-ink) !important; }
.nbdn-listen { font-family: var(--label); }
.nbdn-listen button { border-radius: 0; min-height: 44px; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.nbdn-listen__play { background: var(--accent); border-color: var(--accent); color: var(--btn-ink); font-weight: 500; }

/* Horoscope band: always ink band with paper text (its inline CSS uses --paper for text) */
.band--horoscope, .horoscope__title, .horoscope__sign-title { color: var(--band-ink); }
.band--horoscope .band__eyebrow { color: #E0625A; }
.horoscope__title { font-family: var(--display); font-weight: 700; }
.horoscope__sign { border-color: rgba(239,233,220,.25); border-radius: 0; font-family: var(--serif); }
.horoscope__sign.is-active { background: #9E2A22; border-color: #9E2A22; color: #F7F3EA; }
.horoscope__panel { border-radius: 0; border-left-color: #9E2A22; background: rgba(239,233,220,.06); }

/* Thumbnails in row and phone cards: don't stretch the image box to the text height */
.story--row .story__media, .section-block--grid .story--card .story__media, .grid-4 .story--card .story__media { align-self: start; background: none; }

/* Sailboat seal (concept B): left ear of the masthead on desktop, centred in the top row on phones */
.masthead::before { content: ""; grid-column: 1; grid-row: 1; justify-self: start; align-self: center; width: clamp(72px, 7vw, 100px); aspect-ratio: 1; background: url("../brand/seal-ink.svg") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .masthead::before { background-image: url("../brand/seal-paper.svg"); } }
@media (max-width: 800px) {
	.masthead { grid-template-areas: "tog seal act" "plate plate plate"; }
	.masthead::before { grid-area: seal; grid-column: auto; grid-row: auto; justify-self: center; width: 52px; }
}

/* Tagline hidden in the masthead (andy, 2026-11-25). The WordPress tagline setting itself is unchanged. */
.nameplate__tagline { display: none; }

/* Share bar v2 (andy, 2026-11-25): one share bar (top), icon buttons; the bottom "Share" list is hidden. */
body.nbdn-v2 .article__footer .share { display: none; }
body.nbdn-v2 .nbdn-share { gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
body.nbdn-v2 .nbdn-share__label { font-family: var(--label); font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
body.nbdn-v2 .nbdn-share a.nbdn-share__btn, body.nbdn-v2 .nbdn-share button.nbdn-share__native { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; font-size: 0 !important; line-height: 0; color: var(--ink) !important; background: transparent; border: 1px solid var(--rule); border-radius: 0; display: inline-flex; align-items: center; justify-content: center; }
body.nbdn-v2 .nbdn-share a.nbdn-share__btn::before, body.nbdn-v2 .nbdn-share button.nbdn-share__native::before, body.nbdn-v2 .nbdn-share button.nbdn-share__copy::before { content: ""; width: 19px; height: 19px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; display: block; }
body.nbdn-v2 .nbdn-share a.nbdn-share__btn:hover, body.nbdn-v2 .nbdn-share button:hover { border-color: var(--ink); background: var(--paper-2); }
body.nbdn-v2 .nbdn-share a[href*="facebook.com"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M14%208h3V4h-3c-2.8%200-4.5%201.8-4.5%204.6V11H7v4h2.5v9h4v-9H17l.5-4h-4V8.9c0-.6.4-.9%201-.9Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .nbdn-share a[href*="x.com/intent"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M4%204h4.6l4%205.6L17.3%204H20l-6.1%207.1L20.6%2020H16l-4.3-6-5.2%206H3.8l6.6-7.6L4%204Zm3%201.6%209.8%2012.8h1.5L8.6%205.6H7Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .nbdn-share a[href*="linkedin.com"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M5%209h3v11H5V9Zm1.5-5A1.75%201.75%200%201%201%206.5%207.5%201.75%201.75%200%200%201%206.5%204ZM10%209h2.9v1.6c.5-.9%201.7-1.9%203.5-1.9%203.1%200%203.6%202%203.6%204.6V20h-3v-5.2c0-1.3%200-2.9-1.8-2.9s-2.1%201.4-2.1%202.8V20H10V9Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .nbdn-share a[href^="mailto:"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M3%205h18v14H3V5Zm2%202v.5l7%204.6%207-4.6V7H5Zm14%202.9-7%204.6-7-4.6V17h14V9.9Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .nbdn-share a[href^="sms:"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M4%204h16v12H8l-4%204V4Zm2%202v9.2L7.2%2014H18V6H6Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .nbdn-share button.nbdn-share__native { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M12%203l4%204-1.4%201.4L13%206.8V15h-2V6.8L9.4%208.4%208%207l4-4Zm-7%209h3v2H7v6h10v-6h-1v-2h3v10H5V12Z'%2F%3E%3C%2Fsvg%3E"); background: var(--accent); border-color: var(--accent); color: var(--btn-ink) !important; }
body.nbdn-v2 .nbdn-share button.nbdn-share__native:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
body.nbdn-v2 .nbdn-share a[href*="threads.net"], body.nbdn-v2 .nbdn-share a[href*="wa.me"] { display: none; }
body.nbdn-v2 .nbdn-share button.nbdn-share__copy { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M10.6%2013.4a1%201%200%200%201%200-1.4l3.5-3.5a1%201%200%201%201%201.4%201.4l-3.5%203.5a1%201%200%200%201-1.4%200ZM8.5%2019.5a4.5%204.5%200%200%201-3.2-7.7l2.1-2.1%201.4%201.4-2.1%202.1a2.5%202.5%200%200%200%203.5%203.5l2.1-2.1%201.4%201.4-2.1%202.1a4.5%204.5%200%200%201-3.1%201.4Zm8.1-5.2-1.4-1.4%202.1-2.1a2.5%202.5%200%200%200-3.5-3.5l-2.1%202.1-1.4-1.4%202.1-2.1a4.5%204.5%200%200%201%206.4%206.4l-2.2%202Z'%2F%3E%3C%2Fsvg%3E"); display: inline-flex; align-items: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--ink) !important; border: 1px solid var(--rule); border-radius: 0; font-family: var(--label); font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
body.nbdn-v2 .nbdn-share button.nbdn-share__copy::before { width: 17px; height: 17px; }
@media (min-width: 801px) { body.nbdn-v2 .nbdn-share a[href^="sms:"] { display: none; } }
@media (max-width: 480px) { body.nbdn-v2 .nbdn-share__label { width: 100%; margin: 0 0 2px; } body.nbdn-v2 .nbdn-share { gap: 6px; } }

body.nbdn-v2 .nbdn-listen button { border-radius: 0; font-family: var(--label); letter-spacing: .1em; text-transform: uppercase; font-size: 13px; min-height: 44px; }
body.nbdn-v2 .nbdn-listen__play { background: var(--accent); border-color: var(--accent); color: var(--btn-ink); font-weight: 500; }

@media (max-width: 480px) { body.nbdn-v2 .nbdn-share button.nbdn-share__copy { width: 44px; padding: 0; font-size: 0; justify-content: center; gap: 0; } body.nbdn-v2 .nbdn-share button.nbdn-share__copy::before { width: 19px; height: 19px; } }

/* ===== Quick wins from the design review (2026-11-25) ===== */
/* 1. Phones: one slim top line (date + weather), account links move into the menu */
@media (max-width: 800px) {
	body.nbdn-v2 .topbar__inner { flex-wrap: nowrap; min-height: 34px; gap: 12px; }
	body.nbdn-v2 .topbar__links { display: none; }
	body.nbdn-v2 .nbdn-ticker { order: 0; flex: 1 1 auto; min-width: 0; flex-basis: auto; margin: 0; }
	body.nbdn-v2 .topbar__date { white-space: nowrap; font-size: 11.5px; }
	body.nbdn-v2 .masthead { padding-top: 6px; padding-bottom: 10px; row-gap: 4px; }
	body.nbdn-v2 .masthead::before { width: 44px; }
	body.nbdn-v2 .nav-toggle { width: 40px; height: 40px; }
	body.nbdn-v2 .masthead__actions .btn { min-height: 38px; padding: 6px 12px; }
}
body.nbdn-v2 .nav__extra { display: none; }
@media (max-width: 800px) { body.nbdn-v2 .nav__extra { display: list-item; } body.nbdn-v2 .nav__extra a { color: var(--ink-2); } }

/* Compact header after scrolling (all widths) */
.nbdn-compact { position: fixed; top: 0; left: 0; right: 0; z-index: 9990; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 2px 0 -1px var(--paper), 0 3px 0 -1px var(--ink); transform: translateY(-120%); transition: transform .2s ease; }
.nbdn-compact.is-on { transform: none; }
.nbdn-compact__in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 54px; display: flex; align-items: center; gap: 12px; }
.nbdn-compact__seal { width: 34px; height: 34px; flex: none; background: url("../brand/seal-ink.svg") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .nbdn-compact__seal { background-image: url("../brand/seal-paper.svg"); } }
.nbdn-compact__home { flex: 1; min-width: 0; color: var(--ink); display: flex; justify-content: center; }
.nbdn-compact__home .nbdn-nameplate { height: 24px; width: auto; max-width: 100%; display: block; }
.nbdn-compact__sub { min-height: 36px !important; padding: 6px 12px !important; font-size: 12px !important; flex: none; }
.nbdn-compact__back { flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font: 400 34px/1 var(--serif); cursor: pointer; padding: 0 0 4px; }
body.admin-bar .nbdn-compact { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nbdn-compact { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .nbdn-compact { top: 0; } }
@media (min-width: 801px) { .nbdn-compact__home { justify-content: flex-start; } }

/* 9. Home-screen app: Back link on articles, room for the phone status bar */
.nbdn-app-back { display: inline-block; margin: 0 0 14px; padding: 8px 0; border: 0; background: none; color: var(--accent); font: 500 14px var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
body.is-app .nbdn-compact__in { padding-top: env(safe-area-inset-top); height: calc(54px + env(safe-area-inset-top)); }

/* 3. Black Friday offer: slim bottom banner instead of a full-screen pop-up */
body.nbdn-v2 .nbdn-bf { inset: auto 0 0 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; display: block; }
body.nbdn-v2 .nbdn-bf[hidden] { display: none; }
body.nbdn-v2 .nbdn-bf__card { max-width: none; width: 100%; border-radius: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.18); border-top: 5px solid var(--ink); background: var(--paper); color: var(--ink); text-align: left; padding: 14px max(var(--gutter), calc((100% - var(--wrap)) / 2)) 12px; display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center; animation: none; }
body.nbdn-v2 .nbdn-bf__close { top: 6px; right: 8px; }
body.nbdn-v2 .nbdn-bf__eyebrow { grid-column: 1; margin: 0 0 2px; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--red); }
body.nbdn-v2 .nbdn-bf__title { grid-column: 1; margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.2; }
body.nbdn-v2 .nbdn-bf__price { display: inline; font-size: inherit; color: var(--red); margin: 0; }
body.nbdn-v2 .nbdn-bf__price small { font-size: .8em; }
body.nbdn-v2 .nbdn-bf__was { grid-column: 1; margin: 2px 0 0; font-size: 14px; }
body.nbdn-v2 .nbdn-bf__cta { grid-column: 2; grid-row: 1 / span 3; width: auto; font-size: 14px; padding: 10px 18px; }
body.nbdn-v2 .nbdn-bf__no { grid-column: 2; margin: 4px 0 0; font-size: 13px; justify-self: center; }
body.nbdn-v2 .nbdn-bf__fine { grid-column: 1 / -1; margin: 6px 0 0; font-size: 11px; }
@media (max-width: 640px) {
	body.nbdn-v2 .nbdn-bf__card { grid-template-columns: 1fr; padding-right: 44px; }
	body.nbdn-v2 .nbdn-bf__was { display: none; }
	body.nbdn-v2 .nbdn-bf__cta { grid-column: 1; grid-row: auto; margin-top: 10px; text-align: center; }
	body.nbdn-v2 .nbdn-bf__no { grid-column: 1; }
}

/* 4. Less clutter: no boxed "NEWS" label; hide the internal "top-story" tag */
body.nbdn-v2 .label--news { display: none; }
body.nbdn-v2 .tag-list li:has(a[href*="/tag/top-story"]) { display: none; }
body.nbdn-v2 .tag-list:has(> li:only-child > a[href*="/tag/top-story"]) { display: none; }
body.nbdn-v2 .article__footer:has(.tag-list > li:only-child > a[href*="/tag/top-story"]), body.nbdn-v2 .article__footer:not(:has(.tag-list)) { display: none; }

/* 6. Business directory in the paper's style */
body.nbdn-v2 .geodir-post .card { border-radius: 0; border: 1px solid var(--rule); background: var(--paper); box-shadow: none; }
body.nbdn-v2 .geodir-post .card-body { padding: 14px 16px !important; }
body.nbdn-v2 .geodir-entry-title, body.nbdn-v2 .geodir-entry-title a { font-family: var(--serif); font-weight: 600; color: var(--ink); }
body.nbdn-v2 .gd-badge { background: var(--red) !important; border-color: var(--red) !important; border-radius: 0 !important; font: 500 11px var(--label) !important; letter-spacing: .1em; text-transform: uppercase; }
body.nbdn-v2 .gd-badge i { display: none; }
body.nbdn-v2 .geodir-post-rating-value-0 { display: none !important; }
body.nbdn-v2 .geodir-post .card i.fas, body.nbdn-v2 .geodir-post .card .geodir-i-address i { color: var(--ink-2); }
body.nbdn-v2 .bsui .btn-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--btn-ink) !important; border-radius: 0 !important; }
body.nbdn-v2 .bsui .btn-outline-primary { color: var(--ink) !important; border-color: var(--rule) !important; background: transparent !important; border-radius: 0 !important; font-family: var(--label); letter-spacing: .08em; text-transform: uppercase; }
body.nbdn-v2 .bsui .form-control, body.nbdn-v2 .bsui .form-select, body.nbdn-v2 .bsui input[type="text"], body.nbdn-v2 .bsui input[type="search"] { border-radius: 0 !important; background: var(--field) !important; border-color: var(--rule) !important; color: var(--ink) !important; }
body.nbdn-v2 .bsui .input-group-text { border-radius: 0 !important; background: var(--paper-2) !important; border-color: var(--rule) !important; }
body.nbdn-v2 .bsui a { color: var(--accent); }

/* 7. Subscribe page: one clear offer */
body.nbdn-has-offer .pmpro_card { border-radius: 0; border: 1px solid var(--rule); border-top: 5px solid var(--ink); background: var(--paper); box-shadow: none; }
body.nbdn-has-offer .pmpro_card_title { font-family: var(--display); font-weight: 700; font-size: 28px; }
body.nbdn-has-offer .pmpro_levels_table thead, body.nbdn-has-offer #pmpro_level-1 th, body.nbdn-has-offer #pmpro_level-1 .pmpro_level-price { display: none; }
body.nbdn-has-offer .pmpro_levels_table, body.nbdn-has-offer .pmpro_levels_table tbody, body.nbdn-has-offer .pmpro_levels_table tr, body.nbdn-has-offer .pmpro_levels_table td, body.nbdn-has-offer .pmpro_levels_table th { display: block; width: 100%; border: 0; padding: 0; }
body.nbdn-has-offer #pmpro_level-2 th { font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 4px; }
body.nbdn-has-offer #pmpro_level-2 .pmpro_level-price { margin: 0 0 12px; color: var(--ink-2); }
body.nbdn-has-offer .pmpro_btn { display: block; width: 100%; text-align: center; border-radius: 0; background: var(--accent); border-color: var(--accent); color: var(--btn-ink); font: 500 15px var(--label); letter-spacing: .1em; text-transform: uppercase; min-height: 48px; padding: 14px 18px; }
body.nbdn-has-offer #pmpro_level_group-2 .pmpro_btn { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.nbdn-offer__price { margin: 4px 0 12px; font: 400 18px var(--serif); color: var(--ink-2); }
.nbdn-offer__price b { font: 700 44px/1 var(--display); color: var(--ink); margin-right: 4px; }
.nbdn-offer__list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--rule); }
.nbdn-offer__list li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule); position: relative; font: 400 17px/1.4 var(--serif); }
.nbdn-offer__list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

body.nbdn-has-offer .pmpro_levels_table td::before, body.nbdn-has-offer .pmpro_levels_table th::before { display: none !important; content: none !important; }
body.nbdn-has-offer .pmpro_levels_table, body.nbdn-has-offer .pmpro_levels_table tr, body.nbdn-has-offer .pmpro_levels_table td, body.nbdn-has-offer .pmpro_levels_table th { background: none !important; box-shadow: none !important; }
body.nbdn-has-offer .nbdn-offer__list { padding-left: 0 !important; margin-left: 0 !important; }
body.nbdn-has-offer .pmpro_card_content { padding-top: 0; }

/* ===== Remaining review items (2026-11-25) ===== */
/* 2. Shorter homepage on phones: 3 stories per section, horoscope moves to the end */
@media (max-width: 800px) {
	body.home.nbdn-v2 .site-main { display: flex; flex-direction: column; }
	body.home.nbdn-v2 .site-main > .band--horoscope { order: 50; }
	body.home.nbdn-v2 .section-block--grid .section-block__body > :nth-child(n+4),
	body.home.nbdn-v2 .section-block--feature .section-block__body > :nth-child(n+4) { display: none; }
}
/* 5. Auto-made title-card images: keep the left edge (where the headline starts) instead of a centre crop */
body.nbdn-v2 img[src*="-card."], body.nbdn-v2 img[src*="-card-"] { object-position: left center; }
/* 8. Footer social links as icons */
body.nbdn-v2 .social { gap: 10px; }
body.nbdn-v2 .social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 0; border: 1px solid rgba(239,233,220,.3); color: #EFE9DC; }
body.nbdn-v2 .social a:hover { border-color: #EFE9DC; background: rgba(239,233,220,.08); text-decoration: none; }
body.nbdn-v2 .social a::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
body.nbdn-v2 .social a[href*="facebook.com"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M14%208h3V4h-3c-2.8%200-4.5%201.8-4.5%204.6V11H7v4h2.5v9h4v-9H17l.5-4h-4V8.9c0-.6.4-.9%201-.9Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .social a[href*="instagram.com"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M12%207.2A4.8%204.8%200%201%200%2012%2016.8%204.8%204.8%200%200%200%2012%207.2Zm0%207.8a3%203%200%201%201%200-6%203%203%200%200%201%200%206Zm5-8.9a1.1%201.1%200%201%201-2.2%200%201.1%201.1%200%200%201%202.2%200ZM16.3%203H7.7A4.7%204.7%200%200%200%203%207.7v8.6A4.7%204.7%200%200%200%207.7%2021h8.6a4.7%204.7%200%200%200%204.7-4.7V7.7A4.7%204.7%200%200%200%2016.3%203Zm2.9%2013.3a2.9%202.9%200%200%201-2.9%202.9H7.7a2.9%202.9%200%200%201-2.9-2.9V7.7a2.9%202.9%200%200%201%202.9-2.9h8.6a2.9%202.9%200%200%201%202.9%202.9v8.6Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .social a[href*="x.com"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M4%204h4.6l4%205.6L17.3%204H20l-6.1%207.1L20.6%2020H16l-4.3-6-5.2%206H3.8l6.6-7.6L4%204Zm3%201.6%209.8%2012.8h1.5L8.6%205.6H7Z'%2F%3E%3C%2Fsvg%3E"); }
body.nbdn-v2 .social a[href*="youtube.com"] { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M21.6%207.2a2.6%202.6%200%200%200-1.8-1.8C18.2%205%2012%205%2012%205s-6.2%200-7.8.4A2.6%202.6%200%200%200%202.4%207.2%2027%2027%200%200%200%202%2012a27%2027%200%200%200%20.4%204.8%202.6%202.6%200%200%200%201.8%201.8C5.8%2019%2012%2019%2012%2019s6.2%200%207.8-.4a2.6%202.6%200%200%200%201.8-1.8A27%2027%200%200%200%2022%2012a27%2027%200%200%200-.4-4.8ZM10%2015V9l5.2%203L10%2015Z'%2F%3E%3C%2Fsvg%3E"); }
/* 10. "Add to your home screen" tip (phones) */
.nbdn-a2hs { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9989; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-top: 5px solid var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 14px 44px 14px 14px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.nbdn-a2hs img { width: 48px; height: 48px; border-radius: 11px; display: block; }
.nbdn-a2hs b { display: block; font: 700 17px/1.2 var(--display); margin-bottom: 2px; }
.nbdn-a2hs span { font: 400 15px/1.4 var(--serif); color: var(--ink-2); }
.nbdn-a2hs .nbdn-a2hs__go { grid-column: 1 / -1; min-height: 44px; border: 0; background: var(--accent); color: var(--btn-ink); font: 500 14px var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.nbdn-a2hs .nbdn-a2hs__x { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-2); font-size: 24px; cursor: pointer; }


/* Instagram follow line at the end of articles (nbdn-ig-follow, 2026-11-25) */
body.nbdn-v2 .entry-content .nbdn-igfollow { display: flex; align-items: center; gap: 12px; margin: 32px 0 8px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 400 16px/1.4 var(--label); letter-spacing: .02em; color: var(--ink-2); }
body.nbdn-v2 .entry-content .nbdn-igfollow a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body.nbdn-v2 .nbdn-igfollow__ic { flex: none; width: 26px; height: 26px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 8.2a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4ZM17.3 5.5a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4ZM12 2.5c-2.6 0-2.9 0-3.9.1-3.5.2-5.4 2-5.6 5.6-.1 1-.1 1.3-.1 3.8s0 2.9.1 3.9c.2 3.5 2.1 5.4 5.6 5.6 1 .1 1.3.1 3.9.1s2.9 0 3.9-.1c3.5-.2 5.4-2.1 5.6-5.6.1-1 .1-1.3.1-3.9s0-2.8-.1-3.8c-.2-3.5-2.1-5.4-5.6-5.6-1-.1-1.3-.1-3.9-.1Zm0 1.7c2.5 0 2.8 0 3.8.1 2.6.1 3.7 1.3 3.8 3.8.1 1 .1 1.3.1 3.8s0 2.9-.1 3.8c-.1 2.5-1.3 3.7-3.8 3.8-1 .1-1.3.1-3.8.1s-2.9 0-3.8-.1c-2.6-.1-3.7-1.3-3.8-3.8-.1-1-.1-1.3-.1-3.8s0-2.8.1-3.8c.1-2.5 1.3-3.7 3.8-3.8 1-.1 1.3-.1 3.8-.1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 8.2a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4ZM17.3 5.5a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4ZM12 2.5c-2.6 0-2.9 0-3.9.1-3.5.2-5.4 2-5.6 5.6-.1 1-.1 1.3-.1 3.8s0 2.9.1 3.9c.2 3.5 2.1 5.4 5.6 5.6 1 .1 1.3.1 3.9.1s2.9 0 3.9-.1c3.5-.2 5.4-2.1 5.6-5.6.1-1 .1-1.3.1-3.9s0-2.8-.1-3.8c-.2-3.5-2.1-5.4-5.6-5.6-1-.1-1.3-.1-3.9-.1Zm0 1.7c2.5 0 2.8 0 3.8.1 2.6.1 3.7 1.3 3.8 3.8.1 1 .1 1.3.1 3.8s0 2.9-.1 3.8c-.1 2.5-1.3 3.7-3.8 3.8-1 .1-1.3.1-3.8.1s-2.9 0-3.8-.1c-2.6-.1-3.7-1.3-3.8-3.8-.1-1-.1-1.3-.1-3.8s0-2.8.1-3.8c.1-2.5 1.3-3.7 3.8-3.8 1-.1 1.3-.1 3.8-.1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
