
/*page.css*/


    #article {
      margin-top: 40px;
      place-items: anchor-center
    }

    #title {
      font-size: 2em;
      margin-bottom: 10px;
    }

    #meta {
      color: #2f2e2e;
      font-size: 0.9em;
      margin-bottom: 20px;
    }

    .dark #meta {
      color: #f2e3e3;
    }

    #article img {
      /* max-width: 100%; */
      height: auto;
      display: block;
      margin-top: 1rem;
      margin-left: auto;
      margin-right: auto;
      border-radius: 8px;
      min-width: 7rem;
      max-width: 15rem;
    }

/* Only the last image inside #content */
#content img:last-of-type {
  max-width: 100%
}


    #error {
      color: red;
    }

    #content {
      color: black;
      white-space: pre-line;
      line-height: 2.5
    }

    .dark #content {
      color: white;
    }


    .symbol-container {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 20px;
    }

    .symbol-tag {
      display: inline-block;
      padding: 8px 16px;
      background:linear-gradient(135deg, #193447, #c7e0ff);
      color: #ffffff;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      transition: background 0.3s, transform 0.2s;
      
    }

    .symbol-tag:hover {
      background: linear-gradient(135deg, #d0e9ff, #b6d5ff);
      transform: translateY(-1px);
    }

    p, li {
      margin: 1rem auto;
      text-align: justify;
      hyphens: auto;
      line-height: 1.6;
      word-break: break-word;
      overflow-wrap: break-word;
      font-size: 1rem;
      /* max-width: 120ch; */
      /* keeps lines at readable length */
    }

    #article>* {
      text-align: center;
    }


      .date-row {
    display: flex;
    gap: 5px; /* space between label and date */
    flex-direction: column;
    
  }


  #content::after {
    content: "";
    display: block;
    margin-bottom: 1em;
}