/* PBS Blog — shared article styles (loaded by every /blog/*.html after the skin CSS)
   Follows the skin's doubled-rem convention (1rem = 10px). */

.post-hero { padding: 64px 0 40px; background: #0b1f2e; }
.post-hero .breadcrumb-line { margin-bottom: 18px; }
.post-hero .breadcrumb-line a { color: rgba(255,255,255,0.55); font-size: 1.6rem; text-decoration: none; }
.post-hero .breadcrumb-line a:hover { color: #fff; }
.post-hero .breadcrumb-line span.sep { color: rgba(255,255,255,0.30); margin: 0 8px; font-size: 1.6rem; }
.post-hero .breadcrumb-line span.here { color: rgba(255,255,255,0.75); font-size: 1.6rem; }

.post-tag {
	display: inline-block; font-size: 1.5rem; font-weight: 700; letter-spacing: 1.2px;
	text-transform: uppercase; padding: 3px 12px; border-radius: 4px; margin-bottom: 16px;
	background: #09354e; color: #57c6f2;
}
.post-hero h1 { color: #fff; font-size: 4.2rem; line-height: 1.25; margin: 0 0 16px; max-width: 860px; }
.post-hero .post-meta { color: rgba(255,255,255,0.55); font-size: 1.6rem; }
.post-hero .post-meta strong { color: rgba(255,255,255,0.80); font-weight: 600; }
.post-hero .post-meta .dot { margin: 0 8px; opacity: 0.5; }

.post-cover { margin: -1px 0 0; background: #0b1f2e; }
.post-cover img { display: block; width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 16/9; object-fit: cover; }

.post-body-wrap { padding: 56px 0 24px; background: #fff; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body p, .post-body li { font-size: 1.9rem; line-height: 1.85; color: #3a4450; margin-bottom: 22px; }
.post-body li { margin-bottom: 10px; }
.post-body h2 { font-size: 2.8rem; color: #16222e; margin: 44px 0 16px; line-height: 1.3; }
.post-body h3 { font-size: 2.2rem; color: #16222e; margin: 34px 0 12px; }
.post-body strong { color: #16222e; }
.post-body a { color: #0077aa; }
.post-body blockquote {
	border-left: 3px solid #0077aa; margin: 28px 0; padding: 6px 0 6px 22px;
	font-size: 2rem; color: #4a5560; font-style: italic;
}
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 1.7rem; }
.post-body table th, .post-body table td { border: 1px solid #e4e9ee; padding: 10px 14px; text-align: left; color: #3a4450; }
.post-body table th { background: #f4f8fb; color: #16222e; font-weight: 700; }
.post-body .table-scroll { overflow-x: auto; }

.key-points {
	background: #f2f9fd; border: 1px solid #d7ecf7; border-radius: 10px;
	padding: 24px 28px; margin: 34px 0;
}
.key-points h2, .key-points h3 { margin-top: 0; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 1.2px; color: #0077aa; }
.key-points ul { margin: 0; padding-left: 20px; }
.key-points li { font-size: 1.8rem; margin-bottom: 8px; }

.post-cta {
	margin: 48px 0 24px; padding: 30px 32px; border-radius: 10px;
	background: #0b1f2e; color: #fff; display: flex; flex-wrap: wrap;
	align-items: center; justify-content: space-between; gap: 18px;
}
.post-cta p { color: rgba(255,255,255,0.75); font-size: 1.8rem; margin: 0; max-width: 520px; }
.post-cta .btn-info { font-size: 1.6rem; }
/* .post-body a (0-1-1) outranks .btn-info (0-1-0) and painted the CTA text with
   the accent — invisible on the accent background. 0-2-0 wins. */
.post-cta .btn-info { color: #fff; }

.post-footer-nav { border-top: 1px solid #eee; padding: 26px 0 60px; background: #fff; }
.post-footer-nav .inner { max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.post-footer-nav a { font-size: 1.7rem; font-weight: 700; color: #0077aa; text-decoration: none; }
.post-footer-nav a:hover { text-decoration: underline; }

@media (max-width: 767px) {
	.post-hero h1 { font-size: 3.2rem; }
	.post-body { padding: 0 4px; }
}

/* Language switcher (same dropdown as the site pages — injected by tools/blog/build_posts.py) */
.lang-switch > a.dropdown-toggle { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.lang-switch .lang-globe { width:15px; height:15px; flex:none; }
.lang-switch .dropdown-menu { min-width:150px; border-radius:8px; border:1px solid #e3e8ee;
	box-shadow:0 8px 24px rgba(10,25,47,0.12); padding:6px; margin-top:4px; right:0; left:auto; }
.lang-switch .dropdown-menu > li > a { padding:8px 12px; border-radius:6px; font-size:13px;
	color:#3a4450; display:flex; align-items:center; justify-content:space-between; }
.lang-switch .dropdown-menu > li > a:hover { background:#f2f9fd; color:#0077aa; }
.lang-switch .dropdown-menu > li.active > a { background:#0077aa; color:#fff; font-weight:700; }
.lang-switch .dropdown-menu > li.active > a:hover { background:#0077aa; color:#fff; }
.lang-switch .lang-code { font-size:10px; font-weight:700; letter-spacing:1px; opacity:0.55; margin-left:14px; }
@media (max-width:767px){ .lang-switch .dropdown-menu { position:static; float:none; box-shadow:none;
	border:0; background:transparent; } }
