/*
  Dew 스타일 (숲 초록 · 미색 · 명조 제목 · 유리 카드)
  - head.php에서 footer.css 다음, 맨 마지막에 불러옵니다.
  - 고딕은 기기 기본 글꼴(맥·아이폰 Apple SD Gothic Neo, 윈도우 맑은 고딕, 안드로이드 Noto Sans KR)을 씁니다.
  - 명조(Noto Serif KR)는 화면에 나오는 글자만 받아 옵니다(head.php·home.php의 dew_serif_font_link).
  - 되돌리려면 head.php의 Dew 표시 줄들만 지우면 됩니다.
*/

/* ---------- 색 ---------- */

:root,
:root[data-theme="white"] {
  --bg: #eef1ea;
  --panel: #f8f9f5;
  --panel-soft: rgba(248, 249, 245, 0.86);
  --ink: #1b2117;
  --muted: #5f6359;
  --line: #d9ded3;
  --accent: #2e5c44;
  --accent-dark: #1f4130;
  --green: #3c7a57;
  --danger: #a63838;
  --shadow: 0 18px 60px rgba(20, 32, 22, 0.08);

  --graph-bg: #eef1ea;
  --graph-fog: #eef1ea;
  --graph-line: #a3ab9c;
  --graph-node: #2e5c44;
  --graph-current: #906c53;
  --graph-missing: #c1c2b3;
  --graph-label: #1b2117;

  --dew-forest: #0f1a13;
  --dew-forest-2: #1d3426;
  --dew-moss: #444027;
  --dew-clay: #906c53;
  --dew-clay-text: #7a5843;
  --dew-sand: #c1c2b3;
  --dew-mist: #e0e7dc;
  --dew-serif: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  --dew-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0d1410;
  --panel: #141d17;
  --panel-soft: rgba(20, 29, 23, 0.9);
  --ink: #e8ede3;
  --muted: #a2aa9b;
  --dew-clay-text: #d2a98a;
  --line: #27332b;
  --accent: #8fbf9e;
  --accent-dark: #b7dbc2;
  --green: #8fbf9e;
  --danger: #ff8a7a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);

  --graph-bg: #0d1410;
  --graph-fog: #0d1410;
  --graph-line: #4f5d52;
  --graph-node: #8fbf9e;
  --graph-current: #d2a98a;
  --graph-missing: #3d4a40;
  --graph-label: #e8ede3;
}

/* ---------- 글꼴 ---------- */

body {
  font-family: var(--dew-sans);
  letter-spacing: -0.01em;
}

.tv-list-hero h1,
.doc-content-head h1 {
  font-family: var(--dew-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ---------- 상단 바 ---------- */

.site-topbar {
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.topbar-nav a {
  font-weight: 600;
}

.topbar-search,
.topbar-theme,
.topbar-account {
  border-radius: 999px;
}

.topbar-start {
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
}

/* ---------- 왼쪽 메뉴 ---------- */

.soft-sidebar {
  background: color-mix(in srgb, var(--bg) 70%, var(--panel));
  border-right: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.soft-brand-mark {
  border-radius: 999px;
  background: var(--dew-forest-2);
}

.soft-brand strong {
  font-family: var(--dew-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.soft-sidebar-search input {
  border-radius: 999px;
  box-shadow: none;
}

.soft-sidebar-card {
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  box-shadow: none;
}

.soft-card-title strong {
  font-weight: 700;
}

.soft-category-list a {
  border-radius: 999px;
}

.soft-tag-cloud a {
  border-radius: 999px;
  background: transparent;
}

/* 목록 페이지 상단 박스는 밝게, 명조 제목만 */

.tv-list-hero {
  border-radius: 28px;
  background: var(--panel);
  box-shadow: none;
}

/* ---------- 버튼 ---------- */

.tv-btn {
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 600;
}

.tv-btn.primary {
  box-shadow: none;
}

/* ---------- 섹션 제목 ---------- */

.tv-section-head span,
.tv-result-toolbar span {
  color: var(--dew-clay-text);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tv-section-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

/* ---------- 문서 카드 ---------- */

.tv-doc-card,
.tv-result-card,
.tv-empty-card {
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: none;
}

.tv-doc-card::after,
.tv-result-card::after {
  background: color-mix(in srgb, var(--green) 8%, transparent);
}

.tv-doc-card:hover,
.tv-result-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 22px 50px rgba(20, 32, 22, 0.08);
}

.tv-card-top span {
  color: var(--dew-clay-text);
  font-weight: 600;
}

.tv-card-top em {
  border-radius: 999px;
}

.tv-doc-card strong,
.tv-result-card strong {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- 태그 ---------- */

.tv-tag-cloud a {
  border-radius: 999px;
}

/* ---------- 오른쪽 칸 ---------- */

.tv-rail-card {
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  box-shadow: none;
}

.tv-rail-title {
  font-weight: 700;
}

/* ---------- 문서 본문 ---------- */

.doc-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 3px;
}

.doc-body blockquote {
  border-left-color: var(--dew-clay);
}

.doc-toc-card {
  border-radius: 20px;
}

/* =========================================================
   첫 화면 (Dew 구성) — views/pages/home.php
   ========================================================= */

/* 첫 화면에서는 왼쪽 메뉴를 숨기고(PC), 본문 여백 없이 화면 끝까지 씁니다 */
@media (min-width: 861px) {
  .app-shell:has(.dew-home) {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-shell:has(.dew-home) > .soft-sidebar {
    display: none;
  }
}

.content:has(.dew-home) {
  padding: 0;
}

.content:has(.dew-home) .site-topbar {
  margin: 0;
}

.content:has(.dew-home) .site-footer {
  padding: 28px clamp(18px, 5vw, 72px) 36px;
}

.dew-home {
  --dew-pad: clamp(18px, 5vw, 72px);
  --dew-light: #f2f5ee;
  --dew-light-soft: rgba(242, 245, 238, 0.74);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.dew-home h1,
.dew-home h2 {
  margin: 0;
  font-family: var(--dew-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.dew-home h2 {
  font-size: clamp(30px, 3.6vw, 52px);
}

.dew-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--dew-clay-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

/* 공통: 버튼, 유리 카드, 격자선, 배경 사진 */

.dew-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.dew-btn.primary {
  border-color: #3c7a57;
  background: #3c7a57;
  color: #fff;
}

.dew-btn.primary:hover {
  background: #2e5c44;
}

.dew-btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--dew-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dew-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.dew-glass {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  color: var(--dew-light);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.dew-gridlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 100% 50%;
  pointer-events: none;
}

.dew-hero-photo,
.dew-section-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 1. 첫 화면 */

.dew-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(86vh, 780px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px) var(--dew-pad);
  background: var(--dew-forest);
  color: var(--dew-light);
}

.dew-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 18, 13, 0.3) 0%, rgba(10, 18, 13, 0.05) 35%, rgba(10, 18, 13, 0.55) 75%, rgba(10, 18, 13, 0.85) 100%),
    linear-gradient(90deg, rgba(10, 18, 13, 0.55), transparent 60%);
}

.dew-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.dew-hero .dew-kicker {
  color: rgba(242, 245, 238, 0.72);
}

.dew-hero h1 {
  color: #f6f8f2;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.dew-hero-copy p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(242, 245, 238, 0.8);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7;
}

.dew-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dew-hero-stats {
  position: absolute;
  top: clamp(24px, 6vw, 72px);
  right: var(--dew-pad);
  z-index: 1;
  width: 280px;
  padding: 16px 18px 18px;
}

.dew-glass-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: rgba(242, 245, 238, 0.75);
  font-size: 12px;
}

.dew-glass-head em {
  color: #8fbf9e;
  font-size: 10px;
  font-style: normal;
}

.dew-hero-stats dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.dew-hero-stats dl div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.dew-hero-stats dt {
  color: rgba(242, 245, 238, 0.7);
  font-size: 11px;
}

.dew-hero-stats dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.dew-hero-chips {
  position: absolute;
  right: var(--dew-pad);
  bottom: clamp(28px, 5vw, 64px);
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 380px;
}

.dew-chip {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--dew-light);
  font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dew-chip:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 2. 소개 문장 (아래 줄로 갈수록 흐려짐) */

.dew-about {
  padding: clamp(24px, 3vw, 36px) var(--dew-pad) clamp(56px, 8vw, 110px);
  background: var(--bg);
}

.dew-about-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(36px, 6vw, 80px);
  color: var(--muted);
  font-size: 13px;
}

.dew-about-labels span:last-child {
  color: var(--ink);
}

.dew-about-text {
  max-width: 1000px;
  margin: 0 0 0 auto;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    var(--ink) 34%,
    color-mix(in srgb, var(--ink) 42%, transparent) 67%,
    color-mix(in srgb, var(--ink) 16%, transparent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.02em;
  text-indent: 18%;
}

/* 3. 사진 타일 */

.dew-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.dew-tile {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 52px) 20px;
  border-right: 1px solid var(--line);
}

.dew-tile:last-child {
  border-right: 0;
}

.dew-tile-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 56px;
}

.dew-tile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dew-tile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 13, 0.22);
}

.dew-tile-photo b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.dew-tile:hover .dew-tile-photo img {
  transform: scale(1.06);
}

.dew-tile small {
  color: var(--muted);
  font-size: 12px;
}

/* 4. 흐르는 띠 */

.dew-marquee {
  overflow: hidden;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.dew-marquee-track {
  display: flex;
  width: max-content;
  color: var(--ink);
  font-family: var(--dew-serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  animation: dew-marquee 45s linear infinite;
}

.dew-marquee-track span,
.dew-marquee-track i {
  padding-right: 28px;
}

.dew-marquee-track i {
  color: var(--dew-clay-text);
  font-style: normal;
}

@keyframes dew-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 5. 최신 문서 (짙은 초록) */

.dew-latest {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) var(--dew-pad);
  background: var(--dew-forest);
  color: var(--dew-light);
  scroll-margin-top: 64px;
}

.dew-latest::after,
.dew-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 40%, rgba(29, 52, 38, 0.55), rgba(10, 18, 13, 0.92) 75%);
}

.dew-latest .dew-kicker,
.dew-split .dew-kicker,
.dew-cta .dew-kicker {
  color: rgba(242, 245, 238, 0.65);
}

.dew-latest-intro p {
  margin: 18px 0 0;
  color: var(--dew-light-soft);
  font-size: 15px;
}

.dew-lead {
  display: grid;
  overflow: hidden;
  transition: transform 0.2s ease;
}

a.dew-lead:hover {
  transform: translateY(-4px);
}

.dew-lead-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.dew-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dew-lead-body {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}

.dew-lead-body em {
  color: #8fbf9e;
  font-size: 12px;
  font-style: normal;
}

.dew-lead-body strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.dew-lead-body span {
  color: var(--dew-light-soft);
  font-size: 13px;
  line-height: 1.6;
}

.dew-lead-body small {
  color: rgba(242, 245, 238, 0.6);
  font-size: 12px;
}

.dew-latest-list {
  display: grid;
}

.dew-latest-list a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(242, 245, 238, 0.85);
  font-size: 14px;
  line-height: 1.5;
  transition: padding 0.16s ease, color 0.16s ease;
}

.dew-latest-list a:hover {
  padding-left: 6px;
  color: #fff;
}

/* 6. 많이 본 문서 */

.dew-popular {
  padding: clamp(64px, 8vw, 110px) var(--dew-pad);
  background: var(--bg);
}

.dew-center-head {
  margin-bottom: clamp(32px, 4vw, 56px);
  text-align: center;
}

.dew-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.dew-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dew-bento-card.is-large {
  grid-row: span 2;
}

.dew-bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(20, 32, 22, 0.1);
}

.dew-bento-photo {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 140px;
  overflow: hidden;
  background: #fff;
}

.dew-bento-photo img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
}

.dew-bento-text {
  display: grid;
  gap: 6px;
  padding: 16px 20px 18px;
}

.dew-bento-text strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.dew-bento-text small {
  color: var(--muted);
  font-size: 12px;
}

.dew-bento-card.no-photo {
  justify-content: flex-end;
  border-color: transparent;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(143, 191, 158, 0.3), transparent 60%),
    linear-gradient(160deg, var(--dew-forest-2), var(--dew-forest));
}

.dew-bento-card.no-photo strong {
  color: var(--dew-light);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
}

.dew-bento-card.no-photo small {
  color: rgba(242, 245, 238, 0.65);
}

/* 7. 반반: 찾는 방법 + 사진 */

.dew-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 540px;
}

.dew-split-steps {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(48px, 6vw, 90px) var(--dew-pad);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(143, 191, 158, 0.28), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(60, 122, 87, 0.35), transparent 55%),
    linear-gradient(160deg, var(--dew-forest-2), var(--dew-forest));
  color: var(--dew-light);
  text-align: center;
}

.dew-split ol {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 34px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.dew-split ol::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  border-left: 1px dashed rgba(255, 255, 255, 0.35);
}

.dew-split li {
  position: relative;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dew-split li:first-child {
  background: rgba(143, 191, 158, 0.3);
}

.dew-split-photo {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  overflow: hidden;
}

.dew-split-photo img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dew-split-photo .dew-gridlines {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px) 0 0 / 33.33% 100%,
    linear-gradient(0deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px) 0 0 / 100% 33.33%;
}

/* 8. 태그·카테고리 */

.dew-tags {
  padding: clamp(64px, 8vw, 110px) var(--dew-pad) clamp(44px, 5vw, 70px);
  background: var(--bg);
  scroll-margin-top: 64px;
}

.dew-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.dew-tag-cloud a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.dew-tag-cloud a span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

.dew-tag-cloud a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dew-category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  max-width: 960px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.dew-category-strip > span {
  font-size: 13px;
}

.dew-category-strip a {
  color: var(--ink);
  font-weight: 600;
}

.dew-category-strip em {
  margin-left: 4px;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

/* 9. 마무리: 검색 */

.dew-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(72px, 9vw, 130px) var(--dew-pad);
  background: var(--dew-forest);
}

.dew-cta-box {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 640px);
  padding: clamp(32px, 4vw, 52px);
  text-align: center;
}

.dew-cta .dew-kicker {
  margin: 0;
}

.dew-cta-box p {
  margin: 0;
  color: var(--dew-light-soft);
  font-size: 15px;
}

.dew-cta-search {
  display: flex;
  gap: 8px;
  width: min(100%, 440px);
  margin-top: 14px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dew-cta-search input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.dew-cta-search input::placeholder {
  color: rgba(242, 245, 238, 0.55);
}

/* 첫 화면: 화면 크기별 */

@media (max-width: 1100px) {
  .dew-latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dew-latest-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .dew-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 22px;
    min-height: 640px;
  }

  .dew-hero-stats,
  .dew-hero-chips {
    position: static;
  }

  .dew-hero-chips {
    order: 2;
    justify-content: flex-start;
    max-width: none;
  }

  .dew-hero-stats {
    order: 3;
    width: 100%;
  }

  .dew-latest,
  .dew-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .dew-split-photo {
    min-height: 300px;
  }

  .dew-about-text {
    text-indent: 0;
  }
}

@media (max-width: 640px) {
  .dew-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .dew-tile {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dew-tile:last-child {
    border-bottom: 0;
  }

  .dew-tile-photo {
    width: min(100%, 260px);
    aspect-ratio: 4 / 3;
    border-radius: 44px;
  }

  .dew-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .dew-bento-card.is-large {
    grid-row: auto;
  }

  .dew-about-labels {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dew-marquee-track {
    animation: none;
  }
}
