

html {
	--mobile-scale: 1.3;
	--mobile-padding-offset: 0.75;
	--jgp-border-width: 1px;
}

body {
	--swatch-1: rgba(0, 0, 0, 0.85);
	--swatch-2: rgba(0, 0, 0, 0.75);
	--swatch-3: rgba(0, 0, 0, 0.6);
	--swatch-4: rgba(0, 0, 0, 0.4);
	--swatch-5: rgba(0, 0, 0, 0.25);
	--swatch-6: rgba(0, 0, 0, 0.15);
}

body.mobile {
}

a:active,
.linked:active,
.zoomable::part(media):active {
	opacity: 0.7;
}

.page a.active {
}

sub {
	position: relative;
	vertical-align: baseline;
	top: 0.3em;
}

sup {
	position: relative;
	vertical-align: baseline;
	top: -0.4em;
}

.small-caps {
	font-variant: small-caps;
	text-transform: lowercase;
}

ol {
	margin: 0;
	padding: 0 0 0 2.5em;
}

ul {
	margin: 0;
	padding: 0 0 0 2.0em;
}

ul.lineated {
	margin: 0;
	padding: 0;
	list-style-type: none;
	margin: 0 0 0 3em;
	text-indent: -3em;
}

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

hr {
	background: rgba(0, 0, 0, 0.75);
	border: 0;
	height: 1px;
	display: block;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.content {
	border-color: rgba(0,0,0,.85);
}

/* ── Tipografía global del sitio ──────────────────────────────
   Cuerpo: EB Garamond. Títulos/labels: Neue Haas Grotesk.
   Interlineado y proporciones tomados de referencia editorial
   (línea base 1.15 — bastante más ajustado que el default de Cargo). */
:root {
  --font-body: "EB Garamond", Georgia, serif;
  --font-heading: "Neue Haas Grotesk Text", "Neue Haas Grotesk Display", "Neue Haas Grotesk", Helvetica, Arial, sans-serif;
}

bodycopy {
	font-size: 14px;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: var(--font-body);
	font-style: normal;
	line-height: 1.07;
	letter-spacing: 0em;
	display: block;
}

bodycopy a {
	color: rgba(0, 0, 0, 0.85);
	text-decoration: none;
}

bodycopy a:hover {
}

h1 {
	font-family: var(--font-heading);
	font-style: normal;
	font-weight: 700;
	margin: 0;
	font-size: 2.667rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.85);
	letter-spacing: -0.01em;
}

.mobile h1 {
}

h1 a {
	color: rgba(0, 0, 0, 0.85);
	text-decoration: none;
}

h1 a:hover {
}

h2 {
	font-family: var(--font-heading);
	font-style: normal;
	font-weight: 700;
	margin: 0;
	color: rgba(0, 0, 0, 0.85);
	font-size: 2rem;
	line-height: 1;
	letter-spacing: 0em;
}

.mobile h2 {
}

h2 a {
	color: rgba(0, 0, 0, 0.85);
	text-decoration: none;
}

h2 a:hover {
}

.caption {
	font-size: 0.733rem;
	font-weight: 700;
	color: rgba(0, 0, 0, 0.4);
	font-family: var(--font-heading);
	font-style: normal;
	line-height: 1.15;
	letter-spacing: 0em;
	display: block;
}

.caption a {
	color: rgba(0, 0, 0, 0.4);
	text-decoration: underline;
}

.caption a:hover {
}

gallery-grid .caption,
gallery-columnized .caption,
gallery-justify .caption {
	margin-bottom: 2em;
}

[thumbnail-index] .caption {
}

[thumbnail-index] .caption .tags {
	margin-top: 0.25em;
}

.page {
	justify-content: center;
}

.page-content {
	padding: 1.5rem;
	text-align: left;
	border-color: rgba(0, 0, 0, 0.15);
	border-style: solid;
	border-width: 0.0rem;
}

.mobile [id] .page-layout {
}

.mobile [id] .page-content {
}

.page-layout {
	align-items: flex-start;
	max-width: 100%;
}

.quick-view {
	height: 100%;
	width: 100%;
	padding: 3rem;
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
}

.quick-view-background {
	background-color: rgba(0, 0, 0, 0);
}

.quick-view .caption {
	color: rgba(0, 0, 0, 0);
	padding: 20px 0;
	text-align: center;
	transition: 100ms opacity ease-in-out;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.quick-view .caption-background {
	padding: 0.5rem 1rem;
	display: inline-block;
	background: rgba(0, 0, 0, 0.5);
	border-radius: .5rem;
	text-align: left;
	max-width: 50rem;
}

.mobile .quick-view {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 10px;
}

.mobile .quick-view .caption {
	padding: 10px 0;
}

.mobile .quick-view .caption-background {
	max-width: 100vw;
}

::part(slideshow-nav) {
	--button-size: 30px;
	--button-inset: 20px;
	--button-icon-color: rgba(255, 255, 255, 0.9);
	--button-icon-stroke-width: 1.5px;
	--button-icon-stroke-linecap: none;
	--button-background-color: rgba(87, 87, 87, 0.35);
	--button-background-radius: 50%;
	--button-active-opacity: 0.7;
}

gallery-slideshow::part(slideshow-nav) {
	--button-inset: 15px;
}

.quick-view::part(slideshow-nav) {
}

.wallpaper-slideshow::part(slideshow-nav) {
}

.mobile ::part(slideshow-nav) {
	--button-inset: 10px;
}

.mobile .quick-view::part(slideshow-nav) {
	--button-inset: 25px;
}

audio-player {
	--text-color: rgba(0, 0, 0, 0.85);
	--text-padding: 0 1.2em 0 1.0em;
	--background-color: rgba(255, 255, 255, 0);
	--buffer-background-color: rgba(0, 0, 0, 0.03);
	--progress-background-color: rgba(0, 0, 0, 0.075);
	--border-lines: 1px solid rgba(0, 0, 0, 0.2);
	font-size: 1.2rem;
	width: 32rem;
	height: 2.75em;
	font-family: "Diatype Variable";
	font-style: normal;
	font-weight: 400;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	line-height: normal;
	letter-spacing: 0em;
	margin-bottom: 0.5em;
	border-radius: 10em;
}

audio-player::part(button) {
	--icon-color: rgba(0, 0, 0, 0.85);
	--icon-size: 32%;
	--play-text: '';
	--pause-text: '';
	width: 3.15em;
	display: inline-flex;
	justify-content: center;
	cursor: pointer;
}

audio-player::part(play-icon) {
	padding-left: 0.6em;
}

audio-player::part(pause-icon) {
	padding-left: 0.4em;
}

audio-player::part(progress-indicator) {
	border-right: 1px solid rgba(0, 0, 0, 0);
	height: 100%;
	cursor: ew-resize;
}

audio-player::part(separator) {
	border-right: var(--border-lines);
}

body.mobile audio-player {
	max-width: 100%;
}

.mobile .content {
}

/* ── NAV — grid de 12 columnas ─────────────────────────────────
   Col 1: Exposiciones/Curatorías/Proyectos
   Col 5: About / selector de idioma
   Col 12: nombre del artista, apilado en 3 líneas, alineado
           a la derecha (cabe en la columna angosta sin desbordar
           en mobile)                                             */
:root {
  --nav-height: 70px;
}

#jgp-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  border-bottom: 0px solid #000000;
  padding: 8px 20px 0;
  box-sizing: border-box;
}

#jgp-nav .jgp-nav-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 100%;
}

#jgp-nav .jgp-nav-col1  { grid-column: 1 / 2; }
#jgp-nav .jgp-nav-col5  { grid-column: 5 / 6; }
#jgp-nav .jgp-nav-col12 { grid-column: 12 / 13; text-align: right; }

#jgp-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px !important;
  line-height: 1.07 !important;
  font-weight: 700 !important;
  color: #000000;
  text-decoration: none;
  font-style: normal;
}

#jgp-nav a:hover {
  opacity: 0.6;
}

/* Escritorio: solo el nombre va en UNA línea (en móvil sigue apilado
   en 3). Se le da más ancho (columnas 9-12) para que quepa sin
   desbordar, alineado a la derecha; los <br> se ocultan y los espacios
   que quedan en el HTML separan las palabras. */
@media (min-width: 769px) {
  #jgp-nav .jgp-nav-col12 { grid-column: 9 / 13; white-space: nowrap; }
  #jgp-nav .jgp-nav-name br { display: none; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  #jgp-nav {
    padding-left: 12px !important;
  }
}

/* Crédito de fotos: abajo a la derecha de la tira, auto-invertido
   como el título de Exposiciones para leerse sobre cualquier foto. */
.jgp-photo-credit {
  position: absolute;
  right: var(--pad, 20px);
  bottom: 8px;
  z-index: 5;
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
