/* 투데이블로그 — 크림 지면 + 살구빛, 라이프스타일 감성 블로그 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --paper: #fdf9f3; --card: #ffffff; --ink: #40382f; --sub: #8a7f71;
  --faint: #b5a996; --peach: #e07856; --peach-soft: #fde8dc; --line: #f0e7da;
}
body { font-family: "Gowun Dodum", "Noto Sans KR", -apple-system, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.8; font-size: 15.5px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border-radius: 14px; }
h1, h2 { font-family: "Gowun Batang", Georgia, serif; }

.td-sheet { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* 프로필 헤더 */
.td-head { text-align: center; padding: 46px 0 26px; }
.td-face { display: inline-block; }
.td-face svg { border-radius: 50%; box-shadow: 0 4px 14px rgba(224,120,86,.18); }
.td-title { display: block; font-family: "Gowun Batang", serif; font-size: 30px; font-weight: 700; letter-spacing: -0.5px; margin-top: 14px; }
.td-tagline { color: var(--sub); font-size: 14px; margin-top: 6px; }
.td-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* 태그 칩 (파스텔) */
.td-chip { display: inline-block; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: #f4ede2; color: #7d7263; }
.td-chips .td-chip { font-size: 13px; padding: 6px 15px; }
.td-chips .td-chip:hover, .td-chips .td-chip.on { background: var(--peach); color: #fff; }
.td-t-evergreen { background: #eef3e6; color: #5f7247; }
.td-t-news { background: #fde8dc; color: #b25b3c; }
.td-t-data { background: #e8eef5; color: #4d6a8a; }
.td-t-commercial { background: #f7eddd; color: #96702c; }

/* 피드 */
.td-main { padding-bottom: 30px; }
.td-feed { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.td-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: transform .15s, box-shadow .15s; }
.td-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(138,110,80,.10); }
.td-card a { display: block; padding: 24px 26px; }
.td-card-top { display: flex; align-items: center; gap: 10px; }
.td-card-top time { font-size: 12.5px; color: var(--faint); }
.td-card h2 { font-size: 20px; line-height: 1.5; margin: 10px 0 8px; letter-spacing: -0.3px; }
.td-card p { color: var(--sub); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--peach); }
.td-card-big a { padding: 30px 28px; }
.td-card-big { background: linear-gradient(160deg, #fff, #fdf3ea); border-color: #f2ddca; }
.td-card-big h2 { font-size: 24px; }
.td-card-big p { -webkit-line-clamp: 3; }

.td-empty { text-align: center; padding: 70px 0; color: var(--sub); }
.td-empty-big { font-family: "Gowun Batang", serif; font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.td-empty a { color: var(--peach); }

/* 태그 페이지 */
.td-tag-head { text-align: center; padding: 8px 0 20px; }
.td-tag-head h1 { font-size: 24px; }
.td-tag-head h1 span { color: var(--peach); }
.td-tag-head p { color: var(--sub); font-size: 13.5px; margin-top: 6px; }

/* 포스트 지면 */
.td-post { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 5vw, 46px); }
.td-back { margin-bottom: 20px; font-size: 13.5px; }
.td-back a { color: var(--sub); }
.td-back a:hover { color: var(--peach); }
.td-post-head { text-align: center; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px dashed #e6d9c6; }
.td-post-head h1 { font-size: clamp(23px, 3.4vw, 30px); line-height: 1.45; margin: 12px 0 10px; letter-spacing: -0.4px; }
.td-post-head time { font-size: 13px; color: var(--faint); }
.td-body { font-size: 16px; line-height: 1.95; }
.td-body p { margin: 0 0 18px; }
.td-body h2 { font-size: 20px; margin: 36px 0 14px; letter-spacing: -0.3px; color: #5c4a38; }
.td-body h2::before { content: '✿ '; color: var(--peach); font-size: 15px; }
.td-body h3 { font-size: 17px; margin: 26px 0 10px; color: #5c4a38; }
.td-body ul, .td-body ol { margin: 0 0 18px 24px; }
.td-body li { margin-bottom: 8px; }
.td-body blockquote { background: var(--peach-soft); border-radius: 14px; padding: 16px 20px; margin: 0 0 18px; color: #8a5038; }
.td-body table { border-collapse: collapse; margin: 0 0 18px; font-size: 14px; width: 100%; }
.td-body th, .td-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.td-body th { background: #faf3e9; }
.td-post-end { text-align: center; font-size: 22px; margin: 34px 0 6px; }

/* 함께 읽기 */
.td-also { margin-top: 30px; border-top: 1px dashed #e6d9c6; padding-top: 24px; }
.td-also h2 { font-size: 16px; text-align: center; margin-bottom: 14px; color: #5c4a38; }
.td-also-list { display: flex; flex-direction: column; gap: 10px; }
.td-also-list a { display: flex; align-items: center; gap: 10px; background: #fdf9f3; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14px; }
.td-also-list a:hover { border-color: #ecd9c3; background: #fdf3ea; }
.td-also-list b { flex: 1; font-weight: 500; line-height: 1.5; }
.td-also-list time { font-size: 12px; color: var(--faint); white-space: nowrap; }

/* 푸터 */
.td-foot { text-align: center; color: var(--sub); font-size: 13px; padding: 26px 0 46px; }
.td-foot nav { margin: 8px 0; }
.td-foot a:hover { color: var(--peach); }
.td-copy { color: var(--faint); font-size: 12.5px; margin-top: 6px; }

@media (max-width: 560px) {
  .td-head { padding-top: 34px; }
  .td-card a { padding: 20px; }
  .td-card-big a { padding: 24px 20px; }
}
