.blog-shell-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-narrow-v5 {
  max-width: 60rem;
}

.blog-surface-v5 {
  background: #ffffff;
  border: 1px solid rgba(197, 198, 205, 0.55);
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 95, 106, 0.08);
  padding: 2rem;
}

.blog-breadcrumb-v5 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-breadcrumb-v5 a {
  color: var(--blue-700);
  text-decoration: none;
}

.blog-breadcrumb-v5 a:hover {
  text-decoration: underline;
}

.blog-label-v5 {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-600);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-section-title-v5 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.blog-section-copy-v5 {
  max-width: 44rem;
  margin: 0.9rem auto 0;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-card-grid-v5,
.related-grid-v5 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card-v5 {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(197, 198, 205, 0.55);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 95, 106, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card-v5:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 95, 106, 0.28);
  box-shadow: 0 18px 44px rgba(0, 95, 106, 0.14);
}

.blog-card-image-v5 {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card-body-v5 {
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-trade-pill-v5 {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef7f6;
  color: var(--blue-900);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.blog-card-title-v5 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.blog-card-desc-v5 {
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.blog-card-link-v5 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--orange-600);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-filters-v5 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.blog-filter-pill-v5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 198, 205, 0.8);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-filter-pill-v5:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  transform: translateY(-1px);
}

.blog-filter-pill-v5.active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #ffffff;
}

.blog-btn-outline-v5,
.btn-secondary-v5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.9rem 1.4rem;
  border-radius: 0.9rem;
  border: 2px solid var(--blue-900);
  background: transparent;
  color: var(--blue-900);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.blog-btn-outline-v5:hover,
.btn-secondary-v5:hover {
  background: var(--blue-900);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-primary-v5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 0.95rem;
  /* verde: es una accion de WhatsApp (regla de marca) + pasa AA */
  background: var(--whatsapp);
  box-shadow: 0 4px 0 0 #15803D;
  color: #1a1c1c;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-v5:hover {
  transform: translateY(2px);
  box-shadow: none;
}

.blog-showing-count-v5 {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.blog-hero-v5 {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  min-height: 26rem;
  background: #005f6a;
  box-shadow: 0 24px 60px rgba(0, 95, 106, 0.22);
}

.blog-hero-media-v5 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.blog-hero-overlay-v5 {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 95, 106, 0.92) 0%, rgba(0, 95, 106, 0.72) 45%, rgba(0, 95, 106, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.32) 100%);
  display: flex;
  align-items: flex-end;
}

.blog-hero-inner-v5 {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem;
}

.blog-hero-v5 .blog-label-v5 {
  background: rgba(227, 83, 54, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.blog-title-v5 {
  margin-top: 1rem;
  max-width: 52rem;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.blog-desc-v5 {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-meta-v5 {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.blog-article {
  font-size: 1rem;
  color: var(--text-body);
}

.blog-article h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--blue-900);
  margin: 2.8rem 0 1rem;
}

.blog-article h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 2rem 0 0.8rem;
}

.blog-article p,
.blog-article li {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-body);
}

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

.blog-article ul,
.blog-article ol {
  margin: 0 0 1.25rem 1.3rem;
  padding-left: 0.6rem;
}

.blog-article li + li {
  margin-top: 0.45rem;
}

.blog-article a {
  color: var(--orange-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article a:hover {
  color: var(--orange-600);
}

.blog-article blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--orange-500);
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(135deg, #fff8f2 0%, #ffffff 100%);
  color: var(--text-body);
}

.blog-article strong {
  color: var(--text-primary);
  font-weight: 700;
}

.blog-article img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.75rem 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(197, 198, 205, 0.45);
}

.blog-article table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  border-radius: 1rem;
  border: 1px solid rgba(197, 198, 205, 0.55);
}

.blog-article thead {
  background: var(--blue-900);
  color: #ffffff;
}

.blog-article th,
.blog-article td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.blog-article td {
  border-bottom: 1px solid rgba(197, 198, 205, 0.45);
}

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

.blog-article hr {
  border: 0;
  border-top: 1px solid rgba(197, 198, 205, 0.55);
  margin: 2rem 0;
}

.blog-article code {
  background: #eef7f6;
  color: var(--blue-900);
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  font-size: 0.92em;
}

.blog-article pre {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  overflow-x: auto;
  background: #0f172a;
  color: #e2e8f0;
}

.blog-article pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.author-box-v5 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #ffffff;
  border: 1px solid rgba(197, 198, 205, 0.55);
  border-radius: 1.75rem;
  box-shadow: 0 18px 50px rgba(0, 95, 106, 0.08);
  padding: 1.6rem;
}

.author-box-photo-v5 {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid #eef7f6;
}

.author-box-kicker-v5 {
  color: var(--orange-600);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.author-box-name-v5 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.author-box-bio-v5 {
  color: var(--text-body);
  line-height: 1.75;
}

.author-box-actions-v5 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-list-v5 {
  display: grid;
  gap: 0.75rem;
}

.faq-item-v5 {
  border: 1px solid rgba(197, 198, 205, 0.55);
  border-radius: 1.25rem;
  background: #ffffff;
  overflow: hidden;
}

.faq-btn-v5 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.faq-answer-inner-v5 {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-body);
  line-height: 1.8;
}

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

@media (max-width: 768px) {
  .blog-surface-v5 {
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .blog-card-grid-v5,
  .related-grid-v5,
  .author-box-v5 {
    grid-template-columns: 1fr;
  }

  .blog-hero-v5 {
    min-height: 22rem;
  }

  .blog-hero-inner-v5 {
    padding: 1.25rem;
  }

  .blog-title-v5 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .author-box-photo-v5 {
    width: 4rem;
    height: 4rem;
  }
}
