﻿:root {
      --primary: #166534;
      --primary-dark: #14532D;
      --accent: #B7791F;
      --accent-soft: #C58B43;
      --bg-parchment: #F4EFE6;
      --bg-paper: #FAF7F0;
      --bg-white: #FFFFFF;
      --charcoal: #101513;
      --charcoal-deep: #0B0F0D;
      --text-dark: #111827;
      --text-muted: #6B7280;
      --text-light: #F8FAFC;
      --border-light: rgba(17,24,39,.10);
      --border-copper: rgba(183,121,31,.22);
      --shadow-premium: 0 26px 80px rgba(17,24,39,.11);
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }
    html {
      width: 100%;
      overflow-x: hidden;
    }
    body {
      width: 100%;
      margin: 0;
      overflow-x: hidden;
      background: var(--bg-parchment);
      color: var(--text-dark);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
    }
    img {
      max-width: 100%;
    }
    a {
      text-decoration: none;
      color: inherit;
    }

    
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background: rgba(16, 21, 19, 0.90);
      backdrop-filter: blur(20px) saturate(150%);
      border-bottom: 1px solid rgba(183, 121, 31, 0.20);
      box-shadow: 0 14px 44px rgba(17, 24, 39, 0.20);
    }
    .header-inner {
      width: min(1200px, calc(100% - 32px));
      min-height: 76px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      max-width: 100%;
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo img {
      display: block;
      height: 40px;
      width: auto;
      max-width: 150px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .logo span {
      display: inline-block;
      font-size: 18px;
      font-weight: 900;
      line-height: 1.2;
      color: #F8FAFC;
      white-space: nowrap;
      max-width: 190px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .desktop-nav-wrap {
      flex: 1 1 auto;
      min-width: 0;
      display: flex;
      justify-content: flex-end;
      overflow: hidden;
    }
    .desktop-nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      white-space: nowrap;
    }
    .desktop-nav::-webkit-scrollbar { display: none; }
    .desktop-nav a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 14px;
      border-radius: 999px;
      color: #D1D5DB;
      text-decoration: none;
      font-size: 14px;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
      flex: 0 0 auto;
      border: 1px solid transparent;
    }
    .desktop-nav a:hover {
      color: #FFFFFF;
      background: rgba(183, 121, 31, 0.16);
      border-color: rgba(183, 121, 31, 0.30);
      box-shadow: 0 8px 24px rgba(183, 121, 31, 0.14);
    }
    .mobile-menu-btn {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(183, 121, 31, 0.28);
      border-radius: 16px;
      background: rgba(183, 121, 31, 0.12);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      flex: 0 0 auto;
      box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
    }
    .mobile-menu-btn span {
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 99px;
      background: #F8FAFC;
    }
    .mobile-nav-mask {
      position: fixed;
      inset: 0;
      z-index: 1100;
      background: rgba(15, 23, 42, 0.56);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1110;
      width: min(86vw, 360px);
      height: 100vh;
      height: 100dvh;
      max-width: 90vw;
      background: linear-gradient(180deg, #101513 0%, #16211D 100%);
      color: #F8FAFC;
      transform: translateX(-105%);
      transition: transform 0.28s ease;
      box-shadow: 24px 0 60px rgba(0,0,0,0.34);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .drawer-head {
      min-height: 76px;
      padding: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      flex: 0 0 auto;
    }
    .drawer-logo img { height: 34px; max-width: 120px; }
    .drawer-logo span { font-size: 16px; max-width: 145px; color: #F8FAFC; }
    .drawer-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 14px;
      background: rgba(255,255,255,0.10);
      color: #F8FAFC;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
      flex: 0 0 auto;
    }
    .drawer-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      padding: 14px;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .drawer-nav a {
      display: flex;
      align-items: center;
      width: 100%;
      min-height: 48px;
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(255,255,255,0.08);
      color: #F8FAFC;
      text-decoration: none;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.35;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
      border: 1px solid rgba(255,255,255,0.10);
    }
    .drawer-nav a:hover {
      background: rgba(22, 101, 52, 0.24);
    }
    body.drawer-open { overflow: hidden; touch-action: none; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height: 68px; gap: 12px; }
      .desktop-nav-wrap, .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
    }

    
    .article-wrap {
      width: min(1200px, calc(100% - 32px));
      margin: 48px auto 80px;
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 48px;
    }
    .article-main {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 4px 20px rgba(17, 24, 39, 0.02);
    }
    .article-breadcrumb {
      font-size: 12px;
      color: var(--accent);
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.05em;
      margin-bottom: 20px;
    }
    .article-header h1 {
      font-size: clamp(24px, 4.5vw, 36px);
      font-weight: 900;
      line-height: 1.25;
      color: var(--text-dark);
      margin: 0 0 20px;
    }
    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border-light);
      padding-bottom: 24px;
      margin-bottom: 32px;
    }
    .article-cover {
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 32px;
      background: #e4e2dd;
      aspect-ratio: 16/9;
    }
    .article-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    
    .article-content, .article-content * { box-sizing: border-box; max-width: 100%; }
    .article-content { color: #1F2937 !important; overflow-x: hidden; overflow-wrap: break-word; word-break: break-word; font-size: 16px; line-height: 1.8; }
    .article-content p, .article-content li, .article-content span, .article-content div { color: #1F2937 !important; overflow-wrap: break-word; word-break: break-word; }
    .article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 { color: #111827 !important; overflow-wrap: break-word; word-break: break-word; font-weight: 800; margin-top: 1.6em; margin-bottom: 0.6em; }
    .article-content a { color: #166534 !important; text-decoration: underline; }
    .article-content img, .article-content figure img, .article-content video, .article-content iframe, .article-content embed { width: 100% !important; max-width: 100% !important; height: auto !important; display: block !important; border-radius: 8px; margin: 24px 0; }
    .article-content figure { width: 100% !important; max-width: 100% !important; overflow: hidden !important; margin-left: 0 !important; margin-right: 0 !important; }
    .article-content table { width: 100% !important; max-width: 100% !important; display: block; overflow-x: auto; border-collapse: collapse; background: #FFFFFF !important; color: #1F2937 !important; margin: 24px 0; }
    .article-content thead, .article-content tbody, .article-content tr, .article-content th, .article-content td { background: #FFFFFF !important; color: #1F2937 !important; border-color: rgba(17,24,39,.12) !important; border-width: 1px; border-style: solid; padding: 12px; }
    .article-content th { background: rgba(22,101,52,.08) !important; color: #111827 !important; font-weight: 800; }
    .article-content th *, .article-content td * { color: #1F2937 !important; }
    .article-content pre, .article-content code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; background: #101513 !important; color: #F8FAFC !important; padding: 16px; border-radius: 8px; font-family: monospace; }
    .article-content details, .article-content summary, .article-content details *, .article-content .faq, .article-content .faq *, .article-content .faq-item, .article-content .faq-item *, .article-content .faq-answer, .article-content .faq-answer *, .article-content .accordion, .article-content .accordion *, .article-content .accordion-item, .article-content .accordion-item *, .article-content .accordion-body, .article-content .accordion-body *, .article-content .accordion-content, .article-content .accordion-content *, .article-content [class*="faq"], .article-content [class*="faq"] *, .article-content [class*="accordion"], .article-content [class*="accordion"] * { background: #FFFFFF !important; color: #1F2937 !important; border-color: rgba(22,101,52,.20) !important; }
    .article-content details, .article-content .faq-item, .article-content .accordion-item { border: 1px solid rgba(22,101,52,.20) !important; border-radius: 18px !important; overflow: hidden !important; margin: 14px 0 !important; }
    .article-content summary, .article-content .faq-question, .article-content .accordion-header, .article-content .accordion-button { background: rgba(22,101,52,.08) !important; color: #111827 !important; padding: 16px 18px !important; cursor: pointer; font-weight: 700; }
    .article-content .faq-answer, .article-content .accordion-body, .article-content .accordion-content, .article-content details > div, .article-content details > p { background: #FFFFFF !important; color: #1F2937 !important; padding: 18px !important; }
    .article-content blockquote, .article-content .note, .article-content .tips, .article-content .warning, .article-content .pro-tip, .article-content .tip, .article-content .callout, .article-content .notice, .article-content [class*="tip"], .article-content [class*="note"], .article-content [class*="callout"], .article-content [class*="highlight"], .article-content [class*="box"], .article-content [class*="card"] { background: rgba(255,255,255,.96) !important; color: #1F2937 !important; border: 1px solid rgba(22,101,52,.18) !important; border-left: 4px solid #166534 !important; border-radius: 20px !important; padding: 18px !important; box-shadow: 0 10px 30px rgba(17,24,39,.06); margin: 24px 0; }
    .article-content blockquote *, .article-content .note *, .article-content .tips *, .article-content .warning *, .article-content .pro-tip *, .article-content .tip *, .article-content .callout *, .article-content .notice *, .article-content [class*="tip"] *, .article-content [class*="note"] *, .article-content [class*="callout"] *, .article-content [class*="highlight"] *, .article-content [class*="box"] *, .article-content [class*="card"] * { color: #1F2937 !important; }
    .article-content [style*="color:#fff"], .article-content [style*="color: #fff"], .article-content [style*="color:#ffffff"], .article-content [style*="color: #ffffff"], .article-content [style*="color:white"], .article-content [style*="color: white"] { color: #1F2937 !important; }

    
    .article-tags-links {
      margin-top: 40px;
      border-top: 1px solid var(--border-light);
      padding-top: 24px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .tag-link-pill {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      background: var(--bg-paper);
      border: 1px solid var(--border-light);
      border-radius: 99px;
      font-size: 13px;
      font-weight: 700;
      color: var(--accent);
    }
    .tag-link-pill:hover {
      border-color: var(--accent-soft);
      background: var(--bg-parchment);
    }

    
    .neighbor-links {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 40px;
      border-top: 1px solid var(--border-light);
      padding-top: 32px;
    }
    .neighbor-card {
      background: var(--bg-paper);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      padding: 20px;
    }
    .neighbor-card span {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--text-muted);
      display: block;
      margin-bottom: 8px;
    }
    .neighbor-card a {
      font-size: 14px;
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1.4;
      display: block;
    }
    .neighbor-card a:hover {
      color: var(--primary);
    }

    
    .article-sidebar {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .sidebar-widget {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: 16px;
      padding: 24px;
    }
    .sidebar-widget h3 {
      font-size: 15px;
      font-weight: 800;
      text-transform: uppercase;
      margin: 0 0 16px;
      border-bottom: 1px solid var(--border-light);
      padding-bottom: 10px;
      color: var(--text-dark);
    }
    .mini-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .mini-item {
      display: flex;
      gap: 12px;
      align-items: start;
    }
    .mini-img {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      overflow: hidden;
      background: #e4e2dd;
      flex-shrink: 0;
    }
    .mini-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .mini-text h4 {
      margin: 0 0 4px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.35;
      color: var(--text-dark);
    }
    .mini-text h4 a:hover {
      color: var(--primary);
    }
    .mini-text span {
      font-size: 11px;
      color: var(--text-muted);
    }

    
    .related-segment {
      width: min(1200px, calc(100% - 32px));
      margin: 64px auto 80px;
      border-top: 1px solid var(--border-light);
      padding-top: 48px;
    }
    .related-segment h2 {
      font-size: 22px;
      font-weight: 900;
      margin: 0 0 32px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }
    .related-card {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(17, 24, 39, 0.02);
    }
    .related-img {
      aspect-ratio: 16/10;
      background: #e4e2dd;
      overflow: hidden;
    }
    .related-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .related-body {
      padding: 20px;
    }
    .related-body h3 {
      font-size: 15px;
      font-weight: 800;
      margin: 0 0 8px;
      line-height: 1.4;
    }
    .related-body h3 a:hover {
      color: var(--primary);
    }

    
    .site-footer {
      position: relative;
      width: 100%;
      background: linear-gradient(180deg, #101513 0%, #0B0F0D 100%);
      color: #F8FAFC;
      padding: 60px 0 24px;
      overflow: hidden;
      border-top: 1px solid rgba(183, 121, 31, 0.18);
    }
    .site-footer .logo span { color: #F8FAFC; }
    .footer-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
      gap: 28px;
      align-items: start;
    }
    .footer-brand, .footer-column { min-width: 0; }
    .footer-brand p {
      margin: 16px 0 0;
      color: rgba(248, 250, 252, 0.76);
      line-height: 1.8;
      font-size: 14px;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .footer-column h3 {
      margin: 0 0 14px;
      font-size: 15px;
      color: #fff;
    }
    .footer-column ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-column a, .footer-column span {
      display: inline;
      color: rgba(248, 250, 252, 0.76);
      text-decoration: none;
      font-size: 14px;
      line-height: 1.55;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .footer-column a:hover { color: #fff; }
    .footer-bottom {
      width: min(1200px, calc(100% - 32px));
      margin: 32px auto 0;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.10);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: rgba(248, 250, 252, 0.62);
      font-size: 13px;
    }
    .footer-bottom p {
      margin: 0;
      min-width: 0;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .footer-bottom a {
      color: rgba(248, 250, 252, 0.76);
      text-decoration: none;
      word-break: break-word;
      overflow-wrap: anywhere;
    }

    @media (max-width: 900px) {
      .article-wrap { grid-template-columns: 1fr; gap: 32px; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    }
    @media (max-width: 640px) {
      .article-main { padding: 24px; }
      .neighbor-links { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-inner, .footer-bottom { width: min(100% - 24px, 1200px); }
    }