/* ====== Base ====== */
.nt-container{ width:min(1120px, 92%); margin:0 auto; }
.nt-blog, .nt-article{ background:#fff; }

.nt-blog-hero{
  padding: 44px 0 26px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nt-blog-kicker{
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 12px;
  color:#0b2a3c;
  margin:0 0 8px;
}
.nt-blog-title{
  margin:0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  color:#0b2a3c;
}
.nt-blog-subtitle{
  margin:0;
  max-width: 72ch;
  color:#475569;
  line-height:1.6;
  font-size: 15px;
}

.nt-blog-list{ padding: 26px 0 46px; }

/* ====== Cards grid ====== */
.nt-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.nt-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  overflow:hidden;
  background:#fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.nt-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.nt-card-link{ display:block; text-decoration:none; color:inherit; }

.nt-card-media{ background:#f1f5f9; }
.nt-card-img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}
.nt-card-placeholder{
  height:190px;
  background: linear-gradient(135deg, rgba(11,42,60,.06), rgba(22,114,168,.06));
}

.nt-card-body{ padding: 14px 14px 16px; }
.nt-card-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}
.nt-badge{
  display:inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22,114,168,.10);
  color:#0b2a3c;
  font-weight:700;
  font-size: 12px;
}
.nt-date{ color:#64748b; font-size:12px; }

.nt-card-title{
  margin:0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  color:#0b2a3c;
  font-weight: 800;
}
.nt-card-excerpt{
  margin:0 0 10px;
  color:#475569;
  font-size: 13.5px;
  line-height:1.6;
}
.nt-readmore{
  font-weight:800;
  color:#1672a8;
  font-size: 13px;
}

/* ====== Pagination ====== */
.nt-pagination{
  margin-top: 22px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nt-pagination .page-numbers{
  display:inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 8px;
  text-decoration:none;
  color:#0b2a3c;
  font-weight:700;
  font-size: 13px;
}
.nt-pagination .current{
  background:#0b2a3c;
  color:#fff;
  border-color:#0b2a3c;
}

/* ====== Single article ====== */
.nt-article{ padding: 28px 0 54px; }
.nt-breadcrumbs{
  color:#64748b;
  font-size: 12.5px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.nt-breadcrumbs a{ color:#1672a8; text-decoration:none; font-weight:700; }

.nt-article-header{ margin-bottom: 18px; }
.nt-article-kicker{
  margin:0 0 8px;
  font-weight:800;
  letter-spacing:.08em;
  font-size: 12px;
  color:#0b2a3c;
  text-transform: uppercase;
}
.nt-article-title{
  margin:0 0 10px;
  font-size: 38px;
  line-height: 1.12;
  color:#0b2a3c;
  font-weight: 900;
}
.nt-article-meta{
  color:#64748b;
  font-size: 13px;
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom: 14px;
}

.nt-article-hero{ margin: 0 0 16px; }
.nt-article-img{
  width:100%;
  height:auto;
  border-radius: 14px;
  display:block;
}

/* Content typography */
.nt-article-content{
  max-width: 78ch;
}
.nt-article-content p{ color:#1f2937; line-height:1.8; font-size: 16px; }
.nt-article-content h2{ margin-top: 28px; font-size: 24px; color:#0b2a3c; }
.nt-article-content h3{ margin-top: 22px; font-size: 19px; color:#0b2a3c; }
.nt-article-content ul, .nt-article-content ol{ color:#1f2937; line-height:1.8; }
.nt-article-content a{ color:#1672a8; font-weight:700; }

.nt-article-footer{
  margin-top: 28px;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 16px;
}
.nt-tag{
  display:inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240,138,36,.12);
  color:#0b2a3c;
  font-weight:800;
  font-size: 12px;
  margin: 0 8px 8px 0;
}
.nt-article-nav{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.nt-article-nav a{
  text-decoration:none;
  color:#1672a8;
  font-weight:900;
}

/* Responsive */
@media (max-width: 980px){
  .nt-cards{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .nt-cards{ grid-template-columns: 1fr; }
  .nt-article-title{ font-size: 30px; }
}
/* ====== Filtros (tabs) ====== */
.nt-filters{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  margin: 0 0 18px;
}

.nt-filter{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration:none;
  color:#0b2a3c;
  font-weight:800;
  font-size: 13px;
  background:#fff;
  transition: transform .12s ease, background .12s ease;
}

.nt-filter:hover{
  transform: translateY(-1px);
  background: rgba(22,114,168,.06);
}

.nt-filter.is-active{
  background:#0b2a3c;
  border-color:#0b2a3c;
  color:#fff;
}
/* Vistas en tarjeta */
.nt-views{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

/* Featured card */
.nt-card--featured{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  margin: 14px 0 18px;
}

.nt-card--featured .nt-card-img,
.nt-card--featured .nt-card-placeholder{
  height: 280px;
}

.nt-card--featured .nt-card-body{
  padding: 18px 18px 18px;
}

.nt-card--featured .nt-card-title{
  font-size: 20px;
}

@media (max-width: 900px){
  .nt-card--featured{
    grid-template-columns: 1fr;
  }
  .nt-card--featured .nt-card-img,
  .nt-card--featured .nt-card-placeholder{
    height: 220px;
  }
}
/* =========================
   Featured HERO (Corsair-like)
   ========================= */

.nt-featured{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  margin: 14px 0 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.nt-featured-link{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  text-decoration: none;
  color: inherit;
}

.nt-featured-media{
  background: #f1f5f9;
}

.nt-featured-img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.nt-featured-placeholder{
  height: 360px;
  background: linear-gradient(135deg, rgba(11,42,60,.08), rgba(22,114,168,.08));
}

.nt-featured-body{
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nt-featured-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 12px;
}

.nt-badge-featured{
  background: rgba(240,138,36,.16);
  color: #0b2a3c;
}

.nt-featured-title{
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  color: #0b2a3c;
}

.nt-featured-excerpt{
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.7;
  font-size: 14.5px;
}

.nt-featured-cta{
  font-weight: 900;
  color: #1672a8;
  font-size: 13.5px;
}

.nt-featured:hover{
  transform: translateY(-1px);
}

@media (max-width: 980px){
  .nt-featured-link{
    grid-template-columns: 1fr;
  }
  .nt-featured-img,
  .nt-featured-placeholder{
    height: 240px;
  }
  .nt-featured-title{
    font-size: 20px;
  }
}
/* =========================
   Videos Tutoriales (grid + cards)
   ========================= */

.nt-videos-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nt-video-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  overflow:hidden;
  background:#fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.nt-video-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.nt-video-thumb{
  position: relative;
  background:#f1f5f9;
}
.nt-video-thumb img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}
.nt-video-play{
  position:absolute;
  inset:auto auto 12px 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

@media (max-width: 980px){
  .nt-videos-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .nt-videos-grid{ grid-template-columns: 1fr; }
}
/* =========================
   Videos: hover pro (zoom suave + sombra)
   ========================= */

.nt-video-card{
  will-change: transform;
}

.nt-video-thumb{
  overflow: hidden; /* para que el zoom no se salga */
}

.nt-video-thumb img{
  transition: transform .35s ease, filter .35s ease;
  transform: scale(1);
}

.nt-video-card:hover .nt-video-thumb img{
  transform: scale(1.04);
  filter: saturate(1.05);
}

.nt-video-play{
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
  opacity: .95;
}

.nt-video-card:hover .nt-video-play{
  transform: scale(1.06);
  background: rgba(0,0,0,.62);
  opacity: 1;
}