/* research.css — only research and library-specific differences */

.container{
  /* keep the more opaque panel on Research */
  background-color: rgba(10, 20, 70, 0.62);
}



/* format of subscribe buttons */

.feed-subscribe-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0px;       /* closer to preceding text */
  margin-bottom: 30px;   /* farther from following text */
  vertical-align: middle;
  flex-wrap: wrap;
}

.feed-subscribe-label {
  display: inline-block;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.feed-subscribe-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}

.feed-subscribe-icon:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.feed-subscribe-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.feed-subscribe-icon img {
  display: block;
  width: 34px;
  height: 34px;
}

@media (max-width: 640px) {
  .feed-subscribe-row {
    gap: 10px;
    margin-top: 8px;
  }

  .feed-subscribe-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .feed-subscribe-icon img {
    width: 32px;
    height: 32px;
  }
}