/* ═══════════════════════════════════════════════════════════════
   GALERIE PORTRAITS — exhibitions.css
   Exhibitions / Exposiciones
   Version: 1.3.0
   Visual system aligned with artists.css archive style
═══════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --gpe-obsidian:       #0d0d0b;
  --gpe-obsidian-2:     #141412;
  --gpe-obsidian-3:     #1a1a18;
  --gpe-white:          #ffffff;
  --gpe-off:            #f9f7f4;
  --gpe-cream:          #f2ede5;
  --gpe-champagne:      #c9a96e;
  --gpe-pale:           #e8d5b0;
  --gpe-muted:          #888880;
  --gpe-border:         #e2ddd6;
  --gpe-display:        'Playfair Display', Georgia, serif;
  --gpe-sans:           'DM Sans', system-ui, sans-serif;
  --gpe-ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gpe-transition:     0.35s var(--gpe-ease);
}

/* ── RESET ──────────────────────────────────────────────────── */
.gpe-page *,
.gpe-page *::before,
.gpe-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gpe-page {
  font-family: var(--gpe-sans);
  color: var(--gpe-obsidian);
  -webkit-font-smoothing: antialiased;
  background: var(--gpe-white);
  overflow-x: hidden;
}

.gpe-page a { text-decoration: none; }
.gpe-page img { display: block; max-width: 100%; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.gpe-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

.gpe-section        { padding: 88px 0; }
.gpe-section-white  { background: var(--gpe-white); }
.gpe-section-light  { background: var(--gpe-off); }
.gpe-section-cream  { background: var(--gpe-cream); }
.gpe-section-dark   { background: var(--gpe-obsidian); }

/* ── SHARED COMPONENTS ─────────────────────────────────────── */
.gpe-label {
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gpe-champagne);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.gpe-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.gpe-label.light { color: #8a7a60; }
.gpe-label-light { color: var(--gpe-pale); }

.gpe-h2 {
  font-family: var(--gpe-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.gpe-h2 em {
  font-style: italic;
  color: var(--gpe-champagne);
}

.gpe-h2-dark  { color: var(--gpe-obsidian); }
.gpe-h2-light { color: var(--gpe-white); }

.gpe-btn {
  display: inline-block;
  font-family: var(--gpe-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 40px;
  transition: background var(--gpe-transition), color var(--gpe-transition), transform .2s, border-color .25s;
  border: 0;
  white-space: nowrap;
}

.gpe-btn-gold {
  background: var(--gpe-champagne);
  color: var(--gpe-obsidian) !important;
}

.gpe-btn-gold:hover {
  background: var(--gpe-pale);
  transform: translateY(-1px);
}

.gpe-btn-black {
  background: var(--gpe-obsidian);
  color: var(--gpe-white) !important;
}

.gpe-btn-black:hover {
  background: #2a2a28;
  transform: translateY(-1px);
}

.gpe-btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7) !important;
}

.gpe-btn-outline-white:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--gpe-white) !important;
}

.gpe-btn-sm {
  padding: 12px 24px;
  font-size: 9px;
}

.gpe-text-link {
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gpe-champagne) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}

.gpe-text-link:hover { border-color: var(--gpe-champagne); }

.gpe-img-ph {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: #1c1814;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,169,110,0.35);
  font-family: var(--gpe-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 40px 20px;
}

.gpe-empty {
  text-align: center;
  padding: 80px 40px;
  color: var(--gpe-muted);
  font-family: var(--gpe-sans);
  font-weight: 300;
  line-height: 1.8;
}

.gpe-section-dark .gpe-empty {
  background: var(--gpe-obsidian-3);
  border: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.42);
}

/* ═══════════════════════════════════════════════════════════
   ARCHIVE PAGE — HERO
═══════════════════════════════════════════════════════════ */
.gpe-hero {
  background: var(--gpe-obsidian);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: block;
}

.gpe-hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,169,110,0.055) 0%, transparent 70%);
  pointer-events: none;
}

.gpe-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.gpe-hero-h1 {
  font-family: var(--gpe-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--gpe-white);
  margin: 18px 0 24px;
  max-width: 880px;
}

.gpe-hero-h1 em {
  font-style: italic;
  color: var(--gpe-pale);
}

.gpe-hero-p {
  font-family: var(--gpe-sans);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  max-width: 600px;
  margin-bottom: 48px;
}

.gpe-hero-nav {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.gpe-hero-nav-link {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.62) !important;
  padding: 17px 24px;
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}

.gpe-hero-nav-link:hover {
  background: rgba(201,169,110,0.07);
  color: var(--gpe-white) !important;
}

/* ═══════════════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════════════ */
.gpe-ticker {
  background: var(--gpe-champagne);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.gpe-ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: gpe-tick 35s linear infinite;
}

.gpe-ticker-item {
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gpe-obsidian);
  flex-shrink: 0;
}

.gpe-ticker-dot {
  color: rgba(13,13,11,0.3);
  flex-shrink: 0;
}

@keyframes gpe-tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════════ */
.gpe-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.gpe-section-head-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 40px;
}

.gpe-section-note-dark {
  font-family: var(--gpe-sans);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════
   CURRENT EXHIBITION — FEATURED CARD
═══════════════════════════════════════════════════════════ */
.gpe-current-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--gpe-white);
  overflow: hidden;
}

.gpe-current-img-col {
  background: #1a1410;
}

.gpe-current-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1a1410;
  height: 100%;
  min-height: 560px;
}

.gpe-current-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--gpe-ease);
}

.gpe-current-img-wrap:hover .gpe-current-img {
  transform: scale(1.04);
}

.gpe-current-badge,
.gpe-single-status {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  top: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  font-family: var(--gpe-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 6px 13px;
}

.gpe-current-text {
  padding: 68px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gpe-white);
}

.gpe-exhibition-label {
  font-family: var(--gpe-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gpe-champagne);
  margin-bottom: 14px;
  line-height: normal;
}

.gpe-current-title,
.gpe-upcoming-title,
.gpe-past-title,
.gpe-external-title,
.gpe-card-title {
  font-family: var(--gpe-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

.gpe-current-title {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.02em;
  color: var(--gpe-obsidian);
  margin-bottom: 12px;
}

.gpe-current-title a,
.gpe-past-title a,
.gpe-upcoming-title a,
.gpe-card-title a {
  color: inherit !important;
  transition: color .25s;
}

.gpe-current-title a:hover,
.gpe-past-title a:hover,
.gpe-upcoming-title a:hover,
.gpe-card-title a:hover {
  color: var(--gpe-champagne) !important;
}

.gpe-current-subtitle {
  font-family: var(--gpe-display);
  font-size: 1.35rem;
  font-style: italic;
  color: #8a7a60;
  line-height: 1.35;
  margin: 6px 0 24px;
}

.gpe-current-text-body {
  font-family: var(--gpe-sans);
  font-size: 0.94rem;
  font-weight: 300;
  color: #4a4844;
  line-height: 1.85;
  max-width: 620px;
  margin: 0 0 28px;
}

.gpe-current-meta {
  margin-top: 8px;
  border-top: 1px solid var(--gpe-border);
}

.gpe-meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--gpe-border);
}

.gpe-meta-k {
  font-family: var(--gpe-sans);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gpe-muted);
}

.gpe-meta-v {
  font-family: var(--gpe-sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: #4a4844;
  line-height: 1.65;
}

.gpe-current-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════
   ARCHIVE / GRID CARDS
═══════════════════════════════════════════════════════════ */
.gpe-exhibition-grid,
.gpe-past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gpe-exhibition-card,
.gpe-past-card {
  background: var(--gpe-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gpe-section-dark .gpe-exhibition-card,
.gpe-section-dark .gpe-past-card {
  background: var(--gpe-obsidian-3);
  border: 0;
}

.gpe-card-img-wrap,
.gpe-past-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1a1410;
  aspect-ratio: 3 / 4;
  height: auto;
}

.gpe-card-img,
.gpe-past-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--gpe-ease);
}

.gpe-exhibition-card:hover .gpe-card-img,
.gpe-past-card:hover .gpe-past-img {
  transform: scale(1.04);
}

.gpe-card-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  top: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  font-family: var(--gpe-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 6px 13px;
}

.gpe-past-overlay,
.gpe-work-hover {
  position: absolute;
  inset: 0;
  background: rgba(13,13,11,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}

.gpe-past-img-wrap:hover .gpe-past-overlay,
.gpe-work-card:hover .gpe-work-hover {
  opacity: 1;
}

.gpe-past-overlay span,
.gpe-work-hover span {
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gpe-white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 24px;
}

.gpe-card-text,
.gpe-past-info {
  padding: 28px 24px 32px;
  background: var(--gpe-white);
  border-top: 2px solid var(--gpe-border);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gpe-section-dark .gpe-card-text,
.gpe-section-dark .gpe-past-info {
  background: var(--gpe-obsidian-3);
  border-top-color: rgba(255,255,255,0.06);
}

.gpe-past-artist,
.gpe-work-edition,
.gpe-work-artist {
  font-family: var(--gpe-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gpe-champagne);
  margin-bottom: 12px;
  line-height: normal;
}

.gpe-card-title,
.gpe-past-title {
  font-family: var(--gpe-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gpe-obsidian);
  margin-bottom: 12px;
  line-height: 1.15;
}

.gpe-section-dark .gpe-card-title,
.gpe-section-dark .gpe-past-title {
  color: var(--gpe-white);
}

.gpe-past-meta {
  font-family: var(--gpe-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: #4a4844;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.gpe-section-dark .gpe-past-meta,
.gpe-section-dark .gpe-meta-v {
  color: rgba(255,255,255,0.45);
}

.gpe-section-dark .gpe-meta-row {
  border-color: rgba(255,255,255,0.06);
}

.gpe-past-works-link {
  font-family: var(--gpe-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gpe-champagne) !important;
  margin-top: 18px;
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
   UPCOMING / EXTERNAL LISTS
═══════════════════════════════════════════════════════════ */
.gpe-upcoming-list,
.gpe-external-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.gpe-upcoming-item,
.gpe-external-item {
  background: rgba(255,255,255,0.02);
  border-left: 2px solid transparent;
  padding: 24px 28px;
  display: grid;
  gap: 24px;
  align-items: center;
  transition: border-color .25s, background .25s;
}

.gpe-upcoming-item {
  grid-template-columns: 170px 1fr auto;
}

.gpe-external-item {
  grid-template-columns: 3fr 4fr auto;
}

.gpe-upcoming-item:hover,
.gpe-external-item:hover {
  border-left-color: var(--gpe-champagne);
  background: rgba(201,169,110,0.04);
}

.gpe-upcoming-thumb {
  position: relative;
  overflow: hidden;
  background: #1a1410;
  aspect-ratio: 4 / 3;
  height: auto;
}

.gpe-upcoming-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gpe-upcoming-title,
.gpe-external-title {
  font-family: var(--gpe-display);
  font-size: 1.55rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gpe-white);
  line-height: 1.2;
}

.gpe-upcoming-subtitle {
  font-family: var(--gpe-display);
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  line-height: 1.4;
}

.gpe-upcoming-details,
.gpe-external-mid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.42);
  font-family: var(--gpe-sans);
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 14px;
}

.gpe-upcoming-vernissage {
  color: var(--gpe-pale);
}

.gpe-external-type,
.gpe-external-artist {
  display: block;
  color: var(--gpe-champagne);
  font-family: var(--gpe-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.gpe-external-note {
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════════════════════════
   SINGLE EXHIBITION
═══════════════════════════════════════════════════════════ */
.gpe-single-hero {
  background: var(--gpe-obsidian);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

.gpe-single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,169,110,0.055) 0%, transparent 70%);
  pointer-events: none;
}

.gpe-single-hero-img {
  position: relative;
  overflow: hidden;
  background: #1a1410;
}

.gpe-single-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--gpe-ease);
}

.gpe-single-hero-img:hover img {
  transform: scale(1.03);
}

.gpe-single-hero-text {
  padding: 72px 64px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.gpe-back-link {
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4) !important;
  transition: color .25s;
  margin-bottom: 32px;
}

.gpe-back-link:hover {
  color: var(--gpe-champagne) !important;
}

.gpe-single-h1 {
  font-family: var(--gpe-display);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--gpe-white);
  margin: 14px 0 24px;
}

.gpe-single-h1 em {
  font-style: italic;
  color: var(--gpe-pale);
}

.gpe-single-subtitle {
  font-family: var(--gpe-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gpe-pale);
  line-height: 1.45;
  margin-bottom: 32px;
  max-width: 460px;
}

.gpe-single-quick-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.gpe-single-quick-meta span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-family: var(--gpe-sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.gpe-single-quick-meta span:last-child {
  border-bottom: 0;
}

.gpe-single-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gpe-single-overview {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 80px;
  align-items: start;
}

.gpe-single-body,
.gpe-single-body p {
  font-family: var(--gpe-sans);
  font-size: 1rem;
  font-weight: 300;
  color: #4a4844;
  line-height: 1.95;
}

.gpe-single-body p {
  margin-bottom: 24px;
}

.gpe-single-body p:last-child {
  margin-bottom: 0;
}

.gpe-single-details {
  position: sticky;
  top: 100px;
}

.gpe-details-box {
  background: var(--gpe-white);
  padding: 38px 32px;
  border: 1px solid var(--gpe-border);
}

.gpe-details-title {
  font-family: var(--gpe-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gpe-champagne);
  margin-bottom: 22px;
}

.gpe-detail-row {
  border-top: 1px solid var(--gpe-border);
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gpe-detail-row span {
  font-family: var(--gpe-sans);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gpe-muted);
}

.gpe-detail-row strong {
  font-family: var(--gpe-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--gpe-obsidian);
}

/* ═══════════════════════════════════════════════════════════
   GALLERY + WORKS
═══════════════════════════════════════════════════════════ */
.gpe-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gpe-gallery-item {
  overflow: hidden;
  background: #1a1410;
  aspect-ratio: 3 / 4;
}

.gpe-gallery-item-large {
  grid-column: span 2;
  aspect-ratio: 6 / 4;
}

.gpe-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--gpe-ease);
}

.gpe-gallery-item:hover img {
  transform: scale(1.04);
}

.gpe-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gpe-work-card {
  background: var(--gpe-obsidian-3);
  overflow: hidden;
  transition: transform var(--gpe-transition);
}

.gpe-work-card:hover {
  transform: translateY(-3px);
}

.gpe-work-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1a1410;
  aspect-ratio: 3 / 4;
}

.gpe-work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--gpe-ease);
}

.gpe-work-card:hover .gpe-work-img {
  transform: scale(1.06);
}

.gpe-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--gpe-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.gpe-badge-ed,
.gpe-badge-orig,
.gpe-badge-low {
  background: var(--gpe-champagne);
  color: var(--gpe-obsidian);
}

.gpe-badge-sold {
  background: rgba(13,13,11,0.7);
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

.gpe-work-info {
  padding: 18px 16px 16px;
  background: var(--gpe-obsidian-3);
}

.gpe-work-title {
  font-family: var(--gpe-display);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gpe-white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.gpe-work-title a {
  color: inherit !important;
}

.gpe-work-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.gpe-work-price,
.gpe-work-price .woocommerce-Price-amount {
  font-family: var(--gpe-display) !important;
  font-size: 1.05rem !important;
  color: var(--gpe-white) !important;
}

.gpe-work-cta {
  font-family: var(--gpe-sans);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gpe-champagne) !important;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .25s;
}

.gpe-work-cta:hover {
  border-color: var(--gpe-champagne);
}

.gpe-sold {
  opacity: .5;
}

.gpe-sold .gpe-work-img {
  filter: grayscale(60%);
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════ */
.gpe-cta-band {
  background: var(--gpe-obsidian);
  padding: 88px 0;
}

.gpe-cta-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.gpe-cta-h2 {
  font-family: var(--gpe-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gpe-white);
  margin-bottom: 18px;
}

.gpe-cta-h2 em {
  font-style: italic;
  color: var(--gpe-pale);
}

.gpe-cta-p {
  font-family: var(--gpe-sans);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
}

.gpe-cta-band-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .gpe-exhibition-grid,
  .gpe-past-grid,
  .gpe-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gpe-current-card {
    grid-template-columns: 1fr;
  }

  .gpe-current-img-wrap {
    min-height: 64vw;
  }

  .gpe-single-hero,
  .gpe-single-overview,
  .gpe-cta-band-inner {
    grid-template-columns: 1fr;
  }

  .gpe-single-details {
    position: static;
  }

  .gpe-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gpe-gallery-item-large {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .gpe-inner {
    padding: 0 24px;
  }

  .gpe-section {
    padding: 56px 0;
  }

  .gpe-hero {
    padding: 56px 0;
  }

  .gpe-section-head,
  .gpe-section-head-split {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 40px;
  }

  .gpe-current-text {
    padding: 48px 24px;
  }

  .gpe-single-hero {
    min-height: auto;
  }

  .gpe-single-hero-img {
    height: 70vw;
  }

  .gpe-single-hero-text {
    padding: 48px 24px;
  }

  .gpe-upcoming-item,
  .gpe-external-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gpe-hero-nav {
    flex-wrap: wrap;
    gap: 1px;
  }
}

@media (max-width: 640px) {
  .gpe-hero-h1,
  .gpe-single-h1 {
    font-size: 2.4rem;
  }

  .gpe-h2 {
    font-size: 2rem;
  }

  .gpe-exhibition-grid,
  .gpe-past-grid,
  .gpe-works-grid {
    grid-template-columns: 1fr;
  }

  .gpe-current-img-wrap {
    min-height: 84vw;
  }

  .gpe-hero-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gpe-hero-nav-link {
    text-align: center;
  }

  .gpe-current-actions,
  .gpe-single-actions,
  .gpe-cta-band-btns {
    flex-direction: column;
  }

  .gpe-btn {
    width: 100%;
    text-align: center;
  }

  .gpe-meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gpe-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gpe-gallery-item,
  .gpe-gallery-item-large {
    grid-column: auto;
    aspect-ratio: 3 / 4;
  }

  .gpe-work-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Current exhibition image: fill full card height */
.gpe-current-img-wrap {
  height: 100% !important;
  min-height: 620px;
}

.gpe-current-img-wrap img,
.gpe-current-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.gpe-current-card {
  align-items: stretch !important;
}

.gpe-current-img-col {
  height: 100% !important;
}
/* ═══════════════════════════════════════
   SINGLE EXHIBITION — REFINED LAYOUT
═══════════════════════════════════════ */

/* HERO TITLE */
.gpe-single-h1{
    font-family:var(--gpe-display);
    font-size:clamp(3.2rem,5.8vw,6.6rem);
    line-height:.92;
    letter-spacing:-0.045em;
    font-weight:400;
    margin:0;
    color:#fff;
    max-width:760px;
}

.gpe-single-h1 em{
    font-style:italic;
    color:var(--gpe-champagne);
    font-weight:400;
}

/* HERO SUBTITLE */
.gpe-single-subtitle{
    font-family:var(--gpe-sans);
    font-size:.95rem;
    line-height:1.9;
    color:rgba(255,255,255,.56);
    font-style:normal;
    margin-top:30px;
    max-width:620px;
}

/* HERO META */
.gpe-single-quick-meta{
    margin-top:34px;
    border-top:1px solid rgba(255,255,255,.08);
}

.gpe-single-quick-meta > div{
    padding:18px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.72);
    font-size:.95rem;
    line-height:1.7;
}

/* BUTTON */
.gpe-single-actions{
    margin-top:42px;
}

.gpe-single-actions .gpe-btn{
    min-width:310px;
}

/* ═══════════════════════════════════════
   OVERVIEW SECTION
═══════════════════════════════════════ */

.gpe-single-overview{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:90px;
    align-items:start;
}

/* TEXT COLUMN */
.gpe-single-body{
    font-size:1.12rem;
    line-height:2;
    color:#4a4844;
    font-weight:300;
}

.gpe-single-body p{
    margin:0 0 30px;
}

/* DETAILS COLUMN */
.gpe-single-details{
    position:sticky;
    top:120px;
}

.gpe-details-box{
    background:#fff;
    border:1px solid #e7e1d8;
    padding:42px 38px;
}

.gpe-details-title{
    font-size:10px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:var(--gpe-champagne);
    margin-bottom:28px;
    font-weight:500;
}

.gpe-detail-row{
    padding:18px 0;
    border-top:1px solid #ece6dd;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.gpe-detail-row span{
    font-size:9px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#9b9388;
}

.gpe-detail-row strong{
    font-weight:400;
    line-height:1.7;
    color:#222;
}

/* ═══════════════════════════════════════
   MOBILE
═══════════════════════════════════════ */

@media(max-width:1100px){

    .gpe-single-overview{
        grid-template-columns:1fr;
        gap:60px;
    }

    .gpe-single-details{
        position:static;
    }
}

@media(max-width:760px){

    .gpe-single-h1{
        font-size:clamp(3rem,16vw,4.8rem);
        line-height:.95;
    }

    .gpe-single-overview{
        gap:46px;
    }

    .gpe-single-body{
        font-size:1rem;
        line-height:1.9;
    }

    .gpe-details-box{
        padding:30px 24px;
    }

    .gpe-single-actions .gpe-btn{
        width:100%;
        min-width:0;
    }
}
.gpe-single-h1 .gp-title-accent {
    color: #c8a46b;
    font-style: italic;
    font-weight: 400;
}
.gpe-current-title {
    font-size: clamp(3.2rem, 5.2vw, 6.8rem);
    line-height: .9;
    letter-spacing: -0.04em;
}

.gpe-current-title .gp-title-accent,
.gpe-card-title .gp-title-accent {
    color: #c8a46b !important;
    font-style: italic !important;
    font-weight: 400 !important;
}
.elementor img {
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 100;
    max-width: 100%;
}
/* CARD */
/* COLUMN */
.gpe-card-img-col{
    line-height:0;
}

/* WRAP */
.gpe-card-img-wrap{
    position:relative;
    display:block;
    overflow:hidden;
    background:transparent !important;

    height:auto !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
}

/* IMAGEN */
.gpe-card-img{
    width:100%;
    height:auto !important;
    display:block;
    object-fit:contain !important;
}

/* QUITAR BLOQUE NEGRO */
.gpe-exhibition-card{
    background:transparent !important;
}

/* ELIMINAR ALTURAS FIJAS */
.gpe-card-img-col,
.gpe-card-img-wrap,
.gpe-card-img{
    min-height:auto !important;
    height:auto !important;
}
/* CARD */
.gpe-exhibition-card{
    background:transparent !important;
    height:auto !important;
}

/* REMOVE EMPTY SPACE */
.gpe-card-text{
    margin-top:0 !important;
}