/* Blog — listagem, artigo, busca e categoria */

.page-blog {
  --blog-radius: 1.25rem;
  --blog-border: #e4e7ec;
  --blog-muted: #667085;
}

/* reveal depende de main.js; no blog o conteúdo precisa aparecer mesmo se o JS falhar */
.page-blog .reveal,
.page-blog-article .reveal {
  opacity: 1;
  transform: none;
}

/* —— Listagem —— */
.blog-section {
  position: relative;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 124, 177, 0.25);
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.1);
}

.blog-post-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f2f4f7;
}

.blog-post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-post-card:hover .blog-post-card-img {
  transform: scale(1.03);
}

.blog-post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.35rem;
}

.blog-post-card-cat {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ap-primary);
  text-decoration: none;
}

.blog-post-card-cat:hover {
  text-decoration: underline;
}

.blog-post-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.blog-post-card-title a {
  color: #101828;
  text-decoration: none;
}

.blog-post-card-title a:hover {
  color: var(--ap-primary);
}

.blog-post-card-excerpt {
  font-size: 0.875rem;
  color: var(--blog-muted);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--blog-muted);
}

.blog-post-card-meta i {
  margin-right: 0.25rem;
  opacity: 0.75;
}

.blog-post-card-more {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--ap-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.blog-post-card-more:hover {
  text-decoration: underline;
}

/* List layout (categoria / busca) */
.blog-post-list .blog-post-card {
  flex-direction: row;
}

@media (min-width: 768px) {
  .blog-post-list .blog-post-card-media {
    flex: 0 0 220px;
    aspect-ratio: auto;
    min-height: 160px;
  }
}

@media (max-width: 767.98px) {
  .blog-post-list .blog-post-card {
    flex-direction: column;
  }
}

/* Sidebar */
.blog-sidebar-card {
  padding: 1.35rem;
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-sidebar-card:hover {
  border-color: rgba(34, 124, 177, 0.18);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
}

.blog-sidebar-card--cta {
  background: linear-gradient(145deg, rgba(34, 124, 177, 0.06) 0%, #fff 55%);
}

.blog-sidebar-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin-bottom: 1rem;
}

.blog-sidebar-text {
  font-size: 0.875rem;
  color: var(--blog-muted);
  margin-bottom: 1rem;
}

.blog-search-form {
  display: flex;
  gap: 0.5rem;
}

.blog-search-form .form-control {
  border-radius: 0.65rem;
  border-color: var(--blog-border);
  font-size: 0.9375rem;
}

.blog-search-form .btn {
  border-radius: 0.65rem;
  flex-shrink: 0;
}

.blog-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.blog-category-list a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #344054;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-category-list a:hover {
  background: rgba(34, 124, 177, 0.08);
  color: var(--ap-primary);
}

.blog-category-list a.is-active {
  background: rgba(34, 124, 177, 0.12);
  color: var(--ap-primary);
  font-weight: 600;
}

/* Paginação */
.blog-pagination .pagination {
  gap: 0.35rem;
}

.blog-pagination .page-link {
  border-radius: 0.5rem;
  border-color: var(--blog-border);
  color: #344054;
  font-weight: 600;
  min-width: 2.5rem;
  text-align: center;
}

.blog-pagination .page-item.active .page-link {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
}

.blog-pagination .page-link:hover {
  background: rgba(34, 124, 177, 0.08);
  border-color: rgba(34, 124, 177, 0.25);
  color: var(--ap-primary);
}

/* Empty state */
.blog-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--blog-border);
  border-radius: var(--blog-radius);
  background: #f9fafb;
}

.blog-empty-state i {
  font-size: 2.5rem;
  color: #98a2b3;
  margin-bottom: 1rem;
  display: block;
}

.blog-empty-state p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 1rem;
}

/* Hero busca inline */
.blog-hero-search {
  max-width: 360px;
  width: 100%;
}

.blog-hero-search .form-control {
  border: none;
  border-radius: 0.65rem 0 0 0.65rem;
  padding: 0.75rem 1rem;
}

.blog-hero-search .btn {
  border-radius: 0 0.65rem 0.65rem 0;
  background: #ffb703;
  border-color: #ffb703;
  color: #101828;
  font-weight: 700;
}

.blog-hero-search .btn:hover {
  background: #e6a503;
  border-color: #e6a503;
  color: #101828;
}

/* —— Artigo —— */
/* —— Artigo —— */
.hero-page--article .breadcrumb {
  margin: 0;
  font-size: 0.8125rem;
  background: transparent;
  padding: 0;
}

.page-blog-article .blog-article-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--blog-border);
}

.blog-breadcrumb {
  margin-bottom: 1rem;
}

.blog-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 0.8125rem;
}

.blog-breadcrumb .breadcrumb-item a {
  color: var(--blog-muted);
  text-decoration: none;
}

.blog-breadcrumb .breadcrumb-item a:hover {
  color: var(--ap-primary);
}

.blog-breadcrumb .breadcrumb-item.active {
  max-width: 36ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.blog-article-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--ap-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.blog-article-kicker:hover {
  text-decoration: underline;
}

.blog-article-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.2;
  color: #101828;
  margin-bottom: 0.85rem;
}

.blog-article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  color: var(--blog-muted);
  font-size: 0.875rem;
}

.blog-article-byline-name {
  color: #101828;
  font-weight: 700;
}

.blog-author-avatar--sm {
  width: 2rem;
  height: 2rem;
  font-size: 0.7rem;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--blog-muted);
}

.blog-article-meta a {
  color: var(--ap-primary);
  text-decoration: none;
  font-weight: 500;
}

.blog-article-meta a:hover {
  text-decoration: underline;
}

.blog-article-meta i {
  margin-right: 0.3rem;
}

.blog-article-wrap {
  padding: 2.5rem 0 3rem;
}

.blog-article-card {
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
}

.blog-article-cover {
  width: 100%;
  display: block;
}

.blog-article-body {
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .blog-article-body {
    padding: 2rem 2.25rem 2.5rem;
  }
}

.blog-article-lead {
  font-size: 1.125rem;
  color: #475467;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog-article-content {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #344054;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  color: #101828;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.blog-article-content h2 strong,
.blog-article-content h3 strong,
.blog-article-content h4 strong {
  font-weight: inherit;
}

.blog-article-content h2 {
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--blog-border);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.blog-article-content h3 {
  margin: 1.75rem 0 0.65rem;
  padding-left: 0.75rem;
  border-left: 3px solid #227cb1;
  font-size: 1.2rem;
}

.blog-article-content h4 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d2939;
}

.blog-article-content > h2:first-child,
.blog-article-content > h3:first-child,
.blog-article-content > h4:first-child {
  margin-top: 0;
}

.blog-article-content p { margin-bottom: 1.15rem; }

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.blog-article-content .blog-figure {
  margin: 1.6rem 0 1.8rem;
}

.blog-article-content .blog-figure img {
  display: block;
  margin: 0;
}

.blog-article-content .blog-figure figcaption {
  margin-top: 0.45rem;
  color: var(--blog-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.blog-article-content li {
  position: relative;
  margin: 0 0 0.65rem;
  padding-left: 1.45rem;
  line-height: 1.6;
}

.blog-article-content li:last-child {
  margin-bottom: 0;
}

.blog-article-content li > p {
  margin: 0 0 0.35rem;
}

.blog-article-content li > p:last-child {
  margin-bottom: 0;
}

.blog-article-content ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #227cb1;
}

.blog-article-content ol {
  counter-reset: article-item;
}

.blog-article-content ol > li {
  counter-increment: article-item;
  padding-left: 2rem;
}

.blog-article-content ol > li::before {
  content: counter(article-item);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f2f8;
  color: #185f8a;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.blog-article-content li ul,
.blog-article-content li ol {
  margin-top: 0.55rem;
}

.blog-article-content a {
  color: var(--ap-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blog-border);
}

.blog-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475467;
  background: #f2f4f7;
  border: 1px solid var(--blog-border);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-tag:hover {
  background: rgba(34, 124, 177, 0.1);
  border-color: rgba(34, 124, 177, 0.25);
  color: var(--ap-primary);
}

.blog-author-card .blog-author-name {
  font-weight: 700;
  color: #101828;
  margin-bottom: 0.35rem;
}

.blog-author-card .blog-author-bio {
  font-size: 0.875rem;
  color: var(--blog-muted);
  margin: 0;
  line-height: 1.55;
}

.blog-article-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blog-border);
}

.blog-article-faq {
  margin-top: 2.5rem;
  padding-top: 0.25rem;
}

.blog-article-faq h2 {
  margin: 0 0 1.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--blog-border);
  color: #101828;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.blog-faq-item {
  padding: 1.15rem 0 0.35rem;
  border-top: 1px solid var(--blog-border);
  scroll-margin-top: 6.5rem;
}

.blog-faq-item h3 {
  margin: 0 0 0.55rem;
  color: #101828;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-faq-answer {
  color: #344054;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.blog-faq-answer p,
.blog-faq-answer-block {
  margin: 0 0 0.75rem;
}

.blog-faq-answer p:last-child,
.blog-faq-answer-block:last-child {
  margin-bottom: 0.85rem;
}

.blog-related-posts .section-title {
  color: #101828;
}

.blog-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--blog-border);
  background: #fff;
  color: #344054;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.blog-share-btn:hover {
  border-color: rgba(34, 124, 177, 0.35);
  color: var(--ap-primary);
}

.blog-author-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.blog-author-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #227cb1;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.blog-author-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.blog-author-social a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--blog-border);
  display: grid;
  place-items: center;
  color: #344054;
  text-decoration: none;
}

.blog-author-social a:hover {
  color: var(--ap-primary);
  border-color: rgba(34, 124, 177, 0.35);
}

.blog-article-content blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid #227cb1;
  color: #475467;
}

.blog-table-wrap {
  margin: 1.5rem 0 1.85rem;
  overflow-x: auto;
  border: 1px solid #e4e7ec;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.blog-article-content table,
.blog-article-content .table {
  width: 100%;
  min-width: 36rem;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #344054;
  --bs-table-bg: transparent;
  --bs-table-color: #344054;
  --bs-table-border-color: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-striped-color: #344054;
  --bs-table-hover-bg: transparent;
}

.blog-article-content th,
.blog-article-content td {
  padding: 0.8rem 0.95rem;
  border: 0;
  border-bottom: 1px solid #e4e7ec;
  vertical-align: top;
  text-align: left;
  background: #fff;
  box-shadow: none;
}

.blog-article-content tr:last-child td,
.blog-article-content tr:last-child th {
  border-bottom: 0;
}

.blog-article-content thead th,
.blog-article-content tr:first-child th {
  background: #12344d;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 0;
}

.blog-article-content tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.blog-article-content .table-striped > tbody > tr > * {
  box-shadow: none;
  background-color: #fff;
  color: #344054;
}

.blog-article-content .table-striped > tbody > tr:nth-child(even) > td {
  background-color: #f8fafc;
}

.blog-article-content .table-striped > tbody > tr:first-child > th {
  background-color: #12344d;
  color: #fff;
}

.blog-article-content pre,
.blog-article-content code {
  font-size: 0.92em;
}

.blog-article-content pre {
  padding: 1rem;
  overflow-x: auto;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.blog-article-content iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 0.75rem;
  margin: 1.25rem 0;
}

.blog-missing {
  padding: 5rem 0 6rem;
  text-align: center;
}

.blog-missing-kicker {
  margin-bottom: 0.5rem;
  color: var(--blog-muted);
  font-weight: 600;
}

.blog-missing-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.blog-missing-text {
  color: var(--blog-muted);
  margin-bottom: 1.5rem;
}

html:has(.page-blog-article) {
  scroll-behavior: smooth;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4,
.blog-article-faq {
  scroll-margin-top: 6.5rem;
}

.blog-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-toc-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.blog-toc a {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.4rem 0;
  color: #344054;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-toc a:hover,
.blog-toc a.is-active {
  color: var(--ap-primary);
}

.blog-toc-num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #e8f2f8;
  color: #227cb1;
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-toc a.is-active .blog-toc-num {
  background: #227cb1;
  color: #fff;
}

.blog-toc .is-sub a {
  padding-left: 1.85rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: #475467;
}

.blog-toc--inline {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.15rem 0.7rem;
  border: 1px solid var(--blog-border);
  border-radius: 1rem;
  background: #f8fafc;
}

.blog-toc--side {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 7rem);
  overflow: auto;
}

@media (max-width: 991.98px) {
  .blog-toc--side {
    display: none;
  }
}

@media (min-width: 992px) {
  .blog-toc--inline {
    display: none;
  }
}

.blog-highlights {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.15rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 124, 177, 0.18);
  background: #f4f8fb;
}

.blog-highlights-title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #185f8a;
}

.blog-highlights ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-highlights li {
  position: relative;
  margin: 0 0 0.55rem;
  padding-left: 1.15rem;
  color: #1d2939;
  line-height: 1.5;
}

.blog-highlights li:last-child {
  margin-bottom: 0;
}

.blog-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #227cb1;
}

.blog-highlights a {
  color: inherit;
  text-decoration: none;
}

.blog-highlights a:hover {
  color: var(--ap-primary);
}

.blog-byline .blog-author-social {
  margin-top: 0.65rem;
}

.blog-article-content .blog-inline-cta {
  margin: 2rem 0;
  padding: 1.25rem 1.2rem;
  border-radius: 1rem;
  background: #12344d;
  color: #fff;
}

.blog-article-content .blog-inline-cta p {
  margin-bottom: 0;
}

.blog-inline-cta-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ec5e8;
}

.blog-inline-cta-title {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.blog-inline-cta-text {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.blog-inline-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-article-content .blog-inline-cta a {
  text-decoration: none;
}

.blog-article-content .blog-inline-cta .btn-outline-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.blog-article-content .blog-inline-cta .btn-outline-primary:hover {
  background: #fff;
  color: #12344d;
}

.blog-end-share {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--blog-border);
}

.blog-end-topic {
  margin: 0 0 0.75rem;
  color: var(--blog-muted);
  font-size: 0.9375rem;
}

.blog-end-topic a {
  font-weight: 700;
  color: var(--ap-primary);
  text-decoration: none;
}

.blog-end-share .blog-share {
  margin-bottom: 0;
}

.blog-byline {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--blog-border);
}

.blog-byline-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.blog-byline .blog-author-bio {
  margin-top: 0.35rem;
}

.blog-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.blog-pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--blog-border);
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
}

.blog-pager-link--next {
  text-align: right;
  align-items: flex-end;
}

.blog-pager-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.blog-pager-title {
  color: #101828;
  font-weight: 700;
  line-height: 1.35;
}

.blog-pager-link:hover .blog-pager-title {
  color: var(--ap-primary);
}

.blog-pager-link.is-empty {
  border: 0;
  background: transparent;
}

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

  .blog-pager-link.is-empty {
    display: none;
  }

  .blog-pager-link--next {
    text-align: left;
    align-items: flex-start;
  }
}
