@charset "UTF-8";
.container,
.max-width,
body.single-has-children .main-inner {
  max-width: 1920px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

.desborda.left.right {
  width: 100vw;
  position: relative;
  max-width: unset;
  min-width: 100vw;
  left: -30px;
  padding-left: 30px;
  padding-right: 30px;
}

header > div {
  display: flex;
  justify-content: space-between;
}
header a {
  padding: 5px 10px;
  display: inline-block;
  font-size: 28.4px;
  font-weight: 500;
  position: relative;
}
header a.custom-logo-link {
  pointer-events: none;
}
header .wp-block-site-logo a {
  padding-top: 0px;
}
header .left {
  margin-left: -10px;
  display: flex;
  flex-direction: column;
}
header nav.main-nav {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-right: -10px;
  margin-top: -2px;
  z-index: 999;
  align-self: flex-start;
}
header nav.main-nav a:nth-child(1):hover {
  color: red;
}
header nav.main-nav a:nth-child(2):hover {
  color: #009245;
}
header nav.main-nav a:nth-child(3):hover {
  color: blue;
}
header nav.main-nav a:nth-child(4):hover {
  color: #fcdb03;
}
header .wp-block-site-logo img {
  width: 300px;
}
header nav.breadcrumbs {
  margin-left: -10px;
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #fff;
  flex-wrap: wrap;
}
header nav.breadcrumbs a {
  padding-right: 8px;
  font-size: 20px;
  color: #fff;
}
header.wp-block-template-part:has(nav.breadcrumbs) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  z-index: 999;
  opacity: 0;
  transition-duration: 0.3s;
}
header.wp-block-template-part:has(nav.breadcrumbs):hover {
  opacity: 1;
}

body.navlight header.wp-block-template-part:has(nav.breadcrumbs) {
  background-color: rgb(255, 255, 255);
}
body.navlight header.wp-block-template-part:has(nav.breadcrumbs) nav.breadcrumbs {
  color: #000;
}
body.navlight header.wp-block-template-part:has(nav.breadcrumbs) nav.breadcrumbs a {
  color: #000;
}

.main-nav a.amigxs span {
  margin-left: -2px;
  font-size: 26px;
  margin-right: -1px;
}

.home.blog a.footer-mail:hover {
  color: #ff7bac;
}

.home.blog a.footer-ig:hover {
  color: #fcee21;
}

@media (min-width: 1700px) {
  header a {
    font-weight: 600;
  }
}
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #000;
  transition: color 0.2s ease;
}
.mobile-menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}
.mobile-menu-toggle:hover {
  opacity: 0.7;
}
body.dark-mode .mobile-menu-toggle {
  color: #fff;
}

.mobile-menu-panel a.footer-ig, .mobile-menu-panel a.footer-mail {
  position: static;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  background: #fff;
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 300ms linear;
  display: none;
}
body.dark-mode .mobile-menu-panel {
  background: #000;
  color: #fff;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 25px 25px 15px;
  min-width: 0px;
  border-right: 2px solid red;
}

.mobile-menu-logo {
  margin-bottom: 15px;
}
.mobile-menu-logo .custom-logo-link {
  display: inline-block;
}
.mobile-menu-logo .custom-logo {
  max-width: 195px;
  height: auto;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu-nav a {
  font-size: 25px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 1px 0;
}
.mobile-menu-nav a:nth-child(1):hover {
  color: red;
}
.mobile-menu-nav a:nth-child(2):hover {
  color: #009245;
}
.mobile-menu-nav a:nth-child(3):hover {
  color: blue;
}
body.dark-mode .mobile-menu-nav a {
  color: #fff;
}
body.dark-mode .mobile-menu-nav a:nth-child(1):hover {
  color: red;
}
body.dark-mode .mobile-menu-nav a:nth-child(2):hover {
  color: #009245;
}
body.dark-mode .mobile-menu-nav a:nth-child(3):hover {
  color: blue;
}

.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.mobile-menu-footer a {
  font-size: 25px !important;
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 1px 0;
}
.mobile-menu-footer a.footer-ig:hover {
  color: #fcee21 !important;
}
.mobile-menu-footer a.footer-mail:hover {
  color: #ff7bac !important;
}
body.dark-mode .mobile-menu-footer a {
  color: #fff;
}
body.dark-mode .mobile-menu-footer a.footer-ig:hover {
  color: #fcee21 !important;
}
body.dark-mode .mobile-menu-footer a.footer-mail:hover {
  color: #ff7bac !important;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms linear;
  display: none;
}

body.mobile-menu-open .mobile-menu-panel {
  transform: translateX(0);
}
body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.desktop-header {
  display: flex;
}

@media (max-width: 767px) {
  .mobile-menu-logo .custom-logo-link {
    padding: 0;
  }
  .desktop-header, footer {
    display: none !important;
  }
  .container.main-inner:has(.footer-ig, .footer-mail) {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu-panel,
.mobile-menu-overlay {
    display: block;
  }
}
a.footer-mail {
  position: fixed;
  right: 30px;
  bottom: 5px;
  font-size: 28px;
  font-weight: 500;
}

a.footer-ig {
  position: fixed;
  left: 30px;
  bottom: 5px;
  font-size: 28px;
  font-weight: 500;
}

@media (min-width: 1700px) {
  a.footer-mail,
a.footer-ig {
    font-weight: 600;
  }
}
body.home {
  overflow: hidden;
}
body.home img.custom-logo {
  height: auto;
  width: 304px;
}
body.home header {
  padding-top: 15px;
}
body.home main .container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 !important;
}
body.home main .container .home-elements {
  min-height: 100%;
  position: relative;
}
body.home main .container .home-elements .home-element {
  cursor: grab;
  display: inline-block;
  max-width: 250px;
  width: max-content;
  opacity: 0;
  transition: opacity 0.5s, box-shadow 0.2s, z-index 0.1s;
  position: absolute;
  outline: none;
  z-index: 1;
  user-select: none;
}
body.home main .container .home-elements .home-element img {
  display: block;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  pointer-events: none;
}
body.home main .container .home-elements .home-element:active {
  cursor: grabbing;
}
body.home main .container .home-elements .home-element.home-positioned {
  opacity: 1;
}
body.home main .container .home-elements .home-element.home-positioned:not(.home-moved).perfume {
  left: unset;
  top: unset;
  right: 0px;
  bottom: 45px;
}
body.home main .container .home-elements .home-element.home-dragging {
  cursor: grabbing;
}
body.home main .container .home-elements .home-element.is-visible {
  opacity: 1;
}
body.home main .container .home-elements .home-element:focus {
  outline: none;
}

/* CSS base para la lista de proyectos */
body.post-type-archive-proyecto,
body.tax-proyecto-categoria {
  overflow-x: hidden;
}

.projects-list {
  position: relative;
  width: 100%;
}
.projects-list .project-item {
  display: block;
  border-bottom: 1px solid #000;
}
.projects-list .project-item .project-link {
  display: flex;
  text-decoration: none;
  border-bottom: none;
  padding: 15px 30px 17px;
  font-size: 2.5rem;
  font-weight: 300;
  color: inherit;
  cursor: pointer;
  line-height: 100%;
  letter-spacing: 0.35px;
}
.projects-list .project-item .project-link:hover {
  font-weight: 500;
  letter-spacing: -0.4px;
}
.projects-list .project-item.has-children {
  border-bottom: unset;
}
.projects-list .project-item.has-children > .project-header {
  border-bottom: 1px solid #000;
}
.projects-list .project-item.has-children .project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.projects-list .project-item .project-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  top: 7px;
  right: 0;
  bottom: 0;
  width: 40px;
  display: none;
}
.projects-list .project-item .project-toggle svg {
  width: 40px;
  height: 40px;
}
.projects-list .project-item.expanded .project-toggle svg {
  transform: rotate(180deg);
}
.projects-list .project-children {
  display: none;
}
.projects-list .project-children a {
  padding-left: 60px !important;
}

body.single-proyecto .proyecto-descripcion {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  z-index: 999;
  opacity: 0;
  transition-duration: 0.3s;
  background-color: rgba(0, 0, 0, 0.6901960784);
  top: unset;
  bottom: 0;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}
body.single-proyecto .proyecto-descripcion:hover {
  opacity: 1;
}

.custom-gallery-slider {
  width: 100vw;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}
.custom-gallery-slider .gallery-swiper {
  width: 100%;
  height: 100%;
}
.custom-gallery-slider .gallery-slide {
  width: auto !important;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.custom-gallery-slider .gallery-slide img {
  height: 100dvh;
  width: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.custom-gallery-slider .gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
  z-index: 10;
  display: none;
}
.custom-gallery-slider .gallery-arrow {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  pointer-events: all;
}
.custom-gallery-slider .gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}
.custom-gallery-slider .gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.wp-singular.proyecto-template-default .main-inner {
  height: 100dvh;
  width: 100%;
}

.proyectos-hijos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  gap: 10px;
  place-content: center;
  width: 100%;
  max-width: 1040px;
}
.proyectos-hijos-grid .proyecto-hijo-item {
  display: block;
  width: 100%;
}
.proyectos-hijos-grid .proyecto-hijo-item img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: cover;
  aspect-ratio: 1;
}
.proyectos-hijos-grid .proyecto-hijo-item .proyecto-hijo-title {
  margin: 10px 0 2px;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
}
.proyectos-hijos-grid .proyecto-hijo-item .proyecto-hijo-subtitle {
  margin: 0;
  position: relative;
  text-align: center;
  font-size: 14px;
  top: -4px;
}

.proyecto-gallery .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  cursor: pointer;
}
@media (min-width: 769px) {
  .proyecto-gallery .splide__slide {
    cursor: default;
  }
}
.proyecto-gallery .splide__slide img,
.proyecto-gallery .splide__slide video {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.proyecto-gallery .splide__slide video {
  min-width: 1px;
  min-height: 100dvh;
}
.proyecto-gallery .splide__slide.slide-video {
  background: #000;
}
.proyecto-gallery .splide__slide.slide-video .slide-video-element {
  display: block;
}
.proyecto-gallery .splide__slide.slide-image img {
  display: block;
}

.slider-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: none;
}
.slider-lightbox.active {
  display: block;
}
.slider-lightbox .lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}
.slider-lightbox .lightbox-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.slider-lightbox .lightbox-content img,
.slider-lightbox .lightbox-content video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.slider-lightbox .lightbox-content video {
  width: 100%;
  height: 100%;
}
.slider-lightbox .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s, transform 0.2s;
}
.slider-lightbox .video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.slider-lightbox .video-play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}
.slider-lightbox .video-play-btn svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}
.slider-lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.slider-lightbox .lightbox-close:hover {
  background: rgb(255, 255, 255);
  transform: scale(1.1);
}
.slider-lightbox .lightbox-close:active {
  transform: scale(0.95);
}
@media (min-width: 769px) {
  .slider-lightbox {
    display: none !important;
  }
}

/* Elementos sin lightbox siempre detrás */
.proyecto-random-item.no-lightbox,
.popurri-item.no-lightbox {
  z-index: 0;
}

/* Elementos CON lightbox se apilan encima */
.proyecto-random-item:not(.no-lightbox),
.popurri-item:not(.no-lightbox) {
  z-index: 1;
}

/**
 * AGREGAR/REEMPLAZAR en _proyectos.scss
 * La parte de .projects-hover-container y .projects-hover-image
 */
.projects-hover-container {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.projects-hover-container.visible {
  opacity: 1;
}

.projects-hover-image {
  position: absolute;
  left: 0;
  top: 0;
  max-width: var(--hover-max-width, 300px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: none;
  will-change: opacity;
}
.projects-hover-image.active {
  display: block;
}

@media (max-width: 1024px) {
  .projects-hover-container {
    display: none !important;
  }
}
.projects-hover-container {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Contenedor principal */
.popurri-container {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}
@supports not (height: 100dvh) {
  .popurri-container {
    height: 100dvh;
  }
}

/* Items individuales */
.popurri-item {
  position: absolute;
  cursor: move;
  transition: z-index 0.1s ease;
  z-index: 10;
  opacity: 0;
}
.popurri-item.positioned {
  opacity: 1;
}

.popurri-item.dragging {
  transition: none;
  cursor: grabbing;
}

.popurri-item.is-top {
  z-index: 50;
}

/* Imagen y video en el item */
.popurri-item img.popurri-thumbnail,
.popurri-item video.popurri-video {
  max-width: 350px;
  max-height: 350px;
  width: auto;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Video se posiciona sobre la imagen */
.popurri-item video.popurri-video {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}
.popurri-item video.popurri-video.loaded {
  opacity: 1 !important;
}

/* BACKDROP SEPARADO - NUEVO */
.popurri-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: #e89665;
  background: #ff8862;
  mix-blend-mode: luminosity;
  cursor: pointer;
}
@supports not (height: 100dvh) {
  .popurri-backdrop {
    height: 100dvh;
  }
}

.popurri-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Lightbox - MODIFICADO (quité background y mix-blend-mode) */
.popurri-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@supports not (height: 100dvh) {
  .popurri-lightbox {
    height: 100dvh;
  }
}

.popurri-lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* MANTUVE TODO LO DEMÁS IGUAL */
.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.lightbox-content {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  /* Removí transform y positioning de centro */
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  /* Forzar límites absolutos */
  max-width: calc(100vw - 60px) !important;
  max-height: calc(100dvh - 60px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}

/* Link que cubre la imagen en lightbox */
#lightboxLink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lightbox-close {
  position: fixed;
  top: 2px;
  right: 3px;
  width: 40px;
  height: 40px;
  border: none;
  font-weight: 200;
  font-size: 69px;
  background: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  color: #333;
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .popurri-title {
    font-size: 2.5rem;
  }
  .popurri-item img.popurri-thumbnail,
.popurri-item video.popurri-video {
    max-width: 150px;
    max-height: 150px;
  }
  .lightbox-close {
    top: -30px;
    right: -30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
body.post-type-archive-popurri .title {
  position: fixed;
  top: 0px;
  left: 0px;
}

/* Video en lightbox */
.lightbox-content video {
  max-width: calc(100vw - 60px) !important;
  max-height: calc(100dvh - 60px) !important;
  width: auto !important;
  height: auto !important;
  display: block;
}

#lightboxVideo {
  background: #000;
}

body.post-type-archive-popurri {
  overflow: hidden;
}

/* Slider de flyers */
.flyers-gallery-slider {
  width: 100vw;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.flyers-swiper {
  width: 100%;
  height: 100%;
}

.flyers-swiper .swiper-slide {
  width: auto !important;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Slides de título vertical */
.flyers-swiper .swiper-slide.flyers-title {
  width: 80px !important; /* Ancho fijo */
  min-width: 80px !important; /* Forzar mínimo */
  max-width: 80px !important; /* Forzar máximo */
  flex-shrink: 0 !important; /* No reducir */
  position: relative;
  display: flex !important;
  align-items: end;
  justify-content: center;
  padding-bottom: 70px;
}

.flyers-title .title-text {
  writing-mode: vertical-rl; /* Texto vertical de derecha a izquierda */
  text-orientation: mixed;
  transform: rotate(180deg); /* Rotar para que se lea de abajo hacia arriba */
  font-size: 1.2rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.8);
  text-align: center;
  word-break: break-word;
  hyphens: auto;
}

/* Slides de imágenes */
.flyers-image {
  width: auto !important;
  min-width: auto !important;
  flex-shrink: 0 !important; /* No reducir */
  justify-content: flex-start !important;
}

.flyers-image img {
  height: 100dvh;
  width: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* Controles - reutilizar del slider de proyectos */
.flyers-gallery-slider .gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
  z-index: 10;
}

.flyers-gallery-slider .gallery-arrow {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  pointer-events: all;
}

.flyers-gallery-slider .gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.flyers-gallery-slider .gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* SCROLLBAR para flyers */
.flyers-swiper .swiper-scrollbar {
  position: absolute;
  bottom: 2rem !important;
  left: 2rem !important;
  right: 2rem !important;
  width: auto !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 2px !important;
}

.flyers-swiper .swiper-scrollbar-drag {
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 2px !important;
  cursor: grab !important;
}

.flyers-swiper .swiper-scrollbar-drag:active {
  cursor: grabbing !important;
}

/* Lista de amigxs */
.amigxs-list {
  position: relative;
  width: 100%;
}
.amigxs-list .amigx-item {
  display: block;
  border-bottom: 1px solid #fff;
}
.amigxs-list .amigx-item .amigx-link {
  display: flex;
  text-decoration: none;
  border-bottom: none;
  padding: 15px 30px 17px;
  font-size: 2.1rem;
  font-weight: 200;
  color: inherit;
  cursor: pointer;
  line-height: 100%;
  letter-spacing: 0.2px;
}
.amigxs-list .amigx-item .amigx-link:hover {
  color: inherit;
  font-weight: 300;
  letter-spacing: -0.35px;
}

/* Transición suave del body para el cambio de color */
body.post-type-archive-amigx {
  background-color: black;
  color: white;
}

body.single-proyecto {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100dvh;
}
body.single-proyecto .wp-site-header,
body.single-proyecto .wp-site-footer {
  display: none !important;
}

.proyecto-video-container {
  width: 100vw;
  height: 100dvh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.main-inner .proyecto-video-container ~ * {
  display: none;
}

.proyecto-video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.proyecto-video.auto-rotated {
  transform: rotate(90deg);
  transform-origin: center center;
}
@media (max-width: 768px) {
  .proyecto-video.auto-rotated {
    width: 100dvh;
    height: 95vw;
    max-width: 100dvh;
    max-height: 100vw;
    object-fit: contain;
  }
}
.proyecto-video[data-link] {
  cursor: pointer;
}
.proyecto-video[data-link]:hover {
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.3s ease;
}
.proyecto-video[data-link].auto-rotated:hover {
  transform: rotate(90deg) scale(0.98);
}

.proyecto-slideshow-container .proyecto-slideshow-image {
  width: 100vw;
  height: 100dvh;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: none;
}
.proyecto-slideshow-container .proyecto-slideshow-image.active {
  opacity: 1;
}

.proyecto-random-container {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.proyecto-random-item {
  position: absolute;
  cursor: grab;
  transition: none;
}
.proyecto-random-item.positioned {
  transition: none;
}
.proyecto-random-item.dragging {
  cursor: grabbing;
  transition: none;
}
.proyecto-random-item img {
  display: block;
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.proyecto-random-item img {
  max-width: 400px;
  max-height: 300px;
}
.proyecto-random-item video.proyecto-random-video {
  max-width: 400px;
  max-height: 300px;
  width: auto;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}
.proyecto-random-item video.proyecto-random-video.loaded {
  opacity: 1 !important;
}

.proyecto-random-backdrop {
  display: none;
}
.proyecto-random-backdrop.active {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(15px);
  z-index: 9998;
}
.proyecto-random-backdrop.efecto-loco.active {
  background: #ff8862;
  mix-blend-mode: luminosity;
  backdrop-filter: blur(0px);
}

.proyecto-random-lightbox {
  display: none;
}
.proyecto-random-lightbox.active {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.proyecto-random-lightbox .lightbox-content {
  position: static;
  max-width: 90vw;
  max-height: 90vh;
  top: 0;
}
.proyecto-random-lightbox .lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
}
.proyecto-random-lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10000;
}
.proyecto-random-lightbox .lightbox-close:hover {
  background: #f0f0f0;
}
.proyecto-random-lightbox .lightbox-content video {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.proyecto-gallery {
  width: 100vw;
  height: 100dvh;
}
.proyecto-gallery .splide__track {
  height: 100dvh;
  cursor: grab;
}
.proyecto-gallery .splide__track:active {
  cursor: grabbing;
}
.proyecto-gallery .splide__list {
  height: 100dvh;
  align-items: center;
}
.proyecto-gallery .splide__slide {
  height: 100dvh;
  width: auto !important;
  display: flex;
  align-items: center;
}
.proyecto-gallery .splide__slide img {
  height: 100dvh;
  width: auto;
  object-fit: contain;
  display: block;
}

html:has(.proyecto-template-default.single) {
  margin-top: 0;
}

*:focus,
*:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Para algunos navegadores (como Chrome) que pueden agregar un outline en algunos estados */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  min-height: 100dvh;
}
@supports not (height: 100dvh) {
  html {
    min-height: 100dvh;
  }
}

body {
  height: 100%;
}

footer {
  z-index: 9999;
}

*, *::before, *::after {
  font-family: "DM Sans", Arial, sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  width: 100%;
}

.wp-site-blocks {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 100dvh !important;
}
@supports not (height: 100dvh) {
  .wp-site-blocks {
    min-height: 100dvh !important;
  }
}
.wp-site-blocks main {
  flex-grow: 1;
  position: relative;
}

:where(.wp-site-blocks) > * {
  margin-top: 0;
}

h1 {
  margin-top: 0px;
}

main > .container:first-child,
body.single-has-children .main-inner {
  padding-top: 47px !important;
}

main > .container:last-child,
body.single-has-children .main-inner {
  padding-bottom: 42px;
}

body.single-proyecto.single-has-children .main-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100dvh;
  height: auto;
}
@supports not (height: 100dvh) {
  body.single-proyecto.single-has-children .main-inner {
    min-height: 100dvh;
  }
}

/* Cursor global por defecto */
* {
  cursor: url("/normal-yellow.cur"), auto !important;
}

/* Cursor en hover sobre links */
a:hover,
body.home main .container .home-elements .home-element:hover,
.proyecto-video-container[data-link]:hover,
.proyecto-random-item:hover,
.popurri-item:hover {
  cursor: url("/pointer-yellow.cur"), pointer !important;
}

body.home main .container .home-elements .home-element.home-dragging:hover,
.proyecto-random-item.dragging:hover,
.popurri-item.dragging:hover {
  cursor: url("/move-yellow.cur"), move !important;
}

.proyecto-random-item.no-mover.dragging {
  cursor: url("/no-yellow.cur"), pointer !important;
}

body.single-proyecto.single-has-children {
  overflow-y: auto;
}

@media (max-width: 767px) {
  .projects-list .project-item .project-link {
    font-size: 26px;
    padding: 10px 30px 12px;
    letter-spacing: -0.1px;
  }
  .container, .max-width, body.single-has-children .main-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  header.wp-block-template-part:has(nav.breadcrumbs) {
    opacity: 1;
  }
  header nav.breadcrumbs a {
    padding: 0 10px;
    padding-left: 0;
  }
  header nav.breadcrumbs, header nav.breadcrumbs a {
    font-size: 15px;
    padding: 0 5px;
  }
  html {
    margin-top: 32px;
  }
  main > .container:first-child,
body.single-has-children .main-inner {
    padding-top: 30px !important;
  }
}

/*# sourceMappingURL=base.css.map */
