/* Contenedor del título + menú */
h1, h1 + p {
  width: fit-content;
}

/* Menú debajo del título */
h1 + p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px; /* espacio vertical y horizontal */
}

/* Links */
h1 + p a {
  white-space: nowrap;
}
a {
  color: black;
  font-weight: 400;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 1;
}
a {
  color: #222;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
}

a:hover {
  color: red;
}
.page-content {
  margin-left: 260px;
  margin-top: 120px;
}
#toolset {
	display: none;
}

body {
	background-color: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	font-weight: bold;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 1em;
}

hr {
	background: rgba(127, 127, 127, 0.2);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: 1.5em;
}

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.3;	
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1.3rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.75);
	font-family: Diatype, Icons;
	font-style: normal;
	line-height: 1.3;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 0.75);
	text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: Diatype, Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 8.8rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.75);
}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.75);
}

[data-predefined-style="true"] h2 {
	font-family: Diatype, Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.75);
	font-size: 2rem;
	line-height: 1.2;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(0, 0, 0, 0.75);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 2.8rem;
	line-height: 1.3;
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.75);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */

[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	text-align: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: transparent/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 100%/*!content_center*/;
}

[data-css-preset] .content_padding {
	padding-top: 0rem /*!main_margin*/;
	padding-bottom: 0rem /*!main_margin*/;
	padding-left: 0rem /*!main_margin*/;
	padding-right: 0rem /*!main_margin*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
   	background-color: transparent/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 100%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 5rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -10rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: .8rem;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: Diatype, Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags {
    margin-top: .8rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0rem;
}

/**
 * Site Menu Button
 */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.75);
    line-height: 1;
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
	top: 3rem /*!site_menu_button*/;
	left: 3rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
    font-size: 24px;
}

#site_menu_button.custom_icon {
	width: 40px;
    height: auto;
}

#site_menu_button.active {
	display: none;
}


/**
 * Site Menu
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
    background: transparent;
	font-size: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 1rem /*!shop_button*/;
	left: 1.5rem /*!shop_button*/;
}

#shop_button.text {
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.75);
	font-family: Diatype, Icons;
    padding: 0;
    line-height: 1.3;
	font-style: normal;
}

#shop_button.custom_icon {
	width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 40px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
	font-family: Diatype, Icons;
	font-size: 1.3rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.75);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.3rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding: .7rem 2.5rem .7rem 1rem;
	font-style: normal;
	font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
}

.shop_product .button {
	font-family: Diatype, Icons;
	font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1.3;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 700;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
	opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}

[data-css-preset] .quick-view-background {
	background: rgba(255, 255, 255, 1) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
	font-family: "Monument Grotesk Mono", Icons;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.2rem;
	font-style: normal;
	font-weight: 400;
    line-height: 1.3;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    color: white;
}

/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 0px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 0px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

html, body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, li, ul, ol,
bodycopy, .page_content, .page_content * {
  font-family: inherit !important;
}

.menu nav,
.menu nav a {
  font-family: "Diatype", sans-serif !important;
}

body {
  font-family: "Diatype", sans-serif !important;
}

.menu h1 {
  font-family: "Diatype", sans-serif !important;
}

.menu nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown span {
  font-size: 0.72em;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  display: block;
  font-size: 0.72em;
  margin-top: 4px;
}

/* mostrar al pasar el ratón */
.dropdown:hover .dropdown-content {
  display: block;
}

.menu {
  margin-bottom: 30px;
}

.menu h1 {
  font-size: 1.9em;
  font-weight: 500;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.menu nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* links principales */
.menu nav a,
.dropdown span {
  font-size: 0.78em;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.menu nav a:hover,
.dropdown span:hover {
  opacity: 1;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 130%;
  left: 0;
}

.dropdown-content a {
  display: block;
  margin-top: 6px;
  font-size: 0.78em;
  opacity: 0.6;
}

.dropdown-content a:hover {
  opacity: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.menu {
  margin-bottom: 72px;
}

.menu h1 {
  font-size: 1.95em;
  font-weight: 500;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  line-height: 1;
}

.menu nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.menu nav a {
  font-size: 0.78em;
  line-height: 1;
  opacity: 0.68;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.menu {
  margin-bottom: 70px;
}

.menu h1 {
  font-size: 1.8em;
  font-weight: 500;
  margin: 0 0 10px 0;
  letter-spacing: -0.015em;
  line-height: 1;
}

.menu nav {
  white-space: nowrap;
}

.menu nav a {
  display: inline-block;
  font-size: 0.78em;
  margin-right: 10px;
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

site_menu,
.site_menu,
page_header,
.page_header,
.site_header,
.site-header,
header[role="banner"] {
  display: none !important;
}

.menu {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 9999;
}

.menu h1 {
  margin: 0 0 8px 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
}

.menu h1 a,
.menu nav a {
  text-decoration: none;
  color: inherit;
}

.menu nav a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  line-height: 1.1;
}

.menu nav a:last-child {
  margin-right: 0;
}

.page_content,
.page-content,
#content {
  padding-top: 110px !important;
}

.menu nav a {
  display: block !important;
  margin-bottom: 6px;
}

.menu {
  position: fixed !important;
  top: 30px !important;
  left: 30px !important;
  z-index: 9999 !important;
}

.menu h1 {
  font-size: 60px !important;
  line-height: 1 !important;
  margin: 0 0 12px 0 !important;
}

.menu nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.menu nav a {
  display: block !important;
  font-size: 24px !important;
  margin: 0 !important;
}

.menu h1 {
  font-size: 42px !important;
  margin: 0 0 8px 0 !important;
}

.menu nav a {
  font-size: 18px !important;
}

.menu nav {
  gap: 6px !important;
}

.menu nav {
  align-items: flex-start !important;
}

.menu nav a {
  text-align: left !important;
}

.menu h1 {
  margin: 0 0 6px 0 !important;
}

.page_content,
.page-content,
#content {
  padding-top: 120px !important;
}

.menu h1 {
  font-size: 40px !important;
}

.menu nav a {
  font-size: 17px !important;
}

.menu nav a {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

a {
  display: block;
  margin-bottom: 8px;
}

a {
  display: block;
  margin-bottom: 10px;
  opacity: 0.6;
}

a:hover {
  opacity: 1;
}

a {
  display: block;
  margin-bottom: 10px;
  opacity: 0.6;
  text-decoration: none;
}

a:hover {
  opacity: 1;
}

.menu {
  position: fixed;
  top: 40px;
  left: 40px;
}

.menu h1 {
  font-size: 36px;
  margin: 0 0 6px 0;
}

.menu nav a {
  font-size: 16px;
}

.page_content,
.page-content,
#content {
  padding-top: 120px;
  padding-left: 40px;
}

.page_content,
.page-content,
#content {
  padding-top: 100px !important;
}

img {
  display: block;
  margin-top: 20px !important;
  width: 100%;
  height: auto;
}

/* quitar márgenes globales */
body {
  margin: 0;
}

/* quitar espacio del layout de cargo */
.page_content,
.page-content,
#content {
  padding: 0 !important;
  margin: 0 !important;
}

/* imagen fullscreen */
img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

/* menú encima */
.menu {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 10;
}

/* legibilidad */
.menu h1,
.menu nav a {
  color: white; /* o white según imagen */
}

.menu {
  mix-blend-mode: difference;
}

body {
  margin: 0;
}

.page_content,
.page-content,
#content {
  padding: 0 !important;
  margin: 0 !important;
}

img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

.menu {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 10;
}

/* SOLO para Work e Infos: devolver layout normal */
body:not(.homepage) .page_content,
body:not(.homepage) .page-content,
body:not(.homepage) #content {
  padding-top: 120px !important;
  padding-left: 40px !important;
}

/* asegurar que nada ocupa altura arriba */
body:not(.homepage) img {
  position: static !important;
  width: auto !important;
  height: auto !important;
}

.thumbnails a:hover {
  opacity: 1;
}

.menu nav a {
  opacity: 0.7;
}

.menu nav a:hover {
  opacity: 1;
}

.thumbnails a {
  white-space: nowrap !important;
}

/* eliminar todos los márgenes internos */
.thumbnails * {
  margin: 0 !important;
  padding: 0 !important;
}

/* convertir cada proyecto en bloque uniforme */
.thumbnails a {
  display: block !important;
}

/* crear una única separación consistente */
.thumbnails a + a {
  margin-top: 10px !important;
}

/* aplicar el mismo ritmo a TODOS los elementos */
.thumbnails > * {
  margin: 0 !important;
}

/* crear separación uniforme real */
.thumbnails > * + * {
  margin-top: 10px !important;
}
/* reset TOTAL de todos los bloques internos */
.thumbnails * {
  margin: 0 !important;
  padding: 0 !important;
}

/* cada proyecto se comporta como bloque */
.thumbnails > * {
  display: block !important;
}

/* UNA sola regla de separación para todos */
.thumbnails > * + * {
  margin-top: 10px !important;
}

a {
  display: block;
  margin-bottom: 8px;
}

* {
  margin: 0;
  padding: 0;
}

img {
  display: block !important;
  margin: 0 auto !important;
}

figure,
.image,
.project_content {
  text-align: center !important;
  margin: 0 auto !important;
}

img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 90%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ancho reservado para la columna izquierda */
:root {
  --left-gutter: 320px;   /* súbelo o bájalo hasta que coincida con NEREA GIL */
  --content-max: 980px;
}

/* la página deja una columna vacía a la izquierda */
.page_content,
.project_content,
main {
  width: calc(100% - var(--left-gutter)) !important;
  margin-left: var(--left-gutter) !important;
  margin-right: 0 !important;
  padding-left: 24px !important;   /* aire para que no toque el margen */
  padding-right: 24px !important;
}

/* imágenes y figuras dentro de esa columna */
img,
figure,
.image {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}

/* opcional: limitar ancho del contenido para que quede más fino */
.page_content,
.project_content,
main {
  max-width: calc(var(--content-max) + var(--left-gutter)) !important;
}

/* móvil */
@media (max-width: 768px) {
  :root {
    --left-gutter: 0px;
  }

  .page_content,
  .project_content,
  main {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

:root {
  --left-gutter: 220px;
}

main,
.page_content,
.project_content {
  margin-left: var(--left-gutter) !important;
  padding-left: 12px !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

img,
figure,
.image {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  main,
  .page_content,
  .project_content {
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

.page_content {
  transform: translateY(-160px) !important;
}

/* eliminar límite de ancho en HOME */
body.homepage .container {
  max-width: none !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.homepage img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  display: block;
}

body.homepage img {
  object-fit: cover;
  object-position: center 65%;
}

/* ancho de la columna izquierda */
:root {
  --menu-width: 235px;
}

/* Home: el contenedor ya no limita */
body.homepage .container,
body.homepage .page_content,
body.homepage .page-content,
body.homepage #content {
  max-width: none !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* imagen de portada */
body.homepage .home-image,
body.homepage img.home-image {
  position: fixed !important;
  top: 0 !important;
  left: var(--menu-width) !important;
  width: calc(100vw - var(--menu-width)) !important;
  height: 100vh !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  z-index: 0 !important;
}

/* menú encima */
.menu {
  position: fixed !important;
  top: 40px !important;
  left: 32px !important;
  z-index: 10 !important;
  width: calc(var(--menu-width) - 32px) !important;
}

/* eliminar scroll y altura extra en Home */
body.homepage {
  height: 100vh !important;
  overflow: hidden !important;
}

/* asegurar que nada empuja hacia abajo */
/* body.homepage .main_container,
body.homepage .container {
  height: 100vh !important;
} */

body.homepage img.home-image {
  position: fixed !important;
  top: 0 !important;
  left: var(--menu-width) !important;
  width: calc(100vw - var(--menu-width)) !important;
  height: 100vh !important;
  object-fit: cover !important;
}

body.homepage img {
  height: 100vh !important;
  width: auto !important;
  max-width: none !important;
  object-fit: cover !important;
}

body.homepage img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  display: block;
}

body.homepage img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  display: block !important;
}

body.homepage img { min-height: 100vh !important; }

.home-image {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  display: block !important;
}

body.homepage {
  background-image: url(https://freight.cargo.site/t/original/i/3f255d5020f172844e3022455d86e3a0f2d7e23d49289a43236dfc9ee6eb38bb/_DSC0488.JPG) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body.homepage .page_content img,
body.homepage .page-content img,
body.homepage #content img {
  display: none !important;
}

body.homepage .page_content,
body.homepage .page-content,
body.homepage #content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.homepage .content_container,
body.homepage .page_container,
body.homepage .page_container.container_width {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.homepage .content_container,
body.homepage .page_container,
body.homepage .page_container.container_width {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body {
  color: #222 !important;
}

.page_content h1 {
  color: inherit !important;
  opacity: 1 !important;
}

h1, h2, h3, h4, h5, h6,
.title,
.project_title,
.page_title,
strong {
  color: #222 !important;
  opacity: 1 !important;
}
body * {
  color: #222 !important;
  opacity: 1 !important;
}

.page_content * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.page_content img {
  margin-bottom: 10px !important;
}

.page_content > div:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.thumbnails a {
  transition: opacity 0.2s ease;
}

.thumbnails a:hover {
  opacity: 1;
}

.thumbnails a {
  opacity: 0.6;
}

body.homepage .menu a {
  color: white !important;
  opacity: 0.8;
}

body.homepage h1,
body.homepage .site-title,
body.homepage .logo {
  color: rgba(255,255,255,0.9) !important;
}

.menu,
h1 {
  position: relative;
  z-index: 2;
}

h1 {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.menu a {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.menu a:hover {
  opacity: 1;
}

.page_content {
  max-width: 900px;
  line-height: 1.6;
}

.page_content img {
  width: 100%;
  height: auto;
}

.page_content p {
  margin-bottom: 20px;
}

body {
  cursor: default;
}

.page_content {
  text-align: center;
}


.lightbox img,
.viewer img {
  margin: auto !important;
  display: block !important;
}

.thumbnails {
  text-align: left !important;
  margin-left: 240px !important;
  margin-top: 140px !important;
}

img {
  margin: 40px 0;
}

.menu nav a,
.work-btn {
  font-size: 18px !important;  /* 👈 ajusta aquí */
  line-height: 1.6;
}

.dropdown {
  display: none;
}

.work-item:hover .dropdown {
  display: block;
}

.menu,
.menu a,
.menu h1 {
  color: #555 !important;
}

.dropdown a {
  color: #555 !important;
}

.menu h1 a {
  all: unset;
  cursor: pointer;
}

.menu h1 {
  font-size: 36px;
  margin: 0 0 6px 0;
}

[thumbnails] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 80% !important;
  margin: 0 auto !important;
}

[thumbnails] .thumbnail {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

[thumbnails] .thumbnails-pad {
  padding: 0 !important;
}

[thumbnails] .thumb_image,
[thumbnails] .thumb_image img,
[thumbnails] .thumbnail img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

[thumbnails] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 72% !important;
  margin: 0 auto !important;
}

[thumbnails] {
  gap: 32px !important;
}

[thumbnails] .thumbnail:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

@media (max-width: 768px) {
  [thumbnails] {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 90% !important;
  }
}

.page_content,
.content_container {
  margin-top: -100px !important;
}

.page_content,
.content_container {
  padding-top: 20px !important;
}

[thumbnails] {
  margin-top: -60px !important;
}

@media (max-width: 768px) {
  [thumbnails] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    width: 90% !important;
    margin: 0 auto !important;
  }

  [thumbnails] .thumbnail {
    float: none !important;
    width: 100% !important;
  }

  [thumbnails] .thumbnails-pad {
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  [thumbnails] {
    grid-template-columns: 1fr !important;
    width: 92% !important;
  }
}

