.page-blog {
  --bg-start: #ffffff;
  --bg-mid: #f8fafc;
  --bg-end: #f1f5f9;
}

.page-blog section {
  background-image: linear-gradient(to bottom, var(--bg-start), var(--bg-mid), var(--bg-end));
}

.page-blog .section-title {
  letter-spacing: -0.01em;
}

.page-blog .filters a {
  transition: all 200ms ease;
}

.page-blog .filters a:hover {
  transform: translateY(-1px);
}

.page-blog .filters {
  justify-content: center;
}

.page-blog .blog-card {
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.page-blog .blog-card:hover {
  box-shadow: 0 10px 18px -6px rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
}

.page-blog .section-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-blog .article-hero {
  position: relative;
  min-height: 52vh;
  padding-top: 7rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-blog .article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.60), rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.25));
}

.page-blog .article-hero>* {
  position: relative;
  z-index: 1;
}

.page-blog .article-title {
  color: #fff;
}

.page-blog .article-subtitle {
  color: #e2e8f0;
}

.page-blog .article-meta {
  color: #cbd5e1;
}

.page-blog .glass-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 18px -6px rgba(15, 23, 42, 0.22);
  transition: all 180ms ease;
}

.page-blog .glass-btn:hover {
  transform: translateY(-1px);
}

.page-blog .glass-btn-dark {
  border-color: rgba(148, 163, 184, 0.5);
  color: #1f2937;
  background: rgba(255, 255, 255, 0.85);
}

.page-blog .glass-btn-colored {
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: 10px;
  padding: 10px;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(6px);
}

.page-blog .type-badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .75rem;
  border: 1px solid transparent;
}

.page-blog .type-blog {
  color: #1e40af;
  background: rgba(191, 219, 254, 0.65);
  border-color: rgba(59, 130, 246, 0.35);
}

.page-blog .type-noticia {
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px;
  background: rgba(254, 205, 211, 0.65);
  border-color: rgba(239, 68, 68, 0.35);
}

.page-blog .article-title-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0f172a;
}

.page-blog .article-subtitle-main {
  font-size: 1.125rem;
  color: #334155;
}

.page-blog .article-content {
  background: linear-gradient(to bottom, #ffffff, #f8fafc, #f1f5f9);
}

.page-blog .article-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 18px -6px rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  line-height: 1.75;
  font-size: 1rem;
}

.page-blog .sticky-share {
  position: sticky;
  top: 6rem;
}

.page-blog .e2m-navbar {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: none !important;
}

.page-blog .blog-hero {
  min-height: 100vh;
  padding-top: 7rem;
}

.page-blog .blog-hero {
  position: relative;
  background-image: url('/images/back-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-blog .blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.40), rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.10));
}

.page-blog .blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.0) 60%);
}

.page-blog .blog-hero>* {
  position: relative;
  z-index: 1;
}

.page-blog .article-aside {
  position: sticky;
  top: 6rem;
}

.page-blog .share-list .share-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #334155;
  background: #ffffff;
  box-shadow: 0 6px 14px -8px rgba(15, 23, 42, 0.12);
  transition: all 200ms ease;
}

.page-blog .share-list .share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px -10px rgba(15, 23, 42, 0.18);
}

.page-blog .hero-glass {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.page-blog .hero-glass .liquidGlass-text {
  color: #fff;
}

.page-blog .hero-glass-image {
  min-height: 220px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.page-blog .article-wrapper {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 22px -10px rgba(15, 23, 42, 0.12);
  border-radius: 18px
}

.page-blog .article-image {
  width: 100%;
  min-height: 240px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.page-blog .article-image {
  min-height: 280px
}

@media (min-width: 768px) {
  .page-blog .article-image {
    min-height: 380px
  }
}

@media (min-width: 1024px) {
  .page-blog .article-image {
    min-height: 480px
  }
}

.page-blog .article-meta-row {
  display: flex;
  gap: .75rem;
  align-items: center
}

.page-blog .article-wrapper {
  margin-top: 1rem;
}

.page-blog .article-wrapper .prose {
  margin-top: 1.5rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto
}

.page-blog .article-wrapper .prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px
}

.page-blog .share-list .fa-x-twitter {
  color: #111 !important
}

/* Related carousel */
.page-blog .related-carousel {
  overflow: hidden;
}

.page-blog .related-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
}

.page-blog .related-card {
  flex: 0 0 320px;
}

@media (min-width: 640px) {
  .page-blog .related-card {
    flex: 0 0 360px
  }
}

@media (min-width: 1024px) {
  .page-blog .related-card {
    flex: 0 0 380px
  }
}

.page-blog .aside-stack {
  display: grid;
  gap: 1rem
}

.page-blog .aside-card {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px -8px rgba(15, 23, 42, 0.12);
  padding: 1rem
}

.page-blog .aside-card.brand-card {
  border-color: rgba(99, 102, 241, 0.45);
}

.page-blog .aside-card.share-card {
  border-color: rgba(99, 102, 241, 0.45);
}

.page-blog .aside-card.subscribe-card {
  border-color: rgba(99, 102, 241, 0.45);
}

.page-blog .aside-card.cta-card {
  border-color: rgba(99, 102, 241, 0.45);
}