    :root {
      --primary-bg: #111;
      --secondary-bg: #1a1a1a;
      --accent: #e53935;
      --text-main: #fff;
      --text-muted: #bbb;
      --heading: #c2185b;
      --blue: #039be5;
      --shadow: 0 2px 16px rgba(0,0,0,0.5);
    }

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

    body {
      background: var(--primary-bg);
      color: var(--text-main);
      font-family: 'Roboto', Arial, sans-serif;
      min-height: 100vh;
      line-height: 1.6;
    }

    header {
      background: url('../img/banner.jpg') top center/cover no-repeat, var(--secondary-bg);
      min-height: 575px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      position: relative;
    }

    .site-title {
      font-family: 'UnifrakturCook', cursive;
      text-align: center;
      color: #fff;
      font-size: 9rem;
      text-shadow: 2px 2px 12px #000, 0 0 39px #e53935;
      letter-spacing: 0.04em;
      z-index: 2;
      padding-top: 18px;
    }

    .site-nav {
      background: var(--secondary-bg);
      display: flex;
      justify-content: center;
      height: 45px;
      flex-wrap: wrap;
    }

    nav {
      display: flex;
      justify-content: center;
      min-height: 45px;
      padding: 0 0 .5em 0;
      flex-wrap: wrap;
    }

    nav a {
      color: var(--accent);
      text-decoration: none;
      font-weight: bold;
      margin: 0 .7em;
      transition: color 0.22s;
      font-size: 1.08em;
    }

    nav a:hover, nav a:focus {
      color: var(--blue);
    }

    main {
      max-width: 820px;
      margin: -60px auto 0 auto;
      background: rgba(22,22,22, 0.98);
      border-radius: 11px;
      padding: 1.7em 1.7em 2.5em 1.7em;
      box-shadow: var(--shadow);
      z-index: 3;
      position: relative;
    }

    .blog-meta {
      color: var(--blue);
      font-weight: 700;
      font-size: 1.08em;
    }

    article + article {
      margin-top: 2.5em;
      border-top: 1px solid #222;
      padding-top: 1.5em;
    }

    h1, h2, h3, h4 {
      font-family: 'UnifrakturCook', cursive;
      color: var(--heading);
      margin-bottom: .5em;
    }

    h1 { font-size: 2.1em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.16em; }

    .date {
      color: var(--text-muted);
      font-size: 0.96em;
      margin-bottom: .7em;
      display:block;
    }

    a {
      color: var(--accent);
      word-break: break-word;
    }

    a:hover, a:focus {
      text-decoration: underline;
    }

    ul, ol {
      margin: 1em 0 1.5em 2em;
      line-height: 1.6;
    }

    p {
        margin-bottom: 1.7em;
    }

    .section-title {
      color: var(--heading);
      font-size: 1.1em;
      margin-top: 1.1em;
      margin-bottom: .4em;
    }

    /* Sidebar */
    aside {
      background: var(--secondary-bg);
      border-radius: 7px;
      padding: 1.3em 1em;
      margin: 2em 0 0 0;
      color: var(--text-muted);
      box-shadow: 0 1px 8px rgba(0,0,0,0.14);
    }

    aside h4 {
      color: var(--accent);
      font-size: 1.04em;
      margin-bottom: 0.4em;
      margin-top: 1em;
    }

    .side-section {
      margin-bottom: 1.3em;
      font-size: 0.98em;
    }

    .side-section:last-child {
      margin-bottom: 0;
    }

    .side-section ul {
      padding-left: 1.2em;
      margin: 0.4em 0;
    }

    /* Layout for wider screens */
    .layout {
      display: flex;
      gap: 2.2em;
      align-items: flex-start;
    }

    .main-content {
      flex: 1 1 65%;
    }
    .sidebar {
      flex: 0 0 29%;
      min-width: 210px;
    }

    /* Blog post tags */
    .tags {
      font-size: 0.92em;
      color: var(--blue);
      margin-bottom: 0.2em;
    }

    .reply {
        width: 75%;
        margin-left: 25%;
    }

    #pub,
    .form-required {
        display: none !important
    }

    #contact {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

    .contact .form {
        background: #161616;
        padding: 2.5rem 2rem;
        border-radius: 16px;
        box-shadow: 0px 6px 32px rgba(15, 23, 42, 0.09), 0 1.5px 3px rgba(15, 23, 42, 0.08);
        width: 100%;
        max-width: 370px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-family: system-ui, sans-serif;
    }

    .form label {
        margin-bottom: 0.25rem;
        font-size: 1rem;
        color: #bbb;
        letter-spacing: 0.04em;
        font-weight: 500;
    }

    .form input,
    .form textarea {
        padding: 0.75rem 1rem;
        border: 1px solid #bfc7d1;
        border-radius: 7px;
        font-size: 1rem;
        transition: border-color 0.2s;
        outline: none;
        background: #fafbfc;
        color: #304156;
        resize: vertical;
    }

    .form textarea {
        min-height: 120px;
    }

    .form input:focus,
    .form textarea:focus {
        border-color: #4372fa;
        background: #f1f4ff;
    }

    .form button[type="submit"] {
        margin-top: 1rem;
        padding: 0.85rem;
        border: none;
        border-radius: 7px;
        background: linear-gradient(90deg, #e53935, #e53935);
        color: white;
        font-size: 1.08rem;
        font-weight: 600;
        cursor: pointer;
        transition: box-shadow 0.2s, background 0.2s;
        box-shadow: 0 2px 11px rgba(67, 114, 250, 0.09);
    }

    .form button[type="submit"]:hover {
        background: linear-gradient(90deg, #3865d6, #4372fa);
        box-shadow: 0 4px 18px rgba(67, 114, 250, 0.17);
    }

    /* Responsiveness */
    @media (max-width: 900px) {
      header {
        min-height: 100px;
      }
      .site-title {
        font-size: 2.1rem;
      }
      .layout {
        flex-direction: column;
        gap: 1.5em;
      }
      .sidebar {
        min-width: unset;
      }
      main {
        margin: -30px auto 0 auto;
        padding: 1.2em 0.6em;
        padding-top: 0;
      }
    }

    @media (max-width: 580px) {
      .site-title { font-size: 1.1em; padding-top: 8px;}
      nav { font-size: .98em;}
    }

    /* Misc */
    .credits {
      text-align: center;
      margin: 2em 0 1em 0;
      color: var(--text-muted);
      font-size: 0.92em;
    }
    /* Scrollbars for modern browsers */
    ::-webkit-scrollbar {
      width: 9px;
      background: var(--primary-bg);
    }
    ::-webkit-scrollbar-thumb {
      background: #252525;
      border-radius: 6px;
    }
