body {
  box-sizing: border-box;
  margin-right: 4rem;
  margin-left: 4rem;
  margin-top: 0;
  margin-bottom: 0;
  height: 100vh;
}

header {
  /* padding: 10px; */
}

.content {
  flex: 1; /* This makes the content section fill the available space */
  overflow-y: auto; /* Allows vertical scrolling */
  padding: 10px;
}

footer {
  padding: 10px;
}

h1 {
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}

h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

li.entry {
  display: inline;
  padding-right: 1rem;
}

li.entry:before {
  content: '\2022';
  padding-right: 0.5rem;
}

/*
 * FEED VIEW
 */
.fv-body {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
}

.fv-title {
  grid-row: 1;
}

.fv-subscribe {
  grid-row: 2;
}

.fv-main-panel {
  grid-row: 3;
  margin-top: 1rem;

  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 3fr;
  overflow-y: scroll;
}

.fv-summary-panel {
  grid-column: 1;

  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;

  margin-right: 1rem;
  overflow-y: scroll;
}

.fv-summary-refresh {
  grid-row: 1;

  width: 100%;
  display: block;
}

.fv-summary-refresh input {
  width: 100%;
  padding: 0.5rem;
}

.fv-summary-list {
  grid-row: 2;

  list-style-type: none;
  padding: 0;
  overflow-y: scroll;
}

.fv-feed-panel {
  grid-column: 2;
  overflow-y: scroll;
}

/*
 * FEED SUMMARY ITEM
 */
.feed-summary {
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.feed-summary-title {
  margin: 0;
  font-size: 100%;
  font-weight: bold;
}

.feed-summary-timestamp {
  margin: 0;
}

.feed-summary-entry {
  margin: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-summary-feed-link {
  color: inherit;
  text-decoration: inherit;
}
