/* ── Blog ─────────────────────────────────────────── */

.blog {
  position: relative;
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(180deg, #fff 0%, #fafafa 42%, #fff 100%);
  border-top: 1px solid var(--laooz-border);
}

.blog--archive {
  padding-top: 3.5rem;
  border-top: none;
}

.page-blog .header-nav a[href="blog.html"],
.page-blog .header-nav .current-menu-item > a,
.page-blog .header-nav .current_page_item > a {
  position: relative;
  color: #151c27;
}

.page-blog .header-nav a[href="blog.html"]::after,
.page-blog .header-nav .current-menu-item > a::after,
.page-blog .header-nav .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.blog--archive .blog-header {
  margin-bottom: 2.75rem;
}

.blog::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 55vw);
  height: 320px;
  background: radial-gradient(
    ellipse at top right,
    rgba(var(--brand-rgb), 0.1) 0%,
    transparent 68%
  );
  pointer-events: none;
}

/* Módulo Blog — requiere custom.css (tokens de marca) cargado antes */

.blog-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.blog-header {
  margin-bottom: 2.5rem;
}

.blog-header .blog-filters {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--laooz-border);
}

.blog-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #000;
  margin-bottom: 0.875rem;
}

.blog-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.blog-title-accent {
  background: linear-gradient(transparent 58%, var(--brand) 58%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.blog-total {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--laooz-border);
  margin-bottom: 0.15em;
}

.blog-intro {
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--laooz-muted);
}

.blog-header-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--laooz-border);
  border-radius: 14px;
  background: #fff;
}

.blog-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #000;
  line-height: 1;
}

.blog-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.blog-archive-link {
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--laooz-border);
}

.blog-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-filters::-webkit-scrollbar {
  display: none;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--laooz-border);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--laooz-muted);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-filter:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: #000;
}

.blog-filter.is-active {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: var(--brand-soft);
  color: #000;
  box-shadow: 0 0 0 1px rgba(var(--brand-rgb), 0.12);
}

.blog-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.68rem;
  font-weight: 700;
  color: #6b7280;
}

.blog-filter.is-active .blog-filter-count {
  background: rgba(var(--brand-rgb), 0.22);
  color: #000;
}

.blog-results {
  font-size: 0.75rem;
  color: #9ca3af;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1.25rem;
}

.blog-topics-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.blog-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-topic {
  font-size: 0.75rem;
  color: var(--link);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: var(--link-soft);
}

.blog-mount {
  min-height: 200px;
}

/* Destacado */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
  border: 1px solid var(--laooz-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.blog-featured:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  box-shadow: 0 18px 48px rgba(21, 28, 39, 0.08);
  transform: translateY(-2px);
}

.blog-featured-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-featured:hover .blog-featured-image {
  transform: scale(1.04);
}

.blog-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--brand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #151c27;
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.blog-featured-title {
  margin-top: 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #000;
}

.blog-featured-excerpt {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--laooz-muted);
}

.blog-card-cta {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Grilla */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--laooz-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.blog-card:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  box-shadow: 0 12px 32px rgba(21, 28, 39, 0.07);
  transform: translateY(-2px);
}

.blog-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-cat {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
}

.blog-card-cat--on-image {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: #151c27;
}

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

.blog-card-title {
  margin-top: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: linear-gradient(transparent 62%, transparent 62%);
  transition: background 0.2s ease;
}

.blog-card:hover .blog-card-title {
  background: linear-gradient(transparent 62%, var(--brand) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.blog-card-excerpt {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--laooz-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card--compact .blog-card-body {
  padding: 1.25rem 1.35rem;
}

.blog-card--compact .blog-card-title {
  margin-top: 0.35rem;
}

.blog-card--text .blog-card-body {
  padding: 1.2rem 1.25rem 1.3rem;
}

.blog-card--text .blog-card-cat {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.blog-card--text .blog-card-title {
  margin-top: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.blog-card--text .blog-card-excerpt {
  -webkit-line-clamp: 2;
}

.blog-grid--text {
  gap: 1rem;
}

@media (min-width: 900px) {
  .blog-grid--text {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--laooz-border);
  font-size: 0.72rem;
  color: #9ca3af;
}

.blog-card-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6b7280;
}

.blog-card-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--brand-soft);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--link);
}

.blog-card-dot {
  opacity: 0.55;
}

.blog-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--laooz-border);
  border-radius: 16px;
  background: #fff;
}

.blog-empty-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #000;
}

.blog-empty-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--laooz-muted);
}

.blog-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.blog-archive-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--laooz-border);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-archive-cta:hover {
  border-color: rgba(var(--brand-rgb), 0.5);
  background: var(--brand-soft);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.12);
}

/* Newsletter */
.blog-newsletter {
  position: relative;
  margin-top: 3.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--laooz-border);
  background: #151c27;
}

.blog-newsletter-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(var(--brand-rgb), 0.16), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(var(--brand-rgb), 0.08), transparent 35%);
  pointer-events: none;
}

.blog-newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
}

.blog-newsletter-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.blog-newsletter-title {
  margin-top: 0.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.blog-newsletter-desc {
  margin-top: 0.65rem;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.blog-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-newsletter-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.blog-newsletter-input:focus {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.blog-newsletter-btn {
  width: 100%;
  margin-top: 0;
  justify-content: center;
}

@media (min-width: 640px) {
  .blog-newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }

  .blog-newsletter-input {
    flex: 1;
  }

  .blog-newsletter-btn {
    width: auto;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .blog-header-main {
    grid-template-columns: 1.4fr minmax(220px, 0.75fr);
    align-items: start;
  }

  .blog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .blog-featured {
    grid-template-columns: 1.12fr 1fr;
    height: 350px;
    min-height: 0;
  }

  .blog-featured-visual {
    aspect-ratio: auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .blog-featured-body {
    padding: 1.5rem 1.75rem;
    overflow: hidden;
  }

  .blog-newsletter-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 2rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .blog {
    padding: 5rem 0 5.5rem;
  }

  .blog-header {
    margin-bottom: 3rem;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ── Post individual (single) ─────────────────────── */

.blog-single {
  padding: 2.5rem 0 4.5rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 38%, #fff 100%);
}

.blog-single-inner {
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.blog-single-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

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

.blog-single-breadcrumb a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.blog-single-header {
  margin-bottom: 1.75rem;
}

.blog-single-title {
  margin-top: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #000;
}

.blog-single-excerpt {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--laooz-muted);
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--laooz-border);
  font-size: 0.82rem;
  color: #9ca3af;
}

.blog-single-hero {
  margin: 0 0 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--laooz-border);
  background: #f3f4f6;
}

.blog-single-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.blog-prose > *:first-child {
  margin-top: 0;
}

.blog-prose .blog-single-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #151c27;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f1419;
  line-height: 1.25;
}

.blog-prose h2 {
  margin: 2.4rem 0 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(21, 28, 39, 0.08);
  font-size: clamp(1.35rem, 2.4vw, 1.55rem);
}

.blog-prose h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.2rem;
}

.blog-prose h4 {
  margin: 1.65rem 0 0.55rem;
  font-size: 1.05rem;
  color: #1f2937;
}

.blog-prose p {
  margin: 0 0 1.2rem;
}

.blog-prose strong,
.blog-prose b {
  font-weight: 700;
  color: #151c27;
}

.blog-prose a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(var(--link-rgb), 0.35);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.blog-prose a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

/* Listas */
.blog-prose ul,
.blog-prose ol {
  margin: 0 0 1.45rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  border: 1px solid rgba(21, 28, 39, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, transparent 42%),
    #fafafa;
  list-style: none;
}

.blog-prose ul > li,
.blog-prose ol > li {
  position: relative;
  margin: 0;
  padding: 0.45rem 0.35rem 0.45rem 1.55rem;
  line-height: 1.55;
}

.blog-prose ul > li + li,
.blog-prose ol > li + li {
  border-top: 1px solid rgba(21, 28, 39, 0.06);
}

.blog-prose ul > li::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.22);
}

.blog-prose ol {
  counter-reset: blog-prose-ol;
}

.blog-prose ol > li {
  counter-increment: blog-prose-ol;
  padding-left: 2.35rem;
}

.blog-prose ol > li::before {
  content: counter(blog-prose-ol);
  position: absolute;
  top: 0.4rem;
  left: 0.2rem;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #151c27;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.blog-prose li > ul,
.blog-prose li > ol {
  margin: 0.55rem 0 0.15rem;
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.blog-prose li > ul > li + li,
.blog-prose li > ol > li + li {
  border-top-color: rgba(21, 28, 39, 0.05);
}

.blog-prose li > ul > li::before {
  box-shadow: none;
  background: rgba(var(--link-rgb), 0.55);
}

.blog-prose li > ol > li::before {
  background: rgba(21, 28, 39, 0.72);
  width: 1.3rem;
  height: 1.3rem;
  top: 0.5rem;
  font-size: 0.66rem;
}

/* Tablas */
.blog-prose .wp-block-table,
.blog-prose figure.wp-block-table {
  margin: 1.75rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid rgba(21, 28, 39, 0.1);
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.05);
}

.blog-prose table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(21, 28, 39, 0.1);
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.05);
}

.blog-prose .wp-block-table table {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.blog-prose tbody th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #151c27;
  background: rgba(var(--brand-rgb), 0.08);
  border-top: 1px solid rgba(21, 28, 39, 0.07);
}

.blog-prose thead th,
.blog-prose table > tbody:first-child > tr:first-child > th {
  padding: 0.85rem 1rem;
  background: #151c27;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  border-top: 0;
}

.blog-prose thead th:first-child,
.blog-prose table > tbody:first-child > tr:first-child > th:first-child {
  border-radius: 15px 0 0 0;
}

.blog-prose thead th:last-child,
.blog-prose table > tbody:first-child > tr:first-child > th:last-child {
  border-radius: 0 15px 0 0;
}

.blog-prose thead + tbody tr:first-child td,
.blog-prose thead + tbody tr:first-child th {
  border-top: 0;
}

.blog-prose tbody td,
.blog-prose tfoot td {
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(21, 28, 39, 0.07);
  color: #374151;
  vertical-align: top;
}

.blog-prose tbody tr:nth-child(even) td {
  background: rgba(var(--brand-rgb), 0.06);
}

.blog-prose tbody tr:hover td {
  background: rgba(var(--brand-rgb), 0.12);
}

.blog-prose tbody td:first-child {
  font-weight: 600;
  color: #151c27;
}

.blog-prose figcaption,
.blog-prose .wp-element-caption,
.blog-prose .wp-caption-text {
  margin: 0.55rem 0 0;
  padding: 0 0.25rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #6b7280;
  text-align: center;
}

/* Citas */
.blog-prose blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.25rem 1.35rem 1.25rem 1.5rem;
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), 0.16) 0%, rgba(var(--brand-rgb), 0.04) 55%, #fff 100%);
}

.blog-prose blockquote::before {
  content: "“";
  position: absolute;
  top: 0.15rem;
  right: 0.85rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: rgba(var(--brand-rgb), 0.55);
  pointer-events: none;
}

.blog-prose blockquote p {
  margin: 0;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
  color: #384d0e;
}

.blog-prose blockquote p + p {
  margin-top: 0.75rem;
}

.blog-prose blockquote cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: #6b7280;
}

/* Imágenes / figuras en contenido */
.blog-prose img,
.blog-prose .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.75rem auto;
  border-radius: 14px;
  border: 1px solid rgba(21, 28, 39, 0.08);
  box-shadow: 0 12px 32px rgba(17, 24, 32, 0.08);
}

.blog-prose .wp-block-image,
.blog-prose .wp-caption,
.blog-prose figure:not(.wp-block-table) {
  margin: 1.75rem 0;
}

.blog-prose .wp-block-image img,
.blog-prose .wp-caption img,
.blog-prose figure:not(.wp-block-table) img {
  margin: 0 auto;
}

/* Código */
.blog-prose code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(21, 28, 39, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88em;
  color: #151c27;
}

.blog-prose pre {
  margin: 1.75rem 0;
  padding: 1.1rem 1.2rem;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(21, 28, 39, 0.12);
  background: #151c27;
  color: #e5e7eb;
  box-shadow: 0 12px 28px rgba(17, 24, 32, 0.12);
}

.blog-prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Separadores / miscelánea */
.blog-prose hr {
  margin: 2.25rem auto;
  width: min(100%, 12rem);
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.85), transparent);
}

.blog-prose .wp-block-separator {
  margin: 2.25rem auto;
  border: 0;
  height: 2px;
  max-width: 12rem;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.85), transparent);
}

.blog-prose .wp-block-separator.is-style-wide {
  max-width: 100%;
}

.blog-prose dl {
  margin: 0 0 1.45rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(21, 28, 39, 0.08);
  background: #fafafa;
}

.blog-prose dt {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #151c27;
}

.blog-prose dt:first-child {
  margin-top: 0;
}

.blog-prose dd {
  margin: 0.25rem 0 0;
  color: #4b5563;
}

.blog-prose-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--laooz-border);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 639px) {
  .blog-prose ul,
  .blog-prose ol {
    padding-left: 0.85rem;
    padding-right: 0.75rem;
  }

  .blog-prose thead th,
  .blog-prose tbody td,
  .blog-prose tfoot td {
    padding: 0.7rem 0.75rem;
    font-size: 0.86rem;
  }
}

.blog-single-foot {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--laooz-border);
}

.blog-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.blog-single-tag {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--link-soft);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--link);
}

.blog-single-author-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--laooz-border);
  border-radius: 14px;
  background: #fff;
}

.blog-single-author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brand-soft);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--link);
}

.blog-single-author-name {
  margin: 0;
  font-weight: 600;
  color: #151c27;
}

.blog-single-author-role {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Compartir */
.blog-single-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--laooz-border);
  border-radius: 14px;
  background: #fafafa;
}

.blog-single-share-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.blog-single-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-single-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-single-share-btn:hover {
  transform: translateY(-1px);
}

.blog-single-share-btn--linkedin {
  border: 1px solid #0a66c2;
  background: #0a66c2;
  color: #fff;
}

.blog-single-share-btn--linkedin:hover {
  background: #004182;
  border-color: #004182;
  color: #fff;
}

.blog-single-share-btn--whatsapp {
  border: 1px solid #25d366;
  background: #25d366;
  color: #fff;
}

.blog-single-share-btn--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

/* Relacionados — banda full-bleed (fuera de .blog-single-inner) */
.blog-single-related-mount {
  width: 100%;
}

.blog-related-band {
  position: relative;
  width: 100%;
  margin: 3.5rem 0 0;
  padding: 4rem 0 4.5rem;
  overflow: hidden;
  background: #111820;
  color: rgba(255, 255, 255, 0.7);
}

.blog-related-band-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(var(--brand-rgb), 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(var(--brand-rgb), 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.blog-related-band-inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.blog-related-band-header {
  margin-bottom: 2.25rem;
  text-align: center;
}

.blog-related-band-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.blog-related-band-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.blog-related-band-accent {
  background: linear-gradient(transparent 58%, rgba(var(--brand-rgb), 0.55) 58%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.blog-related-band-desc {
  margin: 0.85rem auto 0;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.blog-related-band-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.blog-related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.blog-related-card:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.blog-related-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2332;
}

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

.blog-related-card:hover .blog-related-card-visual img {
  transform: scale(1.06);
}

.blog-related-card-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
}

.blog-related-card-cat {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--brand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #151c27;
}

.blog-related-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-related-card-title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-related-card-excerpt {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-related-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.blog-related-card-cta {
  font-weight: 600;
  color: var(--brand);
  transition: color 0.2s ease;
}

.blog-related-card:hover .blog-related-card-cta {
  color: var(--brand-hover);
}

.blog-related-band-foot {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.blog-related-band-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(var(--brand-rgb), 0.45);
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.blog-related-band-link:hover {
  background: rgba(var(--brand-rgb), 0.18);
  border-color: rgba(var(--brand-rgb), 0.65);
}

.blog-single-not-found {
  padding: 2rem 0;
  text-align: center;
}

.blog-single-not-found .blog-archive-cta {
  margin-top: 1.5rem;
}

.page-single .blog-single {
  padding-top: 2rem;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .blog-related-band-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .blog-related-band {
    padding: 5rem 0 5.5rem;
  }
}

@media (min-width: 1024px) {
  .blog-single {
    padding: 3rem 0 0;
  }

  .blog-related-card-body {
    padding: 1.5rem 1.6rem 1.65rem;
  }
}

/* WordPress — filtros como enlaces y paginación */
a.blog-filter {
  text-decoration: none;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination-link.is-current {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px rgba(var(--brand-rgb), 0.12);
  pointer-events: none;
}

.blog-card-image--placeholder,
.blog-featured-image--placeholder,
.blog-related-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.blog-related-card-placeholder {
  min-height: 14rem;
}
