#back-button {
  flex-grow: 1;
  background-color: rgb(3, 109, 201);
  border: none;
  border-radius: 5px;
  color: white;
  box-shadow: 1px 1px 3px black;
}

#nav-mobile-button {
  flex-grow: 1;
}

.c1 {
  margin: 10px 10px 0 10px;
  display: flex;
  gap: 0.5rem;
}

.c2 {
  border-radius: 5px;
  height: 100%;
  justify-content: center;
  gap: 0.5rem;
  background-color: #4f91e3;
  color: white;
  /* border: 1px solid rgba(59, 130, 246, 0.5); */
}

.c2:hover {
  background-color: #3d82d9;
  color: white;
}

.c3 {
  z-index: 51;
  display: none;
  position: absolute;
  margin-top: 0.5rem;
  transform-origin: top right;
  border-radius: 0.375rem;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  max-height: 60vh;
}

.c4 {
  margin: 10px 10px 0 10px;
  border-color: rgb(153, 192, 225);
  border-radius: 5px;
  color: rgb(3, 109, 201);
}

.articleMetrics {
  width: 100%;
  padding-left: 1.45rem;
  padding-right: 2.88rem;
}

.articleMetrics .viewCounter {
  background: linear-gradient(90deg, rgb(255 255 255) 0%, hsl(0deg 0% 93.41%) 100%);
  border-radius: .5em;
  padding: .7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6c6b72;
}

.articleMetrics .viewCounter .icon {
  padding-right: 0.125rem;
}

.articleMetrics .viewCounter .articleViews {
  display: flex;
}

.articleMetrics .viewCounter .articleDownload {
  display: flex;
}

/* Header wrapper */
.additional-header {
    display: flex;
    justify-content: flex-start;
    max-width: 1000px;
    width: 100%;
}

/* Header content spacing */
#header-content {
    padding-left: 0.5rem;   /* px-2 */
    padding-right: 0.5rem;
    margin-top: 2.5rem;     /* mt-10 */
    margin-bottom: 1rem;   /* mb-4 */
}

/* Header image */
.header-image {
    object-fit: contain;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    margin-bottom: 0;
    max-width: 100%;
    height: auto;
}

/* Header image usage across layouts (formerly logo-rectangular) */
#header-content img.header-image,
.flex.justify-start.flex-nowrap.gap-y-3 img.header-image,
#nav-mobile img.header-image,
#titlebar-mobile img.header-image {
    max-width: 100%;
}

/* Square logos – default 35% width */
#header-content img.logo-square,
.flex.justify-start.flex-nowrap.gap-y-3 img.logo-square,
#nav-mobile img.logo-square,
#titlebar-mobile img.logo-square {
    max-width: min(35%, 250px);
}

/* Large screens (lg breakpoint) */
@media (min-width: 1024px) {
    #header-content {
        padding-left: 0;     /* lg:px-0 */
        padding-right: 0;
        margin-top: 1.25rem; /* lg:mt-5 */
        margin-bottom: 0;    /* lg:mb-0 */
    }
}