/* Newsletter — editorial issue archive (distinct from campus / press grids) */

.newsletter-page {
  background: var(--white);
}

#issues {
  scroll-margin-top: calc(var(--site-header-h, 8.5rem) + 1.25rem);
}

.newsletter-shelf--soft {
  background: var(--school-bg-soft, #f8f9fc);
}

.newsletter-shelf__list {
  list-style: none;
  margin: clamp(1.75rem, 3.2vw, 2.5rem) auto 0;
  padding: 0;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-shelf__row {
  display: flex;
  align-items: stretch;
  gap: 1.15rem 1.35rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid rgba(var(--navy-rgb), 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 43, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-shelf__row:hover {
  border-color: rgba(var(--navy-rgb), 0.15);
  box-shadow: 0 14px 32px rgba(15, 23, 43, 0.09);
}

@media (min-width: 640px) {
  .newsletter-shelf__row {
    align-items: center;
    padding: 1rem 1.25rem 1rem 1rem;
    gap: 1.5rem;
  }
}

.newsletter-shelf__cover {
  flex: 0 0 7.25rem;
  width: 7.25rem;
  align-self: center;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #e8ecf3;
  box-shadow: 0 8px 20px rgba(15, 23, 43, 0.14);
}

@media (min-width: 640px) {
  .newsletter-shelf__cover {
    flex-basis: 9rem;
    width: 9rem;
  }
}

@media (min-width: 900px) {
  .newsletter-shelf__cover {
    flex-basis: 10rem;
    width: 10rem;
  }
}

.newsletter-shelf__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.newsletter-shelf__row:hover .newsletter-shelf__cover img {
  transform: scale(1.04);
}

.newsletter-shelf__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.15rem 0;
}

@media (min-width: 640px) {
  .newsletter-shelf__main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.35rem 0;
  }
}

.newsletter-shelf__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.newsletter-shelf__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: var(--font-primary-weight, 700);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.newsletter-shelf__period {
  margin: 0;
  color: rgba(var(--navy-rgb), 0.62);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.newsletter-shelf__action {
  flex-shrink: 0;
  align-self: flex-start;
}

@media (min-width: 640px) {
  .newsletter-shelf__action {
    align-self: center;
  }
}
