:root { --primary:#0f172a; --accent:#f59e0b; --accent-hover:#d97706; --text:#334155; --muted:#64748b; --bg:#f8fafc; --card:#ffffff; --border:#e2e8f0; }
    * { box-sizing:border-box; }
    body { margin:0; font-family:'Inter',system-ui,-apple-system,sans-serif; color:var(--text); background:var(--bg); line-height:1.7; }
    a { color:#2563eb; text-decoration:none; }
    a:hover { text-decoration:underline; }
    img { max-width:100%; height:auto; }
    body > header { background:var(--primary); position:sticky; top:0; z-index: 1000; }
    header nav { max-width:1200px; margin:0 auto; padding:0 20px; display:flex; align-items:center; justify-content:space-between; height:64px; }
    .logo { color:#fff; font-size:1.5rem; font-weight:800; }
    .nav-links { display:flex; list-style:none; gap:24px; margin:0; padding:0; }
    .nav-links a { color:#cbd5e1; font-size:0.9rem; font-weight:500; }
    .nav-links a.active, .nav-links a:hover { color:#fff; }
    .nav-cta { background:var(--accent); color:#fff !important; padding:8px 16px; border-radius:6px; }
    .hamburger { display:none; background:none; border:none; cursor:pointer; }
    .hamburger span { display:block; width:24px; height:2px; background:#fff; margin:5px 0; }
    .lang-switcher a { color:#cbd5e1; margin-left:10px; font-size:0.85rem; }
    .lang-switcher a.active { color:#fff; font-weight:700; }
    main { max-width:1200px; margin:0 auto; padding:40px 20px; }
    .breadcrumb { font-size:0.85rem; color:var(--muted); margin-bottom:24px; }
    .breadcrumb a { color:var(--muted); }
    .breadcrumb-sep { margin:0 8px; }
    .article-header { background:linear-gradient(135deg,#1e3a5f 0%,#2c5282 60%,#1e4a8a 100%); color:#fff; text-align:center; max-width:none; margin:0 0 40px; padding:64px 24px 56px; border-radius:0 0 12px 12px; position:relative; overflow:hidden }
    .article-header::before { content:''; position:absolute; inset:0; background:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1440 300\"><circle cx=\"1200\" cy=\"50\" r=\"200\" fill=\"rgba(232,160,32,0.08)\"/><circle cx=\"100\" cy=\"250\" r=\"150\" fill=\"rgba(232,160,32,0.05)\"/></svg>') center/cover no-repeat; pointer-events:none; }
    .tag { position:relative; display:inline-block; background:rgba(255,255,255,0.18); color:#fff; border:1px solid rgba(255,255,255,0.25); padding:6px 14px; border-radius:999px; font-size:0.75rem; font-weight:600; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:18px; }
    .article-header h1 { position:relative; font-size:clamp(1.75rem,4vw,2.5rem); line-height:1.25; color:#fff; margin:0 auto 16px; max-width:900px; }
    .article-header h1 a { color:#fff; text-decoration:underline; text-decoration-color:#d4a84b; text-underline-offset:4px; }
    .article-header h1 a:hover { color:#d4a84b; }
    .author-byline { position:relative; color:rgba(255,255,255,0.92); font-size:0.95rem; margin-bottom:8px; }
    .author-byline a { color:#d4a84b; font-weight:600; }
    .meta { position:relative; color:rgba(255,255,255,0.8); font-size:0.85rem; }
    .article-layout { display:grid; grid-template-columns:1fr 320px; gap:40px; align-items:start; }
    article { background:var(--card); padding:40px; border-radius:12px; box-shadow:0 1px 3px rgba(0,0,0,0.05); }
    .pas-section { background:#eff6ff; border-left:4px solid #2563eb; padding:20px; border-radius:0 8px 8px 0; margin-bottom:28px; }
    .pas-section p { margin:0 0 12px; }
    .pas-section p:last-child { margin-bottom:0; }
    .pas-label { font-weight:700; color:#1e40af; }
    .featured-snippet { background:#f0fdf4; border:1px solid #bbf7d0; padding:20px; border-radius:8px; margin-bottom:28px; }
    .featured-snippet p { margin:0; }
    h2 { font-size:1.5rem; color:var(--primary); margin:36px 0 16px; padding-bottom:8px; border-bottom:2px solid var(--border); }
    h3 { font-size:1.15rem; color:var(--primary); margin:28px 0 12px; }
    p { margin:0 0 16px; }
    ul, ol { margin:0 0 16px; padding-left:24px; }
    li { margin-bottom:8px; }
    .table-wrap { overflow-x:auto; margin:20px 0; }
    table { width:100%; border-collapse:collapse; font-size:0.95rem; }
    th, td { border:1px solid var(--border); padding:12px; text-align:left; }
    th { background:#f1f5f9; font-weight:600; color:var(--primary); }
    tr:nth-child(even) { background:#f8fafc; }
    blockquote { border-left:4px solid var(--accent); background:#fffbeb; padding:16px 20px; margin:24px 0; font-style:italic; color:#78350f; }
    .article-cta { background:linear-gradient(135deg,#0f172a,#1e293b); color:#fff; padding:32px; border-radius:12px; text-align:center; margin:36px 0; }
    .article-cta h2 { color:#fff; border:none; margin:0 0 12px; }
    .article-cta p { color:#cbd5e1; margin-bottom:20px; }
    .btn { display:inline-block; background:var(--accent); color:#fff; padding:12px 28px; border-radius:8px; font-weight:600; }
    .btn:hover { background:var(--accent-hover); text-decoration:none; }
    .secondary-link { margin-top:16px; font-size:0.85rem; color:#94a3b8; }
    .ai-summary { background:#f0fff4; border:1px dashed #38a169; padding:12px; border-radius:6px; font-family:monospace; font-size:0.9rem; margin:16px 0; }
    .image-placeholder { background:linear-gradient(135deg,#334155,#475569); height:320px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:600; margin:24px 0; }
    aside.sidebar { position:sticky; top:90px; }
    .sidebar-card { background:var(--card); border-radius:12px; box-shadow:0 1px 3px rgba(0,0,0,0.05); margin-bottom:20px; overflow:hidden; }
    .sidebar-head { background:var(--primary); color:#fff; padding:14px 18px; font-weight:700; }
    .sidebar-body { padding:18px; }
    .toc { list-style:none; padding:0; margin:0; }
    .toc li { margin-bottom:10px; }
    .toc a { color:var(--text); font-weight:500; }
    .cat-list { list-style:none; padding:0; margin:0; }
    .cat-list li { display:flex; justify-content:space-between; margin-bottom:10px; }
    .cat-list a { color:var(--text); }
    .count { background:#e2e8f0; color:var(--muted); padding:2px 8px; border-radius:999px; font-size:0.75rem; }
    .popular-post { display:flex; gap:12px; margin-bottom:16px; }
    .popular-num { width:28px; height:28px; background:var(--accent); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0; }
    .popular-info h4 { margin:0 0 4px; font-size:0.9rem; }
    .popular-info span { font-size:0.75rem; color:var(--muted); }
    .sidebar-cta { background:linear-gradient(135deg,#0891b2,#0e7490); color:#fff; padding:24px; border-radius:12px; text-align:center; }
    .sidebar-cta h3 { color:#fff; margin:0 0 10px; }
    .sidebar-cta p { font-size:0.9rem; color:#cffafe; margin-bottom:16px; }
    .sidebar-cta a { color:#fff; font-weight:700; }
    section.related-posts { margin-top:60px; }
    .related-posts-inner h2 { text-align:center; margin-bottom:28px; }
    .related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
    .related-card { background:var(--card); border-radius:12px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,0.05); }
    .related-card-body { padding: 24px 20px 20px; border-top: 4px solid var(--primary) }
    .related-card-body h3 { margin:0 0 8px; font-size:1rem; }
    .related-card-body p { margin:0; font-size:0.85rem; color:var(--muted); }
    footer { background:var(--primary); color:#94a3b8; text-align:center; padding:24px 20px; margin-top:60px; }
    footer p { margin:0; font-size:0.85rem; }
    @media(max-width:900px){
      .article-layout { grid-template-columns:1fr; }
      aside.sidebar { position:static; }
      .related-grid { grid-template-columns:1fr; }
      .nav-links { display:none; }
      .hamburger { display:block; }
    }

/* Dropdown navigation */
.dropdown { position: relative; display: inline-block; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 1100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; z-index: 1100}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #2d3748;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-menu a:hover { background: #f7fafc; color: #2b6cb0; }
.dropdown-menu a.active { color: #2b6cb0; font-weight: 600; }
.dropdown-header { padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.05em }
.dropdown-divider { height: 1px; background: #e2e8f0; margin: 8px 0; }
