@charset "utf-8";
/* ============================================================
   오늘의 주방 — 티스토리 스킨 'Warm Kitchen' v1.0 (2026-11-16)
   목록 = 크림색 바탕 + 흰 카드(검색 대표 이미지 search-thumb.png 1200×675 = 16:9) / 글 상세 = 흰 읽기 화면
   포인트 색은 관리 > 스킨 편집 > 스킨 옵션의 '포인트 색'(기본 #C2410C = blogs/kitchen/templates.md)
   구조는 blogs/ai/skin 을 본떴다(광고 자리 엔진·함께 보면 좋은 글·댓글 없음). 색·모양은 이 블로그용.
   ============================================================ */

:root {
  --point: #C2410C;               /* skin.html 의 <style> 에서 스킨 옵션 값으로 덮어쓴다 */
  --point-ink: #ffffff;           /* 포인트 색 위 글자 */
  --point-soft: color-mix(in srgb, var(--point) 10%, #fff);
  --bg: #fdf8f3;
  --panel: #ffffff;
  --panel-soft: #f7efe6;
  --line: #eadfd3;
  --text: #2a211b;
  --sub: #5a4d43;
  --dim: #8f7f72;
  --radius: 16px;
  --wrap: 780px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* 글 상세(티스토리 body id = tt-body-page)는 흰 읽기 화면 */
#tt-body-page { --bg: #ffffff; --panel: #fdf8f3; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }

.site { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--point); color: var(--point-ink);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--point) 30%, transparent);
}
.brand-name { font-size: 19px; color: var(--text); }
.head-search {
  position: relative; flex: 0 1 320px; display: flex; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
}
.head-search input { width: 100%; padding: 9px 40px 9px 16px; border: 0; background: transparent; outline: none; font-size: 14px; }
.head-search input::placeholder { color: var(--dim); }
.head-search:focus-within { border-color: var(--point); }
.head-search-btn {
  position: absolute; right: 6px; display: grid; place-items: center; width: 30px; height: 30px;
  border: 0; border-radius: 50%; background: transparent; color: var(--sub); cursor: pointer;
}

/* ---------- 카테고리 칩 (티스토리 [##_category_list_##] 구조를 칩으로 펼친다) ---------- */
.cat-chips { margin: 0 -20px; padding: 4px 20px 14px; overflow-x: auto; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips ul { list-style: none; margin: 0; padding: 0; }
.cat-chips .tt_category { display: flex; gap: 8px; width: max-content; }
.cat-chips .tt_category > li,
.cat-chips .category_list,
.cat-chips .category_list > li { display: contents; }
.cat-chips .sub_category_list,
.cat-chips .c_cnt,
.cat-chips img { display: none !important; }
.cat-chips a {
  display: inline-block; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--sub); font-size: 14px; font-weight: 600;
  transition: color .15s, border-color .15s, background .15s;
}
.cat-chips a:hover { color: var(--point); border-color: color-mix(in srgb, var(--point) 45%, var(--line)); }
.cat-chips a.is-active { background: var(--point); border-color: var(--point); color: var(--point-ink); }
.cat-chips .link_tit { font-size: 0; }               /* '분류 전체보기' → '전체' */
.cat-chips .link_tit::before { content: "전체"; font-size: 14px; }

/* ---------- 첫 화면 패널 (홈에서만) ---------- */
.hero {
  position: relative; overflow: hidden; margin: 6px 0 28px; padding: 40px 34px 34px;
  border-radius: 24px; background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--point) 22%, transparent), transparent 70%),
    linear-gradient(160deg, #fff4ea, #fde9d8);
  border: 1px solid color-mix(in srgb, var(--point) 18%, var(--line));
}
.hero-kicker { margin: 0 0 12px; color: var(--point); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero-title { margin: 0 0 12px; font-size: clamp(26px, 5.4vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -0.035em; }
.hero-desc { margin: 0; max-width: 520px; color: var(--sub); font-size: 15.5px; }

/* 홈이 아닌 곳에서는 첫 화면 패널·'최근 글' 제목을 숨긴다 */
body:not(#tt-body-index) .hero,
body:not(#tt-body-index) .section-head { display: none; }

/* ---------- 섹션 제목 ---------- */
.section-head, .list-head { margin: 0 0 16px; }
.section-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.section-title::before {
  content: ""; display: inline-block; width: 4px; height: 16px; margin-right: 9px;
  border-radius: 2px; background: var(--point); vertical-align: -1px;
}
.section-desc { margin: 4px 0 0; color: var(--dim); font-size: 14px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 8px; }
.list-count { color: var(--dim); font-size: 14px; }

/* 목록형(분류 '목록만' 설정 시) */
.simple-list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.simple-list a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.simple-list a:hover .sl-title { color: var(--point); }
.sl-date { color: var(--dim); font-size: 13px; white-space: nowrap; }

/* ---------- 카드 목록 ---------- */
body:not(#tt-body-page) .post-area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--point) 40%, var(--line)); box-shadow: 0 10px 24px rgba(90, 50, 20, .08); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;   /* 블로그 대표 이미지(search-thumb.png 1200×675)와 같은 비율 — 2026-11-16 공통 규칙 변경 */
  background: linear-gradient(150deg, #fff1e4, #fbe2cc);
}
.card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-thumb img { transform: scale(1.03); }
.card-thumb:not(:has(img))::after {             /* 대표 이미지가 없는 글 */
  content: "오늘의 주방"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: color-mix(in srgb, var(--point) 55%, #fff); letter-spacing: -0.02em;
}
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-cat { color: var(--point); font-size: 12.5px; font-weight: 800; }
.card-cat:empty { display: none; }
.card-title {
  font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-summary {
  margin: 0; color: var(--sub); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-date { margin-top: auto; padding-top: 4px; color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------- 페이지 번호 ---------- */
.paging { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 36px 0 8px; }
.pg-nums { display: flex; gap: 6px; }
.pg-arrow, .pg-num span {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px;
  border-radius: 10px; color: var(--sub); font-size: 14px; font-weight: 600;
}
.pg-arrow { border: 1px solid var(--line); font-size: 18px; background: var(--panel); }
.pg-num span.selected { background: var(--point); color: var(--point-ink); }
.pg-num:hover span:not(.selected), .pg-arrow:hover { color: var(--point); background: var(--panel-soft); }
.pg-arrow.no-more-prev, .pg-arrow.no-more-next { visibility: hidden; }

/* ---------- 태그 구름 ---------- */
.tag-cloud-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-cloud-list a { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--sub); font-size: 14px; }
.tag-cloud-list a.cloud1 { color: var(--point); font-weight: 700; }

/* ============================================================
   글 상세
   ============================================================ */
#tt-body-page .site-head { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.post { max-width: 680px; margin: 0 auto; }
.post-head { padding: 18px 0 22px; }
.post-cat {
  display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--point-soft); color: var(--point); font-size: 12.5px; font-weight: 800;
}
.post-title { margin: 0 0 12px; font-size: clamp(26px, 5vw, 32px); line-height: 1.32; font-weight: 800; letter-spacing: -0.035em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--dim); font-size: 13.5px; }

/* 목차 */
.toc { margin: 4px 0 30px; padding: 18px 20px; border-radius: 16px; background: var(--panel-soft); }
.toc-title { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--sub); }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 6px; }
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 10px; background: #fff;
  font-size: 14.5px; font-weight: 600; line-height: 1.45; transition: color .15s;
}
.toc-list a::before { content: counter(toc, decimal-leading-zero); color: var(--point); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.toc-list a:hover { color: var(--point); }

/* 본문 */
.post-body { color: var(--sub); font-size: 17px; line-height: 1.85; }
.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.15em; }
.post-body h2, .post-body h3, .post-body h4 { color: var(--text); letter-spacing: -0.03em; scroll-margin-top: 20px; }
/* 소제목 h2 = 검색 결과에서 칩으로 보이는 '카테고리' — 떼어 놓아도 뜻이 통하게 쓴다(structure.md). 왼쪽 포인트 줄로 구획을 나눈다. */
.post-body h2 {
  margin: 2.4em 0 .8em; padding: 1.3em 0 0 16px; border-top: 1px solid var(--line);
  font-size: 24px; line-height: 1.4; font-weight: 800; position: relative;
}
.post-body h2::before { content: ""; position: absolute; left: 0; top: calc(1.3em + 5px); width: 5px; height: 22px; border-radius: 3px; background: var(--point); }
.post-body h3 { margin: 1.9em 0 .6em; font-size: 19px; line-height: 1.45; font-weight: 800; }
.post-body h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--point); vertical-align: 3px; }
.post-body h4 { margin: 1.5em 0 .5em; font-size: 17px; font-weight: 700; }
.post-body strong, .post-body b { color: var(--text); font-weight: 700; }
.post-body a { color: var(--point); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--point) 45%, transparent); }
.post-body mark { background: color-mix(in srgb, #fbbf24 35%, transparent); color: var(--text); padding: 0 2px; border-radius: 3px; }
.post-body ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-body li { margin: .3em 0; }
.post-body ul li::marker { color: var(--point); }

/* 번호 목록 = 조리·설정 순서 (동그라미 번호) */
.post-body ol { list-style: none; margin: 0 0 1.3em; padding: 0; counter-reset: step; }
.post-body ol > li { counter-increment: step; position: relative; padding: 2px 0 2px 40px; margin: .55em 0; }
.post-body ol > li::before {
  content: counter(step); position: absolute; left: 0; top: 3px;
  display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%;
  background: var(--point); color: var(--point-ink); font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums;
}

.post-body figure, .post-body .imageblock { margin: 1.6em 0; text-align: center; }
.post-body img { border-radius: 14px; max-width: min(100%, 520px); max-height: 400px; width: auto; height: auto; }   /* 본문 사진은 작게(사용자 지시 2026-11-15) */
.post-body figcaption { margin-top: 8px; color: var(--dim); font-size: 13.5px; text-align: center; }

/* 인용 = 요약 박스·메모 상자 */
.post-body blockquote {
  margin: 1.6em 0; padding: 16px 20px; border-radius: 0 14px 14px 0;
  background: var(--point-soft); border-left: 4px solid var(--point);
  color: var(--text); font-size: 16px;
}
.post-body blockquote p:last-child { margin-bottom: 0; }

/* 코드 블록(체크리스트·메모 붙여넣기용) */
.post-body pre {
  margin: 1.6em 0; padding: 16px 18px; border-radius: 14px; background: var(--panel-soft); color: var(--text);
  border: 1px solid var(--line); font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7;
  white-space: pre-wrap; overflow-x: auto;
}
.post-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.post-body :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--panel-soft); color: var(--text); font-size: .9em; }

/* 표 = 온도·시간표, 모델 비교표 */
.post-body .table-wrap { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.post-body table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-body tr:last-child td { border-bottom: 0; }
.post-body th { background: var(--point-soft); color: var(--text); font-weight: 800; white-space: nowrap; }
.post-body tbody tr:nth-child(even) td { background: #fffbf7; }
.post-body td:first-child { color: var(--text); font-weight: 700; }

/* 태그·관련 글·카카오톡 채널·이전/다음 */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 36px 0 0; font-size: 0; }
.post-tags .tags-label { font-size: 13px; font-weight: 800; color: var(--dim); margin-right: 4px; }
.post-tags a { padding: 5px 11px; border-radius: 999px; background: var(--panel-soft); color: var(--sub); font-size: 13.5px; }
.post-tags a:hover { color: var(--point); }

/* 함께 보면 좋은 글 — 같은 카테고리 다른 글 카드(사용자 지시 2026-11-16) */
.related { margin: 32px 0 8px; padding: 18px 18px 14px; border-radius: 16px; background: var(--panel-soft); }
.related-title { margin: 0 0 12px; font-size: 16px; font-weight: 800; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.related-more { font-size: 12.5px; font-weight: 700; color: var(--point); white-space: nowrap; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-link { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.related-link:hover { border-color: var(--point); }
.related-thumb { flex: 0 0 auto; width: 84px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--line); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-name { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.kakao-follow {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 14px 16px;
  border-radius: 14px; background: #fffbe0; border: 1px solid #f3e39a; color: var(--text); font-size: 14px; line-height: 1.5;
}
.kakao-follow[hidden] { display: none; }
.kakao-follow strong { display: block; font-size: 15px; }
.kakao-dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; background: #FEE500; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.pn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.pn:hover { border-color: var(--point); }
.pn-next { text-align: right; grid-column: 2; }
.pn-label { color: var(--dim); font-size: 12.5px; font-weight: 700; }
.pn-title { font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 광고 자리 ---------- */
/* 광고 코드가 없으면 숨는다. 광고 코드(ins·iframe)가 들어오면 보인다. */
.ad-slot { display: none; }
.ad-slot:has(ins, iframe, .ad-demo) { display: block; margin: 28px 0; min-height: 90px; text-align: center; }
/* 광고 자리 표시 가로줄은 숨기고, 본문 안 광고에는 '광고' 표시만(애드센스 정책상 광고를 가리키는 말·화살표 없음 — 사용자 지시 2026-11-16) */
.post-body hr { display: none; }
.ad-inline { display: block; margin: 28px 0; text-align: center; }
.ad-label { display: block; margin-bottom: 4px; font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.ad-demo {
  display: grid; place-items: center; min-height: 120px; border-radius: 12px;
  border: 1.5px dashed color-mix(in srgb, var(--point) 55%, var(--line));
  color: var(--dim); font-size: 13px; font-weight: 700; letter-spacing: .04em;
}

/* ---------- 푸터 ---------- */
.site-foot { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.brand-sm .brand-name { font-size: 15px; }
.foot-desc { margin: 10px 0 4px; }
.foot-copy { margin: 0; }

/* ============================================================
   모바일
   ============================================================ */
@media (max-width: 640px) {
  .site { padding: 0 16px; }
  .cat-chips { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .site-head { flex-wrap: wrap; padding-top: 16px; }
  .head-search { flex: 1 1 100%; order: 2; }
  .hero { padding: 30px 22px 26px; border-radius: 20px; margin-bottom: 22px; }
  body:not(#tt-body-page) .post-area { grid-template-columns: 1fr; gap: 14px; }
  .post-body { font-size: 16.5px; }
  .post-body h2 { font-size: 21px; }
  .post-body img { max-width: min(100%, 340px); max-height: 300px; }
  .related-list { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .pn-next { grid-column: auto; }
}

/* ── 공감·신고 숨김, 댓글 칸 없음 — 모든 블로그 공통 (blogs/_shared/tistory.md §1, 사용자 지시 2026-11-15) ──
   공유·구독 버튼은 둔다. */
.container_postbtn [data-tistory-react-app="Reaction"],
.container_postbtn [id^="reaction-"],
.container_postbtn .wrap_btn_etc,
.post-comments { display: none !important; }
