/** Shopify CDN: Minification failed

Line 309:0 Unexpected "{"
Line 309:1 Expected identifier but found "%"
Line 381:0 Unexpected "{"
Line 381:1 Expected identifier but found "%"

**/
.tyr-header__inner.page-width { 
  width: 100%;
}

/* Contenedor y grid responsive */
.proj-wrap { 
  width: 100%; 
  margin: 2rem; 
  max-width: 1280px; 
}
.proj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: clamp(16px, 2vw + 12px, 48px) 0;
  margin: 0;
  box-sizing: border-box;
}
@media (min-width: 768px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }

/* Filtros (estilo pill suave) */
/* Filtros tipo pill / dropdown */

.proj-filters {
  
  margin: 0 auto;
  padding: clamp(16px, 2vw + 12px, 48px) 0;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw + 12px, 48px);
  box-sizing: border-box;
}

.proj-filter {
  flex: 1 1 0;
  position: relative;
  min-width: 0;
}
.rich-text.content-container.rich-text--full-width.content-container--full-width.tyr-projects-heading-padding {
    padding: clamp(16px, 2vw + 12px, 48px) 0 0 0;
}

/* Caja gris (clickable entera) */
.proj-filter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: calc(clamp(46px, 3vw + 30px, 56px) / 2);
  border: 1px solid #e6e6e6;
  background: #f5f5f5;
  padding: clamp(5px, 1vw + 4px, 10px) clamp(8px, 1vw + 6px, 16px);
  cursor: pointer;
}


/* Bloque izquierda: label + chips */
.proj-filter-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Texto del metaobject type: SECTOR / CATEGORÍA / PAÍS */
.proj-filter-label {
  font-family: "PP Museum", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.25;
  text-transform: uppercase;
  padding-left: 10px;
  white-space: nowrap;
}

/* Contenedor de chips seleccionados */
.proj-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Placeholder cuando no hay filtros */
.proj-filter-placeholder {
  font-family: "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.6;
}

/* Botón + (visual, pero también abre dropdown) */
.proj-filter-add {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
}

.proj-filter-add img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Chip de filtro activo (SELECCIONADO) */
.proj-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  font-family: "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}

.proj-filter-chip img {
  width: 16px;
  height: 16px;
}

/* Dropdown: ocupa el mismo ancho que la caja */
.proj-filter-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e6e6e6;
  padding: clamp(10px, 1vw + 6px, 20px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  z-index: 20;
  display: none;
  overflow-y: auto;
}
/* Cuando un filtro está ABIERTO → fondo blanco */
.proj-filter.is-open-filter .proj-filter-box {
  background: #ffffff;
}



/* Dropdown activo */
.proj-filter-dropdown.is-open {
  display: block;
}
.proj-filter-dropdown::-webkit-scrollbar {
  width: 6px;
}

.proj-filter-dropdown::-webkit-scrollbar-thumb {
  background: #d6d6d6;
  border-radius: 10px;
}

.proj-filter-dropdown::-webkit-scrollbar-thumb:hover {
  background: #c2c2c2;
}


/* Lista interna del dropdown */
.proj-filter-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Opción (metaobject entry: España, México…) */
.proj-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 18px;
  transition: background-color 0.15s ease;
}

/* Estado seleccionado y hover dentro del dropdown */
.proj-filter-option--selected,
.proj-filter-option:hover {
  background: #f5f5f5;
}


.proj-filters label{ display:flex; flex-direction:column; gap:.4rem; font-size:12px; color:#6b7280; }
.proj-filters select{
  appearance:none;
  padding:10px 16px;
  border-radius:999px;
  border:0;
  background:#F5F5F5;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.proj-filters select:focus{ outline:none; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }

/* 3 filas en móvil para los filter types */
@media (max-width: 767px) {
  .proj-filters {
    flex-direction: column;   /* apila en vertical */
    gap: 12px;                /* si quieres, más compacto en móvil */
  }

  .proj-filter {
    flex: 0 0 auto;
    width: 100%;              /* cada filtro ocupa todo el ancho */
  }
}


/* Card */
.proj-card {
  display:flex; flex-direction:column; background:#F5F5F5; overflow:hidden;
}

/* Media */
.proj-media{
  position:relative; width:100%; aspect-ratio: 580/300; overflow:hidden;
  isolation:isolate;
}
.proj-media::after{
  content:""; position:absolute; inset:0;
  background: rgba(0,0,0,.4); z-index:1; pointer-events:none; transition:background .3s ease;
}
.proj-img{
  width:100%; height:100%; object-fit:cover; object-position:center; display:block;
  transform: translateZ(0); transition: transform .4s ease; position:relative; z-index:0;
}

/* Chips */
.proj-chips{
  position:absolute; top:clamp(8px, 1vw + 4px, 24px); right:clamp(8px, 1vw + 4px, 24px);
  display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; z-index:2;
}
.chip{
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
    background: #dfdfdf;
    font-size: clamp(10px, 1.2vw + 6px, 18px);
    font-weight: 300;
    letter-spacing: 0px;
    color: #000000;
}
.chip--more{ font-weight:400; }

/* Info */
.proj-info{
  position:absolute; 
  left:clamp(8px, 1vw + 4px, 24px);
  bottom:clamp(8px, 1vw + 4px, 24px);
  display:flex; 
  flex-direction:column; 
  gap: clamp(4px, 0.5vw + 3px, 8px);
  z-index:2;
}
.proj-title{ margin:0; color:white; font-size: clamp(16px, 2.5vw + 4px, 23px); font-weight:400; letter-spacing:0; }
.proj-loc{ margin:0; color:white; font-size: clamp(12px, 0.6vw + 11px, 16px); font-weight:300; letter-spacing:1px; text-transform:uppercase; }

/* Enlace clicable completo */
.proj-link{ display:block; text-decoration:none; color:inherit; }

/* Hover: tu overlay pasa a transparente + zoom suave */
.proj-link:hover .proj-media::after{ background: rgba(0,0,0,0); }
.proj-link:hover .proj-img{ transform: scale(1.05); }

/* Meta inferior (si la usas) */
.proj-meta{ display:flex; gap:.5rem; padding:.75rem; }
.proj-pill{
  font-size:12px; font-weight:400; color:#111;
  background:#fff; border:1px solid #eaeaea; border-radius:999px; padding:.35rem .6rem;
}

/* Vacío */
.proj-empty{ color:#888; text-align:center; padding:2rem 0; }

h2.tyr-project-block-title {
    padding: clamp(16px, 2vw + 12px, 48px);
    padding-bottom: 0;
    margin: 0;
    color: #1575BB;
}
.tyr-header__inner.page-width {
  padding: clamp(16px, 2vw + 12px, 48px);
    padding-bottom: 0;
    margin: 0;
}
{% style %}
  .proj-card--hidden {
    display: none;
  }

  .proj-filters-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
  }

  .proj-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    cursor: pointer;
  }

  .proj-filters-toggle-icon img {
    display: block;
  }

  .proj-filters-toggle-label {
    font-size: 16px;
  }

  .proj-filters {
    margin-bottom: 1.5rem;
    display: none;
  }
  .proj-filters.is-visible {
    display: block;
  }

  .proj-filters.is-hidden {
    display: none;
  }
  /* Contenedor combinado: título + botón */
.proj-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Estilo del botón (igual que antes) */
.proj-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #f8f8f8;
  cursor: pointer;
}

.proj-filters-toggle-icon img {
  display: block;
}

span.proj-filters-toggle-label {
    font-family: 'Satoshi';
}

.rich-text__blocks.left {
    max-width: none;
}
{% endstyle %}
