.ntev-blog,
.ntev-article,
.ntev-home {
  --ntev-ink: #171717;
  --ntev-muted: #666;
  --ntev-line: #e6e6e6;
  --ntev-soft: #f6f6f6;
  --ntev-accent: #111;
  color: var(--ntev-ink);
  background: #fff;
  padding: 32px 0 72px;
}

.ntev-shell,
.ntev-article__shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ntev-hero {
  max-width: 900px;
  padding: 30px 0 26px;
}

.ntev-hero--category {
  padding-top: 20px;
}

.ntev-eyebrow,
.ntev-article__category,
.ntev-card__category,
.ntev-author__label {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ntev-hero__title,
.ntev-article__header h1 {
  margin: 0;
  color: var(--ntev-ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 800;
}

.ntev-hero__intro {
  max-width: 800px;
  margin-top: 20px;
  color: #444;
  font-size: 18px;
  line-height: 1.7;
}

.ntev-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 38px;
}

.ntev-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ntev-line);
  border-radius: 999px;
  color: var(--ntev-ink);
  background: #fff;
  text-decoration: none;
  font-weight: 650;
}

.ntev-category-nav a:hover {
  border-color: #999;
  text-decoration: none;
}

.ntev-category-nav span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ntev-soft);
  font-size: 11px;
}

.ntev-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 18px;
  border-top: 0px solid var(--ntev-line);
}

.ntev-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-top:.5em;
  margin-bottom:.3em;
  font-weight:700;
}

.ntev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}

.ntev-card {
  min-width: 0;
  border-bottom: 1px solid var(--ntev-line);
  padding-bottom: 22px;
}

.ntev-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ntev-soft);
  border-radius: 3px;
  max-height: 200px;
  width: 100%;
}

.ntev-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ntev-card__image:hover img {
  transform: scale(1.025);
}

.ntev-card__body {
  padding-top: 15px;
}

.ntev-card__category,
.ntev-article__category {
  display: inline-block;
  color: #555;
  text-decoration: none;
}

.ntev-card__category:hover,
.ntev-article__category:hover {
  color: #000;
  text-decoration: underline;
}

.ntev-card__title {
  margin: 4px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.ntev-card__title a {
  color: var(--ntev-ink);
  text-decoration: none;
}

.ntev-card__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ntev-card__summary {
  margin: 0 0 12px;
  color: var(--ntev-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ntev-card__meta,
.ntev-article__date {
  color: #888;
  font-size: 13px;
}

.ntev-empty {
  padding: 30px 0;
  color: var(--ntev-muted);
}

.ntev-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #777;
  font-size: 13px;
}

.ntev-breadcrumb a {
  color: #555;
  text-decoration: none;
}

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

.ntev-article__header {
  max-width: 950px;
  margin: 28px auto 30px;
  text-align: center;
}

.ntev-article__header h1 {
  font-size: clamp(32px, 5.2vw, 48px);
}

.ntev-article__date {
  margin: 16px 0 0;
}

.ntev-article__cover {
  width: min(1080px, 100%);
  margin: 0 auto 42px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ntev-soft);
}

.ntev-article__cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.ntev-article__layout {
  width: min(820px, 100%);
  margin: 0 auto;
}

.ntev-richtext {
  overflow-wrap: anywhere;
}

.ntev-richtext > :first-child {
  margin-top: 0;
}

.ntev-richtext > :last-child {
  margin-bottom: 0;
}

.ntev-article__content {
  color: #292929;
  font-size: 18px;
  line-height: 1.78;
}

.ntev-article__content p,
.ntev-article__content ul,
.ntev-article__content ol,
.ntev-article__content blockquote,
.ntev-article__content table,
.ntev-article__content figure {
  margin: 0 0 1.05em;
}

.ntev-article__content h2 {
  margin: 0.8em 0 .65em;
  color: var(--ntev-ink);
  font-size: clamp(28px, 3.8vw, 38px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.ntev-article__content h3 {
  margin: 0.7em 0 .55em;
  color: var(--ntev-ink);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
}

.ntev-article__content h4 {
  margin: 0.65em 0 .5em;
  font-size: 21px;
}

.ntev-article__content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ntev-article__content img,
.ntev-article__content video,
.ntev-article__content iframe {
  max-width: 100%;
  height: auto;
}

.ntev-article__content iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.ntev-article__content blockquote {
  padding: 4px 0 4px 24px;
  border-left: 3px solid #1c1c1c;
  color: #4f4f4f;
  font-size: 1.08em;
}

.ntev-article__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.ntev-article__content th,
.ntev-article__content td {
  padding: 10px 12px;
  border: 1px solid var(--ntev-line);
  text-align: left;
}

.ntev-author {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  margin: 52px 0 0;
  padding: 24px;
  border: 1px solid var(--ntev-line);
  border-radius: 14px;
  background: #fafafa;
}

.ntev-author__image,
.ntev-author__fallback {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.ntev-author__image {
  display: block;
  object-fit: cover;
}

.ntev-author__fallback {
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.ntev-author__label {
  margin-bottom: 4px;
  color: #777;
}

.ntev-author__name {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.ntev-author__description {
  margin: 0;
  color: var(--ntev-muted);
  line-height: 1.55;
}

.ntev-related {
  margin-top: 64px;
}

.ntev-grid--related .ntev-card__title {
  font-size: 20px;
}

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

@media (max-width: 620px) {
  .ntev-blog,
  .ntev-article,
  .ntev-home {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .ntev-shell,
  .ntev-article__shell {
    width: min(100% - 24px, 1180px);
  }

  .ntev-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ntev-hero {
    padding-top: 20px;
  }

  .ntev-article__header {
    text-align: left;
    margin-top: 18px;
  }

  .ntev-article__cover {
    margin-bottom: 30px;
  }

  .ntev-article__content {
    font-size: 17px;
    line-height: 1.72;
  }

  .ntev-article__content iframe {
    min-height: 220px;
  }

  .ntev-author {
    grid-template-columns: 64px 1fr;
    padding: 18px;
    gap: 14px;
  }

  .ntev-author__image,
  .ntev-author__fallback {
    width: 64px;
    height: 64px;
  }
}


/* v1.0.1: índice independiente de categorías */
.ntev-category-nav__head {
  margin: 0 0 12px;
  text-align: right;
}
.ntev-category-nav__head a {
  font-weight: 700;
  text-decoration: none;
}
.ntev-categories-intro {
  max-width: 760px;
  margin: 12px auto 0;
}
.ntev-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.ntev-category-card {
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.ntev-category-card__body {
  padding: 26px;
}
.ntev-category-card__count {
  margin: 0 0 8px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .65;
}
.ntev-category-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.ntev-category-card h2 a,
.ntev-category-card__link {
  color: inherit;
  text-decoration: none;
}
.ntev-category-card__description {
  margin-bottom: 18px;
}
.ntev-category-card__description > *:last-child {
  margin-bottom: 0;
}
.ntev-category-card__link {
  display: inline-flex;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 991px) {
  .ntev-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .ntev-category-grid { grid-template-columns: 1fr; }
  .ntev-category-card__body { padding: 20px; }
}


/* v1.0.6: últimos artículos en la home */
.ntev-home {
  padding-top: 48px;
  padding-bottom: 56px;
}

.ntev-home__head {
  padding-top: 0;
}

.ntev-home__all {
  flex: 0 0 auto;
  color: var(--ntev-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ntev-home__all:hover {
  color: var(--ntev-ink);
}

.ntev-grid--home .ntev-card__title {
  font-size: 22px;
}

@media (max-width: 620px) {
  .ntev-home {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .ntev-home__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

.ntev-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}

.ntev-breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
p.ntev-article__date {
    display: inline-flex;
    align-items: center;
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1;
    background: #f1f3f8;
    color: #51596b;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
