body {
  color: #212529;
}

#header a:hover {
  text-decoration: none;
}

.btn-custom {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.07rem;
}

@media (min-width: 576px) {
  .btn-custom {
    font-size: 0.92rem;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .header-icon {
    width: 24px;
    height: 24px;
  }

  .header-title {
    font-size: 1rem;
    font-weight: 400;
  }
}

@media (max-width: 575.98px) {
  .header-icon {
    width: 36px;
    height: 36px;
  }

  .header-title {
    font-size: 1.5rem;
    font-weight: 500;
  }

  .item-description {
    font-size: 80%;
  }

  .br-none {
    display: none;
  }

  .recs a {
    font-size: 14px;
    margin: 0 10px 10px 0;
    text-decoration: underline;
  }
}

.page-mode .right-menu {
  display: none !important;
}

@media (max-width: 575.98px) {
  .page-mode #header {
    margin-bottom: 42px;
  }
}

.page-mode .header-title-container {
  justify-content: center !important;
}

.page-mode .header-icon {
  width: 36px;
  height: 36px;
}

.page-mode .header-title {
  font-size: 1.5rem;
  font-weight: 500;
}

.badge-title {
  font-size: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.item-description {
  font-size: 100%;
}

.copy-all-button {
  color: #007bff;
  cursor: pointer;
}

.copy-all-button:hover,
.recs a:hover {
  text-decoration: underline;
}

.recs {
  text-align: center;
  margin-bottom: 0;
}

.recs a {
  color: #007bff;
  font-size: 14px;
  margin: 0 10px 10px 0;
  text-decoration: underline dashed !important;
}

.goto-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.2s;
  cursor: pointer;
}

.goto-icon:hover {
  opacity: 1;
}

.page-card {
  max-width: 600px;
  box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
}

.report-button {
  color: darkred;
  text-decoration: underline;
  text-decoration-style: dashed;
  font-size: 15px;
  cursor: pointer;
}

.rec-card {
  max-width: 600px;
  width: 100%;
  font-size: 0.9rem;
  transition: background-color 0.2s ease-in-out;
}

.rec-card:hover {
  background-color: #f4f9ff;
}

.rec-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  text-decoration: none;
  display: inline;
  word-wrap: break-word;
  white-space: normal;
}

.rec-meta {
  font-size: 0.85rem;
  color: #777;
  font-weight: 400;
}
