/* Large screens: vertical dividers between the three top columns */
@media (min-width: 992px) {
  .column-divider::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-right: 1px solid var(--nw-line);
  }
}

/* Tablets and below */
@media (max-width: 991.98px) {
  .topbar {
    grid-template-columns: auto 1fr;
    padding: 0.9rem 1.25rem;
  }

  .topbar-brand {
    grid-column: 1;
  }

  .topbar-right {
    grid-column: 2;
    gap: 0.75rem;
  }

  .brand-logo {
    width: 220px;
  }

  .trending-nav {
    padding: 0.7rem 1.25rem;
  }
}

/* Phones */
@media (max-width: 767.98px) {
  .story-title-lg {
    font-size: 1.35rem;
  }

  .subscribe-card {
    flex-direction: column;
    text-align: center;
  }

  .cover-stack {
    flex-basis: auto;
    width: 200px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-list {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    width: 160px;
  }

  .newsletter-box {
    flex-direction: column;
  }

  .newsletter-img {
    flex-basis: auto;
    width: 100%;
    max-height: 200px;
  }

  .row-cols-3 > .story .story-title-xs {
    font-size: 0.8rem;
  }

  .footer-links-item + .footer-links-item {
    padding-left: 0;
    border-left: 0;
  }
}
