/* ARCHIVAS & DOCUMENTAS — 55 HISTORIA */

body:has(.ay-hist-page) {
  background: linear-gradient(
      180deg,
      var(--ay-hist-lavender-top) 0%,
      var(--ay-hist-lavender-mid) 14%,
      var(--ay-hist-bg) 31%,
      var(--ay-hist-bg) 74%,
      var(--ay-hist-lavender-top) 100%
    ) !important;
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
}

body:has(.ay-hist-page) #content > h1:first-child {
  display: none !important;
}

body:has(.ay-hist-page) header,
body:has(.ay-hist-page) .site-header,
body:has(.ay-hist-page) .site-title,
body:has(.ay-hist-page) .site-title-wrapper,
body:has(.ay-hist-page) .site-search,
body:has(.ay-hist-page) .search-form,
body:has(.ay-hist-page) .search,
body:has(.ay-hist-page) .sub-menu,
body:has(.ay-hist-page) .child-navigation,
body:has(.ay-hist-page) .page-navigation,
body:has(.ay-hist-page) .page-nav,
body:has(.ay-hist-page) nav.breadcrumbs {
  display: none !important;
}

body:has(.ay-hist-page) .ay-hist-nav {
  display: flex !important;
}

body:has(.ay-hist-page) #content,
body:has(.ay-hist-page) #content .blocks,
body:has(.ay-hist-page) #content .block {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.ay-hist-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(
      180deg,
      #b996ef 0%,
      #d8b8ee 58%,
      #f3dbe7 100%
    );
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  box-sizing: border-box;
}

.ay-hist-hero-inner {
  width: min(1000px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 222px;
  display: grid;
  grid-template-columns: 365px 1fr 32px;
  column-gap: 42px;
  align-items: start;
  padding-top: 58px;
  box-sizing: border-box;
  position: relative;
}

.ay-hist-logo-area {
  position: relative;
  min-height: 120px;
}

.ay-hist-logo-text {
  color: var(--ay-hist-dark) !important;
  text-decoration: none !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 43px;
  line-height: 0.86;
  letter-spacing: -0.08em;
  display: inline-block;
}

.ay-hist-logo-wave {
  position: absolute;
  color: var(--ay-hist-dark);
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.22em;
}

.ay-hist-logo-wave-top {
  left: 178px;
  top: -15px;
}

.ay-hist-logo-wave-bottom {
  left: 198px;
  top: 72px;
}

.ay-hist-search-area {
  padding-top: 7px;
}

.ay-hist-login {
  text-align: right;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.ay-hist-login a,
.ay-hist-login span {
  color: var(--ay-hist-dark) !important;
  text-decoration: none !important;
}

.ay-hist-search {
  display: grid;
  grid-template-columns: 88px 1fr 184px;
  width: 520px;
  height: 25px;
  border: 2px solid var(--ay-hist-dark);
  box-sizing: border-box;
}

.ay-hist-search label {
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ay-hist-search input {
  border: 0 !important;
  background: transparent !important;
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  font-size: 12px;
  padding: 0 8px;
  outline: none;
  box-shadow: none !important;
}

.ay-hist-search button {
  border: 0 !important;
  background: var(--ay-hist-dark) !important;
  color: #dfbff0 !important;
  font-family: var(--ay-hist-mono);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.ay-hist-hero-caption {
  width: 520px;
  max-width: 100%;
  margin: 13px 0 0;
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.ay-hist-lang {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  gap: 5px;
  color: var(--ay-hist-dark);
  font-size: 11px;
  font-weight: 900;
  align-items: center;
}

.ay-hist-lang a,
.ay-hist-lang span {
  color: var(--ay-hist-dark) !important;
  text-decoration: none !important;
}

.ay-hist-main-access {
  width: min(640px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  align-items: start;
  padding: 0 0 43px;
}

.ay-hist-access {
  color: var(--ay-hist-dark) !important;
  text-decoration: none !important;
  font-family: var(--ay-hist-mono);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.ay-hist-access strong {
  display: block;
  margin-top: 12px;
  color: var(--ay-hist-dark);
}

.ay-hist-access-active strong {
  color: var(--ay-hist-pink);
}

.ay-hist-access-circle {
  width: 48px;
  height: 48px;
  border: 8px solid var(--ay-hist-pink);
  border-radius: 999px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

.ay-hist-access-mapeo,
.ay-hist-access-femoteca {
  display: block;
  min-height: 50px;
  color: var(--ay-hist-dark);
  font-family: Arial, sans-serif;
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.15em;
}

.ay-hist-access-mapeo {
  font-size: 21px;
}

.ay-hist-access-femoteca {
  font-size: 22px;
}

.ay-hist-nav {
  width: 100%;
  min-height: 23px;
  background: var(--ay-hist-dark);
  justify-content: center;
  align-items: center;
  gap: 0;
}

.ay-hist-nav a {
  display: block;
  color: #caa2e9 !important;
  text-decoration: none !important;
  font-family: var(--ay-hist-mono);
  font-size: 11px;
  line-height: 1;
  padding: 6px 43px 5px;
  text-transform: uppercase;
}

.ay-hist-nav a.active {
  background: #caa2e9;
  color: var(--ay-hist-dark) !important;
}

.ay-hist-nav a:hover {
  color: var(--ay-hist-pink) !important;
}

.ay-hist-layout {
  width: min(var(--ay-hist-content), calc(100% - 80px));
  margin: 0 auto;
  padding-top: 70px;
  display: grid;
  grid-template-columns: 42px var(--ay-hist-left) var(--ay-hist-right);
  column-gap: var(--ay-hist-gap);
  align-items: start;
  font-family: var(--ay-hist-mono);
  color: var(--ay-hist-dark);
  box-sizing: border-box;
}

.ay-hist-side-label {
  position: relative;
  min-height: 200px;
}

.ay-hist-side-label span {
  position: absolute;
  top: 455px;
  left: -18px;
  width: 72px;
  color: var(--ay-hist-pink);
  font-family: var(--ay-hist-mono);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
}

.ay-hist-main-text h1 {
  margin: 0 0 -8px;
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  font-size: 58px;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.06em;
  position: relative;
  z-index: 2;
}

.ay-hist-main-image {
  margin: 0 0 54px;
  padding: 0;
}

.ay-hist-main-image img {
  display: block;
  width: 100%;
  height: 285px;
  object-fit: cover;
  filter: grayscale(100%);
}

.ay-hist-main-text p {
  margin: 0 0 24px;
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  font-size: 14.6px;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.ay-hist-sidebar {
  position: relative;
  padding-top: 48px;
}

.ay-hist-socials {
  position: absolute;
  right: -80px;
  top: 125px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ay-hist-socials a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--ay-hist-dark) !important;
  text-decoration: none !important;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.ay-hist-hitos {
  width: 145px;
  margin: 0 auto;
}

.ay-hist-hitos h2 {
  margin: 0 0 18px;
  color: var(--ay-hist-pink);
  font-family: var(--ay-hist-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.ay-hist-hitos ol {
  list-style: none;
  margin: 0;
  padding: 36px 0 44px;
  background: linear-gradient(
      180deg,
      #b68bed 0%,
      #bd90e6 45%,
      #d3a0c5 100%
    );
  min-height: 1010px;
}

.ay-hist-hitos li {
  position: relative;
  text-align: center;
  margin: 0 0 54px;
}

.ay-hist-hitos li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 25px;
  width: 1.5px;
  height: 43px;
  background: var(--ay-hist-pink);
}

.ay-hist-hitos li:last-child::after {
  display: none;
}

.ay-hist-hitos a {
  color: var(--ay-hist-dark) !important;
  text-decoration: none !important;
  font-family: var(--ay-hist-mono);
  font-size: 15px;
  font-weight: 500;
}

.ay-hist-apoyos-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 75px;
  background: linear-gradient(
      90deg,
      #7d115b 0%,
      #a64cc7 42%,
      #8f87f4 100%
    );
  color: #f4dce7;
  font-family: var(--ay-hist-mono);
  position: relative;
  padding: 0 0 110px;
  box-sizing: border-box;
}

.ay-hist-apoyos-inner {
  width: min(var(--ay-hist-content), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--ay-hist-left) 300px;
  column-gap: 90px;
  align-items: start;
}

.ay-hist-apoyos-text h2 {
  margin: 0 0 58px;
  transform: translateY(-34px);
  color: var(--ay-hist-dark);
  font-family: var(--ay-hist-mono);
  font-size: 49px;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.06em;
}

.ay-hist-apoyos-text p {
  margin: 0 0 22px;
  color: #f4dce7;
  font-family: var(--ay-hist-mono);
  font-size: 14.5px;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.ay-hist-side-label-apoyos {
  position: absolute;
  left: calc(50% - 545px);
  top: 150px;
  min-height: auto;
}

.ay-hist-side-label-apoyos span {
  position: static;
  color: #f4dce7;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: right;
}

.ay-hist-logos {
  padding-top: 90px;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 46px;
  justify-items: center;
  color: var(--ay-hist-dark);
}

.ay-hist-logo-placeholder {
  width: 210px;
  min-height: 40px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ay-hist-dark);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ay-hist-logo-placeholder img {
  display: block;
  max-width: 210px;
  max-height: 70px;
  object-fit: contain;
}

.ay-hist-logo-wide {
  margin-top: 12px;
}

@media (max-width: 1050px) {
.ay-hist-main-text h1 {
  font-size: 50px;
}

.ay-hist-nav a {
  padding-left: 30px;
  padding-right: 30px;
}

.ay-hist-hitos ol {
  min-height: 980px;
}

.ay-hist-apoyos-inner {
  grid-template-columns: 510px 260px;
  column-gap: 60px;
}
}

@media (max-width: 860px) {
.ay-hist-hero-inner {
  grid-template-columns: 1fr;
  row-gap: 28px;
  width: min(620px, calc(100% - 34px));
  min-height: auto;
  padding-top: 42px;
  padding-bottom: 34px;
}

.ay-hist-logo-text {
  font-size: 38px;
}

.ay-hist-lang {
  position: absolute;
  right: 0;
  top: 42px;
}

.ay-hist-search {
  width: 100%;
  grid-template-columns: 88px 1fr 110px;
}

.ay-hist-hero-caption {
  width: 100%;
}

.ay-hist-main-access {
  grid-template-columns: 1fr;
  row-gap: 28px;
  padding-bottom: 34px;
}

.ay-hist-nav {
  flex-wrap: wrap;
}

.ay-hist-nav a {
  padding: 8px 14px;
}

.ay-hist-layout {
  width: min(620px, calc(100% - 34px));
  grid-template-columns: 1fr;
  padding-top: 48px;
}

.ay-hist-side-label-top,
  .ay-hist-side-label-apoyos {
  display: none;
}

.ay-hist-main-text h1 {
  font-size: 42px;
}

.ay-hist-main-image img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.ay-hist-sidebar {
  padding-top: 35px;
}

.ay-hist-socials {
  position: static;
  flex-direction: row;
  margin-bottom: 18px;
}

.ay-hist-hitos {
  width: 100%;
}

.ay-hist-hitos ol {
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 30px;
}

.ay-hist-hitos li {
  margin: 0;
}

.ay-hist-hitos li::after {
  display: none;
}

.ay-hist-apoyos-inner {
  width: min(620px, calc(100% - 34px));
  grid-template-columns: 1fr;
  row-gap: 40px;
}

.ay-hist-apoyos-text h2 {
  font-size: 42px;
}

.ay-hist-logos {
  padding-top: 0;
}
}

@media (max-width: 560px) {
.ay-hist-main-text h1,
  .ay-hist-apoyos-text h2 {
  font-size: 36px;
}

.ay-hist-main-text p,
  .ay-hist-apoyos-text p {
  font-size: 13.5px;
}

.ay-hist-hitos h2 {
  font-size: 25px;
}
}
