/* ============================================================================
   AVICIENA LAW FIRM — EDITORIAL ARTICLE READER & PUBLICATIONS HUB
   Selaras presisi dengan sistem grid .wrap (1180px) di base.css & 05-berita.css
   ============================================================================ */

:root {
	--art-font-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--art-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;
	--art-size: 18px;
}

html[data-font="sans"] .art-editorial-body {
	--art-body-font: var(--art-font-sans);
}
html[data-font="serif"] .art-editorial-body {
	--art-body-font: var(--art-font-serif);
}

html[data-theme="dark"] {
	--paper: #161618;
	--canvas: #101012;
	--surface-subtle: #1D1D20;
	--ink: #F4F4F6;
	--ink-secondary: #D4D4D8;
	--muted: #9B9BA3;
	--tertiary: #7A7A84;
	--hairline: rgba(255, 255, 255, 0.1);
	--hairline-strong: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .apple-panel,
html[data-theme="dark"] .ios-modal {
	background: var(--surface-subtle);
	border-color: var(--hairline);
}

html[data-theme="dark"] .ios-table thead th,
html[data-theme="dark"] .ios-modal-bar {
	background: var(--canvas);
	color: var(--muted);
}

html[data-theme="dark"] .ios-table tbody tr:hover td {
	background-color: rgba(255, 255, 255, 0.04);
}

body {
	background: var(--paper);
	color: var(--ink);
}

.is-hidden {
	display: none !important;
}

.art-tabular {
	font-variant-numeric: tabular-nums;
}

/* ============================================================================
   SINGLE STICKY NAVBAR
   ============================================================================ */
.art-nav-wrap {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid var(--hairline);
}

html[data-theme="dark"] .art-nav-wrap {
	background: rgba(22, 22, 24, 0.92);
}

.art-nav-inner {
	height: 62px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.art-nav-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.art-nav-left .brand {
	display: inline-flex;
	align-items: center;
	background: #FFFFFF;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.art-nav-left .brand img {
	height: 25px;
	width: auto;
	display: block;
}

.art-back-link {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	white-space: nowrap;
	transition: color 0.18s var(--ease);
}

.art-back-link:hover {
	color: var(--maroon);
}

.art-nav-links {
	display: flex;
	align-items: center;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.art-nav-links::-webkit-scrollbar {
	display: none;
}

.art-nav-links a {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--muted);
	padding: 6px 11px;
	border-radius: var(--radius-pill);
	white-space: nowrap;
	transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.art-nav-links a:hover {
	color: var(--ink);
	background: var(--canvas);
}

.art-nav-links a.active {
	color: var(--maroon);
	background: var(--maroon-soft);
	font-weight: 600;
}

.art-nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.art-nav-icon {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 35px;
	padding: 0 11px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--hairline-strong);
	background: transparent;
	color: var(--ink-secondary);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.18s, color 0.18s;
}

.art-nav-icon svg {
	width: 15px;
	height: 15px;
}

.art-nav-icon:hover {
	border-color: var(--maroon);
	color: var(--maroon);
}

.art-saved-badge {
	font-variant-numeric: tabular-nums;
	color: var(--maroon);
}

.art-nav-cta {
	padding: 8px 16px;
	font-size: 12.5px;
	white-space: nowrap;
}

/* ============================================================================
   MAGAZINE MASTHEAD & LEAD PHOTOGRAPH (FLUSH TO .wrap)
   ============================================================================ */
.art-masthead {
	padding: 40px 0 32px;
	background: var(--paper);
}

.art-masthead-copy {
	max-width: 820px;
	margin-bottom: 24px;
}

.art-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--muted);
	margin-bottom: 14px;
}

.art-breadcrumb a {
	color: var(--maroon);
	font-weight: 600;
}

.art-kicker {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--maroon);
	margin-bottom: 10px;
}

html[data-theme="dark"] .art-kicker,
html[data-theme="dark"] .art-breadcrumb a {
	color: var(--champagne);
}

.art-title {
	font-family: var(--art-font-serif);
	font-size: clamp(30px, 4.1vw, 48px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var(--ink);
	margin-bottom: 14px;
}

.art-dek {
	font-size: clamp(16px, 1.75vw, 19px);
	line-height: 1.54;
	color: var(--ink-secondary);
}

.art-byline-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px 0;
	border-top: 1px solid var(--hairline);
	border-bottom: 1px solid var(--hairline);
	margin-bottom: 24px;
}

.art-byline-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.art-author-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	border: 1px solid var(--hairline-strong);
	flex-shrink: 0;
}

.art-author-name {
	font-size: 13.5px;
	color: var(--ink);
}

.art-author-badge {
	margin-left: 6px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--maroon);
}

html[data-theme="dark"] .art-author-badge {
	color: var(--champagne);
}

.art-author-sub {
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 2px;
}

.art-utility-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.art-util-btn {
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--hairline-strong);
	background: transparent;
	color: var(--ink-secondary);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.art-util-btn:hover,
.art-util-btn[aria-pressed="true"],
.art-util-btn.playing {
	border-color: var(--maroon);
	background: var(--maroon);
	color: #FFFFFF;
}

.art-lead-figure {
	width: 100%;
	margin: 0;
}

.art-lead-frame {
	border-radius: 14px;
	overflow: hidden;
	background: var(--canvas);
}

.art-lead-frame img {
	width: 100%;
	aspect-ratio: 21 / 9;
	max-height: 480px;
	object-fit: cover;
	object-position: center 35%;
	display: block;
	cursor: zoom-in;
}

.art-lead-caption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 11px 0 14px;
	font-size: 12.5px;
	color: var(--muted);
	border-bottom: 1px solid var(--hairline);
}

.art-credit {
	font-size: 11.5px;
	color: var(--tertiary);
}

/* ============================================================================
   BALANCED 2-COLUMN READING GRID (748px + 52px + 316px = 1116px)
   ============================================================================ */
.art-reading-band {
	padding: 20px 0 76px;
	background: var(--paper);
}

.art-reading-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 316px;
	gap: 52px;
	align-items: start;
}

body.zen-mode .art-reading-grid {
	grid-template-columns: minmax(0, 740px);
	justify-content: center;
}

body.zen-mode .art-rail-right {
	display: none;
}

/* Sticky Right Sidebar */
.art-rail-right {
	position: sticky;
	top: 82px;
	max-height: calc(100vh - 102px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 4px;
	scrollbar-width: thin;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.art-rail-section {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hairline);
}

.art-rail-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tertiary);
	margin-bottom: 10px;
}

.art-toc-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.art-toc-list a {
	display: block;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--muted);
	padding: 5px 0 5px 10px;
	border-left: 2px solid transparent;
	transition: color 0.16s, border-color 0.16s;
}

.art-toc-list a:hover {
	color: var(--ink);
}

.art-toc-list a.active {
	color: var(--maroon);
	font-weight: 600;
	border-left-color: var(--maroon);
}

html[data-theme="dark"] .art-toc-list a.active {
	color: var(--champagne);
	border-left-color: var(--champagne);
}

.art-pref-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
	margin-bottom: 10px;
}

.art-pref-btn {
	padding: 6px 4px;
	border-radius: 7px;
	border: 1px solid var(--hairline-strong);
	background: transparent;
	color: var(--ink-secondary);
	font-size: 11.5px;
	font-weight: 500;
	cursor: pointer;
}

.art-pref-btn.active {
	background: var(--maroon);
	border-color: var(--maroon);
	color: #FFFFFF;
}

.art-check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--muted);
	margin-top: 7px;
	cursor: pointer;
}

.art-check-row input {
	accent-color: var(--maroon);
}

.art-audio-mini {
	margin-top: 12px;
	padding: 10px;
	border-radius: 8px;
	background: var(--canvas);
	font-size: 11.5px;
	color: var(--ink-secondary);
}

.art-audio-mini-btns {
	display: flex;
	gap: 6px;
	margin-top: 8px;
}

.art-audio-mini-btns select,
.art-audio-mini-btns button {
	padding: 4px 8px;
	border-radius: 6px;
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink);
	font-size: 11px;
	cursor: pointer;
}

/* ============================================================================
   PRIMARY UNBOXED EDITORIAL COLUMN
   ============================================================================ */
.art-prose-column {
	min-width: 0;
}

.art-takeaways {
	padding: 18px 0 20px;
	border-top: 2px solid var(--maroon);
	border-bottom: 1px solid var(--hairline);
	margin-bottom: 34px;
}

.art-takeaways-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--maroon);
	margin-bottom: 10px;
}

html[data-theme="dark"] .art-takeaways-label {
	color: var(--champagne);
}

.art-takeaways-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.art-takeaways-list li {
	position: relative;
	padding-left: 16px;
	font-size: 14.5px;
	line-height: 1.62;
	color: var(--ink-secondary);
}

.art-takeaways-list li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--maroon);
	font-weight: 600;
}

.art-chapter {
	margin-bottom: 40px;
	scroll-margin-top: 86px;
}

.art-chapter-title {
	font-family: var(--art-font-serif);
	font-size: clamp(23px, 2.5vw, 29px);
	font-weight: 600;
	line-height: 1.24;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-bottom: 14px;
	max-width: 680px;
}

.art-chapter-num {
	display: block;
	font-family: var(--art-font-sans);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--maroon);
	margin-bottom: 6px;
}

html[data-theme="dark"] .art-chapter-num {
	color: var(--champagne);
}

.art-chapter-lead {
	font-family: var(--art-font-serif);
	font-size: calc(var(--art-size) + 2px);
	font-weight: 500;
	line-height: 1.56;
	color: var(--ink);
	margin-bottom: 18px;
	max-width: 68ch;
}

.art-editorial-body p.art-body-p {
	font-family: var(--art-body-font, var(--art-font-serif));
	font-size: var(--art-size);
	line-height: 1.76;
	color: var(--ink-secondary);
	margin-bottom: 18px;
	max-width: 68ch;
	transition: background 0.2s;
}

.art-editorial-body p.art-body-p.is-speaking {
	background: var(--maroon-soft);
	padding: 6px 10px;
	border-radius: 6px;
}

/* Classic Typographic Drop Cap */
.art-chapter:first-of-type p.art-body-p:first-of-type::first-letter {
	float: left;
	font-family: var(--art-font-serif);
	font-size: 3.7em;
	font-weight: 600;
	line-height: 0.84;
	padding-right: 10px;
	padding-top: 5px;
	color: var(--maroon);
}

html[data-theme="dark"] .art-chapter:first-of-type p.art-body-p:first-of-type::first-letter {
	color: var(--champagne);
}

.art-glossary-term {
	border-bottom: 1.5px dotted rgba(143, 0, 8, 0.55);
	cursor: help;
	color: var(--ink);
	transition: color 0.15s, border-color 0.15s;
}

.art-glossary-term:hover {
	color: var(--maroon);
	border-bottom-style: solid;
}

body.glossary-off .art-glossary-term {
	border-bottom: none;
	color: inherit;
	cursor: text;
}

/* Editorial Pullquote */
.art-pullquote {
	margin: 30px 0;
	padding: 4px 0 4px 22px;
	border-left: 2.5px solid var(--maroon);
	max-width: 680px;
}

.art-pullquote blockquote {
	font-family: var(--art-font-serif);
	font-size: clamp(19px, 2.2vw, 23px);
	font-style: italic;
	line-height: 1.48;
	color: var(--ink);
	margin-bottom: 8px;
}

.art-pullquote-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 12.5px;
	color: var(--muted);
}

.art-save-quote-btn {
	border: none;
	background: transparent;
	color: var(--maroon);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.art-save-quote-btn:hover {
	text-decoration: underline;
}

/* Editorial Callout */
.art-callout {
	margin: 26px 0;
	padding: 18px 20px;
	background: var(--surface-subtle);
	border-left: 2.5px solid var(--maroon);
	border-radius: 0 10px 10px 0;
}

.art-callout-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--maroon);
	margin-bottom: 5px;
}

.art-callout h4 {
	font-size: 15.5px;
	font-weight: 600;
	margin-bottom: 8px;
}

.art-callout ul {
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: var(--ink-secondary);
	line-height: 1.6;
}

/* Inline Figure (Strictly contained inside column, zero overlap) */
.art-breakout-fig {
	margin: 30px 0;
	width: 100%;
}

.art-breakout-fig img {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 400px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	cursor: zoom-in;
}

.art-breakout-fig figcaption {
	margin-top: 9px;
	font-size: 12.5px;
	color: var(--muted);
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/* Structured Sections & Matrix Table */
.art-section-block {
	padding-top: 30px;
	margin-top: 34px;
	border-top: 1px solid var(--hairline);
	scroll-margin-top: 86px;
}

.art-subhead {
	font-family: var(--art-font-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin-bottom: 6px;
}

.art-sublead {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 18px;
}

.art-matrix-table {
	table-layout: fixed;
}

.art-matrix-table td {
	vertical-align: top;
	font-size: 13px;
	line-height: 1.55;
	word-wrap: break-word;
}

.art-matrix-basis {
	font-size: 12px;
	font-weight: 600;
	color: var(--maroon);
}

html[data-theme="dark"] .art-matrix-basis {
	color: var(--champagne);
}

.art-tl-tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px;
	margin: 16px 0;
}

.art-tl-tab {
	text-align: left;
	padding: 11px 13px;
	border-radius: 10px;
	background: var(--surface-subtle);
	border: 1px solid var(--hairline);
	color: var(--ink-secondary);
	cursor: pointer;
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.art-tl-tab span {
	display: block;
	font-size: 11px;
	color: var(--tertiary);
}

.art-tl-tab strong {
	display: block;
	font-size: 12.5px;
	margin-top: 2px;
}

.art-tl-tab.active {
	background: var(--maroon);
	border-color: var(--maroon);
	color: #FFFFFF;
}

.art-tl-tab.active span {
	color: var(--champagne);
}

.art-tl-panel {
	padding: 18px 20px;
	border-radius: 12px;
	background: var(--canvas);
	border: 1px solid var(--hairline);
}

.art-tl-panel h4 {
	font-size: 16px;
	margin: 6px 0;
}

.art-tl-panel p {
	font-size: 14px;
	color: var(--ink-secondary);
	line-height: 1.65;
}

.art-cases-list {
	margin-top: 14px;
	border-top: 1px solid var(--hairline);
}

.art-case-item {
	border-bottom: 1px solid var(--hairline);
}

.art-case-trigger {
	width: 100%;
	text-align: left;
	background: transparent;
	border: none;
	padding: 15px 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--ink);
	cursor: pointer;
}

.art-case-tag {
	font-size: 11px;
	font-weight: 600;
	color: var(--maroon);
	display: block;
	margin-bottom: 2px;
}

.art-case-trigger h4 {
	font-size: 15px;
	font-weight: 600;
}

.art-case-body {
	padding: 0 4px 16px;
	font-size: 14px;
	color: var(--ink-secondary);
	line-height: 1.65;
}

.art-case-res {
	margin-top: 8px;
	padding-left: 12px;
	border-left: 2px solid var(--maroon);
	color: var(--ink);
}

/* Gallery */
.art-gal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.art-gal-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--muted);
}

.art-gal-nav button {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--hairline-strong);
	background: transparent;
	color: var(--ink);
	font-size: 17px;
	cursor: pointer;
}

.art-gal-nav button:hover {
	border-color: var(--maroon);
	color: var(--maroon);
}

.art-gal-stage img {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 360px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	cursor: zoom-in;
}

.art-gal-stage figcaption {
	margin-top: 10px;
}

.art-gal-stage figcaption strong {
	display: block;
	font-size: 14px;
}

.art-gal-stage figcaption p {
	font-size: 13px;
	color: var(--muted);
}

.art-gal-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.art-gal-thumb {
	width: 76px;
	height: 50px;
	border-radius: 7px;
	border: 2px solid transparent;
	padding: 0;
	overflow: hidden;
	opacity: 0.55;
	cursor: pointer;
}

.art-gal-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.art-gal-thumb.active {
	border-color: var(--maroon);
	opacity: 1;
}

/* Footnotes & Author Credit */
.art-footnotes {
	margin-top: 38px;
	padding-top: 24px;
	border-top: 1px solid var(--hairline);
	scroll-margin-top: 86px;
}

.art-footnotes h3 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	margin-bottom: 12px;
}

.art-footnotes-list {
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 28px;
}

.art-author-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: var(--canvas);
	border: 1px solid var(--hairline);
	border-radius: 14px;
}

.art-author-card img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	flex-shrink: 0;
}

/* ============================================================================
   RIGHT SIDEBAR COMPONENTS
   ============================================================================ */
.art-dossier-sheet {
	padding-top: 2px;
}

.art-dossier-accent {
	width: 28px;
	height: 2.5px;
	background: var(--maroon);
	margin-bottom: 10px;
}

.art-dossier-head {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 10px;
}

.art-dossier-list {
	border-top: 1px solid var(--hairline-strong);
}

.art-dossier-row {
	padding: 9px 0;
	border-bottom: 1px solid var(--hairline);
}

.art-dossier-row dt {
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--tertiary);
	margin-bottom: 2px;
}

.art-dossier-row dd {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--ink);
}

.art-statutes {
	margin-top: 12px;
}

.art-statutes ul {
	padding-left: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: var(--muted);
}

.art-rail-card {
	padding: 15px;
	background: var(--canvas);
	border: 1px solid var(--hairline);
	border-radius: 14px;
}

.art-rail-summary {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--ink-secondary);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.art-rail-summary::after {
	content: '+';
	font-size: 16px;
	color: var(--muted);
}

.art-notes-details[open] .art-rail-summary::after {
	content: '−';
}

.art-notes-inner {
	margin-top: 12px;
}

.art-saved-quotes {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 8px;
	max-height: 130px;
	overflow-y: auto;
}

.art-saved-quote-chip {
	font-size: 12px;
	font-style: italic;
	padding: 6px 8px;
	border-left: 2px solid var(--maroon);
	background: var(--paper);
	color: var(--ink-secondary);
}

.art-muted-note {
	font-size: 12px;
	color: var(--muted);
}

.art-notes-input {
	width: 100%;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 12.5px;
	resize: vertical;
}

.art-notes-btns {
	display: flex;
	gap: 6px;
	margin-top: 8px;
}

.art-notes-btns button {
	flex: 1;
	padding: 6px;
	border-radius: 8px;
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink-secondary);
	font-size: 11.5px;
	font-weight: 500;
	cursor: pointer;
}

.art-video-thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 9px;
	margin-bottom: 8px;
	display: block;
}

.art-consult-card {
	padding: 18px;
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}

.art-consult-card h4 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}

.art-consult-card p {
	font-size: 12.5px;
	color: var(--muted);
	margin-bottom: 14px;
}

.art-sim-link {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-size: 12px;
	color: var(--muted);
	text-decoration: underline;
}

/* ============================================================================
   DISCOVERY HUB (Asymmetric Picks + ALF Section 04 News Grid)
   ============================================================================ */
.art-picks-band {
	background: linear-gradient(180deg, #2B0306 0%, #170204 100%);
	color: #FFFFFF;
	padding: 58px 0 64px;
}

.art-hub-hero {
	padding-bottom: 26px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.art-hub-kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--champagne);
	margin-bottom: 8px;
}

.art-hub-hero h1 {
	font-family: var(--art-font-serif);
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 500;
	line-height: 1.15;
	color: #FFFFFF;
	margin-bottom: 10px;
}

.art-hub-hero p {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
	max-width: 720px;
}

.art-dark-bar {
	border-bottom-color: rgba(255, 255, 255, 0.14);
}

.art-dark-bar .sec-num {
	color: var(--champagne);
}

.art-dark-bar .sec-label {
	color: #FFFFFF;
}

.art-dark-bar .sec-right {
	color: rgba(255, 255, 255, 0.6);
}

.art-picks-grid {
	display: grid;
	grid-template-columns: 1.28fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.art-pick-lead {
	position: relative;
	min-height: 380px;
	height: 100%;
	border-radius: var(--radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.art-pick-lead img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--ease);
}

.art-pick-lead:hover img {
	transform: scale(1.04);
}

.art-pick-lead-scrim {
	position: relative;
	z-index: 2;
	padding: 26px;
	background: linear-gradient(180deg, transparent 0%, rgba(18, 2, 4, 0.94) 72%);
}

.art-pick-lead-scrim small {
	color: var(--champagne);
	font-size: 11.5px;
	font-weight: 600;
}

.art-pick-lead-scrim h3 {
	font-family: var(--art-font-serif);
	font-size: 26px;
	line-height: 1.22;
	margin: 6px 0 8px;
}

.art-picks-stack {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
}

.art-pick-row {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.2s, border-color 0.2s;
}

.art-pick-row:hover {
	background: var(--maroon);
	border-color: rgba(255, 255, 255, 0.25);
}

.art-pick-row img {
	width: 92px;
	height: 68px;
	border-radius: 8px;
	object-fit: cover;
}

.art-pick-row small {
	display: block;
	font-size: 11px;
	color: var(--champagne);
	margin-bottom: 3px;
}

.art-pick-row h4 {
	font-size: 14px;
	line-height: 1.35;
}

/* Archive Band */
.art-archive-band {
	background: var(--canvas);
	padding: 60px 0 72px;
}

.art-archive-toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.art-archive-controls {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.art-search-field,
.art-sort-field {
	padding: 8px 13px;
	border-radius: 10px;
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 13px;
}

.art-cat-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 24px;
}

.art-cat-pill {
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink-secondary);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.art-cat-pill.active,
.art-cat-pill:hover {
	background: var(--maroon);
	border-color: var(--maroon);
	color: #FFFFFF;
}

.art-next-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 22px 26px;
	background: var(--paper);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}

.art-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

/* ============================================================================
   POPOVERS, MODALS, DRAWER & TOAST
   ============================================================================ */
.art-glossary-popover {
	position: fixed;
	z-index: 1050;
	width: min(330px, calc(100vw - 32px));
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--hairline-strong);
	border-top: 3px solid var(--maroon);
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.art-gp-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.art-gp-head button {
	border: none;
	background: transparent;
	font-size: 18px;
	color: var(--muted);
	cursor: pointer;
}

.art-gp-latin {
	font-size: 11px;
	font-weight: 600;
	color: var(--maroon);
	margin: 3px 0 8px;
}

.art-glossary-popover p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--ink-secondary);
}

.art-lightbox-box {
	position: relative;
	width: min(940px, 100%);
	background: #141416;
	color: #FFFFFF;
	border-radius: 16px;
	overflow: hidden;
}

.art-lb-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	background: rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
}

.art-lb-stage {
	position: relative;
	background: #000000;
}

.art-lb-stage img {
	width: 100%;
	max-height: 68vh;
	object-fit: contain;
	display: block;
}

.art-lb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.65);
	color: #FFFFFF;
	font-size: 22px;
	cursor: pointer;
}

.art-lb-nav.prev { left: 12px; }
.art-lb-nav.next { right: 12px; }

.art-lb-meta {
	padding: 16px 22px;
}

.art-lb-meta h4 {
	margin: 4px 0;
	font-size: 16px;
}

.art-lb-meta p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
}

.art-modal-input {
	width: 100%;
	padding: 10px 13px;
	border-radius: 10px;
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
}

.art-search-results {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
	max-height: 55vh;
	overflow-y: auto;
}

.art-search-item {
	display: block;
	padding: 11px 13px;
	border-radius: 10px;
	border: 1px solid var(--hairline);
	background: var(--canvas);
}

.art-search-item:hover {
	border-color: var(--maroon);
}

.art-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(6px);
	display: none;
	justify-content: flex-end;
}

.art-drawer-backdrop.open {
	display: flex;
}

.art-saved-drawer {
	width: min(390px, 100%);
	height: 100%;
	background: var(--paper);
	color: var(--ink);
	overflow-y: auto;
}

.art-saved-list {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.art-cite-pre {
	background: var(--canvas);
	padding: 13px;
	border-radius: 10px;
	font-size: 12.5px;
	white-space: pre-wrap;
	margin-bottom: 14px;
	border: 1px solid var(--hairline);
}

.art-consult-form {
	display: grid;
	gap: 11px;
}

.art-form-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 11px;
}

.art-consult-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-secondary);
}

.art-consult-form input,
.art-consult-form textarea {
	padding: 9px 11px;
	border-radius: 9px;
	border: 1px solid var(--hairline-strong);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 13.5px;
}

.art-consult-fb {
	padding: 10px 12px;
	border-radius: 9px;
	font-size: 13px;
}

.art-consult-fb.is-success {
	background: #edf8f0;
	color: #155724;
	border: 1px solid rgba(30, 126, 52, 0.25);
}

.art-consult-fb.is-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid rgba(185, 28, 28, 0.25);
}

.art-consult-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.art-toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 1100;
	background: var(--ink);
	color: #FFFFFF;
	padding: 9px 16px;
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 500;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
}

.art-toast.show {
	opacity: 1;
	transform: translateY(0);
}

/* Word-Mode Rich Document Body Styling */
.art-editorial-body.is-word-doc {
	font-family: var(--art-font-serif);
	font-size: var(--art-size);
	line-height: 1.78;
	color: var(--ink);
}

.art-editorial-body.is-word-doc h2 {
	font-family: var(--art-font-serif);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 600;
	line-height: 1.28;
	margin: 34px 0 14px;
	padding-top: 22px;
	border-top: 1px solid var(--hairline);
	scroll-margin-top: 90px;
}

.art-editorial-body.is-word-doc h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.art-editorial-body.is-word-doc h3 {
	font-size: 19px;
	font-weight: 700;
	margin: 24px 0 10px;
	color: var(--ink);
}

.art-editorial-body.is-word-doc p {
	margin-bottom: 18px;
}

.art-editorial-body.is-word-doc ul,
.art-editorial-body.is-word-doc ol {
	margin: 0 0 20px;
	padding-left: 24px;
	display: grid;
	gap: 7px;
}

.art-editorial-body.is-word-doc blockquote {
	margin: 24px 0;
	padding: 14px 20px;
	border-left: 3.5px solid var(--maroon);
	background: rgba(143, 0, 8, 0.04);
	border-radius: 0 10px 10px 0;
	font-style: italic;
}

.art-editorial-body.is-word-doc table {
	width: 100%;
	border-collapse: collapse;
	margin: 22px 0;
	font-family: var(--font-sans, inherit);
	font-size: 14px;
	border: 1px solid var(--hairline-strong);
	border-radius: 8px;
	overflow: hidden;
}

.art-editorial-body.is-word-doc th,
.art-editorial-body.is-word-doc td {
	padding: 10px 12px;
	border: 1px solid var(--hairline);
	text-align: left;
	vertical-align: top;
}

.art-editorial-body.is-word-doc th {
	background: var(--bg-subtle, #f5f5f7);
	font-weight: 700;
}

.art-editorial-body.is-word-doc figure.art-word-fig {
	margin: 24px 0;
}

.art-editorial-body.is-word-doc figure.art-word-fig img,
.art-editorial-body.is-word-doc img {
	width: 100%;
	max-width: 100%;
	border-radius: 12px;
	display: block;
	margin: 16px auto;
}

.art-editorial-body.is-word-doc figure.art-word-fig img {
	margin: 0 0 8px;
}

.art-editorial-body.is-word-doc figcaption {
	font-family: var(--font-sans, inherit);
	font-size: 12.5px;
	color: var(--muted);
}

.art-editorial-body.is-word-doc hr {
	border: none;
	border-top: 1px solid var(--hairline-strong);
	margin: 28px 0;
}

/* ============================================================================
   RESPONSIVE & PRINT
   ============================================================================ */
@media (max-width: 1080px) {
	.art-nav-links {
		display: none;
	}
	.art-reading-grid {
		grid-template-columns: minmax(0, 1fr) 290px;
		gap: 36px;
	}
}

@media (max-width: 900px) {
	.art-reading-grid,
	.art-picks-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.art-rail-right {
		position: static;
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}
	.art-matrix-table {
		table-layout: auto;
		min-width: 580px;
	}
}

@media (max-width: 600px) {
	.art-masthead {
		padding: 26px 0 24px;
	}
	.art-lead-frame img {
		aspect-ratio: 16 / 10;
	}
	.art-form-2 {
		grid-template-columns: 1fr;
	}
	.art-nav-cta {
		padding: 7px 12px;
		font-size: 12px;
	}
	.art-back-link {
		display: none;
	}
	.art-author-card {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ============================================================================
   FLOATING BOTTOM-RIGHT RETURN TO HOME DOCK & FOOTER SPACING
   ============================================================================ */
.art-floating-home {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 95;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 7px 18px 7px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border: 1px solid rgba(143, 0, 8, 0.18);
	box-shadow: 0 12px 30px -8px rgba(15, 17, 25, 0.24), 0 2px 8px rgba(143, 0, 8, 0.12);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.22s var(--spring, ease), box-shadow 0.22s ease, border-color 0.2s ease;
}

.art-floating-home:hover {
	transform: translateY(-2px);
	border-color: var(--maroon);
	box-shadow: 0 18px 36px -10px rgba(143, 0, 8, 0.34);
}

.art-fh-logo {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	flex-shrink: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.art-fh-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.art-fh-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.18;
}

.art-fh-copy small {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--maroon);
}

.art-fh-copy strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
}

html[data-theme="dark"] .art-floating-home {
	background: rgba(28, 28, 32, 0.92);
	border-color: rgba(255, 255, 255, 0.16);
	color: #F4F4F6;
}

html[data-theme="dark"] .art-fh-copy strong {
	color: #F4F4F6;
}

.site-footer {
	padding-bottom: 62px !important;
}

@media (max-width: 600px) {
	.art-floating-home {
		right: 14px;
		bottom: 14px;
		padding: 6px 14px 6px 7px;
		gap: 9px;
	}
	.art-fh-logo {
		width: 34px;
		height: 34px;
	}
	.art-fh-copy small {
		font-size: 9.5px;
	}
	.art-fh-copy strong {
		font-size: 12px;
	}
	.site-footer {
		padding-bottom: 72px !important;
	}
}

@media print {
	.art-nav-wrap, .art-rail-right, .art-hub, .site-footer, .art-utility-row, .art-floating-home {
		display: none !important;
	}
	.art-reading-grid {
		grid-template-columns: 1fr !important;
	}
}

/* 4 GB RAM / Low-Spec Laptop Performance Optimization */
.art-hub .news-card {
	content-visibility: auto;
	contain-intrinsic-size: auto 292px;
}

html.perf-lite .art-nav-wrap,
html.perf-lite .art-floating-home,
html.perf-lite .ios-modal-backdrop,
html.perf-lite .art-drawer-backdrop {
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
}
