
    @import url('https://fonts.googleapis.com/css2?family=Taviraj:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Fira+Sans:wght@300;400;500;600&display=swap');

    :root {
      --blue:       #0066cc;
      --blue-dark:  #003366;
      --blue-light: #e9f3ff;
      --blue-top:   #0073e6;
      --text:       #333;
      --muted:      #666;
      --border:     #e0e0e0;
      --bg:         #f9fafb;
      --white:      #ffffff;
      --nav-width:  280px;
      --radius:     10px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: "Taviraj", serif;
      font-size: 16px;
      color: var(--text);
      background: var(--bg);
      line-height: 22px;
    }

    .site-top-bar { height: 5px; background: var(--blue-top); }

    .site-header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 8px 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .site-header .logo {
      font-family: "Taviraj", serif;
      font-size: 20px;
      font-weight: 700;
      font-style: italic;
      color: var(--blue);
      text-decoration: none;
    }
    .site-header .logo span { font-weight: 400; color: var(--text); }
    .site-header .home-link {
      font-family: "Fira Sans", sans-serif;
      font-size: 13px;
      color: var(--blue);
      text-decoration: none;
      border: 1px solid var(--blue);
      padding: 5px 14px;
      border-radius: 20px;
      transition: all 0.2s;
    }
    .site-header .home-link:hover { background: var(--blue); color: #fff; }

    .breadcrumb {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 10px 32px;
      font-family: "Fira Sans", sans-serif;
      font-size: 13px;
      color: var(--muted);
    }
    .breadcrumb a { color: var(--blue); text-decoration: none; }
    .breadcrumb a:hover { text-decoration: underline; }
    .breadcrumb .sep { margin: 0 6px; }

    .page-body { display: flex; min-height: calc(100vh - 130px); }

    .sidebar {
      width: var(--nav-width);
      flex-shrink: 0;
      background: var(--white);
      border-right: 1px solid var(--border);
      padding: 24px 0;
      position: sticky;
      top: 62px;
      height: calc(100vh - 62px);
      overflow-y: auto;
    }
    .sidebar-title {
      font-family: "Fira Sans", sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0 20px 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 8px;
    }
    .nav-tree { list-style: none; }
    .nav-tree li { position: relative; }
    .nav-tree a {
      display: block;
      padding: 7px 20px;
      font-family: "Fira Sans", sans-serif;
      font-size: 13.5px;
      font-weight: 400;
      color: var(--text);
      text-decoration: none;
      line-height: 1.4;
      transition: background 0.15s, color 0.15s;
      border-left: 3px solid transparent;
    }
    .nav-tree a:hover { background: var(--blue-light); color: var(--blue); }
    .nav-tree a.active {
      background: var(--blue-light);
      color: var(--blue);
      font-weight: 600;
      border-left-color: var(--blue);
    }
    .nav-level-1 > li > a { padding-left: 20px; font-weight: 500; font-style: italic; }
    .nav-level-2 { display: none; }
    .nav-level-2.open { display: block; }
    .nav-level-2 > li > a { padding-left: 36px; font-size: 13px; font-style: normal; }
    .nav-level-3 { display: none; }
    .nav-level-3.open { display: block; }
    .nav-level-3 > li > a { padding-left: 52px; font-size: 12.5px; color: var(--muted); }
    .nav-level-4 { display: none; }
    .nav-level-4.open { display: block; }
    .nav-level-4 > li > a { padding-left: 68px; font-size: 12px; color: var(--muted); }

    .content { flex: 1; padding: 40px 48px; max-width: 900px; }
    .content h1 {
      font-family: "Taviraj", serif;
      font-size: 34px;
      font-weight: 800;
      color: var(--blue);
      line-height: 36px;
      margin-bottom: 25px;
    }
    .page-meta {
      font-family: "Fira Sans", sans-serif;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }
    .content-body { font-family: "Taviraj", serif; }
    .content-body h2 {
      font-family: "Taviraj", serif;
      font-size: 28px;
      font-weight: 500;
      color: var(--text);
      line-height: 30px;
      margin: 28px 0 25px;
    }
    .content-body h3 {
      font-family: "Taviraj", serif;
      font-size: 24px;
      font-weight: 400;
      color: var(--text);
      line-height: 26px;
      margin: 20px 0 25px;
    }
    .content-body h4 {
      font-family: "Taviraj", serif;
      font-size: 20px;
      font-weight: 300;
      color: var(--text);
      margin: 16px 0 25px;
    }
    .content-body p {
      font-size: 16px;
      color: var(--text);
      line-height: 22px;
      text-align: justify;
      margin-bottom: 12px;
    }
    .content-body ul, .content-body ol { margin: 8px 0 14px 25px; padding-left: 0; }
    .content-body li { padding-bottom: 8px; text-align: justify; line-height: 22px; }
    .content-body blockquote {
      background: var(--blue-light);
      border-left: 4px solid var(--blue);
      padding: 14px 18px;
      margin: 16px 0;
      border-radius: 0 var(--radius) var(--radius) 0;
      font-style: italic;
      color: var(--muted);
    }
    .content-body a { color: var(--blue); text-decoration: none; }
    .content-body a:hover { text-decoration: underline; color: var(--blue-dark); }
    .content-body table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-family: "Taviraj", serif;
      font-size: 16px;
      line-height: 22px;
      color: var(--text);
      margin: 16px 0;
    }
    .content-body table thead th {
      background: var(--blue);
      color: #fff;
      font-weight: 600;
      vertical-align: middle;
      text-align: center;
      border: 0;
      padding: .75rem;
    }
    .content-body table tbody td {
      font-weight: 400;
      vertical-align: middle;
      border-top: 1px solid rgba(0,0,0,.05);
      padding: .75rem;
    }
    .content-body table tbody tr:nth-of-type(even) td { background-color: var(--blue-light); }
    .content-body table tbody tr:nth-of-type(odd)  td { background-color: var(--white); }

    .child-sections { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
    .child-label {
      font-family: "Fira Sans", sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }
    .child-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
    .child-card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      padding: 20px;
      text-decoration: none;
      color: var(--text);
      transition: box-shadow 0.25s ease, transform 0.25s ease;
      display: block;
    }
    .child-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); color: var(--blue); }
    .child-card .card-icon { font-size: 22px; margin-bottom: 10px; }
    .child-card .card-title {
      font-family: "Fira Sans", sans-serif;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.4;
      color: var(--blue);
    }

    /* Banner "pagina collegata" per le pagine fuori dall'AT */
    .ext-notice {
      background: var(--blue-light);
      border-left: 4px solid var(--blue);
      padding: 10px 16px;
      margin-bottom: 24px;
      border-radius: 0 var(--radius) var(--radius) 0;
      font-family: "Fira Sans", sans-serif;
      font-size: 13px;
      color: var(--muted);
    }
    .ext-notice a { color: var(--blue); }

    .site-footer {
      background: var(--blue-dark);
      color: rgba(255,255,255,0.75);
      text-align: center;
      padding: 24px 32px;
      font-family: "Fira Sans", sans-serif;
      font-size: 12px;
      line-height: 1.8;
    }
    .site-footer a { color: rgba(255,255,255,0.75); }
    .site-footer a:hover { color: #fff; }
    .site-footer strong { color: #fff; }

    @media (max-width: 768px) {
      .sidebar { display: none; }
      .content { padding: 24px 20px; }
      .site-header { padding: 0 16px; }
    }
