/**
 * Gutenberg / the_content typography
 */

.br-content,
.entry-content,
.wp-block-post-content {
  color: var(--br-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.br-content > * + *,
.entry-content > * + * {
  margin-top: 1.25rem;
}

.br-content h1,
.br-content h2,
.br-content h3,
.br-content h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--br-text);
  letter-spacing: var(--br-tracking-tight);
  line-height: 1.2;
}

.br-content a,
.entry-content a {
  color: var(--br-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.br-content ul,
.br-content ol,
.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

.br-content img,
.entry-content img {
  border-radius: var(--br-radius-md);
  height: auto;
  max-width: 100%;
}

.br-content blockquote,
.entry-content blockquote {
  border-left: 3px solid var(--br-red);
  padding-left: 1rem;
  color: var(--br-text);
  font-style: italic;
}

.br-content .wp-block-button__link,
.entry-content .wp-block-button__link {
  background: var(--br-red);
  border-radius: var(--br-radius-sm);
  color: #fff !important;
  text-decoration: none;
}

.br-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--br-space-lg);
}

@media (max-width: 992px) {
  .br-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .br-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.navigation.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--br-space-xl);
}

.navigation.pagination a,
.navigation.pagination span,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--br-radius-sm);
  border: 1px solid var(--br-border);
  background: var(--br-glass-1-bg);
  color: var(--br-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}

.navigation.pagination .current,
.nav-links .current {
  border-color: var(--br-red);
  color: var(--br-red);
}

/* Alignwide / full in pages */
.alignwide {
  max-width: var(--br-container);
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
