@font-face {
  font-display: swap;
  font-family: "SangSangShinb7";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/SSShinb7.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Questrial";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Questrial-Regular.ttf") format("truetype");
}

.light,
[data-theme="emerald"] {
  --color-base-100: oklch(93.8% 0.006 85);
  --color-base-200: oklch(90.5% 0.007 85);
  --color-base-300: oklch(86% 0.007 85);
  --color-base-content: oklch(18% 0.006 85);
}

.dark,
[data-theme="forest"] {
  --color-base-100: oklch(93.8% 0.006 85);
  --color-base-200: oklch(90.5% 0.007 85);
  --color-base-300: oklch(86% 0.007 85);
  --color-base-content: oklch(18% 0.006 85);
}

html,
body {
  background: #edeae4;
}

.softmoon-nav {
  align-items: center;
}

.softmoon-wordmark {
  color: currentColor;
  display: inline-block;
  font-family: "SangSangShinb7", cursive;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-decoration: none;
  transition: color 160ms ease;
  white-space: nowrap;
}

.softmoon-wordmark:hover,
.softmoon-wordmark:focus-visible {
  color: #4b52ff !important;
}

.card-title,
#dream-single-post-main h1[itemprop="headline"] {
  font-family: "Questrial", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.card-title {
  font-size: 1.55rem;
  line-height: 1.15;
}

#dream-single-post-main h1[itemprop="headline"] {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
}

.softmoon-search {
  width: min(42vw, 260px);
}

.softmoon-search input {
  min-width: 0;
}

.dream-grid .card {
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.dream-grid .card::after {
  background-image: url("/img/maanhover.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(82%, 320px);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 180ms ease;
  z-index: 2;
}

.dream-grid .card:hover::after,
.dream-grid .card:focus-visible::after {
  opacity: 0.25;
}

.dream-grid .card > * {
  position: relative;
  z-index: 1;
}

.dream-grid .card figure {
  aspect-ratio: 16 / 10;
  background: #edeae4;
}

.card figure:has(img[src^="/img/blog/"]) {
  aspect-ratio: 16 / 10;
  background: #edeae4;
}

.dream-grid .card figure img,
.dream-grid .card figure picture,
.card figure:has(img[src^="/img/blog/"]) img {
  height: 100%;
  width: 100%;
}

.dream-grid .card figure img,
.card figure:has(img[src^="/img/blog/"]) img {
  object-fit: cover;
}

.dream-grid .card-body {
  gap: 0.55rem;
}

@media (max-width: 639px) {
  .softmoon-nav {
    align-items: flex-start;
    gap: 1rem;
  }

  .softmoon-wordmark {
    font-size: 2.2rem;
  }

  .softmoon-nav-actions {
    width: 100%;
  }

  .softmoon-search {
    flex: 1;
    width: auto;
  }
}
