/* First-paint journal layout — must load on every page for Framer SPA nav */
.framer-au5gle,
.framer-UKDkJ .framer-au5gle,
.framer-vP0Cg .framer-au5gle {
  overflow: hidden !important;
}

#main,
#main > div,
.framer-UKDkJ,
.framer-vP0Cg {
  overflow-x: hidden !important;
}

.framer-bmtyae,
.framer-bmtyae .svgContainer,
.framer-bmtyae svg {
  width: 119px !important;
  height: 107px !important;
  max-width: 119px !important;
  max-height: 107px !important;
}

.framer-bmtyae {
  position: absolute !important;
  overflow: hidden !important;
  flex: none !important;
}

.framer-MbfZN {
  position: relative !important;
  overflow: hidden !important;
}

#journal-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cj-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.cj-hero-visual {
  flex: 1;
  max-width: 520px;
  overflow: hidden;
  min-width: 0;
}

.cj-hero-visual img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.cj-featured-visual {
  flex: 1.1;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.cj-featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cj-card-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.cj-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cj-small-visual {
  width: 80px;
  height: 80px;
  overflow: hidden;
  flex-shrink: 0;
}

.cj-small-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .cj-hero {
    flex-direction: column;
  }

  .cj-hero-visual {
    max-width: 100%;
  }

  .cj-featured-visual {
    min-height: 240px;
  }
}
