/* Slide frame, styled after the designers' template. Markup is built in js/lib/frame.js. */
.frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--wro-white);
  color: var(--wro-black);
  font-family: var(--font-body);
}

/* red block, top left */
.frame::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 180px; height: 90px;
  background: var(--wro-red);
}

/* blue circle, right edge */
.frame::after {
  content: '';
  position: absolute;
  right: -91px; top: 758px;
  width: 182px; height: 182px;
  border-radius: 50%;
  background: var(--wro-blue);
}

.frame__logo {
  position: absolute;
  top: 28px; right: 26px;
  width: 170px;
  height: auto;
  z-index: 2;
}

.frame__bar {
  position: absolute;
  left: 200px; right: 240px; top: 112px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.frame__tab { display: none; }
.frame__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 12px;
}
.frame__aside {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  white-space: nowrap;
}

.frame__body {
  position: absolute;
  left: 200px; right: 200px; top: 236px; bottom: 96px;
}

.frame__footer { position: absolute; inset: 0; pointer-events: none; }
.frame__source {
  position: absolute;
  left: 270px; bottom: 24px;
  max-width: 600px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.35;
  color: var(--wro-grey);
}
.frame__wro {
  position: absolute;
  left: 50%; bottom: 14px;
  width: 225px; height: auto;
  transform: translateX(-50%);
}
.frame__page {
  position: absolute;
  right: 48px; bottom: 22px;
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--wro-grey);
}

/* black triangle, bottom left */
.frame__triangle {
  position: absolute;
  left: 0; bottom: 0;
  width: 250px; height: 126px;
  background: var(--wro-black);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.frame__half { display: none; }
