/* TRABAJOS REALIZADOS */
/* COLUMNA IZQUIERDA */
.rn-works-sidebar > * + * {
  margin-top: 2.6vw;
}
/* COLUMNA IZQUIERDA - ÁRBOL DE CATEGORÍAS */
.rn-works-category-nav details summary::-webkit-details-marker {
  display: none;
}
.rn-works-category-nav details summary::marker {
  display: none;
}
.rn-works-category-nav details summary {
  list-style: none;
}
.rn-works-category-nav .module-title {
  border-bottom: 2px solid #313537;
  margin: 0;
  padding-bottom: 1vw;
  display: flex;
}
.rn-works-category-nav .svgic {
  display: inline-block;
  fill: currentcolor;
  aspect-ratio: 1;
  pointer-events: none;
  vertical-align: top;
  width: 20px;
}
.rn-works-category-nav .module-title span {
  flex-grow: 1;
  display: inline-block;
}
.rn-works-cats {
  list-style: none;
}
.rn-works-cats-item {
  border-bottom: 1px solid #ededed;
}
.rn-works-cats-item a:hover {
  color: #163d7a;
}
.rn-works-cats-item.is-active a {
  color: #163d7a;
  font-weight: 600;
}
/* COLUMNA IZQUIERDA - ÚLTIMOS TRABAJOS */
.rn-works-sidebar-box-latest {
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
  font-size: 15px;
}
.rn-works-sidebar-box-latest .rn-works-sidebar-title {
  border-bottom: 2px solid #313537;
  margin: 0;
  padding-bottom: 1vw;
  display: flex;
  font-size: 20px;
  line-height: 28px;
  font-family: "Nunito";
}
.rn-latest-works {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.rn-latest-work {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
}
.rn-latest-work-image-link {
  display: block;
  background: #f1f1f1;
}
.rn-latest-work-image,
.rn-latest-work-placeholder {
  display: block;
  width: 100px;
  height: 130px;
  object-fit: cover;
  background: #f1f1f1;
}
.rn-latest-work-category {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #bcbcbc;
}
.rn-latest-work-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}
.rn-latest-work-title a {
  display: block;
  color: #5d5d5d;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  text-decoration: none;
}
.rn-latest-work-title a:hover {
  color: #163d7a;
}
/* COLUMNA IZQUIERDA - BANNERS CREATIVE ELEMENTS */
.rn-works-sidebar-ce .banner-categorias + .banner-categorias {
  margin-top: 2.6vw;
}
/* COLUMNA DERECHA - GRID DE TRABAJOS */
.rn-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 0 10px;
}
/* COLUMNA DERECHA - TARJETAS */
.rn-work-card {
  background: #f8f8f8;
}
.rn-work-card-image-link {
  display: block;
}
.rn-work-card-image,
.rn-work-card-placeholder {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #f8f8f8;
}
.rn-work-card-content {
  padding: 40px;
}
.rn-work-card-category {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #bcbcbc;
}
.rn-work-card-title {
  margin: 0 0 30px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  color: #5e5e5e;
}
.rn-work-card-title a {
  color: #5e5e5e;
  text-decoration: none;
}
.rn-work-card-title a:hover {
  color: #163d7a;
}
.rn-work-card-button {
  min-width: 200px;
  min-height: 44px;
  font-size: 15px !important;
}
/* RESPONSIVE */
@media (max-width: 767px) {
  .rn-works-grid {
    grid-template-columns: 1fr;
  }
}
/* COLUMNA DERECHA - CONTEO Y PAGINACIÓN */
.rn-works-pagination {
  margin-top: 40px;
  align-items: center;
  gap: 20px;
  padding: 0 10px;
}
.rn-works-pagination .pagination-info {
  line-height: 2.5rem;
  font-size: 14px;
}
.rn-works-pagination .page-list {
  gap: 5px;
  display: flex;
}
.rn-works-pagination .page-list a,
.rn-works-pagination .page-list span {
  display: flex;
  line-height: 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #dfdfdf;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #585858;
  font-size: 0.75em;
  font-family: "Nunito";
}
.rn-works-pagination .page-list li.current a,
.rn-works-pagination .page-list li.current span {
  color: #585858;
  border: 2px solid #585858;
}
.rn-works-pagination .page-list a:hover {
  border-width: 2px;
}
.rn-works-pagination .page-list li.disabled span {
  color: #777;
  border-color: #e5e5e5;
  cursor: default;
}
.rn-works-pagination .page-list a svg {
  width: 8px;
}
.rn-works-pagination .page-list a .svgic {
  display: inline-block;
  fill: currentcolor;
  aspect-ratio: 1;
  pointer-events: none;
}
/* HOVER LUPA EN TARJETAS DE TRABAJOS */
/* contenedor del enlace de imagen */
.rn-work-card-image-link {
  position: relative;
  display: block;
  overflow: hidden;
}
/* imagen */
.rn-work-card-image {
  transition: opacity 0.25s ease;
}
/* capa blanca suave */
.rn-work-card-image-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  pointer-events: none;
}
/* icono lupa centrado */
.rn-work-card-image-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M505.508,475.582l-163.48-163.48c26.405-32.888,42.214-74.647,42.214-120.102c0-106.033-85.967-192-192-192s-192,85.967-192,192s85.967,192,192,192c45.207,0,86.759-15.635,119.563-41.78l163.532,163.532c8.331,8.331,21.839,8.331,30.17,0C513.84,497.42,513.84,483.913,505.508,475.582z M42.91,192c0-82.469,66.865-149.333,149.333-149.333S341.577,109.531,341.577,192c0,41.354-16.816,78.783-43.98,105.826l-.011.012c-27.005,26.879-64.234,43.496-105.342,43.496C109.775,341.333,42.91,274.469,42.91,192z'/></svg>");
}
/* hover */
.rn-work-card-image-link:hover::before,
.rn-work-card-image-link:hover::after {
  opacity: 1;
}
.rn-work-card-image-link:hover .rn-work-card-image {
  opacity: 0.5;
}