/* Kate Kolody Next Post */

.kknpost-button-wrap {
  width: 100%;
}

.kknpost-button-link {
  display: inline-flex;
  align-items: center;
  color: #CDC9B9;
  text-decoration: none;
  cursor: pointer;
}

.kknpost-button-link:hover {
  color: #CDC9B9;
  text-decoration: none;
}

.kknpost-button-prefix,
.kknpost-button-text {
  display: inline-block;
}

.kknpost-hero,
.kknpost-hero * {
  box-sizing: border-box;
}

.kknpost-hero {
  --kknpost-media-y: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: #121212;
  text-decoration: none;
  isolation: isolate;
}

a.kknpost-hero {
  cursor: pointer;
}

.kknpost-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.30);
  pointer-events: none;
}

.kknpost-hero-media,
.kknpost-hero-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  overflow: hidden !important;
}

.kknpost-hero-media {
  z-index: 0;
}

.kknpost-hero-image {
  object-fit: cover !important;
  object-position: 50% var(--kknpost-media-y, 50%) !important;
  display: block !important;
}

.kknpost-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.kknpost-hero-title {
  margin: 0;
  color: #CDC9B9;
  max-width: 100%;
}

.kknpost-hero-kicker,
.kknpost-hero-meta,
.kknpost-hero-button {
  color: #CDC9B9;
}

.kknpost-hero-button {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.kknpost-scramble {
  position: relative;
}

.kknpost-scramble .kknpost-char {
  display: inline-block;
  will-change: transform, opacity;
}

/* circular Next cursor */
.kknpost-hero:hover {
  cursor: none;
}

.kknpost-next-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  color: #121212;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.22,.61,.36,1);
}

.kknpost-next-cursor.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--kknpost-cursor-scale, 1));
}

@media (hover: none), (pointer: coarse) {
  .kknpost-hero:hover {
    cursor: pointer;
  }

  .kknpost-next-cursor {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .kknpost-hero {
    min-height: 75vh;
  }
}
