article.article-detail {
  margin: var(--space-l) 0;

  >ul {
    margin: 0 0 0 var(--space-s);
  }

  >table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-s);
    text-align: left;
  }

  >table th {
    font-weight: bold;
    padding: var(--space-3xs) var(--space-xs);
    border: 1px solid var(--color-neutral-8);
  }

  >table td {
    font-weight: normal;
    padding: var(--space-3xs) var(--space-xs);
    border: 1px solid var(--color-neutral-8);
    font-size: var(--font-size--1);
  }

  >table th {
    background: var(--color-neutral-10);
  }
}

section.articles {
  display: flex;
  flex-direction: column;
  margin: var(--space-3xs) 0;
  padding: 0 0 var(--space-s) 0;

  article.article {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-s);
    overflow: clip;
    background: var(--color-neutral-9);
    border-radius: 0.4em;

    >details {
      background: var(--color-neutral-10);
      padding: 0;
      border-radius: 0.3em;
      
      >summary {
        cursor: pointer;
        padding: var(--space-xs) var(--space-s);
      }

      >ul {
        padding: 0 var(--space-xs) var(--space-xs) var(--space-xs);
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
      }
    }
  }
}

.badge.rewrite{
  display: flex;
  width: fit-content;
  background:var(--color-color-3);
  color: var(--color-light-neutral-10);
  padding: 0.2em 0.4em;
  border-radius: 0.3em;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

section.article-element {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  align-items: start;

  >picture {
    flex: 1 1 20ch;
    aspect-ratio: 16 / 9;

    >img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      border-radius: 0.3em;
    }
  }

  >aside {
    flex: 3 1 40ch;
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);

    >time {
      color: var(--color-neutral-5);
      font-size: var(--font-size--1);
    }
  }
}