/* =========================
   NOTICIAS
========================= */

.nt-list {
  padding: 40px 0 80px;
}

.nt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green-dark);
}

/* ---------- Destacada ---------- */

.nt-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

.nt-featured:hover {
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.09);
}

.nt-featured-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--gray-100);
}

.nt-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nt-featured:hover .nt-featured-media img {
  transform: scale(1.03);
}

.nt-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px;
}

.nt-featured h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
}

.nt-featured p {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.6;
}

.nt-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 15px;
}

.nt-more i {
  transition: transform 0.25s ease;
}

.nt-featured:hover .nt-more i {
  transform: translateX(4px);
}

/* ---------- Filtros ---------- */

.nt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.nt-toolbar .pj-chips {
  flex: 1 1 auto;
  min-width: 0;
}

.nt-toolbar .pj-select {
  flex: 0 0 180px;
}

/* ---------- Tarjetas ---------- */

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

.nt-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.nt-card:focus-visible,
.nt-featured:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.45);
  outline-offset: 2px;
}

.nt-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}

.nt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nt-card:hover .nt-card-media img {
  transform: scale(1.05);
}

.nt-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.nt-cat i {
  color: var(--green);
}

.nt-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.nt-card time {
  font-size: 13px;
  color: var(--gray-600);
}

.nt-card h3 {
  font-size: 18px;
  line-height: 1.35;
}

.nt-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-600);
}

.nt-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

.nt-card-foot i {
  color: var(--green);
  margin-right: 5px;
}

/* ---------- Artículo ---------- */

.nt-article {
  padding: 40px 0 56px;
}

.nt-narrow {
  max-width: 820px;
}

.nt-article-head {
  margin: 20px 0 28px;
}

.nt-article-head h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 10px 0 14px;
}

.nt-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--gray-700);
}

.nt-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--gray-600);
}

.nt-byline i {
  color: var(--green);
  margin-right: 6px;
}

.nt-byline a {
  color: var(--green-dark);
  font-weight: 500;
  text-decoration: none;
}

.nt-byline a:hover {
  text-decoration: underline;
}

.nt-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.nt-body h2 {
  font-size: 22px;
  margin: 40px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nt-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}

.nt-press {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}

.nt-press > i {
  font-size: 24px;
  color: var(--green);
}

.nt-press div {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nt-press span {
  font-size: 13px;
  color: var(--gray-600);
}

.nt-press .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nt-project {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nt-project:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.nt-project img {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.nt-project div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nt-project strong {
  font-size: 18px;
}

.nt-project-meta {
  font-size: 14px;
  color: var(--gray-600);
}

.nt-project-meta i {
  color: var(--green);
  margin-right: 4px;
}

.nt-project-arrow {
  color: var(--green);
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.nt-project:hover .nt-project-arrow {
  transform: translateX(4px);
}

.nt-more-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 56px 0 72px;
}

.nt-more-section h2 {
  font-size: 26px;
  margin-bottom: 24px;
}

.nt-all {
  text-align: center;
  margin-top: 32px;
  max-width: none;
}

/* Noticias dentro de la ficha de un proyecto */
.nt-mini-list {
  display: grid;
  gap: 10px;
}

.nt-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nt-mini:hover {
  border-color: #bbf7d0;
  transform: translateX(3px);
}

.nt-mini img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.nt-mini div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.nt-mini time {
  font-size: 13px;
  color: var(--gray-600);
}

.nt-mini strong {
  font-size: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nt-grid { grid-template-columns: repeat(2, 1fr); }
  .nt-featured { grid-template-columns: 1fr; }
  .nt-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 700px) {
  .nt-grid { grid-template-columns: 1fr; }
  .nt-featured-body { padding: 24px; }
  .nt-toolbar .pj-select { flex: 1 1 100%; }
  .nt-lead { font-size: 17px; }
  .nt-body p { font-size: 17px; }
  .nt-project img { width: 84px; height: 64px; }
}
