/* Feedoo styles on top of Tabler. */

.feedoo-sidebar .navbar-collapse {
  align-items: stretch;
}

.feedoo-folders {
  padding: 0 0.75rem 1rem;
  width: 100%;
}

.feedoo-folder-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.25rem;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
}

.feedoo-folder-title a {
  color: inherit;
  text-decoration: none;
}

.feedoo-feed-list {
  margin: 0 0 0.5rem 0.75rem;
}

.feedoo-feed {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.25rem;
  border-radius: var(--tblr-border-radius);
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
}

.feedoo-feed:hover,
.feedoo-feed.active {
  background: var(--tblr-active-bg, rgba(0, 0, 0, 0.05));
  text-decoration: none;
}

.feedoo-feed-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedoo-feed-icon {
  flex: 0 0 16px;
  width: 16px;
  text-align: center;
}

.feedoo-entry {
  scroll-margin-top: 1rem;
}

.feedoo-entry.is-current {
  outline: 2px solid var(--tblr-primary);
  outline-offset: 2px;
}

.feedoo-entry.is-read .feedoo-entry-title a {
  color: var(--tblr-secondary);
  font-weight: 400;
}

.feedoo-entry .card-header {
  display: block;
  cursor: pointer;
  position: relative;
  padding-right: 9rem;
}

.feedoo-entry .card-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.feedoo-entry-title {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

.feedoo-entry-title a {
  color: inherit;
}

.feedoo-content {
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.feedoo-content img,
.feedoo-content video,
.feedoo-content iframe {
  max-width: 100%;
  height: auto;
}

.feedoo-content iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}

.feedoo-content pre {
  white-space: pre-wrap;
}

.feedoo-content table {
  display: block;
  overflow-x: auto;
}

.feedoo-enclosure audio {
  width: 100%;
}

@media (max-width: 575.98px) {
  .feedoo-entry .card-header {
    padding-right: 1rem;
  }

  .feedoo-entry .card-actions {
    position: static;
    margin-top: 0.5rem;
  }
}

.btn:not(.btn-icon) > i[class*="fa-"]:first-child {
  margin-right: 0.4rem;
}

.btn:not(.btn-icon) > i[class*="fa-"]:last-child:not(:first-child) {
  margin-left: 0.4rem;
}

.navbar.feedoo-sidebar .navbar-brand {
  justify-content: flex-start;
}

.feedoo-changelog h1 {
  font-size: 1.25rem;
}

.feedoo-changelog h3 {
  font-size: 1rem;
  margin-top: 1rem;
}
