.exhibition-page {
  --exhibit-ink: #e7edf7;
  --exhibit-muted: #b7c6da;
  --exhibit-line: #adc8e943;
  background: #101b2c;
  color: var(--exhibit-ink);
}
.exhibition-page .editorial-header {
  border-color: var(--exhibit-line);
}
.exhibition-page .editorial-header a,
.exhibition-page .collection-nav a,
.exhibition-page .work-links a {
  text-decoration: none;
}
.exhibition-page a:is(:hover, :focus-visible),
.exhibition-page button:is(:hover, :focus-visible) {
  color: #fff;
}
.exhibition-page .collection-lead {
  border-color: var(--exhibit-line);
}
.exhibition-page .collection-lead img {
  max-height: 265px;
  width: 100%;
  object-fit: contain;
}
.exhibition-page .collection-lead p {
  color: var(--exhibit-muted);
}
.exhibition-chapter {
  margin-block-start: clamp(2.6rem, 9vw, 9rem);
  padding-top: clamp(1.5rem, 4vw, 3.7rem);
  border-top: 1px solid var(--exhibit-line);
  scroll-margin-top: 1rem;
}
.exhibition-chapter > h2 {
  margin-bottom: clamp(1.5rem, 4vw, 4.2rem);
  font-size: clamp(2.25rem, 7vw, 6.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}
.exhibition-columns {
  display: grid;
  grid-template-columns: minmax(10rem, 0.235fr) minmax(0, 0.765fr);
  gap: clamp(1.3rem, 4vw, 4rem);
}
.exhibition-nav {
  display: grid;
  align-self: start;
  position: sticky;
  top: 1.3rem;
}
.exhibition-tab {
  min-height: 48px;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--exhibit-muted);
  text-decoration: none;
  font-size: clamp(0.93rem, 1.45vw, 1.3rem);
  border-top: 1px solid var(--exhibit-line);
  transition:
    color 0.22s ease,
    transform 0.34s cubic-bezier(0.22, 0.72, 0.16, 1);
  padding-block: 0.5rem;
}
.exhibition-tab:last-child {
  border-bottom: 1px solid var(--exhibit-line);
}
.exhibition-tab[aria-current="true"] {
  color: #fff;
  transform: translateX(0.3rem);
}
.exhibition-tab[aria-current="true"]::before {
  content: "";
  width: 0.37rem;
  height: 0.37rem;
  border-radius: 50%;
  background: #94c5f5;
  flex: none;
}
.exhibition-panel {
  scroll-margin-top: 1rem;
}
.exhibition-entry h3 {
  font-size: clamp(1.85rem, 4vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
  font-weight: 505;
}
.exhibition-entry p {
  max-width: 53ch;
  margin-block: 0.75rem 1.3rem;
  line-height: 1.55;
  color: var(--exhibit-muted);
}
.exhibition-panel h4 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin: clamp(1.6rem, 5vw, 3.5rem) 0 1.1rem;
  font-weight: 540;
  letter-spacing: -0.04em;
}
.exhibition-gallery {
  min-width: 0;
}
.exhibit-stage {
  background: radial-gradient(
    ellipse at 50% 38%,
    #395169 0%,
    #293b51 49%,
    #152134 100%
  );
  border: 1px solid #a0bed936;
  overflow: hidden;
  touch-action: pan-y;
}
#numismatica .exhibit-stage {
  background: radial-gradient(ellipse at center, #344960, #18283d 78%);
}
#vexilologia .exhibit-stage {
  background: radial-gradient(ellipse at center, #567a98, #203a58 78%);
}
#calendario-pansionista .exhibit-stage {
  background: radial-gradient(ellipse at center, #4d6a74, #213443 82%);
}
.exhibit-stage figure {
  text-align: center;
  margin: 0;
  padding: clamp(0.9rem, 3vw, 2.8rem) clamp(0.7rem, 3vw, 2.4rem) 1.1rem;
}
.exhibit-image {
  display: block;
  width: 100%;
  height: clamp(200px, 41vw, 490px);
  text-decoration: none;
}
.exhibit-stage .exhibit-image img,
.exhibit-stage details img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
  background: transparent;
  filter: drop-shadow(0 14px 21px #06101b77);
}
.exhibit-stage figcaption {
  letter-spacing: -0.02em;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  margin-block: 0.45rem 0;
}
.exhibit-stage details {
  margin-top: 0.4rem;
}
.exhibit-stage details > a {
  display: block;
  margin-top: 1.1rem;
  height: clamp(140px, 28vw, 360px);
}
.exhibit-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  text-align: center;
  margin-block: 0.65rem;
  color: var(--exhibit-muted);
}
.exhibit-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--exhibit-line);
  cursor: pointer;
}
.exhibit-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.exhibit-strip button {
  background: transparent;
  min-height: 40px;
  border: 1px solid var(--exhibit-line);
  padding: 0.32rem 0.62rem;
  color: var(--exhibit-muted);
  text-align: start;
  cursor: pointer;
}
.exhibit-strip button[aria-pressed="true"] {
  background: #94c5f520;
  color: #fff;
  border-color: #94c5f5;
}
.exhibition-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: 0.7rem;
  color: #bbdbf7;
  text-decoration: none;
}
.page-lead {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.45;
  max-width: 36ch;
}
.institution-page .editorial-main {
  max-width: 86rem;
}
.institution-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.32fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 5vw, 4.5rem);
}
.institution-title h1,
.institution-page h1 {
  font-size: clamp(3.06rem, 11vw, 11rem);
  margin-bottom: 1.15rem;
}
.institution-title img {
  width: 100%;
  height: clamp(112px, 27vw, 330px);
  object-fit: cover;
  object-position: center 18%;
}
.institution-index {
  display: grid;
}
.institution-index a {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.48fr) 1.7rem;
  gap: 0.8rem;
  align-items: center;
  min-height: clamp(68px, 8vw, 120px);
  text-decoration: none;
  border-block-start: 1px solid #0d2b454d;
}
.institution-index a:last-child {
  border-block-end: 1px solid #0d2b454d;
}
.institution-index a strong {
  font-size: clamp(1.35rem, 3.7vw, 3.5rem);
  font-weight: 510;
  letter-spacing: -0.048em;
}
.institution-index a i {
  font-style: normal;
  transition: transform 0.22s ease;
}
.institution-index a:is(:hover, :focus-visible) i {
  transform: translate(0.22rem, -0.22rem);
}
.institution-index a:is(:hover, :focus-visible),
.inst-breadcrumb a:is(:hover, :focus-visible) {
  color: #24639a;
}
.inst-breadcrumb,
.press-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin-block: 1.25rem 1.8rem;
}
.inst-breadcrumb a,
.press-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tide);
  text-decoration: none;
}
.inst-breadcrumb a[aria-current="page"] {
  color: var(--sea);
  border-block-end: 2px solid var(--sea);
}
.inst-content {
  max-width: 76rem;
}
.inst-content .reading-list {
  margin-top: 1.65rem;
}
.inst-content li {
  line-height: 1.5;
}
.institution-empty {
  padding-block: clamp(2rem, 7vw, 5rem);
  font-size: clamp(1.25rem, 3vw, 2.3rem);
}
.contact-page {
  display: grid;
  grid-template-columns: minmax(12rem, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(1.4rem, 6vw, 6rem);
}
.journal-page {
  background: #f6f6f1;
  color: #172f42;
}
.journal-title h1 {
  margin-block-end: 0.85rem;
}
.journal-title h1 span {
  color: #3284a4;
}
.journal-feature {
  margin-block: clamp(1.6rem, 5vw, 4rem);
}
.journal-feature a {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  align-items: center;
  min-height: clamp(300px, 41vw, 500px);
  text-decoration: none;
  background: #142a40;
  color: #f5f8fd;
  overflow: hidden;
}
.journal-feature img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center 20%;
  transition: scale 0.6s var(--ease);
}
.journal-feature a:hover img {
  scale: 1.035;
}
.journal-feature a > div {
  padding: clamp(1.1rem, 4vw, 4.3rem);
}
.journal-feature h2 {
  font-size: clamp(2rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 520;
  margin-block: 1.15rem;
}
.journal-meta {
  color: #5281a0;
  font-size: 0.9rem;
  font-weight: 590;
}
.journal-feature .journal-meta {
  color: #add1f1;
}
.journal-meta span {
  margin-inline: 0.28rem;
}
.journal-read {
  display: block;
  margin-top: 1.8rem;
}
.journal-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  border-block: 1px solid #0d2b4547;
}
.journal-toolbar > div {
  display: flex;
  gap: 0.32rem;
  flex-wrap: wrap;
}
.journal-toolbar button {
  min-height: 44px;
  cursor: pointer;
  padding-inline: 0.75rem;
  background: transparent;
  border: 1px solid #0d2b4558;
  border-radius: 2rem;
}
.journal-toolbar button[aria-pressed="true"] {
  color: #fff;
  background: var(--sea);
}
.journal-toolbar label {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.journal-toolbar input {
  background: transparent;
  font: inherit;
  color: inherit;
  border: 1px solid #0d2b4558;
  padding: 0.55rem;
  min-height: 44px;
  max-width: 100%;
}
.journal-section {
  margin-block: 1.9rem;
}
.journal-section > h2 {
  font-size: clamp(1.55rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
  font-weight: 520;
  margin-block: 0.5rem 0.85rem;
}
.journal-index {
  padding: 0;
  margin: 0;
  list-style: none;
}
.journal-index a {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.16fr) minmax(0, 0.84fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 75px;
  padding-block: 0.65rem;
  text-decoration: none;
  border-top: 1px solid #0d2b4547;
}
.journal-index a time,
.journal-index a small {
  font-size: 0.83rem;
  color: #4c6a84;
  display: block;
}
.journal-index a strong {
  font-weight: 540;
  font-size: clamp(1.15rem, 2.7vw, 2.3rem);
  letter-spacing: -0.04em;
}
.journal-index a:hover {
  color: #1a638f;
}
.journal-post h1 {
  font-size: clamp(2.5rem, 9vw, 8rem);
  margin-block-start: 1rem;
  max-width: 14ch;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(1rem, 5vw, 6rem);
  align-items: start;
}
.post-layout > img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  object-position: center 19%;
}
.post-layout p {
  line-height: 1.5;
}
.post-layout .text-link,
.post-next a {
  text-decoration: none;
}
.post-next {
  margin-top: 3rem;
  border-top: 1px solid #0d2b4547;
  padding-top: 1rem;
}
.post-next a {
  margin-top: 0.5rem;
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 2.6rem);
}
@media (max-width: 660px) {
  .exhibition-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .exhibition-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.7rem;
  }
  .exhibition-tab {
    border: 0;
    min-height: 42px;
  }
  .exhibition-tab:last-child {
    border: 0;
  }
  .exhibition-panel {
    min-width: 0;
  }
  .institution-title {
    grid-template-columns: minmax(0, 1fr);
  }
  .institution-title img {
    display: none;
  }
  .institution-index a {
    grid-template-columns: minmax(0, 1fr) 1.2rem;
    padding-block: 0.55rem;
    gap: 0.28rem 0.5rem;
  }
  .institution-index a span {
    grid-row: 2;
    grid-column: 1;
    font-size: 0.85rem;
  }
  .institution-index a i {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .contact-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .journal-feature a {
    grid-template-columns: 1fr;
  }
  .journal-feature img {
    height: 235px;
    max-height: none;
  }
  .journal-toolbar label {
    width: 100%;
  }
  .journal-toolbar input {
    flex: 1;
    min-width: 0;
  }
  .journal-index a {
    gap: 0.55rem;
  }
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-layout > img {
    max-height: 38svh;
  }
}
.music-page h1 {
  margin-block-end: 1.1rem;
}
.platform-profiles {
  display: flex;
  flex-wrap: wrap;
  margin-block: 1rem 1.9rem;
  gap: 0 1rem;
}
.platform-profiles a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #235778;
}
.platform-profiles a:hover {
  color: #132b49;
}
.music-page select {
  background: transparent;
  color: inherit;
  border: 1px solid #0d2b4558;
  padding: 0.47rem;
  min-height: 44px;
  font: inherit;
}
.music-tracks details {
  border-bottom: 1px solid #0d2b4547;
}
.music-tracks summary {
  display: grid;
  grid-template-columns: minmax(3rem, 0.145fr) minmax(0, 0.855fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  cursor: pointer;
  list-style: none;
}
.music-tracks summary::-webkit-details-marker {
  display: none;
}
.music-tracks summary strong {
  font-size: clamp(1.1rem, 2.3vw, 2rem);
  letter-spacing: -0.033em;
  font-weight: 520;
  overflow-wrap: anywhere;
}
.track-year {
  color: #4c6a84;
  font-size: 0.91rem;
}
.track-recordings {
  padding-block: 0.22rem 1rem;
}
.track-version {
  padding: 0.58rem 0.75rem;
  border-top: 1px solid #0d2b4530;
}
.track-version h3 {
  font-size: 0.92rem;
  font-weight: 580;
  color: #4c6a84;
}
.track-version > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
}
.track-version a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.track-version a:hover {
  color: #2070a6;
}

.music-production {
  margin-top: clamp(2.75rem, 6vw, 5rem);
  padding-top: 1.4rem;
  border-top: 1px solid #b3c6d7;
}

.music-production h2 {
  font-size: clamp(1.9rem, 4vw, 3.65rem);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin-bottom: 0.65rem;
}

.music-production article {
  padding-block: 1rem;
  border-bottom: 1px solid #c3d3df;
}

.music-production h3 {
  font-size: clamp(1.25rem, 2.25vw, 1.8rem);
  line-height: 1.22;
}

.music-production ol,
.music-production ul {
  list-style: none;
  padding: 0;
  margin-top: 0.7rem;
}

.music-production li {
  display: flex;
  align-items: baseline;
  gap: 0 0.85rem;
  flex-wrap: wrap;
  border-top: 1px solid #c3d3df;
}

.music-production li strong {
  flex: 1 1 12rem;
  font-weight: 570;
  padding-block: 0.55rem;
}

.music-production a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-inline-end: 0.65rem;
  color: #275f85;
  text-decoration: none;
}

.music-production a:is(:hover, :focus-visible) {
  text-decoration: underline;
}

.music-production audio {
  width: min(100%, 26rem);
  margin-top: 0.65rem;
}
