/* ==========================================================================
   Node Novedades
   ========================================================================== */

/* ---------- Wrapper ---------- */

.nov-node-wrapper {
  padding-top: 100px;
  background-color: #ffffff;
}

/* ---------- Ocultar titulo duplicado de Drupal ---------- */

.nov-node-wrapper ~ .block-page-title-block,
.page-node-type-novedades-listado .block-page-title-block {
  display: none;
}

/* ---------- Breadcrumb (estilo schools) ---------- */

.nov-breadcrumb-wrapper {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.nov-breadcrumb-wrapper .breadcrumb,
.nov-breadcrumb-wrapper nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nov-breadcrumb-wrapper nav ul li {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #888;
}

.nov-breadcrumb-wrapper nav ul li a {
  text-decoration: none;
  color: #ff4f26;
  transition: color 0.2s ease;
}

.nov-breadcrumb-wrapper nav ul li a:hover {
  color: #f5ac3c;
  text-decoration: underline;
}

.nov-breadcrumb-wrapper nav ul li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  color: #ccc;
}

.nov-breadcrumb-wrapper nav ul li:last-child {
  font-weight: 600;
  color: #555;
}

/* ---------- Header / Titulo centrado ---------- */

.nov-node-header {
  padding: 3rem 0 2rem;
  text-align: center;
}

.nov-node-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 700;
  color: #121212;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .nov-node-title {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1024px) {
  .nov-node-title {
    font-size: 3.5rem;
  }
}

/* ---------- Contenido principal ---------- */

.nov-node-content {
  padding-bottom: 4rem;
}

/* ---------- Sidebar ---------- */

.nov-node-sidebar {
  margin-bottom: 2rem;
}

.nov-sidebar-inner {
  padding: 1.25rem 0;
  border-top: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
}

.nov-sidebar-item {
  margin-bottom: 1rem;
}

.nov-sidebar-item:last-child {
  margin-bottom: 0;
}

.nov-sidebar-label {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #333;
}

.nov-sidebar-value {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #666;
}

.nov-sidebar-value a {
  color: #ff4f26;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nov-sidebar-value a:hover {
  color: #f5ac3c;
  text-decoration: underline;
}

.nov-sidebar-value a svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: #ff4f26;
  margin-left: 0.25rem;
  vertical-align: middle;
}

/* ---------- Body ---------- */

.nov-node-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.nov-node-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}

.nov-node-text p {
  margin-bottom: 1.25rem;
}

.nov-node-text img {
  max-width: 100%;
  height: auto;
}

/* ---------- Enlace/boton ---------- */

.nov-node-link {
  margin-top: 2rem;
}

.nov-node-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background-color: #FFF;
  border: 2px solid #ff4f26;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nov-node-btn:hover {
  background-color: #ff4f26;
  color: #FFF;
  text-decoration: none;
}

/* ---------- Responsive: sidebar en linea en tablet ---------- */

@media screen and (max-width: 991px) {
  .nov-sidebar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .nov-sidebar-item {
    margin-bottom: 0;
  }
}
