@charset "utf-8";

/* Google Fonts & Pretendard Webfont */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');

:root {
  /* 가상 브랜드 컬러 및 타이포그래피 토큰 */
  --primary: #181b20;
  --accent: #8c7a6b;
  --bg-white: #ffffff;
  --bg-black: #000000;
  --bg-muted: #f7f7f7;
  --bg-slot: #f4f4f2;
  --text-main: #222222;
  --text-body: #666666;
  --text-muted: #999999;
  --border-dark: #000000;
  --border-light: #e1e1e1;
  --border-slot: #c8c8c4;

  --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-display: 'Italiana', Georgia, serif;
  --font-en: 'Poppins', sans-serif;

  --container-width: 1280px;
  --header-height: 110px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  font-family: var(--font-kr);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

ul, ol, dl, dt, dd {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
  border: 0;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button, input[type="submit"] {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   공통 이미지 플레이스홀더 슬롯 (.img-slot)
   이미지를 준비하면 내부 안내를 지우고 <img> 태그로 바로 교체 가능
   ========================================================= */
.img-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--bg-slot);
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%);
  background-position: 12px 0, 12px 0, 0 0, 0 0;
  background-size: 24px 24px;
  border: 1px dashed var(--border-slot);
  color: #555;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.img-slot--dark {
  background-color: #16181c;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
}

.img-slot__badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.img-slot--dark .img-slot__badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.img-slot__title {
  font-size: 14px;
  font-weight: 600;
}

.img-slot__meta {
  font-family: var(--font-en);
  font-size: 12px;
  opacity: 0.72;
}
