@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #20392b;
  --body: #39483e;
  --quiet: #536257;
  --leaf: #5a8958;
  --forest: #365e3b;
  --deep: #254d34;
  --sage: #e6efe6;
  --mist: #f3f7f3;
  --line: #cedfcd;
  --radius-large: clamp(1.25rem, 2.4vw, 2.15rem);
  --radius-small: .9rem;
  --gutter: clamp(1.25rem, 4.4vw, 4.5rem);
  --section-space: clamp(2.5rem, 4.6vw, 4.5rem);
  font-family: "Instrument Sans", Arial, sans-serif;
  color: var(--ink);
  background-color: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-wrap: break-word; }
body { margin: 0; background: #fff; font-size: 1rem; line-height: 1.55; }

/* Keep the footer at the bottom of short pages while allowing longer pages to scroll. */
body#inicio {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body#inicio.admin-bar {
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}
body#inicio > :is(.footer, .elementor-location-footer) { margin-block-start: auto; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
::selection { color: var(--deep); background: #cee0cd; }
address { font-style: normal; }
figcaption { color: var(--quiet); font-size: .845rem; line-height: 1.45; }
[id] { scroll-margin-block-start: calc(var(--header-height, 4.75rem) + 1rem); }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(78rem, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.icon { display: block; flex: none; width: 1.15rem; height: 1.15rem; }
.skip { position: absolute; z-index: 30; inset: .4rem auto auto .4rem; padding: .7rem 1rem; border-radius: var(--radius-small); color: var(--deep); background: #fff; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

/* A full-width glass header keeps the navigation visible while scrolling. */
.masthead {
  container: site-header / inline-size;
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  isolation: isolate;
}
.masthead-inner, .brand, .main-nav, .main-nav a, .footer-brand {
  display: flex;
  align-items: center;
}
.masthead-inner {
  position: relative;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.65rem;
  padding-block: .6rem;
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand, .footer-brand {
  gap: .65rem;
  font-size: 1.14rem;
  line-height: 1.15;
  font-weight: 680;
  letter-spacing: -.035em;
}
.brand {
  min-width: 0;
  text-decoration: none;
}
.brand img {
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: .16rem;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
}
.brand:hover { color: var(--deep); }
.masthead { --nav-surface: #ededed; --nav-hover: #dedede; }
.main-nav { flex-wrap: nowrap; gap: .4rem; }
.main-nav a, .nav-toggle, .aqs-language {
  color: #000;
  background: var(--nav-surface);
  border: 1px solid #d6d6d6;
  border-radius: .65rem;
}
.main-nav a:hover, .nav-toggle:hover, .header-menu[open] > .nav-toggle, .aqs-language:hover { background: var(--nav-hover); }
.main-nav a[aria-current="page"] { border-color: #737373; background: var(--nav-hover); }
.main-nav a {
  gap: .48rem;
  min-height: 44px;
  padding: .55rem .8rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.masthead-inner { flex-wrap: nowrap; }
.brand { margin-inline-end: auto; max-width: 18rem; }
.brand span { overflow-wrap: anywhere; }
.language-switch, .header-navigation { flex: none; }
.header-navigation { order: 2; }
.inline-navigation { order: 0; }
.nav-toggle { list-style: none; cursor: pointer; }
.nav-toggle::-webkit-details-marker { display: none; }
.inline-menu > .nav-toggle { display: none; }
.inline-menu .main-nav, .nav-probe .main-nav { width: max-content; }
.inline-menu .main-nav a, .nav-probe .main-nav a { white-space: nowrap; }
.nav-probe { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
.main-nav a span { min-width: 0; overflow-wrap: anywhere; }
.main-nav .icon { width: 1.04rem; height: 1.04rem; }
.nav-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .65rem .9rem;
  font-size: .92rem;
  font-weight: 620;
}
.nav-toggle .icon { width: 1.05rem; height: 1.05rem; }
.close-icon, .header-menu[open] > .nav-toggle .menu-icon { display: none; }
.header-menu[open] > .nav-toggle .close-icon { display: block; }

/* Home page */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  grid-template-areas: "photo text";
  align-items: center;
  gap: clamp(2.2rem, 5.8vw, 5.75rem);
  padding-block: var(--section-space);
}
.story-copy, .row-text, .feature-text, .footer-info > div { min-width: 0; }
.feature-text { grid-area: text; padding-bottom: .8rem; }
.feature-photo { grid-area: photo; }
.feature-photo img, .story-image img { border-radius: var(--radius-large); }
.feature-photo img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.feature-photo figcaption, .story-image figcaption { margin-top: .6rem; }
h1 { font-weight: 640; font-size: clamp(2.8rem, 5.3vw, 5.35rem); line-height: .99; letter-spacing: -.057em; }
.feature-text h1 { max-width: 12ch; margin-bottom: 1.4rem; }
.feature-text h1 span { color: var(--leaf); }
.feature-text p, .lead { max-width: 38ch; color: var(--body); font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.55; }
.feature-text p + p { margin-top: .55rem; }
.action, .underlink, .back, .footer-end a, .contact-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; }
.action span { min-width: 0; overflow-wrap: anywhere; }
/* A narrow highlight and restrained tint give controls their glass finish. */
.action {
  max-width: 100%;
  margin-top: 1.5rem;
  padding: .8rem 1.2rem;
  border: 1px solid #365e3b;
  border-radius: 1.35rem;
  background-color: var(--forest);
  background-image: linear-gradient(165deg, #ffffff1f, #ffffff00);
  box-shadow: inset 0 1px 0 #ffffff73, inset 0 -1px 0 #254d3433, 0 5px 14px #254d3414;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.action:hover { background-color: var(--deep); }
.section { border-top: 1px solid var(--line); padding-block: var(--section-space); }
.section-heading { font-size: clamp(1.8rem, 2.65vw, 2.8rem); font-weight: 610; letter-spacing: -.048em; line-height: 1.12; }
.directory { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.84fr); column-gap: clamp(2rem, 5vw, 5rem); }
.activity-list { list-style: none; padding: 0; }
.activity-list li + li { border-top: 1px solid var(--line); }
.activity-row { display: grid; grid-template-columns: clamp(6.5rem, 11vw, 9.25rem) minmax(0, 1fr) auto; gap: clamp(1rem, 2.1vw, 2rem); align-items: center; padding-block: 1.15rem; text-decoration: none; }
.activity-list li:first-child .activity-row { padding-top: 0; }
.activity-list li:last-child .activity-row { padding-bottom: 0; }
.activity-row img { width: 100%; aspect-ratio: 1.42; object-fit: cover; border-radius: var(--radius-small); }
.activity-row h3 { font-weight: 605; font-size: clamp(1.3rem, 1.85vw, 1.7rem); line-height: 1.2; letter-spacing: -.035em; }
.activity-row p { color: var(--body); max-width: 46ch; margin-top: .38rem; line-height: 1.48; }
.activity-row:hover h3 { color: var(--deep); }
.activity-row > .icon { border: 1px solid #bfd5be; box-shadow: inset 0 1px 0 #fff; width: 2.5rem; height: 2.5rem; padding: .62rem; border-radius: 50%; color: var(--forest); background: var(--sage); }
.activity-row:hover > .icon, .activity-row:focus-visible > .icon { color: #fff; background: var(--forest); }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.25rem, 4vw, 4rem); align-items: start; }
.visit-info { min-width: 0; }
.visit-selector { display: grid; gap: .375rem; margin-block: 1rem .75rem; }
.visit-selector label { font-weight: 620; }
.visit-select-control { position: relative; }
.visit-select-control > .icon {
  position: absolute; inset-inline-start: .625rem; inset-block-start: 50%;
  width: 1rem; height: 1rem; transform: translateY(-50%); color: var(--forest);
  pointer-events: none;
}
.visit-select-control::after {
  content: ''; position: absolute; inset-inline-end: 1rem; top: calc(50% - .25rem);
  inline-size: .5rem; block-size: .5rem; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg); pointer-events: none;
}
.visit-selector select {
  appearance: none; width: 100%; min-height: 44px; padding: .625rem 1.9rem .625rem 2rem;
  border: 1px solid var(--line); border-radius: .65rem; background: white; color: var(--ink); font: inherit;
}
.visit-selector:not([hidden]) + .visit-location-details .venue-name { display: none; }
.visit-location .action { margin-block: 1rem 0; }
.venue-name { margin: .85rem 0 .38rem; font-size: 1.2rem; line-height: 1.4; font-weight: 620; }
.visit address, .hours { color: var(--body); }
.hours { margin-top: .5rem; }
.underlink { margin-top: .45rem; color: var(--forest); font-weight: 620; text-decoration: none; }
.landmark { display: grid; grid-template-columns: minmax(4.4rem, .9fr) minmax(0, 1.7fr); align-items: center; gap: .8rem; margin-top: 1.35rem; max-width: 34rem; }
.landmark img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: var(--radius-small); }
.landmark figcaption { font-size: .8rem; overflow-wrap: break-word; }
.landmark figcaption strong { font-weight: 600; color: var(--ink); }
.map { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-large); overflow: hidden; background: var(--mist); }
.map:focus-within { outline: 3px solid var(--deep); outline-offset: 4px; }
.map iframe { display: block; width: 100%; height: clamp(16rem, 26vw, 20rem); border: 0; }

/* Activity pages */
.story { padding-block: clamp(1.5rem, 3.2vw, 3rem) var(--section-space); }
.back { color: var(--forest); font-size: .95rem; text-decoration: none; font-weight: 580; }
.back:hover { color: var(--deep); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; margin-top: 1.45rem; }
.story h1 { font-size: clamp(2.45rem, 4.85vw, 4.45rem); line-height: 1.03; }
.story .lead { margin-top: 1.15rem; max-width: 43ch; }
.story-body { max-width: 55ch; }
.story-body h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 610; letter-spacing: -.035em; line-height: 1.25; margin: 1.65rem 0 .65rem; }
.story-body p, .story-body li { color: var(--body); }
.story-body p + p { margin-top: .8rem; }
.story-body ul { padding-left: 1.15rem; margin: .6rem 0 1rem; }
.story-body li + li { margin-top: .45rem; }
.story-body li::marker { color: var(--leaf); }
.story-image img { width: 100%; max-height: 33rem; object-fit: cover; }
.story-gallery { display: grid; gap: 1.5rem; }
.story-gallery .story-image img { height: auto; max-height: none; object-fit: contain; }

/* Contact */
.footer {
  padding-block: clamp(2rem, 3.6vw, 3.5rem) 1rem;
  border-top: 1px solid var(--line);
  background: #f5f5f5;
}
.footer-info { display: grid; grid-template-columns: 1.13fr 1fr 1fr; gap: clamp(1.4rem, 3.1vw, 3.5rem); }
.footer-brand { font-size: 1rem; }
.footer-brand img {
  flex: none;
  width: clamp(4.5rem, 8vw, 6rem);
  height: auto;
  border-radius: 0;
  object-fit: contain;
}
.footer h2 { font-size: 1rem; line-height: 1.3; margin-bottom: .7rem; font-weight: 650; }
.footer p, .footer address, .contact-link, .footer-map { font-size: .94rem; }
.footer p, .footer address { color: var(--body); }
.footer-brand + p { margin-top: .6rem; }
.contact-link { display: flex; width: fit-content; max-width: 100%; min-height: 2.4rem; line-height: 1.3; }
.contact-link span { min-width: 0; overflow-wrap: anywhere; }
.contact-link .icon, .footer-end .icon { width: .98rem; height: .98rem; }
.footer-map { display: inline-flex; min-height: 44px; align-items: center; }
.footer-locations { display: grid; gap: .75rem; padding: 0; list-style: none; }
.footer-end { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 1.45rem; }
.footer-end a { font-size: .88rem; gap: .5rem; }

@media (max-width: 56rem) {
  .directory { grid-template-columns: minmax(0, 1fr); row-gap: 1.4rem; }
  .footer-info { grid-template-columns: .95fr 1fr; }
  .footer-info > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 43rem) {
  .feature { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "photo"; gap: 1.5rem; padding-block: 2rem; }
  .feature-text { padding: 0; }
  .feature-text h1 { font-size: clamp(2rem, 7.2vw, 2.45rem); line-height: 1.08; letter-spacing: -.04em; max-width: 17ch; margin-bottom: 1rem; }
  .feature-text p { max-width: 43ch; font-size: 1rem; }
  .story h1 { font-size: clamp(2rem, 7.2vw, 2.45rem); }
  .section-heading { font-size: 1.5rem; }
  .activity-row h3 { font-size: 1.125rem; }
  .action { margin-top: 1.2rem; padding: .65rem 1rem; border-radius: .85rem; }
  .feature-photo img { aspect-ratio: 1.6; }
  .story-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .landmark { max-width: 21rem; margin-top: 1rem; }
  .map iframe { height: clamp(15rem, 60vw, 18rem); }
  .story-body { max-width: 100%; }
  .activity-row { grid-template-columns: 5.3rem minmax(0, 1fr) auto; }
}
@media (max-width: 56rem) {
  .masthead-inner { gap: .65rem; min-height: 4rem; padding-block: .45rem; }
  .brand { font-size: .9375rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .brand span { max-width: 15ch; }
  .main-nav a { font-size: .95rem; }
}
.header-menu:not(.inline-menu) .main-nav {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  width: min(17.5rem, 100%);
  max-height: calc(100dvh - 7.8rem);
  overflow-y: auto;
  flex-direction: column;
  align-items: stretch;
  gap: .35rem;
  padding: .5rem;
  border: 1px solid #d2dfd0;
  border-radius: .75rem;
  background: #fafcfa;
  box-shadow: inset 0 1px 0 #fff, 0 14px 38px #254d3426;
  transform-origin: top right;
  animation: reveal-navigation .18s ease-out;
}
.header-menu:not(.inline-menu) .main-nav a {
  gap: .65rem;
  min-height: 44px;
  padding: .6rem .7rem;
  border-radius: .4rem;
  font-size: .9375rem;
}
.header-menu:not(.inline-menu) .main-nav .icon {
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: 0;
  background: transparent;
}
@media (max-width: 38rem) {
  .footer-info { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
}
@media (max-width: 23.5rem) {
  .masthead-inner { gap: .4rem; }
  .brand { gap: .4rem; font-size: .9375rem; }
  .brand span { max-width: 11ch; }
  .brand img { width: 2.2rem; height: 2.2rem; }
  .nav-toggle { padding-inline: .65rem; }
}
@media (max-width: 26rem) {
  .activity-row { grid-template-columns: min(4.25rem, 21%) minmax(0,1fr) 1.7rem; gap: .65rem; align-items: start; }
  .activity-row img { aspect-ratio: 1; margin-top: .15rem; }
  .activity-row > .icon { border: 1px solid #bfd5be; box-shadow: inset 0 1px 0 #fff; width: 1.7rem; height: 1.7rem; padding: .34rem; margin-top: .15rem; }
  .activity-row p { font-size: .95rem; }
}
/* Pointer effects stay out of layout calculations and follow motion preferences. */
@keyframes sweep-light {
  from { transform: translateX(-180%) skewX(-18deg); }
  to { transform: translateX(300%) skewX(-18deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .action, .nav-toggle {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s ease, background-color .22s ease;
  }
  .action > *, .nav-toggle > * {
    position: relative;
    z-index: 1;
  }
  .action::after, .nav-toggle::after {
    content: "";
    position: absolute;
    inset: -25% auto -25% 0;
    width: 55%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, #e6efe61f, transparent);
    transform: translateX(-180%) skewX(-18deg);
  }
  .main-nav a, .activity-row img, .activity-row > .icon, .underlink .icon, .back .icon {
    transition: transform .22s cubic-bezier(.2, .7, .2, 1), background-color .22s ease, color .22s ease;
  }
  .action:focus-visible::after, .nav-toggle:focus-visible::after {
    animation: sweep-light .65s ease-out;
  }
  .activity-row:focus-visible > .icon { transform: translateX(3px) scale(1.05); }
  @media (hover: hover) and (pointer: fine) {
    .action:hover, .nav-toggle:hover { transform: scale(1.05); }
    .action:hover {
      box-shadow: inset 0 1px 0 #ffffff73, 0 7px 20px #254d3426;
    }
    .action:hover::after, .nav-toggle:hover::after {
      animation: sweep-light .65s ease-out;
    }
    .main-nav a:hover { transform: translateY(-1px) scale(1.025); }
    .activity-row:hover img { transform: scale(1.025); }
    .activity-row:hover > .icon { transform: translateX(3px) scale(1.05); }
    .underlink:hover .icon { transform: translate(2px, -2px); }
    .back:hover .icon { transform: translateX(-3px); }
  }
  .action:active, .nav-toggle:active {
    transform: scale(.98);
    transition-duration: .08s;
  }
}
@keyframes reveal-navigation {
  from { opacity: 0; transform: translateY(-.35rem) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead::before {
    background: #ffffffeb;
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
  }
  .header-menu:not(.inline-menu) .main-nav {
      background: linear-gradient(140deg, #ffffffd6, #edf5ebd9);
      -webkit-backdrop-filter: blur(24px) saturate(150%);
      backdrop-filter: blur(24px) saturate(150%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .masthead::before {
    background: #fafcfa;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header-menu:not(.inline-menu) .main-nav {
      background: #fafcfa;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .masthead::before, .header-menu:not(.inline-menu) .main-nav, .nav-toggle, .action { border-color: CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-menu:not(.inline-menu) .main-nav { animation: none; }
}
.admin-bar .masthead{top:var(--wp-admin--admin-bar--height,32px)}
@media(max-width:600px){.admin-bar .masthead{top:0}}
.activity-row.no-thumb{grid-template-columns:minmax(0,1fr) auto}
.feature.without-photo,.story-layout.without-photo{grid-template-columns:minmax(0,1fr);grid-template-areas:"text"}
.page-body{max-width:76ch;margin-inline:auto}.page-body h1{margin-bottom:.55em}
.page-body>*+*,.story-body>figure,.story-body>div{margin-block-start:1.15em}
.page-body :is(img,figure),.story-body figure img{border-radius:var(--radius-small)}
.page-body ul,.page-body ol{padding-inline-start:1.4em}.page-body .alignwide{max-width:100%}
.page-body .wp-block-gallery img{object-fit:cover}.extra-content{padding-bottom:var(--section-space)}
.footer-note{margin-top:1.2rem}.story-body .lead{color:var(--body)}

.feature-text .aqs-motto { color: var(--forest); font-weight: 650; }
.aqs-section-links { list-style: none; margin: 1.5rem 0; padding: 0; }
.aqs-section-links li { margin: 0; border-bottom: 1px solid var(--line); }
.aqs-section-links a { display: flex; align-items: center; justify-content: space-between; gap: .9rem; min-height: 48px; padding: .8rem .15rem; color: var(--forest); font-weight: 600; text-decoration: none; }
.aqs-section-links a::after { content: ''; flex: 0 0 .48rem; height: .48rem; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-right: .3rem; }
.aqs-section-links a:hover { color: var(--deep); background-color: var(--mist); }
.aqs-explore .aqs-section-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(2rem,5vw,5rem); }
.aqs-explore .aqs-section-links li { display: flex; border: 0; }
.aqs-explore .aqs-section-links a { flex: 1; }
.aqs-contact-form { display: grid; gap: .5rem; max-width: 37rem; }
.aqs-contact-form label { font-weight: 650; margin-top: .75rem; }
.aqs-contact-form input:not([type=hidden]), .aqs-contact-form textarea { width: 100%; padding: .8rem; border-radius: .6rem; border: 1px solid var(--quiet); font: inherit; background: white; color: var(--ink); }
.aqs-contact-form .action { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.aqs-contact-form p { margin: .25rem 0; }
.aqs-message { padding: .9rem; border-inline-start: 4px solid var(--forest); background: var(--mist); }
.aqs-news-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.aqs-news-item time { color: var(--quiet); }
.aqs-news-item h2 { margin: .2rem 0; }
.aqs-news-pager { display: inline-block; margin: 1.25rem 1.25rem 0 0; }
@media(max-width: 46rem) { .aqs-explore .aqs-section-links { grid-template-columns: 1fr; } }
.page-body .aqs-section-links { padding: 0; }
.aqs-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; font-size: .95rem; }
.aqs-share-button { color: var(--forest); font: inherit; font-weight: 600; border: 1px solid var(--forest); background: white; border-radius: .65rem; padding: .55rem .9rem; cursor: pointer; min-height: 44px; }
.aqs-contact h2 { margin-top: 1.5em; }
html { scroll-padding-block-start: calc(var(--header-height, 4.75rem) + 8px); }
.aqs-language { display: inline-flex; gap:.3em; align-items: center; justify-content:center; min-height:44px; padding: .35rem .7rem; font-weight:650; text-decoration:none; }
.language-flag { display: block; width: 1.35rem; height: .9rem; flex: none; overflow: hidden; border-radius: 2px; }
.language-switch { position: relative; display: flex; }
.language-switch [role="tooltip"] {
  display: none;
  position: absolute;
  z-index: 2;
  inset-block-start: calc(100% + .35rem);
  inset-inline-end: 0;
  width: max-content;
  max-width: min(12rem, 55vw);
  padding: .4rem .65rem;
  border-radius: .45rem;
  background: #242424;
  color: #fff;
  font-size: .875rem;
  line-height: 1.35;
}
/* Keep the hint open as the pointer crosses the gap below the button. */
.language-switch [role="tooltip"]::before { content: ""; position: absolute; inset: -.35rem 0 100%; }
.language-switch:not([data-dismissed]) .aqs-language:focus-visible + [role="tooltip"] { display: block; }
@media (any-hover: hover) {
  .language-switch:not([data-dismissed]):hover [role="tooltip"] { display: block; }
}

.aqs-routes ul { display:flex; flex-wrap:wrap; list-style:none; padding: .8rem 0; margin:0; gap:.25rem 1.6rem; border-block:1px solid var(--line); }
.aqs-routes a { display:inline-flex; min-height:44px; align-items:center; font-weight:620; color:var(--forest); text-decoration:none; }
.aqs-routes a:hover { text-decoration: underline; }
.aqs-contact-form :is(input,textarea):focus-visible,.aqs-message:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
@media (max-width: 27rem) { .aqs-language { font-size: .92rem; } }
@container site-header (max-width: 20em) {
  .masthead-inner { width: calc(100% - 1rem); }
  .brand { flex: none; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@container site-header (max-width: 17em) {
  .nav-toggle { min-width: 44px; padding-inline: .4rem; }
  .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@container site-header (max-width: 12em) {
  .aqs-language { min-width: 44px; padding-inline: .4rem; }
  .aqs-language span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.footer-brand strong,.aqs-section-links li,.aqs-section-links a { min-inline-size:0; overflow-wrap:anywhere; }
.story-copy,.aqs-contact,.aqs-explore,.aqs-routes,.feature-text,.page-body { overflow-wrap:anywhere; }
[id] { scroll-margin-block-start:.35rem; }

.profile-link { display: flex; width: fit-content; max-width: 100%; overflow-wrap: anywhere; margin-bottom: .75rem; }
.aqs-instagram iframe.aqs-profile-frame {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 540 / 615;
  min-height: 355px;
  margin-inline: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}
#instagram-ayuda { margin-bottom: .75rem; }

.footer-end { flex-wrap: wrap; column-gap: 1.5rem; }
.footer-news { margin-inline-end: auto; }
/* Measure the menu only when author styles are available. */
.nav-probe[hidden] { display: block !important; }

/* Keep smaller captions, the large accent and white button text legible on handheld displays. */
@media (max-width: 56rem), (any-pointer: coarse) {
  :root { --leaf: #548052; --quiet: #48574b; }
  .action {
    background-color: #294f32;
    background-image: linear-gradient(165deg, #ffffff0a, transparent);
  }
  .action:hover { background-color: #24482e; }
  .action::after { background-image: linear-gradient(100deg, transparent, #e6efe60c, transparent); }
}

/* Flat mobile header with full-height touch targets. */
@media (max-width: 56rem) {
  .masthead::before {
    background: white;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .masthead .nav-toggle,
  .masthead .aqs-language,
  .masthead .main-nav a {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .masthead .header-menu[open] > .nav-toggle,
  .masthead a:hover,
  .masthead .nav-toggle:hover,
  .masthead .main-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: .2em;
  }
  .masthead .nav-toggle:hover,
  .masthead .nav-toggle:active { transform: none; }
  .masthead .nav-toggle::after { content: none; }
  .masthead .header-menu:not(.inline-menu) .main-nav {
    border-radius: 0;
    background: white;
    box-shadow: none;
  }
}

/* Mobile navigation is part of the page and scrolls away with the opening text. */
@media (max-width: 56rem) {
  html { scroll-padding-block-start: .5rem; }
  .masthead { position: relative; top: auto; }
  .masthead::before { content: none; }
  .masthead-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    align-items: center;
    column-gap: .5rem;
    row-gap: 0;
  }
  .masthead .brand { grid-column: 1; grid-row: 1; min-height: 44px; }
  .masthead .language-switch { grid-column: 2; grid-row: 1; }
  .masthead .header-navigation { grid-column: 1 / -1; grid-row: 2; }
  .masthead .nav-toggle {
    position: absolute;
    inset-block-start: .45rem;
    inset-inline-end: 0;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .masthead .nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
  .masthead .nav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .masthead .header-menu:not(.inline-menu) .main-nav {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: .35rem;
    padding: .25rem 0;
    border: 0;
    border-block: 1px solid var(--line);
    animation: none;
  }
  .masthead .header-menu:not(.inline-menu) .main-nav a { padding-inline: 0; border-radius: 0; }
  .feature-text .action {
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--deep);
    text-decoration: underline;
    text-underline-offset: .2em;
  }
  .feature-text .action::after { content: none; }
}

.erasmus-resource { display: flex; margin-block: 1.5rem; }
.erasmus-resource a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  max-width: 100%;
  color: var(--forest);
  text-underline-offset: .2em;
}
.erasmus-resource a img {
  width: 10rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

/* Keep text links identifiable on both white content and the light grey footer. */
#principal :is(p, li, address, figcaption, .elementor-widget-text-editor) a:not(.action, .elementor-button, .activity-row),
#principal :is(a.underlink, a.back),
body#inicio :is(.footer, .elementor-location-footer) a {
  color: #365e3b;
  text-decoration-line: underline;
  text-underline-offset: .2em;
}
body#inicio :is(.footer, .elementor-location-footer) a:is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
