.ars-admin-version {
  color: #7b8794;
  font-size: .9rem;
  line-height: 1;
}

.ars-chronicle-page {
  --ars-teal: #00797d;
  --ars-orange: #ff8a1d;
  --ars-red: #9b1132;
  --ars-ink: #20262e;
  --ars-muted: #5f6874;
  --ars-soft: #edf7f6;
  max-width: 1180px;
  margin: 0 auto;
}

.ars-chronicle-page__header {
  margin-bottom: var(--ars-static-header-gap, clamp(1.25rem, 3vw, 2rem));
}

.ars-chronicle-intro {
  max-width: var(--ars-static-intro-width, 920px);
  margin: 0 0 var(--ars-static-intro-gap, clamp(2rem, 4vw, 3.5rem));
  color: var(--ars-ink);
  font-size: var(--ars-static-intro-size, clamp(1.1rem, 1.3vw, 1.25rem));
  line-height: var(--ars-static-intro-line, 1.7);
}

.ars-chronicle-timeline {
  position: relative;
}

.ars-chronicle-decade {
  margin: 0 0 clamp(2.5rem, 6vw, 5rem);
}

.ars-chronicle-decade > h2 {
  display: inline-flex;
  margin: 0 0 1.35rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--ars-ink);
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ars-chronicle-decade__line {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.ars-chronicle-decade__line::before {
  content: "";
  position: absolute;
  top: .8rem;
  bottom: .8rem;
  left: .45rem;
  width: .45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ars-teal), var(--ars-orange), var(--ars-red));
}

.ars-chronicle-entry {
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: 0 0 clamp(1.6rem, 3.4vw, 2.6rem);
}

.ars-chronicle-entry::before {
  content: "";
  position: absolute;
  top: .9rem;
  left: calc(-1 * clamp(1.5rem, 4vw, 3.5rem) + .675rem);
  transform: translateX(-50%);
  width: 1.15rem;
  height: 1.15rem;
  border: .28rem solid #fff;
  border-radius: 999px;
  background: var(--ars-red);
  box-shadow: 0 0 0 .18rem rgba(0, 121, 125, .25);
}

.ars-chronicle-entry__year {
  display: inline-flex;
  width: max-content;
  padding: .3rem .8rem;
  border-radius: .8rem;
  background: #dff2f1;
  color: var(--ars-teal);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.05;
}

.ars-chronicle-entry__head {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: clamp(.9rem, 2vw, 1.35rem);
}

.ars-chronicle-entry__facts {
  display: grid;
  grid-template-columns: 5.4rem minmax(6.2rem, .82fr) minmax(7.6rem, 1fr);
  grid-template-rows: repeat(3, minmax(2.25rem, auto));
  gap: .42rem;
  align-items: stretch;
  margin: 0;
}

.ars-chronicle-leader,
.ars-chronicle-fact {
  border: 1px solid rgba(0, 121, 125, .18);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 .35rem 1rem rgba(25, 34, 44, .035);
  backdrop-filter: blur(2px);
}

.ars-chronicle-leader {
  display: grid;
  grid-row: 1 / span 3;
  place-items: center;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border-left: .32rem solid var(--ars-teal);
  border-radius: .45rem;
}

.ars-chronicle-leader img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 7.7rem;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.ars-chronicle-leader > span {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 7.7rem;
  place-items: center;
  background: var(--ars-soft);
  color: var(--ars-muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ars-chronicle-fact {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  padding: .34rem .62rem .32rem .7rem;
  border-left: .28rem solid var(--ars-orange);
  border-radius: .45rem;
}

.ars-chronicle-fact--teachers {
  border-left-color: var(--ars-orange);
}

.ars-chronicle-fact--students {
  border-left-color: var(--ars-teal);
}

.ars-chronicle-fact--classes {
  border-left-color: var(--ars-teal);
}

.ars-chronicle-fact--newspaper {
  grid-column: 3;
  grid-row: 1 / span 3;
  border-left-color: var(--ars-red);
}

.ars-chronicle-fact__icon {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ars-soft);
  font-size: .82rem;
  line-height: 1;
}

.ars-chronicle-fact dl {
  margin: 0;
  min-width: 0;
}

.ars-chronicle-entry__facts dt {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  margin: 0 0 .08rem;
  color: var(--ars-muted);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.ars-chronicle-entry__facts dd {
  margin: 0;
  color: var(--ars-ink);
  font-size: .98rem;
  line-height: 1.08;
  font-weight: 800;
}

.ars-chronicle-newspapers {
  display: grid;
  gap: .18rem;
}

.ars-chronicle-newspaper-link {
  width: max-content;
  max-width: 100%;
  color: var(--ars-teal);
  font-size: .92rem;
  font-weight: 850;
  line-height: 1.18;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.ars-chronicle-newspaper-link:hover,
.ars-chronicle-newspaper-link:focus-visible {
  color: var(--ars-red);
}

.ars-chronicle-entry__events {
  display: grid;
  gap: clamp(.9rem, 1.8vw, 1.25rem);
  margin: .3rem 0 0;
}

.ars-chronicle-event {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0, 121, 125, .22);
  border-left: .45rem solid var(--ars-teal);
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 .9rem 2rem rgba(25, 34, 44, .06);
}

.ars-chronicle-event:nth-child(3n+2) {
  border-color: rgba(255, 138, 29, .28);
  border-left-color: var(--ars-orange);
}

.ars-chronicle-event:nth-child(3n) {
  border-color: rgba(155, 17, 50, .25);
  border-left-color: var(--ars-red);
}

.ars-chronicle-event__content {
  padding: clamp(1.1rem, 2.6vw, 2rem);
}

.ars-chronicle-event__content h3 {
  margin: 0 0 .55rem;
  color: var(--ars-ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.ars-chronicle-event__content p {
  margin: 0;
  color: var(--ars-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.ars-chronicle-event__figure {
  position: relative;
  margin: 0;
  background: #18202a;
}

.ars-chronicle-event__image-button {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.ars-chronicle-event__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 17rem;
  object-fit: cover;
  transition: transform .2s ease, filter .2s ease;
}

.ars-chronicle-event__image-button:hover img,
.ars-chronicle-event__image-button:focus-visible img {
  transform: scale(1.02);
  filter: brightness(.92);
}

.ars-chronicle-event__figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .35rem .7rem;
  background: rgba(24, 32, 42, .78);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.ars-chronicle-entry__caption {
  margin: .75rem 0 0;
  text-align: center;
  font-size: .95rem !important;
  color: var(--ars-muted);
}

.ars-chronicle-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #151a21;
  color: #fff;
  overflow-y: auto;
}

.ars-chronicle-dialog::backdrop {
  background: rgba(9, 12, 16, .82);
}

.ars-chronicle-dialog__logo {
  position: fixed;
  top: clamp(.75rem, 2vw, 1.15rem);
  left: clamp(1rem, 3vw, 1.75rem);
  z-index: 2;
  display: inline-flex;
  width: clamp(3rem, 7vw, 4.4rem);
  height: auto;
  line-height: 0;
  border: 0;
  text-decoration: none;
}

.ars-chronicle-dialog__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.ars-chronicle-dialog__logo:focus,
.ars-chronicle-dialog__logo:focus-visible {
  outline: 0;
  box-shadow: none;
}

.ars-chronicle-dialog__close {
  position: fixed;
  top: clamp(.8rem, 2vw, 1.25rem);
  right: clamp(1rem, 3vw, 1.75rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  padding: .15rem 2rem .15rem 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: clamp(.92rem, 2vw, 1.08rem);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.ars-chronicle-dialog__close span {
  display: none;
}

.ars-chronicle-dialog__close::before,
.ars-chronicle-dialog__close::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1.35rem;
  height: .16rem;
  background: currentColor;
  border-radius: 0;
  transform-origin: center;
}

.ars-chronicle-dialog__close::before {
  transform: translateY(-50%) rotate(45deg);
}

.ars-chronicle-dialog__close::after {
  transform: translateY(-50%) rotate(-45deg);
}

.ars-chronicle-dialog__close:focus-visible {
  outline: 0;
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}

.ars-chronicle-dialog__inner {
  width: min(670px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 7vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
}

.ars-chronicle-dialog__inner h3 {
  margin: 0 0 clamp(1.25rem, 3vw, 1.8rem);
  color: #fff;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.12;
}

.ars-chronicle-dialog__inner figure {
  position: relative;
  width: 100%;
  max-width: 670px;
  margin: 0 auto;
  background: #0e1116;
}

.ars-chronicle-dialog__inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 16rem);
  object-fit: contain;
}

.ars-chronicle-dialog__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .35rem .7rem;
  background: rgba(24, 32, 42, .78);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
}

.ars-chronicle-dialog__caption {
  margin: .9rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  font-weight: 700;
}

.ars-chronicle-dialog__inner > p:not(.ars-chronicle-dialog__caption) {
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  line-height: 1.65;
}

.ars-admin-events {
  display: grid;
  gap: .8rem;
}

.ars-admin-event {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: .8rem;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .75);
}

.ars-admin-event--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.ars-admin-event img {
  width: 5rem;
  height: 4rem;
  object-fit: cover;
  border-radius: .45rem;
}

.ars-admin-event h3 {
  margin: 0 0 .2rem;
  font-size: 1.05rem;
}

.ars-admin-event p {
  margin: 0 0 .2rem;
}

@media (min-width: 760px) {
  .ars-chronicle-event--image {
    display: grid;
    grid-template-columns: minmax(18rem, .48fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .ars-chronicle-event--image .ars-chronicle-event__figure,
  .ars-chronicle-event--image .ars-chronicle-event__image-button,
  .ars-chronicle-event--image .ars-chronicle-event__figure img {
    height: 100%;
    min-height: 18rem;
    max-height: none;
  }
}

@media (max-width: 980px) {
  .ars-chronicle-entry__head {
    grid-template-columns: 1fr;
  }

  .ars-chronicle-entry__facts {
    width: min(100%, 28rem);
  }
}

@media (max-width: 640px) {
  .ars-chronicle-decade__line {
    padding-left: 1.4rem;
  }

  .ars-chronicle-entry::before {
    left: calc(-1.4rem + .675rem);
  }

  .ars-chronicle-entry__facts {
    grid-template-columns: minmax(7.4rem, 34vw) minmax(0, 1fr);
    grid-template-rows: none;
  }

  .ars-chronicle-leader {
    grid-row: 1 / span 4;
    min-height: 13.4rem;
  }

  .ars-chronicle-leader img,
  .ars-chronicle-leader > span {
    min-height: 13.4rem;
  }

  .ars-chronicle-fact--newspaper {
    grid-column: 2;
    grid-row: auto;
  }
}

@media (max-width: 420px) {
  .ars-chronicle-entry__facts {
    grid-template-columns: minmax(6.4rem, 34vw) minmax(0, 1fr);
  }

  .ars-chronicle-leader,
  .ars-chronicle-leader img,
  .ars-chronicle-leader > span {
    min-height: 12rem;
  }
}
