/* Homepage (index.php) hero */
.hero { display:flex; align-items:center; justify-content:center; padding:56px 20px; border-radius:0; background: linear-gradient(135deg,#00a3e0 0%, #0072c6 40%, #001f54 100%); color:#f9fbff; box-shadow:0 6px 24px rgba(0,0,0,0.12); margin:0 0 18px; width:100%; }
.hero-inner { max-width:1100px; width:100%; display:grid; grid-template-columns:minmax(0,1fr); gap:24px; align-items:center; }
.hero h1 { font-size:36px; margin:0 0 8px; color:#e5f4ff; }
.hero p { margin:0 0 16px; color:#dbeafe; }
.search-cta { display:flex; gap:8px; }
.search-cta input { padding:12px 14px; border-radius:8px; border:0; min-width:220px; box-shadow:0 2px 8px rgba(4,38,58,0.06); }
.search-cta button { background:#0078d4; color:#fff; border:0; padding:12px 16px; border-radius:8px; cursor:pointer; box-shadow:0 4px 12px rgba(0,120,212,0.18); transition:background 0.2s; }
.search-cta button:hover { background:#005fa3; }
.hero-side { background:rgba(255,255,255,0.6); padding:18px; border-radius:10px; }
.featured-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin:18px 0; }
.card-color { padding:16px; border-radius:12px; color:#05304a; box-shadow:0 6px 18px rgba(6,48,74,0.06); min-height:120px; display:flex; flex-direction:column; justify-content:space-between; transition:transform 0.18s cubic-bezier(.4,1.4,.6,1), box-shadow 0.18s, background 0.18s; cursor:pointer; }
.card-color:hover { transform:translateY(-6px) scale(1.03); box-shadow:0 12px 32px rgba(6,48,74,0.13); background:linear-gradient(180deg,#fff,#e0f7fa 80%); }
.c1{background:linear-gradient(180deg,#ffd9d9,#fff5f5);} .c2{background:linear-gradient(180deg,#fff4d8,#fff);} .c3{background:linear-gradient(180deg,#e8fff2,#f2fffb);} .c4{background:linear-gradient(180deg,#e8f0ff,#f5f9ff);} 
.card-color h3{margin:0 0 8px;font-size:16px}
.card-color p{margin:0;color:#034056cc;font-size:13px}
.section-title{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}
.section-title h2{margin:0;font-size:18px}
@media(max-width:900px){ .hero-inner{grid-template-columns:1fr; padding:8px} .hero{padding:28px 12px} }
/* Home topics + layout */
.pill-row { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.pill-row .pill { padding:6px 12px; border-radius:999px; background:#fff; border:1px solid #e4e7ec; font-size:12px; color:#475569; box-shadow:0 2px 6px rgba(15,23,42,0.06); cursor:pointer; transition:all .16s; }
.pill-row .pill.active, .pill-row .pill:hover { background:#0ea5e9; border-color:#0ea5e9; color:#fff; box-shadow:0 4px 12px rgba(14,165,233,0.35); }

.home-layout { display:grid; grid-template-columns: minmax(0,2.2fr) minmax(260px,1fr); gap:24px; margin:10px 0 32px; }
.home-main { min-width:0; }
.home-sidebar { min-width:0; display:flex; flex-direction:column; gap:16px; }
.section-sub { color:#64748b; font-size:13px; }

.articles-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:16px; }
.articles-grid .card { border-radius:16px; border:0; box-shadow:0 10px 28px rgba(15,23,42,0.10); overflow:hidden; padding:0; background:#fff; }
.articles-grid .card .card-body { padding:16px 18px 18px; }
.article-card { display:flex; flex-direction:column; height:100%; }
.article-card .card-thumb { margin:0; height:180px; overflow:hidden; }
.article-card .card-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.article-card .card-thumb.thumb-placeholder { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#00a3e0,#001f54); color:#e5f4ff; }
.article-card .thumb-placeholder .thumb-icon { font-size:40px; font-weight:700; text-shadow:0 4px 10px rgba(0,0,0,0.35); }
.article-card h3 { margin:0 0 6px; font-size:16px; }
.article-card .meta { font-size:12px; color:#6b7280; }

.side-card { background:#fff; border-radius:16px; padding:14px 16px; box-shadow:0 8px 24px rgba(15,23,42,0.06); font-size:13px; color:#1f2933; }
.side-card h3 { margin:0 0 8px; font-size:14px; color:#0f172a; }
.side-card p { margin:4px 0; color:#4b5563; }
.side-meta { font-size:12px; color:#6b7280; }
.side-list { list-style:none; padding:0; margin:4px 0 0; }
.side-list li { display:flex; align-items:center; gap:6px; padding:4px 0; }
.dot { width:8px; height:8px; border-radius:999px; display:inline-block; }
.dot-blue{background:#0284c7;} .dot-gold{background:#f59e0b;} .dot-green{background:#22c55e;} .dot-purple{background:#a855f7;}

.home-newsletter { margin: 10px 0 32px; }
.newsletter-inner { border-radius:16px; background:linear-gradient(135deg,#eff6ff,#e0f2fe); padding:18px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; box-shadow:0 8px 24px rgba(15,23,42,0.08); }
.newsletter-inner h2 { margin:0 0 4px; font-size:18px; color:#0f172a; }
.newsletter-inner p { margin:0; font-size:13px; color:#374151; }
.newsletter-form { display:flex; gap:8px; min-width:260px; }
.newsletter-form input { flex:1; padding:10px 12px; border-radius:999px; border:1px solid #bfdbfe; font-size:13px; }
.newsletter-form button { padding:10px 16px; border-radius:999px; background:#4f46e5; color:#fff; border:0; cursor:pointer; font-size:13px; box-shadow:0 4px 12px rgba(79,70,229,0.35); }
.newsletter-form button:hover { background:#4338ca; }

@media(max-width:900px){
	.home-layout { grid-template-columns: 1fr; }
	.newsletter-inner { flex-direction:column; align-items:flex-start; }
	.newsletter-form { width:100%; }
}
/* Sidebar-specific tweaks */
.home-sidebar .pill-row { justify-content:flex-start; margin-top:4px; }
* { box-sizing: border-box; }
body { font-family: system-ui, Arial, sans-serif; margin: 0; color: #222; background: #fafafa; }
header, footer { background: #143D59; color: #fff; padding: 12px 0; }
header a, nav a { color: #fff; text-decoration: none; margin-right: 12px; }
/* Responsive top navigation */
nav.topnav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; border-radius: 12px; box-shadow: 0 8px 24px rgba(15,23,42,0.20); }
nav.topnav .brand { margin-right: auto; display:flex; align-items:center; }
nav.topnav .brand .brand-mark { width:28px; height:28px; border-radius:999px; background:rgba(15,23,42,0.18); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
nav.topnav .nav-toggle { display: none; background: transparent; color: #fff; font-size: 20px; border: 1px solid rgba(255,255,255,0.4); padding: 4px 8px; border-radius: 4px; }
nav.topnav .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
nav.topnav .spacer { flex: 1 1 auto; }
@media (max-width: 720px) {
	nav.topnav { align-items: stretch; }
	nav.topnav .nav-toggle { display: inline-block; }
	nav.topnav .nav-links { width: 100%; display: none; flex-direction: column; gap: 8px; margin-top: 8px; }
	nav.topnav.open .nav-links { display: flex; }
	nav.topnav .spacer { display: none; }
}
body.has-sidebar {
	padding-left: 220px;
}
.app-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 220px;
	background: linear-gradient(180deg,#00a3e0 0%, #0078d4 45%, #001f54 100%);
	color: #f9fbff;
	box-shadow: 4px 0 18px rgba(15,23,42,0.45);
	z-index: 950;
}
.app-sidebar-inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 16px 14px 20px;
}
.app-sidebar-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
}
.app-sidebar-logo .logo-mark {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: rgba(15,23,42,0.25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
}
.app-sidebar-logo .logo-text {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.app-sidebar-user {
	display:flex;
	align-items:center;
	gap:8px;
	margin-bottom:12px;
}
.app-sidebar-user .user-avatar {
	width:28px;
	height:28px;
	border-radius:999px;
	background:rgba(15,23,42,0.35);
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:13px;
	font-weight:600;
}
.app-sidebar-user .user-name { font-size:13px; font-weight:600; }
.app-sidebar-user .user-role { font-size:11px; opacity:0.85; }
.app-sidebar-nav {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 4px;
}
.app-sidebar-nav a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	font-size: 13px;
	transition: background 0.15s ease, transform 0.1s ease, color 0.15s ease;
}
.app-sidebar-nav a:hover:not(.active) {
	background: rgba(255,255,255,0.16);
	transform: translateX(2px);
}
.app-sidebar-nav a.active {
	background:#ffffff;
	color:#0f172a;
}
.app-sidebar-nav .nav-icon {
	width: 22px;
	text-align: center;
}
.app-sidebar-logout {
	margin-top: 12px;
	width: 100%;
	border-radius: 999px;
	border: none;
	padding: 8px 12px;
	background: rgba(15,23,42,0.9);
	color: #f9fbff;
	cursor: pointer;
	font-size: 13px;
}
.app-sidebar-logout:hover {
	background: rgba(15,23,42,1);
}
main { max-width: 1200px; width: 100%; margin: 24px auto; padding: 0 24px; }
.card { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
button, .btn { background: #22A39F; color: #fff; border: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
button.secondary { background: #ccc; color: #222; }
input, textarea, select { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; margin: 6px 0 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #eee; padding: 8px; text-align: left; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.notice { padding: 8px 12px; border-radius: 6px; }
.notice.info { background: #E8F4FD; border: 1px solid #bfe3ff; }
.notice.warn { background: #FFF3CD; border: 1px solid #ffe8a1; }

/* Editor.js rendered typography + utility blocks */
.tp-small { font-size: 0.92em; color: #475569; }
.tp-dropcap:first-letter {
	float: left;
	font-size: 3.2em;
	line-height: 0.9;
	padding-right: 10px;
	padding-top: 4px;
	font-weight: 700;
	color: #0f172a;
}

.checklist { list-style: none; padding-left: 0; margin: 10px 0; }
.checklist .check-item { display:flex; gap: 10px; align-items:flex-start; margin: 6px 0; }
.checklist .check-item .box { width: 18px; height: 18px; border-radius: 5px; border: 1px solid #cbd5e1; display:inline-flex; align-items:center; justify-content:center; font-size: 12px; margin-top: 2px; background:#f8fafc; }
.checklist .check-item.checked .box { border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.12); color:#166534; }
.warning { border: 1px solid #ffe8a1; background: #FFF3CD; padding: 12px 14px; border-radius: 10px; }
.warning strong { display:block; margin-bottom: 4px; }
.code-block, .raw-block { background: #0b1220; color: #e2e8f0; padding: 12px 14px; border-radius: 10px; overflow:auto; }

/* Dictionary */
.dict-entry .dict-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.dict-entry .dict-title { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dict-entry .dict-word { font-size:18px; font-weight:800; color:#0f172a; }
.dict-entry a.dict-word:hover { text-decoration: underline !important; }
.dict-entry .dict-pron { font-size:13px; color:#475569; background:#f1f5f9; border:1px solid #e2e8f0; padding:2px 8px; border-radius:999px; }
.dict-entry .dict-pos { font-size:12px; color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; padding:2px 8px; border-radius:999px; text-transform:lowercase; }
.dict-entry .dict-pos.dict-sense-count { color:#6b21a8; background:#f5f3ff; border-color:#ddd6fe; text-transform:none; }
.dict-entry .dict-body { margin-top:10px; color:#1f2937; font-size:14px; }
.dict-entry .dict-body > div { margin-top:6px; }
.dict-entry .dict-ex { margin:6px 0 0; padding-left: 18px; }
.dict-entry .dict-ex li { margin: 4px 0; color:#374151; }
.dict-entry-full { color:#1f2937; font-size:14px; }
.dict-entry-full > div { margin-top:6px; }
.dict-sense-view { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5e7eb; }
.dict-senses-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top: 12px; }
.dict-sense-top { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom: 10px; }
.dict-add-sense-row { margin-top: 10px; margin-bottom: 18px; }

.dict-list-editor { background: rgba(255,255,255,0.65); border: 1px solid rgba(15,23,42,0.10); border-radius: 12px; padding: 10px 10px; }
.dict-chips { display:flex; flex-wrap:wrap; gap: 6px; margin-bottom: 8px; }
.dict-chip-item { display:inline-flex; align-items:center; gap: 8px; background:#ffffff; border:1px solid rgba(15,23,42,0.10); border-radius: 999px; padding: 4px 10px; font-size: 13px; color:#0f172a; }
.dict-chip-x { border:none; background: transparent; cursor:pointer; font-size: 16px; line-height: 1; padding: 0 2px; color:#64748b; }
.dict-chip-x:hover { color:#0f172a; }
.dict-chip-input { display:flex; gap: 8px; align-items:center; }
.dict-chip-input input { flex: 1 1 auto; }

.dict-paired-editor, .dict-suffix-editor { background: rgba(255,255,255,0.65); border: 1px solid rgba(15,23,42,0.10); border-radius: 12px; padding: 10px 10px; }
.dict-paired-rows { display:flex; flex-direction:column; gap: 8px; margin-bottom: 10px; }
.dict-paired-row { display:grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items:center; }
.dict-paired-add { display:grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items:center; }

.dict-suffix-add { display:grid; grid-template-columns: 0.7fr 1fr 1.2fr auto; gap: 8px; align-items:center; }
.dict-suffix-row { display:grid; grid-template-columns: 0.7fr 1fr 1.2fr auto; gap: 8px; align-items:center; }

.dict-tense-add { display:grid; grid-template-columns: 0.8fr 1fr 1fr auto; gap: 8px; align-items:center; }
.dict-tense-row { display:grid; grid-template-columns: 0.8fr 1fr 1fr auto; gap: 8px; align-items:center; }

.dict-word-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(15,23,42,0.35); text-underline-offset: 2px; }
.dict-word-link:hover { text-decoration-color: rgba(15,23,42,0.75); }

.dict-rel-editor { background: rgba(255,255,255,0.65); border: 1px solid rgba(15,23,42,0.10); border-radius: 12px; padding: 10px; }
.dict-rel-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 8px; }
.dict-rel-chip { display:inline-flex; align-items:center; gap:8px; padding: 6px 10px; border-radius: 999px; background: rgba(15,23,42,0.06); border: 1px solid rgba(15,23,42,0.10); }
.dict-rel-chip a { color: inherit; text-decoration: none; }
.dict-rel-chip a:hover { text-decoration: underline; text-underline-offset: 2px; }
.dict-rel-x { cursor:pointer; border: none; background: transparent; font-size: 14px; line-height: 1; opacity: 0.7; }
.dict-rel-x:hover { opacity: 1; }

.dict-rel-add { position: relative; }
.dict-rel-add input { width: 100%; }
.dict-rel-dd { position:absolute; left:0; right:0; top: calc(100% + 6px); z-index: 50; background: #fff; border: 1px solid rgba(15,23,42,0.18); border-radius: 10px; overflow:hidden; box-shadow: 0 10px 30px rgba(15,23,42,0.12); }
.dict-rel-dd-item { padding: 10px 12px; cursor:pointer; display:flex; justify-content:space-between; gap:10px; }
.dict-rel-dd-item:hover { background: rgba(59,130,246,0.08); }
.dict-rel-dd-sub { opacity: 0.7; font-size: 12px; }
.dict-rel-create { margin-top: 8px; }
.dict-pron .dict-pron-item { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:10px 12px; font-size:13px; color:#334155; }
.code-block code, .raw-block code { white-space: pre; }

.attaches { border: 1px solid #e5eaf2; border-radius: 10px; padding: 10px 12px; background:#fff; display:flex; gap: 12px; align-items:center; }
.attaches .icon { width: 36px; height: 36px; border-radius: 10px; background: #e0f2fe; display:flex; align-items:center; justify-content:center; font-weight: 700; color:#075985; flex: 0 0 36px; }
.attaches .meta { min-width: 0; }
.attaches .meta .name { font-weight: 700; color:#0f172a; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.attaches .meta .sub { font-size: 12px; color:#64748b; }

.footer-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 12px 24px; border-radius: 12px; box-shadow: 0 8px 24px rgba(15,23,42,0.20); }

/* Auth (login) page */
body.auth-body { background: radial-gradient(circle at top, #e0f2fe 0, #e0f2fe 40%, #fafafa 100%); }
main.auth-page { max-width: 100%; margin: 0; min-height: 100vh; padding: 40px 16px 56px; display: flex; align-items: center; justify-content: center; }
.auth-shell { max-width: 420px; width: 100%; margin: 0 auto; }
.auth-cards { display: grid; grid-template-columns: 1fr; }
.auth-card { position: relative; border-radius: 28px; padding: 32px 26px 40px; box-shadow: 0 24px 60px rgba(15,23,42,0.30); overflow: hidden; }
.auth-card::after { content: ""; position: absolute; left: -25%; right: -25%; bottom: -120px; height: 220px; background: radial-gradient(circle at 50% 0, rgba(255,255,255,0.9), transparent 60%); opacity: 0.75; pointer-events: none; }
.auth-title { margin: 0 0 4px; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.auth-subtitle { margin: 0 0 20px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.auth-form { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.auth-field { display: flex; align-items: center; gap: 10px; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); }
.auth-field input,
.auth-field select { border: none; background: transparent; outline: none; flex: 1 1 auto; font-size: 14px; color: inherit; padding: 4px 0; }
.auth-field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.auth-field.auth-select-wrap { padding-right: 32px; position: relative; }
.auth-field.auth-select-wrap::after { content: "▾"; position: absolute; right: 16px; font-size: 11px; opacity: 0.8; }
.auth-icon { width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.auth-primary { margin-top: 8px; width: 100%; border-radius: 999px; padding: 12px 18px; border: none; font-weight: 600; font-size: 14px; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease; }
.auth-primary:active { transform: translateY(1px); box-shadow: none; }

.auth-links { margin-top: 10px; text-align: center; }
.auth-link { font-size: 13px; color: #e5f4ff; text-decoration: none; opacity: 0.9; }
.auth-link:hover { text-decoration: underline; opacity: 1; }

.auth-login { background: linear-gradient(180deg,#00a3e0 0%, #0078d4 45%, #001f54 100%); color: #f9fbff; }
.auth-login .auth-icon { background: rgba(15,23,42,0.35); color: #e5f4ff; }
.auth-login .auth-field { background: rgba(255,255,255,0.16); }
.auth-login .auth-field input::placeholder { color: rgba(226,232,240,0.85); }
.auth-login .auth-primary { background: #f9fbff; color: #005fa3; box-shadow: 0 10px 24px rgba(15,23,42,0.45); }
.auth-login .auth-primary:hover { background: #e5f4ff; }

.auth-register { background: #ffffff; color: #0f172a; }
.auth-register::after { background: radial-gradient(circle at 50% 0, rgba(14,165,233,0.35), transparent 60%); opacity: 0.85; }
.auth-register .auth-icon { background: rgba(219,234,254,0.95); color: #0f172a; }
.auth-register .auth-field { background: #f1f5f9; }
.auth-register .auth-field input::placeholder { color: #94a3b8; }
.auth-register .auth-primary { background: #0078d4; color: #f9fbff; box-shadow: 0 10px 24px rgba(37,99,235,0.45); }
.auth-register .auth-primary:hover { background: #005fa3; }

@media (max-width: 720px) {
	main.auth-page { padding: 32px 12px 40px; }
	.auth-card { padding: 26px 20px 34px; border-radius: 24px; }
}

/* Article typography */
.article header.article-header {
	margin-bottom: 12px;
	padding: 20px;
	background: #143D59;
	border-bottom: 0;
	border-radius: 12px;
}
.article header.article-header h1 { margin: 10px 0 6px; line-height: 1.15; color: #fff; }
.article header.article-header .meta { margin-top: 0; color: #fff; }
.article .meta { color: #555; font-size: 0.9rem; }
.article .badge { display: inline-block; background: #e2e6ea; color: #333; padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }
.article header.article-header .article-header-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 16px;
	align-items: stretch;
	margin-bottom: 12px;
}
.article header.article-header .article-header-top .hero { margin: 0; }
.article header.article-header .intro-facts {
	border: 1px solid #e5eaf2;
	border-radius: 10px;
	padding: 12px 14px;
	background: #fff;
	height: 100%;
}
.article header.article-header .intro-facts-title {
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}
.article header.article-header .intro-facts-rows { display: block; }
.article header.article-header .intro-fact {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
}
.article header.article-header .intro-fact:last-child { border-bottom: 0; }
.article header.article-header .intro-fact .k { font-size: 12px; color: #64748b; font-weight: 600; }
.article header.article-header .intro-fact .v { font-size: 13px; color: #0f172a; }
.article header.article-header .hero {
	margin: 0 0 12px;
	padding: 0;
	background: none;
	box-shadow: none;
	display: block;
	color: inherit;
	border-radius: 10px;
	overflow: hidden;
}
.article .hero img { width: 100%; height: 350px; object-fit: cover; display: block; border-radius: 0; }
.article .hero figcaption { padding: 8px 12px; color: #fff; font-size: 0.85rem; }
.article .hero figcaption .img-credit-label { font-weight: 700; }

@media (max-width: 900px) {
	.article header.article-header .article-header-top { grid-template-columns: 1fr; }
	.article header.article-header .intro-fact { grid-template-columns: 110px minmax(0, 1fr); }
}
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { margin: 16px 0 8px; line-height: 1.3; }
.article-content p { margin: 10px 0; line-height: 1.6; }
.article-content ul { padding-left: 20px; margin: 8px 0 12px; }
.article-content img { max-width: 100%; height: auto; border-radius: 6px; }
.article-content figure { margin: 12px 0; }
.article-content figure img { max-width: 100%; height: auto; border-radius: 6px; display: block; }
.article-content figcaption { color: #555; font-size: 0.9rem; margin-top: 4px; }
.article-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.article-table td, .article-table th { border: 1px solid #eee; padding: 8px; }
.article-map iframe { border-radius: 6px; }
.annotations ul { padding-left: 18px; }
.annotations li { margin: 4px 0; }
