/* MEMORIA EXPO — core layout, v1.0.2 */
:root {
  --me-ink: #071735;
  --me-gold: #d5a026;
  --me-footer-gold: #e7af1e;
}
@media(min-width: 1181px) {
  html { font-size: calc(100vw / 1920); }
}
@media(min-width: 701px) and (max-width: 1180px) {
  html { font-size: calc(100vw / 1200); }
}
@media(max-width: 700px) {
  html { font-size: min(calc(100vw / 420), 1.15px); }
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--me-ink); background: #fff9f7; font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button,input,textarea,select { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
a:focus-visible,button:focus-visible { outline: 3rem solid var(--me-gold); outline-offset: 4rem; }
.me-container { width: 80%; max-width: 1536rem; margin-inline: auto; }
.me-header { width: 100%; height: 116rem; background: #fff8f6; position: relative; z-index: 30; }
.me-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 48rem; }
.me-header__brand { display: block; flex: 0 0 auto; width: 257rem; line-height: 0; text-decoration: none; }
.me-header__logo { width: 100%; height: auto; display:block; }
.me-header__nav { margin-left: auto; }
.me-header__menu { display: flex; align-items:center; justify-content: space-between; gap: 61rem; list-style: none; margin: 0; padding:0; white-space: nowrap; }
.me-header__menu li { margin: 0; padding: 0; }
.me-header__menu a { font-size: 20rem; font-weight: 400; text-decoration:none; line-height:1.3; transition:color .2s ease; }
.me-header__menu a:hover { color: #b37a07; }
.me-header__right { display:flex; align-items:center; margin-left: 50rem; }
.me-langs { display:flex; align-items: center; gap: 15rem; white-space: nowrap; font-size: 20rem; font-weight: 500; }
.me-langs__item { display:inline-flex; align-items:center; justify-content:center; padding: 7rem 9rem; color:var(--me-ink); text-decoration:none; line-height:1.4; border-radius: 100rem; }
.me-langs__item.is-active { min-width: 64rem; background:var(--me-ink); color:white; }
.me-langs__item.is-unavailable { cursor:default; }
.me-langs__separator { font-weight:600; }
.me-header__toggle { display: none; }
.me-main { min-height: 0; }
.me-page { padding-top:90rem; padding-bottom:110rem; font-size:20rem; }
.me-page h1 { font-family:Georgia, 'Times New Roman',serif; font-size:56rem; }
.me-footer { background:#06233b url('../img/bg-8.png') center center / cover no-repeat; min-height:582rem; padding-top:78rem; padding-bottom:36rem; color:#fff; }
.me-footer .me-container { width: 1366rem; max-width: calc(100% - 40rem); }
.me-footer__content { display:grid; grid-template-columns: 502rem 415rem minmax(0, 1fr); column-gap: 0; }
.me-footer__brand-col { padding-right: 12rem; }
.me-footer__logo { width: 377rem; max-width:100%; height: auto; display:block; margin-top:0; margin-left: -3rem; }
.me-footer__gold-line { width: 103rem; height:2rem; background:var(--me-footer-gold); margin:26rem 0 27rem; }
.me-footer__description { margin:0; max-width: 490rem; font-size:20rem; line-height:1.43; }
.me-footer__nav-col { border-left: 2rem solid var(--me-footer-gold); padding-left: 74rem; }
.me-footer__contacts-col { border-left: 2rem solid var(--me-footer-gold); padding-left: 80rem; }
@media (min-width: 1181px) {
  .me-footer__nav-col, .me-footer__contacts-col { margin-top: 7rem; height: 280rem; }
  .me-footer__nav-col > *, .me-footer__contacts-col > * { position: relative; top: -9rem; }
  .me-footer__contact { margin-bottom: 6rem; }
  .me-footer .me-langs--footer { margin-top: 35rem; }
}
.me-footer__heading { font-family:Georgia, 'Times New Roman',serif; font-size:24rem; font-weight:700; margin:0 0 18rem; line-height:1.2; }
.me-footer__menu { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:15rem; }
.me-footer__menu a { font-size:20rem; text-decoration:none; line-height:1.3; }
.me-footer__menu a:hover,.me-footer__bottom a:hover { color:#f4c665; }
.me-footer__contact { display:flex; align-items:center; gap:30rem; color:#c5c5c5; font-size:20rem; line-height:1.3; text-decoration:none; margin-bottom:10rem; white-space:nowrap; }
.me-footer__contact img { width:44rem; height:44rem; flex:0 0 auto; object-fit:contain; }
.me-footer__contact:hover span { text-decoration:underline; }
.me-langs--footer { margin-top:30rem; color:white; font-size:24rem; gap:21rem; }
.me-langs--footer .me-langs__item { color:#fff; }
.me-langs--footer .me-langs__item.is-active { color:var(--me-ink); background:#fff9ef; }
.me-footer__bottom { margin-top:64rem; padding-top:21rem; border-top: 2rem solid var(--me-footer-gold); display:flex; align-items:center; justify-content:space-between; gap:20rem; }
.me-footer__bottom p,.me-footer__bottom a,.me-footer__policy-disabled { font-size:24rem; line-height:1.4; margin:0; }
.me-footer__bottom a,.me-footer__policy-disabled { font-size:20rem; text-decoration:underline; text-decoration-color:var(--me-footer-gold); text-underline-offset:6rem; }
@media(max-width:1180px) and (min-width:701px) {
  .me-container { width:90%; }
  .me-header__inner { gap:20rem; }
  .me-header__right { margin-left:auto; }
  .me-header__menu { gap:24rem; }
  .me-footer .me-container { width:90%; max-width:none; }
  .me-footer__content { grid-template-columns: 1.2fr .8fr 1fr; column-gap:15rem; }
  .me-footer__bottom { margin-top:62rem; }
  .me-footer__nav-col,.me-footer__contacts-col { padding-left:30rem; }
  .me-footer__contact { white-space:normal; font-size:21rem; }
}
@media(max-width:1180px) {
  .me-header__nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff8f6; box-shadow:0 12rem 22rem rgb(7 23 53 / 12%); }
  .me-header__nav.is-open { display:block; }
  .me-header__menu { padding:22rem 10%; display:flex; flex-direction:column; gap:0; align-items:stretch; }
  .me-header__menu a { display:block; padding:14rem 0; }
  .me-header__toggle { display:flex; flex-direction:column; justify-content:center; gap:6rem; background:transparent; border:0; width:48rem; height:44rem; padding:5rem; margin-left:24rem; }
  .me-header__toggle span { width:30rem; height:2rem; display:block; background:var(--me-ink); border-radius:2rem; }
}
@media(max-width:700px) {
  .me-container { width: calc(100% - 40rem); max-width:none; }
  .me-header { height:76rem; }
  .me-header__inner { gap:10rem; }
  .me-header__brand { width:170rem; }
  .me-header__right { margin-left:auto; }
  .me-header__right > .me-langs { gap:2rem; font-size:13rem; }
  .me-langs__item { padding:6rem; }
  .me-langs__item.is-active { min-width:33rem; }
  .me-header__toggle { margin-left:5rem; width:37rem; padding:3rem; }
  .me-header__toggle span { width:26rem; }
  .me-header__menu { padding:15rem 20rem; }
  .me-header__menu a { font-size:17rem; }
  .me-page { padding-top:55rem; padding-bottom:60rem; font-size:16rem; }
  .me-page h1 { font-size:36rem; }
  .me-footer { min-height:0; padding:54rem 0 26rem; background-position:center bottom; background-size:auto 100%; }
  .me-footer .me-container { width: calc(100% - 40rem); max-width:none; }
  .me-footer__content { display:flex; flex-direction:column; gap:38rem; }
  .me-footer__brand-col { padding-right:0; }
  .me-footer__logo { width:265rem; }
  .me-footer__gold-line { margin:16rem 0 19rem; width:72rem; }
  .me-footer__description { font-size:17rem; line-height:1.45; max-width:370rem; }
  .me-footer__nav-col,.me-footer__contacts-col { padding-left:20rem; border-left:2rem solid var(--me-footer-gold); }
  .me-footer__heading { font-size:18rem; margin-bottom:15rem; }
  .me-footer__menu { gap:10rem; }
  .me-footer__menu a,.me-footer__contact { font-size:17rem; }
  .me-footer__contact { gap:14rem; white-space:normal; margin-bottom:9rem; }
  .me-footer__contact img { width:30rem; height:30rem; }
  .me-langs--footer { font-size:17rem; margin-top:22rem; }
  .me-footer__bottom { margin-top:47rem; padding-top:18rem; flex-direction:column; align-items:flex-start; gap:14rem; }
  .me-footer__bottom p,.me-footer__bottom a,.me-footer__policy-disabled { font-size:15rem; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition-duration:.01ms!important; animation-duration:.01ms!important; } }

/* User-approved footer palette. Keep headings white and interactive links legible. */
.me-footer a, .me-footer p, .me-footer__policy-disabled { color:#c5c5c5; }
.me-footer__heading { color:#fff; }
.me-footer .me-langs--footer .me-langs__item.is-active { color:var(--me-ink); }

/* Static legal pages – simple, editorial typography matching the exhibition site. */
.me-legal { background:#fcf3f0; min-height:55vh; }
.me-legal__header { background:#092f50; color:#fff; padding:88rem 0 79rem; }
.me-legal__eyebrow { margin:0 0 16rem; text-transform:uppercase; letter-spacing:2rem; color:#e7b24d; font-size:15rem; font-weight:500; }
.me-legal__heading { margin:0; font:700 54rem/1.15 Georgia,'Times New Roman',serif; max-width:1200rem; }
.me-legal__rule { width:130rem; height:2rem; background:#d5a026; margin-top:29rem; }
.me-legal__content { max-width:1080rem; padding-top:76rem; padding-bottom:112rem; font-size:21rem; line-height:1.65; }
.me-legal__content h2 { margin:43rem 0 14rem; font-size:30rem; font-weight:600; line-height:1.3; }
.me-legal__content h3 { margin:30rem 0 12rem; font-size:24rem; }
.me-legal__content p { margin:0 0 18rem; }
.me-legal__content ul, .me-legal__content ol { padding-left:27rem; margin:0 0 27rem; }
.me-legal__content li { margin:9rem 0; }
.me-legal__content a { text-decoration-color:#d5a026; text-underline-offset:4rem; }
.me-footer__legal-links { display:flex; align-items:center; flex-wrap:wrap; gap:12rem 28rem; }
@media(max-width:700px) {
  .me-legal__header { padding:54rem 0 48rem; }
  .me-legal__eyebrow { font-size:12rem; letter-spacing:1.1rem; }
  .me-legal__heading { font-size:34rem; }
  .me-legal__rule { width:90rem; margin-top:20rem; }
  .me-legal__content { padding-top:40rem; padding-bottom:65rem; font-size:16rem; line-height:1.6; }
  .me-legal__content h2 { font-size:23rem; margin:33rem 0 12rem; }
  .me-legal__content h3 { font-size:19rem; }
  .me-footer__legal-links { flex-direction:column; align-items:flex-start; gap:12rem; }
}

/* Approved content: contact confirmation is pending, never show demo numbers as real. */
.me-footer__contact-note { font-size:18rem; line-height:1.45; color:#c5c5c5; max-width:330rem; }
@media(max-width:700px) { .me-footer__contact-note { font-size:16rem; max-width:360rem; } }

/* Cookie settings link shares the editorial footer link appearance. */
.me-footer__cookie-settings { background:transparent; border:0; color:#c5c5c5; text-decoration:underline; text-decoration-color:var(--me-footer-gold); text-underline-offset:6rem; font:inherit; font-size:20rem; padding:0; cursor:pointer; }
.me-footer__cookie-settings:focus-visible { outline:2rem solid #e7b24d; outline-offset:4rem; }
@media(max-width:700px) { .me-footer__cookie-settings { font-size:15rem; } }
